CN116614675A - Wi-Fi (wireless fidelity) back connection automatic detection method and system for smart television box and readable storage medium - Google Patents

Wi-Fi (wireless fidelity) back connection automatic detection method and system for smart television box and readable storage medium Download PDF

Info

Publication number
CN116614675A
CN116614675A CN202310885984.5A CN202310885984A CN116614675A CN 116614675 A CN116614675 A CN 116614675A CN 202310885984 A CN202310885984 A CN 202310885984A CN 116614675 A CN116614675 A CN 116614675A
Authority
CN
China
Prior art keywords
ping
website
failure
automatic detection
box
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
Application number
CN202310885984.5A
Other languages
Chinese (zh)
Other versions
CN116614675B (en
Inventor
李军
刘姚青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen SDMC Technology Co Ltd
Original Assignee
Shenzhen SDMC Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen SDMC Technology Co Ltd filed Critical Shenzhen SDMC Technology Co Ltd
Priority to CN202310885984.5A priority Critical patent/CN116614675B/en
Publication of CN116614675A publication Critical patent/CN116614675A/en
Application granted granted Critical
Publication of CN116614675B publication Critical patent/CN116614675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4425Monitoring of client processing errors or hardware failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a Wi-Fi back connection automatic detection method and system for an intelligent television box and a readable storage medium, wherein the method comprises the following steps: s1, detecting whether the intelligent television box is connected with Wi-Fi or not; s2, if Wi-Fi is connected, acquiring preset IP acquisition time length, website, ping website time length and running times; s3, restarting the intelligent television box, executing Wi-Fi reconnection based on the IP acquisition time length, the website and the ping website time length, and outputting a test report; s4, repeatedly executing the step S3 until the operation times are reached. According to the application, the automatic restarting of the intelligent television box and the detection of the Wi-Fi reconnection state are realized by automatically detecting the APK, so that the detection of the Wi-Fi reconnection state is greatly facilitated, the working efficiency of research and development personnel is improved, and manpower and material resources can be saved.

Description

Wi-Fi (wireless fidelity) back connection automatic detection method and system for smart television box and readable storage medium
Technical Field
The application relates to the technical field of smart home, in particular to a Wi-Fi back connection automatic detection method and system for a smart television box and a readable storage medium.
Background
Along with the continuous development of science and technology and the Internet of things, the concept of intelligent home is gradually maturing, the trend that people rely on networks is more and more obvious, and meanwhile, the convenience of networks also enables the efficiency of daily life of people to be higher, and the life experience is better.
For a home network, the smart television box is indispensable, and the smart television box can be directly connected to a home wireless network (such as Wi-Fi) to perform intelligent operation nowadays, but the smart television box is restarted for a plurality of times after being connected with the Wi-Fi, so that the phenomenon that Wi-Fi connection is unsuccessful occurs probabilistically, as shown in fig. 1, the problem needs to be repeatedly verified manually at the moment, and a large amount of manpower and material resources need to be input.
Disclosure of Invention
The application aims to provide a Wi-Fi reconnection automatic detection method, a Wi-Fi reconnection automatic detection system and a readable storage medium for an intelligent television box, which can realize automatic restarting of the intelligent television box and detection of Wi-Fi reconnection state through automatic detection of APK, can greatly and conveniently check the Wi-Fi reconnection state, is very convenient for researchers to reproduce problems and analyze problems, and can save manpower and material resources.
The application provides an automatic detection method for Wi-Fi reconnection of an intelligent television box, which comprises the following steps:
s1, detecting whether the intelligent television box is connected with Wi-Fi or not;
s2, if Wi-Fi is connected, acquiring preset IP acquisition time length, website, ping website time length and running times;
s3, restarting the intelligent television box, executing Wi-Fi reconnection based on the IP acquisition time length, the website and the ping website time length, and outputting a test report;
s4, repeatedly executing the step S3 until the operation times are reached.
Further, the method is executed by an automatic detection tool installed in the intelligent television box, and after the intelligent television box is powered on, the automatic detection tool is powered on synchronously.
Further, the executing Wi-Fi reconnection and outputting the test report based on the IP acquisition duration, the website and the ping website duration includes:
if the IP address is acquired within the IP acquisition time period, and the ping gateway and the ping network address succeed within the ping network address time period, outputting a test report of successful reconnection;
otherwise, outputting a test report of the loopback failure.
Further, the test report of the loopback failure includes a failure type, wherein:
if the IP address cannot be acquired within the IP acquisition time, the failure type is interrupted for the data link layer;
if the ping gateway fails to analyze in the corresponding ping website time after the IP address is acquired in the IP acquisition time, the failure type is IP conflict/packet loss;
if the ping of the website fails within the corresponding ping website duration, the failure type is that the DNS server cannot acquire the failure type.
Further, the repeatedly executing step S3 specifically includes:
recording the time of each restarting of the intelligent set top box;
acquiring a time difference between the current time and the last restarting time of the intelligent set top box;
and if the time difference reaches the preset restarting time, executing the step S3.
Further, the repeatedly executing step S3 until the number of operation times is reached includes:
counting the failure times of each failure type, and if the failure times meet the preset conditions, pulling the Wi-Fi into a blacklist; if the current Wi-Fi is not pulled into the blacklist and the running times are not reached, repeating the step S3.
Further, after the current Wi-Fi is pulled into the blacklist or the number of times of operation is reached, detecting whether other Wi-Fi exists, if so, connecting with one other Wi-Fi, and executing steps S3 and S4.
The application provides a Wi-Fi back connection automatic detection system of an intelligent television box, which comprises a memory and a processor, wherein the memory comprises a Wi-Fi back connection automatic detection method program of the intelligent television box, and the Wi-Fi back connection automatic detection method program of the intelligent television box is executed by the processor to realize the following steps:
s1, detecting whether the intelligent television box is connected with Wi-Fi or not;
s2, if Wi-Fi is connected, acquiring preset IP acquisition time length, website, ping website time length and running times;
s3, restarting the intelligent television box, executing Wi-Fi reconnection based on the IP acquisition time length, the website and the ping website time length, and outputting a test report;
s4, repeatedly executing the step S3 until the operation times are reached.
Further, the executing Wi-Fi reconnection and outputting the test report based on the IP acquisition duration, the website and the ping website duration includes:
if the IP address is acquired within the IP acquisition time period, and the ping gateway and the ping network address succeed within the ping network address time period, outputting a test report of successful reconnection;
otherwise, outputting a test report of the reconnection failure;
the test report of the loopback failure comprises a failure type, wherein:
if the IP address cannot be acquired within the IP acquisition time, the failure type is interrupted for the data link layer;
if the ping gateway fails to analyze in the corresponding ping website time after the IP address is acquired in the IP acquisition time, the failure type is IP conflict/packet loss;
if the ping of the website fails within the corresponding ping website duration, the failure type is that the DNS server cannot acquire the failure type.
The third aspect of the present application provides a computer readable storage medium, where the computer readable storage medium includes a smart tv box Wi-Fi back connection automatic detection method program of a machine, where the smart tv box Wi-Fi back connection automatic detection method program, when executed by a processor, implements the steps of a smart tv box Wi-Fi back connection automatic detection method according to any one of the above.
According to the Wi-Fi reconnection automatic detection method and system for the intelligent television box and the readable storage medium, disclosed by the application, the automatic restarting of the intelligent television box and the detection of the Wi-Fi reconnection state are realized through automatic detection of the APK, so that the detection of the Wi-Fi reconnection state is greatly facilitated, the working efficiency of research personnel is improved, and the manpower and material resources can be saved.
Drawings
Fig. 1 shows a schematic diagram of a Wi-Fi loopback detection mode of a smart television box according to the prior art;
fig. 2 shows a flowchart of a Wi-Fi back connection automatic detection method for an intelligent television box of the present application;
FIG. 3 shows a flow chart of a smart television box Wi-Fi loopback automatic detection method according to an embodiment of the application;
fig. 4 shows a block diagram of a Wi-Fi back automatic detection system for a smart television box according to the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will be more clearly understood, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, without conflict, the embodiments of the present application and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, however, the present application may be practiced in other ways than those described herein, and therefore the scope of the present application is not limited to the specific embodiments disclosed below.
Fig. 2 shows a flowchart of a Wi-Fi back connection automatic detection method for an intelligent television box.
As shown in fig. 2, the application discloses an automatic detection method for Wi-Fi reconnection of an intelligent television box, which comprises the following steps:
s1, detecting whether the intelligent television box is connected with Wi-Fi or not;
s2, if Wi-Fi is connected, acquiring preset IP acquisition time length, website, ping website time length and running times;
s3, restarting the intelligent television box, executing Wi-Fi reconnection based on the IP acquisition time length, the website and the ping website time length, and outputting a test report;
s4, repeatedly executing the step S3 until the operation times are reached.
Optionally, the method is performed by an automatic detection tool installed in the smart television box, and when the smart television box is powered on, the automatic detection tool is powered on synchronously. The automatic detection tool is optionally implemented as APK (Android application package).
Optionally, the performing Wi-Fi reconnection and outputting the test report based on the IP acquisition duration, the website and the ping website duration includes:
if the IP address is acquired within the IP acquisition time period, and the ping gateway and the ping network address succeed within the ping network address time period, outputting a test report of successful reconnection;
otherwise, outputting a test report of the loopback failure.
Optionally, the test report of the loopback failure includes a failure type, wherein:
if the IP address cannot be acquired within the IP acquisition time, the failure type is interrupted for the data link layer;
if the ping gateway fails to analyze in the corresponding ping website time after the IP address is acquired in the IP acquisition time, the failure type is IP conflict/packet loss;
if the ping of the website fails within the corresponding ping website duration, the failure type is that the DNS server cannot acquire the failure type.
Optionally, the repeatedly executing step S3 specifically includes:
recording the time of each restarting of the intelligent set top box;
acquiring a time difference between the current time and the last restarting time of the intelligent set top box;
and if the time difference reaches the preset restarting time, executing the step S3.
Optionally, the repeatedly executing step S3 until the number of operation times is reached includes:
counting the failure times of each failure type, and if the failure times meet the preset conditions, pulling the Wi-Fi into a blacklist; if the current Wi-Fi is not pulled into the blacklist and the running times are not reached, repeating the step S3.
Optionally, after the current Wi-Fi is pulled into the blacklist or the number of times of operation is reached, detecting whether there is another Wi-Fi, if so, connecting one other Wi-Fi, and executing steps S3 and S4.
And if the failure times of each failure type are counted and the preset condition is met, the current Wi-Fi is pulled into a blacklist to comprise BSSID shielding.
The BSSID mask process includes: two failure counters are set for each particular failure type: when a failure occurs, the count of the corresponding consecutive failure counter of the failure type is increased, if the failure threshold of the failure type is met, that is, the preset condition is met, the BSSID is masked, and the count of the corresponding stripe counter of the failure type (that is, the failed stripe) is increased, and the masking duration of the BSSID is determined based on the count of the stripe counter.
Optionally, the masking period of the BSSID starts from a configurable base value and increases exponentially until an upper limit of the masking period is reached, and if a failure occurs continuously on the same BSSID, the masking period increases, where the masking period refers to the base period that increases exponentially with the failure stripe, that is, the masking period t=2 n X T is equal to or less than T max Wherein n is the value of the failure stripe (n is not less than 1), T is the basic shielding time length, T max For the upper limit of the shielding duration, if 2 n ×t>T max Then t=t max . For example, a failure stripe of "2" means "4" times the base mask duration. Through the shielding mode, wiFi which is easy to be connected with failure can be prevented from being frequently detected, so that excessive detection time and cost are consumed. Optionally, to further reduce detection time and cost, when a failure is detected and the failure stripe is greater than "0", the BSSID is immediately masked even if the count of the consecutive failure counter does not exceed the failure threshold.
For Wi-Fi pulled into a blacklist, the intelligent television box is not connected; after the smart television box is restarted each time, wi-Fi with the expired shielding time is deleted from the blacklist, and connection and detection can be continued.
Fig. 3 shows a flowchart of a smart tv box Wi-Fi back auto-detection method according to one embodiment of the present application, which is performed by an auto-detection tool, which is optionally installed inside a smart set-top box, and which is also powered up synchronously when the smart tv box is powered up. The method comprises the following steps:
s301, detecting whether the smart television box is connected with Wi-Fi or not by an automatic detection tool, and ending the processing if the smart television box is not connected with Wi-Fi; if Wi-Fi is connected, the process proceeds to step S302.
S302, acquiring preset IP acquisition time length, website address, ping website address time length and running times, and setting the running times to be an initial value of 0.
S303, restarting the intelligent television box, executing Wi-Fi back connection based on IP (Internet protocol) acquisition time length, website and ping website time length, and outputting a test report, wherein the running times are increased by 1;
if the IP address is acquired within the IP acquisition time period, and the ping gateway and the ping network address succeed in the ping network address time period, outputting a test report of successful reconnection; otherwise, outputting a test report of the loopback failure. The test report of the loopback failure comprises a failure type, comprising the following steps:
if the IP address cannot be acquired within the IP acquisition time, the failure type is interrupted for the data link layer;
if the ping gateway fails to analyze in the corresponding ping website time after the IP address is acquired in the IP acquisition time, the failure type is IP conflict/packet loss;
if the ping of the website fails within the corresponding ping website duration, the failure type is that the DNS server cannot acquire the failure type.
S304, counting the failure times of each failure type, if the failure times meet the preset conditions, pulling the Wi-Fi into a blacklist, and executing a step S306; otherwise, step S305 is performed; and after the current Wi-Fi is pulled into the blacklist, the intelligent television box is forbidden to be connected to the corresponding Wi-Fi network.
S305, judging whether the running times reach the running times, if so, entering a step S306; if not, go back to step S303.
S306, detecting whether other Wi-Fi exists, and if not, ending the processing; if so, one other Wi-Fi is connected, and step S303 is performed.
It should be noted that, in this embodiment, when a device or a network connection is added to the Wi-Fi blacklist, it means that the device or the connection is prohibited from being connected to the Wi-Fi network, even if it can scan to the SSID name of the network, the shielding means includes BSSID shielding and SSID shielding, where BSSID (Basic Service Set ID, basic Service Set identifier) is the MAC address of each wireless access point, and SSID (Service Set ID) is the Wi-Fi name in the general language.
And counting the failure times of each failure type, and if the failure times meet the preset condition, pulling the current Wi-Fi into a blacklist to comprise BSSID shielding. If the quality of the connected Wi-Fi network is not good enough or the device is not connected to the network, the device applying the Android system will filter the Wi-Fi scan results, wherein the filtering includes the BSSID that has been masked, which can mask the BSSID from repeated connection failures, frequent disconnection and explicit requests from the AP, so that it does not attempt to connect within a specific period of time.
The BSSID mask process includes: two failure counters are set for each particular failure type: a consecutive failure counter and a stripe counter, when a failure occurs, the consecutive failure counter count of the corresponding failure type is incremented, if a failure threshold of the failure type is reached, the BSSID is masked, and the stripe counter count of the corresponding failure type (i.e., the failed stripe) is incremented, and a masking duration of the BSSID is determined based on the count of the stripe counter.
Optionally, the masking period of the BSSID starts from a configurable base value and increases exponentially until an upper limit of the masking period is reached, and if a failure occurs continuously on the same BSSID, the masking period increases, where the masking period refers to the base period that increases exponentially with the failure stripe, that is, the masking period t=2 n X T is equal to or less than T max Wherein n is the value of the failure stripe (n is not less than 1), T is the basic shielding time length, T max For the upper limit of the shielding duration, if 2 n ×t>T max Then t=t max . For example, a failure stripe of "2" means "4"times the base mask duration". Through the shielding mode, wiFi which is easy to be connected with failure can be prevented from being frequently detected, so that excessive detection time and cost are consumed. To further reduce detection time and cost, when a failure is detected and the failure stripe is greater than "0", the BSSID is immediately masked even if the count of the consecutive failure counter does not exceed the failure threshold. After the shielding duration expires, the Wi-Fi is pulled out of the blacklist, and the intelligent television box can be normally connected to the corresponding Wi-Fi network.
Fig. 4 shows a block diagram of a Wi-Fi back automatic detection system for a smart television box according to the present application.
As shown in fig. 4, the application discloses an intelligent television box Wi-Fi back connection automatic detection system, which comprises a memory and a processor, wherein the memory comprises an intelligent television box Wi-Fi back connection automatic detection method program, and the intelligent television box Wi-Fi back connection automatic detection method program is executed by the processor to realize the following steps:
s1, detecting whether the intelligent television box is connected with Wi-Fi or not;
s2, if Wi-Fi is connected, acquiring preset IP acquisition time length, website, ping website time length and running times;
s3, restarting the intelligent television box, executing Wi-Fi reconnection based on the IP acquisition time length, the website and the ping website time length, and outputting a test report;
s4, repeatedly executing the step S3 until the operation times are reached.
Optionally, the method is performed by an automatic detection tool installed in the smart television box, and when the smart television box is powered on, the automatic detection tool is powered on synchronously.
Optionally, the performing Wi-Fi reconnection and outputting the test report based on the IP acquisition duration, the website and the ping website duration includes:
if the IP address is acquired within the IP acquisition time period, and the ping gateway and the ping network address succeed within the ping network address time period, outputting a test report of successful reconnection;
otherwise, outputting a test report of the loopback failure.
Optionally, the test report of the loopback failure includes a failure type, wherein:
if the IP address cannot be acquired within the IP acquisition time, the failure type is interrupted for the data link layer;
if the ping gateway fails to analyze in the corresponding ping website time after the IP address is acquired in the IP acquisition time, the failure type is IP conflict/packet loss;
if the ping of the website fails within the corresponding ping website duration, the failure type is that the DNS server cannot acquire the failure type.
Optionally, the repeatedly executing step S3 specifically includes:
recording the time of each restarting of the intelligent set top box;
acquiring a time difference between the current time and the last restarting time of the intelligent set top box;
and if the time difference reaches the preset restarting time, executing the step S3.
Optionally, the repeatedly executing step S3 until the number of operation times is reached includes:
counting the failure times of each failure type, and if the failure times meet the preset conditions, pulling the Wi-Fi into a blacklist; if the current Wi-Fi is not pulled into the blacklist and the running times are not reached, repeating the step S3.
Optionally, after the current Wi-Fi is pulled into the blacklist or the number of times of operation is reached, detecting whether there is another Wi-Fi, if so, connecting one other Wi-Fi, and executing steps S3 and S4.
It is worth mentioning that after the current Wi-Fi is pulled into the blacklist, the smart television box is prohibited from being connected to the corresponding Wi-Fi network.
It should be noted that, in this embodiment, when a device or a network connection is added to the Wi-Fi blacklist, it means that the device or the connection is prohibited from being connected to the Wi-Fi network, even if it can scan to the SSID name of the network, the shielding means includes BSSID shielding and SSID shielding, where BSSID (Basic Service Set ID, basic Service Set identifier) is the MAC address of each wireless access point, and SSID (Service Set ID) is the Wi-Fi name in the general language.
And counting the failure times of each failure type, and if the failure times meet the preset condition, pulling the current Wi-Fi into a blacklist to comprise BSSID shielding. If the quality of the connected Wi-Fi network is not good enough or the device is not connected to the network, the device applying the Android system will filter the Wi-Fi scan results, wherein the filtering includes the BSSID that has been masked, which can mask the BSSID from repeated connection failures, frequent disconnection and explicit requests from the AP, so that it does not attempt to connect within a specific period of time.
The BSSID mask process includes: two failure counters are set for each particular failure type: a consecutive failure counter and a stripe counter, when a failure occurs, the consecutive failure counter count of the corresponding failure type is incremented, if a failure threshold of the failure type is reached, the BSSID is masked, and the stripe counter count of the corresponding failure type (i.e., the failed stripe) is incremented, and a masking duration of the BSSID is determined based on the count of the stripe counter.
Optionally, the masking period of the BSSID starts from a configurable base value and increases exponentially until an upper limit of the masking period is reached, and if a failure occurs continuously on the same BSSID, the masking period increases, where the masking period refers to the base period that increases exponentially with the failure stripe, that is, the masking period t=2 n X T is equal to or less than T max Wherein n is the value of the failure stripe (n is not less than 1), T is the basic shielding time length, T max For the upper limit of the shielding duration, if 2 n ×t>T max Then t=t max . For example, a failure stripe of "2" means "4" times the base mask duration. Through the shielding mode, wiFi which is easy to be connected with failure can be prevented from being frequently detected, so that excessive detection time and cost are consumed. To further reduce detection time and cost, when a failure is detected and the failure stripe is greater than "0", the BSSID is immediately masked even if the count of the consecutive failure counter does not exceed the failure threshold.
The third aspect of the present application provides a computer readable storage medium, where the computer readable storage medium includes a smart tv box Wi-Fi back automatic detection method program, where the smart tv box Wi-Fi back automatic detection method program, when executed by a processor, implements the steps of a smart tv box Wi-Fi back automatic detection method as described in any one of the above.
According to the Wi-Fi reconnection automatic detection method, system and readable storage medium for the intelligent television box, disclosed by the application, the automatic restarting of the intelligent television box and the detection of the Wi-Fi reconnection state are realized through automatic detection of the APK, the Wi-Fi reconnection state is checked very conveniently, the problem and analysis problem are repeated by researchers very conveniently, and meanwhile, the manpower and material resources can be saved.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.

Claims (10)

1. The Wi-Fi back connection automatic detection method for the intelligent television box is characterized by comprising the following steps of:
s1, detecting whether the intelligent television box is connected with Wi-Fi or not;
s2, if Wi-Fi is connected, acquiring preset IP acquisition time length, website, ping website time length and running times;
s3, restarting the intelligent television box, executing Wi-Fi reconnection based on the IP acquisition time length, the website and the ping website time length, and outputting a test report;
s4, repeatedly executing the step S3 until the operation times are reached.
2. The method for automatically detecting Wi-Fi back connection of a smart tv box according to claim 1, wherein the method is performed by an automatic detection tool installed in the smart tv box, and the automatic detection tool is synchronously powered up when the smart tv box is powered up.
3. The method for automatically detecting Wi-Fi reconnection of an intelligent television box according to claim 2, wherein the performing Wi-Fi reconnection and outputting a test report based on the IP acquisition duration, the website and the ping website duration comprises:
if the IP address is acquired within the IP acquisition time period, and the ping gateway and the ping network address succeed within the ping network address time period, outputting a test report of successful reconnection;
otherwise, outputting a test report of the loopback failure.
4. The method for automatically detecting Wi-Fi reconnection of an intelligent television box according to claim 3, wherein the test report of reconnection failure includes a failure type, wherein:
if the IP address cannot be acquired within the IP acquisition time, the failure type is interrupted for the data link layer;
if the ping gateway fails to analyze in the corresponding ping website time after the IP address is acquired in the IP acquisition time, the failure type is IP conflict/packet loss;
if the ping of the website fails within the corresponding ping website duration, the failure type is that the DNS server cannot acquire the failure type.
5. The Wi-Fi back automatic detection method for smart tv boxes according to claim 4, wherein the repeatedly executing step S3 specifically includes:
recording the time of each restarting of the intelligent set top box;
acquiring a time difference between the current time and the last restarting time of the intelligent set top box;
and if the time difference reaches the preset restarting time, executing the step S3.
6. The Wi-Fi back automatic detection method for smart tv boxes according to claim 4 or 5, wherein the repeatedly executing step S3 until the number of operations is reached includes:
counting the failure times of each failure type, and if the failure times meet the preset conditions, pulling the Wi-Fi into a blacklist; if the current Wi-Fi is not pulled into the blacklist and the running times are not reached, repeating the step S3.
7. The method for automatically detecting Wi-Fi back connection of smart tv box according to claim 6, wherein after the current Wi-Fi is pulled into a blacklist or the number of times of operation is reached, detecting whether there is other Wi-Fi, if so, connecting with one other Wi-Fi, and executing steps S3 and S4.
8. The Wi-Fi back connection automatic detection system of the intelligent television box is characterized by comprising a memory and a processor, wherein the memory comprises a Wi-Fi back connection automatic detection method program of the intelligent television box, and the Wi-Fi back connection automatic detection method program of the intelligent television box is executed by the processor to realize the following steps:
s1, detecting whether the intelligent television box is connected with Wi-Fi or not;
s2, if Wi-Fi is connected, acquiring preset IP acquisition time length, website, ping website time length and running times;
s3, restarting the intelligent television box, executing Wi-Fi reconnection based on the IP acquisition time length, the website and the ping website time length, and outputting a test report;
s4, repeatedly executing the step S3 until the operation times are reached.
9. The smart tv box Wi-Fi loopback automatic detection system of claim 8, wherein the performing Wi-Fi loopback based on the IP acquisition duration, the website, and the ping website duration and outputting the test report comprises:
if the IP address is acquired within the IP acquisition time period, and the ping gateway and the ping network address succeed within the ping network address time period, outputting a test report of successful reconnection;
otherwise, outputting a test report of the reconnection failure;
the test report of the loopback failure comprises a failure type, wherein:
if the IP address cannot be acquired within the IP acquisition time, the failure type is interrupted for the data link layer;
if the ping gateway fails to analyze in the corresponding ping website time after the IP address is acquired in the IP acquisition time, the failure type is IP conflict/packet loss;
if the ping of the website fails within the corresponding ping website duration, the failure type is that the DNS server cannot acquire the failure type.
10. A computer readable storage medium, wherein the computer readable storage medium includes a smart tv box Wi-Fi loopback automatic detection method program, and when the smart tv box Wi-Fi loopback automatic detection method program is executed by a processor, the steps of a smart tv box Wi-Fi loopback automatic detection method according to any one of claims 1 to 7 are implemented.
CN202310885984.5A 2023-07-19 2023-07-19 Wi-Fi (wireless fidelity) back connection automatic detection method and system for smart television box and readable storage medium Active CN116614675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310885984.5A CN116614675B (en) 2023-07-19 2023-07-19 Wi-Fi (wireless fidelity) back connection automatic detection method and system for smart television box and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310885984.5A CN116614675B (en) 2023-07-19 2023-07-19 Wi-Fi (wireless fidelity) back connection automatic detection method and system for smart television box and readable storage medium

Publications (2)

Publication Number Publication Date
CN116614675A true CN116614675A (en) 2023-08-18
CN116614675B CN116614675B (en) 2023-12-22

Family

ID=87682201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310885984.5A Active CN116614675B (en) 2023-07-19 2023-07-19 Wi-Fi (wireless fidelity) back connection automatic detection method and system for smart television box and readable storage medium

Country Status (1)

Country Link
CN (1) CN116614675B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116846788A (en) * 2023-09-01 2023-10-03 天津华来科技股份有限公司 Equipment reconnection automatic test method based on intelligent socket and router

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878790A (en) * 2017-04-27 2017-06-20 四川长虹电器股份有限公司 Blue Tooth remote controller power consumption control method
CN106912045A (en) * 2017-01-03 2017-06-30 青岛海信电器股份有限公司 A kind of company of returning method and apparatus of intelligent TV set Wireless Fidelity Wi Fi
CN111585841A (en) * 2020-04-29 2020-08-25 深圳市元征科技股份有限公司 Automatic test method and related device
CN111884879A (en) * 2020-07-27 2020-11-03 深圳市元征科技股份有限公司 Network detection method, device and related equipment
CN112118330A (en) * 2020-09-22 2020-12-22 青岛海信传媒网络技术有限公司 DHCP (dynamic host configuration protocol) network reconnection method and display equipment
CN112134765A (en) * 2020-09-28 2020-12-25 深圳创维-Rgb电子有限公司 WIFI (Wireless Fidelity) back-connection test method and device, test terminal and readable storage medium
CN112272417A (en) * 2020-10-23 2021-01-26 海信视像科技股份有限公司 double-Bluetooth sound box reconnection method and display device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106912045A (en) * 2017-01-03 2017-06-30 青岛海信电器股份有限公司 A kind of company of returning method and apparatus of intelligent TV set Wireless Fidelity Wi Fi
CN106878790A (en) * 2017-04-27 2017-06-20 四川长虹电器股份有限公司 Blue Tooth remote controller power consumption control method
CN111585841A (en) * 2020-04-29 2020-08-25 深圳市元征科技股份有限公司 Automatic test method and related device
CN111884879A (en) * 2020-07-27 2020-11-03 深圳市元征科技股份有限公司 Network detection method, device and related equipment
CN112118330A (en) * 2020-09-22 2020-12-22 青岛海信传媒网络技术有限公司 DHCP (dynamic host configuration protocol) network reconnection method and display equipment
CN112134765A (en) * 2020-09-28 2020-12-25 深圳创维-Rgb电子有限公司 WIFI (Wireless Fidelity) back-connection test method and device, test terminal and readable storage medium
CN112272417A (en) * 2020-10-23 2021-01-26 海信视像科技股份有限公司 double-Bluetooth sound box reconnection method and display device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Android Wi-Fi 网络选择|android开源项目", Retrieved from the Internet <URL:https://source.android.google.cn/docs/core/connect/wifi-network-selection?hl=zh-cn#bssid-blocking> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116846788A (en) * 2023-09-01 2023-10-03 天津华来科技股份有限公司 Equipment reconnection automatic test method based on intelligent socket and router
CN116846788B (en) * 2023-09-01 2023-11-17 天津华来科技股份有限公司 Equipment reconnection automatic test method based on intelligent socket and router

Also Published As

Publication number Publication date
CN116614675B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN116614675B (en) Wi-Fi (wireless fidelity) back connection automatic detection method and system for smart television box and readable storage medium
EP3021520B1 (en) Method and apparatus for delimiting problem
US9456355B2 (en) Signaling tracing method, apparatus and system
CN107404728B (en) Method and device for positioning network problem
CN107645746B (en) Context updating method, system and equipment
CN111867004A (en) Wireless terminal access method and device under Wi-Fi6 scene
CN110996056B (en) Video storage method and device of cascade monitoring system
CN111867143A (en) Communication method and device among multiple devices in education whiteboard and education whiteboard
EP3860200A1 (en) Data transmission method and device
CN106375979A (en) Method for finding states of intelligent devices in LAN rapidly
CN106162719A (en) Users consistency detection method in LTE system and system
CN111224983A (en) Method and device for discovering equipment across network segments
CN111200753A (en) Method for improving Android television network video playing fluency
CN112738867B (en) Intelligent device resetting method
CN110650220A (en) MAC address acquisition method and detection device
CN105828308B (en) Method for limiting communication function of electronic equipment, electronic equipment and micro base station
CN110809245B (en) Method and device for monitoring state of speaking right party in cluster group calling
CN111177196B (en) Time window aggregation calculation method and device
CN211630177U (en) Equipment data acquisition system
CN111031525B (en) Beacon frame sending method and device
CN112312420B (en) Method and device for processing and configuring minimization of drive test, terminal and network side equipment
CN113852984A (en) Wireless terminal access monitoring system and method, electronic equipment and readable storage device
CN109041045B (en) Terminal configuration method, device and computer-readable storage medium
CN108337692B (en) Management method, device and computer readable storage medium for communication fault between terminal and management base station
CN111541585A (en) Access equipment inspection method and device

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