CN109151873B - WIFI module automatic detection method, smart television, system and storage medium - Google Patents
WIFI module automatic detection method, smart television, system and storage medium Download PDFInfo
- Publication number
- CN109151873B CN109151873B CN201810735700.3A CN201810735700A CN109151873B CN 109151873 B CN109151873 B CN 109151873B CN 201810735700 A CN201810735700 A CN 201810735700A CN 109151873 B CN109151873 B CN 109151873B
- Authority
- CN
- China
- Prior art keywords
- wifi module
- wifi
- data
- image
- detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 85
- 238000003860 storage Methods 0.000 title claims abstract description 12
- 238000000034 method Methods 0.000 claims abstract description 18
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 claims description 15
- 238000007689 inspection Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 9
- 230000000694 effects Effects 0.000 claims description 8
- 238000010422 painting Methods 0.000 claims description 4
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 230000005587 bubbling Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 abstract description 18
- 230000001960 triggered effect Effects 0.000 description 7
- 238000011161 development Methods 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010924 continuous production Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000002309 gasification Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 238000013441 quality evaluation Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Factory Administration (AREA)
Abstract
The invention discloses an automatic detection method of a WIFI module, a smart television, a system and a storage medium, wherein the method comprises the following steps: receiving an instruction for reading a WIFI module data request sent by an infrared transmitting device; acquiring WIFI module data, and outputting WIFI intensity, a numerical value list, a machine network connection state and an image identifier to a UI (user interface); receiving WIFI list data read by the image recognition device, and finishing WIFI module detection after judging that the current WIFI module is qualified; according to the invention, the performance of the built-in WIFI module is automatically and rapidly detected, the detection performance data list is generated, the execution efficiency and accuracy in the production process are high, the acquired data are more accurate, the consistency of product detection is ensured, the manual dependence is reduced, and the production efficiency is improved.
Description
Technical Field
The invention relates to the field of computer technology application, in particular to an automatic detection method for a WIFI module, a smart television, a system and a storage medium.
Background
With the progress of an intelligent hardware system and the continuous development of computer languages, a novel development environment can be provided for the software system adaptive to a hardware module and the application development of the software system; the intelligent manufacturing provides the direction of automatic production for guiding enterprise transformation, and the current human resource cost brings various pressures such as labor cost, staff knowledge training expenditure, large personnel gap, product cost increase, contradiction of inadequate quality control and the like, the enterprise increasingly stands out, responds to the national call for solving the bottleneck of self development, carries out data comparison analysis on stations excessively depending on time-consuming operation of personnel, testing and evaluation and product consistency data and qualification rate, and excessively depends on an original data report table, and has the problems of single product quality and excessively lagged batch analysis results, so that the problem products cannot be corrected in time to cause serious loss of continuous production of the problem products, and the development of the enterprise can be influenced.
At present, the consumer electronic device which is matched with the WIFI built-in module and carries the intelligent operating system cannot be completely automated in the aspect of detecting the performance of the WIFI module, cannot quickly and accurately detect the performance of the WIFI module, highly depends on manual detection, and is low in production efficiency.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The invention aims to solve the technical problems that aiming at the defects of the prior art, the invention provides an automatic detection method, an intelligent television, a system and a storage medium for a WIFI module, aiming at automatically and quickly detecting the performance of a built-in WIFI module and generating a detection performance data list, the execution efficiency and accuracy in the production process are high, the obtained data are more accurate, the consistency of product detection is ensured, the manual dependence is reduced, and the production efficiency is improved.
The technical scheme adopted by the invention for solving the technical problem is as follows:
an automatic detection method for a WIFI module comprises the following steps:
receiving an instruction for reading a WIFI module data request sent by an infrared transmitting device;
acquiring WIFI module data, and outputting WIFI intensity, a numerical value list, a machine network connection state and an image identifier to a UI (user interface);
and receiving WIFI list data read by the image recognition device, and finishing WIFI module detection after judging that the current WIFI module is qualified.
The automatic detection method for the WIFI module, wherein the step of receiving the instruction for reading the data request of the WIFI module, which is sent by the infrared transmitting device, specifically comprises the following steps:
when the smart television with the built-in WIFI module enters a detection area, the smart television receives an infrared code sent by an infrared transmitting device;
the Kernel Kernel converts the infrared codes into event events to provide key codes for the upper-layer Android system;
the Android system divides the key codes into television channel applications, and the television channel applications carry characteristic information of the key codes to start factory application programs.
The automatic detection method for the WIFI module, wherein the acquiring of the data of the WIFI module and the outputting of the WIFI strength, the numerical value list, the machine network connection state and the image identifier to the UI specifically comprises the following steps:
the factory application program starts Activity by obtaining the characteristic information of the key code according to the television channel application;
and loading a corresponding view interface by the Activity, and then loading the WIFI strength, the numerical value list, the machine network connection state and the image identifier which need to be displayed.
The automatic detection method for the WIFI module, wherein the loading of the image identifier to be displayed specifically comprises the following steps:
creating an identifier object, and inheriting the view class through the identifier class to realize a Runnable interface with thread characteristics;
constructing a function, establishing a painting brush object, and setting the attributes of the painting brush object, wherein the attributes of the object comprise color, coordinates and sawtooth removal;
and drawing a black circular identifier on the drawing bitmap, and loading the object of the drawn identifier class by the identifier layout.
The automatic detection method for the WIFI module, wherein the step of loading the numerical value list to be displayed specifically comprises the following steps:
a new thread is started by a factory application program to acquire the enabling state of a WIFI module from an Android system, WIFI hotspot searching is started, and a WIFI searching data result is acquired;
loading the WIFI search data results into a data set, and carrying out bubbling sequencing on the WIFI hotspot intensity of data combination from high to low;
traversing the whole sequenced WIFI data set, and adding the WIFI data set into an array list according to the SSID of the WIFI hotspot, the WIFI signal intensity level and the WIFI signal intensity value as keywords;
and loading the data list to a UI interface for displaying.
The automatic detection method for the WIFI module, wherein the receiving of the WIFI list data read by the image recognition device and the completion of the detection of the WIFI module after the judgment of the detection of the current WIFI module are qualified specifically comprises the following steps:
in the image identification process, the working frequency band and the transmitting power of the wireless hotspot are preset, and an image identification device shoots an image of a current interface;
matching SSIDs in a list in the image with SSIDs preset by an image recognition device by taking the image identifier as an image position calibration point;
comparing the numerical value corresponding to the SSID in the image with the numerical value in the image recognition device to calculate a deviation value, and judging the receiving capacity of the current WIFI module to a certain frequency band;
and when the current WIFI module is judged to be qualified in detection, the infrared transmitting device transmits an infrared code for quitting detection, and the WIFI module detection is completed.
An intelligent television, wherein the intelligent television comprises: the WIFI module automatic detection method comprises a memory, a processor and a WIFI module automatic detection program which is stored on the memory and can run on the processor, wherein the WIFI module automatic detection program realizes the steps of the WIFI module automatic detection method when being executed by the processor.
The utility model provides a WIFI module automatic check out system, wherein, WIFI module automatic check out system includes as above smart television, WIFI module automatic check out system still includes:
the infrared transmitting device is used for transmitting an infrared signal for requesting to read the data of the WIFI module;
and the image identification device is used for judging whether the quality inspection of the current WIFI module is qualified according to the data result.
The WIFI module automatic detection system is characterized in that after the intelligent television is used for receiving infrared signals emitted by the infrared emission device, a factory application program is started through a software system, the factory application program identifies data signals of a WIFI module which is requested currently, starts to read data of the WIFI module, performs intensity sequencing on received WIFI hotspot data, and displays the network state of the current intelligent television on a UI.
A storage medium, wherein the storage medium stores a WIFI module automatic detection program, which when executed by a processor implements the steps of the WIFI module automatic detection method as described above.
The invention discloses an automatic detection method of a WIFI module, a smart television, a system and a storage medium, wherein the method comprises the following steps: receiving an instruction for reading a WIFI module data request sent by an infrared transmitting device; acquiring WIFI module data, and outputting WIFI intensity, a numerical value list, a machine network connection state and an image identifier to a UI (user interface); receiving WIFI list data read by the image recognition device, and finishing WIFI module detection after judging that the current WIFI module is qualified; according to the invention, the performance of the built-in WIFI module is automatically and rapidly detected, the detection performance data list is generated, the execution efficiency and accuracy in the production process are high, the acquired data are more accurate, the consistency of product detection is ensured, the manual dependence is reduced, and the production efficiency is improved.
Drawings
Fig. 1 is a flowchart of a preferred embodiment of an automatic detection method for a WIFI module according to the present invention;
fig. 2 is a flowchart of step S10 in the preferred embodiment of the automatic WIFI module detection method according to the present invention;
fig. 3 is a flowchart illustrating a process from transmitting an infrared code to starting a factory application WIFI quality inspection interface in the preferred embodiment of the WIFI module automatic detection method of the present invention;
fig. 4 is a flowchart of the UI interface software for starting the WIFI data list layout by the factory application in the preferred embodiment of the automatic WIFI module detection method of the present invention;
fig. 5 is a flowchart of step S20 in the preferred embodiment of the automatic WIFI module detection method according to the present invention;
fig. 6 is a flowchart of software for drawing an image identifier by a newly opened thread in the automatic WIFI module detection method according to the preferred embodiment of the present invention;
fig. 7 is a flowchart of the UI display software for obtaining the WIFI data result in the preferred embodiment of the automatic WIFI module detection method of the present invention;
fig. 8 is a flowchart illustrating a network connection state of a built-in WIFI module in accordance with a preferred embodiment of the present invention WIFI module automatic detection method;
fig. 9 is a diagram of a WIFI module detecting object in the preferred embodiment of the WIFI module automatic detection method of the present invention;
fig. 10 is a flowchart of step S30 in the preferred embodiment of the automatic WIFI module detection method according to the present invention;
fig. 11 is a flowchart illustrating the operation of image recognition WIFI performance in the preferred embodiment of the WIFI module automatic detection method of the present invention;
fig. 12 is a functional schematic block diagram of a preferred embodiment of an automatic WIFI module detection system of the present invention;
fig. 13 is a schematic view of a WIFI module detection pipeline operation of the WIFI module automatic detection system of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the automatic detection method for the WIFI module according to the preferred embodiment of the present invention is an automatic detection method for the WIFI module, wherein the automatic detection method for the WIFI module includes the following steps:
and S10, receiving an instruction of reading the WIFI module data request sent by the infrared transmitting device.
Specifically, the intelligent television with the built-in WIFI module needs to be detected, when detection is carried out, the infrared transmitting device transmits a WIFI data request infrared signal (instruction), after the intelligent television with the Android system receives the infrared signal transmitted by the infrared transmitting device, a factory application program is started through a software system, after the factory application program identifies that the WIFI data request signal is currently, the factory application program starts to read data entering the WIFI module, intensity sequencing is carried out on the received WIFI hotspot data, the network state of the current intelligent television is displayed on a UI, the image identification device judges whether the current WIFI quality inspection is qualified or not according to the data result, and then the infrared transmitting device sends out the current quality inspection signal to finish the WIFI quality inspection work.
Please refer to fig. 2, which is a flowchart of step S10 in the method for automatically detecting a WIFI module according to the present invention.
As shown in fig. 2, the step S10 includes:
s11, when the smart television with the built-in WIFI module enters a detection area, the smart television receives an infrared code sent by an infrared emission device;
s12, converting the infrared codes into event events by the Kernel Kernel, and providing the event events for the upper-layer Android system by the key codes;
and S13, the Android system divides the key codes into television channel applications, and the television channel applications carry the characteristic information of the key codes to start the factory application programs.
Specifically, as shown in fig. 3, an infrared transmitting device transmits an infrared code requesting WIFI data, an infrared receiving head on the smart television receives the infrared code transmitted by the infrared transmitting device, a Kernel of the smart television system (a real-time operating system, the Kernel of the Kernel operating system refers to a core part of most operating systems, and is composed of parts used for managing memory, files, peripherals, and system resources in the operating system, the Kernel of the operating system generally runs processes and provides inter-process communication) converts the infrared code into an event to provide a key code (key) to an upper-layer Android system, the Android transmits the key code to a current television channel application through phonewindowmanager of fram (Dispatch), and the television channel application starts a factory application with key feature information.
And S20, acquiring WIFI module data, and outputting the WIFI strength, the numerical value list, the machine network connection state and the image identifier to a UI (user interface).
Specifically, as shown in fig. 4, the factory application starts Activity by obtaining key =727 feature information according to the tv channel application, and the Activity loads a corresponding view interface and then loads a UI layout of the network connection information state that needs to display the WIFI list, the image identification identifier, and the machine.
Please refer to fig. 5, which is a flowchart of step S20 in the method for automatically detecting a WIFI module according to the present invention.
As shown in fig. 5, the step S20 includes:
s21, the factory application program starts Activity according to the characteristic information of the obtained key code by the application of the television channel;
and S22, loading a corresponding view interface by Activity, and then loading the WIFI strength, the numerical value list, the machine network connection state and the image identifier which need to be displayed.
Further, as shown in fig. 6, in the present invention, particularly, when the layout of the midtlayout image identifier is loaded, in order to achieve the purpose that the application occupies as little system memory as possible, does not occupy, and does not block the main thread of the application (blocking the main thread easily causes the Android application to stop running abnormally due to the system timeout being responded), a code for opening a new thread is used to draw the image identifier, software designs an identifier class (IdentView), inherits the View class (View), implements a Runnable interface with thread characteristics, makes the idenvew draw (draw) specifically and the characteristics of the new thread, creates a new brush object (mPaint), sets properties of the mPaint object including color, coordinates, and sawtooth removal (sawtooth removal), and finally draws a black circular identifier on the drawing bitmap.
Further, as shown in fig. 7, in the present invention, WIFI data is displayed on a UI interface, a factory application newly starts a thread to acquire an enable state of a WIFI module from an Android system, the WIFI module starts a search state, a set of WIFIManager object search result data (getScanResults ()), and the like, if no WIFI data is acquired, the operation is paused for 2 seconds, and the WIFI data is read again, if the acquisition time exceeds 10 times and no WIFI data is acquired, the operation is considered to be failed due to timeout, and failure display is performed.
The factory application programs adapt the WIFI strength to 4 grades based on the Android system API, and sort result data of WIFI search from high to low according to the WIFI hotspot signal strength by using a bubble sorting algorithm; traversing the whole sequenced WIFI data set, adding the WIFI data set into an array list taking the HashMap as a data body according to the SSID of the WIFI hotspot, the WIFI signal strength grade and the WIFI signal strength numerical value as keywords, and finally adding the list into a UI interface after the work is completed.
As shown in fig. 8, if the current WIFI state of the smart television is in a connected state, the connection data is displayed on the UI interface, otherwise, the data in the network connection state layout is null. After normal software flow operation is performed on the smart television, an obtained displayed WIFI quality inspection real object image is shown in fig. 9.
And S30, receiving WIFI list data read by the image recognition device, and finishing WIFI module detection after judging that the current WIFI module is qualified.
Please refer to fig. 10, which is a flowchart of step S30 in the method for automatically detecting a WIFI module according to the present invention.
As shown in fig. 10, the step S30 includes:
s31, presetting the working frequency band and the transmitting power of the wireless hotspot in the image identification process, and shooting the image of the current interface by the image identification device;
s32, matching SSIDs in the list in the image with SSIDs preset by the image recognition device by using the image identifier as an image position calibration point;
s33, comparing the numerical value corresponding to the SSID in the image with the numerical value in the image recognition device to calculate a deviation value, and judging the receiving capacity of the current WIFI module to a certain frequency band;
s34, when the current WIFI module is judged to be qualified in detection, the infrared emitting device sends an infrared code for quitting detection, and detection of the WIFI module is completed.
Specifically, as shown in fig. 11, in the image recognition process, the working frequency band and the transmission power of the wireless hotspot are set, the distance between the wireless hotspot and the smart television is set, the image recognition device matches SSIDs in a list in the image with SSIDs preset by the image recognition device by shooting an image of a current interface, and the image identifier is used as an image position calibration point, and then a deviation value is calculated by comparing a value corresponding to the SSID in the image with a value in the image recognition device, so as to evaluate the receiving capability of the current WIFI module on a certain frequency band.
It should be noted that all WIFI and WIFI appearing in the drawings are the same meaning, but in different ways of representation in upper and lower case.
In the invention, in the automatic production process of WIFI module performance rapid detection software, after a smart television receives a WIFI data request infrared code, a software system responds to the infrared code, starts WIFI module data collection work, collates the received WIFI hotspot intensities, sequences the WIFI hotspot intensities, displays the WIFI hotspot intensities by a UI (user interface), identifies a current WIFI list UI by an image identification device, and judges the working performance advantages and disadvantages of the WIFI module in different frequency bands so as to detect the WIFI module.
The invention also provides an intelligent television, which comprises: the WIFI module automatic detection method comprises a memory, a processor and a WIFI module automatic detection program which is stored on the memory and can run on the processor, wherein the WIFI module automatic detection program realizes the steps of the WIFI module automatic detection method when being executed by the processor.
Based on the above automatic detection method for the WIFI module, the present invention also provides an automatic detection system for the WIFI module, as shown in fig. 12, where the automatic detection system for the WIFI module includes the smart television 101 as described above, and the automatic detection system for the WIFI module further includes: the infrared transmitting device 102 is used for transmitting an infrared signal requesting to read data of the WIFI module; and the image identification device 103 is used for judging whether the quality inspection of the current WIFI module is qualified according to the data result.
After the smart television 101 is used for receiving the infrared signal emitted by the infrared emission device 102, a factory application program is started through a software system, the factory application program identifies a data signal of a current request WIFI module, starts data reading of the WIFI module, performs intensity sorting on received WIFI hotspot data, and displays a network state of the current smart television on a UI.
Specifically, as shown in fig. 13, the smart television with a WIFI module developed based on an Android system is used as a detected machine (i.e., a smart television), and the detected machine is further provided with an infrared receiving head, when the detected machine passes through a WIFI detection station from a production line, a running water conveying plate with the detected machine triggers an electrified gasification control position stopper on the station, the conveying plate stops moving on the production line, an infrared transmitting device is triggered to transmit a request WIFI data infrared code, the smart television enters a built-in WIFI detection flow, and after detection is completed, the electrified control position stopper is triggered to cancel stopping of the conveying plate so that the conveying plate moves to a next link; after the operation is completed, the infrared transmitting device is triggered to transmit the WIFI detection infrared code, the electrified control position stopper is triggered to cancel the card stop, and the electric intelligent television moves along with the conveyor belt and flows to the next station.
It should be noted that, a high-frequency working module is arranged inside the smart television, and the working frequency band of the high-frequency working module may interfere with the built-in WIFI module, for example, the signal transmission of the smart television display is LVDS, VBO and the like, and high-frequency signals such as DDR and the like on the motherboard are provided, wherein the VBO and DDR working frequencies easily interfere with the 2.4GHz frequency band of the WIFI module, and the LVDS easily interferes with 150MHz of the WIFI module, and meanwhile, the position of the built-in WIFI module or the position of the module antenna arranged inside the television also has a direct influence on the strength of the signal received by the WIFI module.
By adopting the technical scheme, automatic production line operation can be adopted, the detection work of the built-in WIFI module is automatically completed, manual intervention is not needed in the production process, the labor cost is reduced, the labor force is liberated, the consistency of product quality inspection is improved, meanwhile, the matching quality evaluation of the built-in WIFI module and a machine is completed, a data basis is provided for signal improvement of the built-in WIFI module, and the product quality is improved.
In the invention, an infrared transmitting device adopts an information medium which takes an infrared signal as a request and quits the acquisition of WIFI data, when a machine to be detected enters a WIFI detection area along with a conveyor belt on a conveyor hinge during the operation of a production line, a quality inspection switch is triggered, then the infrared transmitting device is triggered to transmit a WIFI data request infrared code, when an infrared receiving head of the machine to be detected receives an external infrared code, a software system can draw a UI (user interface) list according to the judgment that the infrared code is currently the WIFI data request infrared code and further start a factory application program, the factory application program can draw a UI interface according to a characteristic signal (WIFI data request infrared code) carried by the software system when the factory is started, a new thread is additionally started to acquire WIFI data, the current network data process of the machine is acquired, the acquired WIFI data result and the current network data are transmitted to the UI interface to output the result, and an image recognition device can perform data recognition according to the data of the UI interface, and judging whether the machine is qualified or not, triggering the infrared transmitting device to transmit and quit the WIFI data acquisition program again after the image identification device makes a judgment, finishing the WIFI quality inspection pipeline operation in the link, and enabling the machine to be detected to flow to the next link.
According to the invention, the infrared transmitting device can be normally triggered and can correctly transmit a request to acquire WIFI data and quit the WIFI data to acquire an infrared signal, the infrared receiving module on the detected machine can normally work, and the machine software system can normally work so as to detect the performance of the WIFI module. Software development is based on standard Android development, portability is strong, multiple models can be met, and WIFI modules of multiple models can be used for performance quality inspection, so that enterprises can import the WIFI modules into assembly line production at low software cost.
In addition, the present invention includes but is not limited to the field of televisions, and both the WIFI built-in module and the consumer electronic device with the smart operating system may include, for example: the mobile terminal comprises a personal notebook computer, a digital set-top box, an intelligent tablet computer, or wearable equipment and other electronic devices which can be internally provided with a WIFI module or externally provided with a WIFI Dongle.
In summary, the present invention provides an automatic detection method for a WIFI module, a smart television, a system and a storage medium, where the method includes: receiving an instruction for reading a WIFI module data request sent by an infrared transmitting device; acquiring WIFI module data, and outputting WIFI intensity, a numerical value list, a machine network connection state and an image identifier to a UI (user interface); receiving WIFI list data read by the image recognition device, and finishing WIFI module detection after judging that the current WIFI module is qualified; according to the invention, the performance of the built-in WIFI module is automatically and rapidly detected, the detection performance data list is generated, the execution efficiency and accuracy in the production process are high, the acquired data are more accurate, the consistency of product detection is ensured, the manual dependence is reduced, and the production efficiency is improved.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.
Claims (7)
1. An automatic detection method for a WIFI module is characterized by comprising the following steps:
receiving an instruction for reading a WIFI module data request sent by an infrared transmitting device;
acquiring WIFI module data, and outputting WIFI intensity, a numerical value list, a machine network connection state and an image identifier to a UI (user interface);
receiving WIFI list data read by the image recognition device, and finishing WIFI module detection after judging that the current WIFI module is qualified;
the receiving of the instruction for reading the data request of the WIFI module sent by the infrared transmitting device specifically includes:
when the smart television with the built-in WIFI module enters a detection area, the smart television receives an infrared code sent by an infrared transmitting device;
the Kernel Kernel converts the infrared codes into event events to provide key codes for the upper-layer Android system;
the Android system divides the key codes into television channel applications, and the television channel applications carry characteristic information of the key codes to start factory application programs;
the acquiring of the data of the WIFI module, and the outputting of the WIFI strength, the numerical value list, the machine network connection state and the image identifier to the UI specifically include:
the factory application program starts Activity by obtaining the characteristic information of the key code according to the television channel application;
loading a corresponding view interface by the Activity, and then loading the WIFI strength, the numerical value list, the machine network connection state and the image identifier which need to be displayed;
the WIFI list data read by the image recognition device are received, and after the current WIFI module is judged to be qualified in detection, the WIFI module detection is completed and specifically comprises the following steps:
in the image identification process, the working frequency band and the transmitting power of the wireless hotspot are preset, and an image identification device shoots an image of a current interface;
matching SSIDs in a list in the image with SSIDs preset by an image recognition device by taking the image identifier as an image position calibration point;
comparing the numerical value corresponding to the SSID in the image with the numerical value in the image recognition device to calculate a deviation value, and judging the receiving capacity of the current WIFI module to a certain frequency band;
and when the current WIFI module is judged to be qualified in detection, the infrared transmitting device transmits an infrared code for quitting detection, and the WIFI module detection is completed.
2. The WIFI module automatic detection method of claim 1, wherein loading the image identifier that needs to be displayed specifically includes:
creating an identifier object, and inheriting the view class through the identifier class to realize a Runnable interface with thread characteristics;
constructing a function, establishing a painting brush object, and setting the attributes of the painting brush object, wherein the attributes of the object comprise color, coordinates and sawtooth removal; and drawing a black circular identifier on the drawing bitmap, and loading the object of the drawn identifier class by the identifier layout.
3. The automatic detection method for the WIFI module according to claim 1, wherein loading the numerical value list to be displayed specifically includes:
a new thread is started by a factory application program to acquire the enabling state of a WIFI module from an Android system, WIFI hotspot searching is started, and a WIFI searching data result is acquired;
loading the WIFI search data results into a data set, and carrying out bubbling sequencing on the WIFI hotspot intensity of data combination from high to low;
traversing the whole sequenced WIFI data set, and adding the WIFI data set into an array list according to the SSID of the WIFI hotspot, the WIFI signal intensity level and the WIFI signal intensity value as keywords;
and loading the data list to a UI interface for displaying.
4. An intelligent television, characterized in that the intelligent television comprises: a memory, a processor, and a WIFI module auto-detection program stored on the memory and executable on the processor, the WIFI module auto-detection program when executed by the processor implementing the steps of the WIFI module auto-detection method of any of claims 1-3.
5. An automatic WIFI module detection system, comprising the smart television set of claim 4, further comprising:
the infrared transmitting device is used for transmitting an infrared signal for requesting to read the data of the WIFI module;
and the image identification device is used for judging whether the quality inspection of the current WIFI module is qualified according to the data result.
6. The WIFI module automatic detection system of claim 5, wherein the smart television is configured to start a factory application program through a software system after receiving the infrared signal emitted by the infrared emission device, the factory application program identifies a currently requested WIFI module data signal, starts data reading of the WIFI module, performs intensity sorting on the received WIFI hotspot data, and displays a current network state of the smart television on a UI.
7. A storage medium storing a WIFI module automatic detection program, which when executed by a processor implements the steps of the WIFI module automatic detection method of any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810735700.3A CN109151873B (en) | 2018-07-06 | 2018-07-06 | WIFI module automatic detection method, smart television, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810735700.3A CN109151873B (en) | 2018-07-06 | 2018-07-06 | WIFI module automatic detection method, smart television, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109151873A CN109151873A (en) | 2019-01-04 |
CN109151873B true CN109151873B (en) | 2021-11-02 |
Family
ID=64799810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810735700.3A Active CN109151873B (en) | 2018-07-06 | 2018-07-06 | WIFI module automatic detection method, smart television, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109151873B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112311632B (en) * | 2019-07-26 | 2022-08-26 | 广东美的制冷设备有限公司 | Method and device for detecting functional state of WiFi module and readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2843878A1 (en) * | 2013-08-30 | 2015-03-04 | Eco-Hive Limited | A monitoring arrangement |
CN105933699A (en) * | 2016-04-19 | 2016-09-07 | 广州视源电子科技股份有限公司 | Method, system and device for testing built-in information of intelligent equipment |
CN106488468A (en) * | 2016-10-14 | 2017-03-08 | 深圳Tcl新技术有限公司 | WiFi performance test methods and system |
WO2017065901A1 (en) * | 2015-10-14 | 2017-04-20 | Sony Interactive Entertainment America Llc | Secure device pairing |
CN106792874A (en) * | 2016-12-14 | 2017-05-31 | 广州视源电子科技股份有限公司 | system and method for rapidly detecting WIFI module |
CN107426563A (en) * | 2017-05-27 | 2017-12-01 | 四川长虹电器股份有限公司 | The method for testing TV WIFI performances |
CN107579787A (en) * | 2017-08-02 | 2018-01-12 | 深圳市爱培科技术股份有限公司 | The Wifi performances automatic testing method and storage medium of a kind of machine, equipment |
CN107945498A (en) * | 2017-10-24 | 2018-04-20 | 北京臻迪科技股份有限公司 | Remote controler test method, device and test terminal |
CN108124232A (en) * | 2016-11-29 | 2018-06-05 | 深圳市三诺数字科技有限公司 | A kind of sound equipment test system and test method |
-
2018
- 2018-07-06 CN CN201810735700.3A patent/CN109151873B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2843878A1 (en) * | 2013-08-30 | 2015-03-04 | Eco-Hive Limited | A monitoring arrangement |
WO2017065901A1 (en) * | 2015-10-14 | 2017-04-20 | Sony Interactive Entertainment America Llc | Secure device pairing |
CN105933699A (en) * | 2016-04-19 | 2016-09-07 | 广州视源电子科技股份有限公司 | Method, system and device for testing built-in information of intelligent equipment |
CN106488468A (en) * | 2016-10-14 | 2017-03-08 | 深圳Tcl新技术有限公司 | WiFi performance test methods and system |
CN108124232A (en) * | 2016-11-29 | 2018-06-05 | 深圳市三诺数字科技有限公司 | A kind of sound equipment test system and test method |
CN106792874A (en) * | 2016-12-14 | 2017-05-31 | 广州视源电子科技股份有限公司 | system and method for rapidly detecting WIFI module |
CN107426563A (en) * | 2017-05-27 | 2017-12-01 | 四川长虹电器股份有限公司 | The method for testing TV WIFI performances |
CN107579787A (en) * | 2017-08-02 | 2018-01-12 | 深圳市爱培科技术股份有限公司 | The Wifi performances automatic testing method and storage medium of a kind of machine, equipment |
CN107945498A (en) * | 2017-10-24 | 2018-04-20 | 北京臻迪科技股份有限公司 | Remote controler test method, device and test terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109151873A (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102186547B1 (en) | Communication Method and Apparatus Supporting Selective Communication Services | |
CN109992125B (en) | Information input method, device and system | |
CN107579787B (en) | Wifi performance automatic detection method of machine, storage medium and equipment | |
CN112333057A (en) | Intelligent household equipment distribution network testing method and device, execution machine and storage medium | |
WO2018095218A1 (en) | Method for remote controller upgrading test and device | |
CN103634592A (en) | Automatic test method and system for intelligent televisions | |
CN103190093A (en) | Method and apparatus for connecting wireless network in a digital device | |
US20150087302A1 (en) | Mobile terminal and wireless connection method thereof | |
CN102385519A (en) | Method and system for installing software | |
KR102135579B1 (en) | Apparatus and method for network connection | |
WO2021023174A1 (en) | Method for foreign object detection in wireless charging, wireless charging device, and storage medium | |
KR20160027861A (en) | Operation Method of communication channel and Electronic device supporting the same | |
CN110031746A (en) | Chip testing long-distance monitoring method, device, computer equipment and storage medium | |
CN105320616A (en) | External device control method and device | |
CN109151873B (en) | WIFI module automatic detection method, smart television, system and storage medium | |
CN112071016A (en) | Fire monitoring method, device, equipment and storage medium | |
CN113268416A (en) | Application program testing method and device, storage medium and terminal | |
US20220382273A1 (en) | Data collection system and recording medium | |
CN114430366B (en) | Information acquisition application issuing method, related device and computer program product | |
CN104063313A (en) | Intelligent analytical algorithm test system and method | |
CN113538876B (en) | Method, device and system for automatic network distribution of intelligent household equipment | |
CN115114141A (en) | Method, device and equipment for testing performance of application program and storage medium | |
CN108986723A (en) | A kind of self-sensing method and equipment of visual screen display device | |
CN106612215A (en) | Integrated remote detection device and method based on Ethernet | |
CN110460841B (en) | Television detection method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |