A device and method for testing communication performance and protocol of dual-mode communication unit
By designing a test device and method containing multiple signal units and measurement units, the lack of partial performance and protocol testing automation of the dual-mode communication unit HRF is solved, and efficient and accurate communication performance and protocol consistency testing are achieved.
Patent Information
- Application Number
- CN202111507559.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2041-12-10
AI Technical Summary
There is a lack of effective automated testing methods in the prior art to evaluate the communication performance and protocol consistency of the high-speed wireless (HRF) part of the dual-mode communication unit.
A test device and method are designed, including multiple signal units, signal distribution units, radio frequency channel units, carrier channel units, measurement units and auxiliary signal units. By generating and receiving radio frequency signals, auxiliary test signals and feedback signals, they are automatically tested for RF reception performance, vector error amplitude (EVM) performance and protocol consistency of the dual-mode communication unit.
It realizes automated testing of communication performance and protocol consistency of dual-mode communication units, reduces manual intervention, improves testing efficiency and accuracy, and supports network access detection, procurement and fault diagnosis.
Smart Images

Figure CN115314131B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power consumption information collection system detection, and more specifically, to a device and method for testing the communication performance and protocol of a dual-mode communication unit, as well as a computer-readable storage medium and an electronic device. Background Art
[0002] In the power consumption information collection system, the communication unit is the core unit of data collection. The difference in communication performance will have a huge impact on the communication effect. The communication protocol adaptability of the communication unit directly affects the success or failure of the hybrid networking of modules from different manufacturers and its communication efficiency. The dual-mode communication unit uses high-speed power line carrier (HPLC) and high-speed wireless (HRF) as signal transmission carriers. It realizes hybrid networking through a combination of wired and wireless communications, and realizes the upload of power consumption information collection information and the issuance of control instructions. When the communication unit is used as an independent asset, how to test the performance protocol of the communication unit becomes the key to support the communication unit access, procurement, fault diagnosis and other testing work. At present, there is still a lack of effective technical means to automatically test the performance protocol of the HRF part of the dual-mode communication unit. Summary of the invention
[0003] In order to solve the technical problem in the prior art that there is still a lack of effective technical means for automated testing of the performance protocol of the HRF part of a dual-mode communication unit, the present invention provides a device and method for testing the communication performance and protocol of a dual-mode communication unit, as well as a computer storage medium and an electronic device.
[0004] According to one aspect of an embodiment of the present invention, there is provided a device for testing communication performance and protocol of a dual-mode communication unit, the device comprising:
[0005] A first signal unit, configured to generate a first radio frequency signal according to a first signal instruction;
[0006] A second signal unit, used to generate a second radio frequency signal according to a second signal instruction;
[0007] a signal distribution unit, configured to receive a first RF signal and distribute it to the RF channel unit and the first measurement unit, receive a second RF signal and transmit it to the RF channel unit or the first measurement unit, and receive a third feedback signal and send it to the first measurement unit;
[0008] A radio frequency channel unit, configured to receive the first radio frequency signal and the second radio frequency signal and transmit them to the DUT compartment unit, receive the third feedback signal and send it to the signal distribution unit, or receive the signal to be tested sent by the DUT compartment unit and transmit it to the second measurement unit, and transmit the first auxiliary test signal to the DUT compartment unit, and transmit the first feedback signal to the auxiliary signal unit;
[0009] A carrier channel unit, configured to transmit the second auxiliary test signal to the DUT bin unit, and transmit the second feedback signal to the auxiliary signal unit;
[0010] A first measuring unit is used to receive the third feedback signal and the first radio frequency signal transmitted by the signal allocation unit to generate a first test result for testing the radio frequency transmission performance of the dual-mode communication unit to be tested, and to generate a second test result for testing the first radio frequency receiving performance of the dual-mode communication unit to be tested according to the first radio frequency signal, and to generate a third test result for testing the second radio frequency receiving performance of the dual-mode communication unit to be tested according to the second radio frequency signal;
[0011] A second measuring unit, used for receiving a signal to be tested transmitted by the radio frequency channel unit, and generating a fourth test result for testing the vector error magnitude EVM performance of the dual-mode communication unit to be tested according to the signal to be tested;
[0012] an auxiliary signal unit, configured to generate a first auxiliary test signal and a second auxiliary test signal according to a fourth signal instruction, and to generate a fifth test result for testing the protocol consistency of the dual-mode communication unit to be tested according to the first feedback signal and the second feedback signal;
[0013] The DUT compartment unit is used to accommodate the dual-mode communication unit to be tested, and generates a signal to be tested according to a third signal instruction, generates a first feedback signal according to a first auxiliary test signal, generates a second feedback signal according to a second auxiliary test signal, and generates a third feedback signal according to the first RF signal and the second RF signal and sends it to the RF channel unit;
[0014] The signal instruction unit is used to generate at least one of a first signal instruction, a second signal instruction, a third signal instruction and a fourth signal instruction according to the test type of the dual-mode communication unit to be tested.
[0015] Optionally, in the above-mentioned device embodiments of the present invention, the first RF signal generated by the first signal unit is a standard HRF signal, which transmits the standard HRF signal to the first measuring unit through the signal distribution unit, and is used to generate a second test result for testing the first RF receiving performance of the dual-mode communication unit to be tested, and indicators for evaluating the first RF receiving performance include receiving sensitivity and resistance to frequency offset; the second RF signal generated by the second signal unit is a specific noise signal or an adjacent channel signal of the working channel of the dual-mode communication unit to be tested, and the specific noise signal or the adjacent channel signal of the working channel of the dual-mode communication unit to be tested is transmitted to the first measuring unit through the signal distribution unit, and is used to generate a third test result for testing the second RF receiving performance of the dual-mode communication unit to be tested, and indicators for evaluating the second RF receiving performance include resistance to noise and adjacent channel selectivity.
[0016] Optionally, in the above-mentioned device embodiments of the present invention, the first measuring unit is a spectrum analyzer, which is used to generate test results of a first RF receiving performance, a second RF receiving performance and a RF transmitting performance of the dual-mode communication unit to be tested, wherein the indicators for evaluating the RF transmitting performance include the operating frequency band, the transmitting power spectrum density and out-of-band spurious.
[0017] Optionally, in the above-mentioned device embodiments of the present invention, the auxiliary signal unit includes a transparent transmitter and a transparent receiver, which have HRF channel transceiver capabilities and HPLC channel transceiver capabilities, wherein the HRF transmitter generates a first auxiliary test signal, which is a protocol test signal, and is transmitted to the dual-mode communication unit to be tested in the DUT bin unit through the radio frequency channel unit, and is used to generate a fifth test result for testing the protocol consistency of the dual-mode communication unit to be tested; the HRF receiver is used to receive and analyze a response signal of the dual-mode communication unit to be tested in the DUT bin unit, and the response signal is a first feedback signal; the HPLC transmitter and receiver are connected to the DUT bin unit through the carrier channel unit, and are used for state control and data transmission of the dual-mode communication unit to be tested; the HPLC transmitter sends a second auxiliary test signal, and the HPLC receives a second feedback signal.
[0018] Optionally, in the above-mentioned device embodiments of the present invention, the DUT compartment unit also includes a DC power supply for supplying energy to the dual-mode communication unit to be tested and a radio frequency interface of the HRF channel, wherein the radio frequency interface includes an SMA connection and a coupling plate connection, and the HPLC channel is connected by a coupling transformer.
[0019] Optionally, in the above-mentioned device embodiments of the present invention, the auxiliary signal unit, the DUT compartment unit and the second measurement unit are all placed in a shielding box.
[0020] Optionally, in the above-mentioned device embodiments of the present invention, the signal instruction unit generates at least one of the first signal instruction, the second signal instruction, the third signal instruction and the fourth signal instruction according to the test type of the dual-mode communication unit to be tested, including:
[0021] When the test type of the dual-mode communication unit to be tested is a first radio frequency receiving performance test, generating a first signal instruction;
[0022] When the test type of the dual-mode communication unit to be tested is a second radio frequency receiving performance test, generating a second signal instruction;
[0023] When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, generating a first signal instruction and a second signal instruction;
[0024] When the test type of the dual-mode communication unit to be tested is an EVM performance test, generating a third signal instruction;
[0025] When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a fourth signal instruction is generated.
[0026] According to another aspect of an embodiment of the present invention, a method for testing communication performance and protocol of a dual-mode communication unit is provided, the method comprising:
[0027] Select the test type of the dual-mode communication unit to be tested;
[0028] Generate a signal instruction according to the selected test type, the signal instruction comprising at least one of a first signal instruction, a second signal instruction, a third signal instruction, and a fourth signal instruction;
[0029] Generate a corresponding test signal according to the signal instruction, wherein the test signal includes a first radio frequency signal, a second radio frequency signal, a first auxiliary test signal, a second auxiliary test signal, and a signal to be tested;
[0030] Generate corresponding feedback signals according to the test signal, wherein the feedback signals include a first feedback signal, a second feedback signal and a third feedback signal;
[0031] A test result is generated based on the feedback signal and / or the test signal.
[0032] Optionally, in the above method embodiments of the present invention, a signal instruction is generated according to the selected test type, and the signal instruction includes at least one of a first signal instruction, a second signal instruction, a third signal instruction, and a fourth signal instruction including:
[0033] When the test type of the dual-mode communication unit to be tested is a first radio frequency receiving performance test, generating a first signal instruction;
[0034] When the test type of the dual-mode communication unit to be tested is a second radio frequency receiving performance test, generating a second signal instruction;
[0035] When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, generating a first signal instruction and a second signal instruction;
[0036] When the test type of the dual-mode communication unit to be tested is an EVM performance test, generating a third signal instruction;
[0037] When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a fourth signal instruction is generated.
[0038] Optionally, in the above method embodiments of the present invention, generating a corresponding test signal according to the signal instruction includes:
[0039] When the signal instruction is a first signal instruction, a first radio frequency signal is generated, wherein the first radio frequency signal is a standard HRF signal;
[0040] When the signal instruction is a second signal instruction, a second radio frequency signal is generated, where the second radio frequency signal is a specific noise signal or an adjacent channel signal of the working channel of the dual-mode communication unit to be tested;
[0041] When the signal instruction is the third signal instruction, the dual-mode communication unit to be tested generates a signal to be tested;
[0042] When the signal instruction is the fourth signal instruction, a first auxiliary test signal and a second auxiliary test signal are generated, wherein the first auxiliary test signal is an HRF protocol test signal, and the second auxiliary test signal is an HPLC signal.
[0043] Optionally, in the above method embodiments of the present invention, generating a corresponding feedback signal according to the test signal includes:
[0044] When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a first feedback signal is generated according to the first auxiliary test signal, and a second feedback signal is generated according to the second auxiliary test signal, wherein the first feedback signal is a response signal of the first auxiliary test signal, and the second feedback signal is a response signal of the second auxiliary test signal;
[0045] When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, a third feedback signal is generated according to the first RF signal and the second RF signal, wherein the third feedback signal is a signal generated by the first RF signal under the interference of the second RF signal.
[0046] Optionally, in the above method embodiments of the present invention, generating a test result according to the feedback signal and / or the test signal includes:
[0047] When the test type of the dual-mode communication unit to be tested is a first radio frequency receiving performance test, generating a second test result for testing the first radio frequency receiving performance of the dual-mode communication unit to be tested according to the first radio frequency signal;
[0048] When the test type of the dual-mode communication unit to be tested is a second radio frequency receiving performance test, generating a third test result for testing the second radio frequency receiving performance of the dual-mode communication unit to be tested according to the second radio frequency signal;
[0049] When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, generating a first test result of testing the radio frequency transmission performance of the dual-mode communication unit to be tested according to the first radio frequency signal and the third feedback signal;
[0050] When the test type of the dual-mode communication unit to be tested is an EVM performance test, generating a fourth test result for testing the EVM performance of the dual-mode communication unit to be tested according to the signal to be tested;
[0051] When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a fifth test result for testing the protocol consistency performance of the dual-mode communication unit to be tested is generated according to the first feedback signal and the second feedback signal.
[0052] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method described in any of the above embodiments of the present invention.
[0053] According to another aspect of an embodiment of the present invention, there is provided an electronic device, characterized in that the electronic device includes:
[0054] processor;
[0055] a memory for storing instructions executable by the processor;
[0056] The processor is used to read the executable instructions from the memory and execute the instructions to implement the method described in any one of the above embodiments of the present invention.
[0057] Based on the device and method for testing the communication performance and protocol of the dual-mode communication unit provided by the above-mentioned embodiment of the present invention, as well as the computer storage medium and the electronic device, the test type of the dual-mode communication unit to be tested is selected, a signal instruction is generated according to the selected test type, a corresponding test signal is generated according to the signal instruction, a corresponding feedback signal is generated according to the test signal, and a test result is generated according to the feedback signal and / or the test signal. Therefore, the present invention determines the test type, selects the corresponding device to generate the test signal, and then generates the feedback signal according to the test signal and sends it to the measuring device to test the communication performance and protocol of the dual-mode communication unit to be tested, thereby realizing the construction of the test environment, the management of the dual-mode communication unit to be tested, and the automatic control of the test component state and data reading, thereby realizing test automation in the test process, reducing manual intervention, and providing technical support for the network access detection, supply inspection, fault detection and other work of the dual-mode communication unit.
[0058] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0060] Figure 1It is a structural schematic diagram of a device for testing the communication performance and protocol of a dual-mode communication unit provided by an exemplary embodiment of the present invention;
[0061] Figure 2 It is a flowchart of a method for testing the communication performance and protocol of a dual-mode communication unit provided by an exemplary embodiment of the present invention;
[0062] Figure 3 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0063] Below, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described here.
[0064] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
[0065] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present invention are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.
[0066] It should also be understood that, in the embodiments of the present invention, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.
[0067] It should also be understood that any component, data or structure mentioned in the embodiments of the present invention can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0068] In addition, the term "and / or" in the present invention is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects before and after are in an "or" relationship.
[0069] It should also be understood that the description of the various embodiments of the present invention focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0070] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0071] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0072] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0073] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0074] Embodiments of the present invention can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0075] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.
[0076] Exemplary Devices
[0077] Figure 1 FIG. 1 is a schematic diagram of a structure of an apparatus for testing the communication performance and protocol of a dual-mode communication unit provided by an exemplary embodiment of the present invention. Figure 1 As shown, the device for testing the communication performance and protocol of the dual-mode communication unit described in this embodiment includes:
[0078] A first signal unit 101, configured to generate a first radio frequency signal according to a first signal instruction;
[0079] A second signal unit 102, configured to generate a second radio frequency signal according to a second signal instruction;
[0080] The signal distribution unit 103 is used to receive the first RF signal and distribute it to the RF channel unit 104 and the first measurement unit 106, receive the second RF signal and transmit it to the RF channel unit 104 or the first measurement unit 106, and receive the third feedback signal and send it to the first measurement unit 106;
[0081] The RF channel unit 104 is used to receive the first RF signal and the second RF signal and transmit them to the DUT compartment unit 109, receive the third feedback signal and send it to the signal distribution unit 103, or receive the signal to be tested sent by the DUT compartment unit 109 and transmit it to the second measurement unit 107, and transmit the first auxiliary test signal to the DUT compartment unit 109, and transmit the first feedback signal to the auxiliary signal unit 108;
[0082] The carrier channel unit 105 is used to transmit the second auxiliary test signal to the DUT bin unit 109 and transmit the second feedback signal to the auxiliary signal unit 108;
[0083] The first measuring unit 106 is used to receive the third feedback signal and the first radio frequency signal transmitted by the signal allocation unit 103 to generate a first test result for testing the radio frequency transmission performance of the dual-mode communication unit to be tested, and to generate a second test result for testing the first radio frequency receiving performance of the dual-mode communication unit to be tested according to the first radio frequency signal, and to generate a third test result for testing the second radio frequency receiving performance of the dual-mode communication unit to be tested according to the second radio frequency signal;
[0084] The second measuring unit 107 is used to receive the signal to be tested transmitted by the radio frequency channel unit 104, and generate a fourth test result for testing the vector error magnitude EVM performance of the dual-mode communication unit to be tested according to the signal to be tested;
[0085] The auxiliary signal unit 108 is used to generate a first auxiliary test signal and a second auxiliary test signal according to the fourth signal instruction, and to generate a fifth test result for testing the protocol consistency of the dual-mode communication unit to be tested according to the first feedback signal and the second feedback signal;
[0086] The DUT compartment unit 109 is used to accommodate the dual-mode communication unit to be tested, and to generate a test signal according to a third signal instruction, to generate a first feedback signal according to a first auxiliary test signal, to generate a second feedback signal according to a second auxiliary test signal, and to generate a third feedback signal according to the first RF signal and the second RF signal and send it to the RF channel unit 104;
[0087] The signal instruction unit 110 is used to generate at least one of a first signal instruction, a second signal instruction, a third signal instruction and a fourth signal instruction according to the test type of the dual-mode communication unit to be tested.
[0088] Optionally, the first RF signal generated by the first signal unit 101 is a standard HRF signal, which transmits the standard HRF signal to the first measurement unit 106 through the signal distribution unit, and is used to generate a second test result for testing the first RF receiving performance of the dual-mode communication unit to be tested, and indicators for evaluating the first RF receiving performance include receiving sensitivity and resistance to frequency offset; the second RF signal generated by the second signal unit 102 is a specific noise signal or an adjacent channel signal of the working channel of the dual-mode communication unit to be tested, and it transmits the specific noise signal or the adjacent channel signal of the working channel of the dual-mode communication unit to be tested to the first measurement unit 106 through the signal distribution unit, and is used to generate a third test result for testing the second RF receiving performance of the dual-mode communication unit to be tested, and indicators for evaluating the second RF receiving performance include resistance to noise and adjacent channel selectivity.
[0089] In one embodiment, the first signal unit and the second signal unit are both RF sources, and the receiving sensitivity test is achieved by adjusting the output power of the RF source, and the anti-frequency deviation index test is achieved by changing the output frequency of the RF source. The RF source has orthogonal modulation capability, the maximum number of subcarriers of the OFDM signal is not less than 1024, and has the ability to generate arbitrary wave modulation signals, and supports the input of modulation waveform signal data. In the test, specific modulation waveform signal data containing test message information is input, and the test signal is generated after modulation.
[0090] Optionally, the first measuring unit 106 is a spectrum analyzer, which is used to generate test results of a first RF receiving performance, a second RF receiving performance and a RF transmitting performance of the dual-mode communication unit to be tested, wherein the indicators for evaluating the RF transmitting performance include an operating frequency band, a transmitting power spectrum density and out-of-band spurious.
[0091] In one embodiment, the spectrum analyzer is a spectrum analysis device having functions such as spectrum density calculation, maximum value holding or real-time analysis, and remote control.
[0092] Optionally, the auxiliary signal unit 108 includes a transparent transmitter and a transparent receiver, which have HRF channel transceiver capabilities and HPLC channel transceiver capabilities, wherein the HRF transmitter generates a first auxiliary test signal, which is a protocol test signal, and is transmitted to the dual-mode communication unit to be tested in the DUT bin unit through the RF channel unit, and is used to generate a fifth test result for testing the protocol consistency of the dual-mode communication unit to be tested; the HRF receiver is used to receive and analyze a response signal of the dual-mode communication unit to be tested in the DUT bin unit, and the response signal is a first feedback signal; the HPLC transmitter and receiver are connected to the DUT bin unit through the carrier channel unit, and are used for state control and data transmission of the dual-mode communication unit to be tested; the HPLC transmitter sends a second auxiliary test signal, and the HPLC receives a second feedback signal.
[0093] In one embodiment, the auxiliary signal unit uses the EP4CE22E22C8 chip to implement the function.
[0094] Optionally, the DUT compartment unit 109 further includes a DC power supply for supplying energy to the dual-mode communication unit to be tested and a radio frequency interface of an HRF channel, wherein the radio frequency interface includes an SMA connection and a coupling plate connection, and the HPLC channel is connected by a coupling transformer.
[0095] In one embodiment, the DUT bin unit management is implemented by using an ARM series single chip microcomputer, and the coupling board can be implemented by using TC093023C.
[0096] Optionally, the auxiliary signal unit 108, the DUT compartment unit 109 and the second measurement unit 107 are all placed in a shielding box. Placing them in the shielding box can isolate external interference signals and improve the accuracy of the test.
[0097] Optionally, the signal instruction unit 110 generates at least one of the first signal instruction, the second signal instruction, the third signal instruction and the fourth signal instruction according to the test type of the dual-mode communication unit to be tested, including:
[0098] When the test type of the dual-mode communication unit to be tested is a first radio frequency receiving performance test, generating a first signal instruction;
[0099] When the test type of the dual-mode communication unit to be tested is a second radio frequency receiving performance test, generating a second signal instruction;
[0100] When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, generating a first signal instruction and a second signal instruction;
[0101] When the test type of the dual-mode communication unit to be tested is an EVM performance test, generating a third signal instruction;
[0102] When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a fourth signal instruction is generated.
[0103] In one embodiment, the signal instruction unit is an industrial computer, which is connected to the first signal unit, the second signal unit, the auxiliary signal unit and the DUT bin unit, and is used to generate at least one of the first signal instruction, the second signal instruction, the third signal instruction and the fourth signal instruction according to the content to be tested.
[0104] Exemplary Methods
[0105] Figure 2 FIG. 1 is a flow chart of a method for testing the communication performance and protocol of a dual-mode communication unit provided by an exemplary embodiment of the present invention. This embodiment can be applied to electronic devices, such as Figure 2As shown, the method for testing the communication performance and protocol of the dual-mode communication unit described in this embodiment includes the following steps:
[0106] Step 101, selecting a test type for the dual-mode communication unit to be tested.
[0107] Step 102: Generate a signal instruction according to the selected test type, wherein the signal instruction includes at least one of a first signal instruction, a second signal instruction, a third signal instruction, and a fourth signal instruction.
[0108] Optionally, according to the selected test type, a signal instruction is generated, wherein the signal instruction includes at least one of a first signal instruction, a second signal instruction, a third signal instruction, and a fourth signal instruction including:
[0109] When the test type of the dual-mode communication unit to be tested is a first radio frequency receiving performance test, generating a first signal instruction;
[0110] When the test type of the dual-mode communication unit to be tested is a second radio frequency receiving performance test, generating a second signal instruction;
[0111] When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, generating a first signal instruction and a second signal instruction;
[0112] When the test type of the dual-mode communication unit to be tested is an EVM performance test, generating a third signal instruction;
[0113] When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a fourth signal instruction is generated.
[0114] Step 103: Generate a corresponding test signal according to the signal instruction, wherein the test signal includes a first radio frequency signal, a second radio frequency signal, a first auxiliary test signal, a second auxiliary test signal, and a signal to be tested.
[0115] Optionally, generating a corresponding test signal according to the signal instruction includes:
[0116] When the signal instruction is a first signal instruction, a first radio frequency signal is generated, wherein the first radio frequency signal is a standard HRF signal;
[0117] When the signal instruction is a second signal instruction, a second radio frequency signal is generated, where the second radio frequency signal is a specific noise signal or an adjacent channel signal of the working channel of the dual-mode communication unit to be tested;
[0118] When the signal instruction is the third signal instruction, the dual-mode communication unit to be tested generates a signal to be tested;
[0119] When the signal instruction is the fourth signal instruction, a first auxiliary test signal and a second auxiliary test signal are generated, wherein the first auxiliary test signal is an HRF protocol test signal, and the second auxiliary test signal is an HPLC signal.
[0120] Step 104: Generate corresponding feedback signals according to the test signal, wherein the feedback signals include a first feedback signal, a second feedback signal and a third feedback signal.
[0121] Optionally, generating a corresponding feedback signal according to the test signal includes:
[0122] When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a first feedback signal is generated according to the first auxiliary test signal, and a second feedback signal is generated according to the second auxiliary test signal, wherein the first feedback signal is a response signal of the first auxiliary test signal, and the second feedback signal is a response signal of the second auxiliary test signal;
[0123] When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, a third feedback signal is generated according to the first RF signal and the second RF signal, wherein the third feedback signal is a signal generated by the first RF signal under the interference of the second RF signal.
[0124] Step 105: Generate a test result according to the feedback signal and / or the test signal.
[0125] Optionally, generating a test result according to the feedback signal and / or the test signal includes:
[0126] When the test type of the dual-mode communication unit to be tested is a first radio frequency receiving performance test, generating a second test result for testing the first radio frequency receiving performance of the dual-mode communication unit to be tested according to the first radio frequency signal;
[0127] When the test type of the dual-mode communication unit to be tested is a second radio frequency receiving performance test, generating a third test result for testing the second radio frequency receiving performance of the dual-mode communication unit to be tested according to the second radio frequency signal;
[0128] When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, generating a first test result of testing the radio frequency transmission performance of the dual-mode communication unit to be tested according to the first radio frequency signal and the third feedback signal;
[0129] When the test type of the dual-mode communication unit to be tested is an EVM performance test, generating a fourth test result for testing the EVM performance of the dual-mode communication unit to be tested according to the signal to be tested;
[0130] When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a fifth test result for testing the protocol consistency performance of the dual-mode communication unit to be tested is generated according to the first feedback signal and the second feedback signal.
[0131] In one embodiment, the test type is an adjacent channel interference performance test. The signal instruction unit is an industrial computer, the first signal unit and the second signal unit are both radio frequency sources, and the first processing unit is a spectrum analyzer. The specific test steps are as follows:
[0132] Step 1: Determine the test type as adjacent channel interference performance test.
[0133] Step 2, the industrial computer controls the RF source 1 to generate a waveform signal, one of which is sent to the spectrum analyzer for storage, and the other is continuously sent to the dual-mode communication unit sample to be tested through the signal distribution unit and the RF channel unit. At the same time, the RF source 2 is controlled to generate a waveform signal of a channel adjacent to the first waveform signal, and is also continuously sent to the dual-mode communication unit sample to be tested. The signal passes through the dual-mode communication unit sample to be tested and is then sent to the spectrum analyzer. The spectrum analyzer compares the two received signals. If they are consistent, the number of successful communications is recorded as +1;
[0134] Step 3: Count the success rate. If the success rate is less than 90%, end the test. If the success rate is greater than 90%, continue to increase the signal strength sent by the interference channel until the reception success rate is just less than 90%. End the current test and record the signal gain of the interference compared to the current channel.
[0135] Step 4: The test is finished.
[0136] In one embodiment, the test type is an EVM performance test. The signal instruction unit is an industrial computer, and the second processing unit is an EVM evaluation board, which is designed using FPGA. The specific test steps are as follows:
[0137] The dual-mode communication unit sample to be tested sends a wireless signal, which is sent to the EVM S evaluation board through the RF channel unit. The EVM evaluation board determines whether the received signal meets the spectrum mask requirements. The test is completed.
[0138] In one embodiment, the test type is a protocol consistency test. The signal instruction unit is an industrial computer, and the specific test steps are as follows:
[0139] The industrial computer controls the auxiliary signal unit to send out a standard data frame, the carrier signal is sent to the dual-mode communication unit sample to be tested through the carrier channel unit, and the wireless signal is sent to the dual-mode communication unit sample to be tested through the radio frequency channel unit. After receiving the data frame, the dual-mode communication unit sample to be tested performs the specified action and feeds back the action result (response frame) to the auxiliary signal unit through the carrier channel unit and the radio frequency channel unit. The auxiliary signal unit determines whether the response frame meets the requirements. The test is over.
[0140] Exemplary Electronic Devices
[0141] Figure 3 The electronic device provided by an exemplary embodiment of the present invention may be any one or both of the first device and the second device, or a stand-alone device independent of them, and the stand-alone device may communicate with the first device and the second device to receive the collected input signals from them. Figure 3 FIG. 1 is a block diagram of an electronic device according to an embodiment of the present disclosure. Figure 3 As shown, the electronic device includes one or more processors 301 and a memory 302 .
[0142] The processor 301 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0143] The memory 302 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may run the program instructions to implement the method for information mining of historical change records and / or other desired functions of the software program of each embodiment disclosed above. In one example, the electronic device may also include: an input device 303 and an output device 304, which are interconnected through a bus system and / or other forms of connection mechanisms (not shown).
[0144] In addition, the input device 303 may also include, for example, a keyboard, a mouse, and the like.
[0145] The output device 304 can output various information to the outside. The output device 304 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto.
[0146] Of course, to simplify, Figure 3 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device may further include any other appropriate components.
[0147] Exemplary computer program products and computer-readable storage media
[0148] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps in the method for testing the communication performance and protocol of a dual-mode communication unit according to various embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.
[0149] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0150] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the processor executes the steps in the method for testing the communication performance and protocol of a dual-mode communication unit according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.
[0151] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0152] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limiting. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0153] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0154] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0155] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
[0156] It should also be noted that in the apparatus, equipment and method of the present disclosure, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present disclosure. The above description of the disclosed aspects is provided to enable any technician in the field to make or use the present disclosure. Various modifications to these aspects are very obvious to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown here, but to the widest scope consistent with the principles and novel features disclosed herein.
[0157] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A device for testing the communication performance and protocol of a dual-mode communication unit, characterized in that: The device comprises: A first signal unit for generating a first RF signal according to a first signal instruction, wherein the first RF signal is a standard HRF signal; A second signal unit for generating a second RF signal according to a second signal instruction, wherein the second RF signal is a specific noise signal or an adjacent channel signal of the working channel of the dual-mode communication unit to be tested; a signal distribution unit, configured to receive a first RF signal and distribute it to the RF channel unit and the first measurement unit, receive a second RF signal and transmit it to the RF channel unit or the first measurement unit, and receive a third feedback signal and send it to the first measurement unit; A radio frequency channel unit, configured to receive the first radio frequency signal and the second radio frequency signal and transmit them to the DUT compartment unit, receive the third feedback signal and send it to the signal distribution unit, or receive the signal to be tested sent by the DUT compartment unit and transmit it to the second measurement unit, and transmit the first auxiliary test signal to the DUT compartment unit, and transmit the first feedback signal to the auxiliary signal unit; A carrier channel unit, configured to transmit the second auxiliary test signal to the DUT bin unit, and transmit the second feedback signal to the auxiliary signal unit; A first measuring unit is used to receive the third feedback signal and the first radio frequency signal transmitted by the signal allocation unit to generate a first test result for testing the radio frequency transmission performance of the dual-mode communication unit to be tested, and to generate a second test result for testing the first radio frequency receiving performance of the dual-mode communication unit to be tested according to the first radio frequency signal, and to generate a third test result for testing the second radio frequency receiving performance of the dual-mode communication unit to be tested according to the second radio frequency signal; A second measuring unit, used for receiving a signal to be tested transmitted by the radio frequency channel unit, and generating a fourth test result for testing the vector error magnitude EVM performance of the dual-mode communication unit to be tested according to the signal to be tested; Auxiliary signal unit for generating a first auxiliary test signal and a second auxiliary test signal according to a fourth signal instruction, and generating a fifth test result of testing the protocol consistency of the dual-mode communication unit to be tested according to the first feedback signal and the second feedback signal, wherein the first auxiliary test signal is a protocol test signal, and the second auxiliary test signal is an HPLC signal; A DUT compartment unit, used to accommodate the dual-mode communication unit to be tested, and to generate a test signal according to a third signal instruction, to generate a first feedback signal according to a first auxiliary test signal, to generate a second feedback signal according to a second auxiliary test signal, and to generate a third feedback signal according to the first RF signal and the second RF signal and send it to the RF channel unit; A signal instruction unit, used to generate at least one of a first signal instruction, a second signal instruction, a third signal instruction and a fourth signal instruction according to a test type of the dual-mode communication unit to be tested, comprising: When the test type of the dual-mode communication unit to be tested is a first radio frequency receiving performance test, generating a first signal instruction; When the test type of the dual-mode communication unit to be tested is a second radio frequency receiving performance test, generating a second signal instruction; When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, generating a first signal instruction and a second signal instruction; When the test type of the dual-mode communication unit to be tested is an EVM performance test, generating a third signal instruction; When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a fourth signal instruction is generated.
2. The device according to claim 1, characterized in that The first signal unit transmits the standard HRF signal to the first measuring unit through the signal distribution unit, so as to generate a second test result for testing the first RF receiving performance of the dual-mode communication unit to be tested, and the indicators for evaluating the first RF receiving performance include receiving sensitivity and anti-frequency offset; the second signal unit transmits the specific noise signal or the adjacent channel signal of the working channel of the dual-mode communication unit to be tested to the first measuring unit through the signal distribution unit, so as to generate a third test result for testing the second RF receiving performance of the dual-mode communication unit to be tested, and the indicators for evaluating the second RF receiving performance include anti-noise and adjacent channel selectivity.
3. The device according to claim 1, characterized in that The first measuring unit is a spectrum analyzer, which is used to generate test results of the first RF receiving performance, the second RF receiving performance and the RF transmitting performance of the dual-mode communication unit to be tested, wherein the indicators for evaluating the RF transmitting performance include the operating frequency band, the transmitting power spectrum density and the out-of-band spurious.
4. The device according to claim 1, characterized in that The auxiliary signal unit includes a transparent transmitter and a transparent receiver, which have HRF channel transceiving capabilities and HPLC channel transceiving capabilities, wherein the HRF transmitter generates a first auxiliary test signal, which is transmitted to the dual-mode communication unit to be tested in the DUT bin unit through the radio frequency channel unit, and is used to generate a fifth test result for testing the protocol consistency of the dual-mode communication unit to be tested; the HRF receiver is used to receive and analyze the response signal of the dual-mode communication unit to be tested in the DUT bin unit, and the response signal is a first feedback signal; the HPLC transmitter and receiver are connected to the DUT bin unit through the carrier channel unit, and are used for state control and data transmission of the dual-mode communication unit to be tested; the HPLC transmitter sends a second auxiliary test signal, and the HPLC receives a second feedback signal.
5. The device according to claim 4, characterized in that The DUT compartment unit also includes a DC power supply for supplying energy to the dual-mode communication unit to be tested and a radio frequency interface of the HRF channel, wherein the radio frequency interface includes an SMA connection and a coupling plate connection, and the HPLC channel is connected by a coupling transformer.
6. The device according to claim 1, characterized in that The auxiliary signal unit, the DUT compartment unit and the second measurement unit are all placed in a shielding box.
7. A method for testing the communication performance and protocol of a dual-mode communication unit, characterized in that: The method comprises: Select the test type of the dual-mode communication unit to be tested; Generate a signal instruction according to the selected test type, wherein the signal instruction includes at least one of a first signal instruction, a second signal instruction, a third signal instruction, and a fourth signal instruction, including: When the test type of the dual-mode communication unit to be tested is a first radio frequency receiving performance test, generating a first signal instruction; When the test type of the dual-mode communication unit to be tested is a second radio frequency receiving performance test, generating a second signal instruction; When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, generating a first signal instruction and a second signal instruction; When the test type of the dual-mode communication unit to be tested is an EVM performance test, generating a third signal instruction; When the test type of the dual-mode communication unit to be tested is a protocol consistency test, generating a fourth signal instruction; Generate a corresponding test signal according to the signal instruction, wherein the test signal includes a first radio frequency signal, a second radio frequency signal, a first auxiliary test signal, a second auxiliary test signal, and a signal to be tested, including: When the signal instruction is a first signal instruction, a first radio frequency signal is generated, wherein the first radio frequency signal is a standard HRF signal; When the signal instruction is a second signal instruction, a second radio frequency signal is generated, where the second radio frequency signal is a specific noise signal or an adjacent channel signal of the working channel of the dual-mode communication unit to be tested; When the signal instruction is the third signal instruction, the dual-mode communication unit to be tested generates a signal to be tested; When the signal instruction is a fourth signal instruction, a first auxiliary test signal and a second auxiliary test signal are generated, wherein the first auxiliary test signal is an HRF protocol test signal, and the second auxiliary test signal is an HPLC signal; Generate corresponding feedback signals according to the test signal, wherein the feedback signals include a first feedback signal, a second feedback signal and a third feedback signal; A test result is generated based on the feedback signal and / or the test signal.
8. The method according to claim 7, characterized in that Generating corresponding feedback signals according to the test signals includes: When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a first feedback signal is generated according to the first auxiliary test signal, and a second feedback signal is generated according to the second auxiliary test signal, wherein the first feedback signal is a response signal of the first auxiliary test signal, and the second feedback signal is a response signal of the second auxiliary test signal; When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, a third feedback signal is generated according to the first RF signal and the second RF signal, wherein the third feedback signal is a signal generated by the first RF signal under the interference of the second RF signal.
9. The method according to claim 8, characterized in that Generating test results based on feedback signals and / or test signals includes: When the test type of the dual-mode communication unit to be tested is a first radio frequency receiving performance test, generating a second test result for testing the first radio frequency receiving performance of the dual-mode communication unit to be tested according to the first radio frequency signal; When the test type of the dual-mode communication unit to be tested is a second radio frequency receiving performance test, generating a third test result for testing the second radio frequency receiving performance of the dual-mode communication unit to be tested according to the second radio frequency signal; When the test type of the dual-mode communication unit to be tested is an adjacent channel interference performance test, generating a first test result of testing the radio frequency transmission performance of the dual-mode communication unit to be tested according to the first radio frequency signal and the third feedback signal; When the test type of the dual-mode communication unit to be tested is an EVM performance test, generating a fourth test result for testing the EVM performance of the dual-mode communication unit to be tested according to the signal to be tested; When the test type of the dual-mode communication unit to be tested is a protocol consistency test, a fifth test result for testing the protocol consistency performance of the dual-mode communication unit to be tested is generated according to the first feedback signal and the second feedback signal.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 7 to 9.
11. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the method described in any one of claims 7 to 9.
Citation Information
Patent Citations
Carrier wave communication equipment electrical property test system and method
CN105634551A