CN113014337B - Communication terminal test method and device, storage medium, control terminal and test system - Google Patents
Communication terminal test method and device, storage medium, control terminal and test system Download PDFInfo
- Publication number
- CN113014337B CN113014337B CN202110192454.3A CN202110192454A CN113014337B CN 113014337 B CN113014337 B CN 113014337B CN 202110192454 A CN202110192454 A CN 202110192454A CN 113014337 B CN113014337 B CN 113014337B
- Authority
- CN
- China
- Prior art keywords
- signal
- communication terminal
- interference
- noise ratio
- strength indication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/20—Monitoring; Testing of receivers
- H04B17/29—Performance testing
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
Abstract
A test method and device of a communication terminal, a storage medium, a control terminal and a test system are provided, the method comprises the following steps: acquiring a received signal strength indication of the communication terminal, and acquiring an orthogonal signal from the communication terminal if the received signal strength indication does not exceed a preset threshold value; calculating the signal-to-noise ratio of the orthogonal signal, and comparing the signal-to-noise ratio with a preset signal-to-noise ratio threshold value to obtain a test result; wherein the orthogonal signal is derived by the communication terminal based on a desired signal and an interference signal provided to the communication terminal. By the scheme of the invention, the testing efficiency of the communication terminal can be improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for testing a communications terminal, a storage medium, a control terminal, and a test system.
Background
Signal reception performance of communication terminals (e.g., handsets, base stations, etc.) in a communication system is an important factor affecting communication quality of the communication terminals, wherein interference resistance performance in receiving signals is an important aspect of the signal reception performance, for example, communication terminals communicate based on multiple channels, and interference is easily generated between adjacent or nearby channels. Therefore, before the communication terminal is applied, the anti-interference performance of the communication terminal needs to be tested. In the prior art, a terminal tester is usually adopted for testing, but the testing method using the terminal tester is complex in process and expensive in cost, so that the testing efficiency is low and the testing cost is high.
Therefore, a testing method capable of efficiently testing the anti-interference performance of the communication terminal is needed.
Disclosure of Invention
The invention solves the technical problem of how to efficiently test the anti-interference performance of the communication terminal.
In order to solve the above technical problem, an embodiment of the present invention provides a method for testing a communication terminal, where the method includes: acquiring a received signal strength indication of the communication terminal, and acquiring an orthogonal signal from the communication terminal if the received signal strength indication belongs to a preset received signal strength indication range; calculating the signal-to-noise ratio of the orthogonal signal, and comparing the signal-to-noise ratio with a preset signal-to-noise ratio threshold value to obtain a test result; wherein the orthogonal signal is derived by the communication terminal based on a desired signal and an interfering signal provided to the communication terminal.
Optionally, the method further includes: if the received signal strength indication does not belong to a preset received signal strength indication range, determining a strength adjustment value of the useful signal, and acquiring the received signal strength indication after the useful signal is adjusted, wherein the useful signal is adjusted according to the strength adjustment value of the useful signal; and judging whether the received signal strength indication belongs to a preset received signal strength indication range, if not, recalculating the strength adjustment value of the useful signal until the received signal strength indication belongs to the preset received signal strength indication range.
Optionally, if the received signal strength indication is greater than the upper limit of the received signal strength indication range, determining the strength adjustment value of the useful signal when the useful signal is adjusted for the ith time includes: determining a gain indication when the useful signal is adjusted the ith time according to the gain indication and the received signal strength indication before the useful signal is adjusted the ith time; determining an intensity adjustment value of the useful signal when the useful signal is adjusted the ith time according to the gain indication when the useful signal is adjusted the ith time; wherein the strength adjustment value of the gain indication useful signal when the useful signal is adjusted for the ith time is calculated and determined by adopting the following formula:
gainindexi=gainindexi-1-fix(rssii-1/3)-1;
among them, gainindexiGainindex, the gain indication when the useful signal is adjusted for the ith timei-1An indication of the gain before the i-th adjustment of the useful signal, rssii-1And adjusting the received signal strength indication before the useful signal for the ith time, wherein i is a positive integer.
Optionally, the method further includes: if the signal-to-noise ratio is greater than the signal-to-noise ratio threshold, performing the following steps: the method comprises the following steps: determining a strength adjustment value of the interference signal; step two: acquiring a received signal strength indication after the interference signal is adjusted, wherein the interference signal is adjusted according to a strength adjustment value of the interference signal; step three: when the received signal strength indication belongs to a preset received signal strength indication range, the orthogonal signal is acquired from the communication terminal again; step four: and calculating the signal-to-noise ratio of the orthogonal signal, comparing the signal-to-noise ratio with the signal-to-noise ratio threshold, and returning to the step one until the signal-to-noise ratio does not exceed the signal-to-noise ratio threshold if the signal-to-noise ratio is greater than the signal-to-noise ratio threshold.
Optionally, the determining the strength adjustment value of the interference signal when the interference signal is adjusted for the nth time includes: determining an interference level when the interference signal is adjusted for the nth time according to the interference level before the interference signal is adjusted for the nth time and a received signal strength indication; determining an intensity adjustment value of the interference signal when the interference signal is adjusted for the nth time according to the interference level when the interference signal is adjusted for the nth time; determining an interference level when the interference signal is adjusted for the nth time by adopting the following formula:
Interference_leveln=Interference_leveln-1+fix(R-rssin-1)-1;
wherein, Interference _ levelnInterference _ level for the Interference level at the nth adjustment of the Interference signaln-1Adjusting the interference level before the interference signal for the nth time, wherein R is the preset threshold value, rssin-1And adjusting the received signal strength indication before the interference signal for the nth time, wherein n is a positive integer.
Optionally, the method further includes: when the signal-to-noise ratio does not exceed the signal-to-noise ratio threshold, recording the signal intensity of the current interference signal as the maximum interference signal intensity; and determining the adjacent channel selectivity of the communication terminal according to the maximum interference signal strength.
An embodiment of the present invention further provides a testing apparatus for a communication terminal, where the apparatus includes: an obtaining module, configured to obtain a received signal strength indication of the communication terminal, and if the received signal strength indication belongs to a preset received signal strength indication range, obtain an orthogonal signal from the communication terminal; the calculation module is used for calculating the signal-to-noise ratio of the orthogonal signal and comparing the signal-to-noise ratio with a preset signal-to-noise ratio threshold value to obtain a test result; wherein the orthogonal signal is derived by the communication terminal based on a desired signal and an interfering signal provided to the communication terminal.
An embodiment of the present invention further provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method for testing a communication terminal.
The embodiment of the invention also provides a control terminal, which comprises a memory and a processor, wherein the memory is stored with a computer program capable of running on the processor, and the processor executes the steps of the test method of the communication terminal when running the computer program.
An embodiment of the present invention further provides a test system, where the system includes: the first signal source is used for providing a useful signal for a communication terminal to be tested; a second signal source for providing an interference signal to the communication terminal; and the control terminal is used for executing the steps of the test method.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
in the scheme of the embodiment of the invention, after the communication terminal receives the useful signal and the interference signal, the received signal strength indication of the communication terminal is obtained, if the received signal strength indication belongs to the preset received signal strength indication range, the communication state of the communication terminal in the signaling mode can be simulated, then the orthogonal signal obtained based on the useful signal and the interference signal is obtained from the communication terminal, the signal-to-noise ratio of the orthogonal signal is calculated, and the signal-to-noise ratio is compared with the preset signal-to-noise ratio threshold value to obtain the test result. Therefore, the scheme of the embodiment of the invention can efficiently test the anti-interference performance of the communication terminal.
Further, in the solution of the embodiment of the present invention, if the signal-to-noise ratio is greater than the preset signal-to-noise ratio threshold, an intensity adjustment value of the interference signal is further calculated, and the interference signal is adjusted according to the intensity adjustment value of the interference signal, after the interference signal is adjusted, when the received signal intensity indication does not exceed the preset threshold, the orthogonal signal is reacquired and the signal-to-noise ratio of the orthogonal signal is calculated, and if the signal-to-noise ratio is still greater than the preset signal-to-noise ratio threshold, the foregoing steps are repeated until the signal-to-noise ratio does not exceed the signal-to-noise ratio threshold, so that a bottom detection test can be performed on the anti-interference performance of the communication terminal, so as to obtain the maximum interference signal intensity that the communication terminal can bear.
Drawings
Fig. 1 is a schematic view of a test scenario of a test method for a communication terminal according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a method for testing a communication terminal according to an embodiment of the present invention.
Fig. 3 is a spectrum diagram of an orthogonal signal according to an embodiment of the present invention.
Fig. 4 is a partial flow chart of another testing method for a communication terminal according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a testing apparatus for a communication terminal according to an embodiment of the present invention.
Detailed Description
As described in the background, there is a need for a method capable of efficiently testing interference immunity of a communication terminal.
The inventor of the present invention finds, through research, that in the prior art, a terminal tester is generally adopted to test the anti-interference performance of a communication terminal. Specifically, the communication terminal to be tested is in a signaling mode, the terminal tester can transmit a radio frequency signal with fading characteristics to the communication terminal to be tested, and a tester manually configures parameters of the terminal tester so as to establish communication connection between the mobile terminal and the terminal tester, so that a real communication system is simulated. In the communication process of the communication terminal and the terminal tester, the communication terminal sends the error rate of the received signal to the terminal tester, and the terminal tester analyzes the anti-interference performance of the communication terminal by analyzing the error rate. Because the testing method depends on the terminal tester and the parameters of the terminal tester need to be manually adjusted by a tester so that the communication terminal and the terminal tester can be connected for testing, the testing process is complex, the testing cost is high and the efficiency is low.
In order to solve the technical problem, after a communication terminal receives a useful signal and an interference signal, a received signal strength indication of the communication terminal is obtained, if the received signal strength indication belongs to a preset received signal strength indication range, the communication state of the communication terminal in a signaling mode can be simulated, then an orthogonal signal obtained based on the useful signal and the interference signal is obtained from the communication terminal, the signal-to-noise ratio of the orthogonal signal is calculated, and the signal-to-noise ratio is compared with a preset signal-to-noise ratio threshold value to obtain a test result. Therefore, the scheme of the embodiment of the invention can efficiently test the anti-interference performance of the communication terminal.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, fig. 1 is a schematic view of a test scenario of a test method for a communication terminal according to an embodiment of the present invention. The test method may be performed by a control terminal, which may be any appropriate terminal having data receiving and processing capabilities, such as, but not limited to, a computer, a spectrum analyzer, etc. The communication terminal may be a terminal serving as a receiver, and specifically, the communication terminal may be a User Equipment (e.g., a mobile phone, an IPAD, etc.) or a network side device (e.g., a base station, etc.), but the communication terminal is not limited thereto as long as a communication function can be realized by an appropriate communication protocol (e.g., LTE, 5G, etc.).
A non-limiting description is given below with reference to fig. 1 to a test scenario of a test method for a communication terminal in the embodiment of the present invention.
A first signal source 11 can provide a useful signal to a communication terminal 14 to be tested, and a second signal source 12 can provide an interference signal to the communication terminal 14. The useful signal is used for simulating a signal carrying data or information, and may be, for example, a single tone signal in a preset frequency band, where the preset frequency band may be determined according to a standard supported by the communication terminal 14 to be tested or a frequency band in which the communication terminal receives a signal in a signaling mode. For example, the preset frequency band may be an N41 frequency band, the interference signal is used to simulate a noise signal other than a useful signal, and may be a multi-tone signal in a frequency band other than the preset frequency band, or may be a multi-tone signal in the preset frequency band, and more specifically, a bandwidth of the multi-tone signal may be 5 mhz.
The useful signal provided by the first signal source 11 and the interference signal provided by the second signal source 12 may be transmitted to the power splitter 13, and the power splitter 13 may combine the useful signal and the interference signal and transmit the combined signal to the communication terminal 14.
The signal provided by the power divider 13 to the communication terminal 14 can be divided into two paths, and the communication terminal can perform carrier modulation on the two paths of signals respectively, so that the two paths of carriers are orthogonal to each other to obtain an orthogonal signal.
The control terminal 15 may be connected to the communication terminal 14, and the control terminal 15 may obtain a Received Signal Strength Indication (RSSI) from the communication terminal 14 and may also obtain an orthogonal Signal from the communication terminal 14. In one non-limiting embodiment of the present invention, the received signal Strength Indication may be a wideband received signal Strength Indication (WBRSSI), and the control terminal 15 may be a computer, a spectrum analyzer, or the like, but is not limited thereto. It should be noted that the orthogonal signal obtained in the embodiment of the present invention refers to an orthogonal signal obtained by modulating a signal obtained by combining a useful signal and an interference signal.
Further, after obtaining the received signal strength indication and the orthogonal signal, the control terminal 15 may analyze the received signal strength indication and the orthogonal signal to obtain a test result. For example, the rssi may be compared with a preset rssi range, a spectrum analysis may be performed on the orthogonal signal, and the like, but is not limited thereto.
Further, the control terminal 15 may be connected to the first signal source 11 and the second signal source 12, and the control terminal 15 may generate a waveform file of the desired signal and a waveform file of the interference signal, and may import the waveform file of the desired signal to the first signal source 11 and the waveform file of the interference signal to the second signal source 12, thereby setting parameters such as signal strength and frequency of the desired signal and the interference signal to be provided to the communication terminal 14.
It should be noted that, during the test, communication terminal 14 is set to a Non-Signaling Mode (Non-Signaling Mode), and in the Non-Signaling Mode, control terminal 15 can only obtain received signal strength indication, orthogonal signals, and the like from communication terminal 14 to measure various indexes of communication terminal 14, and does not send signals to communication terminal 14 to control communication terminal 14.
It should be further noted that the communication terminal 14 may include a radio frequency chip (not shown), and the anti-interference performance of the communication terminal obtained by the test method according to the embodiment of the present invention actually embodies the anti-interference performance of the radio frequency chip in the communication terminal.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for testing a communication terminal according to an embodiment of the present invention. The test method of the communication terminal shown in fig. 2 may include the steps of:
step S201: acquiring a received signal strength indication of the communication terminal, and acquiring an orthogonal signal from the communication terminal if the received signal strength indication belongs to a preset received signal strength indication range, wherein the orthogonal signal is obtained by the communication terminal based on a useful signal and an interference signal provided to the communication terminal;
step S202: and calculating the signal-to-noise ratio of the orthogonal signal, and comparing the signal-to-noise ratio with a preset signal-to-noise ratio threshold value to obtain a test result.
In the specific implementation of step S201, the first signal source provides a useful signal to the communication terminal, the second signal source provides an interference signal to the communication terminal, and the useful signal and the interference signal are combined and transmitted to the communication terminal. Therefore, the scheme of the embodiment of the invention can be applied to a scene (also called a blocking scene) with an interference signal when the communication terminal is tested.
Specifically, the useful signal may be a single tone signal in a preset frequency band, and the interference signal may be a multi-tone signal in a frequency band other than the preset frequency band, or a multi-tone signal in the preset frequency band. In the test start stage, the signal strength of the interference signal and the signal strength of the useful signal respectively have initial values, and the initial values of the signal strength of the interference signal and the signal strength of the useful signal may be set according to a 3GPP (3rd Generation Partnership Project) protocol, for example, but not limited thereto, the initial value of the signal strength of the interference signal may be-20 dBm. That is, the test method provided by the embodiment of the present invention can be used to test whether the communication terminal can demodulate normally under the interference signal whose signal strength is the initial value.
Further, after the useful signal and the interference signal are combined and transmitted to the communication terminal, the communication terminal obtains a corresponding orthogonal signal based on the useful signal and the interference signal, for example, a radio frequency chip in the communication terminal may modulate the combined signal to obtain the corresponding orthogonal signal.
Further, after the useful signal and the interference signal are combined and transmitted to the communication terminal, the control terminal may obtain a received signal strength indication of the communication terminal, compare the received signal strength indication with a preset received signal strength indication range, and if the received signal strength indication belongs to the preset received signal strength indication range, may obtain an orthogonal signal and analyze the orthogonal signal. The received signal strength indication range belonging to the preset received signal strength indication range may be pre-stored in the control terminal.
Specifically, the upper limit of the preset rssi range may be a preset threshold, and the preset threshold may be determined according to a parameter of the rf chip. In one non-limiting embodiment of the present invention, the preset threshold value may be 4 dB.
Further, if the rssi does not fall within the rssi range, the signal strength of the desired signal may need to be adjusted so that the rssi falls within a predetermined rssi range. It should be noted that, in the process of adjusting the useful signal, the signal strength of the interference signal remains unchanged.
Specifically, the control terminal may calculate an intensity adjustment value of the desired signal and adjust the signal intensity of the desired signal according to the intensity adjustment value of the desired signal. The calculation method of the intensity adjustment value may be any appropriate method in the prior art. More specifically, the control terminal may generate a corresponding waveform file according to the calculated strength adjustment value of the useful signal and the frequency and phase of the useful signal, and transmit the waveform file to the first signal source to control the first signal source to adjust the useful signal according to the strength adjustment value of the useful signal, where the frequency and phase are not changed in the process of adjusting the useful signal.
Further, after the signal strength of the useful signal is adjusted, the received signal strength indication of the communication terminal is obtained again, the received signal strength indication is compared with the preset received signal strength indication range again, if the received signal strength indication after the useful signal adjustment belongs to the preset received signal strength indication range, the useful signal is not adjusted again, and the control terminal obtains the orthogonal signal again and analyzes the orthogonal signal. If the received signal strength indication after the useful signal adjustment still does not belong to the preset received signal strength indication range, recalculating the strength adjustment value of the useful signal, and adjusting the useful signal according to the calculated strength adjustment value until the received signal strength indication belongs to the preset received signal strength indication range.
In one non-limiting embodiment of the present invention, each time the desired signal is adjusted, the gain indication may be determined, and the signal strength of the desired signal may be determined based on the gain indication. It is understood that the Gain indication is used to indicate a signal Gain of an automatic Gain Control (Auto Gain Control) circuit in the communication terminal, the received signal strength indication is generally in a proportional relationship with the signal Gain of the automatic Gain Control circuit in the communication terminal, and adjusting the signal Gain adjusts the received signal strength indication.
Specifically, when the useful signal is adjusted the ith time, the gain instruction when the useful signal is adjusted is calculated and determined from the gain instruction before adjustment and the received signal strength instruction, the control terminal may store a correspondence relationship between the gain instruction and the signal gain in advance, determine the signal gain of the automatic gain control circuit in the communication terminal when the useful signal is adjusted the ith time according to the correspondence relationship between the gain instruction and the signal gain, and then determine the signal strength input to the communication terminal according to the signal gain, and since the signal strength of the interference signal is not changed when the useful signal is adjusted, the strength adjustment value of the useful signal when the useful signal is adjusted the ith time can be determined.
Therefore, in the solution of the embodiment of the present invention, the control terminal compares the received signal strength indication with the preset received signal strength indication range, and adjusts the signal strength of the useful signal according to the comparison result, so that the received signal strength indication of the communication terminal belongs to the preset received signal strength indication range, thereby simulating the process of dynamically adjusting the gain of the automatic control gain circuit in the communication terminal in the signaling mode.
In one non-limiting embodiment of the present invention, if the rssi is greater than the upper limit of the rssi range, the gain indication at the i-th useful signal adjustment can be calculated using the following formula: gainindexi=gainindexi-1-fix(rssii-1/3)-1;
Wherein, gainindexiGainindex, the gain indication when the useful signal is adjusted for the ith timei-1An indication of the gain before the i-th adjustment of the useful signal, rssii-1And adjusting the received signal strength indication before the useful signal for the ith time, wherein i is a positive integer.
Specifically, when the gain indication is gainindexi-1When the received signal strength indication of the communication terminal is rssii-1Since a change in the received signal strength indication of 3dB corresponds to a change in the gain indication of 1dB, the received signal strength indication rssii-1Dividing the indication by 3, rounding the result to 0, and subtracting 1 from the gain indication before the i-th adjustment of the useful signal to obtain the gain indication gainindex when the useful signal is adjusted in order to reduce the number of adjustments while providing the fault tolerance rateiThen, the signal gain of the ith adjusting useful signal can be determined according to the corresponding relation between the gain indication and the signal gain, and the intensity adjustment of the useful signal can be determined according to the signal gainAnd (4) integer value. Compared with a method for linearly adjusting gain indication, the scheme provided by the embodiment of the invention can reduce the adjustment times of the useful signal and improve the test efficiency.
In the specific implementation of step S202, after the control terminal acquires the orthogonal Signal from the communication terminal, a spectrogram of the orthogonal Signal may be obtained, and a spectrum analysis is performed on the orthogonal Signal according to the spectrogram, so as to obtain a Signal-to-Noise Ratio (SNR) of the orthogonal Signal. It should be noted that the control terminal may also directly calculate the obtained orthogonal signal to obtain the signal-to-noise ratio of the orthogonal signal, and the method for determining the signal-to-noise ratio is not limited in this embodiment of the present invention.
Fig. 3 shows a spectrum diagram of an orthogonal signal in the embodiment of the present invention, and the following non-limiting description of step S202 is made in conjunction with fig. 3.
Since the frequencies of the useful signal and the interference signal are preset, the strength of the signal 1 after the useful signal passes through the automatic gain circuit in the communication terminal and the strength of the signal 2 after the interference signal passes through the automatic gain circuit in the communication terminal can be respectively determined in the spectrogram and can be respectively recorded as the strength of the useful signal and the strength of the interference noise. In addition, for the communication terminal, besides the noise formed by the interference signal, the spectrogram also includes direct current noise 3, in-band noise 4, phase noise (not shown), and the like, and the intensities of the above various noises can be determined in the spectrogram respectively. The signal-to-noise ratio of the orthogonal signal can be obtained by subtracting the intensity of various noises such as the interference noise intensity, the direct current noise intensity, and the phase noise intensity from the useful signal intensity. Specifically, the signal-to-noise ratio SNR is Psignal-PnoiseWherein, PsignalFor useful signal strength, PnoiseThe intensity of various noises.
Further, the signal-to-noise ratio of the obtained orthogonal signal is compared with a preset signal-to-noise ratio threshold (also referred to as a demodulation threshold of sensitivity), and then a test result can be obtained. Specifically, if the signal-to-noise ratio threshold is greater than the signal-to-noise ratio threshold, it indicates that the communication terminal can still perform normal demodulation under the interference signal whose signal intensity is the initial value, and if the signal-to-noise ratio threshold does not exceed the signal-to-noise ratio threshold, it indicates that the communication terminal cannot perform normal demodulation under the interference signal whose signal intensity is the initial value. Therefore, the scheme provided by the embodiment of the invention can effectively test the anti-interference performance of the communication terminal. In one non-limiting embodiment of the present invention, the signal-to-noise threshold may be 1 dB.
In a non-limiting embodiment of the present invention, if the snr threshold is greater than the snr threshold, the control terminal may further perform a sounding bottom test, that is, may further determine the maximum interference signal strength that the communication terminal can bear within the preset frequency band.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for determining a maximum interference signal strength that can be borne by the communication terminal within a preset frequency band. The method specifically comprises the following steps:
step S401: determining a strength adjustment value of the interference signal;
step S402: acquiring a received signal strength indication after the interference signal is adjusted, wherein the interference signal is adjusted according to a strength adjustment value of the interference signal;
step S403: when the received signal strength indication belongs to a preset received signal strength indication range, the orthogonal signal is acquired from the communication terminal again;
step S404: calculating the signal-to-noise ratio of the orthogonal signal;
step S405: and judging whether the signal-to-noise ratio is greater than a preset signal-to-noise ratio threshold value, if so, returning to the step S401 until the signal-to-noise ratio does not exceed the signal-to-noise ratio threshold value.
In a specific implementation of step S401, the control terminal may calculate a strength adjustment value of the interference signal, and adjust the signal strength of the interference signal according to the strength adjustment value of the interference signal. More specifically, the control terminal may generate a corresponding waveform file according to the calculated intensity adjustment value of the interference signal and the frequency and phase of the interference signal, and send the waveform file to the second signal source to control the second signal source to adjust the interference signal according to the intensity adjustment value of the interference signal. When the interference signal is adjusted, the frequency and the phase of the interference signal are not changed.
In a non-limiting embodiment of the present invention, the control terminal may pre-store interference levels corresponding to interference signals with different signal strengths, and when adjusting the interference signal n times, the control terminal may determine the interference level of the interference signal first, and then determine an intensity adjustment value of the interference signal according to the interference level.
Specifically, the interference level at each adjustment of the interference signal can be calculated using the following formula:
Interference_leveln=Interference_leveln-1+fix(R-rssin-1)-1;
wherein, Interference _ levelnInterference _ level for the Interference level at the nth adjustment of the Interference signaln-1Adjusting the interference level before the interference signal for the nth time, wherein R is the preset threshold value rssin-1And adjusting the received signal strength indication before the interference signal for the nth time, wherein n is a positive integer. That is, when the Interference level of the Interference signal is Interferencen-1And adjusting the signal strength of the useful signal to ensure that the received signal strength indication does not exceed a preset threshold value, wherein the received signal strength indication of the communication terminal is rssin-1Subtracting the received signal strength rssi from a predetermined threshold value Rn-1The difference value of (2) is rounded close to 0, and in order to improve the fault tolerance and reduce the adjustment times, the Interference _ level is measured at the current Interference leveln-1And adding the rounding result and then subtracting 1 to obtain a new interference level, and then determining the intensity adjustment value for adjusting the interference signal according to the corresponding relation between the interference level and the signal intensity of the interference signal.
For specific contents of step S402 to step S405, reference may be made to the related description above regarding fig. 1 to fig. 3, and details are not repeated herein.
It should be noted that in the specific implementation of step S405, when the signal-to-noise ratio does not exceed the signal-to-noise ratio threshold, the signal strength of the current interference signal is the maximum interference signal strength of the communication terminal. Further, after obtaining the maximum interference signal strength of the communication terminal in the preset frequency band, the control terminal may further determine, according to the maximum interference signal strength, a neighboring Channel Selectivity (ACS) of the communication terminal in the preset frequency band.
Specifically, the initial interference signal strength corresponding to the preset frequency band may be determined according to the communication protocol standard, and a difference obtained by subtracting the initial interference signal strength from the obtained maximum interference signal strength is the adjacent channel selectivity of the communication terminal in the preset frequency band. For example, the preset frequency band for the communication terminal to communicate with is N41 frequency band, the initial interference signal strength is-67 dBm, and if the maximum interference signal strength of the communication terminal is determined to be-26.2 dBm by the above method, the adjacent channel selectivity of the communication terminal is-26.2 dBm- (-67dBm) ═ 40.8 dB.
Referring to fig. 5, fig. 5 shows a testing apparatus of a communication terminal according to an embodiment of the present invention, where the apparatus may include: an acquisition module 51 and a calculation module 52.
The obtaining module 51 is configured to obtain a received signal strength indication of the communication terminal, and if the received signal strength indication does not exceed a preset threshold, obtain an orthogonal signal from the communication terminal; the calculation module 52 is configured to calculate a signal-to-noise ratio of the orthogonal signal, and compare the signal-to-noise ratio with a preset signal-to-noise ratio threshold to obtain a test result; wherein the orthogonal signal is derived by the communication terminal based on a desired signal and an interfering signal provided to the communication terminal.
For more contents of the working principle, the working mode, and the beneficial effects of the testing apparatus of the communication terminal, reference may be made to the related description of fig. 1 to fig. 4, which is not repeated herein.
The testing device of the communication terminal can be: a chip, or a chip module, etc.
With regard to each module/unit included in each apparatus and product described in the above embodiments, it may be a software module/unit, or may also be a hardware module/unit, or may also be a part of a software module/unit and a part of a hardware module/unit. For example, for each device or product applied to or integrated into a chip, each module/unit included in the device or product may be implemented by hardware such as a circuit, or at least a part of the module/unit may be implemented by a software program running on a processor integrated within the chip, and the rest (if any) part of the module/unit may be implemented by hardware such as a circuit; for each device or product applied to or integrated with the chip module, each module/unit included in the device or product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least some of the modules/units may be implemented by using a software program running on a processor integrated within the chip module, and the rest (if any) of the modules/units may be implemented by using hardware such as a circuit; for each device and product applied to or integrated in the terminal, each module/unit included in the device and product may be implemented by hardware such as a circuit, different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal, or at least part of the modules/units may be implemented by a software program running on a processor integrated in the terminal, and the rest (if any) part of the modules/units may be implemented by hardware such as a circuit.
The embodiment of the invention also discloses a storage medium, which is a computer readable storage medium and stores a computer program thereon, and the computer program can execute the steps of the methods shown in fig. 2 and fig. 4 when running. The storage medium may include ROM, RAM, magnetic or optical disks, etc. The storage medium may further include a non-volatile memory (non-volatile) or a non-transitory memory (non-transient), and the like.
The embodiment of the invention also discloses a control terminal which can comprise a memory and a processor, wherein the memory is stored with a computer program which can run on the processor. The processor, when running the computer program, may perform the steps of the methods shown in fig. 2 and 4. The control terminal includes but is not limited to a mobile phone, a computer and other terminal devices.
Referring to fig. 1, fig. 1 shows a testing system in an embodiment of the present invention, the testing system may include a first signal source 11, a second signal source 12, and a control terminal 15, the first signal source 11 may be configured to provide a useful signal to a communication terminal to be tested, the second signal source may provide an interference signal to the communication terminal to be tested, and the control terminal 15 may be configured to perform the steps of the testing method described above. For more details about the working principle, working mode and beneficial effects of the test system, reference may be made to the above description about fig. 1 to fig. 4, which is not repeated herein.
It should be noted that the technical solution of the present invention is applicable to a 5G (5Generation) communication system, a 4G communication system, a 3G communication system, and various future new communication systems, such as 6G and 7G.
A Base Station (BS) in the embodiment of the present application, which may also be referred to as a base station device, is a device deployed in a Radio Access Network (RAN) to provide a wireless communication function. For example, a device providing a base station function in a 2G network includes a Base Transceiver Station (BTS), a device providing a base station function in a 3G network includes a node b (nodeb), apparatuses for providing a base station function in a 4G network include evolved node bs (enbs), and in a Wireless Local Area Network (WLAN), the devices providing the base station function are Access Point (AP), gNB providing the base station function in New Radio (NR), and node B for continuing evolution (ng-eNB), the gNB and the terminal communicate with each other by adopting NR technology, the ng-eNB and the terminal communicate with each other by adopting E-UTRA (evolved Universal Terrestrial Radio Access) technology, and both the gNB and the ng-eNB can be connected to a 5G core network. The base station in the embodiment of the present application also includes an apparatus and the like for providing a function of the base station in a future new communication system.
It should be understood that the term "and/or" herein is only one kind of association relationship describing the association object, and means that there may be three kinds of relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document indicates that the former and latter related objects are in an "or" relationship.
The "plurality" appearing in the embodiments of the present application means two or more.
The descriptions of the first, second, etc. appearing in the embodiments of the present application are only for the purpose of illustrating and differentiating the description objects, and do not represent any particular limitation to the number of devices in the embodiments of the present application, and cannot constitute any limitation to the embodiments of the present application.
The term "connect" in the embodiments of the present application refers to various connection manners, such as direct connection or indirect connection, to implement communication between devices, which is not limited in this embodiment of the present application.
It should be understood that, in the embodiment of the present application, the processor may be a Central Processing Unit (CPU), and the processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will also be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile memory may be Random Access Memory (RAM) which acts as external cache memory. By way of example and not limitation, many forms of Random Access Memory (RAM) are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct bus RAM (DR RAM).
The above-described embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer instructions or the computer program are loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, data center, etc., that contains one or more collections of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not imply any order of execution, and the order of execution of the processes should be determined by their functions and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus, and system may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative; for example, the division of the unit is only a logic function division, and there may be another division manner in actual implementation; for example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A method for testing a communication terminal, the method comprising:
acquiring a received signal strength indication of the communication terminal, and acquiring an orthogonal signal from the communication terminal if the received signal strength indication belongs to a preset received signal strength indication range;
calculating the signal-to-noise ratio of the orthogonal signal, and comparing the signal-to-noise ratio with a preset signal-to-noise ratio threshold value to obtain a test result;
wherein the orthogonal signal is derived by the communication terminal based on a desired signal and an interference signal provided to the communication terminal.
2. The method for testing a communication terminal according to claim 1, further comprising:
if the received signal strength indication does not belong to the received signal strength indication range, determining a strength adjustment value of the useful signal, and acquiring the received signal strength indication after the useful signal is adjusted, wherein the useful signal is adjusted according to the strength adjustment value of the useful signal;
and judging whether the received signal strength indication belongs to a preset received signal strength indication range or not, if not, recalculating the strength adjustment value of the useful signal until the received signal strength indication belongs to the preset received signal strength indication range.
3. The method of claim 2, wherein if the rssi is greater than the upper limit of the rssi range, determining the strength adjustment value for the desired signal at the i-th adjustment of the desired signal comprises:
determining a gain indication when the useful signal is adjusted for the ith time according to the gain indication before the useful signal is adjusted for the ith time and a received signal strength indication;
determining the strength adjustment value of the useful signal when the useful signal is adjusted for the ith time according to the gain indication when the useful signal is adjusted for the ith time;
wherein the gain indication when the useful signal is adjusted the ith time is determined using the following equation:
gainindexi=gainindexi-1-fix(rssii-1/3)-1;
among them, gainindexiFor the gain indication at the time of the i-th adjustment of the useful signal, gainindexi-1An indication of the gain before the i-th adjustment of the useful signal, rssii-1And adjusting the received signal strength indication before the useful signal for the ith time, wherein i is a positive integer.
4. The method for testing a communication terminal according to claim 1, further comprising: if the signal-to-noise ratio is greater than the signal-to-noise ratio threshold, performing the following steps:
the method comprises the following steps: determining a strength adjustment value of the interference signal;
step two: acquiring a received signal strength indication after the interference signal is adjusted, wherein the interference signal is adjusted according to a strength adjustment value of the interference signal;
step three: when the received signal strength indication belongs to a preset received signal strength indication range, the orthogonal signal is acquired from the communication terminal again;
step four: calculating the signal-to-noise ratio of the orthogonal signal;
step five: and comparing the signal-to-noise ratio with the signal-to-noise ratio threshold, and if the signal-to-noise ratio is greater than the signal-to-noise ratio threshold, returning to the step I until the signal-to-noise ratio does not exceed the signal-to-noise ratio threshold.
5. The method for testing a communication terminal according to claim 4, wherein determining the strength adjustment value of the interference signal when the interference signal is adjusted for the nth time comprises:
determining an interference level when the interference signal is adjusted for the nth time according to the interference level before the interference signal is adjusted for the nth time and a received signal strength indication;
determining an intensity adjustment value of the interference signal when the interference signal is adjusted for the nth time according to the interference level when the interference signal is adjusted for the nth time;
wherein the interference level when the interference signal is adjusted for the nth time is determined by the following formula:
Interference_leveln=Interference_leveln-1+fix(R-rssin-1)-1;
wherein, Interference _ levelnInterference _ level for the Interference level at the nth adjustment of the Interference signaln-1Adjusting the interference level before the interference signal for the nth time, wherein R is a preset threshold value, rssin-1And adjusting the received signal strength indication before the interference signal for the nth time, wherein n is a positive integer.
6. The method for testing a communication terminal according to claim 4, wherein the method further comprises:
when the signal-to-noise ratio does not exceed the signal-to-noise ratio threshold, recording the signal intensity of the current interference signal as the maximum interference signal intensity;
and determining the adjacent channel selectivity of the communication terminal according to the maximum interference signal strength.
7. A test apparatus of a communication terminal, the apparatus comprising:
an obtaining module, configured to obtain a received signal strength indication of the communication terminal, and if the received signal strength indication belongs to a preset received signal strength indication range, obtain an orthogonal signal from the communication terminal;
the calculation module is used for calculating the signal-to-noise ratio of the orthogonal signal and comparing the signal-to-noise ratio with a preset signal-to-noise ratio threshold value to obtain a test result;
wherein the orthogonal signal is derived by the communication terminal based on a desired signal and an interfering signal provided to the communication terminal.
8. A storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, is adapted to carry out the steps of a method for testing a communication terminal according to any of the claims 1 to 6.
9. A control terminal comprising a memory and a processor, said memory having stored thereon a computer program being executable on said processor, characterized in that said processor executes the steps of the method of testing a communication terminal according to any of the claims 1 to 6 when executing said computer program.
10. A test system, the system comprising:
the first signal source is used for providing a useful signal for a communication terminal to be tested;
a second signal source for providing an interference signal to the communication terminal;
control terminal for performing the steps of the test method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110192454.3A CN113014337B (en) | 2021-02-20 | 2021-02-20 | Communication terminal test method and device, storage medium, control terminal and test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110192454.3A CN113014337B (en) | 2021-02-20 | 2021-02-20 | Communication terminal test method and device, storage medium, control terminal and test system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113014337A CN113014337A (en) | 2021-06-22 |
CN113014337B true CN113014337B (en) | 2022-07-15 |
Family
ID=76404110
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110192454.3A Active CN113014337B (en) | 2021-02-20 | 2021-02-20 | Communication terminal test method and device, storage medium, control terminal and test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113014337B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115134022A (en) * | 2022-06-20 | 2022-09-30 | 展讯通信(上海)有限公司 | Signal-to-noise ratio calculation method and device and electronic equipment |
WO2024044992A1 (en) * | 2022-08-30 | 2024-03-07 | 华为技术有限公司 | Measurement signal processing method and apparatus |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856971A (en) * | 2012-11-30 | 2014-06-11 | 国际商业机器公司 | Method for detecting wireless interference and equipment thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2667820C (en) * | 2009-05-29 | 2013-10-01 | Research In Motion Limited | Signal quality determination methods and apparatus suitable for use in wlan-to-wwan transitioning |
-
2021
- 2021-02-20 CN CN202110192454.3A patent/CN113014337B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856971A (en) * | 2012-11-30 | 2014-06-11 | 国际商业机器公司 | Method for detecting wireless interference and equipment thereof |
Also Published As
Publication number | Publication date |
---|---|
CN113014337A (en) | 2021-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9304189B2 (en) | Systems and methods for detecting radar signals | |
US9173217B2 (en) | Base station calibration | |
RU2491743C2 (en) | Method and system to detect noise from adjacent channels for broadband wireless access based on ofdm/ofdma | |
US10440660B2 (en) | Uplink spectrum analysis technique for passive intermodulation (PIM) detection | |
US10903888B2 (en) | Configuration method and configuration device for reference signal and communication node | |
US9743220B2 (en) | Adaptive frequency hopping (AFH) with channel inhibition (CI) for bluetooth | |
US8788892B2 (en) | System and method for testing radio frequency device under test capable of communicating using multiple radio access technologies | |
CN113014337B (en) | Communication terminal test method and device, storage medium, control terminal and test system | |
US9860008B2 (en) | Channel estimation for interference cancellation | |
US8995296B2 (en) | Method for computing the receive power of a non serving cell, and receiver for doing the same | |
WO2016195892A1 (en) | Managing specific absorption rate distribution to maximize transmit power of a wireless device | |
US10805120B2 (en) | Adaptive frequency correlation estimation for channel estimation | |
CN106105360B (en) | The selection method of modulation coding scheme and base station | |
US10250343B2 (en) | Technique for measuring reference signal received power | |
US9991977B2 (en) | Smart testing management | |
US11405813B2 (en) | Radio link monitoring (RLM) procedures in new radio unlicensed bands (NR-U) | |
US12040843B2 (en) | Distortion detection with multiple antennas | |
CN102986260B (en) | A kind of base station sub-system knows the method and apparatus of capacity of mobile terminal | |
WO2017177662A1 (en) | Method and device for obtaining noise floor value of base station | |
CN113811780B (en) | Aerial measurement meeting gain flatness criteria | |
CN103856974A (en) | Communication terminal and cell measurement method and device in long term evolution system | |
US20160128069A1 (en) | De-sense characterization with accurate estimation of tx backoff based on dynamic channel conditions | |
CN112566222A (en) | Access method, terminal and network side device | |
CN114095101B (en) | Automatic RF transmit power control for over-the-air testing | |
US20230105088A1 (en) | Ad hoc radio base station, method and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |