WO2019041319A1 - Wifi function testing method, terminal apparatus, system, and storage medium - Google Patents

Wifi function testing method, terminal apparatus, system, and storage medium Download PDF

Info

Publication number
WO2019041319A1
WO2019041319A1 PCT/CN2017/100269 CN2017100269W WO2019041319A1 WO 2019041319 A1 WO2019041319 A1 WO 2019041319A1 CN 2017100269 W CN2017100269 W CN 2017100269W WO 2019041319 A1 WO2019041319 A1 WO 2019041319A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless access
access point
mobile terminal
target mobile
wifi function
Prior art date
Application number
PCT/CN2017/100269
Other languages
French (fr)
Chinese (zh)
Inventor
贾四海
牛建民
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/100269 priority Critical patent/WO2019041319A1/en
Publication of WO2019041319A1 publication Critical patent/WO2019041319A1/en

Links

Classifications

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a WIFI function testing method, a terminal device, a system, and a storage medium.
  • the automatic test is used to send each command through the terminal device to test each functional module to obtain the test result; the test wireless network (WIreless-FIdelity, WIFI) Need to search and connect to the open WIFI hotspot to determine whether the WIFI function is normal, but often in different test environments due to the strength of the WIFI signal and the interference of other signals, so the length of the test time is not equal, the most ideal situation It takes about 8 seconds to connect once. If the test fails, it will take longer, so such a test plan is very important to affect the test efficiency of the mobile terminal.
  • WIFI WIreless-FIdelity
  • the existing solution is to start the WIFI test by the terminal device when the factory automatically tests the WIFI, wait for searching for the wireless connection point and set the timeout 30S, and the result of successfully searching for the wireless access point is judged as passing the test, and the search is not determined to be a test failure.
  • the waiting time depends on the signal quality. If the WIFI signal is not good or the connection is interfered by other signals, it means that it takes 30 seconds to test WIFI every time it is tested. This leads to high cost and serious impact. Capacity, so we need to optimize the WIFI automated test time.
  • the main purpose of the present invention is to first initiate a search for a wireless access point task when testing a target mobile terminal by using a terminal device.
  • a search wireless access point result to determine whether the WIFI function is normal, and then The technical problem that the WIFI test takes a long time in the prior art is solved.
  • the present invention provides a WIFI function test method, and the WIFI function test method includes the following steps:
  • the terminal device monitors the current production link of the target mobile terminal in real time, and when the current production link is in the testing step, generates a search wireless access point instruction according to the search wireless access point trigger condition, and sends the search wireless access point instruction to the The target mobile terminal;
  • the receiving, by the target mobile terminal, the wireless access point information according to the wireless access point information that is obtained by the search for the wireless access point, and the wireless access point information specifically:
  • the wireless access point information acquired according to the search for the wireless access point, where the wireless access point information is information obtained by the wireless access point in the background of the target mobile terminal;
  • the generating the radio access result according to the comparison result and the wireless access point attribute specifically:
  • determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result specifically:
  • the determining, according to the number of the wireless access points in the wireless access result, and the comparison result, whether the WIFI function of the target mobile terminal is normal specifically:
  • the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal.
  • the method further includes:
  • the target mobile terminal is used as a faulty mobile terminal, and a fault reminder is performed.
  • the present invention further provides a WIFI function test terminal device, where the WIFI function test terminal device includes: a memory, a processor, and a WIFI stored on the memory and operable on the processor.
  • a function test program, the WIFI function test program configured to implement the steps of the WIFI function test method as described above.
  • the present invention further provides a WIFI function test system, where the WIFI function test system includes a WIFI signal generator and the WIFI function test terminal device described above;
  • the WIFI signal generator is configured to generate a modulated WIFI signal, so that the target mobile terminal searches for the WIFI signal according to the search for a wireless access point instruction, and acquires the wireless access point information.
  • the present invention further provides a storage medium, where the WIFI function test program is stored on the storage medium, and the WIFI function test program is implemented by the processor to implement the WIFI function test method as described above. step.
  • the WIFI function test method proposed by the present invention monitors the current production link of the target mobile terminal in real time through the terminal device, and generates a search wireless access point instruction according to the trigger condition of the search wireless access point when the current production link is in the test link.
  • Sending the search wireless access point instruction to the target mobile terminal receiving the wireless access point information acquired by the target mobile terminal according to the search wireless access point instruction, and generating according to the wireless access point information
  • the result of the wireless access when the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, and saving the test WIFI function Time, improve test efficiency and production efficiency, and greatly reduce production test costs.
  • FIG. 1 is a schematic structural diagram of a WIFI function test terminal device in a hardware operating environment according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a first embodiment of a WIFI function testing method according to the present invention
  • FIG. 3 is a schematic diagram of signal generation of a WIFI signal generator in a WIFI function test system according to the present invention
  • FIG. 4 is a schematic flowchart diagram of a second embodiment of a WIFI function testing method according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a third embodiment of a WIFI function testing method according to the present invention.
  • the solution of the embodiment of the present invention is mainly: monitoring the current production link of the target mobile terminal in real time through the terminal device, and when the current production link is in the testing step, generating a search wireless access point instruction according to the trigger condition of the search wireless access point, Sending the search wireless access point command to the target mobile terminal, receiving wireless access point information acquired by the target mobile terminal according to the search wireless access point instruction, and generating wireless according to the wireless access point information
  • the result of the access when the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, and saving the waiting for testing the WIFI function. Time, the test efficiency and production efficiency are improved, the production test cost is greatly saved, and the technical problem that the WIFI test takes a long time in the prior art is solved.
  • FIG. 1 is a schematic structural diagram of a WIFI function test terminal device in a hardware operating environment according to an embodiment of the present invention.
  • the WIFI function test terminal device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the WIFI function test terminal device structure shown in FIG. 1 does not constitute a limitation on the WIFI function test terminal device, and may include more or less components than those illustrated, or combine some components. Or different parts arrangement.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a WIFI function test program.
  • the WIFI function test terminal device invokes the WIFI function test program stored in the memory 1005 through the processor 1001, and performs the following operations:
  • the terminal device monitors the current production link of the target mobile terminal in real time, and when the current production link is in the testing step, generates a search wireless access point instruction according to the search wireless access point trigger condition, and sends the search wireless access point instruction to the The target mobile terminal;
  • processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
  • the wireless access point information acquired according to the search for the wireless access point, where the wireless access point information is information obtained by the wireless access point in the background of the target mobile terminal;
  • processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
  • processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
  • processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
  • the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal.
  • processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
  • the target mobile terminal is used as a faulty mobile terminal, and a fault reminder is performed.
  • the present invention also provides a WIFI function test system, where the WIFI function test system includes a WIFI signal generator and the WIFI function test terminal device described above;
  • the WIFI signal generator is configured to generate a modulated WIFI signal, so that the target mobile terminal searches for the WIFI signal according to the search for a wireless access point instruction, and acquires the wireless access point information.
  • the current production link of the target mobile terminal is monitored in real time by the terminal device.
  • the search wireless access point command is generated according to the trigger condition of the search wireless access point, and the search wireless access is performed.
  • Sending a point command to the target mobile terminal receiving the wireless access point information acquired by the target mobile terminal according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information, when When the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, saving time waiting for testing the WIFI function, improving test efficiency and Production efficiency greatly saves production test costs.
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of a WIFI function testing method according to the present invention.
  • the WIFI function test method includes the following steps:
  • Step S10 The terminal device monitors the current production link of the target mobile terminal in real time, and when the current production link is in the testing step, generates a search wireless access point command according to the search wireless access point trigger condition, and searches the wireless access point. Sending an instruction to the target mobile terminal;
  • the terminal device may be a personal computer (PC). Including a desktop computer, an all-in-one computer, a notebook computer, a palmtop computer, a tablet computer, etc., or a large computer, and of course, other remote processing terminals and interactive terminals, etc., which is not limited in this embodiment;
  • the terminal is a mobile terminal with a WIFI function, and may be a mobile phone, a tablet computer such as an iPad, and of course, another mobile terminal having a WIFI function, which is not limited in this embodiment.
  • the terminal device monitors the current production link of the target mobile terminal in real time
  • the production link may include a design link, a motherboard assembly link, a system installation link, a test link, a packaging link, and the like, and may of course include other links.
  • the present embodiment is not limited to this; when the current production link of the target mobile terminal is in the testing process, the target mobile terminal is the mobile terminal to be detected, and the mobile terminal to be detected needs to pass multiple test links.
  • the order of the test may be a preset test sequence, the test sequence may be self-developed, or may be a test sequence that is combined with a large amount of test experience and is more suitable for the actual production law, and of course other
  • the test sequence determined by the method is not limited in this embodiment; wherein the test link includes a stress test sub-link, a drop resistance test sub-link, a high/low temperature test sub-link, a high humidity test sub-link, and a hundred-square test.
  • Sub-link torque test sub-link, static test sub-link, button life test
  • the test section, the dust test sub-link, the WIFI function test sub-link, the WiFi function test sub-link, the optical test sub-link, and the like may also include other sub-links, which are not limited in this embodiment.
  • test sub-links that need to take a long time, such as a WIFI function test sub-link and a WiFi function test sub-link, are arranged in a relatively backward manner.
  • test sub-links which are relatively short in time and can quickly obtain the test results are arranged in the comparative test process, and of course, the sequence of the test links can be customized according to the actual production requirements, and this embodiment is This is not limited.
  • the present invention further provides a WIFI function test system, where the WIFI function test system includes a WIFI signal generator and the WIFI function test terminal device described above;
  • the WIFI signal generator is configured to generate a modulated WIFI signal, so that the target mobile terminal searches for the WIFI signal according to the search for a wireless access point instruction, and acquires the wireless access point information.
  • FIG. 3 is a schematic diagram of signal generation of the WIFI signal generator in the WIFI function test system of the present invention, and the external interface is collected through the wireless gateway G1.
  • the collected external wireless connection point signal is transmitted to the active Ethernet network through the network cable 01 (Power Over Ethernet, POE) switch G2, the POE switch G2 divides the received external wireless connection point signal into multiple signals, and transmits the multiple signals to the wireless access point through the network cable 01 ( Wireless Access Point, AP) device G3, the POE switch G2 can supply power to the wireless AP device G3, and the wireless AP device G3 sends the multiple signals to the target mobile terminal 10 by wireless transmission, of course, in FIG.
  • the test environment of the illustrated WIFI functional test method does not constitute a limitation of the test environment of the WIFI functional test method, and may include more or less components than those illustrated, or combine some components, or different component arrangements, The embodiment does not limit this.
  • Step S20 receiving, by the target mobile terminal, the wireless access point information according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information;
  • the target mobile terminal timely receives a search wireless access point command sent by the terminal device to perform a search for a wireless connection point, and searches according to the searched wireless connection.
  • the point acquires corresponding wireless access point information, and the terminal device generates a wireless access result according to the wireless access point information.
  • the wireless access point operation may be searched in the background of the mobile terminal, and the wireless access point information corresponding to the searched wireless connection point is sent to the terminal device in time after searching for the wireless access point.
  • the terminal device may also monitor the search wireless access point process of the mobile terminal in real time, capture the wireless access point information in time when searching for the wireless access point, and generate wireless access according to the wireless access point information.
  • the terminal device monitors the mobile terminal's search wireless access point process in real time, and when the certain number of wireless connection points are searched, the wireless access point information of the wireless connection points is captured.
  • the wireless access point information may be used to generate the wireless access result, and the wireless access point information acquired by the mobile terminal according to the searched wireless access point instruction may be acquired by other methods, which is not limited in this embodiment. .
  • Step S30 When the current production link is in the WIFI function test sub-link of the test link, determine whether the WIFI function of the target mobile terminal is normal according to the wireless access result;
  • the wireless access result obtained before entering the test link is retrieved, and the wireless access result is determined according to the wireless access result.
  • the WIFI function of the target mobile terminal is normal, can save the time spent searching the wireless access point for searching for the wireless access point compared to the existing production process, and the WIFI function test in the test link in the current production link In the link, timely obtaining the obtained wireless access result can immediately determine whether the WIFI function of the target mobile terminal is normal according to the wireless access result, and save a lot of waiting time.
  • the terminal device detects that the production link of the target mobile terminal enters a test link and prompts to search for a wireless access point instruction, so that the target mobile terminal performs a search for a wireless access point to obtain wireless access.
  • Point information according to the wireless access point information to generate a wireless access result, the wireless access result may be pre-stored, after testing other test sub-links in the test link of the target terminal, when entering the WIFI function test sub-link, from Obtaining a pre-stored wireless access result in the storage unit or the memory, and immediately determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, without waiting for the target mobile terminal to perform a search for wireless connection Entry point.
  • the current production link of the target mobile terminal is monitored in real time by the terminal device.
  • the search wireless access point command is generated according to the trigger condition of the search wireless access point, and the search wireless access is performed.
  • Sending a point command to the target mobile terminal receiving the wireless access point information acquired by the target mobile terminal according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information, when When the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, saving time waiting for testing the WIFI function, improving test efficiency and Production efficiency greatly saves production test costs.
  • FIG. 4 is a schematic flowchart of a second embodiment of the WIFI function testing method according to the present invention.
  • the step S20 specifically includes the following steps:
  • Step S21 Receive wireless access point information acquired by the target mobile terminal according to the search for a wireless access point, where the wireless access point information is information acquired by a wireless access point in a background of the target mobile terminal. ;
  • the wireless access point information is information obtained by the wireless access point in the background of the target mobile terminal;
  • the time of other test sub-links can be temporarily suspended, and the entire test process is fully automated, without additional test procedures, saving a large number of search wireless connections.
  • the waiting time of the ingress, and does not affect the testing in other links improves the efficiency of the entire testing session; the wireless access point information obtained by searching the wireless access point in the background of the target mobile terminal can be kept in the memory or storage In the unit, when the current production link is in the WIFI function test sub-link of the test link, it is directly extracted and used.
  • the wireless access point operation may be searched in the background of the mobile terminal, and the wireless access point information corresponding to the searched wireless connection point is sent to the terminal device in time after searching for the wireless access point.
  • the terminal device may also monitor the process of searching for the wireless access point in the background of the mobile terminal in real time, and timely capture the wireless access point information when searching for the wireless access point, and generate wireless according to the wireless access point information.
  • the result of the access may of course be that the terminal device monitors the wireless access point of the mobile terminal in the background in real time, and searches for the wireless access point information of the wireless connection point when searching for a certain number of wireless connection points.
  • the wireless access point information is generated according to the wireless access point information, and the wireless access point information acquired by the mobile terminal in the background according to the search for the wireless access point is obtained by using another method. This example does not limit this.
  • Step S22 Extract the number of wireless access points and the wireless access point attribute from the wireless access point information, and compare the number of the wireless access points with a preset number;
  • the number of the wireless access points and the wireless access point attribute are extracted from the wireless access point information, where the number of the wireless access points is the wireless access searched in the wireless access point information.
  • the preset quantity may be self-developed, or may be a preset quantity that is more suitable for the actual production rule generated by combining a large amount of test experience, or may be a preset quantity pre-planned according to the current test environment, or may be in the field.
  • a comparison result between the preset number and the number of the wireless access points may be generated, and the comparison result may include The number of the wireless access points is greater than the preset number, the number of the wireless access points is less than the preset number, and the number of the wireless access points is equal to the preset number.
  • Step S23 Generate the wireless access result according to the comparison result and the wireless access point attribute.
  • the wireless access point attribute of each wireless connection point in the wireless access point information and the number of wireless access points of all wireless connection points may be determined.
  • the preset number of comparison results may be generated according to the wireless access point attribute of each wireless connection point and the number of wireless access points of all wireless connection points and the preset number of comparison results. .
  • the generating the radio access result according to the comparison result and the wireless access point attribute specifically includes:
  • the terminal device when the comparison between the number of the wireless access points and the preset number is that the number of the wireless access points is greater than or equal to the preset number, the terminal device generates a stop search wireless connection. Invoking an instruction, and transmitting the stop searching wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal stops searching for the wireless access point, and the wireless access that has been searched at this time
  • the number of points is used as the number of the first wireless access points, and the wireless access result is generated according to the number of the first wireless access points and the wireless access point attribute; when the number of the wireless access points is When the preset number of comparison results is that the number of the wireless access points is less than the preset number, the terminal device generates a persistent search wireless access point instruction, and sends the persistent search wireless access point instruction to the
  • the target mobile terminal is configured to continuously search the wireless access point in the background of the target mobile terminal, and stop searching for the wireless access point when the preset search times are reached, and the preset search times are preset searches
  • the number of times can be set to 3 times. Of course, it can be set to other times. This embodiment does not limit this. After searching for the preset number of searches, it stops searching for the wireless access point and will search for the wireless at this time.
  • the number of the access points is used as the number of the second wireless access points, and the wireless access result is generated according to the number of the second wireless access points and the wireless access point attribute;
  • the wireless access point is generally an open WIFI that can be connected without a password.
  • the preset number is generally set to be smaller than the total number of WIFI hotspots, for example, a total of 10 WIFI hotspots that can be connected without a password, the preset number is set to 1, when greater than or less than 3, it can be proved
  • the WIFI function of the target mobile terminal is normal. If the value is less than 1, the WIFI function of the target mobile terminal is abnormal.
  • the preset number can be set according to the actual test situation, which is not limited in this embodiment; The result of the comparison between the number of wireless access points and the preset number may be adjusted in time to search for a wireless access point policy.
  • the system may be proved.
  • the WIFI function of the target mobile terminal is normal, and the search for the wireless access point can be stopped in time to avoid unnecessary waste of the background resources of the mobile terminal for a long time, and of course, the wireless access point can be continuously searched until the test is detected.
  • the link is the WIFI function test sub-link
  • the search is stopped, and this embodiment does not limit this; when the number of wireless access points searched When the quantity is less than the preset number, the terminal device may indirectly indicate that the WIFI function of the target mobile terminal is abnormal or the WIFI does not temporarily search for the corresponding wireless connection point, and then the terminal device may generate a continuous search wireless access point instruction.
  • the mobile terminal continues to search for the wireless access point in the background, until the test link is detected as the WIFI function test sub-link, the search stops, and the number of wireless access points when the wireless access point is stopped is counted, of course.
  • the persistent search wireless access point instruction may not be generated, and the background search wireless access point of the target mobile terminal is directly stopped, and when the test link is detected as the WIFI function test sub-link, the search for the wireless access is stopped. In this embodiment, no limitation is imposed on this.
  • the comparison result is that the number of the wireless access points is greater than or equal to the preset number
  • sending a stop searching for a wireless access point instruction to the target mobile terminal and wirelessly Generating the wireless access result by the number of access points and the wireless access point attribute, and storing the wireless access result, where the wireless connection is performed when the test link is the WIFI function test sub-link
  • the result is taken out from the memory or the storage unit, and the WIFI function of the target mobile terminal is determined to be normal according to the wireless access result
  • the comparison result is that the number of wireless access points is less than the preset number
  • sending the target mobile terminal that stops searching for the wireless access point command value if When the current production link is in the WIFI function test sub-section of the test link, the number of wireless access points searched by the target mobile terminal is still less than the pre-predetermined When the number is not found, or when the comparison result is that the number of the wireless access points is greater than or equal to the preset number
  • the wireless access point information obtained by the target mobile terminal according to the search for a wireless access point is obtained, and the wireless access point information is obtained by using a wireless access point in the background of the target mobile terminal.
  • Information, extracting the number of wireless access points and the wireless access point attribute from the wireless access point information, comparing the number of the wireless access points with a preset number, and generating the number and location of the wireless access point The preset number of comparison results, the wireless access result is generated according to the comparison result and the wireless access point attribute, which can save a large amount of time for searching for the wireless access point, and the entire testing process is completely automated,
  • the additional test procedure does not affect the testing in other links, which improves the efficiency of the entire testing process and greatly reduces the cost of production testing.
  • FIG. 5 is a schematic flowchart of the third embodiment of the WIFI function testing method according to the present invention.
  • the step S30 specifically includes the following steps:
  • Step S31 When the current production link is in the WIFI function test sub-link of the test link, extract the wireless access result
  • the wireless access result may be pre-stored in the terminal device, and when the current production link is in the WIFI function test sub-link of the test link, the current time is from the storage unit or the memory.
  • the wireless access result is extracted;
  • Step S32 determining, according to the number of wireless access points in the wireless access result, and the comparison result, whether the WIFI function of the target mobile terminal is normal;
  • the current number of wireless access points corresponds to whether the WIFI function is normal in the comparison result or The WIFI function is abnormal, and it can be determined whether the WIFI function of the target mobile terminal is normal.
  • the determining, according to the number of the wireless access points in the wireless access result, and the comparison result, whether the WIFI function of the target mobile terminal is normal specifically includes:
  • the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal.
  • the number of the wireless access points in the wireless access result is the number of the first wireless access points, that is, the number of the wireless access points is greater than or equal to the preset number, Determining, according to the comparison result, that the WIFI function of the target mobile terminal is normal.
  • the number of wireless access points in the wireless access result is the number of the second wireless access points, according to the comparison result, Determining that the WIFI function of the target mobile terminal is abnormal.
  • the method further includes:
  • the target mobile terminal is used as a faulty mobile terminal, and a fault reminder is performed.
  • the target mobile terminal when the WIFI function of the target mobile terminal is abnormal, the target mobile terminal is regarded as a faulty mobile terminal, and a fault reminder is generated, and the fault reminder may be generating corresponding alarm information, or generating corresponding control.
  • the WIFI fault mobile terminal is taken out in time, and sent to the fault troubleshooting and repairing department for fault troubleshooting and maintenance.
  • the target mobile terminal that has determined that the WIFI function is abnormal that is, the faulty mobile terminal is centralizedly processed. When a certain amount is reached, send it to the troubleshooting and inspection department for troubleshooting and maintenance;
  • the entire testing process is fully automated, and the terminal device monitors the current production link of the target mobile terminal in real time, and extracts the wireless access result when the current production is in the WIFI function test sub-link of the testing link.
  • the terminal device determines that the WIFI function of the target mobile terminal is abnormal and performing a fault reminding
  • the terminal device generates a crawl in time Commanding
  • the faulty mobile terminal is grabbed to the designated area by the robot arm, and then the faulty mobile terminal is moved to the fault troubleshooting and repairing place by the conveyor belt to perform WIFI fault troubleshooting and maintenance, and of course, the faulty mobile terminal can be performed by other means.
  • the troubleshooting and maintenance processing are not limited in this embodiment.
  • the wireless access result is extracted, and the number of wireless access points in the wireless access result is obtained as described.
  • the embodiment of the present invention further provides a storage medium, where the WIFI function test program is stored, and when the WIFI function test program is executed by the processor, the following operations are implemented:
  • the terminal device monitors the current production link of the target mobile terminal in real time, and when the current production link is in the testing step, generates a search wireless access point instruction according to the search wireless access point trigger condition, and sends the search wireless access point instruction to the The target mobile terminal;
  • the wireless access point information acquired according to the search for the wireless access point, where the wireless access point information is information obtained by the wireless access point in the background of the target mobile terminal;
  • the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal.
  • the target mobile terminal is used as a faulty mobile terminal, and a fault reminder is performed.
  • the current production link of the target mobile terminal is monitored in real time by the terminal device.
  • the search wireless access point command is generated according to the trigger condition of the search wireless access point, and the search wireless access is performed.
  • Sending a point command to the target mobile terminal receiving the wireless access point information acquired by the target mobile terminal according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information, when When the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, saving time waiting for testing the WIFI function, improving test efficiency and Production efficiency greatly saves production test costs.

Landscapes

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

Abstract

Disclosed in the present invention are a WiFi function testing method, terminal apparatus, system, and storage medium. The present invention comprises: a terminal apparatus monitoring, in real-time, a current production stage of a target mobile terminal; if the current production stage is a testing stage, generating a wireless access point searching instruction according to a wireless access point searching trigger condition, and sending the wireless access point searching instruction to the target mobile terminal; receiving wireless access point information acquired by the target mobile terminal according to the wireless access point searching instruction, and generating a wireless access result according to the wireless access point information; and if the current production stage is a WiFi function testing sub-stage of the testing stage, then determining, according to the wireless access result, whether a WiFi function of the target mobile terminal is normal. In this way, the present invention saves waiting time for testing a WiFi function, thus improving testing and production efficiency, and significantly reducing production and testing costs.

Description

WIFI功能测试方法、终端设备、系统及存储介质  WIFI function test method, terminal device, system and storage medium
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种WIFI功能测试方法、终端设备、系统及存储介质。The present invention relates to the field of communications technologies, and in particular, to a WIFI function testing method, a terminal device, a system, and a storage medium.
背景技术Background technique
目前移动终端生产过程中需要测试移动终端各个功能模块是否正常,一般采用自动化测试通过终端设备发送命令一项一项的测试每个功能模块从而得到测试结果;测试无线网(WIreless-FIdelity,WIFI)需要搜索并连接上开放的WIFI热点来确定WIFI功能是否正常,但往往在不同的测试环境由于WIFI信号的强弱不同以及其它信号的干扰,所以导致测试时间的长短也不等,最理想的情况连接一次也得8秒左右,如果测试失败,那花费的时间将会更长,所以这样的测试方案很是影响测试效率移动终端。At present, in the production process of the mobile terminal, it is necessary to test whether the functional modules of the mobile terminal are normal. Generally, the automatic test is used to send each command through the terminal device to test each functional module to obtain the test result; the test wireless network (WIreless-FIdelity, WIFI) Need to search and connect to the open WIFI hotspot to determine whether the WIFI function is normal, but often in different test environments due to the strength of the WIFI signal and the interference of other signals, so the length of the test time is not equal, the most ideal situation It takes about 8 seconds to connect once. If the test fails, it will take longer, so such a test plan is very important to affect the test efficiency of the mobile terminal.
现有方案是工厂自动化测试WIFI的时候通过终端设备发送命令启动WIFI测试,等待搜索无线连接点并设置超时30S,成功搜索到无线接入点结果判为测试通过,没有搜索到判定为测试失败,而等待的时间根据信号好坏而定,如果WIFI信号不好或连接受到其它信号干扰那就意味着每测试一台手机需要耗费30秒在测试WIFI上,这样导致成本很高,也严重影响了产能,所以需要优化WIFI自动化测试时间。The existing solution is to start the WIFI test by the terminal device when the factory automatically tests the WIFI, wait for searching for the wireless connection point and set the timeout 30S, and the result of successfully searching for the wireless access point is judged as passing the test, and the search is not determined to be a test failure. The waiting time depends on the signal quality. If the WIFI signal is not good or the connection is interfered by other signals, it means that it takes 30 seconds to test WIFI every time it is tested. This leads to high cost and serious impact. Capacity, so we need to optimize the WIFI automated test time.
发明内容Summary of the invention
本发明的主要目的在于通过终端设备测试目标移动终端时首先启动搜索无线接入点任务,当测试完其他功能到测试WIFI功能时,直接获取搜索无线接入点结果以判断WIFI功能是否正常,进而解决了现有技术中WIFI测试耗费时间长的技术问题。The main purpose of the present invention is to first initiate a search for a wireless access point task when testing a target mobile terminal by using a terminal device. When testing other functions to test the WIFI function, directly obtain a search wireless access point result to determine whether the WIFI function is normal, and then The technical problem that the WIFI test takes a long time in the prior art is solved.
为实现上述目的,本发明提供一种WIFI功能测试方法,所述WIFI功能测试方法包括以下步骤:To achieve the above objective, the present invention provides a WIFI function test method, and the WIFI function test method includes the following steps:
终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端;The terminal device monitors the current production link of the target mobile terminal in real time, and when the current production link is in the testing step, generates a search wireless access point instruction according to the search wireless access point trigger condition, and sends the search wireless access point instruction to the The target mobile terminal;
接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果;Receiving, by the target mobile terminal, the wireless access point information according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information;
当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常。When the current production link is in the WIFI function test sub-link of the test link, it is determined whether the WIFI function of the target mobile terminal is normal according to the wireless access result.
优选地,所述接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果,具体包括:Preferably, the receiving, by the target mobile terminal, the wireless access point information according to the wireless access point information that is obtained by the search for the wireless access point, and the wireless access point information, specifically:
接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,所述无线接入点信息为在所述目标移动终端的后台通过无线接入点获取的信息;Receiving, by the target mobile terminal, the wireless access point information acquired according to the search for the wireless access point, where the wireless access point information is information obtained by the wireless access point in the background of the target mobile terminal;
从所述无线接入点信息中提取无线接入点数量和无线接入点属性,将所述无线接入点数量与预设数量进行比对;Extracting the number of wireless access points and the wireless access point attribute from the wireless access point information, and comparing the number of the wireless access points with a preset number;
根据比对结果和所述无线接入点属性生成所述无线接入结果。Generating the wireless access result according to the comparison result and the wireless access point attribute.
优选地,所述根据比对结果和所述无线接入点属性生成所述无线接入结果,具体包括:Preferably, the generating the radio access result according to the comparison result and the wireless access point attribute, specifically:
当所述比对结果为所述无线接入点数量大于或等于所述预设数量时,发送停止搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第一无线接入点数量,根据所述第一无线接入点数量和所述无线接入点属性生成所述无线接入结果;When the comparison result is that the number of the wireless access points is greater than or equal to the preset number, sending a stop searching for a wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal stops searching. a wireless access point, and the number of wireless access points when the wireless access point is stopped is used as the number of first wireless access points, and the number is generated according to the number of the first wireless access points and the wireless access point attribute. Wireless access result;
当所述比对结果为所述无线接入点数量小于所述预设数量时,发送持续搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台持续搜索无线接入点直至达到预设搜索次数时停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第二无线接入点数量,根据所述第二无线接入点数量和所述无线接入点属性生成所述无线接入结果。When the comparison result is that the number of the wireless access points is less than the preset number, sending a continuous search wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal continues to search for wireless connection Stopping the search until the preset number of searches reaches the wireless access point, and stopping the number of wireless access points when searching for the wireless access point as the number of second wireless access points, according to the number of the second wireless access points Generating the wireless access result with the wireless access point attribute.
优选地,所述当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常,具体包括:Preferably, when the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, specifically:
在所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,提取所述无线接入结果;Extracting the wireless access result when the current production link is in a WIFI function test sub-section of the test link;
根据所述无线接入结果中的无线接入点数量和所述比对结果判断所述目标移动终端的WIFI功能是否正常。Determining whether the WIFI function of the target mobile terminal is normal according to the number of wireless access points in the wireless access result and the comparison result.
优选地,所述根据所述无线接入结果中的无线接入点数量和所述比对结果判断所述目标移动终端的WIFI功能是否正常,具体包括:Preferably, the determining, according to the number of the wireless access points in the wireless access result, and the comparison result, whether the WIFI function of the target mobile terminal is normal, specifically:
当所述无线接入结果中的无线接入点数量为所述第一无线接入点数量时,判断所述目标移动终端的WIFI功能正常;When the number of the wireless access points in the wireless access result is the number of the first wireless access points, determining that the WIFI function of the target mobile terminal is normal;
当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,判断所述目标移动终端的WIFI功能异常。When the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal.
优选地,所述当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,判断所述目标移动终端的WIFI功能异常之后,所述方法还包括:Preferably, after the determining that the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal, the method further includes:
将所述目标移动终端作为故障移动终端,并进行故障提醒。The target mobile terminal is used as a faulty mobile terminal, and a fault reminder is performed.
此外,为实现上述目的,本发明还提出一种WIFI功能测试终端设备,所述WIFI功能测试终端设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的WIFI功能测试程序,所述WIFI功能测试程序配置为实现如上文所述的WIFI功能测试方法的步骤。In addition, in order to achieve the above object, the present invention further provides a WIFI function test terminal device, where the WIFI function test terminal device includes: a memory, a processor, and a WIFI stored on the memory and operable on the processor. A function test program, the WIFI function test program configured to implement the steps of the WIFI function test method as described above.
此外,为实现上述目的,本发明还提出一种WIFI功能测试系统,所述WIFI功能测试系统包括WIFI信号发生器和上文所述的WIFI功能测试终端设备;In addition, in order to achieve the above object, the present invention further provides a WIFI function test system, where the WIFI function test system includes a WIFI signal generator and the WIFI function test terminal device described above;
所述WIFI信号发生器,用于产生经过调制后的WIFI信号,以使所述目标移动终端根据所述搜索无线接入点指令搜索所述WIFI信号,获取所述无线接入点信息。The WIFI signal generator is configured to generate a modulated WIFI signal, so that the target mobile terminal searches for the WIFI signal according to the search for a wireless access point instruction, and acquires the wireless access point information.
此外,为实现上述目的,本发明还提出一种存储介质,所述存储介质上存储有WIFI功能测试程序,所述WIFI功能测试程序被处理器执行时实现如上文所述的WIFI功能测试方法的步骤。In addition, in order to achieve the above object, the present invention further provides a storage medium, where the WIFI function test program is stored on the storage medium, and the WIFI function test program is implemented by the processor to implement the WIFI function test method as described above. step.
本发明提出的WIFI功能测试方法,本发明通过终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端,接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果,当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常,能够节省测试WIFI功能时等待的时间,提高了测试效率和生产效率,大大节约了生产测试成本。The WIFI function test method proposed by the present invention, the present invention monitors the current production link of the target mobile terminal in real time through the terminal device, and generates a search wireless access point instruction according to the trigger condition of the search wireless access point when the current production link is in the test link. Sending the search wireless access point instruction to the target mobile terminal, receiving the wireless access point information acquired by the target mobile terminal according to the search wireless access point instruction, and generating according to the wireless access point information The result of the wireless access, when the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, and saving the test WIFI function Time, improve test efficiency and production efficiency, and greatly reduce production test costs.
附图说明DRAWINGS
图1为本发明实施例方案涉及的硬件运行环境的WIFI功能测试终端设备结构示意图;1 is a schematic structural diagram of a WIFI function test terminal device in a hardware operating environment according to an embodiment of the present invention;
图2为本发明WIFI功能测试方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a WIFI function testing method according to the present invention;
图3为本发明WIFI功能测试系统中WIFI信号发生器的信号产生示意图;3 is a schematic diagram of signal generation of a WIFI signal generator in a WIFI function test system according to the present invention;
图4为本发明WIFI功能测试方法第二实施例的流程示意图;4 is a schematic flowchart diagram of a second embodiment of a WIFI function testing method according to the present invention;
图5为本发明WIFI功能测试方法第三实施例的流程示意图。FIG. 5 is a schematic flowchart diagram of a third embodiment of a WIFI function testing method according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的解决方案主要是:通过终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端,接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果,当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常,能够节省测试WIFI功能时等待的时间,提高了测试效率和生产效率,大大节约了生产测试成本,进而解决了现有技术中WIFI测试耗费时间长的技术问题。The solution of the embodiment of the present invention is mainly: monitoring the current production link of the target mobile terminal in real time through the terminal device, and when the current production link is in the testing step, generating a search wireless access point instruction according to the trigger condition of the search wireless access point, Sending the search wireless access point command to the target mobile terminal, receiving wireless access point information acquired by the target mobile terminal according to the search wireless access point instruction, and generating wireless according to the wireless access point information The result of the access, when the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, and saving the waiting for testing the WIFI function. Time, the test efficiency and production efficiency are improved, the production test cost is greatly saved, and the technical problem that the WIFI test takes a long time in the prior art is solved.
参照图1,图1为本发明实施例方案涉及的硬件运行环境的WIFI功能测试终端设备结构示意图。如图1所示,该WIFI功能测试终端设备可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。Referring to FIG. 1, FIG. 1 is a schematic structural diagram of a WIFI function test terminal device in a hardware operating environment according to an embodiment of the present invention. As shown in FIG. 1, the WIFI function test terminal device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
本领域技术人员可以理解,图1中示出的WIFI功能测试终端设备结构并不构成对WIFI功能测试终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It can be understood by those skilled in the art that the WIFI function test terminal device structure shown in FIG. 1 does not constitute a limitation on the WIFI function test terminal device, and may include more or less components than those illustrated, or combine some components. Or different parts arrangement.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及WIFI功能测试程序。As shown in FIG. 1, a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a WIFI function test program.
所述WIFI功能测试终端设备通过处理器1001调用存储器1005中存储的WIFI功能测试程序,并执行以下操作:The WIFI function test terminal device invokes the WIFI function test program stored in the memory 1005 through the processor 1001, and performs the following operations:
终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端;The terminal device monitors the current production link of the target mobile terminal in real time, and when the current production link is in the testing step, generates a search wireless access point instruction according to the search wireless access point trigger condition, and sends the search wireless access point instruction to the The target mobile terminal;
接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果;Receiving, by the target mobile terminal, the wireless access point information according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information;
当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常。When the current production link is in the WIFI function test sub-link of the test link, it is determined whether the WIFI function of the target mobile terminal is normal according to the wireless access result.
进一步地,处理器1001可以调用存储器1005中存储的WIFI功能测试程序,还执行以下操作:Further, the processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,所述无线接入点信息为在所述目标移动终端的后台通过无线接入点获取的信息;Receiving, by the target mobile terminal, the wireless access point information acquired according to the search for the wireless access point, where the wireless access point information is information obtained by the wireless access point in the background of the target mobile terminal;
从所述无线接入点信息中提取无线接入点数量和无线接入点属性,将所述无线接入点数量与预设数量进行比对;Extracting the number of wireless access points and the wireless access point attribute from the wireless access point information, and comparing the number of the wireless access points with a preset number;
根据比对结果和所述无线接入点属性生成所述无线接入结果。Generating the wireless access result according to the comparison result and the wireless access point attribute.
进一步地,处理器1001可以调用存储器1005中存储的WIFI功能测试程序,还执行以下操作:Further, the processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
当所述比对结果为所述无线接入点数量大于或等于所述预设数量时,发送停止搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第一无线接入点数量,根据所述第一无线接入点数量和所述无线接入点属性生成所述无线接入结果;When the comparison result is that the number of the wireless access points is greater than or equal to the preset number, sending a stop searching for a wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal stops searching. a wireless access point, and the number of wireless access points when the wireless access point is stopped is used as the number of first wireless access points, and the number is generated according to the number of the first wireless access points and the wireless access point attribute. Wireless access result;
当所述比对结果为所述无线接入点数量小于所述预设数量时,发送持续搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台持续搜索无线接入点直至达到预设搜索次数时停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第二无线接入点数量,根据所述第二无线接入点数量和所述无线接入点属性生成所述无线接入结果。When the comparison result is that the number of the wireless access points is less than the preset number, sending a continuous search wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal continues to search for wireless connection Stopping the search until the preset number of searches reaches the wireless access point, and stopping the number of wireless access points when searching for the wireless access point as the number of second wireless access points, according to the number of the second wireless access points Generating the wireless access result with the wireless access point attribute.
进一步地,处理器1001可以调用存储器1005中存储的WIFI功能测试程序,还执行以下操作:Further, the processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
在所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,提取所述无线接入结果;Extracting the wireless access result when the current production link is in a WIFI function test sub-section of the test link;
根据所述无线接入结果中的无线接入点数量和所述比对结果判断所述目标移动终端的WIFI功能是否正常。Determining whether the WIFI function of the target mobile terminal is normal according to the number of wireless access points in the wireless access result and the comparison result.
进一步地,处理器1001可以调用存储器1005中存储的WIFI功能测试程序,还执行以下操作:Further, the processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
当所述无线接入结果中的无线接入点数量为所述第一无线接入点数量时,判断所述目标移动终端的WIFI功能正常;When the number of the wireless access points in the wireless access result is the number of the first wireless access points, determining that the WIFI function of the target mobile terminal is normal;
当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,判断所述目标移动终端的WIFI功能异常。When the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal.
进一步地,处理器1001可以调用存储器1005中存储的WIFI功能测试程序,还执行以下操作:Further, the processor 1001 may call the WIFI function test program stored in the memory 1005, and further perform the following operations:
将所述目标移动终端作为故障移动终端,并进行故障提醒。The target mobile terminal is used as a faulty mobile terminal, and a fault reminder is performed.
此外,本发明还提出一种WIFI功能测试系统,所述WIFI功能测试系统包括WIFI信号发生器和上文所述的WIFI功能测试终端设备;In addition, the present invention also provides a WIFI function test system, where the WIFI function test system includes a WIFI signal generator and the WIFI function test terminal device described above;
所述WIFI信号发生器,用于产生经过调制后的WIFI信号,以使所述目标移动终端根据所述搜索无线接入点指令搜索所述WIFI信号,获取所述无线接入点信息。The WIFI signal generator is configured to generate a modulated WIFI signal, so that the target mobile terminal searches for the WIFI signal according to the search for a wireless access point instruction, and acquires the wireless access point information.
本实施例通过终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端,接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果,当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常,能够节省测试WIFI功能时等待的时间,提高了测试效率和生产效率,大大节约了生产测试成本。In this embodiment, the current production link of the target mobile terminal is monitored in real time by the terminal device. When the current production link is in the testing process, the search wireless access point command is generated according to the trigger condition of the search wireless access point, and the search wireless access is performed. Sending a point command to the target mobile terminal, receiving the wireless access point information acquired by the target mobile terminal according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information, when When the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, saving time waiting for testing the WIFI function, improving test efficiency and Production efficiency greatly saves production test costs.
基于上述硬件结构,提出本发明WIFI功能测试方法实施例。Based on the above hardware structure, an embodiment of the WIFI function test method of the present invention is proposed.
参照图2,图2为本发明WIFI功能测试方法第一实施例的流程示意图。Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a first embodiment of a WIFI function testing method according to the present invention.
在第一实施例中,所述WIFI功能测试方法包括以下步骤:In the first embodiment, the WIFI function test method includes the following steps:
步骤S10、终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端;Step S10: The terminal device monitors the current production link of the target mobile terminal in real time, and when the current production link is in the testing step, generates a search wireless access point command according to the search wireless access point trigger condition, and searches the wireless access point. Sending an instruction to the target mobile terminal;
需要说明的是,所述终端设备可以是个人计算机(personal computer,PC) 包括台式机、一体机、笔记本电脑、掌上电脑和平板电脑等,也可以是大型计算机,当然还可以是其他远程处理终端和交互式终端等,本实施例对此不加以限制;所述目标移动终端为WIFI功能的移动终端,可以是手机,也可以平板电脑比如iPad,当然还可以是其他具有WIFI功能的移动终端,本实施例对此不加以限制。It should be noted that the terminal device may be a personal computer (PC). Including a desktop computer, an all-in-one computer, a notebook computer, a palmtop computer, a tablet computer, etc., or a large computer, and of course, other remote processing terminals and interactive terminals, etc., which is not limited in this embodiment; The terminal is a mobile terminal with a WIFI function, and may be a mobile phone, a tablet computer such as an iPad, and of course, another mobile terminal having a WIFI function, which is not limited in this embodiment.
可以理解的是,所述终端设备实时监测目标移动终端的当前生产环节,所述生产环节可以包括设计环节、主板装配环节、系统装机环节、测试环节和包装环节等等,当然还可以包括其他环节,本实施例对此并不加以限制;当所述目标移动终端的当前生产环节处于测试环节时,所述目标移动终端即为待检测移动终端,所述待检测移动终端需要经过多个测试环节的测试,测试的顺序可以是预先设定的测试顺序,所述测试顺序可以是自行拟定的,也可以是结合大量的测试经验生成的比较适用于实际生产规律的测试顺序,当然还可以是其他方式确定的测试顺序,本实施例对此不加以限制;其中,所述测试环节包括压力测试子环节、抗摔性测试子环节、高/低温测试子环节、高湿度测试子环节、百格测试子环节、扭矩测试子环节、静电测试子环节、按键寿命测试子环节、沙尘测试子环节、WIFI功能测试子环节、WiFi功能测试子环节和光学测试子环节等等,当然还可以包括其他子环节,本实施例对此并不加以限制。It can be understood that the terminal device monitors the current production link of the target mobile terminal in real time, and the production link may include a design link, a motherboard assembly link, a system installation link, a test link, a packaging link, and the like, and may of course include other links. The present embodiment is not limited to this; when the current production link of the target mobile terminal is in the testing process, the target mobile terminal is the mobile terminal to be detected, and the mobile terminal to be detected needs to pass multiple test links. Test, the order of the test may be a preset test sequence, the test sequence may be self-developed, or may be a test sequence that is combined with a large amount of test experience and is more suitable for the actual production law, and of course other The test sequence determined by the method is not limited in this embodiment; wherein the test link includes a stress test sub-link, a drop resistance test sub-link, a high/low temperature test sub-link, a high humidity test sub-link, and a hundred-square test. Sub-link, torque test sub-link, static test sub-link, button life test The test section, the dust test sub-link, the WIFI function test sub-link, the WiFi function test sub-link, the optical test sub-link, and the like, of course, may also include other sub-links, which are not limited in this embodiment.
在具体实现中,在所述目标移动终端的当前生产环节处于测试环节时,一般是将一些需要耗时比较长的测试子环节例如WIFI功能测试子环节和WiFi功能测试子环节安排在比较靠后的测试工序中,将耗时比较短能够快速获取测试结果的测试子环节安排在比较靠前的测试工序中,当然也可以是根据实际生产需求自定义安排测试环节的先后顺序,本实施例对此不加以限制。In a specific implementation, when the current production link of the target mobile terminal is in a testing process, generally, some test sub-links that need to take a long time, such as a WIFI function test sub-link and a WiFi function test sub-link, are arranged in a relatively backward manner. In the test process, the test sub-links which are relatively short in time and can quickly obtain the test results are arranged in the comparative test process, and of course, the sequence of the test links can be customized according to the actual production requirements, and this embodiment is This is not limited.
相应地,本发明还提出一种WIFI功能测试系统,所述WIFI功能测试系统包括WIFI信号发生器和上文所述的WIFI功能测试终端设备;Correspondingly, the present invention further provides a WIFI function test system, where the WIFI function test system includes a WIFI signal generator and the WIFI function test terminal device described above;
所述WIFI信号发生器,用于产生经过调制后的WIFI信号,以使所述目标移动终端根据所述搜索无线接入点指令搜索所述WIFI信号,获取所述无线接入点信息。The WIFI signal generator is configured to generate a modulated WIFI signal, so that the target mobile terminal searches for the WIFI signal according to the search for a wireless access point instruction, and acquires the wireless access point information.
需要说明的是,所述WIFI信号发生器产生经过调制后的WIFI信号,以使所述目标移动终端根据所述搜索无线接入点指令搜索所述WIFI信号,获取所述无线接入点信息,有助于所述目标移动终端在所述测试环境中快速检测WIFI功能,如图3所示,图3为本发明WIFI功能测试系统中WIFI信号发生器的信号产生示意图,通过无线网关G1采集外部无线连接点信号,通过网线01将采集到的外部无线连接点信号传输至有源以太网(Power Over Ethernet,POE)交换机G2,所述POE交换机G2将接收到的所述外部无线连接点信号均分为多路信号,并通过网线01将所述多路信号发送至所述无线访问接入点(Wireless Access Point,AP)设备G3,所述POE交换机G2可以为所述无线AP设备G3供电,所述无线AP设备G3将所述多路信号通过无线传输发送至所述目标移动终端10,当然图3中示出的WIFI功能测试方法的测试环境并不构成对WIFI功能测试方法的测试环境的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,本实施例对此不加以限制。It should be noted that the WIFI signal generator generates a modulated WIFI signal, so that the target mobile terminal searches for the WIFI signal according to the search for a wireless access point instruction, and acquires the wireless access point information. The mobile terminal can quickly detect the WIFI function in the test environment, as shown in FIG. 3, FIG. 3 is a schematic diagram of signal generation of the WIFI signal generator in the WIFI function test system of the present invention, and the external interface is collected through the wireless gateway G1. Wireless connection point signal, the collected external wireless connection point signal is transmitted to the active Ethernet network through the network cable 01 (Power Over Ethernet, POE) switch G2, the POE switch G2 divides the received external wireless connection point signal into multiple signals, and transmits the multiple signals to the wireless access point through the network cable 01 ( Wireless Access Point, AP) device G3, the POE switch G2 can supply power to the wireless AP device G3, and the wireless AP device G3 sends the multiple signals to the target mobile terminal 10 by wireless transmission, of course, in FIG. The test environment of the illustrated WIFI functional test method does not constitute a limitation of the test environment of the WIFI functional test method, and may include more or less components than those illustrated, or combine some components, or different component arrangements, The embodiment does not limit this.
步骤S20、接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果;Step S20, receiving, by the target mobile terminal, the wireless access point information according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information;
需要说明的是,所述目标移动终端在所述当前生产环节为测试环节时及时接收所述终端设备发送的搜索无线接入点指令进行搜索无线连接点的操作,搜索后根据搜索到的无线连接点获取相应的无线接入点信息,所述终端设备根据所述无线接入点信息生成无线接入结果。It should be noted that, when the current production link is a test link, the target mobile terminal timely receives a search wireless access point command sent by the terminal device to perform a search for a wireless connection point, and searches according to the searched wireless connection. The point acquires corresponding wireless access point information, and the terminal device generates a wireless access result according to the wireless access point information.
在具体实现中,可以在所述移动终端的后台进行搜索无线接入点操作,当搜索无线接入点结束后及时将搜索到的无线连接点对应的无线接入点信息发送至所述终端设备,也可以是终端设备实时监控所述移动终端的搜索无线接入点过程,当搜索无线接入点结束时及时抓取无线接入点信息,并根据所述无线接入点信息生成无线接入结果,当然还可以是所述终端设备实时监控所述移动终端的搜索无线接入点过程当搜索到一定数量的无线连接点时将这些无线连接点的无线接入点信息进行抓取,根据所述无线接入点信息生成所述无线接入结果,也可以是通过其他方式获取所述移动终端根据所述搜索无线接入点指令获取的无线接入点信息,本实施例对此不加以限制。In a specific implementation, the wireless access point operation may be searched in the background of the mobile terminal, and the wireless access point information corresponding to the searched wireless connection point is sent to the terminal device in time after searching for the wireless access point. The terminal device may also monitor the search wireless access point process of the mobile terminal in real time, capture the wireless access point information in time when searching for the wireless access point, and generate wireless access according to the wireless access point information. As a result, it is of course possible that the terminal device monitors the mobile terminal's search wireless access point process in real time, and when the certain number of wireless connection points are searched, the wireless access point information of the wireless connection points is captured. The wireless access point information may be used to generate the wireless access result, and the wireless access point information acquired by the mobile terminal according to the searched wireless access point instruction may be acquired by other methods, which is not limited in this embodiment. .
步骤S30、当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常;Step S30: When the current production link is in the WIFI function test sub-link of the test link, determine whether the WIFI function of the target mobile terminal is normal according to the wireless access result;
应当理解的是,当所述生产环节处于所述测试环节中的WIFI功能测试子环节时,调取之前在刚进入测试环节时获取的无线接入结果,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常,能够相较于现有的生产流程节省了在搜索无线接入点等待搜索无线接入点所花费的时间,在当前生产环节处于测试环节中的WIFI功能测试子环节时,及时获取已经获得的无线接入结果能够立刻根据所述无线接入结果对所述目标移动终端的WIFI功能是否正常进行判定,节省了大量等待时间。It should be understood that, when the production link is in the WIFI function test sub-section in the testing step, the wireless access result obtained before entering the test link is retrieved, and the wireless access result is determined according to the wireless access result. Whether the WIFI function of the target mobile terminal is normal, can save the time spent searching the wireless access point for searching for the wireless access point compared to the existing production process, and the WIFI function test in the test link in the current production link In the link, timely obtaining the obtained wireless access result can immediately determine whether the WIFI function of the target mobile terminal is normal according to the wireless access result, and save a lot of waiting time.
在具体实现中,所述终端设备监测到所述目标移动终端的生产环节进入测试环节时及时触发搜索无线接入点指令,以使所述目标移动终端进行搜索无线接入点操作获取无线接入点信息,根据无线接入点信息生成无线接入结果,可以将无线接入结果预先存储起来,在所述目标终端的测试环节测试完其他测试子环节后,进入WIFI功能测试子环节时,从存储单元或存储器中获取预先存储起来的无线接入结果,立刻根据所述无线接入结果对所述目标移动终端的WIFI功能是否正常进行判定,而不用重新等待所述目标移动终端进行搜索无线接入点。In a specific implementation, the terminal device detects that the production link of the target mobile terminal enters a test link and prompts to search for a wireless access point instruction, so that the target mobile terminal performs a search for a wireless access point to obtain wireless access. Point information, according to the wireless access point information to generate a wireless access result, the wireless access result may be pre-stored, after testing other test sub-links in the test link of the target terminal, when entering the WIFI function test sub-link, from Obtaining a pre-stored wireless access result in the storage unit or the memory, and immediately determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, without waiting for the target mobile terminal to perform a search for wireless connection Entry point.
本实施例通过终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端,接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果,当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常,能够节省测试WIFI功能时等待的时间,提高了测试效率和生产效率,大大节约了生产测试成本。In this embodiment, the current production link of the target mobile terminal is monitored in real time by the terminal device. When the current production link is in the testing process, the search wireless access point command is generated according to the trigger condition of the search wireless access point, and the search wireless access is performed. Sending a point command to the target mobile terminal, receiving the wireless access point information acquired by the target mobile terminal according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information, when When the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, saving time waiting for testing the WIFI function, improving test efficiency and Production efficiency greatly saves production test costs.
进一步地,如图4所示,基于第一实施例提出本发明WIFI功能测试方法的第二实施例;图4为本发明WIFI功能测试方法第二实施例的流程示意图,参照图4,在本实施例中,所述步骤S20具体包括步骤:Further, as shown in FIG. 4, a second embodiment of the WIFI function testing method of the present invention is proposed based on the first embodiment. FIG. 4 is a schematic flowchart of a second embodiment of the WIFI function testing method according to the present invention. In an embodiment, the step S20 specifically includes the following steps:
步骤S21、接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,所述无线接入点信息为在所述目标移动终端的后台通过无线接入点获取的信息;Step S21: Receive wireless access point information acquired by the target mobile terminal according to the search for a wireless access point, where the wireless access point information is information acquired by a wireless access point in a background of the target mobile terminal. ;
需要说明的是,所述目标移动终端的所述当前生产环节处于测试环节时,接收所述终端设备发送的搜索无线接入点指令,根据所述搜索无线接入点指令获取无线接入点信息,所述无线接入点信息为在所述目标移动终端的后台通过无线接入点获取的信息;It should be noted that, when the current production link of the target mobile terminal is in a testing step, receiving a search wireless access point command sent by the terminal device, and acquiring wireless access point information according to the search wireless access point instruction. The wireless access point information is information obtained by the wireless access point in the background of the target mobile terminal;
可以理解的是,通过在所述移动终端的后台进行搜索无线接入点操作,可以不暂用其他测试子环节的时间,且整个测试过程全部自动化,不用额外增加测试工序,节省大量搜索无线接入点等待的时间,并且不影响在其他环节的测试,提高了整个测试环节的效率;在所述目标移动终端的后台通过搜索无线接入点获取的无线接入点信息可以保持在存储器或存储单元中,以待在所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,直接提取出来使用。It can be understood that by searching for the wireless access point operation in the background of the mobile terminal, the time of other test sub-links can be temporarily suspended, and the entire test process is fully automated, without additional test procedures, saving a large number of search wireless connections. The waiting time of the ingress, and does not affect the testing in other links, improves the efficiency of the entire testing session; the wireless access point information obtained by searching the wireless access point in the background of the target mobile terminal can be kept in the memory or storage In the unit, when the current production link is in the WIFI function test sub-link of the test link, it is directly extracted and used.
在具体实现中,可以在所述移动终端的后台进行搜索无线接入点操作,当搜索无线接入点结束后及时将搜索到的无线连接点对应的无线接入点信息发送至所述终端设备,也可以是终端设备实时监控所述移动终端在后台的搜索无线接入点过程,当搜索无线接入点结束时及时抓取无线接入点信息,并根据所述无线接入点信息生成无线接入结果,当然还可以是所述终端设备实时监控所述移动终端在后台的搜索无线接入点过程当搜索到一定数量的无线连接点时将这些无线连接点的无线接入点信息进行抓取,根据所述无线接入点信息生成所述无线接入结果,也可以是通过其他方式获取所述移动终端根据所述搜索无线接入点指令在后台获取的无线接入点信息,本实施例对此不加以限制。In a specific implementation, the wireless access point operation may be searched in the background of the mobile terminal, and the wireless access point information corresponding to the searched wireless connection point is sent to the terminal device in time after searching for the wireless access point. The terminal device may also monitor the process of searching for the wireless access point in the background of the mobile terminal in real time, and timely capture the wireless access point information when searching for the wireless access point, and generate wireless according to the wireless access point information. The result of the access may of course be that the terminal device monitors the wireless access point of the mobile terminal in the background in real time, and searches for the wireless access point information of the wireless connection point when searching for a certain number of wireless connection points. The wireless access point information is generated according to the wireless access point information, and the wireless access point information acquired by the mobile terminal in the background according to the search for the wireless access point is obtained by using another method. This example does not limit this.
步骤S22、从所述无线接入点信息中提取无线接入点数量和无线接入点属性,将所述无线接入点数量与预设数量进行比对;Step S22: Extract the number of wireless access points and the wireless access point attribute from the wireless access point information, and compare the number of the wireless access points with a preset number;
需要说明的是,从所述无线接入点信息中提取无线接入点数量和无线接入点属性,所述无线接入点数量即为所述无线接入点信息中搜索到的无线接入点数量,所述无线接入点属性为所述无线接入点信息中搜索到的无线接入点属性,所述预设数量为预先设定的预先设定的无线接入点数量,所述预设数量可以是自行拟定的,也可以是结合大量的测试经验生成的比较适用于实际生产规律的预设数量,还可以是根据当前测试环境进行预先规划的预设数量,也可以是本领域技术人员根据大量实验数据分析出的一个固定的预设数量范围或者多个可调的预设数量范围,当然还可以是其他方式确定的预设数量,本实施例对此不加以限制。It is to be noted that the number of the wireless access points and the wireless access point attribute are extracted from the wireless access point information, where the number of the wireless access points is the wireless access searched in the wireless access point information. a number of points, where the wireless access point attribute is a wireless access point attribute searched in the wireless access point information, where the preset quantity is a preset preset number of wireless access points, The preset quantity may be self-developed, or may be a preset quantity that is more suitable for the actual production rule generated by combining a large amount of test experience, or may be a preset quantity pre-planned according to the current test environment, or may be in the field. A fixed preset number range or a plurality of adjustable preset quantity ranges that are analyzed by a plurality of experimental data, and of course, may be other predetermined manners, which is not limited in this embodiment.
可以理解的是,将所述无线接入点数量与所述预设数量进行比对后,可生成预设数量与所述无线接入点数量的比对结果,所述比对结果可以包括所述无线接入点数量大于所述预设数量,所述无线接入点数量小于所述预设数量,所述无线接入点数量等于所述预设数量。It can be understood that, after the number of the wireless access points is compared with the preset number, a comparison result between the preset number and the number of the wireless access points may be generated, and the comparison result may include The number of the wireless access points is greater than the preset number, the number of the wireless access points is less than the preset number, and the number of the wireless access points is equal to the preset number.
步骤S23、根据比对结果和所述无线接入点属性生成所述无线接入结果。Step S23: Generate the wireless access result according to the comparison result and the wireless access point attribute.
应当理解的是,根据所述对比关系和所述无线接入点属性可以确定所述无线接入点信息中各个无线连接点的无线接入点属性和所有无线连接点的无线接入点数量与所述预设数量的比对结果,根据各个无线连接点的无线接入点属性和所有无线连接点的无线接入点数量与所述预设数量的比对结果可以生成所述无线接入结果。It should be understood that, according to the comparison relationship and the wireless access point attribute, the wireless access point attribute of each wireless connection point in the wireless access point information and the number of wireless access points of all wireless connection points may be determined. The preset number of comparison results may be generated according to the wireless access point attribute of each wireless connection point and the number of wireless access points of all wireless connection points and the preset number of comparison results. .
进一步地,所述根据比对结果和所述无线接入点属性生成所述无线接入结果,具体包括:Further, the generating the radio access result according to the comparison result and the wireless access point attribute specifically includes:
当所述比对结果为所述无线接入点数量大于或等于所述预设数量时,发送停止搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第一无线接入点数量,根据所述第一无线接入点数量和所述无线接入点属性生成所述无线接入结果;When the comparison result is that the number of the wireless access points is greater than or equal to the preset number, sending a stop searching for a wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal stops searching. a wireless access point, and the number of wireless access points when the wireless access point is stopped is used as the number of first wireless access points, and the number is generated according to the number of the first wireless access points and the wireless access point attribute. Wireless access result;
当所述比对结果为所述无线接入点数量小于所述预设数量时,发送持续搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台持续搜索无线接入点直至达到预设搜索次数时停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第二无线接入点数量,根据所述第二无线接入点数量和所述无线接入点属性生成所述无线接入结果。When the comparison result is that the number of the wireless access points is less than the preset number, sending a continuous search wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal continues to search for wireless connection Stopping the search until the preset number of searches reaches the wireless access point, and stopping the number of wireless access points when searching for the wireless access point as the number of second wireless access points, according to the number of the second wireless access points Generating the wireless access result with the wireless access point attribute.
需要说明的是,当所述无线接入点数量与所述预设数量的比对结果为所述无线接入点数量大于或等于所述预设数量时,所述终端设备生成停止搜索无线接入点指令,并将所述停止搜索无线接入点指令发送至所述目标移动终端,以使所述目标移动终端的后台停止搜索无线接入点,并将此时已经搜索到的无线接入点数量作为所述第一无线接入点数量,根据所述第一无线接入点数量和所述无线接入点属性生成所述无线接入结果;当所述无线接入点数量与所述预设数量的比对结果为所述无线接入点数量小于所述预设数量时,所述终端设备生成持续搜索无线接入点指令,并将所述持续搜索无线接入点指令发送至所述目标移动终端,以使所述目标移动终端的后台持续搜索无线接入点,直至达到预设搜索次数时停止搜索无线接入点,预设搜索次数为预先设置的搜索次数,一般可以设置为3次,当然也可以设置为其他次数,本实施例对此不加以限制,搜索到所述预设搜索次数后停止搜索无线接入点并将此时已经搜索到的无线接入点数量作为所述第二无线接入点数量,根据所述第二无线接入点数量和所述无线接入点属性生成所述无线接入结果;It should be noted that, when the comparison between the number of the wireless access points and the preset number is that the number of the wireless access points is greater than or equal to the preset number, the terminal device generates a stop search wireless connection. Invoking an instruction, and transmitting the stop searching wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal stops searching for the wireless access point, and the wireless access that has been searched at this time The number of points is used as the number of the first wireless access points, and the wireless access result is generated according to the number of the first wireless access points and the wireless access point attribute; when the number of the wireless access points is When the preset number of comparison results is that the number of the wireless access points is less than the preset number, the terminal device generates a persistent search wireless access point instruction, and sends the persistent search wireless access point instruction to the The target mobile terminal is configured to continuously search the wireless access point in the background of the target mobile terminal, and stop searching for the wireless access point when the preset search times are reached, and the preset search times are preset searches. The number of times can be set to 3 times. Of course, it can be set to other times. This embodiment does not limit this. After searching for the preset number of searches, it stops searching for the wireless access point and will search for the wireless at this time. The number of the access points is used as the number of the second wireless access points, and the wireless access result is generated according to the number of the second wireless access points and the wireless access point attribute;
可以理解的是,所述无线接入点一般为开放的不需要密码就可以连接的WIFI 热点,所述预设数量一般设置为小于WIFI热点的总数,例如一共有10个不需要密码就可以连接的WIFI热点,所述预设数量设置为1,当大于或小于3时,即可证明所述目标移动终端的WIFI功能正常,若小于1则证明所述目标移动终端的WIFI功能异常,当然所述预设数量可以根据实际测试情况自行设置,本实施例对此不加以限制;根据所述无线接入点数量与所述预设数量的比对结果可以及时调整搜索无线接入点策略,当搜索到的无线接入点数量已经大于或等于所述预设数量时,即可以证明所述目标移动终端的WIFI功能正常,可以及时停止搜索无线接入点,避免长时间占用所述移动终端的后台资源造成不必要的浪费,当然也可以继续搜索无线接入点直至监测到所述测试环节为所述WIFI功能测试子环节时停止搜索,本实施例对此不加以限制;当搜索到的无线接入点数量小于所述预设数量时,即可以间接表明所述目标移动终端的WIFI功能异常或者WIFI暂时未搜索到相应的无线连接点,则此时所述终端设备可以生成持续搜索无线接入点指令时所述移动终端后台持续进行搜索无线接入点,直至监测到所述测试环节为所述WIFI功能测试子环节时停止搜索,统计停止搜索无线接入点时的无线接入点数量,当然也可以不生成所述持续搜索无线接入点指令,直接时所述目标移动终端的后台搜索无线接入点,当监测到所述测试环节为所述WIFI功能测试子环节时再停止搜索无线接入点,本实施例对此不加以限制。It can be understood that the wireless access point is generally an open WIFI that can be connected without a password. For hotspots, the preset number is generally set to be smaller than the total number of WIFI hotspots, for example, a total of 10 WIFI hotspots that can be connected without a password, the preset number is set to 1, when greater than or less than 3, it can be proved The WIFI function of the target mobile terminal is normal. If the value is less than 1, the WIFI function of the target mobile terminal is abnormal. The preset number can be set according to the actual test situation, which is not limited in this embodiment; The result of the comparison between the number of wireless access points and the preset number may be adjusted in time to search for a wireless access point policy. When the number of searched wireless access points is greater than or equal to the preset number, the system may be proved. The WIFI function of the target mobile terminal is normal, and the search for the wireless access point can be stopped in time to avoid unnecessary waste of the background resources of the mobile terminal for a long time, and of course, the wireless access point can be continuously searched until the test is detected. When the link is the WIFI function test sub-link, the search is stopped, and this embodiment does not limit this; when the number of wireless access points searched When the quantity is less than the preset number, the terminal device may indirectly indicate that the WIFI function of the target mobile terminal is abnormal or the WIFI does not temporarily search for the corresponding wireless connection point, and then the terminal device may generate a continuous search wireless access point instruction. When the mobile terminal continues to search for the wireless access point in the background, until the test link is detected as the WIFI function test sub-link, the search stops, and the number of wireless access points when the wireless access point is stopped is counted, of course. The persistent search wireless access point instruction may not be generated, and the background search wireless access point of the target mobile terminal is directly stopped, and when the test link is detected as the WIFI function test sub-link, the search for the wireless access is stopped. In this embodiment, no limitation is imposed on this.
在具体实现中,当所述比对结果为所述无线接入点数量大于或等于所述预设数量时,发送停止搜索无线接入点指令至所述目标移动终端,并将此时的无线接入点数量与所述无线接入点属性生成所述无线接入结果,并将所述无线接入结果进行存储,在所述测试环节为所述WIFI功能测试子环节时将所述无线接入结果从所述存储器或存储单元中取出,立即根据所述无线接入结果判断所述目标移动终端的WIFI功能正常;当所述比对结果为无线接入点数量小于所述预设数量时,继续监测所述目标移动终端的搜索无线接入点情况,当所述目标移动终端搜索到的无线连接点达到预设数量时,发送停止搜索无线接入点指令值所述目标移动终端,若在所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,所述目标移动终端搜索到的无线接入点数量仍然小于所述预设数量时,或者并未搜索到任何无线连接点时,则将所述无线接入点信息和所述无线接入点属性生成所述无线接入结果,根据所述无线接入结果判断所述目标移动终端的WIFI功能异常。In a specific implementation, when the comparison result is that the number of the wireless access points is greater than or equal to the preset number, sending a stop searching for a wireless access point instruction to the target mobile terminal, and wirelessly Generating the wireless access result by the number of access points and the wireless access point attribute, and storing the wireless access result, where the wireless connection is performed when the test link is the WIFI function test sub-link The result is taken out from the memory or the storage unit, and the WIFI function of the target mobile terminal is determined to be normal according to the wireless access result; when the comparison result is that the number of wireless access points is less than the preset number And continuing to monitor the search wireless access point of the target mobile terminal, and when the wireless connection point searched by the target mobile terminal reaches a preset number, sending the target mobile terminal that stops searching for the wireless access point command value, if When the current production link is in the WIFI function test sub-section of the test link, the number of wireless access points searched by the target mobile terminal is still less than the pre-predetermined When the number is not found, or when no wireless connection point is found, the wireless access point information and the wireless access point attribute are used to generate the wireless access result, and the target is determined according to the wireless access result. The WIFI function of the mobile terminal is abnormal.
本实施例通过接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,所述无线接入点信息为在所述目标移动终端的后台通过无线接入点获取的信息,从所述无线接入点信息中提取无线接入点数量和无线接入点属性,将所述无线接入点数量与预设数量进行比对,生成所述无线接入点数量与所述预设数量的比对结果,根据所述比对结果和所述无线接入点属性生成所述无线接入结果,能够节省大量搜索无线接入点等待的时间,整个测试过程全部自动化,不用额外增加测试工序,不影响在其他环节的测试,提高了整个测试环节的效率,大大节约了生产测试成本。In this embodiment, the wireless access point information obtained by the target mobile terminal according to the search for a wireless access point is obtained, and the wireless access point information is obtained by using a wireless access point in the background of the target mobile terminal. Information, extracting the number of wireless access points and the wireless access point attribute from the wireless access point information, comparing the number of the wireless access points with a preset number, and generating the number and location of the wireless access point The preset number of comparison results, the wireless access result is generated according to the comparison result and the wireless access point attribute, which can save a large amount of time for searching for the wireless access point, and the entire testing process is completely automated, The additional test procedure does not affect the testing in other links, which improves the efficiency of the entire testing process and greatly reduces the cost of production testing.
进一步地,如图5所示,基于第二实施例提出本发明WIFI功能测试方法的第三实施例;图5为本发明WIFI功能测试方法第三实施例的流程示意图,参照图5,在本实施例中,所述步骤S30具体包括步骤:Further, as shown in FIG. 5, a third embodiment of the WIFI function testing method of the present invention is proposed based on the second embodiment. FIG. 5 is a schematic flowchart of the third embodiment of the WIFI function testing method according to the present invention. In an embodiment, the step S30 specifically includes the following steps:
步骤S31、在所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,提取所述无线接入结果;Step S31: When the current production link is in the WIFI function test sub-link of the test link, extract the wireless access result;
需要说明的是,所述无线接入结果可以预先存储在所述终端设备中,当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,及时从存储单元或者存储器中将所述无线接入结果提取出来;It should be noted that the wireless access result may be pre-stored in the terminal device, and when the current production link is in the WIFI function test sub-link of the test link, the current time is from the storage unit or the memory. The wireless access result is extracted;
步骤S32、根据所述无线接入结果中的无线接入点数量和所述比对结果判断所述目标移动终端的WIFI功能是否正常;Step S32: determining, according to the number of wireless access points in the wireless access result, and the comparison result, whether the WIFI function of the target mobile terminal is normal;
需要说明的是,根据所述无线接入结果中的无线接入点数量和所述比对结果可以查到到当前的无线接入点数量在所述比对结果中对应的是WIFI功能正常还是WIFI功能异常,进而可以判断出所述目标移动终端的WIFI功能是否正常。It should be noted that, according to the number of wireless access points in the wireless access result and the comparison result, it can be found that the current number of wireless access points corresponds to whether the WIFI function is normal in the comparison result or The WIFI function is abnormal, and it can be determined whether the WIFI function of the target mobile terminal is normal.
进一步地,所述根据所述无线接入结果中的无线接入点数量和所述比对结果判断所述目标移动终端的WIFI功能是否正常,具体包括:Further, the determining, according to the number of the wireless access points in the wireless access result, and the comparison result, whether the WIFI function of the target mobile terminal is normal, specifically includes:
当所述无线接入结果中的无线接入点数量为所述第一无线接入点数量时,判断所述目标移动终端的WIFI功能正常;When the number of the wireless access points in the wireless access result is the number of the first wireless access points, determining that the WIFI function of the target mobile terminal is normal;
当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,判断所述目标移动终端的WIFI功能异常。When the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal.
可以理解的是,当所述无线接入结果中的无线接入点数量为所述第一无线接入点数量时,即为所述无线接入点数量大于或等于所述预设数量时,根据所述比对结果判断所述目标移动终端的WIFI功能正常,当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,根据所述比对结果,判断所述目标移动终端的WIFI功能异常。It can be understood that, when the number of the wireless access points in the wireless access result is the number of the first wireless access points, that is, the number of the wireless access points is greater than or equal to the preset number, Determining, according to the comparison result, that the WIFI function of the target mobile terminal is normal. When the number of wireless access points in the wireless access result is the number of the second wireless access points, according to the comparison result, Determining that the WIFI function of the target mobile terminal is abnormal.
进一步地,所述当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,判断所述目标移动终端的WIFI功能异常之后,所述方法还包括:Further, after the number of the wireless access points in the wireless access result is the number of the second wireless access points, after determining that the WIFI function of the target mobile terminal is abnormal, the method further includes:
将所述目标移动终端作为故障移动终端,并进行故障提醒。The target mobile terminal is used as a faulty mobile terminal, and a fault reminder is performed.
可以理解的是,当所述目标移动终端的WIFI功能异常时,将所述目标移动终端作为故障移动终端,并进行故障提醒,故障提醒可以是生成相应的报警信息,也可以是生成相应的控制指令后及时将所述WIFI故障移动终端取出,并送至故障排查检修处进行故障排查和维修,当然也可以是将已经确定WIFI功能异常的目标移动终端即所述故障移动终端进行集中处理,当达到一定数量时送至故障排查检修处进行故障排查和维修;It can be understood that when the WIFI function of the target mobile terminal is abnormal, the target mobile terminal is regarded as a faulty mobile terminal, and a fault reminder is generated, and the fault reminder may be generating corresponding alarm information, or generating corresponding control. After the command, the WIFI fault mobile terminal is taken out in time, and sent to the fault troubleshooting and repairing department for fault troubleshooting and maintenance. Of course, the target mobile terminal that has determined that the WIFI function is abnormal, that is, the faulty mobile terminal is centralizedly processed. When a certain amount is reached, send it to the troubleshooting and inspection department for troubleshooting and maintenance;
在具体实现中,整个测试过程是全自动化的,所述终端设备实时监测目标移动终端的当前生产环节,当所述当前生产处于所述测试环节的WIFI功能测试子环节时,提取无线接入结果,当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,判断所述目标移动终端的WIFI功能异常并进行故障提醒,所述终端设备及时生成抓取命令,通过机械臂将所述故障移动终端抓取至指定区域,再通过传送带将所述故障移动终端移动至故障排查检修处进行WIFI故障排查和维修,当然也可以通过其他方式对故障移动终端进行故障排查和维修处理,本实施例对此不加以限制。In a specific implementation, the entire testing process is fully automated, and the terminal device monitors the current production link of the target mobile terminal in real time, and extracts the wireless access result when the current production is in the WIFI function test sub-link of the testing link. When the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal and performing a fault reminding, the terminal device generates a crawl in time Commanding, the faulty mobile terminal is grabbed to the designated area by the robot arm, and then the faulty mobile terminal is moved to the fault troubleshooting and repairing place by the conveyor belt to perform WIFI fault troubleshooting and maintenance, and of course, the faulty mobile terminal can be performed by other means. The troubleshooting and maintenance processing are not limited in this embodiment.
本实施例中,通过在所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,提取所述无线接入结果,获取所述无线接入结果中的无线接入点数量为所述第一无线接入点数量时WIFI功能正常与所述第二无线接入点数量时WIFI功能异常的比对结果;根据所述无线接入结果中的无线接入点数量和所述比对结果判断所述目标移动终端的WIFI功能是否正常,能够快速确定所述目标移动终端的WIFI功能是否正常,提高了整个测试环节的效率,大大节约了生产测试成本。In this embodiment, when the current production link is in the WIFI function test sub-link of the test link, the wireless access result is extracted, and the number of wireless access points in the wireless access result is obtained as described. The comparison result of the WIFI function abnormal when the WIFI function is normal and the number of the second wireless access point is the number of the first wireless access point; the number of the wireless access points in the wireless access result and the comparison result Determining whether the WIFI function of the target mobile terminal is normal, whether the WIFI function of the target mobile terminal is normal, whether the efficiency of the whole test link is improved, and the production test cost is greatly saved.
此外,本发明实施例还提出一种存储介质,所述存储介质上存储有WIFI功能测试程序,所述WIFI功能测试程序被处理器执行时实现如下操作:In addition, the embodiment of the present invention further provides a storage medium, where the WIFI function test program is stored, and when the WIFI function test program is executed by the processor, the following operations are implemented:
终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端;The terminal device monitors the current production link of the target mobile terminal in real time, and when the current production link is in the testing step, generates a search wireless access point instruction according to the search wireless access point trigger condition, and sends the search wireless access point instruction to the The target mobile terminal;
接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果;Receiving, by the target mobile terminal, the wireless access point information according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information;
当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常。When the current production link is in the WIFI function test sub-link of the test link, it is determined whether the WIFI function of the target mobile terminal is normal according to the wireless access result.
进一步地,所述WIFI功能测试程序被处理器执行时还实现如下操作:Further, when the WIFI function test program is executed by the processor, the following operations are also implemented:
接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,所述无线接入点信息为在所述目标移动终端的后台通过无线接入点获取的信息;Receiving, by the target mobile terminal, the wireless access point information acquired according to the search for the wireless access point, where the wireless access point information is information obtained by the wireless access point in the background of the target mobile terminal;
从所述无线接入点信息中提取无线接入点数量和无线接入点属性,将所述无线接入点数量与预设数量进行比对;Extracting the number of wireless access points and the wireless access point attribute from the wireless access point information, and comparing the number of the wireless access points with a preset number;
根据比对结果和所述无线接入点属性生成所述无线接入结果。Generating the wireless access result according to the comparison result and the wireless access point attribute.
进一步地,所述WIFI功能测试程序被处理器执行时还实现如下操作:Further, when the WIFI function test program is executed by the processor, the following operations are also implemented:
当所述比对结果为所述无线接入点数量大于或等于所述预设数量时,发送停止搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第一无线接入点数量,根据所述第一无线接入点数量和所述无线接入点属性生成所述无线接入结果;When the comparison result is that the number of the wireless access points is greater than or equal to the preset number, sending a stop searching for a wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal stops searching. a wireless access point, and the number of wireless access points when the wireless access point is stopped is used as the number of first wireless access points, and the number is generated according to the number of the first wireless access points and the wireless access point attribute. Wireless access result;
当所述比对结果为所述无线接入点数量小于所述预设数量时,发送持续搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台持续搜索无线接入点直至所述当前生产环节处于所述测试环节的WIFI功能测试子环节时停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第二无线接入点数量,根据所述第二无线接入点数量和所述无线接入点属性生成所述无线接入结果。When the comparison result is that the number of the wireless access points is less than the preset number, sending a continuous search wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal continues to search for wireless connection Into the point until the current production link is in the WIFI function test sub-section of the test link, stop searching for the wireless access point, and stop the number of wireless access points when searching for the wireless access point as the number of second wireless access points Generating the wireless access result according to the number of the second wireless access points and the wireless access point attribute.
进一步地,所述WIFI功能测试程序被处理器执行时还实现如下操作:Further, when the WIFI function test program is executed by the processor, the following operations are also implemented:
在所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,提取所述无线接入结果;Extracting the wireless access result when the current production link is in a WIFI function test sub-section of the test link;
根据所述无线接入结果中的无线接入点数量和所述比对结果判断所述目标移动终端的WIFI功能是否正常。Determining whether the WIFI function of the target mobile terminal is normal according to the number of wireless access points in the wireless access result and the comparison result.
进一步地,所述WIFI功能测试程序被处理器执行时还实现如下操作:Further, when the WIFI function test program is executed by the processor, the following operations are also implemented:
当所述无线接入结果中的无线接入点数量为所述第一无线接入点数量时,判断所述目标移动终端的WIFI功能正常;When the number of the wireless access points in the wireless access result is the number of the first wireless access points, determining that the WIFI function of the target mobile terminal is normal;
当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,判断所述目标移动终端的WIFI功能异常。When the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal.
进一步地,所述WIFI功能测试程序被处理器执行时还实现如下操作:Further, when the WIFI function test program is executed by the processor, the following operations are also implemented:
将所述目标移动终端作为故障移动终端,并进行故障提醒。The target mobile terminal is used as a faulty mobile terminal, and a fault reminder is performed.
本实施例通过终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端,接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果,当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常,能够节省测试WIFI功能时等待的时间,提高了测试效率和生产效率,大大节约了生产测试成本。In this embodiment, the current production link of the target mobile terminal is monitored in real time by the terminal device. When the current production link is in the testing process, the search wireless access point command is generated according to the trigger condition of the search wireless access point, and the search wireless access is performed. Sending a point command to the target mobile terminal, receiving the wireless access point information acquired by the target mobile terminal according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information, when When the current production link is in the WIFI function test sub-link of the test link, determining whether the WIFI function of the target mobile terminal is normal according to the wireless access result, saving time waiting for testing the WIFI function, improving test efficiency and Production efficiency greatly saves production test costs.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种WIFI功能测试方法,其特征在于,所述方法包括: A WIFI function testing method, characterized in that the method comprises:
    终端设备实时监测目标移动终端的当前生产环节,当所述当前生产环节处于测试环节时,根据搜索无线接入点触发条件生成搜索无线接入点指令,将所述搜索无线接入点指令发送至所述目标移动终端;The terminal device monitors the current production link of the target mobile terminal in real time, and when the current production link is in the testing step, generates a search wireless access point instruction according to the search wireless access point trigger condition, and sends the search wireless access point instruction to the The target mobile terminal;
    接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果;Receiving, by the target mobile terminal, the wireless access point information according to the search for the wireless access point, and generating a wireless access result according to the wireless access point information;
    当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常。When the current production link is in the WIFI function test sub-link of the test link, it is determined whether the WIFI function of the target mobile terminal is normal according to the wireless access result.
  2. 如权利要求1所述的方法,其特征在于,所述接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,根据所述无线接入点信息生成无线接入结果,具体包括:The method according to claim 1, wherein the receiving the target mobile terminal generates wireless access according to the wireless access point information according to the wireless access point information acquired by the search wireless access point instruction. The results include:
    接收所述目标移动终端根据所述搜索无线接入点指令获取的无线接入点信息,所述无线接入点信息为在所述目标移动终端的后台通过无线接入点获取的信息;Receiving, by the target mobile terminal, the wireless access point information acquired according to the search for the wireless access point, where the wireless access point information is information obtained by the wireless access point in the background of the target mobile terminal;
    从所述无线接入点信息中提取无线接入点数量和无线接入点属性,将所述无线接入点数量与预设数量进行比对;Extracting the number of wireless access points and the wireless access point attribute from the wireless access point information, and comparing the number of the wireless access points with a preset number;
    根据比对结果和所述无线接入点属性生成所述无线接入结果。Generating the wireless access result according to the comparison result and the wireless access point attribute.
  3. 如权利要求2所述的方法,其特征在于,所述根据比对结果和所述无线接入点属性生成所述无线接入结果,具体包括:The method of claim 2, wherein the generating the wireless access result according to the comparison result and the wireless access point attribute comprises:
    当所述比对结果为所述无线接入点数量大于或等于所述预设数量时,发送停止搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第一无线接入点数量,根据所述第一无线接入点数量和所述无线接入点属性生成所述无线接入结果;When the comparison result is that the number of the wireless access points is greater than or equal to the preset number, sending a stop searching for a wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal stops searching. a wireless access point, and the number of wireless access points when the wireless access point is stopped is used as the number of first wireless access points, and the number is generated according to the number of the first wireless access points and the wireless access point attribute. Wireless access result;
    当所述比对结果为所述无线接入点数量小于所述预设数量时,发送持续搜索无线接入点指令至所述目标移动终端,以使所述目标移动终端的后台持续搜索无线接入点直至达到预设搜索次数时停止搜索无线接入点,并将停止搜索无线接入点时的无线接入点数量作为第二无线接入点数量,根据所述第二无线接入点数量和所述无线接入点属性生成所述无线接入结果。When the comparison result is that the number of the wireless access points is less than the preset number, sending a continuous search wireless access point instruction to the target mobile terminal, so that the background of the target mobile terminal continues to search for wireless connection Stopping the search until the preset number of searches reaches the wireless access point, and stopping the number of wireless access points when searching for the wireless access point as the number of second wireless access points, according to the number of the second wireless access points Generating the wireless access result with the wireless access point attribute.
  4. 如权利要求3所述的方法,其特征在于,所述当所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,根据所述无线接入结果判断所述目标移动终端的WIFI功能是否正常,具体包括:The method according to claim 3, wherein when the current production link is in a WIFI function test sub-section of the test link, determining a WIFI function of the target mobile terminal according to the wireless access result Whether it is normal, including:
    在所述当前生产环节处于所述测试环节的WIFI功能测试子环节时,提取所述无线接入结果;Extracting the wireless access result when the current production link is in a WIFI function test sub-section of the test link;
    根据所述无线接入结果中的无线接入点数量和所述比对结果判断所述目标移动终端的WIFI功能是否正常。Determining whether the WIFI function of the target mobile terminal is normal according to the number of wireless access points in the wireless access result and the comparison result.
  5. 如权利要求4所述的方法,其特征在于,所述根据所述无线接入结果中的无线接入点数量和所述比对结果判断所述目标移动终端的WIFI功能是否正常,具体包括:The method according to claim 4, wherein the determining whether the WIFI function of the target mobile terminal is normal according to the number of the wireless access points in the wireless access result and the comparison result comprises:
    当所述无线接入结果中的无线接入点数量为所述第一无线接入点数量时,判断所述目标移动终端的WIFI功能正常;When the number of the wireless access points in the wireless access result is the number of the first wireless access points, determining that the WIFI function of the target mobile terminal is normal;
    当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,判断所述目标移动终端的WIFI功能异常。When the number of the wireless access points in the wireless access result is the number of the second wireless access points, determining that the WIFI function of the target mobile terminal is abnormal.
  6. 如权利要求5所述的方法,其特征在于,所述当所述无线接入结果中的无线接入点数量为所述第二无线接入点数量时,判断所述目标移动终端的WIFI功能异常之后,所述方法还包括:The method according to claim 5, wherein when the number of wireless access points in the wireless access result is the number of the second wireless access points, determining the WIFI function of the target mobile terminal After the exception, the method further includes:
    将所述目标移动终端作为故障移动终端,并进行故障提醒。The target mobile terminal is used as a faulty mobile terminal, and a fault reminder is performed.
  7. 一种WIFI功能测试终端设备,其特征在于,所述WIFI功能测试终端设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的WIFI功能测试程序,所述WIFI功能测试程序配置为实现如权利要求1所述的WIFI功能测试方法的步骤。A WIFI function test terminal device, wherein the WIFI function test terminal device comprises: a memory, a processor, and a WIFI function test program stored on the memory and operable on the processor, the WIFI The function test program is configured to implement the steps of the WIFI function test method of claim 1.
  8. 一种WIFI功能测试系统,其特征在于,所述WIFI功能测试系统包括WIFI信号发生器和权利要求7所述的WIFI功能测试终端设备;A WIFI function test system, characterized in that the WIFI function test system comprises a WIFI signal generator and the WIFI function test terminal device according to claim 7;
    所述WIFI信号发生器,用于产生经过调制后的WIFI信号,以使所述目标移动终端根据所述搜索无线接入点指令搜索所述WIFI信号,获取所述无线接入点信息。The WIFI signal generator is configured to generate a modulated WIFI signal, so that the target mobile terminal searches for the WIFI signal according to the search for a wireless access point instruction, and acquires the wireless access point information.
  9. 如权利要求8所述的WIFI功能测试系统,其特征在于,所述WIFI信号发生器由无线网关、POE交换机和无线AP设备组成。The WIFI function test system according to claim 8, wherein the WIFI signal generator is composed of a wireless gateway, a POE switch, and a wireless AP device.
  10. 一种存储介质,其特征在于,所述存储介质上存储有WIFI功能测试程序,所述WIFI功能测试程序被处理器执行时实现如权利要求1所述的WIFI功能测试方法的步骤。 A storage medium, characterized in that the WIFI function test program is stored on the storage medium, and the WIFI function test program is executed by the processor to implement the steps of the WIFI function test method according to claim 1.
PCT/CN2017/100269 2017-09-01 2017-09-01 Wifi function testing method, terminal apparatus, system, and storage medium WO2019041319A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100269 WO2019041319A1 (en) 2017-09-01 2017-09-01 Wifi function testing method, terminal apparatus, system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100269 WO2019041319A1 (en) 2017-09-01 2017-09-01 Wifi function testing method, terminal apparatus, system, and storage medium

Publications (1)

Publication Number Publication Date
WO2019041319A1 true WO2019041319A1 (en) 2019-03-07

Family

ID=65524633

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100269 WO2019041319A1 (en) 2017-09-01 2017-09-01 Wifi function testing method, terminal apparatus, system, and storage medium

Country Status (1)

Country Link
WO (1) WO2019041319A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798374A (en) * 2019-09-25 2020-02-14 深圳市火乐科技发展有限公司 WIFI automatic test method and device
CN116546551A (en) * 2023-07-06 2023-08-04 深圳市华曦达科技股份有限公司 Wireless network equipment detection method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005009064A1 (en) * 2003-07-22 2005-01-27 Nokia Corporation Testing a data transfer functionality of a mobile device
CN101909311A (en) * 2009-06-08 2010-12-08 鸿富锦精密工业(深圳)有限公司 Method for testing wireless networking function of mobile phone
CN105071978A (en) * 2015-07-07 2015-11-18 广州杰升信息科技有限公司 Method of conducting production test for intelligent equipment, WiFi module, and system
CN106792874A (en) * 2016-12-14 2017-05-31 广州视源电子科技股份有限公司 The system and method for quick detection WIFI module

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005009064A1 (en) * 2003-07-22 2005-01-27 Nokia Corporation Testing a data transfer functionality of a mobile device
CN101909311A (en) * 2009-06-08 2010-12-08 鸿富锦精密工业(深圳)有限公司 Method for testing wireless networking function of mobile phone
CN105071978A (en) * 2015-07-07 2015-11-18 广州杰升信息科技有限公司 Method of conducting production test for intelligent equipment, WiFi module, and system
CN106792874A (en) * 2016-12-14 2017-05-31 广州视源电子科技股份有限公司 The system and method for quick detection WIFI module

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798374A (en) * 2019-09-25 2020-02-14 深圳市火乐科技发展有限公司 WIFI automatic test method and device
CN116546551A (en) * 2023-07-06 2023-08-04 深圳市华曦达科技股份有限公司 Wireless network equipment detection method, device and system
CN116546551B (en) * 2023-07-06 2023-10-27 深圳市华曦达科技股份有限公司 Wireless network equipment detection method, device and system

Similar Documents

Publication Publication Date Title
WO2020048047A1 (en) System fault warning method, apparatus, and device, and storage medium
WO2020155358A1 (en) Smart home device linkage control method and apparatus, and smart home device
WO2020119369A1 (en) Intelligent it operation and maintenance fault positioning method, apparatus and device, and readable storage medium
WO2016169390A1 (en) Application security protection method, terminal, and storage medium
WO2014204179A1 (en) Method for verifying bad pattern in time series sensing data and apparatus thereof
WO2018120681A1 (en) Data synchronization method, device and system, data processing server, and storage medium
WO2020253116A1 (en) Batch data execution method, device, storage medium, and member host in cluster
WO2020143297A1 (en) Disaster recovery method, apparatus and device for call center, and storage medium
WO2020015060A1 (en) Power consumption anomaly estimation method and apparatus, device, and computer storage medium
WO2021012481A1 (en) System performance monitoring method and apparatus, device, and storage medium
WO2012023657A1 (en) Network-based harmful-program detection method using a virtual machine, and a system comprising the same
WO2020093707A1 (en) Air conditioner control method, air conditioner and computer-readable storage medium
WO2014038835A1 (en) Network backup device and network system including the device
WO2021003923A1 (en) Freeswitch monitoring method, device, storage medium, and apparatus
WO2021261716A1 (en) Docking station, mobile robot, and mobile robot management system for controlling docking station and mobile robot
WO2019041319A1 (en) Wifi function testing method, terminal apparatus, system, and storage medium
WO2019190049A1 (en) System for managing circuit breaker in distribution switchboard
WO2019235813A1 (en) Electronic device supporting multiple wireless communication protocols and method therefor
WO2017090931A1 (en) Electronic device and method for providing event management service
WO2021017332A1 (en) Voice control error reporting method, electrical appliance and computer-readable storage medium
WO2019112308A1 (en) Electronic device, user terminal apparatus, and control method thereof
WO2020134788A1 (en) Control method for air conditioner, air conditioner, and computer readable storage medium
WO2021141301A1 (en) Blockchain based peer-to-peer content sharing apparatus for blocking illegal contents
WO2011132848A1 (en) Automatic power distribution system using a mobile communication network and a method for operating the system
WO2019189950A1 (en) Method, system, and program for remote diagnosis of facility

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17923340

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17923340

Country of ref document: EP

Kind code of ref document: A1