CN113938943B - Method, system, equipment and medium for testing coexistence performance of wireless communication - Google Patents

Method, system, equipment and medium for testing coexistence performance of wireless communication Download PDF

Info

Publication number
CN113938943B
CN113938943B CN202111220262.5A CN202111220262A CN113938943B CN 113938943 B CN113938943 B CN 113938943B CN 202111220262 A CN202111220262 A CN 202111220262A CN 113938943 B CN113938943 B CN 113938943B
Authority
CN
China
Prior art keywords
equipment
test
tested
testing
auxiliary
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
Application number
CN202111220262.5A
Other languages
Chinese (zh)
Other versions
CN113938943A (en
Inventor
袁兴未
朱琳玲
姚瑞
杨玉婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Semiconductor Chengdu Co Ltd
Original Assignee
Spreadtrum Semiconductor Chengdu Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Spreadtrum Semiconductor Chengdu Co Ltd filed Critical Spreadtrum Semiconductor Chengdu Co Ltd
Priority to CN202111220262.5A priority Critical patent/CN113938943B/en
Publication of CN113938943A publication Critical patent/CN113938943A/en
Application granted granted Critical
Publication of CN113938943B publication Critical patent/CN113938943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method, a system, equipment and a medium for testing the coexistence performance of wireless communication, which are applied to a personal computer, wherein the personal computer is connected with equipment to be tested, auxiliary equipment and a wireless router, the auxiliary equipment and the wireless router are arranged in a first shielding box, the equipment to be tested is arranged in a second shielding box, the auxiliary equipment and the wireless router are connected with the equipment to be tested through a program-controlled attenuator. The invention realizes automatic test, improves the efficiency of testing the coexistence performance of wireless communication and reduces the cost of human resources.

Description

Method, system, equipment and medium for testing coexistence performance of wireless communication
Technical Field
The present invention relates to the field of network testing technologies, and in particular, to a method, a system, an apparatus, and a medium for testing coexistence performance of wireless communication.
Background
With the continued development of wireless local area networks, wireless modes have evolved from 11a/b/g/n to 11ac/ax, and various types of wireless network (Wi-Fi) devices have grown in endless view to the public.
Wi-Fi and Bluetooth both operate in the same frequency band of 2.4GHZ, so that mutual performance is reduced in a coexistence scene. The Bluetooth performance focus mainly aims at testing search equipment, bluetooth song listening, bluetooth conversation tone quality, data transmission rate, a pull saw and the like, and the Wi-Fi performance focus mainly aims at testing throughput of wireless terminals, wi-Fi direct connection and other modes. In Wi-Fi and bluetooth coexistence scenarios, there is more concern about Wi-Fi throughput and bluetooth data transmission rate testing.
At present, a test in a coexistence scene generally uses manual configuration and a test tool is operated, and after test data are collected, a test result is manually judged, but the mode is low in efficiency and requires a great deal of manpower resource cost.
Disclosure of Invention
The invention aims to provide a method, a system, equipment and a medium for testing the coexistence performance of wireless communication, which improve the efficiency of performance test of the equipment in the coexistence scene of wireless communication and reduce the cost of human resources.
In order to achieve the above object, in a first aspect, the present invention provides a method for testing coexistence performance of wireless communication, which is applied to a personal computer, wherein the personal computer is connected to a device to be tested, an auxiliary device and a wireless router, the auxiliary device and the wireless router are both disposed in a first shielding box, the device to be tested is disposed in a second shielding box, and the auxiliary device and the wireless router are connected to the device to be tested through a program-controlled attenuator, the method comprises: acquiring configuration parameters corresponding to the test cases; wirelessly connecting the equipment to be tested with the wireless router by utilizing the configuration parameters; acquiring the IP address and the MAC address of the equipment to be tested, and the IP address and the MAC address of the auxiliary equipment; connecting the equipment to be tested with the auxiliary equipment according to the IP address and the MAC address of the equipment to be tested or the IP address and the MAC address of the auxiliary equipment; acquiring a test task, and testing the data transmission performance of the equipment to be tested according to the IP address to obtain a test value; and comparing the test value with a preset threshold value to obtain a test result.
The method for testing the coexistence performance of wireless communication has the beneficial effects that: the personal computer obtains configuration parameters corresponding to the test cases, and utilizes the configuration parameters to realize the wireless connection of the equipment to be tested and the wireless router, and then obtains the internet protocol IP address and the MAC address of the equipment to be tested and the auxiliary equipment, and carries out Bluetooth connection on the equipment to be tested and the auxiliary equipment according to the MAC address of the equipment to be tested, so that the equipment to be tested is simultaneously connected with two wireless communications, the data transmission performance of the equipment to be tested is tested by obtaining the test task, the test value is obtained, the test value is compared with the preset threshold value to obtain the test result, the automatic test is realized, the efficiency of testing the coexistence performance of the wireless communication is improved, and the manpower resource cost is reduced. In addition, through setting up auxiliary assembly and wireless router first shielding case, will await measuring equipment and locate the second shielding case, avoided external environment's interference to be connected auxiliary assembly and wireless router with the equipment that awaits measuring through program controlled attenuator, be convenient for simulate adjustment auxiliary assembly and wireless router and the equipment that awaits measuring between wireless distance, further improve the accuracy of test.
Optionally, before obtaining the configuration parameters corresponding to the test case, the method includes: obtaining the prefabrication conditions required by the equipment to be tested and the auxiliary equipment for testing; and downloading a corresponding application program package according to the prefabrication condition, and initializing the equipment to be tested. The beneficial effects are that: the personal computer is used for controlling and connecting the equipment to be tested and the auxiliary equipment by acquiring the prefabrication conditions required by the equipment to be tested and the auxiliary equipment for testing, downloading the corresponding application program package according to the prefabrication conditions, and initializing the equipment to be tested to enable the equipment to be tested to be in an initial state, so that the influence on the testing result during subsequent testing is avoided, and the testing accuracy is improved.
Optionally, the obtaining the test task, testing the data transmission performance of the device to be tested according to the IP address, to obtain a test value, includes: testing the data throughput of the device to be tested and the wireless router to obtain the test value; or testing the data throughput of the equipment to be tested and the auxiliary equipment to obtain the test value; or testing the Bluetooth data transmission rates of the equipment to be tested and the auxiliary equipment to obtain the test value. The beneficial effects are that: the wireless performance test of the equipment to be tested under various modes is realized, and the accuracy of the test result of the equipment to be tested is further improved.
Optionally, the comparing the test value with a preset threshold value includes: testing the data throughput of standard equipment and the wireless router to obtain the threshold value; or testing the data throughput of the standard equipment and the auxiliary equipment to obtain the threshold value; or testing the Bluetooth data transmission rates of the standard equipment and the auxiliary equipment to obtain the threshold value; comparing the test value with a preset threshold value to obtain a test result, wherein the method comprises the following steps: when the threshold value is larger than the test value, obtaining the test result as failure, otherwise, obtaining the test result as success; and saving a test log file, and uploading the test result to a server for graphical display. The beneficial effects are that: the method comprises the steps of pre-testing the quantity throughput of standard equipment to obtain a preset threshold value, comparing the preset threshold value with the preset threshold value to obtain a test result, and obtaining a failure test result when the preset threshold value is larger than the test result, otherwise, storing a test log file to facilitate subsequent analysis and uploading the test result to a server for graphical display, so that the test result is convenient for a tester to observe.
Optionally, comparing the test value with a preset threshold value, and after obtaining a test result, including restarting the device to be tested and the auxiliary device to test when the test result is failure, and sending alarm information if the test result is still failure. The beneficial effects are that: the equipment to be tested and the auxiliary equipment are automatically restarted to test, automatic adjustment of abnormal conditions is achieved, if the test results still fail after the equipment to be tested and the auxiliary equipment are restarted, alarm information is sent to allow the testers to intervene, and the test efficiency is improved.
Optionally, after the bluetooth connection between the device under test and the auxiliary device according to the MAC address, the method further includes: and controlling the equipment to be tested and the auxiliary equipment to perform Bluetooth related operation, wherein the Bluetooth related operation comprises searching the equipment to be tested, starting Bluetooth connection or closing Bluetooth connection. The beneficial effects are that: by carrying out Bluetooth related operation, the comprehensiveness of the test performance of the device to be tested in the wireless communication coexistence scene is improved.
In a second aspect, an embodiment of the present invention provides a system for testing coexistence performance of wireless communications, including a personal computer, and a device to be tested, an auxiliary device, and a wireless router connected to the personal computer, where the auxiliary device and the wireless router are both disposed in a first shielding case, the device to be tested is disposed in a second shielding case, and the auxiliary device and the wireless router are connected to the device to be tested through a program-controlled attenuator, and the system includes: the acquisition module is used for acquiring configuration parameters corresponding to the test cases; the processing module is connected with the acquisition module and is used for wirelessly connecting the equipment to be tested with the wireless router by utilizing the configuration parameters; the acquisition module is further used for acquiring an Internet Protocol (IP) address and an Media Access Control (MAC) address of the equipment to be tested; the processing module is used for carrying out Bluetooth connection on the equipment to be tested and the auxiliary equipment according to the MAC address; the test module is connected with the processing module, the acquisition module acquires a test task, and the test module tests the data transmission performance of the equipment to be tested according to the IP address to obtain a test value; and the processing module compares the test value with a preset threshold value to obtain a test result.
The test system for the coexistence performance of wireless communication has the beneficial effects that: the auxiliary equipment and the wireless router are arranged in the first shielding box, the equipment to be tested is arranged in the second shielding box, the auxiliary equipment and the wireless router are connected with the equipment to be tested through the program-controlled attenuator, the wireless distance between the auxiliary equipment and the wireless router is convenient to simulate and adjust, and the accuracy of testing is improved. In addition, the personal computer automatically and wirelessly connects the equipment to be tested with the wireless router by acquiring configuration parameters corresponding to the test case and utilizing the configuration parameters, the personal computer acquires the Internet Protocol (IP) address and the Media Access Control (MAC) address of the equipment to be tested, and performs Bluetooth connection on the equipment to be tested and auxiliary equipment according to the internet protocol (MAC) address of the equipment to be tested, so that the equipment to be tested is simultaneously connected with two wireless communication devices, the data transmission performance of the equipment to be tested is tested by acquiring a test task, a test value is obtained, the test value is compared with a preset threshold value to obtain a test result, automatic test is realized, the efficiency of testing the coexistence performance of the wireless communication is improved, and the cost of manpower resources is reduced.
Optionally, the obtaining module is further configured to obtain a prefabrication condition required by the device to be tested and the auxiliary device when testing is performed, and the processing module downloads a corresponding application program package according to the prefabrication condition, and initializes the device to be tested. The beneficial effects are that: the personal computer is used for controlling and connecting the equipment to be tested and the auxiliary equipment by acquiring the prefabrication conditions required by the equipment to be tested and the auxiliary equipment for testing, downloading the corresponding application program package according to the prefabrication conditions, and initializing the equipment to be tested to enable the equipment to be tested to be in an initial state, so that the influence on the testing result during subsequent testing is avoided, and the testing accuracy is improved.
Optionally, the testing module tests the data transmission performance of the device to be tested to obtain a test value, including: testing the data throughput of the device to be tested and the wireless router to obtain the test value; or testing the data throughput of the equipment to be tested and the auxiliary equipment to obtain the test value; or testing the Bluetooth data transmission rates of the equipment to be tested and the auxiliary equipment to obtain the test value. The beneficial effects are that: the wireless performance test of the equipment to be tested under various modes is realized, and the accuracy of the test result of the equipment to be tested is further improved.
Optionally, the processing module compares the test value with a preset threshold value, and before obtaining a test result, the processing module includes: the test module tests the data throughput of the standard equipment and the wireless router to obtain the threshold value; or testing the data throughput of the standard equipment and the auxiliary equipment to obtain the threshold value; or testing the Bluetooth data transmission rates of the standard equipment and the auxiliary equipment to obtain the threshold value; the processing module compares the test value with a preset threshold value to obtain a test result, and the processing module comprises the following steps: when the threshold value is larger than the test value, obtaining the test result as failure, otherwise, obtaining the test result as success; and saving a test log file, and uploading the test result to a server for graphical display. The beneficial effects are that: the method comprises the steps of obtaining a preset threshold value through a pre-test, comparing the preset threshold value with the preset threshold value to obtain a test result, obtaining a failure test result when the preset threshold value is larger than the test result, otherwise, obtaining a success test result, and storing a test log file to facilitate subsequent analysis and uploading the test result to a server for graphical display so as to facilitate observation of a tester.
Optionally, the processing module compares the test value with a preset threshold value, and after obtaining a test result, the processing module includes: and restarting the equipment to be tested and the auxiliary equipment to test when the test result is failure, and sending alarm information if the test result is still failure. The beneficial effects are that: the equipment to be tested and the auxiliary equipment are automatically restarted to test, automatic adjustment of abnormal conditions is achieved, if the test results still fail after the equipment to be tested and the auxiliary equipment are restarted, alarm information is sent to allow the testers to intervene, and the test efficiency is improved.
Optionally, after the processing module performs bluetooth connection between the device under test and the auxiliary device according to the MAC address, the processing module is further configured to: and controlling the equipment to be tested and the auxiliary equipment to perform Bluetooth related operation, wherein the Bluetooth related operation comprises searching the equipment to be tested, starting Bluetooth connection or closing Bluetooth connection. The beneficial effects are that: by carrying out Bluetooth related operation, the comprehensiveness of the test performance of the device to be tested in the wireless communication coexistence scene is improved.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the above-described method steps when executing the computer program.
The electronic equipment has the beneficial effects that: execution of the computer program by the processor effects operation of the above method.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the above-described method steps.
The computer-readable storage medium of the present invention has the advantage that the operation of the above-described method is achieved by executing a computer program.
Drawings
Fig. 1 is a diagram of a system for testing coexistence performance of wireless communication according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for testing coexistence performance of wireless communication according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for testing coexistence performance of wireless communication according to the embodiment of the present invention;
fig. 4 is a further flowchart of a method for testing coexistence performance of wireless communication according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for comparing coexistence performance of wireless communication according to an embodiment of the present invention;
fig. 6 is a flowchart of a comparison method of coexistence performance of wireless communication according to the embodiment of the present invention;
fig. 7 is a flowchart of a method for determining abnormality of coexistence performance of wireless communication according to the embodiment of the present invention;
fig. 8 is a schematic structural diagram of a test system for wireless communication coexistence performance according to the embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention. Unless otherwise defined, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. As used herein, the word "comprising" and the like means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof without precluding other elements or items.
With the continuous development of wireless local area networks, wireless network devices are increasingly appearing in the public view, wherein wireless fidelity (Wireless Fidelity, wi-Fi) and bluetooth (bluetooth) operate in the same frequency band of 2.4GHZ, so that performance of each other is reduced in a coexistence scene. However, the smart device is generally used in a Wi-Fi and bluetooth coexistence scenario, so performance test under the coexistence of wireless networks is performed on the smart device during production test of the smart device. At present, a test in a coexistence scene generally uses manual configuration and a test tool is operated, and after test data are collected, a test result is manually judged, but the mode is low in efficiency and requires a great deal of manpower resource cost.
In view of the existing problems, an embodiment of the present invention provides a system for testing coexistence performance of wireless communication, as shown in fig. 1, the system includes: the system comprises a personal computer, equipment to be tested, auxiliary equipment, a wireless router, a program-controlled attenuator, a first shielding box, a second shielding box and a server. The personal computer is connected with the equipment to be tested, the auxiliary equipment and the wireless router are arranged in the first shielding box, the equipment to be tested is arranged in the second shielding box, and the auxiliary equipment and the wireless router are connected with the equipment to be tested through the program-controlled attenuator. When testing is carried out, the personal computer acquires configuration parameters corresponding to the test cases, and the device to be tested is wirelessly connected with the wireless router by utilizing the configuration parameters. Then, the personal computer obtains an internet protocol (Internet Protocol, IP) address and a media access control (MediaAccess Control Address, MAC) address of the device to be tested, and performs bluetooth connection on the device to be tested and the auxiliary device according to the MAC address, and the auxiliary device is similar to a scene when the auxiliary device is connected in a simulated bluetooth manner, and the auxiliary device can be a wireless direct connection auxiliary machine, a mobile phone bluetooth headset, a bluetooth sound box or the like, so that the auxiliary device can also perform wireless direct connection with the device to be tested when the auxiliary device is a wireless direct connection auxiliary machine. The personal computer acquires a test task, tests the data transmission performance of the equipment to be tested, obtains a test value, and compares the test value with a preset threshold value to obtain a test result.
Specifically, referring to fig. 2, fig. 2 is a test method based on the system in the above embodiment, where the test method includes:
s201: the personal computer obtains the configuration parameters corresponding to the test cases.
In the step, before the configuration parameters corresponding to the test cases are obtained, the prefabrication conditions required by the equipment to be tested and the auxiliary equipment for testing are obtained, the corresponding application program package is downloaded according to the prefabrication conditions, and the equipment to be tested is initialized.
The method has the advantages that the corresponding application program package is downloaded according to the prefabrication conditions required by the test of the equipment to be tested and the auxiliary equipment, the control connection reliability of the personal computer to the equipment to be tested and the auxiliary equipment is realized, the equipment to be tested is in an initial state by initializing the equipment to be tested, the influence on the test result during the subsequent test is avoided, and the test accuracy is improved. In addition, in order to ensure the accuracy of the test, it is also necessary to check whether the surrounding environment has wireless network interference, avoid the influence of external environment, and check whether the sending end and the receiving end of the personal computer are user versions, and set that the sending end and the receiving end are always bright screens.
S202: and the personal computer uses the configuration parameters to wirelessly connect the equipment to be tested with the wireless router.
In the step, the device to be tested is automatically connected with the wireless router in a wireless mode through the acquired configuration parameters.
S203: and the personal computer acquires the IP address and the MAC address of the equipment to be tested and the IP address and the MAC address of the auxiliary equipment.
In the step, the IP address and the MAC address of the equipment to be tested and the IP address and the MAC address of the auxiliary equipment are acquired, so that the equipment to be tested can be conveniently used in the subsequent data test of the equipment to be tested. When the Bluetooth data transmission rate of the equipment to be tested needs to be tested, the MAC address of the equipment to be tested is selected, or when the data throughput test of the equipment to be tested is carried out, the IP address of the equipment to be tested is selected. The method has the advantages that the IP address of the auxiliary equipment is acquired, so that the auxiliary equipment can be conveniently and directly connected with the equipment to be detected in a wireless mode, the MAC address of the auxiliary equipment is acquired, and Bluetooth connection of the auxiliary equipment can be realized.
S204: and connecting the equipment to be tested with the auxiliary equipment according to the IP address and the MAC address of the equipment to be tested or the IP address and the MAC address of the auxiliary equipment.
In this step, the device to be tested and the auxiliary device are generally connected by bluetooth, and then further includes: and controlling the equipment to be tested and the auxiliary equipment to perform Bluetooth related operation, wherein the Bluetooth related operation comprises searching the equipment to be tested, starting Bluetooth connection or closing Bluetooth connection. By carrying out Bluetooth related operation, the comprehensiveness of the test performance of the follow-up equipment to be tested in the wireless communication coexistence scene is improved.
S205: and acquiring a test task, and testing the data transmission performance of the equipment to be tested to obtain a test value.
The step includes three test modes: testing the data throughput of the device to be tested and the wireless router to obtain a test value, or testing the data throughput of the device to be tested and the auxiliary device to obtain a test value; or testing the Bluetooth data transmission rate of the device to be tested and the auxiliary device to obtain a test value. In the actual test, the test value is selected according to the actual test requirement.
The wireless performance test of the equipment to be tested under various modes is realized, and the accuracy of the test result of the equipment to be tested is further improved.
S206: and comparing the test value with a preset threshold value to obtain a test result.
The step comprises the steps of testing the data throughput of standard equipment and the wireless router to obtain the threshold value; or testing the data throughput of the standard equipment and the auxiliary equipment to obtain the threshold value; or testing the Bluetooth data transmission rates of the standard equipment and the auxiliary equipment to obtain the threshold value, selecting the corresponding threshold value according to different test modes, comparing the test value with a preset threshold value, and if the preset threshold value is larger than the test value, obtaining a test result which is failed, otherwise, obtaining a test result which is successful, storing a test log file generated during the running of the system no matter how the test result is, and uploading the test result to a server for graphical display.
The method comprises the steps of pre-testing the quantity throughput of standard equipment to obtain a preset threshold value, comparing the preset threshold value with the preset threshold value to obtain a test result, and obtaining a failure test result when the preset threshold value is larger than the test result, otherwise, storing a test log file to facilitate subsequent analysis and uploading the test result to a server for graphical display, so that testers can know the test result conveniently.
When the test result is failure, restarting the device to be tested and the auxiliary device to test, and if the test result is still failure for more than three times continuously, sending alarm information to allow the intervention of a tester, so that the problem can be solved quickly, and the test efficiency is improved.
In this embodiment, the personal computer obtains the configuration parameters corresponding to the test case, and uses the configuration parameters to realize the wireless connection between the device to be tested and the wireless router, and then the personal computer obtains the Internet Protocol (IP) address of the device to be tested, and performs bluetooth connection between the device to be tested and the auxiliary device according to the internet protocol (MAC) address of the device to be tested, so that the device to be tested is simultaneously connected with two wireless communications, the data transmission performance of the device to be tested is tested by obtaining the test task, the test value is obtained, and the test value is compared with the preset threshold value to obtain the test result, thereby realizing the automatic test, improving the efficiency of testing the coexistence performance of the wireless communications, and reducing the cost of manpower resources. In addition, through setting up auxiliary assembly and wireless router first shielding case, will await measuring equipment and locate the second shielding case to be connected auxiliary assembly and wireless router with the equipment that awaits measuring through program controlled attenuator, be convenient for simulate and adjust auxiliary assembly and wireless distance between wireless router and the equipment that awaits measuring, further improve the accuracy of test.
In still another embodiment of the present disclosure, a method for testing coexistence performance of wireless communication is provided, and referring to fig. 3, the method includes:
s301: the test is started.
S302: the personal computer obtains a test task.
In the step, according to the requirements of a tester, a test type is selected in a server, a personal computer is operated to obtain a corresponding test task, and configuration parameters corresponding to a test case are obtained.
S303: and wirelessly connecting the device to be tested with the wireless router by using the configuration parameters.
S304: the personal computer acquires the prefabrication conditions required by the test of the equipment to be tested and the auxiliary equipment.
In the step, the corresponding application program package is downloaded according to the prefabrication condition, and the device to be tested is initialized.
S305: and testing the data transmission performance of the device to be tested, and performing Bluetooth related operation to obtain a test value.
In this step, the data transmission performance of the device to be tested may be tested while the auxiliary device and the device to be tested perform bluetooth related operations, or the bluetooth related operations may be completed before the data transmission performance of the device to be tested is tested.
S306: and comparing the test value with a preset threshold value to obtain a test result, and uploading the test result to the server for graphical display.
In the embodiment, the performance test of the device to be tested under the coexistence scene of the wireless network is automatically realized, and the test efficiency is improved.
In still another embodiment of the present disclosure, a method for testing coexistence performance of wireless communication is provided, and referring to fig. 4, the method includes:
s401: the test is started.
S402: the personal computer obtains a test task.
In the step, according to the requirements of a tester, a test type is selected in a server, a personal computer is operated to obtain a corresponding test task, and configuration parameters corresponding to a test case are obtained.
S403: and wirelessly connecting the device to be tested with the wireless router by using the configuration parameters.
S404: the personal computer obtains the prefabrication conditions required by the test of the device to be tested, the Bluetooth auxiliary device and the wireless direct connection auxiliary device.
In the step, the corresponding application program package is downloaded according to the prefabrication condition, and the device to be tested, the Bluetooth auxiliary device and the wireless direct connection auxiliary device are initialized.
S405: and controlling the Bluetooth auxiliary equipment to perform Bluetooth related operation with the equipment to be tested.
In this step, bluetooth related operations include searching for the device under test, opening a bluetooth connection, closing a bluetooth connection, etc.
S406: and connecting the equipment to be tested with the wireless direct-connection auxiliary equipment, and confirming roles of the equipment to be tested and the wireless direct-connection auxiliary equipment.
In this step, after the device to be tested is connected to the wireless direct-connection auxiliary device, group Owner (GO) and Group member (GC) roles of the device to be tested and the wireless direct-connection auxiliary device are confirmed. And disconnecting the device to be tested from the wireless router, and testing the data transmission performance of the device to be tested to obtain a test value. Specifically, the personal computer issues a test command to test the data throughput performance of the device to be tested and the wireless direct connection auxiliary equipment, so that the performance of the device to be tested in the wireless direct connection process is tested under the Bluetooth related operation.
S407: and comparing the test value with a preset threshold value to obtain a test result, and uploading the test result to the server for graphical display.
In the embodiment, the performance test of the device to be tested under the coexistence scene of the wireless network is automatically realized, and the test efficiency is improved.
In still another embodiment of the present disclosure, a method for testing coexistence performance of wireless communication is provided, and in combination with the above-mentioned testing method, referring to fig. 5 and 6, the preset threshold may be set as the threshold, or the threshold may be obtained by testing with a standard device in advance, which is not described in detail herein.
In still another embodiment of the present disclosure, a method for testing coexistence performance of wireless communication is provided, and referring to fig. 7, the method includes:
s701: the test starts.
S702: and testing the coexistence performance of wireless communication.
In this step, the test method disclosed in the above embodiment is adopted to test the coexistence performance of wireless communication for the device to be tested.
S703: detecting whether an abnormal condition exists.
In this step, when the test result is failure, the device to be tested and the auxiliary device are restarted to perform the test, and if the test result is still failure for three or more times, the device to be tested is an abnormal condition, and alarm information is sent, and the process goes to S704. Otherwise, the routine proceeds to S707.
S704: and analyzing the reasons of the abnormal conditions and processing the abnormal conditions.
In the step, the tester receives the alarm information and processes abnormal conditions.
S705: and judging whether the abnormal situation is solved.
In this step, after the processing, the test is performed again, and if the test result is still failed three or more times in succession, the process proceeds to S706. If the test is again performed, the test is displayed as normal, and the process proceeds to S707.
S706: and outputting the system log text.
S707: and (5) after the test is finished, uploading a test result.
In the embodiment, when an abnormal situation occurs, the abnormal situation is conveniently and rapidly processed, and the testing efficiency is improved.
In another embodiment of the present disclosure, a system for testing coexistence performance of wireless communication is provided, and referring to fig. 8, the system includes: the personal computer and all be connected with personal computer's equipment to be tested, auxiliary assembly and wireless router, wherein, auxiliary assembly and wireless router all locate first shielded cell, and equipment to be tested locates the second shielded cell, and auxiliary assembly and wireless router pass through program controlled attenuator and are connected with equipment to be tested, and this system still includes: an acquisition module 801, a processing module 802 and a test module 803. The acquiring module 801 is configured to acquire configuration parameters corresponding to the test case. The processing module 802 is connected with the obtaining module 801, and wirelessly connects the device to be tested with the wireless router by using the configuration parameters, the obtaining module 801 is further used for obtaining an Internet Protocol (IP) address of the device to be tested, the processing module 802 performs bluetooth connection on the device to be tested and the auxiliary device according to the MAC address, the testing module 803 is connected with the processing module 802, the obtaining module 801 obtains a testing task, and the testing module 803 tests the data transmission performance of the device to be tested according to the testing task to obtain a testing value. The processing module 802 compares the test value with a preset threshold value to obtain a test result.
In this embodiment, through setting up auxiliary assembly and wireless router first shielding case, will await measuring equipment and locate the second shielding case to be connected auxiliary assembly and wireless router with equipment to be measured through program controlled attenuator, be convenient for simulate adjustment auxiliary assembly and wireless router and the wireless distance between equipment to be measured, improve the accuracy of test. In addition, the personal computer automatically and wirelessly connects the equipment to be tested with the wireless router by acquiring configuration parameters corresponding to the test cases and utilizing the configuration parameters, the personal computer acquires the Internet Protocol (IP) address of the equipment to be tested, and carries out Bluetooth connection on the equipment to be tested and auxiliary equipment according to the internet protocol (MAC) address of the equipment to be tested, so that the equipment to be tested is simultaneously connected with two wireless communications, the data transmission performance of the equipment to be tested is tested by acquiring test tasks to obtain test values, the test values are compared with preset thresholds to obtain test results, automatic test is realized, the efficiency of testing the coexistence performance of the wireless communications is improved, and the cost of manpower resources is reduced.
Optionally, the obtaining module 801 is further configured to obtain a prefabrication condition required for testing the device under test and the auxiliary device, and the processing module 802 downloads a corresponding application package according to the prefabrication condition, and initializes the device under test. The personal computer is used for controlling and connecting the equipment to be tested and the auxiliary equipment by acquiring the prefabrication conditions required by the equipment to be tested and the auxiliary equipment for testing, downloading the corresponding application program package according to the prefabrication conditions, and initializing the equipment to be tested to enable the equipment to be tested to be in an initial state, so that the influence on the testing result during subsequent testing is avoided, and the testing accuracy is improved.
Optionally, the testing module 803 tests the data transmission performance of the device under test to obtain a test value, including: testing the data throughput of the device to be tested and the wireless router to obtain a test value; or testing the data throughput of the equipment to be tested and the auxiliary equipment to obtain the test value; or testing the Bluetooth data transmission rates of the equipment to be tested and the auxiliary equipment to obtain the test value. The wireless performance test of the equipment to be tested under various modes is realized, and the accuracy of the test result of the equipment to be tested is further improved.
Optionally, the processing module 802 compares the test value with a preset threshold value, and before obtaining the test result, includes: the test module 803 tests the data throughput of the standard device and the wireless router to obtain a threshold value, or tests the data throughput of the standard device and the auxiliary device to obtain a threshold value; or testing the Bluetooth data transmission rates of the standard equipment and the auxiliary equipment to obtain a threshold value. The processing module 802 compares the test value with a preset threshold value to obtain a test result, including: and when the threshold value is larger than the test value, obtaining a test result as failure, otherwise, obtaining the test result as success. And saving the test log file, and uploading the test result to the server for graphical display.
The method comprises the steps of pre-testing the quantity throughput of standard equipment to obtain a preset threshold value, comparing the preset threshold value with the preset threshold value to obtain a test result, and obtaining a failure test result when the preset threshold value is larger than the test result, otherwise, storing a test log file to facilitate subsequent analysis and uploading the test result to a server for graphical display, so that the test result is convenient for a tester to observe.
In addition, the processing module 802 compares the test value with a preset threshold value, and after obtaining a test result, includes: and restarting the equipment to be tested and the auxiliary equipment to be tested when the test result is failure, and sending alarm information if the test result is still failure.
The device to be tested and the auxiliary equipment are automatically restarted to test when the test fails, so that automatic adjustment of abnormal conditions is realized, if the test result still fails after the device to be tested and the auxiliary equipment are restarted, alarm information is sent to allow a tester to intervene, and the test efficiency is improved.
It should be noted that, after the device to be tested and the auxiliary device are connected by bluetooth, the personal computer controls the device to be tested and the auxiliary device to perform bluetooth related operations, where the bluetooth related operations include searching the device to be tested, opening bluetooth connection or closing bluetooth connection. By carrying out Bluetooth related operation, the comprehensiveness of the test performance of the device to be tested in the wireless communication coexistence scene is improved.
The embodiment of the invention provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the method.
The embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the above-mentioned method steps.
The foregoing is merely a specific implementation of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The utility model provides a test method of wireless communication coexistence performance, is applied to personal computer, personal computer all is connected with equipment to be tested, auxiliary device and wireless router, its characterized in that, auxiliary device with wireless router locates first shielded cell, equipment to be tested locates the second shielded cell, auxiliary device with wireless router passes through program controlled attenuator with equipment to be tested is connected, the method includes:
acquiring configuration parameters corresponding to the test cases;
wirelessly connecting the equipment to be tested with the wireless router by utilizing the configuration parameters;
acquiring the IP address and the MAC address of the equipment to be tested, and the IP address and the MAC address of the auxiliary equipment;
connecting the equipment to be tested with the auxiliary equipment according to the IP address and the MAC address of the equipment to be tested or the IP address and the MAC address of the auxiliary equipment;
acquiring a test task, and testing the data transmission performance of the equipment to be tested to obtain a test value;
comparing the test value with a preset threshold value to obtain a test result;
before the configuration parameters corresponding to the test cases are obtained, the method comprises the following steps:
obtaining the prefabrication conditions required by the equipment to be tested and the auxiliary equipment for testing;
downloading a corresponding application program package according to the prefabrication condition, and initializing the equipment to be tested;
the test task is obtained, the data transmission performance of the device to be tested is tested according to the IP address, and a test value is obtained, and the test task comprises the following steps:
testing the data throughput of the device to be tested and the wireless router to obtain the test value; or testing the data throughput of the equipment to be tested and the auxiliary equipment to obtain the test value; or testing the Bluetooth data transmission rates of the equipment to be tested and the auxiliary equipment to obtain the test value.
2. The method according to claim 1, wherein comparing the test value with a preset threshold value, before obtaining a test result, comprises:
testing the data throughput of standard equipment and the wireless router to obtain the threshold value; or testing the data throughput of the standard equipment and the auxiliary equipment to obtain the threshold value; or testing the Bluetooth data transmission rates of the standard equipment and the auxiliary equipment to obtain the threshold value;
comparing the test value with a preset threshold value to obtain a test result, wherein the method comprises the following steps:
when the threshold value is larger than the test value, obtaining the test result as failure, otherwise, obtaining the test result as success;
and saving a test log file, and uploading the test result to a server for graphical display.
3. The method according to claim 1 or 2, wherein comparing the test value with a preset threshold value, after obtaining a test result, comprises:
and restarting the equipment to be tested and the auxiliary equipment to test when the test result is failure, and sending alarm information if the test result is still failure.
4. The method according to claim 1 or 2, further comprising, after bluetooth connection of the device under test with the auxiliary device according to the MAC address: and controlling the equipment to be tested and the auxiliary equipment to perform Bluetooth related operation, wherein the Bluetooth related operation comprises searching the equipment to be tested, starting Bluetooth connection or closing Bluetooth connection.
5. The utility model provides a test system of wireless communication coexistence performance, its characterized in that includes the personal computer and with equipment to be tested, auxiliary assembly and the wireless router that the personal computer all is connected, its characterized in that, auxiliary assembly with the wireless router all locates first shielded cell, equipment to be tested locates the second shielded cell, auxiliary assembly with wireless router pass through program controlled attenuator with equipment to be tested is connected, the system includes:
the acquisition module is used for acquiring configuration parameters corresponding to the test cases;
the processing module is connected with the acquisition module and is used for wirelessly connecting the equipment to be tested with the wireless router by utilizing the configuration parameters;
the acquisition module is further used for acquiring an Internet Protocol (IP) address and an Media Access Control (MAC) address of the equipment to be tested;
the processing module is used for carrying out Bluetooth connection on the equipment to be tested and the auxiliary equipment according to the MAC address;
the test module is connected with the processing module, the acquisition module acquires a test task, and the test module tests the data transmission performance of the equipment to be tested according to the IP address to obtain a test value;
the processing module compares the test value with a preset threshold value to obtain a test result;
the acquisition module is also used for acquiring the prefabrication conditions required by the equipment to be tested and the auxiliary equipment during testing, and the processing module downloads the corresponding application program package according to the prefabrication conditions and initializes the equipment to be tested;
the test module tests the data transmission performance of the device to be tested to obtain a test value, and the test value comprises the following steps:
testing the data throughput of the device to be tested and the wireless router to obtain the test value; or testing the data throughput of the equipment to be tested and the auxiliary equipment to obtain the test value; or testing the Bluetooth data transmission rates of the equipment to be tested and the auxiliary equipment to obtain the test value.
6. The system of claim 5, wherein the processing module compares the test value with a preset threshold value, and before obtaining the test result, comprises:
the test module tests the data throughput of the standard equipment and the wireless router to obtain the threshold value; or testing the data throughput of the standard equipment and the auxiliary equipment to obtain the threshold value; or testing the Bluetooth data transmission rates of the standard equipment and the auxiliary equipment to obtain the threshold value;
the processing module compares the test value with a preset threshold value to obtain a test result, and the processing module comprises the following steps:
when the threshold value is larger than the test value, obtaining the test result as failure, otherwise, obtaining the test result as success;
and saving a test log file, and uploading the test result to a server for graphical display.
7. The system according to claim 5 or 6, wherein the processing module compares the test value with a preset threshold value, and after obtaining a test result, the processing module includes:
and restarting the equipment to be tested and the auxiliary equipment to test when the test result is failure, and sending alarm information if the test result is still failure.
8. The system according to claim 5 or 6, wherein the processing module, after bluetooth connection of the device under test with the auxiliary device according to the MAC address, is further configured to: and controlling the equipment to be tested and the auxiliary equipment to perform Bluetooth related operation, wherein the Bluetooth related operation comprises searching the equipment to be tested, starting Bluetooth connection or closing Bluetooth connection.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when the computer program is executed by the processor.
10. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any of claims 1 to 4.
CN202111220262.5A 2021-10-20 2021-10-20 Method, system, equipment and medium for testing coexistence performance of wireless communication Active CN113938943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111220262.5A CN113938943B (en) 2021-10-20 2021-10-20 Method, system, equipment and medium for testing coexistence performance of wireless communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111220262.5A CN113938943B (en) 2021-10-20 2021-10-20 Method, system, equipment and medium for testing coexistence performance of wireless communication

Publications (2)

Publication Number Publication Date
CN113938943A CN113938943A (en) 2022-01-14
CN113938943B true CN113938943B (en) 2024-04-12

Family

ID=79280701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111220262.5A Active CN113938943B (en) 2021-10-20 2021-10-20 Method, system, equipment and medium for testing coexistence performance of wireless communication

Country Status (1)

Country Link
CN (1) CN113938943B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909310A (en) * 2009-06-02 2010-12-08 鸿富锦精密工业(深圳)有限公司 Electronic device testing method
CN106657515A (en) * 2016-11-30 2017-05-10 上海与德信息技术有限公司 Intelligent test system and method and test station
CN206756996U (en) * 2017-06-07 2017-12-15 厦门华联电子科技有限公司 A kind of telephone set single-board testing device
CN109388532A (en) * 2018-09-26 2019-02-26 Oppo广东移动通信有限公司 Test method, device, electronic equipment and computer-readable storage medium
CN109462523A (en) * 2018-12-04 2019-03-12 江苏东大集成电路系统工程技术有限公司 A kind of WIFI-GPS test method based on R&S-CMW500
CN110492909A (en) * 2019-08-30 2019-11-22 北京智芯微电子科技有限公司 Wireless isolated form power line carrier communication performance test methods and system
CN110620704A (en) * 2019-10-21 2019-12-27 江苏中利电子信息科技有限公司 Throughput automatic test equipment
CN111669694A (en) * 2020-06-17 2020-09-15 江西台德智慧科技有限公司 Artificial intelligence automatic test system and method
CN211744738U (en) * 2020-04-29 2020-10-23 上海璐柯宏电子有限公司 Multifunctional Wi-Fi and Bluetooth testing device
CN112383906A (en) * 2020-10-29 2021-02-19 四川虹美智能科技有限公司 System and method for detecting WiFi and Bluetooth performance of intelligent module
CN112615683A (en) * 2020-12-17 2021-04-06 四川虹美智能科技有限公司 Communication module function detection system and method
CN113038499A (en) * 2021-04-22 2021-06-25 紫光展锐(重庆)科技有限公司 Terminal Wi-Fi compatibility testing method, device, system, equipment and medium
CN113340613A (en) * 2021-06-09 2021-09-03 中国第一汽车股份有限公司 Automatic testing system, method and device for vehicle-mounted terminal module and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120300649A1 (en) * 2007-05-21 2012-11-29 W2Bi, Inc. Mobile device throughput testing
US9319908B2 (en) * 2011-10-12 2016-04-19 Apple Inc. Methods for reducing path loss while testing wireless electronic devices with multiple antennas
TWI453693B (en) * 2011-12-16 2014-09-21 Universal Scient Ind Shanghai Method for automatically testing communication functionality of device under test and computer-readable media thereof
US8811912B2 (en) * 2012-04-06 2014-08-19 At&T Mobility Ii Llc Remote control of mobile devices to perform testing of wireless communications networks
US20150126132A1 (en) * 2013-11-01 2015-05-07 Apple Inc. Methods and apparatus for radio co-existence testing and verification of wireless systems
US9959181B2 (en) * 2015-11-13 2018-05-01 Fluke Corporation System and method for cloud-service asset management for portable computer test tools
US10097443B2 (en) * 2015-12-16 2018-10-09 Fluke Corporation System and method for secure communications between a computer test tool and a cloud-based server

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909310A (en) * 2009-06-02 2010-12-08 鸿富锦精密工业(深圳)有限公司 Electronic device testing method
CN106657515A (en) * 2016-11-30 2017-05-10 上海与德信息技术有限公司 Intelligent test system and method and test station
CN206756996U (en) * 2017-06-07 2017-12-15 厦门华联电子科技有限公司 A kind of telephone set single-board testing device
CN109388532A (en) * 2018-09-26 2019-02-26 Oppo广东移动通信有限公司 Test method, device, electronic equipment and computer-readable storage medium
CN109462523A (en) * 2018-12-04 2019-03-12 江苏东大集成电路系统工程技术有限公司 A kind of WIFI-GPS test method based on R&S-CMW500
CN110492909A (en) * 2019-08-30 2019-11-22 北京智芯微电子科技有限公司 Wireless isolated form power line carrier communication performance test methods and system
CN110620704A (en) * 2019-10-21 2019-12-27 江苏中利电子信息科技有限公司 Throughput automatic test equipment
CN211744738U (en) * 2020-04-29 2020-10-23 上海璐柯宏电子有限公司 Multifunctional Wi-Fi and Bluetooth testing device
CN111669694A (en) * 2020-06-17 2020-09-15 江西台德智慧科技有限公司 Artificial intelligence automatic test system and method
CN112383906A (en) * 2020-10-29 2021-02-19 四川虹美智能科技有限公司 System and method for detecting WiFi and Bluetooth performance of intelligent module
CN112615683A (en) * 2020-12-17 2021-04-06 四川虹美智能科技有限公司 Communication module function detection system and method
CN113038499A (en) * 2021-04-22 2021-06-25 紫光展锐(重庆)科技有限公司 Terminal Wi-Fi compatibility testing method, device, system, equipment and medium
CN113340613A (en) * 2021-06-09 2021-09-03 中国第一汽车股份有限公司 Automatic testing system, method and device for vehicle-mounted terminal module and storage medium

Also Published As

Publication number Publication date
CN113938943A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
JP5485201B2 (en) Analysis device, acceptance test method, and acceptance test device
CN110719461B (en) Audio and video equipment testing method and device and computer readable storage medium
CN106888060B (en) Anti-interference test method and system for wireless communication module
CN106776294B (en) Automatic android mobile phone testing method and system
CN103973858B (en) The Auto-Test System of mobile terminal
CN109274807B (en) Test method, device and system
CN108174405A (en) Product test method and apparatus
CN105335292A (en) Application compatibility testing method and system
US9485680B2 (en) Test apparatus and method for testing IP-based mobile communications terminals
CN106294108B (en) Application program testing method and device
CN107612769B (en) Method and system for testing wireless transmission rate of router
CN106028367B (en) Automatic testing method and system based on CMWrun testing platform
KR100758850B1 (en) Appaturus and method for test using test script in mobile communication system
CN113038499B (en) Terminal Wi-Fi compatibility testing method, device, system, equipment and medium
CN112787894B (en) Wireless device test system, method, apparatus, medium, and device
CN114257470A (en) Vehicle Bluetooth function test system and test method
EP3503438B1 (en) Test arrangement and test method
CN113938943B (en) Method, system, equipment and medium for testing coexistence performance of wireless communication
US20200356464A1 (en) Test instrument for software communications architecture device testing
CN111787555A (en) Method and equipment for testing intelligent terminal
US20160149653A1 (en) Mobile communication terminal test device and a test anaylsis unit therefor
CN115988524A (en) Network equipment compatibility testing method, device, equipment and storage medium
CN105243015B (en) Method and system for automatically testing software
US20140134998A1 (en) Signal detection method for communication apparatus and signal detection system
CN114390574A (en) Wireless network throughput testing method, device and computer readable storage medium

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