CN107148018B - Wireless network configuration method, device and system - Google Patents

Wireless network configuration method, device and system Download PDF

Info

Publication number
CN107148018B
CN107148018B CN201710330897.8A CN201710330897A CN107148018B CN 107148018 B CN107148018 B CN 107148018B CN 201710330897 A CN201710330897 A CN 201710330897A CN 107148018 B CN107148018 B CN 107148018B
Authority
CN
China
Prior art keywords
sound data
wireless
area network
distribution network
local area
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
Application number
CN201710330897.8A
Other languages
Chinese (zh)
Other versions
CN107148018A (en
Inventor
霍伟明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GD Midea Air Conditioning Equipment Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Priority to CN201710330897.8A priority Critical patent/CN107148018B/en
Publication of CN107148018A publication Critical patent/CN107148018A/en
Application granted granted Critical
Publication of CN107148018B publication Critical patent/CN107148018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a configuration method, a device and a system of a wireless network, wherein the method comprises the following steps: generating first sound data, emitting sound waves according to the first sound data, receiving distribution network information sent by the wireless equipment, accessing the wireless local area network according to the distribution network information, receiving second sound data sent by the wireless equipment, wherein the second sound data is obtained by the wireless equipment through collecting the sound waves, and if the first sound data is matched with the second sound data, confirming that the identity authentication is passed and accessing the wide area network through the wireless local area network. The identity authentication is carried out on the equipment waiting for the distribution network in the distribution network process, the wide area network can be accessed through the local area network after the authentication is passed, and the technical problems that in the prior art, when the equipment waiting for the distribution network exists in adjacent users, the equipment can be accessed into a non-target wireless local area network, the distribution network is mistakenly distributed, and privacy data can be leaked are solved.

Description

Wireless network configuration method, device and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for configuring a wireless network.
Background
With the continuous development of smart home devices and internet technologies, users increasingly use various smart devices. Before using these smart devices, the smart devices need to be configured to enable the smart devices to access the wireless local area network used by the user.
In the prior art, because the intelligent device does not have a sufficient human-computer interaction interface, the distribution network information cannot be directly input into the intelligent device, and an application program (APP) is installed on a mobile terminal of a user, and the APP sends the distribution network information including a Service Set Identifier (SSID) and a password to the intelligent device in a wireless electromagnetic wave mode through the mobile terminal. Therefore, after the intelligent equipment acquires the distribution network information, the intelligent equipment is subjected to network configuration according to the distribution network information, and then is accessed to the wireless local area network.
However, the wireless network configuration method in the prior art has a certain security risk. The distribution network information sent by the mobile terminal is transmitted through electromagnetic waves in the air, and when a plurality of adjacent intelligent devices to be distributed exist nearby, the possibility of mistakenly distributing the network exists, so that the intelligent devices are accessed to a non-target wireless local area network, and therefore the possibility of private data leakage exists.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first object of the present invention is to provide a configuration method of a wireless network, which performs identity authentication on a device waiting for network distribution in a network distribution process, and can access a wide area network through a local area network only after the authentication is passed, so as to solve the technical problems in the prior art that when all devices waiting for network distribution exist in adjacent users, the devices may be accessed to a non-target wireless local area network, thereby causing a wrong network distribution and possibly revealing privacy data.
A second objective of the present invention is to provide a configuration device for a wireless network.
A third object of the present invention is to provide a configuration system of a wireless network.
A fourth object of the invention is to propose a computer device.
A fifth object of the invention is to propose a non-transitory computer-readable storage medium.
A sixth object of the invention is to propose a computer program product.
To achieve the above object, an embodiment of a first aspect of the present invention provides a method for configuring a wireless network, including:
generating first sound data and emitting sound waves according to the first sound data;
receiving distribution network information sent by wireless equipment, and accessing a wireless local area network according to the distribution network information;
receiving second sound data sent by the wireless equipment, wherein the second sound data is obtained by collecting sound waves by the wireless equipment;
and if the first sound data is matched with the second sound data, the identity authentication is confirmed to be passed, and the wide area network is accessed through the wireless local area network.
The configuration method of the wireless network of the embodiment of the invention comprises the following steps: generating first sound data, emitting sound waves according to the first sound data, receiving distribution network information sent by the wireless equipment, accessing the wireless local area network according to the distribution network information, receiving second sound data sent by the wireless equipment, wherein the second sound data is obtained by the wireless equipment through collecting the sound waves, and if the first sound data is matched with the second sound data, confirming that the identity authentication is passed and accessing the wide area network through the wireless local area network. The identity authentication is carried out on the equipment waiting for the distribution network in the distribution network process, the wide area network can be accessed through the local area network after the authentication is passed, and the technical problems that in the prior art, when the equipment waiting for the distribution network exists in adjacent users, the equipment can be accessed into a non-target wireless local area network, the distribution network is mistakenly distributed, and privacy data can be leaked are solved.
In order to achieve the above object, a second embodiment of the present invention provides a configuration apparatus for a wireless network, including:
the generating module is used for generating first sound data and emitting sound waves according to the first sound data;
the first receiving module is used for receiving the distribution network information sent by the wireless equipment and accessing the wireless local area network according to the distribution network information;
the second receiving module is used for receiving second sound data sent by the wireless equipment, and the second sound data is obtained by collecting sound waves by the wireless equipment;
and the first confirmation module is used for confirming that the identity authentication passes if the first sound data is matched with the second sound data and accessing the wide area network through the wireless local area network.
According to the configuration device of the wireless network, the generation module is used for generating first sound data and emitting sound waves according to the first sound data, the first receiving module is used for receiving distribution network information sent by wireless equipment and accessing the wireless local area network according to the distribution network information, the second receiving module is used for receiving second sound data sent by the wireless equipment, the second sound data are obtained by the wireless equipment through collecting the sound waves, and the first confirmation module is used for confirming that identity authentication is passed if the first sound data and the second sound data are matched and accessing the wide area network through the wireless local area network. The identity authentication is carried out on the equipment waiting for the distribution network in the distribution network process, the wide area network can be accessed through the local area network after the authentication is passed, and the technical problems that in the prior art, when the equipment waiting for the distribution network exists in adjacent users, the equipment can be accessed into a non-target wireless local area network, the distribution network is mistakenly distributed, and privacy data can be leaked are solved.
To achieve the above object, a third aspect of the present invention provides a configuration system of a wireless network, including: a target device and a wireless device.
A target device for generating first sound data and emitting sound waves according to the first sound data; receiving distribution network information sent by wireless equipment, and accessing a wireless local area network according to the distribution network information; receiving second sound data sent by the wireless device; if the first sound data is matched with the second sound data, the identity authentication is confirmed to be passed, and the wide area network is accessed through the wireless local area network;
the wireless equipment is used for sending the distribution network information; and collecting sound waves to obtain second sound data, and sending the second sound data to the target equipment.
According to the configuration system of the wireless network, the target equipment generates the first sound data, receives the second sound data obtained by the wireless equipment collecting the sound waves generated by the target equipment, matches the first sound data with the second sound data, and accesses the wide area network through the wireless local area after the identity authentication of the target equipment is confirmed to be passed. The identity authentication is carried out on the equipment waiting for the distribution network in the distribution network process, the wide area network can be accessed through the local area network after the authentication is passed, and the technical problems that in the prior art, when the equipment waiting for the distribution network exists in adjacent users, the equipment can be accessed into a non-target wireless local area network, the distribution network is mistakenly distributed, and privacy data can be leaked are solved.
In order to achieve the above object, a fourth aspect embodiment of the present invention proposes a computer apparatus, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method for configuring a wireless network proposed in the first embodiment.
In order to achieve the above object, a fifth embodiment of the present invention provides a non-transitory computer-readable storage medium, where when a program in the storage medium is executed by a processor, the non-transitory computer-readable storage medium implements the method for configuring a wireless network as set forth in the first embodiment.
In order to achieve the above object, a sixth aspect of the present invention provides a computer program product, where instructions of the computer program product, when executed by a processor, implement the method for configuring a wireless network as set forth in the above first aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a configuration method of a wireless network according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another method for configuring a wireless network according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a configuration system of a wireless network according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a configuration apparatus of a wireless network according to an embodiment of the present invention; and
fig. 5 is a schematic structural diagram of another configuration apparatus of a wireless network according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A configuration method, apparatus, and system of a wireless network according to an embodiment of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a configuration method of a wireless network according to an embodiment of the present invention.
As shown in fig. 1, the configuration method of the wireless network includes the following steps:
step S101, generating first sound data and emitting sound waves according to the first sound data.
Specifically, a target device and a wireless device to be distributed need to enter a distribution network mode, and on one hand, a method for enabling the wireless device to enter a distribution network interface is that a user opens a distribution network Application (APP) pre-installed in the wireless device, so that the wireless device enters the distribution network interface. On the other hand, there are many possible implementation manners for enabling the target device to enter the distribution network mode, and one of the possible implementation manners is to directly trigger by using a key on the target device and to indicate whether to enter the distribution network mode by combining with an indicator light. For example, the short press or the long press of one or a combination of 2 keys is used for triggering, and when the indicator light flickers, the target device enters the distribution network mode. Another possible implementation manner is that a wireless remote controller is used to send an instruction to instruct the target device to enter the distribution network mode, and an indicator light is used to instruct the target device to enter the distribution network mode. The wireless remote controller may use a wireless communication protocol based on bluetooth or 2.4G, and is not limited in this embodiment. In addition, it should be noted that, the method for enabling the target device to enter the distribution network mode is also not limited in this embodiment.
Further, the target device generates a random character and converts the random character into a voice, which is a pronunciation describing the randomly generated character, and the voice is referred to as first sound data for convenience of distinction. The first sound data is played through the loudspeaker, sound waves are emitted, and the wireless device and the target device are located in the same space, so that the wireless device can acquire the sound waves to obtain sound data, and the sound data can be called as second sound data.
And S102, receiving the distribution network information sent by the wireless equipment, and accessing the wireless local area network according to the distribution network information.
Specifically, after acquiring the second sound data, the wireless device sends relevant distribution network information of the router to be connected to the target device, where the distribution network information at least includes a Service Set Identifier (SSID) and a password of the wireless router. And after receiving the distribution network information sent by the wireless equipment, the target equipment sets the wireless router according to the distribution network information, and accesses the wireless local area network after the setting is finished.
The method for sending the distribution network information to the target device by the wireless device may specifically include multiple possible implementation manners, and as one possible implementation manner, the wireless device sends the distribution network information to the target device by using a wireless local area network (WiFi) fast connection technology. The WiFi fast connection technology specifically means that wireless equipment is connected to a wireless router, the wireless equipment sends out a data packet containing distribution network information in a broadcasting mode, and after a WiFi module of target equipment needing to be connected to a wireless local area network receives the data packet of the distribution network information, the distribution network information is analyzed and connected with the wireless router through the distribution network information, so that the wireless local area network is connected.
And step S103, receiving second sound data sent by the wireless device, wherein the second sound data is obtained by the wireless device collecting sound waves.
On the one hand, after the target device is connected to the wireless router, the target device cannot access the wide area network because the target device does not perform identity authentication with the wireless device, and the target device needs to access the wide area network through the wireless local area network after the identity authentication is successful.
On the other hand, to communicate between the target device and the wireless device in the same wireless lan, first, a Transmission Control Protocol (TCP) link needs to be established, and then, the wireless device transmits the second sound data to the target device through the established TCP link.
Specifically, as a possible implementation manner, the target device establishes a TCP server, sets a corresponding port and an IP address, and simultaneously uses a User data packet Protocol (UDP) to send the port and the IP address of the TCP server in a broadcast form through a UDP data packet, and after receiving port and IP address information of the TCP server, the wireless device establishes a TCP link with the target device using the port and the IP address, and returns the port number and the IP address of a TCP client of the wireless device to the target device, thereby implementing data communication between the target device and the wireless device.
Further, the wireless device sends second sound data to the target device through the TCP link, the target device receives the second sound data, then the second sound data is matched and compared with the first sound data, and whether the identity confirmation of the target device passes or not is confirmed according to a matching result.
It should be noted that, as a possible implementation manner, the matching comparison between the first sound data and the second sound data is to extract the sound features of the second sound data, extract the characters corresponding to the sound, and compare the extracted characters corresponding to the second sound data with the characters corresponding to the first sound data, so as to determine whether the target device and the wireless device collect the same sound data, thereby determining whether the target device and the wireless device are matched.
And step S104, if the first sound data is matched with the second sound data, the identity authentication is confirmed to be passed, and the wide area network is accessed through the wireless local area network.
Specifically, the target device determines whether the identity authentication is passed according to a result of matching the first sound data and the second sound data, and if the first sound data and the second sound data are matched, the target device determines that the identity is passed and can access the wide area network through the wireless local area network.
Further, if the first sound data and the second sound data do not match, the target device is determined not to pass the identity, and the target device is disconnected from the wireless local area network.
The configuration method of the wireless network of the embodiment of the invention comprises the following steps: generating first sound data, emitting sound waves according to the first sound data, receiving distribution network information sent by the wireless equipment, accessing the wireless local area network according to the distribution network information, receiving second sound data sent by the wireless equipment, wherein the second sound data is obtained by the wireless equipment through collecting the sound waves, and if the first sound data is matched with the second sound data, confirming that the identity authentication is passed and accessing the wide area network through the wireless local area network. The identity authentication is carried out on the equipment waiting for the distribution network in the distribution network process, the wide area network can be accessed through the local area network after the authentication is passed, and the technical problems that in the prior art, when the equipment waiting for the distribution network exists in adjacent users, the equipment can be accessed into a non-target wireless local area network, the distribution network is mistakenly distributed, and privacy data can be leaked are solved.
In order to more clearly explain the foregoing embodiments, this embodiment further proposes another wireless network configuration method, which more clearly explains the interaction process between the target device and the wireless device, and fig. 2 is a flowchart of another wireless network configuration method provided in this embodiment of the present invention, as shown in fig. 2, the method includes:
step S201, playing the first sound data and emitting sound waves.
Specifically, a user opens an APP of the wireless device to enter a distribution network interface, and after the target device enters a distribution network mode through operation, the target device generates random character data and describes the random character data into sound data, wherein the sound data is first sound data. Wherein the first sound data is a pronunciation for describing a randomly generated character.
Further, the target device plays the first sound data through the speaker and emits sound waves, so that the wireless devices in the same space can collect the sound waves through the microphone, and the sound data collected by the wireless devices is called second sound data.
It should be noted that, the target device and the wireless device are located in the same space, which means that the wireless device is located within the range where the sound wave emitted by the target device can be collected.
Step S202, the wireless device broadcasts the distribution network information, so that the target device receives the distribution network information.
Specifically, after the wireless device and the target device both enter a distribution network mode, the wireless device sends distribution network information to the target device by adopting a WiFi (wireless fidelity) quick connection technology, and the target device configures the router through the distribution network information, so that the target device is accessed to a wireless local area network, wherein the distribution network information at least comprises an SSID (service set identifier) code and password information of the router.
In step S203, the target device broadcasts the port and IP address information of the server TCP so that the wireless device receives the information.
Specifically, after the target device accesses the wireless local area network, the target device cannot access the wide area network, and the target device needs to perform identity confirmation to access the wide area network. The target device and the wireless device need to communicate with each other, a TCP link needs to be established, the target device sets a TCP server and broadcasts a port and an IP address of the TCP of the server through a UDP data packet, and after the wireless device senses the TCP port and the IP address, the wireless device establishes the TCP link with the target device through the TCP port and the IP address, so that the target device and the wireless device can start to communicate with each other.
In step S204, the wireless device transmits the second sound data to the target device.
Specifically, after the wireless device and the target device establish the TCP link, the wireless device sends the second sound data to the target device through the TCP link. And the target equipment matches the received second sound data with the first sound data, firstly, the second sound data is subjected to feature extraction, character data corresponding to the second sound data are extracted, the character data corresponding to the first sound data are subjected to matching comparison, and if the character data are matched, the first sound data and the second sound data are considered to be matched.
Step S205, determining that the second sound data is matched with the first sound data, and accessing the wide area network through the accessed wireless local area network.
Specifically, the target device confirms whether the identity authentication is passed or not according to the matching result of the second sound data and the first sound data, and if the second sound data and the first sound data are matched, the identity authentication of the target device is passed, and the target device can access the wide area network through the accessed wireless local area network. Further, if the second sound data and the first sound data are not matched, the target equipment identity is considered to be failed to be confirmed, and the wireless local area network is disconnected with the accessed wireless local area network.
The configuration method of the wireless network of the embodiment of the invention comprises the following steps: generating first sound data, emitting sound waves according to the first sound data, receiving distribution network information sent by the wireless equipment, accessing the wireless local area network according to the distribution network information, receiving second sound data sent by the wireless equipment, wherein the second sound data is obtained by the wireless equipment through collecting the sound waves, and if the first sound data is matched with the second sound data, confirming that the identity authentication is passed and accessing the wide area network through the wireless local area network. The identity authentication is carried out on the equipment waiting for the distribution network in the distribution network process, the wide area network can be accessed through the local area network after the authentication is passed, and the technical problems that in the prior art, when the equipment waiting for the distribution network exists in adjacent users, the equipment can be accessed into a non-target wireless local area network, the distribution network is mistakenly distributed, and privacy data can be leaked are solved.
The method in the foregoing embodiment is implemented based on a configuration system of a wireless network, so this embodiment proposes a configuration system of a wireless network, fig. 3 is a schematic structural diagram of the configuration system of a wireless network according to the embodiment of the present invention, and as shown in fig. 3, the system includes: the target device 31 and the wireless device 32, and the target device 31 and the wireless device 32 communicate with each other.
The target device 31 is configured to generate first sound data when entering a distribution network mode, play the first sound data by using a speaker, and emit sound waves; receiving distribution network information sent by the wireless device 32, and accessing the wireless local area network according to the distribution network information; receiving second sound data sent by the wireless device 32, confirming that the identity authentication is passed if the first sound data is matched with the second sound data, and accessing the wide area network through the wireless local area network; and if the first sound data and the second sound data do not match, disconnecting the connection with the wireless local area network.
Wherein the first sound data is a pronunciation for describing a randomly generated character.
In addition, before the target device 31 receives the second sound data sent by the wireless device 32, a TCP link needs to be established with the wireless device 32, and after the TCP link is successfully established, the wireless device 32 sends the second sound data to the target device 31 through the TCP link.
The wireless device 32 is configured to send the distribution network information to the target device 31, acquire sound waves sent by the target device 31 to obtain second sound data, and send the second sound data to the target device 31.
It should be noted that the above explanation of the method embodiment is also applicable to the system of this embodiment, and is not repeated here.
In the embodiment of the invention, the target equipment generates first sound data, receives second sound data obtained by collecting sound waves generated by the target equipment by the wireless equipment, matches the first sound data with the second sound data, and accesses the wide area network through the wireless local area after the identity authentication of the target equipment is confirmed to be passed. The identity authentication is carried out on the equipment waiting for the distribution network in the distribution network process, the wide area network can be accessed through the local area network after the authentication is passed, and the technical problems that in the prior art, when the equipment waiting for the distribution network exists in adjacent users, the equipment can be accessed into a non-target wireless local area network, the distribution network is mistakenly distributed, and privacy data can be leaked are solved.
To implement the foregoing embodiment, this embodiment further provides a configuration apparatus for a wireless network, and fig. 4 is a schematic structural diagram of another configuration apparatus for a wireless network according to the embodiment of the present invention. As shown in fig. 4, the apparatus includes: a generating module 41, a first receiving module 42, a second receiving module 43 and a first confirming module 44.
The generating module 41 is configured to generate first sound data and emit a sound wave according to the first sound data.
The first receiving module 42 is configured to receive the distribution network information sent by the wireless device 32, and access the wireless local area network according to the distribution network information.
And the second receiving module 43 is configured to receive second sound data sent by the wireless device 32, where the second sound data is obtained by collecting sound waves by the wireless device 32.
And the first confirmation module 44 is configured to confirm that the identity authentication is passed and access the wide area network through the wireless local area network if the first sound data and the second sound data are matched.
It should be noted that the above explanation of the method embodiment is also applicable to the system of this embodiment, and is not repeated here.
In the embodiment of the invention, the generating module is used for generating first sound data and emitting sound waves according to the first sound data, the first receiving module is used for receiving distribution network information sent by wireless equipment and accessing a wireless local area network according to the distribution network information, the second receiving module is used for receiving second sound data sent by the wireless equipment, the second sound data is obtained by the wireless equipment by collecting the sound waves, and the first confirming module is used for confirming that the identity authentication is passed if the first sound data is matched with the second sound data and accessing the wide area network through the wireless local area network. The identity authentication is carried out on the equipment waiting for the distribution network in the distribution network process, the wide area network can be accessed through the local area network after the authentication is passed, and the technical problems that in the prior art, when the equipment waiting for the distribution network exists in adjacent users, the equipment can be accessed into a non-target wireless local area network, the distribution network is mistakenly distributed, and privacy data can be leaked are solved.
On the basis of the previous embodiment, this embodiment further proposes a configuration device of a wireless network, fig. 5 is a schematic structural diagram of another configuration device of a wireless network proposed in the embodiment of the present invention, and on the basis of the embodiment corresponding to fig. 4, the generating module 41 includes: a generating unit 411 and a playing unit 412.
The generating unit 411 is configured to generate first sound data when entering a distribution network mode.
The playing unit 412 is configured to play the first sound data by using a speaker to emit sound waves.
Further, on the basis of the embodiment corresponding to fig. 4, the second receiving module 43 includes: a link unit 431 and a receiving unit 432 are established.
A link establishing unit 431 is used to establish a TCP link with the wireless device 32.
A receiving unit 432, configured to receive second sound data sent by the wireless device 32 through the TCP link.
Further, the configuring device of the wireless network further comprises: a second confirmation module 45.
And a second confirming module 45, configured to disconnect the connection with the wireless local area network if the first sound data and the second sound data are not matched.
It should be noted that the foregoing explanation of the method embodiment is also applicable to the apparatus of this embodiment, and is not repeated herein.
In the embodiment of the invention, the generating module is used for generating first sound data and emitting sound waves according to the first sound data, the first receiving module is used for receiving distribution network information sent by wireless equipment and accessing a wireless local area network according to the distribution network information, the second receiving module is used for receiving second sound data sent by the wireless equipment, the second sound data is obtained by the wireless equipment by collecting the sound waves, and the first confirming module is used for confirming that the identity authentication is passed if the first sound data is matched with the second sound data and accessing the wide area network through the wireless local area network. The identity authentication is carried out on the equipment waiting for the distribution network in the distribution network process, the wide area network can be accessed through the local area network after the authentication is passed, and the technical problems that in the prior art, when the equipment waiting for the distribution network exists in adjacent users, the equipment can be accessed into a non-target wireless local area network, the distribution network is mistakenly distributed, and privacy data can be leaked are solved.
In order to implement the above embodiments, the present invention further provides a computer device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor performs the configuration method of the wireless network in the foregoing embodiments.
In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium that, when a program in the storage medium is executed by a processor, performs the configuration method of the wireless network in the foregoing embodiments.
In order to implement the above embodiments, the present invention also provides a computer program product, wherein when the instructions in the computer program product are executed by a processor, the configuration method of the wireless network in the foregoing embodiments is executed.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (12)

1. A method for configuring a wireless network, comprising the steps of:
when entering a distribution network mode, generating first sound data; the first sound data is used for describing pronunciation of randomly generated characters;
playing the first sound data by using a loudspeaker to emit sound waves;
receiving distribution network information sent by wireless equipment, and accessing a wireless local area network according to the distribution network information;
receiving second sound data sent by the wireless device, wherein the second sound data is obtained by the wireless device by collecting the sound waves;
and if the first sound data is matched with the second sound data, confirming that the identity authentication is passed, and accessing a wide area network through the wireless local area network.
2. The method of configuring a wireless network according to claim 1, wherein the receiving second sound data transmitted by the wireless device comprises:
establishing a TCP link with the wireless device;
and receiving second sound data sent by the wireless equipment through the TCP link.
3. The method for configuring wireless network according to claim 1, wherein after receiving the second sound data transmitted by the wireless device, further comprising:
and if the first sound data and the second sound data are not matched, disconnecting the connection with the wireless local area network.
4. An apparatus for configuring a wireless network, comprising:
the generating module is used for generating first sound data and emitting sound waves according to the first sound data;
the generation module comprises:
the generating unit is used for generating the first sound data when entering a distribution network mode; the first sound data is used for describing pronunciation of randomly generated characters;
the playing unit is used for playing the first sound data by using a loudspeaker and emitting sound waves;
the first receiving module is used for receiving the distribution network information sent by the wireless equipment and accessing the wireless local area network according to the distribution network information;
a second receiving module, configured to receive second sound data sent by the wireless device, where the second sound data is obtained by the wireless device by collecting the sound waves;
and the first confirmation module is used for confirming that the identity authentication passes if the first sound data is matched with the second sound data, and accessing the wide area network through the wireless local area network.
5. The configuration device of wireless network according to claim 4, wherein the second receiving module comprises:
a link establishing unit for establishing a TCP link with the wireless device;
a receiving unit, configured to receive second sound data sent by the wireless device through the TCP link.
6. The apparatus for configuring a wireless network according to claim 4, further comprising:
and the second confirmation module is used for disconnecting the connection with the wireless local area network if the first sound data is not matched with the second sound data.
7. A system for configuring a wireless network, comprising: a target device and a wireless device;
the target device is used for generating first sound data when entering a distribution network mode; playing the first sound data by using a loudspeaker to emit sound waves; receiving distribution network information sent by wireless equipment, and accessing a wireless local area network according to the distribution network information; receiving second sound data transmitted by the wireless device; if the first sound data is matched with the second sound data, the identity authentication is confirmed to be passed, and the wide area network is accessed through the wireless local area network; wherein the first sound data is used to describe a pronunciation of a randomly generated character;
the wireless device is used for sending the distribution network information; and collecting the sound wave to obtain second sound data, and sending the second sound data to the target equipment.
8. The system for configuring a wireless network according to claim 7,
the target device is specifically configured to establish a TCP link with the wireless device; and receiving second sound data sent by the wireless equipment through the TCP link.
9. The system for configuring a wireless network according to claim 7,
the target device is further configured to disconnect the connection with the wireless local area network if the first sound data and the second sound data are not matched.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements the method of configuring a wireless network according to any one of claims 1 to 3.
11. A non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements the method of configuring a wireless network according to any one of claims 1-3.
12. A computer program product, wherein instructions, when executed by a processor, perform a method of configuring a wireless network according to any one of claims 1-3.
CN201710330897.8A 2017-05-11 2017-05-11 Wireless network configuration method, device and system Active CN107148018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710330897.8A CN107148018B (en) 2017-05-11 2017-05-11 Wireless network configuration method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710330897.8A CN107148018B (en) 2017-05-11 2017-05-11 Wireless network configuration method, device and system

Publications (2)

Publication Number Publication Date
CN107148018A CN107148018A (en) 2017-09-08
CN107148018B true CN107148018B (en) 2020-06-05

Family

ID=59778629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710330897.8A Active CN107148018B (en) 2017-05-11 2017-05-11 Wireless network configuration method, device and system

Country Status (1)

Country Link
CN (1) CN107148018B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659470A (en) * 2017-09-19 2018-02-02 广东美的制冷设备有限公司 Anti-error distribution method and apparatus based on broadcast distribution
CN107659472A (en) * 2017-09-19 2018-02-02 广东美的制冷设备有限公司 Anti-error distribution method and apparatus based on access focus distribution
CN110149217A (en) * 2018-02-14 2019-08-20 阿里巴巴集团控股有限公司 Exchange method and system between a kind of equipment
CN113132189B (en) * 2019-12-31 2022-10-11 华为技术有限公司 Network distribution method of terminal, terminal and system
CN111698759A (en) * 2020-06-18 2020-09-22 宁波小匠物联网科技有限公司 Method and system for entering distribution network mode, distribution network equipment and computer readable storage medium
CN111818613A (en) * 2020-07-24 2020-10-23 深圳创维数字技术有限公司 Wireless network configuration method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494540A (en) * 2009-03-04 2009-07-29 北京英立讯科技有限公司 Remote voice identification authentication system and method
CN104010327A (en) * 2014-06-18 2014-08-27 江勇 Method and system for quickly having access to WIFI wireless network
CN104137480A (en) * 2012-02-24 2014-11-05 高通股份有限公司 Sensor based configuration and control of network devices
WO2016172538A1 (en) * 2015-04-23 2016-10-27 Electrolux Home Products, Inc. Provisioning an appliance for network connectivity
CN106332143A (en) * 2016-09-28 2017-01-11 四川长虹电器股份有限公司 Method for rapidly configuring a network for smart device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494540A (en) * 2009-03-04 2009-07-29 北京英立讯科技有限公司 Remote voice identification authentication system and method
CN104137480A (en) * 2012-02-24 2014-11-05 高通股份有限公司 Sensor based configuration and control of network devices
CN104010327A (en) * 2014-06-18 2014-08-27 江勇 Method and system for quickly having access to WIFI wireless network
WO2016172538A1 (en) * 2015-04-23 2016-10-27 Electrolux Home Products, Inc. Provisioning an appliance for network connectivity
CN106332143A (en) * 2016-09-28 2017-01-11 四川长虹电器股份有限公司 Method for rapidly configuring a network for smart device

Also Published As

Publication number Publication date
CN107148018A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN107148018B (en) Wireless network configuration method, device and system
CN105119939B (en) The cut-in method and device, providing method and device and system of wireless network
CN110933614B (en) Communication processing method and device and electronic equipment
CN105072564A (en) Audio playing method and device based on Bluetooth connection
CN111866998A (en) Bluetooth network distribution method, equipment and storage medium
CN106656547B (en) Method and device for updating network configuration of household electrical appliance
TW201719475A (en) Identity authentication method, system, business server and authentication server
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
CN104115449A (en) Systems and methods for connecting an audio controller to a hidden audio network
CN111726886A (en) Network configuration method and device and electronic equipment
CN108834138B (en) Network distribution method and system based on voiceprint data
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN105632144A (en) Intelligent equipment control method and device
CN105450643A (en) Network access authentication method, apparatus and system
CN105554755A (en) Wireless network access method and device
CN112188488A (en) Network distribution method, device and system
CN104010355A (en) Apparatus and method for providing a wireless communication in a portable terminal
US20210368559A1 (en) Method for connecting an electronic device, e.g. a smart speaker, to a target wireless access point
CN108093390B (en) Intelligent device discovery method based on characteristic information
CN111194035A (en) Network connection method, device and storage medium
US10553040B2 (en) Method and apparatus for enhanced telematics security through secondary channel
CN111343057B (en) Control method of intelligent household appliance and intelligent household appliance
CN104506249A (en) Method and device for realizing network configuration on wireless device, and wireless device
CN106789843B (en) Method, PORTAL server and system for sharing internet access
CN112637221A (en) Equipment control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant