A test method, system, device, program product, and storage medium
Patent Information
- Application Number
- CN202510238663.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2026-08-28
AI Technical Summary
当天线或通信模块因老化、损坏、安装不当或环境因素(如潮湿、腐蚀)导致性能下降时,传统的检测方法往往无法及时发现问题
[0033]The first type of module acquires a target signal generated by at least one second type of module through a first type of antenna. Based on the acquired target signal, the target strength range corresponding to the target signal and the signal strength of the target signal are determined. Signal strength directly reflects the performance of the antenna and communication module when receiving signals. The target strength range provides a benchmark for detecting whether the signal strength is normal, ensuring the scientific nature and accuracy of the evaluation. The actual measured signal strength of the target signal is compared with the target strength range. When the signal strength of the target signal does not conform to the target strength range, an abnormal test result is generated. By monitoring the signal strength, abnormal changes in signal strength can be detected in a timely manner, thereby promptly detecting performance degradation of the antenna and communication module. This solves the problem that existing technologies can only detect physical connection status but cannot evaluate radio frequency performance, improving the stability and reliability of communication.
Smart Images

Figure CN122660779A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a testing method, system, device, program product, and storage medium. Background Technology
[0002] In the field of wireless communication, antennas and communication modules are key components for signal transmission and reception, and their performance directly affects the stability and reliability of the entire communication system. Traditional technical solutions mainly focus on monitoring the physical connection status of the antenna, including detecting whether the antenna is in an open-circuit, short-circuit, or normal connection state. These detection methods usually rely on circuit continuity tests or simple resistance measurements, which can, to a certain extent, ensure that there are no abnormalities in the physical connection between the antenna and the communication module.
[0003] However, with the rapid development of wireless communication technology, users' requirements for communication quality are increasing, and simply detecting the physical connection status of the antenna is no longer sufficient to meet practical needs. Existing technical solutions have a significant limitation: they cannot effectively evaluate the radio frequency (RF) performance of antennas and communication modules. RF performance is a crucial indicator of whether antennas and communication modules can efficiently and accurately transmit and receive wireless signals, encompassing multiple aspects such as gain, VSWR, directivity, and frequency response. When the performance of an antenna or communication module degrades due to aging, damage, improper installation, or environmental factors (such as humidity or corrosion), traditional detection methods often fail to detect the problem in a timely manner. This latent fault can lead to decreased signal transmission quality, shortened communication distance, reduced data transmission rate, and decreased communication stability, severely impacting user experience. For example, in applications such as smart homes, IoT devices, and mobile communication terminals, degraded antennas and communication modules can cause frequent device disconnections, data transmission delays or losses, and even paralyze the entire communication system. Summary of the Invention
[0004] To address the aforementioned issues, this application provides a testing method, system, device, program product, and storage medium.
[0005] To address the above problems, the technical solutions provided in this application are as follows:
[0006] The first aspect of this application provides a testing method, including:
[0007] The first type of module acquires the target signal generated by at least one second type of module through the first type of antenna. Both the first type of module and the second type of module are installed in the vehicle, and the first type of module has the first type of antenna.
[0008] Based on the acquired target signal, the target intensity range corresponding to the target signal and the signal intensity of the target signal are determined;
[0009] The signal strength of the target signal is compared with the target strength range to generate a test result.
[0010] In one possible implementation, the first type of module acquires a target signal generated by at least one second type of module through a first type of antenna, including:
[0011] When the data transmission task queue of the first type of module is empty, the first type of module acquires the target signal generated by at least one second type of module through the first type of antenna during the idle time.
[0012] In one possible implementation, determining the target intensity range corresponding to the acquired target signal includes:
[0013] Based on the acquired target signal and the environmental information of the vehicle, the target intensity range corresponding to the target signal is determined.
[0014] In one possible implementation, the target intensity range is generated by:
[0015] The signal strength of the target signal received by a second number of sample vehicles through the first type of antenna of the first type of module is obtained. The second number of sample vehicles are all equipped with the first type of module, and the first type of module has a first number of first type antennas that can transmit data simultaneously.
[0016] Based on the acquired signal strength, a target strength range corresponding to the target signal is generated.
[0017] In one possible implementation, the second number of sample vehicles are all equipped with a first type of module in a first working state, the first working state being used to characterize that the first type of module is connected to the base station, and the signal strength of the base station signal received by the first type of module conforms to a first strength range.
[0018] In one possible implementation, the target signal includes a first type of signal and a second type of signal, and the step of generating a target intensity range corresponding to the target signal based on the acquired signal intensity includes:
[0019] Based on the obtained signal strength corresponding to the first type of signal and the first algorithm corresponding to the first type of signal, a first intensity range of the first type of signal is determined; based on the obtained signal strength corresponding to the second type of signal and the second algorithm corresponding to the second type of signal, a second intensity range of the second type of signal is determined.
[0020] In one possible implementation, comparing the signal strength of the target signal with the target strength range to generate a test result includes:
[0021] When the signal strength of the target signal does not meet the target strength range, a test anomaly result is generated. The test anomaly result is used to characterize the communication module corresponding to the target signal, and / or the antenna corresponding to the communication module is in an abnormal state.
[0022] In one possible implementation, the method further includes:
[0023] Based on the signal strength of the target signal, determine the degree of deviation of the signal strength of the target signal from the target strength range;
[0024] Based on the degree of deviation and the database of abnormal causes, the cause of the abnormality is matched and obtained.
[0025] A second aspect of this application provides a testing system, comprising:
[0026] An acquisition unit is used for a first type of module to acquire a target signal generated by at least one second type of module through a first type of antenna. Both the first type of module and the second type of module are installed in the vehicle, and the first type of module has a first type of antenna.
[0027] The determining unit is used to determine the target intensity range corresponding to the target signal and the signal intensity of the target signal based on the acquired target signal;
[0028] The comparison unit is used to compare the signal strength of the target signal with the target strength range to generate test results.
[0029] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the testing method described in the first aspect above.
[0030] The fourth aspect of this application provides a computer program product that, when run on a computer, executes the test method described in the first aspect above.
[0031] The fifth aspect of this application provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to perform the test method described in the first aspect above.
[0032] Compared with the prior art, this application has the following advantages:
[0033] The first type of module acquires a target signal generated by at least one second type of module through a first type of antenna. Based on the acquired target signal, the target strength range corresponding to the target signal and the signal strength of the target signal are determined. Signal strength directly reflects the performance of the antenna and communication module when receiving signals. The target strength range provides a benchmark for detecting whether the signal strength is normal, ensuring the scientific nature and accuracy of the evaluation. The actual measured signal strength of the target signal is compared with the target strength range. When the signal strength of the target signal does not conform to the target strength range, an abnormal test result is generated. By monitoring the signal strength, abnormal changes in signal strength can be detected in a timely manner, thereby promptly detecting performance degradation of the antenna and communication module. This solves the problem that existing technologies can only detect physical connection status but cannot evaluate radio frequency performance, improving the stability and reliability of communication. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings used in the description of the embodiment or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 A flowchart of a testing method provided in an embodiment of this application;
[0036] Figure 2 A test flowchart provided for an embodiment of this application;
[0037] Figure 3 This is a structural diagram of a test system provided in an embodiment of this application. Detailed Implementation
[0038] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0039] To facilitate understanding of the technical solutions provided in the embodiments of this application, the technical terms involved in the embodiments of this application will be explained below.
[0040] A cellular module, also known as a cellular communication module, is an electronic device used to enable mobile communication functions. It provides data transmission, voice calls, and SMS services by connecting to cellular networks (such as 2G, 3G, 4G, 5G, etc.). A cellular network consists of multiple base stations, each covering a specific geographical area, forming a "cell"-like network structure, hence the name "cellular network."
[0041] A Bluetooth module, or BT module, is an electronic device used to enable short-range wireless communication. Bluetooth technology is primarily used for short-range data transmission between devices, such as between a mobile phone and headphones, or a keyboard and a computer. Bluetooth technology is characterized by low power consumption, low cost, and ease of use.
[0042] A BT / WIFI combo module, also known as a Bluetooth and WIFI combination module, is a module that integrates both Bluetooth and WIFI wireless communication functions. This module was designed to meet the need for devices to simultaneously support both Bluetooth and WIFI connectivity. Through its highly integrated design, it allows devices to support both wireless communication technologies without requiring separate Bluetooth and WIFI modules. When using a BT / WIFI combo module, a device can simultaneously emit WIFI and BT signals, enabling wireless connection and data transmission with surrounding devices. Cellular modules, BT modules, and BT / WIFI Combo modules are all electronic devices used to implement wireless communication functions, but their levels of integration differ. Cellular modules focus on cellular communication, BT modules focus on Bluetooth communication, while BT / WIFI Combo modules integrate both Bluetooth and WIFI functions.
[0043] MIMO stands for Multiple Input Multiple Output. MIMO technology refers to the use of multiple antennas at both the transmitting and receiving ends of a wireless communication system. By utilizing the spatial diversity among multiple antennas, the capacity and spectrum utilization of the communication system can be significantly improved without increasing bandwidth.
[0044] To facilitate understanding of the technical solutions provided in the embodiments of this application, the background technology involved in the embodiments of this application will be described below.
[0045] As mentioned earlier, in existing vehicle wireless communication systems, different communication modules (such as cellular, BT, and WIFI) operate independently. Each module typically has one or more antennas, and each antenna has its own independent detection circuitry. These detection circuits primarily check the physical connection between the antenna and the communication module by detecting voltage, for example, whether there are any open circuits or short circuits. These checks can be performed using simple electrical tests, such as measuring resistance with a multimeter. However, RF performance evaluation involves more complex parameters, such as antenna gain, radiation efficiency, VSWR, and frequency response. These parameters reflect the antenna's performance in actual operation, not just its physical connection status. Existing detection methods can only determine whether an antenna is open-circuited or short-circuited, but cannot evaluate the antenna's RF performance.
[0046] If the antenna and wireless module are damaged, improperly installed, or experience performance degradation, the current solution cannot detect it. Continuing to use antennas and communication modules with degraded performance will significantly impact the user experience. Furthermore, existing testing methods lack unified standards, making it difficult to compare test results from different vehicles, which is detrimental to large-scale production and quality control.
[0047] To address the aforementioned issues, this embodiment of the application assesses whether the target signal's signal strength is within an acceptable range by acquiring the target signal's signal strength and comparing it to a predetermined target strength range. This step overcomes the limitation of existing technologies that only focus on the antenna connection status, instead focusing on the actual performance of the signal strength, thereby indirectly reflecting the radio frequency performance of the antenna and communication module. The target strength range is determined based on the signal strength of the target signal received by multiple vehicles under normal operating conditions. This range represents the normal operating signal strength interval, providing a reliable benchmark for subsequent comparisons. When the target signal's signal strength does not conform to the target strength range, an abnormal test result is generated. This result not only indicates a potential problem with the communication module corresponding to the target signal but may also indicate that the antenna corresponding to the communication module is in an abnormal state. This comprehensive detection method helps to promptly identify and resolve potential performance issues.
[0048] It's important to note that signal strength is a crucial indicator for evaluating the RF performance of antennas and communication modules, reflecting their performance in real-world operating environments. Firstly, signals experience various losses during their journey from transmitter to receiver, including free space loss, reflection, refraction, and absorption. These losses reduce the received signal strength. The antenna's design and installation location directly influence the signal propagation path; therefore, signal strength reflects the antenna's effective radiation and reception capabilities. Secondly, the antenna's gain and directivity determine its signal amplification and concentration in a specific direction. A well-designed antenna can provide higher gain in a particular direction, increasing the received signal strength. Degraded antenna performance or improper installation can affect gain and directivity, leading to reduced signal strength. Thirdly, the receiving sensitivity of a communication module refers to the minimum signal strength it can successfully decode. If the module's receiving sensitivity decreases, even with a high signal strength, it may fail to decode the signal correctly. Monitoring the received signal strength indirectly assesses the communication module's reception performance. Fourthly, environmental noise and interference affect signal transmission quality. Lower signal strength usually indicates higher noise and interference, potentially due to insufficient filtering and anti-interference capabilities of the antenna or communication module. Fifthly, over time, antennas and communication modules may experience performance degradation due to aging, wear, or physical damage. These factors can lead to reduced signal strength.
[0049] Therefore, signal strength is a comprehensive indicator that reflects not only the antenna's radiation and reception capabilities but also the communication module's reception performance, environmental noise and interference, hardware status, and installation and configuration. Thus, by monitoring and analyzing signal strength, the radio frequency performance of antennas and communication modules can be effectively evaluated, problems can be identified and resolved promptly, and the stability and reliability of the communication system can be ensured.
[0050] In summary, this application, by testing the signal strength of the target signal, can promptly detect performance degradation issues in antennas or wireless modules, ensuring communication quality. It can not only detect the physical connection status of the antenna but also evaluate the radio frequency performance of the antenna and wireless module. Furthermore, the standardized testing process provided in this application ensures that each vehicle undergoes the same testing before leaving the factory, which is beneficial for large-scale production and quality control. By statistically analyzing and calibrating test data from multiple vehicles, a reliable performance benchmark is established, ensuring the accuracy and reliability of the test results.
[0051] It should be noted that the testing methods, systems, devices, program products, and storage media provided in this application can be applied to the field of computer technology. The above are merely examples and do not limit the application areas of the testing methods, systems, devices, program products, and storage media provided in this application. Furthermore, the embodiments of this application may not limit the subject performing the test; for example, the testing methods of this application can be applied to data processing devices such as terminal devices or servers. The terminal device can be an electronic device such as a smartphone, computer, personal digital assistant (PDA), or tablet computer. The server can be a standalone server, a cloud server, or a cluster server composed of multiple servers.
[0052] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0053] The following embodiment illustrates a testing method provided in this application. See also... Figure 1 ,Should Figure 1 A flowchart of a testing method provided in this application embodiment, the method comprising:
[0054] S101, The first type of module acquires the target signal generated by at least one second type of module through the first type of antenna.
[0055] The target strength range is pre-determined based on the signal strength of the target signals received by multiple vehicles under normal operating conditions, and is used to evaluate whether the signal strength of the target signal is within an acceptable range. "At least one" means that the first type of module can acquire target signals generated by one or more second type of modules to meet different testing requirements.
[0056] In one possible implementation, the target signal can be received via a first type of antenna corresponding to a first type of module, wherein the first type of module has a first number of first type antennas that simultaneously transmit data. The first type of module can be a cellular module, and the first number of first type antennas that simultaneously transmit data can be four 5G antennas.
[0057] Cellular modules utilize 4x4 MIMO (Multiple-Input Multiple-Output) antenna technology, allowing simultaneous data transmission and reception via four antennas, significantly improving data transmission rates. For example, according to the IEEE 802.11ac standard, a single antenna can provide 433 Mbps of bandwidth, while using four antennas simultaneously provides 1732 Mbps. Furthermore, beamforming technology can concentrate the signal in a specific direction, enhancing signal coverage and penetration. It also reduces the impact of multipath fading and interference, improving transmission reliability and stability.
[0058] By specifying particular types of modules and antennas, the testing methodology becomes more focused on evaluating the performance of these specific devices. This helps ensure that test results directly reflect the performance of these components in real-world operating environments, thus providing more targeted data for subsequent analysis.
[0059] In one possible implementation, the target signal includes at least one of a first type of signal and a second type of signal, and the method for obtaining the target intensity range includes:
[0060] Step A1: Obtain the signal strength of the target signal received by a second number of sample vehicles through the first type of antenna of the first type of module. The second number of sample vehicles are all equipped with the first type of module, and the first type of module has a first number of first type antennas that can transmit data simultaneously.
[0061] A second number of vehicles are selected as sample vehicles. These vehicles are all equipped with a first type of module in a first working state. The first type of module has a first number of first type antennas that can transmit data simultaneously. The signal strength of the target signal received by the first type antenna of the first type of module is measured on each sample vehicle.
[0062] The second set of sample vehicles are all equipped with a first-type module, and this first-type module is equipped with a first-type antenna capable of transmitting data simultaneously. This is done to ensure that all sample vehicles have the same hardware foundation when receiving the target signal, making the acquired signal strength data comparable. For example, different numbers of antennas may affect the signal reception effect; if the antenna configurations of the sample vehicles are inconsistent, it is impossible to accurately determine the normal strength range of the target signal.
[0063] In practical applications, if the target signal includes two types, the first type of signal and the second type of signal can be received respectively; the second type of signal can come from the WIFI module, while the first type of signal can come from the Bluetooth (BT) module.
[0064] Step A2: Based on the acquired signal strength, generate the target strength range corresponding to the target signal.
[0065] Based on the target signal strength data acquired from all sample vehicles, which includes information on the signal strength received by different vehicles under the same or similar conditions, the distribution patterns and characteristics of signal strength can be identified through analysis and processing. This allows for the generation of the target signal's corresponding strength range, which serves as a comparison benchmark in subsequent processes.
[0066] In practical applications, if the target signal includes two types, the first intensity range of the first type of signal and the second intensity range of the second type of signal are determined based on the signal intensity of the first type of signal and the signal intensity of the second type of signal.
[0067] Record the signal strength values of the first and second type signals received by the first type module on each sample vehicle.
[0068] Statistical analysis was performed on the signal strength values of the first type of signal recorded on all sample vehicles to determine the first strength range of the first type of signal. This first strength range represents the signal strength range that the first type of signal should have when it is received in the vehicle by the first type of module and the first type of antenna under normal conditions.
[0069] Similarly, statistical analysis was performed on the signal strength values of the second type of signal recorded on all sample vehicles to determine the second strength range of the second type of signal; this second strength range represents the range of signal strength that the second type of signal should have when it is received in the vehicle by the first type of module (which can be different antennas or the same antenna, depending on the configuration of the module and antenna) under normal circumstances.
[0070] The determined first and second intensity ranges are used as target intensity ranges for subsequent comparison with the signal strength of the target signal to determine whether the communication module and / or its corresponding antenna are in normal working condition.
[0071] By defining a first intensity range and a second intensity range, and using them to compare different types of signals (such as Bluetooth and Wi-Fi signals), this support for multiple signal types makes the testing method more flexible and universal. It can be applied to different types of communication modules and antennas, and can independently analyze the characteristics of different types of signals, enhancing the ability to evaluate the adaptability of various wireless communication technologies. Furthermore, it meets a wider range of testing needs, and more comprehensively detects the status of communication modules and antennas. This comprehensive detection helps to identify potential problems in a timely manner, improving the stability and reliability of the communication system.
[0072] By introducing data from multiple sample vehicles and various signal types, this application provides a more comprehensive method for setting a reasonable signal strength range. This method is not only applicable to single-type wireless communication systems, but also well-suited for complex environments involving multiple wireless communication technologies, improving the applicability and flexibility of the entire testing scheme.
[0073] In one possible implementation, the first type of module acquires a target signal generated by at least one second type of module through a first type of antenna, including: when the data transmission task queue of the first type of module is empty, the first type of module acquires a target signal generated by at least one second type of module through the first type of antenna during idle time.
[0074] The first type of module typically has its own normal data transmission tasks, such as data interaction with the vehicle management system and remote servers. Only when all these tasks are completed, i.e., the data transmission task queue is empty, is the prerequisite for acquiring the target signal met. This is to prevent the acquisition of the target signal from interfering with the normal operation of the first type of module, ensuring the stability and reliability of vehicle communication. After the data transmission task queue is empty, the first type of module enters an idle period. During this period, the first type of module begins to acquire the target signal generated by the second type of module through the first type of antenna.
[0075] In practical vehicle communication systems, this approach can effectively utilize the idle resources of modules to perform signal testing and analysis without affecting normal communication services. For example, during vehicle operation, the first type of module may have different data transmission tasks at different times. When there are no tasks, the idle time can be used to acquire target signals, thereby enabling real-time monitoring and evaluation of the vehicle communication system's performance.
[0076] In one possible implementation, determining the target intensity range corresponding to the acquired target signal includes: determining the target intensity range corresponding to the target signal based on the acquired target signal and the environmental information of the vehicle.
[0077] The system continuously collects target signals generated by the second type of module using a first-type module and a first-type antenna installed on the vehicle. Multiple acquisitions are conducted at different times and under different vehicle operating conditions to obtain a sufficient number of target signal samples. Parameters such as signal strength, frequency, and modulation method are recorded for each acquisition. Multiple sensors are deployed to acquire environmental information about the vehicle. For example, a GPS module is used to determine the vehicle's geographical location; an electromagnetic interference monitor is used to measure the intensity of surrounding electromagnetic interference; a vehicle-mounted weather station is used to obtain weather conditions such as temperature, humidity, and rainfall; and a vehicle-mounted camera can be used to identify the type, distance, and distribution of surrounding obstacles.
[0078] The acquired target signal data undergoes denoising processing to remove outliers caused by interference or equipment errors. For example, filtering algorithms (such as Kalman filtering) are used to smooth signal strength data and reduce noise fluctuations. Simultaneously, signal strength is normalized to map signal strength data of different magnitudes to a unified numerical range, facilitating subsequent analysis and comparison. Environmental information is classified and coded. For geographic location information, it can be divided into different regional categories such as urban, suburban, and mountainous areas, and digitized; for electromagnetic interference intensity, it is graded and quantified according to its strength; weather conditions can be converted into corresponding numerical codes. For multi-source environmental information, if missing values exist, interpolation methods or prediction models based on other relevant data are used to fill in the gaps.
[0079] A large amount of target signal intensity data acquired by passing vehicles under various environmental conditions is collected to construct a historical database. This data should cover as many environmental scenarios and signal changes as possible to provide rich samples for model training. An appropriate data analysis model is selected to establish the correlation between target signal intensity and environmental information. Taking a neural network model as an example, preprocessed target signal data and environmental information are used as input layer data, and the corresponding target intensity range is used as output layer data. The neural network is trained using a large amount of historical data, continuously adjusting the model's weights and biases to enable the model to accurately learn the complex relationship between environmental information and target signal intensity.
[0080] In actual testing, the real-time collected target signal data and environmental information are preprocessed and then input into a pre-trained correlation model. Based on the input data, the model calculates a reasonable range for the target signal intensity under the current environment. For example, the model might output a range centered on the average value, fluctuating slightly above and below it, as the target intensity range; or it might output a range in the form of a probability distribution, giving the probability of different intensity values occurring, to more comprehensively describe the possible range of target intensity.
[0081] In one possible implementation, the reception time interval between the first type of signal and the second type of signal can be adaptively set and adjusted according to actual needs to ensure the stability and consistency of signal strength.
[0082] In one possible implementation, new vehicle signal strength data is collected periodically, and the first and second strength ranges are updated based on this new data to adapt to changes in the performance of the vehicle communication module and antenna over time and usage.
[0083] Assume 100 identical vehicles are selected, each equipped with a functional Cellular module supporting 4x4 MIMO and featuring four antennas. Wi-Fi and BitTorrent signals are received through these vehicles' Cellular antennas, and the Wi-Fi and BitTorrent signal strengths received by each vehicle are recorded. Then, the average and standard deviation of these signal strengths are calculated to determine a first strength range for the Wi-Fi signal and a second strength range for the BitTorrent signal.
[0084] In one possible implementation, the first type of signal can originate from the BT module and / or the BT / WiFi combo module, and the second type of signal can also originate from the BT module and / or the BT / WiFi combo module. The BT module requires one antenna; the BT / WiFi combo module supports 2x2 MIMO and has two antennas. See also Figure 2 , Figure 2 This is a schematic diagram of a module provided in an embodiment of this application.
[0085] Cellular modules typically refer to modules based on cellular mobile communication technology, supporting multiple mobile communication standards including 3G, 4G, and 5G. Based on these mobile communication standards, the antennas corresponding to a cellular module can be designated as 5G antenna 1, 5G antenna 2, 5G antenna 3, and 5G antenna 4.
[0086] The BT / WiFi combo module supports 2×2 MIMO, providing higher data transfer rates and a more stable network connection. The standalone BT module focuses on Bluetooth communication, ensuring optimal performance and lowest power consumption in Bluetooth applications. By using both modules simultaneously, the device can select the most suitable communication technology based on its current needs, thereby optimizing resource usage and energy efficiency. For example, WiFi can be used for large data transfers, while Bluetooth can be used for simple device connection and control.
[0087] In this embodiment, multi-antenna technology can reduce the impact of multipath fading and interference through spatial diversity, thereby improving the reliability and stability of the system. Multi-antenna technology can reduce the impact of multipath fading and interference through spatial diversity, thereby improving the reliability and stability of the communication process.
[0088] The BT module's single-antenna design is simple and low-cost, making it suitable for Bluetooth communication where high transmission rates are not required. A single antenna can be referred to as BT antenna 1. Since a single antenna occupies relatively little space, it is suitable for use in space-constrained in-vehicle environments.
[0089] The BT / WIFI Combo module's 2x2 MIMO antennas allow for simultaneous data transmission and reception via two antennas, thereby improving data transmission rates. These two antennas are BT / WIFI antenna 1 and BT / WIFI antenna 2. For example, according to the IEEE 802.11n standard, one antenna can provide a bandwidth of 150Mbps, while two antennas can provide a bandwidth of 300Mbps. Furthermore, by sharing antenna resources, this module can simultaneously provide Bluetooth and WIFI connectivity, meeting the communication needs between different devices.
[0090] The 4x4 MIMO antenna of the Cellular module, the single antenna of the BT module, and the 2x2 MIMO antenna of the BT / WIFI Combo module ensure the accuracy and reliability of signal strength testing by improving data transmission rates, enhancing signal coverage, and improving anti-interference capabilities. Meanwhile, reasonable antenna arrangement and isolation requirements further reduce mutual interference between signals and optimize signal coverage.
[0091] In practical applications, when installing and testing wireless modules and their antennas inside vehicles, it is necessary to ensure that the signals of each module do not interfere with each other and to accurately evaluate the performance of each module. Installation and testing may include the following steps:
[0092] Step B1: Install the wireless module and set up the antenna.
[0093] First, choose a suitable installation location. Cellular modules can be installed on the roof or front of the vehicle to ensure optimal base station signal reception. Keep the antenna away from metal parts to avoid signal blockage. Wi-Fi modules can be installed inside the vehicle, such as near the center console or dashboard, to cover all areas inside. Keep the antenna away from other electronic devices to reduce interference. Bluetooth modules can be installed inside the vehicle, such as near the center console or doors, to ensure good connectivity with in-vehicle devices. Place the antenna as close as possible to devices using Bluetooth.
[0094] During antenna placement, it is essential to ensure sufficient isolation between antennas to minimize signal coupling. Typically, the distance between antennas should be greater than 10 centimeters, but the specific distance in actual applications can be adjusted adaptively based on the antenna frequency and type.
[0095] Regarding antenna directivity, the antenna's orientation can be rationally arranged according to its radiation pattern to ensure it points in the optimal direction for signal reception. For example, a cellular antenna should face the base station, a Wi-Fi antenna should face the in-vehicle user equipment, and a Bluetooth antenna should face the Bluetooth device.
[0096] After completing the above setup process, a suitable fixing device (such as adhesive backing, bracket, etc.) can be used to fix the antenna in the predetermined position to ensure that the antenna will not loosen or shift during vehicle operation.
[0097] Step B2: Test the working status of the Cellular module.
[0098] That is, it is determined whether the Cellular module is in the first working state. The first working state is used to indicate that the first type of module is connected to the base station and the signal strength of the base station signal received by the first module is within the range of base station strength.
[0099] For example, turn on the Cellular module and ensure it can connect properly to the base station. Use commands or other testing tools to perform specific functions or query device status to check the base station signal strength received by the Cellular module. The signal strength needs to be within the base station's strength range, which can be set to -60dBm to -90dBm. Record the base station signal strength received by the Cellular module, ensuring it is within the base station's strength range. If the signal strength is below -90dBm, the antenna position needs to be adjusted or the antenna connection needs to be checked.
[0100] The first operating state clarifies that the first type of module maintains a connection with the base station. This helps ensure that the test is conducted in a stable communication environment, thus avoiding deviations in test results caused by network disconnection or unstable connections. By requiring the base station signal strength received by the first type of module to conform to a specific base station strength range, it ensures that the vehicles participating in the test are within good network coverage. This eliminates misjudgments due to weak signals and improves the accuracy of determining the target signal strength range. The data collected on both the first and second type of signals under these conditions better reflect the performance under ideal conditions in actual use, making the target strength range determined based on this data more reliable.
[0101] When a vehicle's Type I or Type II signal strength is found to be outside the expected range during testing, the problem can be more accurately located since the vehicle's connection with the base station is known to be good. The problem may be with the vehicle's internal communication module or antenna, rather than external wireless environmental factors.
[0102] S103. Compare the signal strength of the target signal with the target strength range to generate a test result.
[0103] The signal strength value of the acquired target signal is compared with the target strength range. It is then determined whether the signal strength value falls within the target strength range.
[0104] When the signal strength of the target signal does not meet the target strength range, a test anomaly result is generated. The test anomaly result is used to characterize the communication module corresponding to the target signal, and / or the antenna corresponding to the communication module, as being in an abnormal state.
[0105] This comparison process can be automated using software algorithms, which compare the measured value with the target intensity range. Specifically, it involves obtaining the signal strength value of the target signal; obtaining the upper and lower limits of the target intensity range; and comparing whether the signal strength value of the target signal is between the upper and lower limits of the target intensity range.
[0106] If the signal strength of the target signal meets the target strength range, it is recorded as a normal test result. If the comparison result shows that the actual signal strength is not within the target strength range, the signal is considered to have a problem, i.e., the signal strength is too weak or too strong and cannot meet the requirements for normal operation. At this time, the system will generate a "test anomaly result". The test anomaly result is used to characterize the communication module corresponding to the target signal, and / or the antenna corresponding to the communication module, as being in an abnormal state.
[0107] In one possible implementation, analyzing the degree of deviation in the test anomaly results includes: calculating the difference between the signal strength of the target signal and the average value of the target strength range; comparing the difference with the standard deviation of the target strength range to determine the degree of deviation.
[0108] Calculate the difference between the signal strength of the target signal and the average value of the target strength range. This difference represents the deviation of the signal strength relative to the average value. Compare the calculated difference with the standard deviation of the target strength range. The standard deviation is an indicator of data dispersion and is used to determine whether the deviation is significant. Based on the comparison results, a threshold or classification standard can be set to categorize the degree of deviation into different levels (e.g., slight, moderate, severe).
[0109] By calculating the difference between the target signal strength and the average value of the target strength range, and comparing this difference with the standard deviation, the degree of deviation in signal strength can be precisely quantified. This quantitative assessment method is more detailed and accurate than simply judging signal strength thresholds, and can more accurately reflect the anomalies in signal strength and their severity.
[0110] In one possible implementation, after comparing the difference with the standard deviation of the target intensity range to determine the degree of deviation, the method further includes:
[0111] Based on the degree of deviation, a test anomaly result including the degree of deviation is generated, which is used to indicate the severity of the anomaly.
[0112] The anomaly cause database can be a database or a table, including: anomaly causes corresponding to different degrees of deviation and their probabilities; diagnostic methods and remediation suggestions for each anomaly cause. Based on the calculated degree of deviation and classification criteria, the database is used to find the corresponding common anomaly causes and their probabilities.
[0113] Based on the identified cause of the anomaly, select the appropriate diagnostic methods and repair recommendations. Diagnostic methods may include further testing, inspection, or analysis steps to confirm the cause of the anomaly. Repair recommendations may include replacing components, adjusting parameters, optimizing settings, or performing other maintenance operations.
[0114] When an abnormal signal strength is detected, the possible cause of the anomaly can be quickly located based on the degree of deviation, and further inspection and analysis can be performed by referring to the diagnostic methods in the library. This greatly shortens the fault diagnosis time and improves diagnostic efficiency.
[0115] Quantitative analysis of deviations and causes of anomalies provides data support for developing and optimizing maintenance strategies. For example, for frequent anomalies with large deviations, priority can be given to repair or preventative measures; while for occasional anomalies with small deviations, a strategy of observation or delayed repair can be adopted. This data-driven maintenance strategy is more scientific and reasonable, helping to reduce maintenance costs and risks.
[0116] In one possible implementation, the determination of the first intensity range of the first type of signal and the second intensity range of the second type of signal may include:
[0117] The first method involves calculating the average signal strength of the first type of signal and the average signal strength of the second type of signal, as well as the standard deviation of the first type of signal and the standard deviation of the second type of signal. Based on the calculated average signal strength and standard deviation, the first intensity range of the first type of signal and the second intensity range of the second type of signal are determined.
[0118] Add the signal strengths of all Type I signals together, then divide by the number of Type I signals to obtain the average signal strength of Type I signals. Add the signal strengths of all Type II signals together, then divide by the number of Type II signals to obtain the average signal strength of Type II signals.
[0119] Calculate the average of the squares of the differences between the signal strength of each Type I signal and the average signal strength, then take the square root. The standard deviation of this type of signal reflects the dispersion of the Type I signal strength. Calculate the average of the squares of the differences between the signal strength of each Type II signal and the average signal strength, then take the square root. The standard deviation of the Type II signal reflects the dispersion of the Type II signal strength.
[0120] The range is determined based on the average signal strength and standard deviation of the first type of signal. For example, this range can be set within a certain standard deviation of the average signal strength, such as ±1 standard deviation, ±2 standard deviation, etc., depending on the application requirements and understanding of the signal characteristics. Similarly, the range is determined based on the average signal strength and standard deviation of the second type of signal. The specific setting of the signal strength range is based on application requirements and the actual application scenario. For example, in applications requiring high precision, a narrower range can be selected; in applications requiring tolerance for larger fluctuations, a wider range can be selected.
[0121] For example, collect signal strength data for all WiFi signals over a period of time (one hour). Collect signal strength data for all Bluetooth signals over a period of time (one hour). For WiFi signals, calculate their average signal strength (e.g., -60dBm) and standard deviation (e.g., 5dB). For Bluetooth signals, calculate their average signal strength (e.g., -75dBm) and standard deviation (e.g., 3dB). The first strength range for WiFi signals can be set to the average signal strength ± 1 standard deviation, i.e., -65dBm to -55dBm. The second strength range for Bluetooth signals can be set to the average signal strength ± 1 standard deviation, i.e., -78dBm to -72dBm.
[0122] By calculating the average signal strength, a representative center value can be obtained, reflecting the general level of signal reception for most sample vehicles under normal operating conditions. The standard deviation reflects the degree of variation or fluctuation in signal strength. Combining the mean and standard deviation allows for a more scientific setting of the signal strength range, ensuring that the range is neither too lenient nor too strict. Using statistical methods to determine the signal strength range makes the entire process more objective and accurate. This method reduces the influence of subjective judgment, ensuring consistency and repeatability of test results each time. It improves the consistency and repeatability of test results.
[0123] Secondly, different wireless communication technologies may require different calculation methods to analyze signal strength. That is, the first type of signal can use the first algorithm, while the second type of signal can use the second algorithm. By processing different types of signals with targeted algorithms, it is possible to better adapt to various signal characteristics and more accurately define the signal strength range. For the first and second types of signals, different algorithm models can be used to calculate their respective strength ranges to improve the accuracy of signal strength assessment.
[0124] For example, Bluetooth signal processing algorithms can help reduce interference and improve connection stability, while Wi-Fi signal processing algorithms can optimize channel selection and data transmission rates, enhancing the user experience. By designing dedicated algorithms for Bluetooth and Wi-Fi respectively, their respective technical characteristics and application scenarios can be better addressed. This approach not only improves the accuracy of signal strength range definition but also enhances the overall performance and reliability of the communication system. Furthermore, using different algorithms to process different types (or different sources) of signals means adaptability to different communication standards, frequency bands, modulation methods, etc., thus making it suitable for a wider range of test scenarios and vehicle configurations.
[0125] In summary, the embodiments of this application have the following beneficial effects:
[0126] By acquiring the signal strength of the target signal and comparing it with a pre-defined target strength range, the operational status of the communication module and antenna can be effectively detected. When the signal strength of the target signal exceeds the normal range, test anomaly results can be generated promptly, prompting users or maintenance personnel to conduct inspections and repairs. This helps to identify potential problems early, reduce service interruptions caused by communication failures, and improve the reliability and stability of the entire communication system.
[0127] The target strength range is determined based on the signal strength of the target signal received by multiple vehicles under normal operating conditions. This means that the range reflects the optimal performance standard in practical applications. By comparing the actual measured signal strength with this standard, it is possible to evaluate whether the actual performance of the antenna and communication module meets the expected level. This helps to optimize the design and installation of the antenna and communication module, improving overall communication quality.
[0128] Traditional fault diagnosis methods often require complex testing equipment and specialized technicians, which are time-consuming and costly. This application provides a simple and effective testing method that can quickly determine the status of communication modules and antennas simply by comparing the signal strength and target strength range. This method not only reduces the complexity of fault diagnosis but also improves the diagnostic speed, saving time and resources.
[0129] The above are some specific implementations of the testing method provided in the embodiments of this application. Based on this, this application also provides a corresponding system for testing. The system provided in the embodiments of this application will be described below from the perspective of functional modularity. Figure 3 This is a structural diagram of a test system provided in an embodiment of this application.
[0130] The system includes:
[0131] The acquisition unit 110 is used to acquire a target signal generated by at least one second type module through a first type antenna. Both the first type module and the second type module are installed in the vehicle, and the first type module has a first type antenna.
[0132] The determining unit 111 is used to determine the target intensity range corresponding to the target signal and the signal intensity of the target signal based on the acquired target signal;
[0133] The comparison unit 112 is used to compare the signal strength of the target signal with the target strength range to generate a test result.
[0134] This application also provides corresponding devices and computer storage media for implementing the testing methods provided in this application.
[0135] The device includes a memory and a processor. The memory is used to store instructions or code, and the processor is used to execute the instructions or code to cause the device to perform the test method described in any embodiment of this application.
[0136] The computer storage medium stores code, and when the code is run, the device running the code implements the testing method described in any embodiment of this application.
[0137] This application also provides a computer program product, which, when run on a computer, executes the testing method described in any embodiment of this application.
[0138] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems or apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.
[0139] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0140] It should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", and "outer" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention.
[0141] It should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0142] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0143] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0144] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A testing method, characterized in that, include: The first type of module acquires the target signal generated by at least one second type of module through the first type of antenna. Both the first type of module and the second type of module are installed in the vehicle, and the first type of module has the first type of antenna. Based on the acquired target signal, the target intensity range corresponding to the target signal and the signal intensity of the target signal are determined; The signal strength of the target signal is compared with the target strength range to generate a test result.
2. The method according to claim 1, characterized in that, The first type of module acquires the target signal generated by at least one second type of module through a first type of antenna, including: When the data transmission task queue of the first type of module is empty, the first type of module acquires the target signal generated by at least one second type of module through the first type of antenna during the idle time.
3. The method according to claim 1 or 2, characterized in that, The step of determining the target intensity range corresponding to the acquired target signal includes: Based on the acquired target signal and the environmental information of the vehicle, the target intensity range corresponding to the target signal is determined.
4. The method according to any one of claims 1 to 3, characterized in that, The target intensity range is generated in the following ways: The signal strength of the target signal received by a second number of sample vehicles through the first type of antenna of the first type of module is obtained. The second number of sample vehicles are all equipped with the first type of module, and the first type of module has a first number of first type antennas that can transmit data simultaneously. Based on the acquired signal strength, a target strength range corresponding to the target signal is generated.
5. The method according to claim 4, characterized in that, The second number of sample vehicles are all equipped with a first type of module in a first working state. The first working state is used to characterize that the first type of module is connected to the base station, and the signal strength of the base station signal received by the first type of module is within a first strength range.
6. The method according to claim 4 or 5, characterized in that, The target signal includes a first type of signal and a second type of signal. The step of generating a target intensity range corresponding to the target signal based on the acquired signal intensity includes: Based on the obtained signal strength corresponding to the first type of signal and the first algorithm corresponding to the first type of signal, a first intensity range of the first type of signal is determined; based on the obtained signal strength corresponding to the second type of signal and the second algorithm corresponding to the second type of signal, a second intensity range of the second type of signal is determined.
7. The method according to any one of claims 1 to 6, characterized in that, The step of comparing the signal strength of the target signal with the target strength range to generate test results includes: When the signal strength of the target signal does not meet the target strength range, a test anomaly result is generated. The test anomaly result is used to characterize the communication module corresponding to the target signal, and / or the antenna corresponding to the communication module is in an abnormal state.
8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: Based on the signal strength of the target signal, determine the degree of deviation of the signal strength of the target signal from the target strength range; Based on the degree of deviation and the database of abnormal causes, the cause of the abnormality is matched and obtained.
9. A testing system, characterized in that, The system includes: An acquisition unit is used for a first type of module to acquire a target signal generated by at least one second type of module through a first type of antenna. Both the first type of module and the second type of module are installed in the vehicle, and the first type of module has a first type of antenna. The determining unit is used to determine the target intensity range corresponding to the target signal and the signal intensity of the target signal based on the acquired target signal; The comparison unit is used to compare the signal strength of the target signal with the target strength range to generate test results.
10. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the test method as described in any one of claims 1-8.
11. A computer program product, characterized in that, When the computer program product is run on a computer, the computer performs the test method as described in any one of claims 1-8.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the test method as described in any one of claims 1-8.
