Signal simulation device and signal simulation method
Through the signal simulation device to simulate the interference signal of the interactive message of the carry -on protocol in the smart home wireless test, solve the problem that the existing test method cannot simulate the actual use scenario, and improve the authenticity and accuracy of the test environment.
Patent Information
- Application Number
- CN202310935517.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-27
- Publication Date
- 2025-01-28
AI Technical Summary
The existing smart home wireless testing methods cannot simulate protocol interaction feedback in real usage scenarios, resulting in a large gap between the test results and the actual usage scenarios.
Provide a signal analog device, including the signal generating device, controller and signal transmission antenna. The interference signal of the interactive message of carrying protocols by controlling the signal to generate the device to generate the interactive message of the carrier to simulate the test environment interacted with the device to be tested.
By simulating the real agreement interaction feedback, the authenticity and accuracy of the test environment is improved, and the anti -interference ability test coverage of the testing equipment is enhanced.
Smart Images

Figure CN119382807A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of wireless communication testing, and in particular to a signal simulation device and a signal simulation method. Background Art
[0002] With the development of smart home wireless technology and market, users have higher and higher requirements for the wireless performance and stability of smart homes. At present, the scene evaluation and testing of smart homes are all based on hardware RF testing, antenna testing and business testing in pure environments. These tests cannot cause protocol interaction feedback and are very different from the actual usage scenarios of users. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a signal simulation device and a signal simulation method.
[0004] According to a first aspect of an embodiment of the present disclosure, a signal simulation device is provided, comprising at least:
[0005] Signal generating equipment;
[0006] A controller, connected to the signal generating device, configured to control the communication signal generated by the signal generating device; wherein the communication signal includes an interference signal and carries a protocol interaction message;
[0007] A signal transmitting antenna, connected to the signal generating device, and configured to transmit the communication signal outwardly;
[0008] The communication signal is used to simulate the test environment of the device under test.
[0009] In some embodiments, the signal generating device includes: a wireless fidelity jammer;
[0010] The controller is connected to the Wi-Fi jammer and is further configured to adjust at least one communication parameter of the Wi-Fi jammer.
[0011] In some embodiments, the signal generating device further comprises: a Wi-Fi router;
[0012] The controller is connected to the wireless fidelity interference device and the wireless fidelity router, and is also configured to obtain the current air interface occupancy of the wireless fidelity router, and control the interference signal generated by the wireless fidelity interference device based on the current air interface occupancy; and / or obtain the current channel of the wireless fidelity router, and modify the channel of the wireless fidelity interference device based on the current channel.
[0013] In some embodiments, the controller is further configured to adjust the packet transmission frequency and / or rate of the Wi-Fi interference device.
[0014] In some embodiments, the signal generating device includes: a Bluetooth jammer;
[0015] The controller is connected to the Bluetooth jammer and is also configured to control the Bluetooth jammer to generate different types of communication signals and / or control the packet sending interval and / or packet length of the Bluetooth jammer.
[0016] In some embodiments, the signal generating device includes: a Wi-Fi jammer and a Bluetooth jammer;
[0017] The controller is connected to the wireless fidelity jammer and the Bluetooth jammer, and is also configured to control the packet transmission channel of the wireless fidelity jammer and the packet transmission channel of the Bluetooth jammer to simulate a Bluetooth frequency hopping test environment.
[0018] In some embodiments, the apparatus further comprises:
[0019] The monitor is connected to the device under test and the signal generating device, and is further configured to monitor the communication parameters of the device under test and / or monitor the air interface occupancy rate of the signal generating device.
[0020] In some embodiments, the apparatus further comprises:
[0021] A programmable attenuator connected between the signal generating device and the signal transmitting antenna;
[0022] A controller, connected to the programmable attenuator, and further configured to control the attenuation value of the programmable attenuator to adjust the communication signal;
[0023] Wherein, the signal generating device includes: a Wi-Fi router, a Wi-Fi jammer and a Bluetooth gateway;
[0024] The signal transmitting antenna includes: a wireless fidelity access antenna, a wireless fidelity interference antenna, and a Bluetooth access antenna.
[0025] In some embodiments, the apparatus further comprises:
[0026] a fixed attenuator, connected between the signal generating device and the signal transmitting antenna, and configured to adjust the communication signal with the fixed attenuation value;
[0027] Wherein, the signal generating device includes: a Bluetooth jammer device, and the signal transmitting antenna includes a Bluetooth jammer antenna.
[0028] According to a second aspect of an embodiment of the present disclosure, a signal simulation method is provided, which is applied to a signal simulation device, and includes:
[0029] A signal generating device controlling the signal simulation device to generate a communication signal;
[0030] Transmitting the communication signal outwardly through the signal transmitting antenna of the signal simulation device;
[0031] Simulating a test environment of the device under test based on the communication signal;
[0032] The communication signal includes an interference signal and carries a protocol interaction message.
[0033] In some embodiments, the signal generating device includes a wireless fidelity interference device; and controlling the signal generating device to generate a communication signal includes:
[0034] At least one communication parameter of the Wi-Fi jammer is adjusted.
[0035] In some embodiments, the signal generating device further comprises a Wi-Fi router; and the adjusting at least one communication parameter of the Wi-Fi interference device comprises:
[0036] Acquire a current air interface occupancy rate of the Wi-Fi router, and control the interference signal generated by the Wi-Fi interference device based on the current air interface occupancy rate; and / or,
[0037] Acquire a current channel of the Wi-Fi router, and modify a channel of the Wi-Fi interference device based on the channel; and / or,
[0038] Adjust the packet transmission frequency and / or rate of the Wi-Fi interference device.
[0039] In some embodiments, the signal generating device includes: a Bluetooth interference device; and controlling the signal generating device to generate a communication signal includes:
[0040] Controlling the Bluetooth jammer to generate different types of communication signals; and / or,
[0041] Control the packet sending interval and / or packet sending length of the Bluetooth interference device.
[0042] In some embodiments, the signal generating device includes: a wireless fidelity jammer and a Bluetooth jammer; and controlling the signal generating device to generate a communication signal includes:
[0043] The packet transmission channel of the wireless fidelity jammer and the packet transmission channel of the Bluetooth jammer are controlled to simulate a Bluetooth frequency hopping test environment.
[0044] In some embodiments, controlling the signal generating device to generate a communication signal includes:
[0045] The attenuation value of the programmable attenuator is controlled to adjust the communication signal generated by the signal generating device.
[0046] In some embodiments, the method further comprises:
[0047] Monitor the communication parameters of the device under test and / or monitor the air interface occupancy rate of the signal generating device.
[0048] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0049] In the disclosed embodiment, the controller in the signal simulation device can control the signal generating device to generate different communication signals to simulate different test environments, which can not only enrich the test environment, but also be controlled by control instructions, freeing up test manpower, thereby improving test efficiency. In addition, the communication signal generated by the disclosed embodiment carries a protocol interaction message, which can form interactive feedback with the device under test, thereby making the simulated test environment more realistic and improving the test accuracy of the subsequent test of the device under test based on the test environment.
[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0052] Figure 1 A schematic diagram of a signal simulation device shown in an exemplary embodiment Figure 1 .
[0053] Figure 2 A schematic diagram of a signal simulation device shown in an exemplary embodiment Figure 2 .
[0054] Figure 3 It is a flowchart of a signal simulation method shown in an exemplary embodiment.
[0055] Figure 4 The present invention is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0057] The embodiment of the present disclosure provides a signal simulation device, which is used to simulate a test environment of a device under test. Figure 1 A schematic diagram of a signal simulation device shown in an exemplary embodiment Figure 1 .like Figure 1 As shown, the signal simulation device 10 comprises:
[0058] Signal generating device 11;
[0059] A controller 105, connected to the signal generating device 11, configured to control the communication signal generated by the signal generating device 11; wherein the communication signal includes an interference signal and carries a protocol interaction message;
[0060] A signal transmitting antenna 13, connected to the signal generating device 11, and configured to transmit the communication signal outward;
[0061] The communication signal is used to simulate the test environment of the device under test.
[0062] In the embodiments of the present disclosure, the signal simulation device can be applied to smart home scenarios, and the device under test can be placed in a smart home test environment simulated by the signal simulation device to test the anti-interference ability of the device under test under the influence of interference signals of different spectra, different amplitudes and different types; and, the embodiments of the present disclosure can also analyze the test data of the device under test in the simulated test environment to guide debugging.
[0063] It should be noted that the device to be tested may include a smart home device and may also include a mobile device; wherein the mobile device includes: a smart phone, a tablet computer or a notebook, etc., which is not limited in the embodiments of the present disclosure.
[0064] In the embodiments of the present disclosure, in an actual smart home wireless network environment, there are usually wireless communication services of the home as well as wireless interference from the surrounding environment (such as wireless interference from neighbors). Therefore, when the signal simulation device simulates the smart home test environment, for the home's own communication services, a communication signal for processing the home's own communication services can be generated by a signal generating device; for wireless interference from the surrounding environment, a communication signal for interference can be generated by a signal generating device.
[0065] In some embodiments, the signal generating device can be used to generate wireless fidelity (Wireless Fidelity, Wi-Fi) signals and / or Bluetooth signals. Correspondingly, the signal generating device may include: a Wi-Fi router and / or a Bluetooth gateway. In other embodiments, the signal generating device can also be used to generate different types of interference signals. Correspondingly, the signal generating device may include: a wireless fidelity interference device and / or a Bluetooth interference device. Among them, the Bluetooth gateway includes: a BLE gateway or a Mesh gateway, which is not limited in the embodiments of the present disclosure.
[0066] In the disclosed embodiment, the controller is connected to the signal generating device. Different signal generating devices are connected to the controller in different ways. When the signal generating device is a Wi-Fi router, the controller can be connected to the Wi-Fi router via LAN communication; when the signal generating device is a Wi-Fi interference device and a Bluetooth interference device, the controller can be connected to the Wi-Fi interference device and the Bluetooth interference device via serial line communication; when the signal generating device is a Bluetooth gateway, the controller can be connected to the Bluetooth gateway via Ethernet line communication.
[0067] It should be noted that the controller can control the signal generating device to generate communication signals in different combinations to simulate different test environments.
[0068] For example, the signal generating device includes a Wi-Fi router and a Wi-Fi interference device; for testing of strong interference in Wi-Fi signals, a signal simulation device is required to simulate the test environment of Wi-Fi signals and Wi-Fi interference signals. At this time, the controller can be used to control the Wi-Fi router to generate Wi-Fi signals; and the controller can be used to control the Wi-Fi interference device to generate Wi-Fi interference signals.
[0069] For another example, the signal generating device includes a Wi-Fi router, a Bluetooth gateway, a Wi-Fi interference device, and a Bluetooth interference device. For the test of Bluetooth interference and Wi-Fi interference at the same time, a signal simulation device is required to simulate the test environment where Wi-Fi interference signals and Bluetooth interference signals exist. At this time, the controller can control the Wi-Fi router and the Bluetooth gateway to generate Wi-Fi signals and Bluetooth signals respectively, and control the wireless fidelity interference device and the Bluetooth interference device to generate Wi-Fi interference signals and Bluetooth interference signals respectively.
[0070] In the embodiment of the present disclosure, the signal transmitting antenna is connected to the signal generating device and is used to transmit the communication signal generated by the signal generating device to the outside. Here, the signal transmitting antenna can be connected to the signal generating device through a radio frequency cable communication.
[0071] It should be noted that different signal generating devices correspond to different signal transmitting antennas. When the signal generating device is a Wi-Fi router, the corresponding signal transmitting antenna is a Wi-Fi access antenna; when the signal generating device is a Wi-Fi interference device, the corresponding signal transmitting antenna is a Wi-Fi interference antenna; when the signal generating device is a Bluetooth gateway, the corresponding signal transmitting antenna is a Bluetooth access antenna; when the signal generating device is a Bluetooth interference device, the corresponding signal transmitting antenna is a Bluetooth interference antenna.
[0072] In the embodiment of the present disclosure, the communication signal generated by the signal generating device is an electrical signal carrying a protocol interaction message, and the communication signal transmitted by the signal transmitting antenna is a wireless signal carrying a protocol interaction message. In other words, the communication signal simulated by the signal simulation device in the embodiment of the present disclosure can form interactive feedback with the device under test by carrying a protocol interaction message.
[0073] For example, the functions of anti-interference devices in related technologies are either focused on signal attenuation or on the control of wireless interference, neither of which can meet the normal interaction of the device under test based on the wireless protocol, and there is a problem of being far from the actual smart home wireless network environment.
[0074] Based on this, the embodiment of the present disclosure proposes a signal simulation device, in which a controller can control a signal generating device to generate different communication signals to simulate different test environments, which can not only make the test environment richer, but also can be controlled by control instructions, freeing up test manpower, thereby improving test efficiency. In addition, the communication signal generated by the embodiment of the present disclosure carries a protocol interaction message, which can form interactive feedback with the device to be tested, thereby making the simulated test environment more realistic, and improving the test accuracy of the subsequent test of the device to be tested based on the test environment. For example, by simulating a more realistic test environment to improve test accuracy, it is possible to solve the problems of being unable to control or disconnecting that often occur during the actual use of smart homes, thereby improving the user experience of smart homes.
[0075] In some embodiments, Figure 2 A schematic diagram of a signal simulation device shown in an exemplary embodiment Figure 2 .like Figure 1 and Figure 2 As shown, the signal generating device 11 includes: a wireless fidelity interference device 102;
[0076] The controller 105 is connected to the Wi-Fi jammer 102 , and is further configured to adjust at least one communication parameter of the Wi-Fi jammer 102 .
[0077] In the disclosed embodiment, at least one communication parameter of the wireless fidelity interference device can be adjusted based on the air interface data transmission of the wireless fidelity router, which can not only simulate the Wi-Fi interference in the real environment, but also adjust a variety of communication parameters to obtain a richer test environment, thereby improving the test coverage. In addition, the simulated test environment can be changed by controlling the communication parameters by sending control instructions, which can make test acceptance and R&D debugging more convenient.
[0078] The above communication parameters may include at least one of the following: packet length; packet transmission frequency; channel; channel width; rate set; confirmation character (Acknowledge character, ACK) packet return method, media access control address (Media Access Control Address, MAC), protocol, protection interval, payload (Payload), request to send (Request ToSend, RTS) control frame, clear to send (Clear ToSend, CTS) control frame.
[0079] It should be noted that the embodiments of the present disclosure can adjust a communication parameter through the controller according to actual test requirements. For example, the packet length of the Wi-Fi interference device can be adjusted separately. Here, the maximum packet length of the Wi-Fi interference device can be determined by the Wi-Fi standard and hardware devices. The controller can adjust the packet length actually sent by the Wi-Fi interference device within the maximum packet length range to simulate the packet sending scenario in a real smart home wireless network environment.
[0080] Of course, the disclosed embodiment can also adjust multiple communication parameters simultaneously through the controller. In some embodiments, the communication parameters include packet transmission frequency and / or rate, and the controller is further configured to adjust the packet transmission frequency and / or rate of the wireless fidelity interference device.
[0081] That is to say, the embodiments of the present disclosure can adjust the packet transmission frequency and rate of the Wi-Fi interference device at the same time, which can change the intensity of Wi-Fi interference and the air interface occupancy rate of the Wi-Fi interference device, so as to achieve full coverage of Wi-Fi interference signals. For example, it takes 200 milliseconds for a Wi-Fi interference device to send a 1M protocol interaction message. By controlling the packet transmission frequency and rate set, the Wi-Fi interference device can send the next protocol interaction message 200 milliseconds after sending the 1M protocol interaction message, so that there is no idle time in between, and the air interface occupancy rate of the corresponding Wi-Fi interference device is 100%, achieving full coverage.
[0082] In some embodiments, Figure 1 and Figure 2 As shown, the signal generating device 11 further includes: a wireless fidelity router 101;
[0083] The controller 105 is connected to the wireless fidelity interference device 102 and the wireless fidelity router 101, and is also configured to obtain the current air interface occupancy of the wireless fidelity router 101, and control the interference signal generated by the wireless fidelity interference device 102 based on the current air interface occupancy; and / or obtain the current channel of the wireless fidelity router 101, and modify the channel of the wireless fidelity interference device 102 based on the current channel.
[0084] In the embodiment of the present disclosure, controlling the Wi-Fi interference device based on the current air interface occupancy may include: gradually adjusting the air interface occupancy of the Wi-Fi interference device with the current air interface occupancy as a target, so that the air interface occupancy of the Wi-Fi interference device approaches the air interface occupancy of the Wi-Fi router.
[0085] It should be noted that the air interface occupancy rate can be obtained by the ratio between the effective transmission time and the total transmission time. The effective transmission time refers to the transmission time actually used by the signal to carry the protocol interaction message during the transmission process; the total transmission time refers to the complete transmission cycle of the signal; the transmission time can be calculated by the time taken to send a data packet at the current rate.
[0086] In the embodiments of the present disclosure, compensation may be performed on the Wi-Fi interference device based on the current air interface occupancy rate of the Wi-Fi router, thereby improving the interference stability of the Wi-Fi interference device.
[0087] The controller can also modify the channel of the wireless fidelity interference device based on the current channel, and can change the interference frequency of the Wi-Fi interference device to simulate interference from different dimensions. Here, the different dimensions may include the same frequency, adjacent frequency and overlapping frequency; the interference frequency that can be changed by channel modification can be set in the range of 5MHz to 35MHz, which is not limited in the embodiments of the present disclosure.
[0088] It should be noted that modifying the channel of the Wi-Fi interference device based on the current channel may include: modifying the channel of the Wi-Fi interference device to be the same as the channel of the Wi-Fi router, so as to achieve co-channel interference, thereby simulating the test environment of co-channel interference; it may also include: modifying the channel of the Wi-Fi interference device to be adjacent to the channel of the Wi-Fi router, so as to achieve adjacent frequency interference, thereby simulating the test environment of adjacent frequency interference; it may also include: modifying the channel of the Wi-Fi interference device to overlap with the channel of the Wi-Fi router, so as to achieve overlapping frequency interference, thereby simulating the test environment of overlapping frequency interference.
[0089] In the disclosed embodiments, the channel of the Wi-Fi interference device is modified based on the current channel of the Wi-Fi router, so as to simulate the test environment of co-channel interference, the test environment of adjacent-channel interference and the test environment of overlapping-frequency interference, and realize the test environment of Wi-Fi interference under the simulation of interference of different dimensions in the full frequency band.
[0090] In some embodiments, Figure 1 and Figure 2 As shown, the signal generating device 11 includes: a Bluetooth interference device 104;
[0091] The controller 105 is connected to the Bluetooth jammer 104 and is further configured to control the Bluetooth jammer 104 to generate different types of communication signals and / or control the packet sending interval and / or packet length of the Bluetooth jammer 104.
[0092] The controller can control different types of communication signals generated by the Bluetooth jammer, including: jammer messages broadcast on channels 37, 38, and 39; or, jammer messages of classic Bluetooth. Here, the disclosed embodiment can control the Bluetooth jammer to generate different jammer messages according to actual test requirements to enrich the test environment for simulating Bluetooth jammer.
[0093] The controller can control the packet transmission interval and / or packet transmission length of the Bluetooth interference device. In some embodiments, the controller can control the Bluetooth interference device to increase the packet transmission interval or shorten the packet transmission interval. In other embodiments, the controller can control the Bluetooth interference device to increase the packet transmission length or shorten the packet transmission length.
[0094] It should be noted that the shorter the packet transmission interval, the denser the corresponding Bluetooth interference, and the longer the packet transmission length, the more interference data of the corresponding Bluetooth interference, and thus the intensity of the Bluetooth interference can be changed by changing the packet transmission interval and / or the packet transmission length. In this way, the embodiment of the present disclosure can simulate Bluetooth interference signals of different intensities by controlling the Bluetooth interference device, and thus can allow the device under test to receive Bluetooth interference signals of different distances without changing the physical position of the device under test.
[0095] In some embodiments, Figure 1 and Figure 2 As shown, the signal generating device 11 includes: a wireless fidelity jammer 102 and a Bluetooth jammer 104;
[0096] The controller is connected to the Wi-Fi jammer 102 and the Bluetooth jammer 104, and is further configured to control the packet transmission channel of the Wi-Fi jammer 102 and the packet transmission channel of the Bluetooth jammer 104 to simulate a Bluetooth frequency hopping test environment.
[0097] In the disclosed embodiment, due to the frequency hopping characteristics of Bluetooth, when Wi-Fi interference and Bluetooth interference exist at the same time, the test environment of Bluetooth frequency hopping can be simulated by controlling the packet sending channel of the wireless fidelity interference device and controlling the packet sending channel of the Bluetooth interference, thereby testing the Bluetooth frequency hopping capability of the device under test.
[0098] The above-mentioned control of the packet sending channel of the wireless fidelity interference device and the packet sending channel of the Bluetooth interference device may include: the packet sending channel of the wireless fidelity interference device and the packet sending channel of the Bluetooth interference device can be controlled to be the same, so that based on the frequency hopping characteristics of Bluetooth, the packet sending channel of Bluetooth will change, and the Bluetooth interference signal will be transmitted based on the changed packet sending channel.
[0099] For example, Wi-Fi interference and Bluetooth interference exist at the same time. When both the Wi-Fi packet transmission channel and the Bluetooth packet transmission channel occupy 2M bandwidth, the Bluetooth interference device should jump to other packet transmission channels based on the frequency hopping characteristics and should not occupy the 2M bandwidth.
[0100] In some embodiments, the apparatus comprises:
[0101] The monitor is connected to the device under test and the signal generating device, and is configured to monitor the communication parameters of the device under test and / or monitor the air interface occupancy rate of the signal generating device.
[0102] In the disclosed embodiment, the monitor can monitor the communication parameters of the device under test, thereby providing a simulated test environment for the device under test and also monitoring the communication parameters of the device under test in the simulated test environment, thereby facilitating subsequent analysis of the monitored parameters to guide debugging.
[0103] It should be noted that the communication parameters include at least one of the following: packet sending and receiving rate, number of data packets, and strength of received signals. For example, the controller can be connected to the monitor to analyze the monitored packet sending and receiving rate and strength of received signals of the device under test to optimize the simulated test environment.
[0104] Here, the monitor and the controller may be integrated into the same electronic device, or may be two independent devices, which is not limited in the embodiments of the present disclosure.
[0105] In the disclosed embodiment, the monitor can also monitor the air interface occupancy rate of the signal generating device. Here, the monitor can be connected to the Bluetooth jammer, the Bluetooth device, the Wi-Fi router and the Wi-Fi jammer respectively to obtain the air interface occupancy rate of different signal generating devices.
[0106] That is to say, the signal simulation device of the embodiment of the present disclosure can also provide monitoring of the air interface environment, and thus can accurately control the influencing factors of the air interface environment to obtain a more realistic test environment, solving the problem of unstable existing smart home test environment, making the air interface environment consistent before and after the test, and making it easier to reproduce the test environment when test problems occur.
[0107] In some embodiments, Figure 1 and Figure 2 As shown, the device 10 also includes:
[0108] a fixed attenuator 106, connected between the signal generating device 11 and the signal transmitting antenna 13, and configured to adjust the communication signal with a fixed attenuation value;
[0109] The signal generating device 11 includes a Bluetooth jammer 104 , and the signal transmitting antenna 13 includes a Bluetooth jammer antenna 111 .
[0110] In the embodiment of the present disclosure, the input end of the fixed attenuator can be connected to the Bluetooth jammer device via radio frequency cable communication, and the output end of the fixed attenuator can be connected to the corresponding Bluetooth jammer antenna via radio frequency cable communication.
[0111] It should be noted that the signal simulation device can be combined with a fixed attenuator to adjust the communication signal with a fixed attenuation value, and the controller can adjust the packet sending interval and / or packet length of the Bluetooth interference device to simulate the transmission of Bluetooth interference signals of different intensities. In this way, the device under test can receive Bluetooth interference signals of different intensities without changing the physical position of the device under test, thereby simulating the access and testing of the device under test at any signal point in the smart home environment.
[0112] In the embodiment of the present disclosure, compared with the use of a programmable attenuator, the embodiment of the present disclosure uses a fixed attenuator to control the packet sending interval and / or packet sending length of the Bluetooth interference device. On the basis of being able to simulate the emission of Bluetooth interference signals of different intensities, it can also reduce control complexity and equipment costs.
[0113] In some embodiments, Figure 1 and Figure 2 As shown, the device 10 also includes:
[0114] A programmable attenuator 107 connected between the signal generating device 11 and the signal transmitting antenna 13;
[0115] A controller 105, connected to the programmable attenuator 107, configured to control the attenuation value of the programmable attenuator to adjust the communication signal;
[0116] The signal generating device 11 includes: a Wi-Fi router 101, a Wi-Fi jammer 102 and a Bluetooth gateway 103;
[0117] The signal transmitting antennas 13 include: a wireless fidelity access antenna 108 , a wireless fidelity interference antenna 109 , and a Bluetooth access antenna 110 .
[0118] The input end of the above-mentioned programmable attenuator can be connected to the wireless fidelity router, wireless fidelity interference device and Bluetooth gateway through RF cable communication, and the output end of the programmable attenuator can be connected to the corresponding wireless fidelity access antenna, wireless fidelity interference antenna and Bluetooth access antenna through RF cable communication.
[0119] The controller can be connected to the programmable attenuator via an Ethernet cable to control the attenuation value of the programmable attenuator. Here, adjusting the attenuation value of the programmable attenuator can adjust the amplitude and / or power of the communication signal, and can simulate the transmission of communication signals of different strengths, so that the device under test can receive communication signals of different strengths without changing the physical position of the device under test, and then simulate the device under test to be connected and tested at any signal point in the smart home environment.
[0120] In some embodiments, Figure 2 As shown, the signal generating device includes: a Wi-Fi router 101, a Wi-Fi interference device 102, a Bluetooth gateway 103 and a Bluetooth interference device 104; the corresponding signal transmitting antennas include: a Wi-Fi access antenna 108, a Wi-Fi interference antenna 109, a Bluetooth access antenna 110 and a Bluetooth interference antenna 111; the signal simulation device also includes a fixed attenuator 106 and a programmable attenuator 107; the controller 105 is connected to the Wi-Fi router 101, the Wi-Fi interference device 102, the Bluetooth gateway 103, the Bluetooth interference device 104 and the programmable attenuator 107; the fixed attenuator 106 is connected to the Bluetooth interference device 104 and the Bluetooth interference antenna; the cloud network 300 can provide a wide area network for the Wi-Fi router 101.
[0121] In the disclosed embodiment, based on Figure 2 The signal simulation device shown can simulate a test environment including at least one communication signal such as a Wi-Fi signal, a Wi-Fi interference signal, a Bluetooth signal, and a Bluetooth interference signal. When the device under test is located in the simulated test environment, the device under test can be tested in the simulated test environment. It should be noted that during the test process, the embodiments of the present disclosure can simulate different test environments according to different test requirements.
[0122] For example, for the simulation of Wi-Fi signals, the radio frequency interface of the Wi-Fi router 101 is connected to the programmable attenuator 107, and the programmable attenuator 107 leads the communication signal to the Wi-Fi access antenna 108. In this way, during the test, the attenuation value of the programmable attenuator 107 is controlled by the controller 105, so that Wi-Fi signals of different strengths can be simulated.
[0123] For the simulation of Bluetooth signals, the RF interface of the Bluetooth gateway 103 is connected to the programmable attenuator 107, and the programmable attenuator 107 leads the communication signal to the Bluetooth access antenna 110. In this way, during the test, the attenuation value of the programmable attenuator 107 is controlled by the controller 105 to simulate the emission of Bluetooth signals of different strengths.
[0124] For the simulation of Wi-Fi interference signals, the radio frequency interface of the wireless fidelity interference device 102 is connected to the programmable attenuator 107, and the programmable attenuator 107 leads the communication signal to the Wi-Fi interference antenna 109. In this way, during the test, the attenuation value of the programmable attenuator 107 is controlled by the controller 105 to simulate the emission of Wi-Fi interference signals of different strengths.
[0125] For the simulation of Wi-Fi signals and Wi-Fi interference signals, the controller 105 can control the programmable attenuator 107 according to the control instruction, add the attenuation value of the Wi-Fi signal, and control the Wi-Fi interference device to generate the Wi-Fi interference signal. In this way, during the test process, the controller 105 controls the programmable attenuator 107 and the Wi-Fi interference device to simulate a test environment where the Wi-Fi signal is weak and there is strong interference.
[0126] For the simulation of Wi-Fi interference signals and Bluetooth interference signals, the controller 105 can control the programmable attenuator 107 to add the attenuation value of the Wi-Fi interference signal, and control the Bluetooth interference device 104 to generate the Bluetooth interference signal. In this way, during the test process, the controller 105 controls the Bluetooth interference device 102, the programmable attenuator 107 and the Wi-Fi interference device 102 to simulate the test environment where the Bluetooth interference signal and the Wi-Fi interference signal exist at the same time.
[0127] In the disclosed embodiment, the signal simulation device 10 controls the Wi-Fi router 101, the Wi-Fi interference device 102, the Bluetooth gateway 103, the Bluetooth interference device 104 and the programmable attenuator 107 through the controller 105, and can simulate different test environments to implement the test of the device under test 200.
[0128] In some embodiments, Figure 1 and Figure 2As shown, the signal simulation device 10 also includes: a shielding box 400; a Wi-Fi router 101, a Wi-Fi interference device 102, a Bluetooth gateway 103, a Bluetooth interference device 104, a fixed attenuator 106 and a programmable attenuator 107 can all be located in the shielding box 400; a Wi-Fi access antenna 108, a Wi-Fi interference antenna 109, a Bluetooth access antenna 110 and a Bluetooth interference antenna 111 can all be located on the shielding box 400; a controller 105 is located outside the shielding box 400 and is connected to each device in the shielding box 400.
[0129] In the disclosed embodiment, the signal simulation device controls each device in the shielding box through a controller, which not only makes the test environment richer, but also enables fully automated unattended testing, freeing up testing manpower and thereby improving testing efficiency; the disclosed embodiment adjusts the communication parameters of the Wi-Fi interference device and the Bluetooth interference device and changes the attenuation value of the programmable attenuator through the controller to change the variable factors in the test environment, thereby simulating more test environments, which not only increases the test coverage, but also facilitates test acceptance and R&D debugging; the disclosed embodiment can provide air interface environment monitoring through a monitor, which not only can accurately control the influencing factors of the air interface environment to obtain a standard test environment, solving the problem of unstable existing smart home test environment, but also facilitates R&D debugging.
[0130] The disclosed embodiment also provides a signal simulation method. Figure 3 FIG. 1 is a flow chart of a signal simulation method according to an exemplary embodiment. Figure 3 As shown, the signal simulation method is applied to a signal simulation device in one or more of the above embodiments, and the signal simulation device performs the signal simulation method including the following steps:
[0131] S1001, controlling the signal generating device of the signal simulation device to generate a communication signal;
[0132] S1002, transmitting the communication signal outwardly through the signal transmitting antenna of the signal simulation device;
[0133] S1003. Simulate a test environment of the device under test based on the communication signal; wherein the communication signal includes an interference signal and carries a protocol interaction message.
[0134] In the disclosed embodiment, the signal simulation device controls the signal generating device to generate different communication signals, which can not only simulate different test environments, but also be controlled by control instructions, freeing up test manpower, thereby improving test efficiency. In addition, the communication signal generated by the disclosed embodiment carries a protocol interaction message, which can form interactive feedback with the device under test, thereby making the simulated test environment more realistic, and improving the test accuracy of the subsequent test of the device under test based on the test environment.
[0135] In some embodiments, the signal generating device includes a wireless fidelity interference device; and controlling the signal generating device to generate a communication signal includes:
[0136] At least one communication parameter of the Wi-Fi jammer is adjusted.
[0137] In the disclosed embodiment, at least one communication parameter of the wireless fidelity interference device can be adjusted based on the air interface data transmission situation, which can not only simulate the Wi-Fi interference in the real test environment, but also adjust a variety of communication parameters to obtain a richer test environment, thereby improving the test coverage. In addition, the simulated test environment can be changed by controlling the communication parameters by sending control instructions, which can facilitate test acceptance and R&D debugging.
[0138] In some embodiments, the signal generating device further comprises a Wi-Fi router, and the adjusting at least one communication parameter of the Wi-Fi interference device comprises:
[0139] Acquire a current air interface occupancy rate of the Wi-Fi router, and control the interference signal generated by the Wi-Fi interference device based on the current air interface occupancy rate; and / or,
[0140] Acquire a current channel of the Wi-Fi router, and modify a channel of the Wi-Fi interference device based on the channel; and / or,
[0141] Adjust the packet transmission frequency and / or rate of the Wi-Fi interference device.
[0142] The disclosed embodiment can compensate the wireless fidelity interference device based on the current air interface occupancy of the wireless fidelity router, and can improve the interference stability of the wireless fidelity interference device. In addition, the channel of the wireless fidelity interference device is modified based on the current channel of the wireless fidelity router, and the test environment of the same-channel interference, the test environment of the adjacent-channel interference, and the test environment of the overlapping-channel interference can be simulated, and the test environment of Wi-Fi interference under different dimensional interference can be realized in the full frequency band.
[0143] In some embodiments, the signal generating device includes: a Bluetooth interference device; and controlling the signal generating device to generate a communication signal includes:
[0144] Controlling the Bluetooth jammer to generate different types of communication signals; and / or,
[0145] Control the packet sending interval and / or packet sending length of the Bluetooth interference device.
[0146] In the disclosed embodiment, the Bluetooth interference device can be controlled to generate different types of communication signals according to actual test requirements, so that the simulated Bluetooth interference scenarios are more diverse. In addition, the disclosed embodiment can simulate Bluetooth interference signals of different strengths by controlling the packet transmission interval and / or packet transmission length of the Bluetooth interference device, thereby enabling the device under test to receive Bluetooth interference of different distances without changing the physical position of the device under test.
[0147] In some embodiments, the signal generating device includes: a wireless fidelity jammer and a Bluetooth jammer; and controlling the signal generating device to generate a communication signal includes:
[0148] The packet transmission channel of the wireless fidelity jammer and the packet transmission channel of the Bluetooth jammer are controlled to simulate a Bluetooth frequency hopping test environment.
[0149] In the disclosed embodiment, due to the frequency hopping characteristics of Bluetooth, when Wi-Fi interference and Bluetooth interference exist at the same time, the test environment of Bluetooth frequency hopping can be simulated by controlling the packet sending channel of the wireless fidelity interference device and controlling the packet sending channel of the Bluetooth interference, thereby testing the Bluetooth frequency hopping capability of the device under test.
[0150] In some embodiments, controlling the signal generating device to generate a communication signal includes:
[0151] The attenuation value of the programmable attenuator is controlled to adjust the communication signal generated by the signal generating device.
[0152] In the disclosed embodiment, adjusting the attenuation value of the programmable attenuator can adjust the amplitude and / or power of the communication signal, and can simulate the transmission of communication signals of different intensities. In this way, the device under test can receive communication signals of different intensities without changing the physical position of the device under test, thereby simulating the access and testing of the device under test at any signal point in the smart home environment.
[0153] In some embodiments, the method further comprises:
[0154] Monitor the communication parameters of the device under test and / or monitor the air interface occupancy rate of the signal generating device.
[0155] In the disclosed embodiment, the monitor can monitor the communication parameters of the device under test while providing a simulated test environment for the device under test, thereby facilitating subsequent analysis of the monitored parameters for optimization.
[0156] The specific manner of performing the operations in the above-mentioned embodiment method has been described in detail in the embodiment of the signal simulation device, and will not be elaborated here.
[0157] Figure 4 800 is a block diagram of an electronic device according to an exemplary embodiment. The electronic device is a device where a controller in a signal simulation device is located. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0158] Reference Figure 4 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0159] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0160] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0161] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.
[0162] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0163] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0164] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0165] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0166] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 3G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0167] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0168] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0169] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a controller of an electronic device, enables the electronic device to execute a signal simulation method, the method comprising: controlling a signal generating device of the signal simulation device to generate a communication signal; transmitting the communication signal outwardly through a signal transmitting antenna of the signal simulation device; simulating a test environment of a device under test based on the communication signal; wherein the communication signal includes an interference signal and carries a protocol interaction message.
[0170] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0171] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A signal simulation device, characterized in that: include: Signal generating equipment; A controller, connected to the signal generating device, configured to control the communication signal generated by the signal generating device; wherein the communication signal includes an interference signal and carries a protocol interaction message; A signal transmitting antenna, connected to the signal generating device, and configured to transmit the communication signal outwardly; The communication signal is used to simulate the test environment of the device under test.
2. The device according to claim 1, characterized in that The signal generating device includes: a wireless fidelity jammer; The controller is connected to the Wi-Fi jammer and is further configured to adjust at least one communication parameter of the Wi-Fi jammer.
3. The device according to claim 2, characterized in that The signal generating device also includes: a wireless fidelity router; The controller is connected to the wireless fidelity interference device and the wireless fidelity router, and is also configured to obtain the current air interface occupancy of the wireless fidelity router, and control the interference signal generated by the wireless fidelity interference device based on the current air interface occupancy; and / or obtain the current channel of the wireless fidelity router, and modify the channel of the wireless fidelity interference device based on the current channel.
4. The device according to claim 2, characterized in that The controller is further configured to adjust the packet transmission frequency and / or rate of the wireless fidelity interference device.
5. The device according to any one of claims 1 to 4, characterized in that: The signal generating device includes: a Bluetooth jammer; The controller is connected to the Bluetooth jammer and is also configured to control the Bluetooth jammer to generate different types of communication signals and / or control the packet sending interval and / or packet length of the Bluetooth jammer.
6. The device according to any one of claims 1 to 4, characterized in that The signal generating device includes: a wireless fidelity jammer and a Bluetooth jammer; The controller is connected to the wireless fidelity jammer and the Bluetooth jammer, and is also configured to control the packet sending channel of the wireless fidelity jammer and the packet sending channel of the Bluetooth jammer to simulate the test environment of Bluetooth frequency hopping.
7. The device according to any one of claims 1 to 4, characterized in that The device also includes: The monitor is connected to the device under test and the signal generating device, and is configured to monitor the communication parameters of the device under test and / or monitor the air interface occupancy rate of the signal generating device.
8. The device according to any one of claims 1 to 4, characterized in that The device also includes: A programmable attenuator connected between the signal generating device and the signal transmitting antenna; The controller is connected to the programmable attenuator and is further configured to control the attenuation value of the programmable attenuator to adjust the communication signal; Wherein, the signal generating device includes: a Wi-Fi router, a Wi-Fi jammer and a Bluetooth gateway; The signal transmitting antenna includes: a wireless fidelity access antenna, a wireless fidelity interference antenna and a Bluetooth access antenna.
9. The device according to any one of claims 1 to 4, characterized in that: The device also includes: a fixed attenuator, connected between the signal generating device and the signal transmitting antenna, and configured to adjust the communication signal with a fixed attenuation value; Wherein, the signal generating device includes: a Bluetooth jammer device, and the signal transmitting antenna includes a Bluetooth jammer antenna.
10. A signal simulation method, characterized in that: Used in signal simulation devices, including: A signal generating device controlling the signal simulation device to generate a communication signal; Transmitting the communication signal outwardly through the signal transmitting antenna of the signal simulation device; Simulating a test environment of the device under test based on the communication signal; The communication signal includes an interference signal and carries a protocol interaction message.
11. The method according to claim 10, characterized in that The signal generating device includes a wireless fidelity interference device; and controlling the signal generating device to generate a communication signal includes: At least one communication parameter of the Wi-Fi jammer is adjusted.
12. The method according to claim 10, characterized in that The signal generating device further includes a wireless fidelity router; the adjusting of at least one communication parameter of the wireless fidelity interference device includes: Acquire a current air interface occupancy rate of the Wi-Fi router, and control the interference signal generated by the Wi-Fi interference device based on the current air interface occupancy rate; and / or, Acquire a current channel of the Wi-Fi router, and modify a channel of the Wi-Fi interference device based on the channel; and / or, Adjust the packet transmission frequency and / or rate of the Wi-Fi interference device.
13. The method according to any one of claims 10 to 12, characterized in that: The signal generating device comprises: a Bluetooth interference device; and the controlling the signal generating device to generate a communication signal comprises: Controlling the Bluetooth jammer to generate different types of communication signals; and / or, Control the packet sending interval and / or packet sending length of the Bluetooth interference device.
14. The method according to any one of claims 10 to 12, characterized in that: The signal generating device includes: a wireless fidelity jammer and a Bluetooth jammer; and controlling the signal generating device to generate a communication signal includes: The packet transmission channel of the wireless fidelity interference device and the packet transmission channel of the Bluetooth interference device are controlled to simulate the test environment of Bluetooth frequency hopping.
15. The method according to any one of claims 10 to 12, characterized in that: The controlling the signal generating device to generate a communication signal comprises: The attenuation value of the programmable attenuator is controlled to adjust the communication signal generated by the signal generating device.
16. The method according to any one of claims 10 to 12, characterized in that: The method further comprises: Monitor the communication parameters of the device under test and / or monitor the air interface occupancy rate of the signal generating device.