CN108632957B - Network connection method, equipment and storage medium based on voice control - Google Patents
Network connection method, equipment and storage medium based on voice control Download PDFInfo
- Publication number
- CN108632957B CN108632957B CN201810885780.0A CN201810885780A CN108632957B CN 108632957 B CN108632957 B CN 108632957B CN 201810885780 A CN201810885780 A CN 201810885780A CN 108632957 B CN108632957 B CN 108632957B
- Authority
- CN
- China
- Prior art keywords
- target wireless
- wireless hotspot
- hotspot
- application
- networking application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000006855 networking Effects 0.000 claims abstract description 65
- 230000004044 response Effects 0.000 claims description 34
- 238000012954 risk control Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 3
- 230000003993 interaction Effects 0.000 abstract description 4
- 230000000694 effects Effects 0.000 abstract description 3
- 210000000697 sensory organ Anatomy 0.000 abstract description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- RWSOTUBLDIXVET-UHFFFAOYSA-N Dihydrogen sulfide Chemical compound S RWSOTUBLDIXVET-UHFFFAOYSA-N 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- 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
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a network connection method, equipment and a storage medium based on voice control, and belongs to the technical field of networks. The method comprises the following steps: the voice assistant analyzes a first voice instruction from a user and starts a networking application; the networking application acquires the wireless hotspots scanned by the equipment where the networking application is located, determines the target wireless hotspot, and connects the determined target wireless hotspot. According to the invention, when a user is connected with a network, excessive graphical interface interaction is not required, network connection can be realized only through voice control, the same effect is achieved through less sense organ occupation, and the user experience is improved; meanwhile, the safety and the effectiveness of network connection are effectively guaranteed.
Description
Technical Field
The present invention relates to the field of network technologies, and in particular, to a network connection method and device based on voice control, and a storage medium.
Background
With the continuous development of modern construction, networks are widely popularized, and various terminal devices, such as mobile phones, tablet computers and the like, can access the networks through wireless hotspots so as to acquire information, transact business and the like, thereby bringing great convenience to life, office and the like of people. In order to manage wireless hotspot connection, pull black and swipe a network device, test network speed, and the like, a user usually installs some wireless hotspot management applications, such as a WIFI housekeeper, in a terminal device. However, since many applications are usually installed in the terminal device of the user, when the user performs wireless hotspot connection, the user needs to find the wireless hotspot management application from the installed applications of the terminal device, and then performs connection of the wireless hotspot after manually clicking and starting through graphical interface interaction; in the process, the starting speed of the wireless hotspot management application is low, the manual operation of a user is frequent, and the user experience is reduced.
Disclosure of Invention
The purpose of the invention is realized by the following technical scheme.
In a first aspect, the present invention provides a network connection method based on voice control, including:
the voice assistant receives and analyzes a first voice instruction from a user and starts a networking application;
the networking application acquires a wireless hotspot scanned by the equipment where the networking application is located and determines a target wireless hotspot;
the networking application connects to the target wireless hotspot.
Optionally, the networking application includes: a first application and a second application;
correspondingly, the starting of the networking application comprises the following steps: judging whether the first application is installed in the equipment or not, and starting the first application if the first application is installed in the equipment; otherwise, downloading the second application and starting the second application.
Optionally, before the networking application acquires the wireless hotspot scanned by the device where the networking application is located, the method further includes:
the networking application judges whether a WIFI switch in the equipment where the networking application is located is turned on or not, and/or whether positioning is turned on or not, and/or whether a data network is turned on or not, and sends corresponding un-turned-on information to the voice assistant if the WIFI switch is not turned on;
and the voice assistant receives the unopened information and prompts a user by voice, and when a second voice instruction from the user is received, the second voice instruction is analyzed and a WIFI switch is opened, and/or positioning is started, and/or a data network is started.
Optionally, the determining a target wireless hotspot includes:
generating a hotspot list according to the acquired hotspot identification of the wireless hotspot;
sending the hot spot list to a server and receiving response data returned by the server;
and determining a target wireless hotspot according to the response data.
Optionally, the determining a target wireless hotspot according to the response data includes:
when the response data contains hotspot identifications, taking the wireless hotspot corresponding to the hotspot identification as a target wireless hotspot, wherein the hotspot identifications in the response data are obtained by matching the service end in a database storing connectable wireless hotspot information according to each hotspot identification in the hotspot list;
when the response data contains guide information, determining a target wireless hotspot according to the guide information;
and when the response data contains no connectable hotspot information, judging that no target wireless hotspot exists, and ending.
Optionally, when the response data contains a hotspot identifier, the connecting the target wireless hotspot includes: and judging whether the target wireless hotspot meets a preset condition, and automatically connecting the target wireless hotspot when the target wireless hotspot meets the preset condition.
Optionally, when the networking application is the first application, the determining whether the target wireless hotspot meets a preset condition specifically includes:
judging whether the risk control frequency of the target wireless hotspot is within a preset threshold value, if so, judging that the target wireless hotspot meets a preset condition; otherwise, judging that the target wireless hotspot does not meet the preset condition.
Optionally, when the networking application is a first application, the automatically connecting to the target wireless hotspot includes:
and generating a password acquisition request according to the hotspot identification of the target wireless hotspot, sending the password acquisition request to a server, receiving a connection password returned by the server, and connecting the target wireless hotspot by using the received connection password.
Optionally, when the networking application is a second application, the determining whether the target wireless hotspot meets a preset condition includes:
judging whether the equipment contains a configuration file of the target wireless hotspot, and if so, judging that the target wireless hotspot meets a preset condition; otherwise, judging that the target wireless hotspot does not meet the preset condition.
Correspondingly, the automatically connecting to the target wireless hotspot specifically includes: and connecting the target wireless hotspot according to the connection password in the configuration file of the target wireless hotspot.
Optionally, the connecting the target wireless hotspot further includes:
when the networking application is a first application and the target wireless hotspot is judged not to meet the preset condition, guiding a user to manually connect the target wireless hotspot;
and when the networking application is a second application and the target wireless hotspot is judged not to meet the preset condition, guiding a user to download the first application, and connecting the target wireless hotspot through the downloaded first application.
Optionally, the determining a target wireless hotspot according to the guidance information includes: and opening a hot spot map according to the guide information, searching connectable wireless hot spots through the hot spot map, and taking the connectable wireless hot spots as target wireless hot spots.
In a second aspect, the present invention provides a network connection device based on voice control, including:
one or more processors, storage devices to store one or more programs;
the one or more programs, when executed by the one or more processors, implement the method of the first aspect of the invention.
In a third aspect, the invention proposes a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the method according to the first aspect of the invention.
The invention has the advantages that:
according to the invention, when a user is connected with a network, excessive graphical interface interaction is not required, network connection can be realized only through voice control, the same effect is achieved through less sense organ occupation, and the user experience is improved; meanwhile, before the target wireless hotspot is connected through the networking application, the safety and the effectiveness of network connection are effectively guaranteed through the judgment of the preset condition.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of a network connection method based on voice control according to an embodiment of the present invention;
fig. 2 is a block diagram of a network connection system based on voice control according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
According to an embodiment of the present invention, there is provided a network connection method for voice control, as shown in fig. 1, including:
step 101: the voice assistant receives and analyzes a first voice instruction from a user and starts a networking application;
the first voice instruction is specifically a wireless network connection instruction; the networking application comprises a first application and a second application, the first application is a complete and independent application program (APP), and the second application is a program package embedded in other application programs, such as a fast application of the first application or an applet of the first application.
Correspondingly, the step 101 of starting the networking application includes: judging whether the first application is installed in the equipment or not, and starting the first application if the first application is installed in the equipment; otherwise, downloading the second application and starting the second application.
Wherein, judging whether the equipment is provided with networking application, specifically: calling a first preset function interface to scan an application identifier of an installed application in equipment, judging whether the scanned application identifier contains the first application identifier, and if so, judging that the equipment has the first application; otherwise, the device is judged not to be provided with the first application.
According to the embodiment of the present invention, before step 101, the method further includes: the voice assistant receives a third voice instruction from the user, analyzes the third voice instruction and starts the voice assistant.
The third voice command is specifically a command for starting a voice assistant.
In the invention, the user can realize wireless network connection by sending the voice command, thereby improving the user experience.
Step 102: the networking application acquires a wireless hotspot scanned by the equipment where the networking application is located and determines a target wireless hotspot;
according to an embodiment of the present invention, step 102 further comprises:
step A1: the networking application judges whether a WIFI switch in the equipment where the networking application is located is turned on, and/or positioning is turned on, and/or a data network is turned on, and sends corresponding unopened information to the voice assistant if the WIFI switch is not turned on;
the networking application judges whether a WIFI switch in the equipment is turned on, and/or whether positioning is turned on, and/or whether a data network is turned on, and specifically comprises the following steps: the networking application calls a second preset function interface and judges the type of the received return value, and when the return value is a first numerical value (for example, 0), the connection application judges that the connection application is not started; when the return value is a second value (e.g., 1), it is determined to be on.
Step A2: and the voice assistant receives the unopened information and prompts the user by voice, and when a second voice instruction from the user is received, the second voice instruction is analyzed, and the WIFI switch is turned on, and/or the positioning is turned on, and/or the data network is turned on.
The second voice instruction is specifically an instruction for turning on a WIFI switch, and/or turning on positioning, and/or turning on a data network.
According to an embodiment of the present invention, the determining 102 a target wireless hotspot includes:
step B1: generating a hotspot list according to the acquired hotspot identification of the wireless hotspot;
the hotspot Identifier is specifically a hotspot name, and/or a Service Set Identifier (SSID) and/or a Basic Service Set Identifier (BSSID).
Step B2: sending the generated hot spot list to a server and receiving response data returned by the server;
in the invention, when a server receives a hotspot list, matching each hotspot identification in the hotspot list in a database storing connectable wireless hotspot information to judge whether the wireless hotspot corresponding to each hotspot identification in the hotspot list is connectable or not, and generating response data according to the hotspot identification of the connectable wireless hotspot and returning the response data when the connectable wireless hotspot is judged to exist; when it is determined that there is no connectable wireless hotspot, response data including no connectable hotspot is generated and returned, or response data including guidance information is generated and returned.
Step B3: and determining the target wireless hotspot according to the received response data.
According to the embodiment of the present invention, step B3 is specifically: judging the type of the received response data;
when the received response data contains a hotspot identification, taking a wireless hotspot corresponding to the contained hotspot identification as a target wireless hotspot;
when the received response data contains the guide information, determining a target wireless hotspot according to the guide information;
and when the received response data contains no connectable hotspot information, judging that no target wireless hotspot exists, and ending.
Wherein, according to the guide information, determining the target wireless hotspot comprises: and opening a hot spot map according to the guiding information, searching connectable wireless hot spots through the hot spot map, and taking the connectable wireless hot spots as target wireless hot spots.
More specifically, a hot spot map is opened according to the guiding information, connectable wireless hot spots within a preset range are searched according to the positioning information, and the searched wireless hot spots are used as target wireless hot spots.
For example, the networking application generates a hotspot list according to the hotspot names wifi001, wifi002 and wifi003 of the scanned wireless hotspots, sends the hotspot list to the server, receives response data returned by the server and includes wifi003, and determines that the wireless hotspot corresponding to the hotspot name wifi003 is the target wireless hotspot.
Step 103: the networking application connects the determined target wireless hotspot.
According to the embodiment of the present invention, when the received response data returned by the server contains a hotspot identifier, step 103 includes: and judging whether the determined target wireless hotspot meets a preset condition, and automatically connecting the target wireless hotspot when the preset condition is judged to be met.
Wherein, judge whether the wireless hotspot of the confirmed target satisfies the preset condition, including:
when the networking application is a first application, judging whether the risk control frequency of the determined target wireless hotspot is within a preset threshold value, if so, judging that the determined target wireless hotspot meets a preset condition; otherwise, judging that the determined target wireless hotspot does not meet the preset condition;
when the networking application is a second application, judging whether the equipment contains a configuration file of the determined target wireless hotspot, if so, judging that the determined target wireless hotspot meets a preset condition; otherwise, judging that the determined target wireless hotspot does not meet the preset condition.
The preset threshold value may be set according to the requirement, for example, 500 times; the configuration file comprises a hotspot identification and a connection password of the wireless hotspot;
according to the embodiment of the invention, whether the determined risk control frequency of the target wireless hotspot is within a preset threshold value is judged, specifically: generating a query request according to the hotspot identification of the target wireless hotspot, sending the query request to a server, receiving the risk control times returned by the server, and judging whether the received risk control times are within a preset threshold value;
correspondingly, when the server receives the query request, the server searches the corresponding current risk control times according to the hotspot identification in the query request, and returns the searched risk control times.
According to the embodiment of the present invention, determining whether the device contains a configuration file of a certain target wireless hotspot specifically includes: searching configuration files in the equipment according to the preset path information, judging whether the searched configuration files contain hotspot identifications of the target wireless hotspots, and if so, judging that the equipment contains the configuration files of the target wireless hotspots; otherwise, judging that the device does not contain the configuration file of the target wireless hot point.
In the invention, when the first application is started by the voice assistant, whether the wind control frequency of the target wireless hotspot reaches a preset threshold value is judged before the target wireless hotspot is connected; and when the second application is started by the voice assistant, judging whether a configuration file of the target wireless hotspot exists or not before the target wireless hotspot is connected, thereby ensuring the connection safety of the network.
Further, in the present invention, automatically connecting to the target wireless hotspot includes:
when the networking application is a first application, generating a password acquisition request according to the hotspot identification of the target wireless hotspot, sending the password acquisition request to a server, receiving a connection password returned by the server, and connecting the target wireless hotspot by using the received connection password; correspondingly, when the server receives the password obtaining request, searching the corresponding connection password according to the hotspot identification contained in the password obtaining request, and returning the searched connection password;
and when the networking application is the second application, connecting the target wireless hotspot according to the connection password in the configuration file of the target wireless hotspot.
Still further, the method further comprises:
when the networking application is a first application and the target wireless hotspot is judged not to meet the preset condition, guiding a user to manually connect the determined target wireless hotspot;
and when the networking application is the second application and the target wireless hotspot is judged not to meet the preset condition, guiding the user to download the first application, and connecting the target wireless hotspot through the downloaded first application.
The method for guiding the user to manually connect the determined target wireless hotspot specifically comprises the following steps: and displaying the connection confirmation information of the target wireless hotspot, and connecting the target wireless hotspot when the confirmation information from the user is received.
The method comprises the following steps of guiding a user to download a first application, specifically: and displaying a downloading frame of the first application, and downloading the first application when receiving the download confirmation information from the user.
For example, the networking application is a first application, the first application generates a password obtaining request according to the determined hotspot name wifi003 of the target wireless hotspot and sends the password obtaining request to the server, the received connection password returned by the server is 123456, and the target wireless hotspot is connected by using the received connection password 123456.
According to an embodiment of the present invention, there is also provided a network connection system based on voice control, as shown in fig. 2, including: a voice assistant device and a networking application device;
wherein the voice assistant apparatus comprises:
the first receiving module is used for receiving a voice instruction from a user;
the analysis module is used for analyzing the first voice instruction when the first receiving module receives the first voice instruction;
the first starting module is used for starting the networking application device according to the analysis result of the analysis module;
the networking application device includes:
the acquisition module is used for acquiring the wireless hotspot scanned by the equipment after the device is started;
the determining module is used for determining a target wireless hotspot in the wireless hotspots acquired by the acquiring module;
and the connection module is used for connecting the target wireless hotspot determined by the determination module.
Wherein the networking application device comprises a first application device and a second application device, only one of which is included in the system;
correspondingly, the voice assistant device further comprises: the device comprises a first judgment module and a first downloading module;
the first judging module is used for judging whether a first application device is installed in the equipment or not;
correspondingly, the first starting module is specifically configured to: when the first judging module judges that the first application device is installed in the equipment, starting the first application device;
the first downloading module is used for downloading the second application device when the first judging module judges that the first application device is not installed in the equipment;
correspondingly, the first starting module is also used for starting the second application device downloaded by the first downloading module.
According to an embodiment of the present invention, the networking application device further includes a second determining module and a sending module, and the voice assistant device further includes a second receiving module, a voice module and a second starting module, wherein:
the second judgment module is used for judging whether a WIFI switch in the equipment is turned on or not, and/or whether positioning is turned on or not, and/or whether a data network is turned on or not;
the sending module is used for sending corresponding unopened information to the voice assistant device when the second judging module judges that the voice assistant device is not started;
the acquisition module is specifically configured to: when the second judgment module judges that the equipment is the wireless hotspot scanned by the equipment, acquiring the wireless hotspot scanned by the equipment;
the second receiving module is used for receiving unopened information sent by the networking application device;
the voice module is used for prompting the user by voice when the second receiving module receives the unopened information;
correspondingly, the first receiving module is further configured to: receiving a second voice instruction from the user;
the parsing module is further configured to: when the first receiving module receives a third voice instruction from the user, the third voice instruction is analyzed;
and the second starting module is used for starting the WIFI switch and/or starting positioning and/or starting a data network after the third voice instruction is analyzed by the analysis module.
According to an embodiment of the invention, the determining module comprises: the device comprises a generating submodule, a sending submodule, a receiving submodule and a determining submodule;
the generating submodule is used for generating a hotspot list according to the hotspot identification of the wireless hotspot acquired by the acquiring module;
the sending submodule is used for sending the hot spot list generated by the generating submodule to a server;
the receiving submodule is used for receiving response data returned by the server;
and the determining submodule is used for determining the target wireless hotspot according to the response data received by the receiving submodule.
According to an embodiment of the invention, the determining sub-module comprises: a first determination unit, a second determination unit, and a third determination unit, wherein:
the first determining unit is used for taking the wireless hotspot corresponding to the hotspot identification as a target wireless hotspot when the response data contains the hotspot identification; the hot spot identification in the response data is obtained by the server according to the matching of each hot spot identification in the hot spot list in a database for storing connectable wireless hot spot information;
the second determining unit is used for determining the target wireless hotspot according to the guiding information when the response data contains the guiding information;
and the third determining unit is used for judging that no target wireless hotspot exists when the response data contains no connectable hotspot information.
According to an embodiment of the present invention, the networking application further comprises: a third judgment module;
the third judgment module is used for judging whether the target wireless hotspot meets the preset condition;
the connection module is specifically configured to: and when the third judging module judges that the target wireless hotspot meets the preset condition, automatically connecting the target wireless hotspot.
According to an embodiment of the present invention, the third determining module is specifically configured to:
when the networking application device is a first application device, judging whether the risk control frequency of the target wireless hotspot is within a preset threshold value, if so, judging that the target wireless hotspot meets a preset condition; otherwise, judging that the target wireless hotspot does not meet the preset condition;
when the networking application device is a second application device, judging whether the equipment contains a configuration file of the target wireless hotspot, and if so, judging that the target wireless hotspot meets a preset condition; otherwise, judging that the target wireless hotspot does not meet the preset condition.
According to an embodiment of the present invention, the connection module is specifically configured to:
when the networking application device is a first application device, generating a password acquisition request according to the hotspot identification of the target wireless hotspot, sending the password acquisition request to the server, receiving a connection password returned by the server, and connecting the target wireless hotspot by using the received connection password;
and when the networking application device is the second application device, connecting the target wireless hotspot according to the connection password in the configuration file of the target wireless hotspot.
According to the embodiment of the present invention, when the device is a first application, the networking application device further comprises: a guidance module;
the guiding module is used for guiding a user to manually connect the target wireless hotspot when the third judging module judges that the target wireless hotspot does not meet the preset condition;
according to the embodiment of the present invention, when the apparatus is a second application, the apparatus further comprises: a second download module;
the second downloading module is used for guiding the user to download the first application device when the third judging module judges that the target wireless hotspot does not meet the preset condition;
correspondingly, the connection module is used for connecting the target wireless hotspot through the first application device downloaded by the second download module.
According to an embodiment of the present invention, the second determining unit is specifically configured to: and opening a hot spot map according to the guiding information, searching connectable wireless hot spots through the hot spot map, and taking the connectable wireless hot spots as target wireless hot spots.
According to an embodiment of the present invention, there is also provided a network connection device based on voice control, including:
one or more processors, storage devices to store one or more programs; the steps of the voice control based network connection method as described above are implemented when the one or more programs are executed by the one or more processors.
According to an embodiment of the present invention, a computer-readable storage medium is also proposed, on which a computer program is stored, which, when being executed by a processor, realizes the steps of the network connection method based on voice control as described above.
According to the invention, when a user is connected with a network, excessive graphical interface interaction is not required, network connection can be realized only through voice control, the same effect is achieved through less sense organ occupation, and the user experience is improved; meanwhile, before the target wireless hotspot is connected through the networking application, the safety and the effectiveness of network connection are effectively guaranteed through the judgment of the preset condition.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (7)
1. A network connection method based on voice control is characterized by comprising the following steps:
the voice assistant receives and analyzes a first voice instruction from a user, starts the networking application so that the networking application judges whether a WIFI switch in the equipment where the networking application is located is started, whether positioning is started and whether a data network is started, and sends corresponding unopened information to the voice assistant if the networking application judges that the WIFI switch is not started;
the voice assistant receives the unopened information and prompts a user by voice, and when a second voice instruction from the user is received, the second voice instruction is analyzed, and a WIFI switch is turned on, positioning is turned on, and a data network is turned on;
the networking application acquires a wireless hotspot scanned by the equipment where the networking application is located and generates a hotspot list according to the acquired hotspot identification of the wireless hotspot; sending the hot spot list to a server and receiving response data returned by the server; determining a target wireless hotspot according to the response data;
the networking application is connected with the target wireless hotspot;
the networking application includes: a first application and a second application; the first application is a complete and independent application program, and the second application is a program package embedded in a third application program;
the launching of the networking application comprises: judging whether a first application is installed in the equipment or not, and if so, starting the first application; otherwise, downloading a second application and starting the second application;
the determining a target wireless hotspot according to the response data comprises:
when the response data contains hotspot identifications, taking the wireless hotspot corresponding to the hotspot identification as a target wireless hotspot, wherein the hotspot identifications in the response data are obtained by matching the server in a database storing connectable wireless hotspot information according to each hotspot identification in the hotspot list;
when the response data contains guide information, opening a hot spot map according to the guide information, searching connectable wireless hot spots through the hot spot map, and taking the hot spots as target wireless hot spots;
when the response data contains no connectable hotspot information, judging that no target wireless hotspot exists, and ending;
when the response data contains a hotspot identification, the connecting the target wireless hotspot comprises: judging whether the target wireless hotspot meets a preset condition, and automatically connecting the target wireless hotspot when the target wireless hotspot meets the preset condition;
when the networking application is a first application, the judging whether the target wireless hotspot meets a preset condition specifically comprises the following steps:
judging whether the risk control frequency of the target wireless hotspot is within a preset threshold value, if so, judging that the target wireless hotspot meets a preset condition; otherwise, judging that the target wireless hotspot does not meet the preset condition.
2. The method of claim 1, wherein automatically connecting to the target wireless hotspot when the networking application is the first application comprises:
and generating a password acquisition request according to the hotspot identification of the target wireless hotspot, sending the password acquisition request to a server, receiving a connection password returned by the server, and connecting the target wireless hotspot by using the received connection password.
3. The method of claim 1, wherein when the networking application is a second application, the determining whether the target wireless hotspot meets a preset condition comprises:
judging whether the equipment contains a configuration file of the target wireless hotspot, and if so, judging that the target wireless hotspot meets a preset condition; otherwise, judging that the target wireless hotspot does not meet the preset condition.
4. The method according to claim 3, wherein the automatically connecting to the target wireless hotspot specifically is: and connecting the target wireless hotspot according to the connection password in the configuration file of the target wireless hotspot.
5. The method of claim 1, wherein the connecting the target wireless hotspot further comprises:
when the networking application is a first application and the target wireless hotspot is judged not to meet the preset condition, guiding a user to manually connect the target wireless hotspot;
and when the networking application is a second application and the target wireless hotspot is judged not to meet the preset condition, guiding a user to download the first application, and connecting the target wireless hotspot through the downloaded first application.
6. A network connection device based on voice control, comprising:
one or more processors, storage devices to store one or more programs;
the one or more programs, when executed by the one or more processors, implement the method of any of claims 1-5.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810885780.0A CN108632957B (en) | 2018-08-06 | 2018-08-06 | Network connection method, equipment and storage medium based on voice control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810885780.0A CN108632957B (en) | 2018-08-06 | 2018-08-06 | Network connection method, equipment and storage medium based on voice control |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108632957A CN108632957A (en) | 2018-10-09 |
CN108632957B true CN108632957B (en) | 2021-06-15 |
Family
ID=63689199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810885780.0A Active CN108632957B (en) | 2018-08-06 | 2018-08-06 | Network connection method, equipment and storage medium based on voice control |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108632957B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110996374B (en) * | 2019-12-17 | 2023-08-25 | 腾讯科技(深圳)有限公司 | Wireless network control method, device, equipment and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792855A (en) * | 2016-12-27 | 2017-05-31 | 上海庆科信息技术有限公司 | The collocation method and device of a kind of WiFi equipment |
CN106941432A (en) * | 2016-01-05 | 2017-07-11 | 北京云知声信息技术有限公司 | Networking methods and device for intelligent home device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108260187A (en) * | 2018-01-26 | 2018-07-06 | 上海连尚网络科技有限公司 | A kind of flow sharing method |
-
2018
- 2018-08-06 CN CN201810885780.0A patent/CN108632957B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106941432A (en) * | 2016-01-05 | 2017-07-11 | 北京云知声信息技术有限公司 | Networking methods and device for intelligent home device |
CN106792855A (en) * | 2016-12-27 | 2017-05-31 | 上海庆科信息技术有限公司 | The collocation method and device of a kind of WiFi equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108632957A (en) | 2018-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104967997B (en) | A kind of Wi-Fi cut-in method, Wi-Fi equipment, terminal device and system | |
KR101807286B1 (en) | Method and apparatus for performing function in mobile terminal using short range communication | |
US20070123297A1 (en) | Method and apparatus for enabling a mobile device to subscribe and acquire services, and the mobile device | |
KR101698094B1 (en) | Apparatus and method for providing service corresponding to a service zone | |
CN106231595B (en) | Wireless hotspot selection method and system | |
CN106488529B (en) | WIFI network access method and device | |
EP3869112A1 (en) | Air-conditioning device control method and air-conditioning device | |
CN112306437A (en) | Terminal screen projection method, device, equipment, system and computer readable storage medium | |
CN107959920B (en) | Wireless network-based sign-in method and equipment | |
CN104918298A (en) | Network connection control method and apparatus, and mobile terminal | |
CN106332235A (en) | WIFI (Wireless Fidelity) hotspot configuration system and method | |
CN108632957B (en) | Network connection method, equipment and storage medium based on voice control | |
CN111325880A (en) | Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium | |
CN109246280B (en) | Address book cloud processing method and device, computer equipment and readable storage medium | |
KR101921207B1 (en) | Method and apparatus for performing function in mobile terminal using short range communication | |
CN107257543A (en) | The method and terminal of at least one wireless communication interface of management terminal | |
CN109491748B (en) | Wearable device control method and control terminal based on small program | |
CN111901813A (en) | Network configuration method and equipment for customer premises equipment | |
CN108600280B (en) | Network connection method, equipment and storage medium | |
CN110661810A (en) | Wireless WI-FI equipment management method, terminal and computer readable storage medium | |
US20170019756A1 (en) | Simplified method for placing telephone call and simplified method for requesting location-based service | |
CN109308899A (en) | A kind of hotspot connection method, equipment and the storage medium of voice control | |
CN112738329B (en) | Data interaction method, device and storage medium | |
CN109040503B (en) | Traffic sharing method and server | |
CN109714808B (en) | Data service processing method and system |
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 |