CN107018526A - The method and apparatus of remote terminal Wi Fi fault diagnosises based on Android intelligent television - Google Patents
The method and apparatus of remote terminal Wi Fi fault diagnosises based on Android intelligent television Download PDFInfo
- Publication number
- CN107018526A CN107018526A CN201710380666.8A CN201710380666A CN107018526A CN 107018526 A CN107018526 A CN 107018526A CN 201710380666 A CN201710380666 A CN 201710380666A CN 107018526 A CN107018526 A CN 107018526A
- Authority
- CN
- China
- Prior art keywords
- determined
- wpa
- correctly
- connection
- orders
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to Wi Fi fault diagnosis fields there is provided a kind of method and apparatus of the remote terminal Wi Fi fault diagnosises based on Android intelligent television, this method includes:Determine the working condition of Wi Fi modules;Determine Wi Fi Connecting quantities;According to the working condition and Connecting quantity generation report daily record.Technical scheme proposed by the present invention can complete to accurate remote positioning problems, collect fault message and return to developer, improve treatment effeciency and reduce processing cost.
Description
Technical field
The invention belongs to Wi-Fi fault diagnosis fields, more particularly to a kind of remote terminal Wi- based on Android intelligent television
The method and apparatus of Fi fault diagnosises.
Background technology
Wi-Fi is current utilization rate highest wireless telecommunications means, and the life of itself and people are closely bound up.With Wi-Fi
The Android intelligent television of access function is as one of core of networked home entertainment, it is necessary to be Internet video, many equipment associations of network
Equal the most frequently used application scenarios provide reliable and efficient network foundation communications platform and supported.Yet with network environment not
The particularity of certainty, particularly home network environment, is related to isolation of the housing construction to Wi-Fi signal, and router puts position
Put the decay to Wi-Fi signal, the uncertain factor, the stabilization and biography to Wi-Fi network such as router the Research of Antenna Polarization
Defeated efficiency has different degrees of influence.
At present, when user's family runs into Wi-Fi network failure, it is necessary to TV technical staff after sale visits, but due to lacking
The technological guidance of few specialty, can only take some simple methods, for example, reconfigure router, change the hard of inside television
Part Wi-Fi modules, upgrading television set complete machine software etc., these methods can not precise positioning problem, extreme case even can not
Problem is effectively solved, no matter to user or for sales force, processing cost very big and inefficiency.
The content of the invention
It is an object of the invention to provide a kind of method of remote terminal Wi-Fi fault diagnosises based on Android intelligent television and
Equipment, with when Wi-Fi network occurs abnormal, can developer not at the scene under conditions of, also can accurately complete to ask
Topic positioning, collects fault message and returns to developer, form Optimized Measures by accident analysis, be finally completed failure perfect
With performance optimization.
The present invention is achieved by the following technical solutions.
Present invention firstly relates to a kind of method of the remote terminal Wi-Fi fault diagnosises based on Android intelligent television, including:
Determine the working condition of Wi-Fi modules;Determine Wi-Fi connection parameter;According to the working condition and Connecting quantity
Generation report daily record.
As a preferred embodiment, the working condition of the determination Wi-Fi modules includes:Determine Wi-Fi modules
Whether it is correctly validated according to USB device node;Determine television whether correctly loading Wi-Fi modules driving;Determining module end
Whether correct loading firmware;Determine whether correct opening network device node wlan0;Determine whether television kernel is correctly supported
Nl80211 driving interface agreements;Determine whether television correctly runs wpa_supplicant processes;It is determined that using wpa_cli
Wpa_supplicant correctly can be connected by Socket during order;It is determined that using wpa_cli orders debug scan when whether
Return to OK;It is determined that whether list length is more than 0 when debugging scan_results using wpa_cli orders;It is determined that using wpa_cli
The AP of " netid=0 " can be enabled during order debugging;It is determined that can correctly be performed when being debugged using wpa_cli orders
reconnect;It is determined that whether correctly associating upper AP when being checked by iwconfig orders.
As another preferred embodiment, the determination Wi-Fi connection parameter includes:It is determined that the AP work of connection is
No support 802.11n/ac communication protocols;It is determined that whether the AP working channels of connection are in 5.8G;It is determined that the AP aerial signals of connection
Whether intensity is more than the first predetermined threshold;It is determined that connection AP working channels intensity be more than the first predetermined threshold AP quantity whether
Less than the second predetermined threshold;It is determined that whether the AP work transmitting bandwidths of connection are HT20/HT40;It is determined that connection AP whether be
WPA-PSK/WPA2-PSK cryptographic protocols;It is determined that whether the AP of connection is AES encryption algorithm;It is determined that whether the AP work of connection props up
Hold QSS safe transmissions;Determine whether correctly to get IP by ifconfig;Whether gateway connection is determined by TCPSocket
Normally;Determine that Intranet is delayed;Determine that can dns server parse public network domain name by HttpGet;Determine that outer net is delayed.
Fault log maintenance service is reported to as another preferred embodiment, in addition to by the report daily record
Device.
The invention further relates to a kind of equipment of the remote terminal Wi-Fi fault diagnosises based on Android intelligent television, including:The
One determining module, is configured to determine the working condition of Wi-Fi modules;Second determining module, is configured to determine Wi-Fi connection
Parameter;Daily record generation module, is configured to according to the working condition and Connecting quantity generation report daily record.
As a preferred embodiment, first determining module is further configured to:Determining Wi-Fi modules is
It is no to be correctly validated according to USB device node;Determine television whether correctly loading Wi-Fi modules driving;Determining module end is
No correct loading firmware;Determine whether correct opening network device node wlan0;Determine whether television kernel is correctly supported
Nl80211 driving interface agreements;Determine whether television correctly runs wpa_supplicant processes;It is determined that using wpa_cli
Wpa_supplicant correctly can be connected by Socket during order;It is determined that using wpa_cli orders debug scan when whether
Return to OK;It is determined that whether list length is more than 0 when debugging scan_results using wpa_cli orders;It is determined that using wpa_cli
The AP of " netid=0 " can be enabled during order debugging;It is determined that can correctly be performed when being debugged using wpa_cli orders
reconnect;It is determined that whether correctly associating upper AP when being checked by iwconfig orders.
As another preferred embodiment, second determining module is further configured to:It is determined that the AP of connection
Whether work supports 802.11n/ac communication protocols;It is determined that whether the AP working channels of connection are in 5.8G;It is determined that AP days of connection
Whether line signal intensity is more than the first predetermined threshold;It is determined that the AP working channels intensity of connection is more than the AP numbers of the first predetermined threshold
Whether amount is less than the second predetermined threshold;It is determined that whether the AP work transmitting bandwidths of connection are HT20/HT40;It is determined that the AP of connection is
No is WPA-PSK/WPA2-PSK cryptographic protocols;It is determined that whether the AP of connection is AES encryption algorithm;It is determined that the AP work of connection is
No support QSS safe transmissions;Determine whether correctly to get IP by ifconfig;Determine that gateway is connected by TCPSocket
It is whether normal;Determine that Intranet is delayed;Determine that can dns server parse public network domain name by HttpGet;Determine that outer net is delayed.
As another preferred embodiment, in addition to daily record reporting module, the daily record reporting module is configured to
The report daily record is reported into fault log and safeguards server.
Technical scheme proposed by the present invention has the advantages that:
By the present invention, when Wi-Fi network occurs abnormal, can developer not at the scene under conditions of, also can
Positioning problems are accurately completed, fault message is collected and returns to developer, Optimized Measures are formed by accident analysis, finally
Complete failure to improve and performance optimization, improve treatment effeciency and reduce processing cost.
Brief description of the drawings
Fig. 1 is the equipment of the remote terminal Wi-Fi fault diagnosises based on Android intelligent television according to the embodiment of the present invention
Block diagram.
Fig. 2 is the method for the remote terminal Wi-Fi fault diagnosises based on Android intelligent television according to the embodiment of the present invention
Flow chart.
Fig. 3 is the working condition S11 of the determination Wi-Fi modules according to embodiment of the present invention flow chart.
Fig. 4 is the flow chart of the determination Wi-Fi connection parameter S12 according to the embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below by the embodiment of the present invention
Carry out clear, complete description.
Fig. 1 is the equipment of the remote terminal Wi-Fi fault diagnosises based on Android intelligent television according to the embodiment of the present invention
Block diagram.
With reference to Fig. 1, the equipment includes:First determining module 11, is configured to determine the working condition of Wi-Fi modules;The
Two determining modules 12, are configured to determine Wi-Fi connection parameter;Daily record generation module 13, is configured to according to the work shape
State and Connecting quantity generation report daily record.
First determining module 11 is further configured to:Determine whether Wi-Fi modules are correctly known according to USB device node
Not;Determine television whether correctly loading Wi-Fi modules driving;The whether correct loading firmware in determining module end;Determine whether just
True opening network device node wlan0;Determine whether television kernel correctly supports nl80211 driving interface agreements;It is determined that electric
Whether wpa_supplicant processes are correctly run depending on end;It is determined that correctly can be connected using during wpa_cli orders by Socket
Meet wpa_supplicant;It is determined that whether returning to OK when debugging scan using wpa_cli orders;It is determined that using wpa_cli orders
Whether list length is more than 0 when debugging scan_results;It is determined that " netid=can be enabled when being debugged using wpa_cli orders
0 " AP;It is determined that can correctly perform reconnect when being debugged using wpa_cli orders;It is determined that being looked into by iwconfig orders
Whether upper AP is correctly associated when seeing.
Second determining module 12 is further configured to:It is determined that whether the AP work of connection supports 802.11n/ac communication protocols
View;It is determined that whether the AP working channels of connection are in 5.8G;It is determined that whether the AP antenna signal strengths of connection are more than -65dB;It is determined that
Whether the AP quantity that the AP working channels intensity of connection is more than -65dB is less than 6;It is determined that the AP of connection works, whether transmitting bandwidth
For HT20/HT40;It is determined that whether the AP of connection is WPA-PSK/WPA2-PSK cryptographic protocols;It is determined that whether the AP of connection is AES
AES;It is determined that whether the AP work of connection supports QSS safe transmissions;Determine whether correctly to get by ifconfig
IP;Determine whether gateway is connected normal by TCPSocket;Determine that Intranet is delayed;Dns server energy is determined by HttpGet
No parsing public network domain name;Determine that outer net is delayed.
Further, the equipment can also include reporting that daily record reports to fault log and safeguards that the daily record of server reports mould
Block.
Fig. 2 is the method for the remote terminal Wi-Fi fault diagnosises based on Android intelligent television according to the embodiment of the present invention
Flow chart.
With reference to Fig. 2, this method includes:Step S11, determines the working condition of Wi-Fi modules;Step S12, determines Wi-Fi
Connecting quantity;Step S13, according to working condition and Connecting quantity generation report daily record.
Fig. 3 is the flow chart of the working condition of the determination Wi-Fi modules according to the embodiment of the present invention.
With reference to Fig. 3, determining the working condition of Wi-Fi modules includes:
Determine whether Wi-Fi modules are correctly validated according to USB device node, if it is by wifi_chip_
Detect.log is labeled as the first particular value and performs next step, on the contrary then generate the first error message, wherein, the first particular value
The information that can be correctly validated for instruction Wi-Fi modules according to USB device node, the first error message is instruction Wi-Fi moulds
The information that group can not be correctly validated according to USB device node, specifically, the first particular value can for " step 1succes ",
First error message can be " Wi-Fi module hardware abnormal electrical power supplies, USB device is not correctly identified as ";
Television whether correctly loading Wi-Fi modules driving is determined, if it is wifi_chip_detect.log is marked
It is designated as the second particular value and performs next step, it is on the contrary then generate the second error message and specific mistake is obtained by insmod and return
Value, wherein, the second particular value is that indication TV end can correctly load the information of Wi-Fi modules driving, and the second error message is,
Specifically indicate that television can not correctly load the information of Wi-Fi modules driving, specifically, the second particular value can be
" step 2success ", the second error message can be " the prefabricated driving file of TV end systems is abnormal ";
The whether correct loading firmware in determining module end, it is if it is that wifi_chip_detect.log is special labeled as the 3rd
Definite value simultaneously performs next step, on the contrary then the 3rd error message of generation and dump goes out firmwarelog and is appended to wifi_chip_
Detect.log ends, with<firmwarelog_date_time>As keyword state pause judgments, wherein, the 3rd particular value is
Indicating module is capable of the information of correct loading firmware, the 3rd error message be indicating module can not correct loading firmware letter
Breath, specifically, the 3rd particular value can be for " step 3success ", the 3rd error message can be for " module end is not loaded correctly
Firmware”;
Determine whether correct opening network device node wlan0, if it is mark wifi_chip_detect.log
For the 4th particular value and next step is performed, on the contrary then the 4th error message of generation and dump goes out kernellog and is appended to wifi_
Chip_detect.log ends, with<kernellog_date_time>As keyword state pause judgments, wherein the 4th particular value
To indicate the information of correct opening network device node wlan0, the 4th error message is the incorrect opening network equipment of instruction
Node wlan0 information, specifically, the 4th particular value can be " step4success ", and the 4th error message can be for " not just
True opening network device node wlan0 ";
Determine whether television kernel (kernel) correctly supports nl80211 driving interface agreements, if it is by wifi_
Chip_detect.log is labeled as correctly supporting the 5th of nl80211 driving interface agreements for indication TV end kernel
Particular value simultaneously performs next step, wherein the 5th particular value can for " step 5success ", it is on the contrary then:It is determined that performing iwlist
Whether wlan0scan has AP lists return, and if it is generation indicates that TV end kernel do not support nl80211 driving interfaces correctly
First misclassification of agreement is missed, specifically, and the first misclassification false information can be for " TV ends kernel does not support nl80211 drivings correctly
Interface protocol is, it is necessary to check whether driving compiling makefile correlation function switches are normal ", on the contrary then generation instruction driving malfunction
The second misclassification false information and dump go out kernellog and be appended to wifi_chip_detect.log ends, with<kernellog_
date_time>As keyword state pause judgments, specifically, the second misclassification false information can be " to cast aside kernnel interface protocols
Directly debugging driving, scan dysfunctions orientate driving malfunction as ";
Determine whether television correctly runs wpa_supplicant processes, if it is by wifi_chip_
Detect.log labeled as the 6th particular value and performing next step, it is on the contrary then generate the 5th error message and with
WifiStateMachine and wpa_supplicant is appended to wifi_chip_ as keyword interception Android logcat
Detect.log ends, and with<logcat_date_time>As keyword state pause judgments, wherein the 6th particular value is instruction
Television correctly runs the information of wpa_supplicant processes, specifically, and the 6th particular value can be " step
6success ", the 5th error message can be:Do not run wpa_supplicant processes correctly in TV ends;
It is determined that can if it is will using during wpa_cli orders correctly by Socket connection wpa_supplicant
Wifi_chip_detect.log labeled as the 7th particular value and performing next step, it is on the contrary then generate the 6th error message and with
WifiHW and wpa_supplicant is appended to wifi_chip_detect.log as keyword interception Android logcat
End, and with<logcat_date_time>As keyword state pause judgments, wherein the 7th particular value, which is instruction, uses wpa_cli
Can be correctly by Socket connections wpa_supplicant information during order, specifically, the 7th particular value can be " step
7success ", the 6th error message can be:Wpa_cli does not correctly connect wpa_supplicant by Socket;
It is determined that OK whether is returned to when debugging scan using wpa_cli orders, if it is by wifi_chip_
On the contrary detect.log is then generate the 7th error message and with wpa_ labeled as the 8th particular value and performing next step
Supplicant is appended to wifi_chip_detect.log ends as keyword interception Android logcat, and with<
logcat_date_time>As keyword state pause judgments, wherein, the 8th particular value is debugged for instruction using wpa_cli orders
OK information is returned to during scan, specifically, the 8th particular value can be " step8success ", and the 7th error message can be:
Wpa_cli debugging scan does not return to OK;
It is determined that whether list length is more than 0 when debugging scan_results using wpa_cli orders, if it is will
Wifi_chip_detect.log labeled as the 9th particular value and performing next step, it is on the contrary then generate the 8th error message and with
Wpa_supplicant is appended to wifi_chip_detect.log ends as keyword interception Android logcat, and with
<logcat_date_time>As keyword state pause judgments, wherein, the 9th particular value is debugged for instruction using wpa_cli orders
List length is more than 0 information during scan_results, and specifically, the 9th particular value can be " step 9success ", the 8th
Error message can be:Wpa_cli debugging scan_results list lengths are 0;
It is determined that the AP of " netid=0 " can be enabled when being debugged using wpa_cli orders, if it is by wifi_chip_
On the contrary detect.log is then generate the 9th error message and with wpa_ labeled as the tenth particular value and performing next step
Supplicant is appended to wifi_chip_detect.log ends as keyword interception Android logcat, with<
logcat_date_time>It is appended to as keyword state pause judgments, and by wpa_supplicant.conf document texts
Wifi_chip_detect.log ends, wherein, the tenth particular value can be enabled when being debugged for instruction using wpa_cli orders
The AP of " netid=0 " information, specifically, the tenth particular value can be for " step 10success ", the 9th error message can be with
For:Fail the AP of enable " netid=0 " information when being debugged with wpa_cli orders;
It is determined that reconnect can be correctly performed when being debugged using wpa_cli orders, if it is by wifi_chip_
Detect.log labeled as the 11st particular value and performing next step, it is on the contrary then generate the tenth error message and respectively with
WifiStateMachine and wpa_supplicant is appended to wifi_chip_ as keyword interception Android logcat
Detect.log ends, and with<logcat_date_time>As keyword state pause judgments, wherein, the 11st particular value is to make
Reconnect information can be correctly performed when being debugged with wpa_cli orders, specifically, the 11st particular value can be " step
11success ", the tenth error message can be:Wpa_cli debugging fails correctly to perform reconnect;
It is determined that whether upper AP is correctly associated when being checked by iwconfig orders, if it is by wifi_chip_
Detect.log is labeled as the 12nd particular value and terminates the working conditions of Wi-Fi modules constant current journey really, on the contrary then generate the
11 error messages simultaneously intercept Android using WifiStateMachine and wpa_supplicant as keyword respectively
Logcat is appended to wifi_chip_detect.log ends, and with<logcat_date_time>Originate and tie as keyword
Beam, wherein, the 12nd particular value is can correctly associate upper AP information when indicating and being checked by iwconfig orders, specifically,
12nd particular value can be " step12success ", and the 11st error message can be:When being checked by iwconfig orders
AP can not correctly be associated.
Fig. 4 is the flow chart of the determination Wi-Fi connection parameter according to the embodiment of the present invention.
With reference to Fig. 4, determine that Wi-Fi connection parameter includes:
It is determined that whether the AP work of connection supports 802.11n/ac communication protocols, if it is wifi_con_
Detect.log adds first and reported, if otherwise wifi_con_detect.log adds the second report and performs next step,
Wherein, first report can be:802.11n/ac communication protocols are supported, link layer supports higher transmission rate:130Mbps or
Higher, the second report can be:802.11n/ac communications protocol links layer is not supported, and higher transmission rate is not supported:
54Mbps or lower;
It is determined that whether the AP working channels of connection are in 5.8G, if it is wifi_con_detect.log additions the 3rd are reported
Accuse and perform next step, if otherwise wifi_con_detect.log adds the 4th report and performs next step, wherein,
3rd report can be:5.8G channels, working frequency relative clean are operated in, the 4th report can be:2.4G channels are operated in,
Working frequency is relatively noisy;
It is determined that whether the AP antenna signal strengths of connection are more than -65dB, if it is wifi_con_detect.log is added
5th reports and performs next step, and on the contrary then wifi_con_detect.log adds the 6th and reports and perform next step, its
In, the 5th report can be:Router geographic distance is nearer, and antenna Tx/Rx signal powers are good, and the 6th report can be:Road
By device geographic distance farther out, antenna Tx/Rx signal powers are not good;
It is determined that whether the AP quantity that the AP working channels intensity of connection is more than -65dB is less than 6, if it is wifi_
Con_detect.log adds the 7th and reports and perform next step, and on the contrary then wifi_con_detect.log adds the 8th and reported
Accuse and perform next step, wherein, the 7th including that can be:The air environment relative clean of working channel, the 8th report can be with
For:The air environment of working channel is relatively noisy;
It is determined that whether the AP work transmitting bandwidths of connection are HT20/HT40, if it is wifi_con_detect.log is chased after
Plus the 9th reports and perform next step, on the contrary then wifi_con_detect.log adds the tenth and reports and perform next step,
Wherein, the 9th report can be:Work bandwidth supports normal transmission rate, but anti-interference is relatively preferable, and the tenth report can
Think:Work bandwidth supports the transmission rate extended to, but anti-interference is relatively poor;
It is determined that whether the AP of connection is WPA-PSK/WPA2-PSK cryptographic protocols, if it is wifi_con_
Detect.log adds the 11st and reports and perform next step, and on the contrary then wifi_con_detect.log adds the 12nd and reported
Accuse and perform next step, wherein, the 11st report can be:Router supports WPA-PSK/WPA2-PSK cryptographic protocols, number
According to transmission safety scoring addition, the 12nd report can be:Router does not support WPA-PSK/WPA2-PSK cryptographic protocols, data
Transmission safety scoring not addition, it is proposed that modification router cipher mode is WPA-PSK/WPA2-PSK;
It is determined that whether the AP of connection is AES encryption algorithm, if it is wifi_con_detect.log adds the 13rd and reported
Accuse and perform next step, on the contrary then wifi_con_detect.log adds the 14th and reports and perform next step, wherein,
13rd report can be:Router supports AES encryption algorithm, data transmission security scoring addition, and the 14th report can be:
Router does not support AES encryption algorithm, data transmission security scoring not addition, it is proposed that modification router AES is AES
(CCMP);
It is determined that whether the AP work of connection supports QSS safe transmissions, if it is wifi_con_detect.log adds the
On the contrary 15 report and simultaneously perform next step, then additional 16th report and perform next step in wifi_con_detect.log
Suddenly, wherein, the 15th report can be:Router supports QSS safe transmissions, data transmission security scoring addition, the 16th report
Accusing to be:Router does not support QSS safe transmissions, data transmission security scoring not addition, it is proposed that modification router opens QSS
Safe transmission;
Determine whether correctly to get IP by ifconfig, if it is wifi_con_detect.log adds the tenth
Seven report and perform next step, and on the contrary then wifi_con_detect.log adds the 18th and reports and perform next step, its
In, the 17th report can be:DHCP is successful, and the 18th report can be:DHCP fails;
Determine whether gateway is connected normal, and if it is wifi_con_detect.log adds the tenth by TCPSocket
Nine report and perform next step, and on the contrary then wifi_con_detect.log adds the 20th and reports and perform next step, its
In, the 19th report can be:Gateway detection is normal, and the 20th report can be:Gateway detection is abnormal;
Determine Intranet be delayed, can by the way of ping gateways statistical average delay and packet loss, based on what is counted on
The report of information generation the 21st is delayed as Intranet to be reported, next step is performed afterwards;
Determine that can dns server parse public network domain name by HttpGet, if it is wifi_con_detect.log
Additional 22nd reports and performs next step, and on the contrary then wifi_con_detect.log adds the 23rd and reports and move back
Go out to determine Wi-Fi connection parameter S12 flow, wherein, the 22nd report can be:The dns server of router transmission, energy
Enough normally to parse specific test server domain name, the 23rd report can be:The dns server of router transmission, nothing
Method normally parses specific test server domain name;
Determine outer net be delayed, specifically, can by the way of ping test server statistical average delay and packet loss,
Based on count on information generation the 24th report as outer net be delayed report, backed off after random determine Wi-Fi connection parameter S12
Flow.
In step S13, it can be included according to working condition and Connecting quantity generation report daily record:According to determination Wi-Fi moulds
Each particular value and error message in the working condition S11 of group, and determine each report in Wi-Fi connection parameter S12
Generation report daily record.
Further, this method can also include:Report daily record is reported into fault log and safeguards server.
As can be seen from the above embodiments, the embodiment of the present invention by following two aspects realizes the detection of failure and complete
The collection of logic.
First, depth combs system Wi-Fi logics, separates SOC platform end and specific Wi-Fi modules in machine system and sets
The coupling of standby driving.From network connecting function aspect, various Wi-Fi modules are provided with unified abnormal status events, logic
Trap, and complete detection logical design definition.When triggering logistic trap, record critical error information is special to data subregions
Determine journal file wifi_chip_detect.log.
Then, from network application function aspect, capability evaluation, and legitimacy detection are carried out respectively to network connection parameter
Design definition.By assessment report information record to data subregion particular log files wifi_con_detect.log.
As can be seen from the above embodiments, by the embodiment of the present invention, when Wi-Fi network occurs abnormal, it can open
Hair personnel not at the scene under conditions of, also can accurately complete positioning problems, collect fault message and simultaneously return to developer, lead to
Cross accident analysis and form Optimized Measures, be finally completed failure and improve and performance optimization, improve treatment effeciency and reduce processing
Cost.
It should be noted that in this manual, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those
Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence " including ... ", it is not excluded that including
Also there is other identical element in process, method, article or the equipment of the key element.
It should also be noted that, a series of above-mentioned processing not only include what is performed in temporal sequence with order described here
Processing, and the processing including performing parallel or respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by software.Understood based on such,
What technical scheme contributed to background technology can be embodied in the form of software product in whole or in part,
The computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to make
Obtain a computer equipment (can be personal computer, server, or network equipment etc.) and perform each embodiment of the invention
Or the method described in some parts of embodiment.
The present invention is described in detail above, principle and embodiment party of the specific case used herein to the present invention
Formula is set forth, and the explanation of above example is only intended to the method and its core concept for helping to understand the present invention;Meanwhile, it is right
In those of ordinary skill in the art, according to the thought of the present invention, change is had in specific embodiments and applications
Part, in summary, this specification content should not be construed as limiting the invention.
Claims (8)
1. a kind of method of the remote terminal Wi-Fi fault diagnosises based on Android intelligent television, it is characterised in that including:
Determine the working condition of Wi-Fi modules;
Determine Wi-Fi connection parameter;
According to the working condition and Connecting quantity generation report daily record.
2. the method for the remote terminal Wi-Fi fault diagnosises according to claim 1 based on Android intelligent television, its feature
Being the working condition of the determination Wi-Fi modules includes:Determine whether Wi-Fi modules are correctly known according to USB device node
Not;Determine television whether correctly loading Wi-Fi modules driving;The whether correct loading firmware in determining module end;Determine whether just
True opening network device node wlan0;Determine whether television kernel correctly supports nl80211 driving interface agreements;It is determined that electric
Whether wpa_supplicant processes are correctly run depending on end;It is determined that correctly can be connected using during wpa_cli orders by Socket
Meet wpa_supplicant;It is determined that whether returning to OK when debugging scan using wpa_cli orders;It is determined that using wpa_cli orders
Whether list length is more than 0 when debugging scan_results;It is determined that " netid=can be enabled when being debugged using wpa_cli orders
0 " AP;It is determined that can correctly perform reconnect when being debugged using wpa_cli orders;It is determined that being looked into by iwconfig orders
Whether upper AP is correctly associated when seeing.
3. the method for the remote terminal Wi-Fi fault diagnosises according to claim 1 based on Android intelligent television, its feature
It is that the determination Wi-Fi connection parameter includes:It is determined that whether the AP work of connection supports 802.11n/ac communication protocols;It is determined that
Whether the AP working channels of connection are in 5.8G;It is determined that whether the AP antenna signal strengths of connection are more than the first predetermined threshold;It is determined that
Whether the AP quantity that the AP working channels intensity of connection is more than the first predetermined threshold is less than the second predetermined threshold;It is determined that the AP of connection
Whether the transmitting bandwidth that works is HT20/HT40;It is determined that whether the AP of connection is WPA-PSK/WPA2-PSK cryptographic protocols;It is determined that even
Whether the AP connect is AES encryption algorithm;It is determined that whether the AP work of connection supports QSS safe transmissions;Determined by ifconfig
Whether IP is correctly got;Determine whether gateway is connected normal by TCPSocket;Determine that Intranet is delayed;It is true by HttpGet
Can dns server be determined parse public network domain name;Determine that outer net is delayed.
4. the method for the remote terminal Wi-Fi fault diagnosises according to claim 1 based on Android intelligent television, its feature
It is also to include to report that daily record reports to fault log and safeguards server by described.
5. a kind of equipment of the remote terminal Wi-Fi fault diagnosises based on Android intelligent television, it is characterised in that including:
First determining module, is configured to determine the working condition of Wi-Fi modules;
Second determining module, is configured to determine Wi-Fi connection parameter;
Daily record generation module, is configured to according to the working condition and Connecting quantity generation report daily record.
6. the equipment of the remote terminal Wi-Fi fault diagnosises according to claim 5 based on Android intelligent television, its feature
It is that first determining module is further configured to:Determine whether Wi-Fi modules are correctly known according to USB device node
Not;Determine television whether correctly loading Wi-Fi modules driving;The whether correct loading firmware in determining module end;Determine whether just
True opening network device node wlan0;Determine whether television kernel correctly supports nl80211 driving interface agreements;It is determined that electric
Whether wpa_supplicant processes are correctly run depending on end;It is determined that correctly can be connected using during wpa_cli orders by Socket
Meet wpa_supplicant;It is determined that whether returning to OK when debugging scan using wpa_cli orders;It is determined that using wpa_cli orders
Whether list length is more than 0 when debugging scan_results;It is determined that " netid=can be enabled when being debugged using wpa_cli orders
0 " AP;It is determined that can correctly perform reconnect when being debugged using wpa_cli orders;It is determined that being looked into by iwconfig orders
Whether upper AP is correctly associated when seeing.
7. the equipment of the remote terminal Wi-Fi fault diagnosises according to claim 5 based on Android intelligent television, its feature
It is that second determining module is further configured to:It is determined that whether the AP work of connection supports 802.11n/ac communication protocols
View;It is determined that whether the AP working channels of connection are in 5.8G;It is determined that whether the AP antenna signal strengths of connection are more than the first predetermined threshold
Value;It is determined that whether the AP quantity that the AP working channels intensity of connection is more than the first predetermined threshold is less than the second predetermined threshold;It is determined that
Whether the AP work transmitting bandwidths of connection are HT20/HT40;It is determined that whether the AP of connection is WPA-PSK/WPA2-PSK encryptions association
View;It is determined that whether the AP of connection is AES encryption algorithm;It is determined that whether the AP work of connection supports QSS safe transmissions;Pass through
Ifconfig determines whether correctly to get IP;Determine whether gateway is connected normal by TCPSocket;Determine that Intranet is delayed;
Determine that can dns server parse public network domain name by HttpGet;Determine that outer net is delayed.
8. the equipment of the remote terminal Wi-Fi fault diagnosises according to claim 6 based on Android intelligent television, its feature
It is also to include daily record reporting module, the daily record reporting module is configured to the report daily record reporting to fault log dimension
Protect server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710380666.8A CN107018526B (en) | 2017-05-25 | 2017-05-25 | The method and apparatus of remote terminal Wi-Fi fault diagnosis based on Android smart television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710380666.8A CN107018526B (en) | 2017-05-25 | 2017-05-25 | The method and apparatus of remote terminal Wi-Fi fault diagnosis based on Android smart television |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107018526A true CN107018526A (en) | 2017-08-04 |
CN107018526B CN107018526B (en) | 2019-09-10 |
Family
ID=59451586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710380666.8A Active CN107018526B (en) | 2017-05-25 | 2017-05-25 | The method and apparatus of remote terminal Wi-Fi fault diagnosis based on Android smart television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107018526B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107484227A (en) * | 2017-09-01 | 2017-12-15 | 天津赞普科技股份有限公司 | A kind of more focus control communication means of wifi networkings |
CN108307414A (en) * | 2017-12-12 | 2018-07-20 | 广东小天才科技有限公司 | Wi-Fi connection abnormality eliminating method, device, terminal and the storage medium of application program |
CN109309602A (en) * | 2018-10-25 | 2019-02-05 | 四川长虹电器股份有限公司 | A method of checking wireless network connection stability |
CN109951858A (en) * | 2017-12-21 | 2019-06-28 | 深圳Tcl新技术有限公司 | Network optimized approach, intelligent terminal and storage medium based on WIFI communication |
CN110290547A (en) * | 2019-06-28 | 2019-09-27 | 深圳市元征科技股份有限公司 | A kind of WiFi module fault recovery method, system and electronic equipment and storage medium |
CN110753363A (en) * | 2019-10-29 | 2020-02-04 | 乐鑫信息科技(上海)股份有限公司 | Intelligent device wireless debugging system and method |
CN111200877A (en) * | 2020-03-12 | 2020-05-26 | 深圳康佳电子科技有限公司 | Network connection method, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554796A (en) * | 2016-01-12 | 2016-05-04 | 杭州全维通信服务股份有限公司 | Method for locating wireless AP failure cause based on intelligence |
CN106162718A (en) * | 2016-08-18 | 2016-11-23 | 乐视控股(北京)有限公司 | A kind of WiFi network access detection method and device |
CN106211226A (en) * | 2016-08-28 | 2016-12-07 | 黄明 | The method and device that a kind of wireless WiFi mass detects in real time |
CN106332156A (en) * | 2015-07-02 | 2017-01-11 | 深圳平安通信科技有限公司 | WIFI anomaly detection control system and method |
-
2017
- 2017-05-25 CN CN201710380666.8A patent/CN107018526B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106332156A (en) * | 2015-07-02 | 2017-01-11 | 深圳平安通信科技有限公司 | WIFI anomaly detection control system and method |
CN105554796A (en) * | 2016-01-12 | 2016-05-04 | 杭州全维通信服务股份有限公司 | Method for locating wireless AP failure cause based on intelligence |
CN106162718A (en) * | 2016-08-18 | 2016-11-23 | 乐视控股(北京)有限公司 | A kind of WiFi network access detection method and device |
CN106211226A (en) * | 2016-08-28 | 2016-12-07 | 黄明 | The method and device that a kind of wireless WiFi mass detects in real time |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107484227A (en) * | 2017-09-01 | 2017-12-15 | 天津赞普科技股份有限公司 | A kind of more focus control communication means of wifi networkings |
CN107484227B (en) * | 2017-09-01 | 2021-01-01 | 天津赞普科技股份有限公司 | Wifi networking multi-hot-spot control communication method |
CN108307414A (en) * | 2017-12-12 | 2018-07-20 | 广东小天才科技有限公司 | Wi-Fi connection abnormality eliminating method, device, terminal and the storage medium of application program |
CN108307414B (en) * | 2017-12-12 | 2021-03-19 | 广东小天才科技有限公司 | Wi-Fi connection abnormity processing method and device of application program, terminal and storage medium |
CN109951858A (en) * | 2017-12-21 | 2019-06-28 | 深圳Tcl新技术有限公司 | Network optimized approach, intelligent terminal and storage medium based on WIFI communication |
CN109309602A (en) * | 2018-10-25 | 2019-02-05 | 四川长虹电器股份有限公司 | A method of checking wireless network connection stability |
CN109309602B (en) * | 2018-10-25 | 2022-01-25 | 四川长虹电器股份有限公司 | Method for checking wireless network connection stability |
CN110290547A (en) * | 2019-06-28 | 2019-09-27 | 深圳市元征科技股份有限公司 | A kind of WiFi module fault recovery method, system and electronic equipment and storage medium |
CN110753363A (en) * | 2019-10-29 | 2020-02-04 | 乐鑫信息科技(上海)股份有限公司 | Intelligent device wireless debugging system and method |
CN111200877A (en) * | 2020-03-12 | 2020-05-26 | 深圳康佳电子科技有限公司 | Network connection method, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107018526B (en) | 2019-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107018526B (en) | The method and apparatus of remote terminal Wi-Fi fault diagnosis based on Android smart television | |
KR101503680B1 (en) | Method and apparatus for network analysis | |
EP3048759B1 (en) | Fault diagnosis method, device and system | |
CN101170455B (en) | Automatic reporting method and device for exception information | |
CN106254147B (en) | It is a kind of for the configuration method of Wi-Fi network, internet-of-things terminal and control terminal | |
EP3082293B1 (en) | Switching device and packet loss method therefor | |
JP7268240B2 (en) | Signaling storm blocking method, apparatus and device, and storage medium | |
CA3024472C (en) | Client device and method for analysis of a predetermined set of parameters associated with radio coupling to a wlan | |
CN104579796B (en) | A kind of long-distance maintenance method of the network equipment, terminal and system | |
Van Den Broek et al. | Security testing of GSM implementations | |
EP2681870A1 (en) | Technique for determining correlated events in a communication system | |
EP2568733A1 (en) | Method and apparatus for collecting mobile communication data | |
CN109992485A (en) | A kind of debugging log providing method, terminal device and server | |
Chou et al. | Behavior anomaly detection in SDN control plane: a case study of topology discovery attacks | |
CN111479287A (en) | Simulation test method, device, equipment and storage medium for core network of non-independent networking | |
KR20180081959A (en) | Method and Apparatus for Checking Problem in Mobile Communication Network | |
CN103458448A (en) | Method and device for diagnosing communication network fault | |
Raposo et al. | Securing wirelesshart: monitoring, exploring and detecting new vulnerabilities | |
He et al. | Intelligent fuzzing algorithm for 5g nas protocol based on predefined rules | |
US20210409981A1 (en) | Adaptive network data collection and composition | |
Tan et al. | {CellDAM}:{User-Space}, Rootless Detection and Mitigation for 5G Data Plane | |
Raj et al. | Battery drain using wifi beacons | |
CN105163335B (en) | A kind of network access management method, server, mobile terminal and system | |
CN108243034B (en) | Fault determination method, receiver and transmitter | |
Idland | Detecting mac spoofing attacks in 802.11 networks through fingerprinting on the mac layer |
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 |