Equipment shunting test method and device, computer equipment and storage medium
Through the comprehensive measuring instrument, the signal source sequence of wireless devices is obtained and signal analysis is performed. Combined with the collaborative testing of the server host and the client sub-machine, the problem of difficulty in testing multiple models of wireless devices at the same time in the existing technology is solved, which improves the testing efficiency and saves resources.
Patent Information
- Application Number
- CN202311446489.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2043-10-31
AI Technical Summary
The prior art is difficult to test multiple different models of wireless devices simultaneously, and the test efficiency is low, resulting in waste of instrument resources.
The comprehensive measuring instrument obtains the device signal source sequence of the device to be detected and performs signal analysis and processing. The server host determines the connection status of the client sub-machine based on the number of device signal sources, and performs signal testing processing separately. Finally, the server host integrates the test results.
It improves the efficiency of PC hosts when testing multiple wireless devices, saves test space, and achieves increased revenue and reduced expenditure.
Smart Images

Figure CN119922597A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of equipment testing, and in particular to an equipment diversion testing method, apparatus, computer equipment and storage medium. Background Art
[0002] When testing the WiFi performance of wireless devices, they need to be placed in a shielded box for testing. According to the production line environment, generally at most 4 shielded boxes are placed side by side. It is difficult for employees to operate 8 boxes. Therefore, the actual construction environment on the production line generally uses less than 4 ports, and the other 4 ports are idle, which results in a waste of instrument resources.
[0003] At present, the industry generally uses two testing methods when using CMW100 to test WiFi wireless devices. The first is that one computer tests 4 wireless devices at the same time. The computer is installed with a PCI-E network card. The network card has four LAN interfaces, each interface is connected to the LAN port of the wireless device, and the wireless devices are connected to the RF port of the comprehensive tester through RF cables. The comprehensive tester is connected to the computer through a USB cable. The second is that the computer tests 8 wireless devices at the same time. The computer needs to be installed with two PCI-E network cards. The connection method between the network card and the computer and the comprehensive tester is the same as the first method.
[0004] However, the above two test solutions can only test one model of product at a time and are not compatible with the production of two different models of products. The test solutions are relatively simple and cannot fully test all devices. Summary of the invention
[0005] The purpose of the embodiments of the present application is to propose a device diversion test method, apparatus, computer equipment and storage medium to solve the problem of how to improve PC testing efficiency while increasing revenue and reducing costs when facing multiple wireless devices.
[0006] In order to solve the above technical problems, the embodiment of the present application provides a device diversion test method, which is applied to a server host, a client secondary machine and a comprehensive tester. The server host is connected to the comprehensive tester via Ethernet, and the following technical solution is adopted:
[0007] The comprehensive tester obtains a device signal source sequence in the device to be detected, wherein the number of the device to be detected is not less than one, and the device signal source sequence includes a plurality of device signal sources, and one device signal source corresponds to one device to be detected;
[0008] The comprehensive tester performs signal analysis processing on the device signal source sequence to obtain a signal analysis result, wherein the signal analysis result includes the number of device signal sources and device signal data, and the device signal data includes first device signal data and second device signal data;
[0009] The server host determines the connection status of the client slave based on the number of device signal sources;
[0010] The server host performs a signal test process on the first device signal data to obtain a first signal test result;
[0011] The client auxiliary machine performs the signal test processing on the second device signal data based on the connection status of the client auxiliary machine to obtain a second signal test result;
[0012] The server host collects and integrates the first signal test result and the second signal test result to obtain a final signal test result.
[0013] Furthermore, the device to be detected includes a wireless device and a fixture, the wireless device is fixed on the fixture, and before the step of the comprehensive tester obtaining the device signal source sequence of the device sequence to be detected, it also includes:
[0014] The fixture is connected to the comprehensive tester via Ethernet to obtain a first transmission link;
[0015] The fixture performs activation processing on the wireless device to obtain the device signal source;
[0016] The comprehensive tester performs a first acquisition process on the device signal source based on the first transmission link to obtain the device signal source sequence.
[0017] Furthermore, the signal analysis processing includes spectrum analysis processing and radio frequency signal analysis processing, and the comprehensive tester performs signal analysis processing on the device signal source sequence to obtain the signal analysis result, which specifically includes:
[0018] The comprehensive tester performs spectrum analysis on all the device signal sources in the device signal source sequence to obtain the number of the device signal sources;
[0019] The comprehensive tester performs radio frequency signal analysis and processing on all the device signal sources in the device signal source sequence to obtain the device signal data.
[0020] Furthermore, the step of the server host determining the connection status of the client secondary machine based on the number of the device signal sources specifically includes:
[0021] The server host compares the number of device signal sources with a preset signal source number threshold to determine the connection status of the client slave;
[0022] If the number of the device signal sources is less than or equal to the preset signal source number threshold, determining that the connection state of the client slave is a standby state;
[0023] If the number of the device signal sources is greater than the preset signal source number threshold, it is determined that the connection state of the client slave is an enabled state.
[0024] Furthermore, the server host performs a signal test on the first device signal data to obtain a first signal test result, further comprising:
[0025] Inputting the first device signal data into a preset production test software for first detection processing to obtain first indicator data, wherein the first indicator data includes signal transmission power and sensitivity receiving function;
[0026] The first indicator data is compared with a preset first indicator threshold to obtain the first signal test result.
[0027] Further, the client secondary machine performs the signal test processing on the second device signal data based on the connection status of the client secondary machine to obtain a second signal test result, specifically including:
[0028] If the connection state of the client secondary machine is in standby state, the second signal test result is empty;
[0029] If the connection state of the client auxiliary machine is a connection state, the client auxiliary machine collects the second device signal data and inputs it into the preset production test software for second detection processing to obtain second indicator data, wherein the second indicator data includes signal transmission power and sensitivity receiving function;
[0030] The second indicator data is compared with a preset second indicator threshold to obtain the second signal test result.
[0031] Furthermore, the server host collects and integrates the first signal test result and the second signal test result to obtain a final signal test result, which specifically includes:
[0032] The client secondary machine connects to the server host through Ethernet to obtain a second transmission link;
[0033] The server host performs a second acquisition process through the second transmission link to obtain a second signal test result;
[0034] The server host integrates the first signal test result and the second signal test result to obtain the final signal test result.
[0035] In order to solve the above technical problems, the embodiment of the present application further provides a device diversion test device, which includes a server host, a client secondary machine and a comprehensive tester. The server host is connected to the comprehensive tester via Ethernet, and adopts the following technical solution:
[0036] An acquisition module, used for the comprehensive tester to acquire a device signal source sequence in a device to be detected, wherein the number of the device to be detected is not less than one, and the device signal source sequence includes a plurality of device signal sources, and one device signal source corresponds to one device to be detected;
[0037] An analysis module is used for the comprehensive tester to perform signal analysis processing on the device signal source sequence to obtain a signal analysis result, wherein the signal analysis result includes the number of device signal sources and device signal data, and the device signal data includes first device signal data and second device signal data;
[0038] A determination module, used for the server host to determine the connection status of the client slave based on the number of device signal sources;
[0039] A first test module, used for the server host to perform signal test processing on the first device signal data to obtain a first signal test result;
[0040] A second test module, configured for the client secondary machine to perform the signal test processing on the second device signal data based on the connection status of the client secondary machine to obtain a second signal test result;
[0041] The processing module is used for the server host to collect and integrate the first signal test result and the second signal test result to obtain a final signal test result.
[0042] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0043] A computer device comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the device current diversion test method when executing the computer-readable instructions.
[0044] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0045] A computer-readable storage medium, characterized in that computer-readable instructions are stored on the computer-readable storage medium, and when the computer-readable instructions are executed by a processor, the steps of the device diversion test method are implemented.
[0046] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0047] The present application obtains the device signal source sequence in the device to be tested through the comprehensive tester and then performs signal analysis and processing to obtain the number of device signal sources, first device signal data and second device signal data. The server host determines the connection status of the client slave based on the number of device signal sources, and performs signal test processing on the first device signal data to obtain a first signal test result; the client slave performs signal test processing on the second device signal data based on the connection status of the client slave to obtain a second signal test result. The server host collects, integrates and processes the first signal test result and the second signal test result to obtain a final signal test result, thereby improving the test efficiency of the PC host when testing multiple wireless devices, saving test space while increasing revenue and reducing expenditure. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0049] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0050] Figure 2 A flow chart of an embodiment of a device shunt testing method according to the present application;
[0051] Figure 3 is a structural schematic diagram of an embodiment of a device current diversion test device according to the present application;
[0052] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0054] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0055] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0056] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0057] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0058] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV), laptop computers, desktop computers, etc.
[0059] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .
[0060] It should be noted that the device diversion test method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the device diversion test apparatus is generally arranged in the server / terminal device.
[0061] It should be understood that Figure 1The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0062] Continue to refer Figure 2 , shows a flow chart of an embodiment of a method for device diversion testing according to the present application. The device diversion testing method comprises the following steps:
[0063] Step S201: the comprehensive tester obtains a device signal source sequence in the device to be tested.
[0064] In this embodiment, the device current diversion test method is executed on the electronic device (eg Figure 1 The server / terminal device shown in the figure can receive the above-mentioned device signal source sequence through a wired connection or a wireless connection. It should be noted that the above-mentioned wireless connection method may include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.
[0065] In an embodiment of the present invention, the above-mentioned device to be detected may be a wireless electronic device such as a Bluetooth headset, a wireless router, a wireless keyboard, and a wireless mouse; the above-mentioned device signal source sequence may be a signal sequence composed of radio frequency signals such as a carrier signal, a continuous wave signal, a pulse signal, a digital modulation signal, and a radio frequency noise signal; the above-mentioned comprehensive tester may be a multifunctional instrument for performing various test and measurement tasks. Specifically, the above-mentioned comprehensive tester may be a comprehensive test instrument such as a CMW100 comprehensive tester, a TFN PM5100 comprehensive tester, and a CMW500 comprehensive tester, and the above-mentioned comprehensive tester may obtain the device signal source sequence in the above-mentioned device to be detected by wired connection; the number of the above-mentioned devices to be detected is not less than 1; the above-mentioned device signal source sequence may include several device signal sources, or may be composed of a plurality of different types of signal sources; the relationship between the above-mentioned device signal source and the above-mentioned device to be detected may be that one device signal source corresponds to one device to be detected.
[0066] In a possible embodiment, if there are two or more devices to be detected, each device to be detected is numbered, and the numbering process may be numbering according to Arabic numerals, one number corresponds to one device to be detected, and the devices to be detected are arranged from small to large to form a sequence of devices to be detected. Business personnel can connect the devices to the CMW100 comprehensive tester in sequence through radio frequency lines according to the numbering sequence of the devices to be detected, and the CMW100 comprehensive tester can obtain the device signal source emitted by the devices to be detected through the radio frequency lines.
[0067] Step S202: the comprehensive tester performs signal analysis processing on the device signal source sequence to obtain a signal analysis result.
[0068] In this embodiment, the signal analysis result may include the number of device signal sources and device signal data, and the device signal data may include first device signal data and second device signal data. Specifically, the number of device signal sources may be the sum of the number of device signal sources of different models, and the number of device signal sources may be determined by the number of devices to be detected; the device signal data may be indicator data of device signal sources, such as power, frequency deviation, and receiving packet loss rate, and the device signal data may include first device signal data and second device signal data. The data types of the first device signal data and the second device signal data may be the same or different, and the service objects of the first device signal data and the second device signal data are different. For example, the first device signal data needs to be sent to the server for processing, and the second device signal data needs to be sent to the client for processing.
[0069] In a possible embodiment, the CMW100 comprehensive tester is connected to the device to be tested via a radio frequency line, and after obtaining the device signal source sequence, the following signal analysis and processing is performed on the device signal source sequence:
[0070] The CMW100 comprehensive tester can obtain the number of devices to be processed through the connection status of the radio frequency interface, and obtain the number of signal sources of the devices based on the number of devices to be processed;
[0071] The above-mentioned CMW100 comprehensive tester can obtain wireless signal data such as the power, frequency deviation and received packet loss rate transmitted by the device to be processed through the radio frequency interface, and perform indicator evaluation processing on the above-mentioned wireless signal data. The above-mentioned indicator evaluation processing can be to perform quantitative evaluation on each of the above-mentioned wireless data, convert each of the above-mentioned wireless data into detailed wireless data parameters, and store them in the form of a list to obtain the above-mentioned device signal data.
[0072] Step S203: the server host determines the connection status of the client slave based on the number of device signal sources.
[0073] In this embodiment, the server host can be a computer device with a fixed position such as a computer host and a server, or a mobile computer device such as a mobile phone, a laptop computer, and a tablet computer; the client sub-machine can be a computer device with a fixed position such as a computer host and a server, or a mobile computer device such as a mobile phone, a laptop computer, and a tablet computer. Specifically, the server host and the client sub-machine share a comprehensive tester, the server host and the comprehensive tester are wired via Ethernet, there is no direct connection between the client sub-machine and the comprehensive tester, the server host and the client sub-machine are connected via a network LAN port, the server host and the client sub-machine share the same server, and the server can be a virtual server or a cloud server for storing the signal analysis results. The server host and the client sub-machine are each installed with a PCI-E network card for connecting the server host and the device to be detected and for connecting the client sub-machine and the device to be detected.
[0074] In a possible embodiment, the execution priority of the above-mentioned server host is higher than that of the above-mentioned client slave machine. The connection status of the above-mentioned client slave machine may include a standby state and an enabled state. The above-mentioned client slave machine is usually in a standby state, and the above-mentioned client slave machine can be awakened by the above-mentioned server host to start up. The awakening condition may be that the current number of device signal sources reaches the minimum awakening requirement of the above-mentioned client slave machine. The above-mentioned awakening condition may be deployed in the above-mentioned server server.
[0075] Step S204: the server host performs a signal test process on the first device signal data to obtain a first signal test result.
[0076] In this embodiment, the above-mentioned signal test processing can be to test the signal characteristics, signal spectrum, time domain characteristics, signal frequency response, amplitude and phase and other signal parameters of the above-mentioned first device signal data one by one through the signal test software preset in the above-mentioned server host, and obtain the various parameter values of the above-mentioned signal parameters, and determine the various parameter values of the above-mentioned signal parameters as the above-mentioned first signal test results, and the above-mentioned first signal test results are stored in the above-mentioned server host.
[0077] Step S205: the client slave performs a signal test process on the second device signal data based on the connection status of the client slave to obtain a second signal test result.
[0078] In this embodiment, if the connection status of the above-mentioned client slave is in standby status, the above-mentioned second signal test result is a null value, and the above-mentioned client slave does not perform any operation on the second device data at this time; if the connection status of the above-mentioned client slave is in enabled status, the signal characteristics, signal spectrum, time domain characteristics, signal frequency response, amplitude, phase and other signal parameters of the above-mentioned second device signal data are tested one by one through the signal testing software preset in the above-mentioned client slave, and the various parameter values of the above-mentioned signal parameters are obtained, and the various parameter values of the above-mentioned signal parameters are determined as the above-mentioned second signal test results, and the above-mentioned second signal test results are stored in the above-mentioned client slave.
[0079] Step S206: the server host collects and integrates the first signal test result and the second signal test result to obtain a final signal test result.
[0080] In this embodiment, the above-mentioned acquisition and integration processing can be divided into data acquisition processing and data integration processing, and the above-mentioned final signal test result can be stored in the above-mentioned server host, and the above-mentioned final signal test result can be stored in the form of a database table. Specifically, the above-mentioned server host can receive the above-mentioned second signal test result (i.e., the above-mentioned data acquisition processing) sent by the above-mentioned client auxiliary machine through a wired network or a wireless network, and the data types of the above-mentioned first signal test result and the above-mentioned second signal test result can be the same or different. If the data types are the same, the above-mentioned first signal test result and the above-mentioned second signal test result can be stored in different columns of the same database table for integration (i.e., the above-mentioned data integration processing) to obtain the final signal test result table (i.e., the above-mentioned final signal test result); if the data types are different, the above-mentioned first signal test result and the above-mentioned second signal test result can be stored in two different database tables, and the above-mentioned two different data tables are stored in the same database for INNER JOIN (inner connection) or LEFT JOIN (left connection) processing to obtain the final signal test result table (i.e., the final signal test result).
[0081] The present application obtains the device signal source sequence in the device to be tested through the comprehensive tester and then performs signal analysis and processing to obtain the number of device signal sources, first device signal data and second device signal data. The server host determines the connection status of the client slave based on the number of device signal sources, and performs signal test processing on the first device signal data to obtain a first signal test result; the client slave performs signal test processing on the second device signal data based on the connection status of the client slave to obtain a second signal test result. The server host collects, integrates and processes the first signal test result and the second signal test result to obtain a final signal test result, thereby improving the test efficiency of the PC host when testing multiple wireless devices, saving test space while increasing revenue and reducing expenditure.
[0082] In some optional implementations, before step S201, the following steps may also be performed:
[0083] The fixture is connected to the comprehensive tester via Ethernet to obtain the first transmission link;
[0084] The fixture activates the wireless device to obtain the device signal source;
[0085] The comprehensive tester performs a first acquisition process on the device signal source based on the first transmission link to obtain a device signal source sequence.
[0086] In this embodiment, the above-mentioned device to be tested includes a wireless device and a fixture, and the above-mentioned device to be tested needs to be placed in a shielding box for testing. Specifically, the above-mentioned shielding box can be an electromagnetic shielding box; the above-mentioned fixture can be a test fixture; the above-mentioned first transmission link can be a signal transmission route between the above-mentioned fixture and the above-mentioned comprehensive tester; the above-mentioned wireless device can be in the form of a PCB circuit board, fixed on the above-mentioned fixture, and stored in the above-mentioned shielding box. More specifically, the above-mentioned electromagnetic shielding box can be used to isolate the device signal source of the above-mentioned wireless device, and at the same time, it can also protect the above-mentioned wireless device from external electromagnetic interference; the above-mentioned test fixture can be a tool for testing the above-mentioned wireless device, usually including a connector, a sensor, a test point and a cable, which can be used to establish a connection between the above-mentioned wireless device and the comprehensive tester; the above-mentioned first transmission link can be a radio frequency line used to connect the radio frequency port of the above-mentioned comprehensive tester and the connector of the above-mentioned test fixture, which can be used to transmit the device signal source emitted by the above-mentioned wireless device.
[0087] In a possible embodiment, the wireless device may be in the form of a PCB circuit board, fixed on a test fixture and stored in the shielding box. The fixture is connected to the comprehensive tester via a radio frequency line to establish the first transmission link. The test fixture activates the circuit switch of the wireless device via an internal sensor, and starts the wireless device to send the device signal source. The comprehensive tester may collect the device signal source sent by the wireless device via the radio frequency line. If there are multiple wireless devices and fixtures, the comprehensive tester may combine the multiple device signal sources in the order of collection time to obtain the device signal source sequence.
[0088] In this embodiment, the device to be tested needs to be placed in a shielding box for testing, and the comprehensive tester collects and integrates the device signal source sequence through the first transmission link, thereby improving the efficiency of the comprehensive tester in obtaining the device signal source sequence and the data accuracy.
[0089] In some optional implementations, step S202 includes the following steps:
[0090] The comprehensive tester performs spectrum analysis on all device signal sources in the device signal source sequence to obtain the number of device signal sources;
[0091] The comprehensive tester performs radio frequency signal analysis and processing on all device signal sources in the device signal source sequence to obtain device signal data.
[0092] In this embodiment, the spectrum analysis process can analyze the spectrum characteristics of the device signal source, and the number of the device signal source can be obtained by analyzing the spectrum characteristics. The RF signal analysis process can be to analyze the wireless signal data such as power, frequency deviation and received packet loss rate in the device signal source. Specifically, the spectrum analysis process can be divided into the following steps: convert the device signal source into a digital signal, which can be completed by using an analog-to-digital converter (ADC) to obtain a digital signal of the device signal source; convert the digital signal of the device signal source from the time domain to the frequency domain by using a fast Fourier transform (FFT) algorithm; draw a spectrum diagram based on the result of FFT, and the spectrum diagram can use the horizontal axis to represent the frequency and the vertical axis to represent the amplitude; detect the peak value of the frequency by using the spectrum diagram, and determine which peaks are significant peaks by setting a peak threshold; count the detected significant peaks, and each significant peak corresponds to a device signal source.
[0093] In this embodiment, the comprehensive tester performs spectrum analysis and radio frequency signal analysis on all device signal sources in the device signal source sequence, thereby improving the efficiency of signal analysis.
[0094] In some optional implementations, step S203 includes the following steps:
[0095] The server host compares the number of device signal sources with the preset signal source number threshold to determine the connection status of the client slave;
[0096] If the number of device signal sources is less than or equal to a preset signal source number threshold, determining that the connection state of the client slave is a standby state;
[0097] If the number of device signal sources is greater than a preset signal source number threshold, it is determined that the connection state of the client slave is an enabled state.
[0098] In this embodiment, the above-mentioned preset signal source quantity threshold can be set manually, or it can be automatically set according to the minimum test load of the above-mentioned server host. For example, the above-mentioned preset signal source quantity threshold can be deployed in the above-mentioned server. For the signal source quantity threshold, the tester can manually set the signal source quantity threshold, or the above-mentioned server can use the maximum value of the device to be tested that the above-mentioned server host can test in the current time period as the above-mentioned signal source quantity threshold and update it in real time. If the number of signal sources of the above-mentioned device is less than or equal to the preset signal source quantity threshold, the above-mentioned server can determine that the connection state of the client slave is in the standby state; if the number of signal sources of the above-mentioned device is greater than the preset signal source quantity threshold, the above-mentioned server can determine that the connection state of the client slave is in the enabled state.
[0099] This embodiment determines the connection status of the client slave by comparing the number of device signal sources with a preset signal source number threshold, and can decide whether to enable the client slave according to actual needs, thereby achieving the effect of increasing revenue and reducing expenditure.
[0100] In some optional implementations, step S204 includes the following steps:
[0101] Inputting the first device signal data into a preset production test software for first detection processing to obtain first indicator data;
[0102] The first indicator data is compared with a preset first indicator threshold to obtain a first signal test result.
[0103] In this embodiment, the first indicator data includes signal transmission power and sensitivity receiving function. The preset production test software can be LitePoint IQxel, Anritsu Test Software, Rohde & SchwarzCMWrun and other production test software for Wi-Fi, Bluetooth and other communication technology equipment testing. The production test software can be directly deployed in the server host. The first detection process can be the following steps:
[0104] The server host is connected to the comprehensive tester via a USB cable, and is connected to the LAN port of the device to be tested via the LAN port of the PCI-E network card of the server host; the production test software is started, the communication of the comprehensive tester is initialized, a data transmission link is established, and the comprehensive tester is controlled to perform signal test processing on the device to be tested to obtain first device signal data; the first device signal data is transmitted from the comprehensive tester to the server through the data transmission link; the signal parameters such as signal characteristics, signal spectrum, time domain characteristics, signal frequency response, amplitude and phase in the first device signal data are scored and counted by the production test software; according to the results of the scoring statistics, the index value of the signal transmission power and the index value of the sensitivity receiving function are determined, and the higher the result of the scoring statistics, the higher the index value of the signal transmission power and the index value of the sensitivity receiving function.
[0105] In this embodiment, the above-mentioned first signal test results include fail and pass, and the above-mentioned preset first indicator threshold can be deployed in the above-mentioned server host. For the first indicator threshold, the tester can manually set the first indicator threshold, or dynamically adjust it according to different types of devices to be tested through the above-mentioned production test software. Specifically, the above-mentioned production test software can determine the type of the above-mentioned device to be tested based on the signal characteristics in the above-mentioned first device signal data, and dynamically adjust it to the first indicator threshold corresponding to the type of the above-mentioned device to be tested. If the above-mentioned first indicator data is less than or equal to the above-mentioned preset first indicator threshold, the above-mentioned first signal test result is fail; if the first indicator data is greater than the above-mentioned preset first indicator threshold, the above-mentioned first signal test result is pass.
[0106] The present application tests the signal data of the first device through preset production test software, thereby improving the accuracy of the test.
[0107] In some optional implementations, step S205 includes the following steps:
[0108] If the connection status of the client secondary machine is in standby status, the second signal test result is empty;
[0109] If the connection state of the client machine is connected, the client machine collects the second device signal data and inputs it into the preset production test software for second detection processing to obtain second indicator data;
[0110] The second indicator data is compared with a preset second indicator threshold to obtain a second signal test result.
[0111] In this embodiment, the second indicator data may include signal transmission power and sensitivity receiving function, and the production test software may be directly deployed in the client slave; the second signal test result may include null, fail and pass. Specifically, if the connection state of the client slave is in standby state, the second signal test result is null, and the client slave does not perform any operation on the second device data. The second detection process may be as follows:
[0112] The client submachine is connected to the server host via Ethernet; the LAN port of the PCI-E network card of the client submachine is connected to the LAN port of the device to be detected; the production test software is started, the communication of the comprehensive tester is initialized, a data transmission link is established, and the comprehensive tester is controlled to perform signal test processing on the device to be detected to obtain second device signal data; the second device signal data is transmitted from the comprehensive tester to the server via the data transmission link; the signal parameters such as signal characteristics, signal spectrum, time domain characteristics, signal frequency response, amplitude and phase in the second device signal data are scored and counted by the production test software; according to the results of the scoring statistics, the index value of the signal transmission power and the index value of the sensitivity receiving function are determined, and the higher the result of the scoring statistics, the higher the index value of the signal transmission power and the index value of the sensitivity receiving function.
[0113] The above-mentioned preset second indicator threshold can be deployed in the above-mentioned server host. For the second indicator threshold, the tester can manually set the second indicator threshold, or dynamically adjust it according to different types of devices to be tested through the above-mentioned production test software. Specifically, the above-mentioned production test software can determine the type of the above-mentioned device to be tested based on the signal characteristics in the above-mentioned second device signal data, and dynamically adjust it to the corresponding second indicator threshold according to the type of the above-mentioned device to be tested. If the above-mentioned second indicator data is less than or equal to the above-mentioned preset second indicator threshold, the above-mentioned second signal test result is fail; if the second indicator data is greater than the above-mentioned preset second indicator threshold, the above-mentioned second signal test result is pass.
[0114] The present application tests the signal data of the second device through preset production test software, thereby improving the accuracy of the test.
[0115] In some optional implementations, if step S206 includes the following steps:
[0116] The client secondary machine connects to the server host through Ethernet to obtain a second transmission link;
[0117] The server host performs a second acquisition process through a second transmission link to obtain a second signal test result;
[0118] The server host integrates the first signal test result and the second signal test result to obtain a final signal test result.
[0119] In this embodiment, the above-mentioned second transmission link can be a network cable used to connect the network LAN port of the above-mentioned server host and the network LAN port of the above-mentioned client slave machine, which can be used to transmit the second signal test result obtained by the above-mentioned client slave machine to the above-mentioned server host. The above-mentioned second acquisition processing can be a processing process in which the production test software in the above-mentioned server host obtains the above-mentioned second signal test result through the above-mentioned second transmission link. The above-mentioned integration processing can be that the production test software of the above-mentioned server host converts the above-mentioned first signal test result and the second signal test result into database tables of the same type or different types, and performs database table merging processing according to the above-mentioned database table to obtain the final signal test result.
[0120] In this embodiment, the server host integrates the first signal test result and the second signal test result to obtain the final signal test result, which can improve the reliability, accuracy and efficiency of the signal test.
[0121] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0122] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0123] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a device current shunting test device, and the device embodiment is Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0124] like Figure 3 As shown, the device diversion test device 300 described in this embodiment includes: an acquisition module 301, an analysis module 302, a determination module 303, a first test module 304, a second test module 305 and a processing module 306. The device includes a server host, a client secondary machine and a comprehensive tester. The server host is connected to the comprehensive tester via Ethernet, wherein:
[0125] An acquisition module, used for the comprehensive tester to acquire a device signal source sequence in a device to be detected, wherein the number of the device to be detected is not less than one, and the device signal source sequence includes a plurality of device signal sources, and one device signal source corresponds to one device to be detected;
[0126] An analysis module is used for the comprehensive tester to perform signal analysis processing on the device signal source sequence to obtain a signal analysis result, wherein the signal analysis result includes the number of device signal sources and device signal data, and the device signal data includes first device signal data and second device signal data;
[0127] A determination module, used for the server host to determine the connection status of the client slave based on the number of device signal sources;
[0128] A first test module, used for the server host to perform signal test processing on the first device signal data to obtain a first signal test result;
[0129] A second test module, configured for the client secondary machine to perform the signal test processing on the second device signal data based on the connection status of the client secondary machine to obtain a second signal test result;
[0130] The processing module is used for the server host to collect, integrate and process the first signal test result and the second signal test result to obtain the final signal test result. In this embodiment, a device diversion test device is provided. After obtaining the device signal source sequence in the device to be tested through the comprehensive tester, signal analysis and processing are performed to obtain the number of device signal sources, the first device signal data and the second device signal data. The server host determines the connection status of the client sub-machine based on the number of device signal sources, and performs signal test processing on the first device signal data to obtain the first signal test result; the client sub-machine performs signal test processing on the second device signal data based on the connection status of the client sub-machine to obtain the second signal test result. The server host collects, integrates and processes the first signal test result and the second signal test result to obtain the final signal test result, which improves the test efficiency of the PC host when testing multiple wireless devices, saves test space and increases revenue while reducing expenditure.
[0131] In some optional implementations of this embodiment, the device to be detected includes a wireless device and a fixture, and before the acquisition module 301, it also includes a connection module, an activation module and a collection module, wherein:
[0132] A connection module, used for connecting the fixture to the comprehensive tester via Ethernet to obtain a first transmission link;
[0133] An activation module, used for the fixture to activate the wireless device to obtain the device signal source;
[0134] The acquisition module is used for the comprehensive tester to perform a first acquisition process on the device signal source based on the first transmission link to obtain the device signal source sequence.
[0135] In this embodiment, the device to be tested needs to be placed in a shielding box for testing, and the comprehensive tester collects and integrates the device signal source sequence through the first transmission link, thereby improving the efficiency of the comprehensive tester in obtaining the device signal source sequence and the data accuracy.
[0136] In some optional implementations of this embodiment, the analysis module 302 includes a first processing submodule and a second processing submodule, wherein:
[0137] A first processing submodule is used for the comprehensive tester to perform spectrum analysis on all the device signal sources in the device signal source sequence to obtain the number of the device signal sources;
[0138] The second processing submodule is used for the comprehensive tester to perform radio frequency signal analysis and processing on all the device signal sources in the device signal source sequence to obtain the device signal data.
[0139] In this embodiment, the comprehensive tester performs spectrum analysis and radio frequency signal analysis on all device signal sources in the device signal source sequence, thereby improving the efficiency of signal analysis.
[0140] In some optional implementations of this embodiment, the determination module 303 includes a comparison submodule, a first determination submodule and a second determination submodule, wherein:
[0141] A comparison submodule, used for the server host to compare the number of device signal sources with a preset signal source number threshold to determine the connection status of the client slave;
[0142] A first determining submodule, configured to determine that the connection state of the client slave is a standby state if the number of the device signal sources is less than or equal to the preset signal source number threshold;
[0143] The second determining submodule is configured to determine that the connection state of the client slave is an enabled state if the number of the device signal sources is greater than the preset signal source number threshold.
[0144] This embodiment determines the connection status of the client slave by comparing the number of device signal sources with a preset signal source number threshold, and can decide whether to enable the client slave according to actual needs, thereby achieving the effect of increasing revenue and reducing expenditure.
[0145] In some optional implementations of this embodiment, the first test module 304 includes a third processing submodule and a fourth processing submodule, wherein:
[0146] A third processing submodule, configured to input the first device signal data into a preset production test software for first detection processing to obtain first indicator data, wherein the first indicator data includes a signal transmission power and a sensitivity receiving function;
[0147] The fourth processing submodule is used to compare the first indicator data with a preset first indicator threshold to obtain the first signal test result.
[0148] The present application tests the signal data of the first device through preset production test software, thereby improving the accuracy of the test.
[0149] In some optional implementations of this embodiment, the second test module 305 includes a third determination submodule, a fourth determination submodule and a comparison submodule, wherein:
[0150] A third determining submodule, for when the connection state of the client secondary machine is a standby state, the second signal test result is empty;
[0151] A fourth determination submodule, for when the connection state of the client auxiliary machine is a connection state, the client auxiliary machine collects the second device signal data and inputs it into the preset production test software for second detection processing to obtain second indicator data, wherein the second indicator data includes signal transmission power and sensitivity receiving function;
[0152] The comparison submodule is used to compare the second indicator data with a preset second indicator threshold to obtain the second signal test result.
[0153] The present application tests the signal data of the second device through preset production test software, thereby improving the accuracy of the test.
[0154] In some optional implementations of this embodiment, the processing module 306 includes a fifth processing submodule, a sixth processing submodule and a seventh processing submodule, wherein:
[0155] A fifth processing submodule, configured for the client secondary machine to perform connection processing on the server host via Ethernet to obtain a second transmission link;
[0156] A sixth processing submodule, configured for the server host to perform a second acquisition process through the second transmission link to obtain a second signal test result;
[0157] The seventh processing submodule is used for the server host to integrate the first signal test result and the second signal test result to obtain the final signal test result.
[0158] In this embodiment, the server host integrates the first signal test result and the second signal test result to obtain the final signal test result, which can improve the reliability, accuracy and efficiency of the signal test.
[0159] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.
[0160] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0161] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0162] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the computer device 4. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions of the device diversion test method, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.
[0163] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run computer-readable instructions stored in the memory 41 or process data, such as computer-readable instructions for running the device diversion test method.
[0164] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
[0165] The present application provides a computer device, which obtains a device signal source sequence in a device to be detected through a comprehensive tester and then performs signal analysis processing to obtain the number of device signal sources, first device signal data and second device signal data. The server host determines the connection status of the client slave based on the number of device signal sources, and performs signal test processing on the first device signal data to obtain a first signal test result; the client slave performs signal test processing on the second device signal data based on the connection status of the client slave to obtain a second signal test result. The server host collects, integrates and processes the first signal test result and the second signal test result to obtain a final signal test result, thereby improving the test efficiency of the PC host when testing multiple wireless devices, saving test space while increasing revenue and reducing expenditure.
[0166] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the device diversion test method as described above.
[0167] The present application provides a computer-readable storage medium, which obtains a device signal source sequence in a device to be detected through a comprehensive tester and then performs signal analysis processing to obtain the number of device signal sources, first device signal data and second device signal data. The server host determines the connection status of the client slave based on the number of device signal sources, and performs signal test processing on the first device signal data to obtain a first signal test result; the client slave performs signal test processing on the second device signal data based on the connection status of the client slave to obtain a second signal test result. The server host collects and integrates the first signal test result and the second signal test result to obtain a final signal test result, thereby improving the test efficiency of the PC host when testing multiple wireless devices, saving test space while increasing revenue and reducing expenditure.
[0168] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0169] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A device diversion test method, the method is applied to a server host, a client secondary machine and a comprehensive tester, the server host is connected to the comprehensive tester via Ethernet, characterized in that: The steps include: The comprehensive tester obtains a device signal source sequence in the device to be detected, wherein the number of the device to be detected is not less than one, and the device signal source sequence includes a plurality of device signal sources, and one device signal source corresponds to one device to be detected; The comprehensive tester performs signal analysis processing on the device signal source sequence to obtain a signal analysis result, wherein the signal analysis result includes the number of device signal sources and device signal data, and the device signal data includes first device signal data and second device signal data; The server host determines the connection status of the client slave based on the number of device signal sources; The server host performs a signal test process on the first device signal data to obtain a first signal test result; The client auxiliary machine performs the signal test processing on the second device signal data based on the connection status of the client auxiliary machine to obtain a second signal test result; The server host collects and integrates the first signal test result and the second signal test result to obtain a final signal test result.
2. The device diversion test method according to claim 1, characterized in that: The device to be detected includes a wireless device and a fixture, the wireless device is fixed on the fixture, and before the comprehensive tester obtains the device signal source sequence of the device sequence to be detected, it also includes: The fixture is connected to the comprehensive tester via Ethernet to obtain a first transmission link; The fixture performs activation processing on the wireless device to obtain the device signal source; The comprehensive tester performs a first acquisition process on the device signal source based on the first transmission link to obtain the device signal source sequence.
3. The device shunt test method according to claim 1, wherein the signal analysis processing includes spectrum analysis processing and radio frequency signal analysis processing, characterized in that: The comprehensive tester performs signal analysis processing on the device signal source sequence to obtain a signal analysis result, specifically comprising: The comprehensive tester performs spectrum analysis on all the device signal sources in the device signal source sequence to obtain the number of the device signal sources; The comprehensive tester performs radio frequency signal analysis and processing on all the device signal sources in the device signal source sequence to obtain the device signal data.
4. The device diversion test method according to claim 1, characterized in that: The step of determining the connection status of the client device based on the number of device signal sources by the server host specifically includes: The server host compares the number of device signal sources with a preset signal source number threshold to determine the connection status of the client slave; If the number of the device signal sources is less than or equal to the preset signal source number threshold, determining that the connection state of the client slave is a standby state; If the number of the device signal sources is greater than the preset signal source number threshold, it is determined that the connection state of the client slave is an enabled state.
5. The device diversion test method according to claim 1, characterized in that: The step of the server host performing a signal test on the first device signal data to obtain a first signal test result also includes: Inputting the first device signal data into a preset production test software for first detection processing to obtain first indicator data, wherein the first indicator data includes signal transmission power and sensitivity receiving function; The first indicator data is compared with a preset first indicator threshold to obtain the first signal test result.
6. The device diversion test method according to claim 4, characterized in that: The step of performing the signal test processing on the second device signal data based on the connection status of the client auxiliary machine to obtain a second signal test result specifically includes: If the connection state of the client secondary machine is in standby state, the second signal test result is empty; If the connection state of the client auxiliary machine is a connection state, the client auxiliary machine collects the second device signal data and inputs it into the preset production test software for second detection processing to obtain second indicator data, wherein the second indicator data includes signal transmission power and sensitivity receiving function; The second indicator data is compared with a preset second indicator threshold to obtain the second signal test result.
7. The device diversion test method according to claim 1, characterized in that: The server host collects and integrates the first signal test result and the second signal test result to obtain a final signal test result, specifically comprising: The client secondary machine connects to the server host through Ethernet to obtain a second transmission link; The server host performs a second acquisition process through the second transmission link to obtain a second signal test result; The server host integrates the first signal test result and the second signal test result to obtain the final signal test result.
8. A device for testing equipment shunt current, characterized in that: The device comprises a server host, a client secondary machine and a comprehensive tester, wherein the server host is connected to the comprehensive tester via Ethernet, and comprises: An acquisition module, used for the comprehensive tester to acquire a device signal source sequence in the device to be detected, wherein the number of the device to be detected is not less than one, and the device signal source sequence includes a plurality of device signal sources, and one device signal source corresponds to one device to be detected; An analysis module is used for the comprehensive tester to perform signal analysis processing on the device signal source sequence to obtain a signal analysis result, wherein the signal analysis result includes the number of device signal sources and device signal data, and the device signal data includes first device signal data and second device signal data; A determination module, used for the server host to determine the connection status of the client slave based on the number of device signal sources; A first test module, used for the server host to perform signal test processing on the first device signal data to obtain a first signal test result; A second test module, configured for the client secondary machine to perform the signal test processing on the second device signal data based on the connection status of the client secondary machine to obtain a second signal test result; The processing module is used for the server host to collect and integrate the first signal test result and the second signal test result to obtain a final signal test result.
9. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the device diversion test method according to any one of claims 1 to 7 when executing the computer-readable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the device diversion test method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Ground screen shunting vector test system and method with GPS synchronization
CN105388355A
Automatic testing method and system for comprehensive test instrument
CN110429995A
WiFi throughput testing method, device and system, computer equipment and storage medium
CN112600727A
Communication equipment testing method and device, storage medium and terminal
CN112788640A
Wiring harness comprehensive testing system and method based on FPGA
CN113533838A