CN114765776A - Method for automatically connecting set top box with WIFI, set top box and storage medium - Google Patents
Method for automatically connecting set top box with WIFI, set top box and storage medium Download PDFInfo
- Publication number
- CN114765776A CN114765776A CN202110046828.0A CN202110046828A CN114765776A CN 114765776 A CN114765776 A CN 114765776A CN 202110046828 A CN202110046828 A CN 202110046828A CN 114765776 A CN114765776 A CN 114765776A
- Authority
- CN
- China
- Prior art keywords
- wifi
- top box
- set top
- router
- preset password
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000002159 abnormal effect Effects 0.000 claims description 21
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
Abstract
According to the method for automatically connecting the set top box to the WIFI, the set top box and the storage medium, the preset password is stored in the set top box and is used for the WIFI of the set top box automatically connected with the router; the set top box automatically scans WIFI, then obtains a router corresponding to the WIFI through scanning according to a preset password connection, detects that the network is normal enough after the connection is successful, and achieves that the set top box is automatically connected to the router with the normal network. According to the method for automatically connecting the set top box to the WIFI, the set top box and the storage medium, the preset password stored in the set top box is utilized, the router corresponding to the WIFI obtained through scanning is connected through the automatic scanning WIFI according to the preset password, then when the router is replaced, the set top box can be reconnected to the replaced router according to the preset password, tedious operations of manually entering setting and connecting the WIFI, inputting the password and the like are not needed, great convenience is provided for users, and user experience is improved.
Description
Technical Field
The application relates to the technical field of network communication, in particular to a method for automatically connecting a set top box with WIFI, the set top box and a storage medium.
Background
The set-top box, also known as a digital video conversion box, is a device for connecting a television and an external signal source; it can convert the compressed digital signal into television content and display it on the television. The set-top box signals may come from cable, satellite dish, broadband network, and terrestrial broadcast. With the advancement of the convergence technology of the telecommunication network system, the computer network system and the cable television network system, the set-top box receives the contents, besides the images and sounds which can be provided by the analog television, the digital contents including the electronic program guide, the internet web pages, the subtitles, etc., so that the users can watch the digital television programs on the existing television sets and can carry out interactive digital entertainment, education and commercialization activities through the network. Therefore, in order to meet the requirements of all functions of the set top box, most of the existing set top boxes can be connected with the router, the set top box is connected with the network through the router, and usually the set top box is connected with the router through WIFI.
When a router connected with the set-top box WIFI is replaced by a new router due to a fault or low performance, in order to connect the set-top box WIFI with the new router, a user is generally required to manually operate the set-top box to find out the WIFI corresponding to the new router and input a series of operations such as a WIFI password. For users who are not familiar with the operation of the set-top box, it will be very troublesome to successfully connect a new router through manual operation, which affects the user experience.
Disclosure of Invention
The application provides a method for automatically connecting a set top box with WIFI, the set top box and a storage medium, so that the WIFI of the set top box automatically connecting with a router is realized, and the user experience of the set top box is improved.
In a first aspect, the method for automatically connecting the set top box to the WIFI, provided by the application, is applied to the set top box, and the method includes:
determining whether the set top box has a WIFI connection record;
if the set top box has the WIFI connection record, connecting a corresponding router according to the WIFI connection record of the set top box;
if the connection of the corresponding router is successful according to the WIFI connection record of the set top box, detecting whether the network is normal;
if the set top box has no WIFI connection record, if the corresponding router is failed to be connected according to the WIFI connection record of the set top box or the network connected with the corresponding router is abnormal according to the WIFI connection record of the set top box, scanning WIFI;
connecting a router corresponding to WIFI according to a preset password and the WIFI obtained by scanning;
if the set top box is successfully connected with the router corresponding to the WIFI, detecting whether the network is normal;
the set top box is internally stored with a preset password, and the preset password is used for WIFI of the set top box automatically connected with the router.
In a second aspect, a set-top box is provided herein, the set-top box comprising a processor configured to:
determining whether the set top box has a WIFI connection record;
if the set top box has the WIFI connection record, connecting a corresponding router according to the WIFI connection record of the set top box;
if the connection of the corresponding router is successful according to the WIFI connection record of the set top box, detecting whether the network is normal;
if the set top box has no WIFI connection record, if the corresponding router fails to be connected according to the WIFI connection record of the set top box or the network connected with the corresponding router is abnormal according to the WIFI connection record of the set top box, scanning WIFI;
connecting a router corresponding to WIFI according to a preset password and the WIFI obtained by scanning;
if the set top box is successfully connected with the router corresponding to the WIFI, detecting whether the network is normal;
the set top box is internally stored with a preset password, and the preset password is used for WIFI of the set top box automatically connected with the router.
In a third aspect, the present application provides a machine-readable storage medium, in which machine-executable instructions are stored, and when executed by a processor, the method for automatically connecting a set top box to WIFI in the first aspect is implemented.
According to the method for automatically connecting the set top box to the WIFI, the set top box and the storage medium, the preset password is stored in the set top box and is used for the WIFI of the set top box automatically connected with the router; after the set top box is started, the set top box determines that the set top box has a WIFI connection record, and if the set top box has the WIFI connection record, the set top box connects a corresponding router according to the WIFI connection record; if the corresponding router is successfully connected according to the WIFI connection record, whether the network is normal is checked, and if the network is normal, the router connected according to the WIFI connection record can meet the network use requirement of the set top box; if no WIFI connection record exists, the corresponding router fails to be connected according to the WIFI connection record or the network connected with the corresponding router is abnormal according to the WIFI connection record, the set top box scans the WIFI, detects the usable WIFI around the set top box and obtains the router corresponding to the WIFI according to the preset password connection scan; and if the set top box is successfully connected and scanned to obtain the router corresponding to the WIFI, checking whether the network is normal, and further connecting the router with the normal network through a preset password to meet the network requirement of the set top box. Therefore, according to the method for automatically connecting the set top box to the WIFI, the set top box and the storage medium, the preset password stored in the set top box is utilized, the router corresponding to the WIFI obtained through automatic scanning of the WIFI according to the preset password connection scanning is connected, and then when the router is replaced, the set top box can be reconnected to the replaced router according to the preset password, tedious operations such as manual entering of setting and connecting of the WIFI, password inputting and the like are not needed, great convenience is provided for users, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for a set top box to automatically connect to WIFI according to an embodiment of the present application;
fig. 2 is a schematic diagram of a hardware structure of a set top box according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
In order to solve the technical problem, the inventive concept of the embodiment of the present application is as follows: the preset password is stored in the set top box, the set top box automatically scans WIFI, then the router corresponding to the WIFI is obtained through connection scanning according to the preset password, the network is detected to be normal after the connection is successful, and the set top box is automatically connected to the router with the normal network. And then when the STB needs to connect the new router, the STB can utilize the preset password therein to realize automatically connecting the new router, thereby reducing the tedious operations of manually entering, setting, connecting WIFI, inputting the password and the like, providing great convenience for users and improving the user experience.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flowchart of a method for automatically connecting a set top box to WIFI, which is provided in an embodiment of the present application, and the method is applied to a set top box, that is, an execution main body of the method is a set top box. As shown in fig. 1, a method for a set top box to automatically connect to WIFI provided in an embodiment of the present application includes:
s100: and determining whether the set top box has a WIFI connection record.
After the set top box is started, whether WIFI connection records exist in the set top box or not is detected, namely whether the set top box is successfully connected with WIFI of the router or not is detected. In the set top box provided by the embodiment of the application, WIFI connection records can be stored, namely WIFI signal information which is successfully connected with the router is stored in the set top box, and the WIFI signal information of the router comprises an MAC address, a WIFI connection password and the like. If the WIFI connection record for successfully connecting the router is stored in the set top box, executing the step S200; and if the WIFI connection record of the router is not successfully connected in the set top box, executing the step S300.
S200: and if the set top box has the WIFI connection record, connecting the corresponding router according to the WIFI connection record of the set top box.
When the set-top box has the WIFI connection record, the corresponding router (hereinafter, may be referred to as a first router) is connected according to the WIFI connection record of the set-top box, that is, the WIFI connection request is sent according to the WIFI signal information in the WIFI connection record to connect the corresponding router. If the set-top box can successfully connect to the first router, step S201 is executed. If the connection is overtime, the set top box fails to connect the corresponding router according to the WIFI connection record; if the first router is replaced, the set-top box will not be able to connect to the first router successfully, and step S300 is executed.
S201: and if the corresponding router is successfully connected according to the WIFI connection record of the set top box, detecting whether the network is normal.
And when the set-top box can be successfully connected with the router corresponding to the WIFI connection record according to the WIFI connection record, detecting whether the network corresponding to the router is normal or not. If the network is not normal, step S300 is executed; and if the network is normal, quitting, namely, the network requirement of the set top box can be met by the corresponding router connected according to the WIFI connection record of the set top box.
In the embodiment of the application, a preset website for detecting whether a network is normal is preset in the set-top box; when the set-top box is successfully connected with the router corresponding to the WIFI connection record, the set-top box opens the corresponding webpage according to the preset website in the set-top box, and if the corresponding webpage can be successfully opened, the network connection of the set-top box is normal, namely the network is normal; otherwise, the network connection is abnormal, namely the network is abnormal.
S300: and if the set top box has no WIFI connection record, if the corresponding router fails to be connected according to the WIFI connection record of the set top box or the network connected with the corresponding router is abnormal according to the WIFI connection record of the set top box, scanning WIFI.
When the set top box has no WIFI connection record, fails to connect with the corresponding router according to the WIFI connection record of the set top box or is abnormally connected with the network of the corresponding router according to the WIFI connection record of the set top box, the set top box automatically scans WIFI and can receive WIFI signals around the set top box.
If a user of the set top box starts a new router (hereinafter, may be referred to as a second router) replacing the first router, the set top box may scan the WIFI of the second router; certainly, the set top box can also scan the WIFI of other routers within a certain range from the set top box.
Certainly, in the embodiment of the application, if the set top box can receive the WIFI signal without the router in the range, the set top box cannot search the WIFI, and the set top box reminds the user to start the router. Further, if the set top box has a WIFI connection record, displaying the WIFI password in the last WIFI connection record. If the user changes the new router, the user can be reminded of setting the WIFI password of the router and the WIFI password for assisting the user in setting the router conveniently, and therefore the set top box can be connected with the router quickly and automatically conveniently.
S301: and connecting the router corresponding to the WIFI according to the preset password and the WIFI obtained by scanning, wherein the preset password is stored in the set top box and is used for the WIFI of the set top box automatically connected with the router.
The set-top box is internally stored with a preset password, and when the set-top box automatically scans to obtain WIFI, the preset password is automatically input to connect with the router corresponding to the scanned WIFI. Optionally, one of the scanned WIFI is selected, and a preset password is automatically input to connect with the router corresponding to the WIFI; and if the router corresponding to the WIFI is successfully connected, executing the step S302, if the router corresponding to the WIFI is failed to connect, reselecting one of the WIFI obtained through scanning, automatically inputting a preset password to connect the router corresponding to the WIFI, and quitting the automatic connection until the WIFI obtained through scanning fails to connect.
In the embodiment of the present application, the preset password may include some commonly used passwords, such as admin, gust, 123456, 666666, 888888, 000000, 1234567890, and the like; and some passwords which are frequently set by the user can be further included, such as a password which is set by the user and is manually input by the user. When a user replaces a router, if the first router is replaced by a second router, the WIFI password of the second router can be set by the user to be the same as that of the first router, and the WIFI password of the first router can be a common password or a password set by the user; or the user can set the WIFI password of the second router as any one of the common passwords. Preferably, the preset password comprises an initial preset password and a user set password, the initial preset password is a password stored when the set-top box leaves a factory or is initially installed and used, and the user set password is a password manually input by a user in the use process of the set-top box.
Optionally, in some embodiments of the present application, connecting a router corresponding to WIFI according to a preset password and WIFI obtained through scanning includes: connecting a router corresponding to WIFI according to a password set by a user and the WIFI obtained by scanning; and if the router corresponding to the WIFI is failed to be connected by using the user setting password, the router corresponding to the WIFI is connected by using the initial preset password. In this embodiment, when the set-top box is connected to the router corresponding to the scanned WIFI, the user setting password is automatically input first to connect the router corresponding to the WIFI, if the user setting password fails to connect, the router corresponding to the WIFI is connected by using the initial preset password, and generally, if the user setting password is used in the set-top box, the probability that the user setting password is used by the WIFI password of the router is higher, so that the router is successfully connected more quickly.
Further, optionally in some embodiments of the application, when the set-top box has a WIFI connection record, automatically inputting a WIFI password in the WIFI connection record to perform connection scanning to obtain a router corresponding to WIFI, that is, when the first router is replaced by the second router, first connecting the second router with the WIFI password connected to the first router; and if the WIFI password connected with the first router fails to be connected with the second router, the preset password is used for connecting the second router.
S302: if the set top box is successfully connected with the router corresponding to the WIFI, detecting whether the network is normal;
and when the set-top box is successfully connected with the router corresponding to the WIFI, detecting whether the network is normal. If the WIFI connection is normal, quitting, namely, obtaining a corresponding router connected with the WIFI according to automatic scanning, meeting the network requirement of the set top box, and quitting the automatic connection; if the WIFI connection is abnormal, another WIFI obtained by scanning is selected, and the step S301 is repeatedly executed until the set top box is connected to the router with the normal network or the router corresponding to the WIFI obtained by scanning of the set top box is abnormal even if the network is successfully connected.
According to the method for the set top box to be automatically connected with the WIFI, the preset password is stored in the set top box and is used for the WIF of the set top box to be automatically connected with the router; after the set top box is started, the set top box determines that the set top box has a WIFI connection record, and if the set top box has the WIFI connection record, the set top box is connected with a corresponding router according to the WIFI connection record; if the corresponding router is successfully connected according to the WIFI connection record, whether the network is normal is checked, and if the network is normal, the router connected according to the WIFI connection record can meet the network use requirement of the set top box; if no WIFI connection record exists, the corresponding router fails to be connected according to the WIFI connection record or the network connected with the corresponding router is abnormal according to the WIFI connection record, the set top box scans the WIFI, detects the usable WIFI around the set top box and obtains the router corresponding to the WIFI according to the preset password connection scan; and if the set top box is successfully connected and scanned to obtain the router corresponding to the WIFI, checking whether the network is normal, and further connecting the router with the normal network through a preset password to meet the network requirement of the set top box. Therefore, according to the method for automatically connecting the set top box to the WIFI, the router corresponding to the WIFI obtained through scanning is connected through the preset password stored in the set top box and automatically scanned according to the preset password through the WIFI, and then when the router is replaced, the set top box can be reconnected to the replaced router according to the preset password, tedious operations such as manual connection of the WIFI and password input are not required to be manually performed, great convenience is provided for users, and user experience is improved.
Further, in the method for automatically connecting the set top box to the WIFI provided by the embodiment of the present application, the method further includes: and if the set top box and the router corresponding to the WIFI in the WIFI list are both unsuccessfully connected or the network is abnormal, reminding a user to start the router. Or if the set top box and the router corresponding to the WIFI in the WIFI list are both unsuccessfully connected or the network is abnormal, reminding the user to start the router and displaying the user set password. If the user changes the new router, the user can be conveniently reminded of setting the WIFI password of the router and assisting the user in setting the WIFI password of the router, and therefore the set top box can be conveniently and automatically connected with the router.
Further, if the set top box has a WIFI connection record, displaying the WIFI password in the last WIFI connection record. If the user changes the new router, the user can be conveniently reminded of setting the WIFI password of the router, and the set top box can be conveniently and automatically connected with the router.
According to the method for the set top box to automatically connect with the WIFI, the set top box can automatically update the preset password. If the user inputs the password through manual operation and is successfully connected with the router corresponding to the WIFI, the set top box updates the preset password according to the password manually input by the user.
In this embodiment of the present application, when the set-top box scans WIFI, multiple WIFI may be scanned, so in some embodiments of the present application, scanning WIFI includes: and if multiple WIFI are scanned, sequencing the multiple WIFI according to the signal intensity of the WIFI to obtain a WIFI list.
In this embodiment, if multiple WIFI are scanned, the multiple WIFI are sorted according to the signal strength of the WIFI to obtain a WIFI list, and the WIFI list can be sorted from high to low or from low to high according to the signal strength of the WIFI. Table one is a WIFI list to be obtained through scanning in the set top box provided in the embodiment of the present application, and the WIFI in table one is arranged according to a sequence from high to low in signal intensity.
Table one:
WIFI name |
WIFI 1 |
WIFI 2 |
WIFI 3 |
WIFI 4 |
WIFI 5 |
WIFI 6 |
WIFI 7 |
WIFI 8 |
…… |
In the application embodiment, the set top box selects one WIFI from the WIFI list, and automatically inputs a preset password to connect with the corresponding router; if the connection is successful, detecting whether the network is normal; if the network is normal, the automatic connection is quitted; if the connection is unsuccessful or the network is abnormal, another WIFI is selected from the WIFI list, a preset password is automatically input to connect the corresponding router until the automatic connection is quitted, all the WIFI in the WIFI list is failed to connect or the network is abnormal.
Optionally, in this embodiment of the application, the set top box selects to connect to the router corresponding to the WIFI according to the order in the WIFI list. If yes, selecting WIFI 1 from the table one, and connecting a router corresponding to the WIFI 1 according to a preset password; if the WIFI 1 is successfully connected, detecting whether the network is normal; if the network is normal, the automatic connection is quitted; if the network is abnormal or the connection with the WIFI 1 fails, selecting the WIFI 2, connecting a router corresponding to the WIFI 2 according to a preset password, and repeating the operations until the automatic connection is quitted, all the WIFI in the table I fails to be connected or the network is abnormal.
Further, in this implementation, according to preset password and the WIFI that the scanning obtained, connect the router that WIFI corresponds includes: and selecting a first WIFI from the WIFI list, and connecting a router corresponding to the WIFI according to a preset password and the first WIFI, wherein the first WIFI is any WIFI in the WIFI list, and a connection failure zone bit of the WIFI is not marked. As in this embodiment, the first WIFI is any one of WIFI 1, WIFI 2 … … WIFI 8.
Furthermore, if the set top box fails to connect with the router corresponding to the first WIFI, a connection failure zone bit is marked on the first WIFI. If yes, selecting WIFI 1 from the table one, and connecting a router corresponding to the WIFI 1 according to a preset password; and if the network is abnormal or the connection with the WIFI 1 fails, marking a connection failure zone bit on the WIFI 1. And if all the WIFI in the table I fails to be connected or the network is abnormal, marking the connection failure zone bits of all the WIFI in the table I. The set top box can obtain the WIFI condition obtained by the connection scanning of the set top box through the connection failure zone bit in the table I.
In some embodiments of the present application, a WIFI list may store WIFI whose signal strength is greater than or equal to a signal strength threshold or store a preset number of WIFI. Therefore, when a plurality of WIFI are scanned, the WIFI with the signal intensity larger than or equal to the signal intensity threshold value is selected to be sequenced to obtain a WIFI list; or when a plurality of WIFI are scanned, selecting a preset number of WIFI to sequence to obtain a WIFI list.
Based on the method for automatically connecting the set top box with the WIFI, provided by the embodiment of the application, the embodiment of the application further provides the set top box. The set top box provided by the embodiment of the application comprises a processor, wherein the processor is configured to execute the following steps: determining whether the set top box has a WIFI connection record;
if the set top box has the WIFI connection record, connecting a corresponding router according to the WIFI connection record of the set top box;
if the connection of the corresponding router is successful according to the WIFI connection record of the set top box, detecting whether the network is normal;
if the set top box has no WIFI connection record, if the corresponding router is failed to be connected according to the WIFI connection record of the set top box or the network connected with the corresponding router is abnormal according to the WIFI connection record of the set top box, scanning WIFI;
connecting a router corresponding to WIFI according to a preset password and the WIFI obtained by scanning;
if the set top box is successfully connected with the router corresponding to the WIFI, detecting whether the network is normal;
the set top box is internally stored with a preset password, and the preset password is used for WIFI of the set top box automatically connected with the router.
For details of the set top box, reference may be made to detailed descriptions in the method for automatically connecting the set top box to the WIFI provided in the embodiment of the present application.
Fig. 2 is a schematic diagram of a hardware structure of another set top box according to an embodiment of the present application. As shown in fig. 2, the set-top box provided in the embodiment of the present application includes a processor 301 and a machine-readable storage medium 302 storing machine-executable instructions. The processor 301 and the machine-readable storage medium 302 may communicate via a system bus 303. Also, by reading and executing machine-executable instructions in the machine-readable storage medium 302 corresponding to the set-top box auto-WIFI connection processing logic, the processor 301 may perform the above-described method for the set-top box to auto-WIFI connection.
The machine-readable storage medium 302 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium 302 may include at least one of the following: volatile memory, non-volatile memory, other types of storage media. The volatile Memory may be a Random Access Memory (RAM), and the nonvolatile Memory may be a flash Memory, a storage drive (e.g., a hard disk drive), a solid state disk, and a storage disk (e.g., a compact disk, a DVD).
Embodiments of the present application also provide a machine-readable storage medium, such as the machine-readable storage medium 302 in fig. 2, including machine-executable instructions, which can be executed by the processor 301 in the playback terminal, to implement the above-described method for automatically connecting to WIFI by a set-top box.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present application.
Claims (10)
1. A method for automatically connecting a set top box with WIFI is applied to the set top box, and comprises the following steps:
determining whether the set top box has a WIFI connection record;
if the set top box has the WIFI connection record, connecting a corresponding router according to the WIFI connection record of the set top box;
if the connection of the corresponding router is successful according to the WIFI connection record of the set top box, detecting whether the network is normal;
if the set top box has no WIFI connection record, if the corresponding router fails to be connected according to the WIFI connection record of the set top box or the network connected with the corresponding router is abnormal according to the WIFI connection record of the set top box, scanning WIFI;
connecting a router corresponding to WIFI according to a preset password and the WIFI obtained by scanning;
if the set top box is successfully connected with the router corresponding to the WIFI, detecting whether the network is normal;
the set top box is internally stored with a preset password, and the preset password is used for WIFI of the set top box automatically connected with the router.
2. The method of claim 1, wherein the preset password comprises an initial preset password and a user set password;
according to preset password and the WIFI that the scanning obtained, connect the router that WIFI corresponds, include:
connecting a router corresponding to WIFI according to a password set by a user and the WIFI obtained by scanning;
and if the router corresponding to the WIFI fails to be connected by using the user setting password, connecting the router corresponding to the WIFI by using an initial preset password.
3. The method of claim 1, wherein scanning for WIFI comprises:
if multiple WIFI are scanned, sequencing the multiple WIFI according to signal intensity of the WIFI to obtain a WIFI list;
according to preset password and the WIFI that the scanning obtained, connect the router that WIFI corresponds, include:
selecting a first WIFI from the WIFI list, and connecting a router corresponding to the WIFI according to a preset password and the first WIFI, wherein the first WIFI is any WIFI in the WIFI list, and a connection failure zone bit of the WIFI is not marked;
and if the set top box fails to connect with the router corresponding to the first WIFI, marking a connection failure zone bit on the first WIFI.
4. The method of claim 1, wherein scanning for WIFI comprises:
and if the set top box fails to scan WIFI, reminding a user to start the router.
5. The method of claim 3, further comprising:
and if the set top box and the router corresponding to the WIFI in the WIFI list are both unsuccessfully connected or the network is abnormal, reminding a user to start the router.
6. The method of claim 3, wherein if multiple WIFI are scanned, the multiple WIFI are sorted according to signal strength of the WIFI to obtain a WIFI list, and the method comprises the following steps:
and if a plurality of WIFI are scanned, selecting the WIFI with the signal intensity larger than or equal to the signal intensity threshold value, and sequencing to obtain a WIFI list.
7. The method of claim 2, further comprising:
and if the router corresponding to the WIFI is failed to be connected by using the initial preset password, marking a connection failure zone bit on the WIFI.
8. The method of claim 2, further comprising:
and if the router corresponding to the WIFI is successfully connected through the manual password input by the user, updating the preset password.
9. A set top box, comprising a processor configured to:
determining whether the set top box has a WIFI connection record;
if the set top box has the WIFI connection record, connecting a corresponding router according to the WIFI connection record of the set top box;
if the connection of the corresponding router is successful according to the WIFI connection record of the set top box, detecting whether the network is normal;
if the set top box has no WIFI connection record, if the corresponding router is failed to be connected according to the WIFI connection record of the set top box or the network connected with the corresponding router is abnormal according to the WIFI connection record of the set top box, scanning WIFI;
connecting a router corresponding to WIFI according to a preset password and the WIFI obtained by scanning;
if the set top box is successfully connected with the router corresponding to the WIFI, detecting whether the network is normal;
and a preset password is stored in the set top box.
10. A machine-readable storage medium having stored therein machine-executable instructions which, when executed by a processor, implement the method of a set-top box automatically connecting to WIFI of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110046828.0A CN114765776A (en) | 2021-01-14 | 2021-01-14 | Method for automatically connecting set top box with WIFI, set top box and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110046828.0A CN114765776A (en) | 2021-01-14 | 2021-01-14 | Method for automatically connecting set top box with WIFI, set top box and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114765776A true CN114765776A (en) | 2022-07-19 |
Family
ID=82364246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110046828.0A Pending CN114765776A (en) | 2021-01-14 | 2021-01-14 | Method for automatically connecting set top box with WIFI, set top box and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114765776A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117729651A (en) * | 2023-07-21 | 2024-03-19 | 荣耀终端有限公司 | Network connection method, electronic device and computer readable storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103857007A (en) * | 2014-03-17 | 2014-06-11 | 北京峰华智讯技术有限公司 | Wireless local area network access system and method |
CN105262652A (en) * | 2015-09-09 | 2016-01-20 | 九阳股份有限公司 | Network configuration method for network household appliance |
CN105979516A (en) * | 2015-11-06 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Wireless fidelity connection method and system between intelligent terminal and router |
CN106332156A (en) * | 2015-07-02 | 2017-01-11 | 深圳平安通信科技有限公司 | WIFI anomaly detection control system and method |
WO2017088627A1 (en) * | 2015-11-23 | 2017-06-01 | 深圳市中兴微电子技术有限公司 | Network detection method and apparatus, digital set-top box, and storage medium |
CN108012311A (en) * | 2017-12-25 | 2018-05-08 | 深圳市闪联信息技术有限公司 | A kind of method of smart machine automatic switchover configuration router |
CN108366359A (en) * | 2018-01-03 | 2018-08-03 | 山东浪潮商用系统有限公司 | A kind of method, apparatus and system of configuration set-top box connection WiFi |
US20180242148A1 (en) * | 2017-02-20 | 2018-08-23 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Wi-fi connection method, mobile terminal and storage medium |
KR20180117270A (en) * | 2017-04-19 | 2018-10-29 | 주식회사 엘지유플러스 | Apparatus and Method for interworking Mobile Terminal with Set-top Box |
CN109379766A (en) * | 2018-11-27 | 2019-02-22 | 青岛海信宽带多媒体技术有限公司 | A kind of method and device switching WiFi network |
CN109525987A (en) * | 2018-12-27 | 2019-03-26 | 深圳创维数字技术有限公司 | Wireless network connecting method, device, top box of digital machine and readable storage medium storing program for executing |
US20190246346A1 (en) * | 2016-10-12 | 2019-08-08 | Qingdao Haier Washing Machine Co., Ltd. | Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system |
-
2021
- 2021-01-14 CN CN202110046828.0A patent/CN114765776A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103857007A (en) * | 2014-03-17 | 2014-06-11 | 北京峰华智讯技术有限公司 | Wireless local area network access system and method |
CN106332156A (en) * | 2015-07-02 | 2017-01-11 | 深圳平安通信科技有限公司 | WIFI anomaly detection control system and method |
CN105262652A (en) * | 2015-09-09 | 2016-01-20 | 九阳股份有限公司 | Network configuration method for network household appliance |
CN105979516A (en) * | 2015-11-06 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Wireless fidelity connection method and system between intelligent terminal and router |
WO2017088627A1 (en) * | 2015-11-23 | 2017-06-01 | 深圳市中兴微电子技术有限公司 | Network detection method and apparatus, digital set-top box, and storage medium |
US20190246346A1 (en) * | 2016-10-12 | 2019-08-08 | Qingdao Haier Washing Machine Co., Ltd. | Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system |
US20180242148A1 (en) * | 2017-02-20 | 2018-08-23 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Wi-fi connection method, mobile terminal and storage medium |
KR20180117270A (en) * | 2017-04-19 | 2018-10-29 | 주식회사 엘지유플러스 | Apparatus and Method for interworking Mobile Terminal with Set-top Box |
CN108012311A (en) * | 2017-12-25 | 2018-05-08 | 深圳市闪联信息技术有限公司 | A kind of method of smart machine automatic switchover configuration router |
CN108366359A (en) * | 2018-01-03 | 2018-08-03 | 山东浪潮商用系统有限公司 | A kind of method, apparatus and system of configuration set-top box connection WiFi |
CN109379766A (en) * | 2018-11-27 | 2019-02-22 | 青岛海信宽带多媒体技术有限公司 | A kind of method and device switching WiFi network |
CN109525987A (en) * | 2018-12-27 | 2019-03-26 | 深圳创维数字技术有限公司 | Wireless network connecting method, device, top box of digital machine and readable storage medium storing program for executing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117729651A (en) * | 2023-07-21 | 2024-03-19 | 荣耀终端有限公司 | Network connection method, electronic device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7792507B2 (en) | Automatic TV signal and tuner setup | |
CN101636978B (en) | Method of performing data communication with terminal and receiver using the same | |
KR101468786B1 (en) | Systems and method for selective archival of media content | |
JP2008028871A (en) | Video display apparatus, video display method, and video display system | |
CN109479160B (en) | Display apparatus and method for recommending content of display apparatus | |
JP2002517141A (en) | Television signal processing device having data block address memory for autonomously determining television program information | |
CN114765776A (en) | Method for automatically connecting set top box with WIFI, set top box and storage medium | |
CN103118275B (en) | A kind of method of program recording, terminal and server | |
EP1890242A1 (en) | Method and apparatus for constructing database in mobile communication terminal | |
US8831399B2 (en) | Systems and methods for managing and identifying the origin of files on a digital video recorder | |
CN103607641A (en) | Method and apparatus for user registration in intelligent television | |
US6401179B1 (en) | Method for storing reference information and apparatus therefor | |
US20050034174A1 (en) | Digital receiving device and digital broadcasting receiving method | |
US20170155943A1 (en) | Method and electronic device for customizing and playing personalized programme | |
CN104579452B (en) | System and method for the conflict set recognition on DISEQC agreements | |
US20020092020A1 (en) | Method and apparatus for filtering data conerning an electronic program guide for a television receiver | |
CN101351003B (en) | Method for actuating mobile terminal and mobile phone television signal receiving chip | |
CN113301395B (en) | Voice searching method combined with user grade in video playing state | |
US20230037684A1 (en) | Systems and methods for resolving recording conflicts | |
JPH07298156A (en) | Memory read circuit | |
EP1796390A1 (en) | Broadcast processing system | |
CN106657837B (en) | Television system switching method and television | |
US20220150440A1 (en) | Method for scanning television channels and television system | |
KR100867594B1 (en) | Broadcast channel management method and device | |
JP3360467B2 (en) | Recording 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 |