CN112118610B - Network distribution method and system for wireless intelligent equipment - Google Patents

Network distribution method and system for wireless intelligent equipment Download PDF

Info

Publication number
CN112118610B
CN112118610B CN201910529677.7A CN201910529677A CN112118610B CN 112118610 B CN112118610 B CN 112118610B CN 201910529677 A CN201910529677 A CN 201910529677A CN 112118610 B CN112118610 B CN 112118610B
Authority
CN
China
Prior art keywords
audio
mobile terminal
signaling
information
wifi
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
CN201910529677.7A
Other languages
Chinese (zh)
Other versions
CN112118610A (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.)
Hangzhou Ezviz Software Co Ltd
Original Assignee
Hangzhou Ezviz Software 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 Hangzhou Ezviz Software Co Ltd filed Critical Hangzhou Ezviz Software Co Ltd
Priority to CN201910529677.7A priority Critical patent/CN112118610B/en
Publication of CN112118610A publication Critical patent/CN112118610A/en
Application granted granted Critical
Publication of CN112118610B publication Critical patent/CN112118610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention provides a network distribution method and system for wireless intelligent equipment. The method comprises the following steps: the wireless intelligent device generates a distribution network starting signaling, encodes the signaling into first audio, and sends the first audio out through a microphone channel of an audio interface of the mobile terminal, wherein the wireless intelligent device is used as peripheral equipment and connected to the audio interface of the mobile terminal; the wireless intelligent device monitors the second audio from the left channel and the right channel of the audio interface of the mobile terminal, decodes the second audio into a text, discovers that the text provides signaling for WiFi information, analyzes the WiFi information from the signaling, and is connected to a wireless network by adopting the WiFi information. The embodiment of the invention improves the anti-interference performance and reliability of the network distribution process of the wireless intelligent equipment.

Description

Network distribution method and system for wireless intelligent equipment
Technical Field
The invention relates to the technical field of Internet of things, in particular to a wireless intelligent device network distribution method, a wireless intelligent device network distribution system, a wireless intelligent device and a mobile terminal.
Background
The internet of things is a network which is based on information carriers such as the Internet, a traditional telecommunication network and the like and enables all common physical objects which can be independently addressed to realize interconnection and intercommunication.
At present, various schemes for distributing network for wireless intelligent equipment in the Internet of things exist, and typical schemes are as follows:
1. generating a two-dimensional code by WiFi (Wireless Fidelity ) information of the router, and establishing connection between the wireless intelligent equipment and the router by scanning the two-dimensional code;
2. by mobile terminals such as: the mobile phone encodes WiFi information into sound waves and transmits the sound waves to the wireless intelligent equipment;
3. mobile terminals such as: after the mobile phone establishes connection with the wireless intelligent device hot spot, wiFi information is transmitted to the wireless intelligent device;
4. mobile terminals such as: the mobile phone transmits WiFi information to the router in a broadcast or multicast message sending mode, and the router forwards the WiFi information to the wireless intelligent equipment.
The above solutions all have certain limitations. Wherein:
the two-dimensional code and the acoustic wave mode are greatly influenced by environmental factors;
the mobile terminal is connected with the wireless intelligent device hotspot, because the mobile terminal needs to switch from the router hotspot originally connected with the mobile terminal to the wireless intelligent device hotspot, and then switch back to the connection with the router hotspot after the WiFi information of the wireless intelligent device hotspot is sent to the wireless intelligent device, the man-machine interface interaction is complex, and the mobile terminal needs to switch the state of the network card adapter for a plurality of times, namely, switch from the STA (wireless station) mode to the AP (Access Point) mode and then switch back to the STA mode;
broadcast and multicast modes are greatly affected by router model number because: certain vendors' routers do not support broadcast and multicast WiFi information and thus cannot configure a network for wireless smart devices.
Disclosure of Invention
The embodiment of the invention provides a wireless intelligent device network distribution method and system, wireless intelligent devices and mobile terminals, so as to improve the anti-interference performance and reliability of the wireless intelligent device network distribution process.
The technical scheme of the embodiment of the invention is realized as follows:
a wireless intelligent device network distribution method, the method comprising:
the wireless intelligent device generates a distribution network starting signaling, encodes the signaling into first audio, and sends the first audio out through a microphone channel of an audio interface of the mobile terminal, wherein the wireless intelligent device is used as peripheral equipment and connected to the audio interface of the mobile terminal;
the wireless intelligent device monitors the second audio from the left channel and the right channel of the audio interface of the mobile terminal, decodes the second audio into text, finds that the text provides signaling for the WiFi information, parses the WiFi information from the signaling, connects to the wireless network with the WiFi information,
wherein, the second audio frequency is: after the mobile terminal monitors the first audio from the microphone channel of the audio interface of the mobile terminal, decoding the first audio into a text, finding that the text is a distribution network starting signaling, acquiring WiFi information of a WiFi hot spot selected by a user for the wireless intelligent equipment on the mobile terminal, generating a WiFi information providing signaling carrying the WiFi information, encoding the WiFi information providing signaling into the second audio, and sending the second audio out through a left channel and a right channel of the audio interface of the mobile terminal.
A wireless intelligent device network distribution method, the method comprising:
the mobile terminal monitors a first audio from a microphone channel of an audio interface of the mobile terminal, decodes the first audio into a text, and obtains WiFi information of a WiFi hot spot selected by a user for the wireless intelligent equipment on the mobile terminal when finding that the text is a distribution network starting signaling, generates a WiFi information providing signaling carrying the WiFi information, encodes the WiFi information providing signaling into a second audio, and sends the second audio out through a left channel and a right channel of the audio interface of the mobile terminal, wherein the audio interface of the mobile terminal is connected with the wireless intelligent equipment serving as peripheral equipment;
wherein, the first audio frequency is: the wireless intelligent device is encoded by the self-generated distribution network starting signaling and is sent out by the wireless intelligent device through a microphone channel of the audio interface of the mobile terminal.
A wireless smart device, the wireless smart device comprising: an audio plug and a processor, wherein:
the audio plug is used for connecting an audio interface of the mobile terminal;
the processor is used for generating a distribution network starting signaling, encoding the signaling into first audio, and sending the first audio out through a microphone channel of the mobile terminal audio interface; the second audio is monitored from the left channel and the right channel of the audio interface of the mobile terminal, the second audio is decoded into text, the text is found to provide signaling for the WiFi information, the WiFi information is parsed from the signaling, the WiFi information is adopted to be connected to a wireless network,
wherein, the second audio frequency is: after the mobile terminal monitors the first audio from the microphone channel of the audio interface of the mobile terminal, decoding the first audio into a text, finding that the text is a distribution network starting signaling, acquiring WiFi information of a WiFi hot spot selected by a user for the wireless intelligent equipment on the mobile terminal, generating a WiFi information providing signaling carrying the WiFi information, encoding the WiFi information providing signaling into the second audio, and sending the second audio out through a left channel and a right channel of the audio interface of the mobile terminal.
A mobile terminal, comprising: an audio interface and a processor, and the audio interface comprises: microphone channel and left and right channels, wherein:
the audio interface is used for connecting the wireless intelligent equipment serving as the peripheral equipment;
a processor for monitoring the first audio from the microphone channel of the audio interface of the mobile terminal, decoding the first audio into text, finding that the text is a configuration network starting signaling, acquiring WiFi information of a WiFi hot spot selected by a user for the wireless intelligent equipment on the mobile terminal, generating a WiFi information providing signaling carrying the WiFi information, encoding the WiFi information providing signaling into a second audio, transmitting the second audio through a left channel and a right channel of the audio interface of the mobile terminal,
wherein, the first audio frequency is: the wireless intelligent device is encoded by the self-generated distribution network starting signaling and is sent out by the wireless intelligent device through a microphone channel of the audio interface of the mobile terminal.
A wireless intelligent device distribution network system, the system comprising: a wireless smart device as claimed in any preceding claim, and a mobile terminal as claimed in any preceding claim.
According to the embodiment of the invention, the network distribution information is transmitted in full duplex by utilizing the audio interface of the mobile terminal, so that the interference caused by environmental factors is avoided, and the anti-interference performance and reliability of the network distribution information transmission are greatly improved; and the interaction of the distribution network information is automatically completed and the next step is automatically triggered, so that the complexity of participation and interaction of users is greatly reduced, and the mobile terminal only needs to be connected with a router hot spot of the mobile terminal and does not need to be connected with a wireless intelligent device hot spot, so that the state of a network card adapter is not required to be switched.
Drawings
FIG. 1 is a flowchart of a method for configuring a network for a wireless intelligent device according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for configuring a network for a wireless intelligent device according to another embodiment of the present invention;
fig. 3 is a message flow chart of a network allocation method of a wireless intelligent device according to another embodiment of the present invention;
fig. 4 is a schematic diagram of a communication model of a wireless intelligent device network configuration scheme according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a wireless intelligent device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The invention will be described in further detail with reference to the accompanying drawings and specific examples.
For ease of understanding, the following explanation is given:
audio interface: refers to an interface used in transmitting audio signals, which may be an analog interface or a digital interface.
Encryption: and changing the plaintext information into ciphertext content which is difficult to read and making the ciphertext content unreadable.
Human-machine interface: an interface for the system to interact with the user.
And (3) peripheral equipment: refers to a hardware device which can be connected with a mobile terminal (such as a mobile phone) through an interface on the mobile terminal, and has the functions of transmitting, transferring and storing data and information, wherein the mobile terminal is a host.
Fig. 1 is a flowchart of a network allocation method for a wireless intelligent device according to an embodiment of the present invention, which specifically includes the following steps:
step 101: the wireless intelligent device generates a distribution network starting signaling, encodes the signaling into first audio, and sends the first audio out through a microphone channel of an audio interface of the mobile terminal, wherein the wireless intelligent device is connected to the audio interface of the mobile terminal as peripheral equipment.
Step 102: the wireless intelligent device monitors the second audio from the left channel and the right channel of the audio interface of the mobile terminal, decodes the second audio into a text, discovers that the text provides signaling for WiFi information, analyzes the WiFi information from the signaling, and is connected to a wireless network by adopting the WiFi information.
Wherein, the second audio frequency is: after the mobile terminal monitors the first audio from the microphone channel of the audio interface of the mobile terminal, decoding the first audio into a text, finding that the text is a distribution network starting signaling, acquiring WiFi information of a WiFi hot spot selected by a user for the wireless intelligent equipment on the mobile terminal, generating a WiFi information providing signaling carrying the WiFi information, encoding the WiFi information providing signaling into a second audio, and sending the second audio out through a left channel and a right channel of the audio interface of the mobile terminal.
In practical applications, the steps 101 and 102 further include: the wireless intelligent equipment monitors third audio from a left channel and a right channel of the audio interface of the mobile terminal, decodes the third audio into text, generates and stores first encryption information when finding that the text is an encryption information acquisition request signaling, generates an encryption information acquisition response signaling carrying the first encryption information, encodes the response signaling into fourth audio, and sends the fourth audio out through a microphone channel of the audio interface of the mobile terminal;
in addition, the WiFi information providing signaling in step 102 further carries second encryption information and authentication information, and the WiFi information carried by the WiFi information providing signaling is encrypted WiFi information, and in step 102, the wireless intelligent device parses the WiFi information from the signaling specifically includes: the wireless intelligent device analyzes the second encryption information, the authentication information and the encrypted WiFi information from the WiFi information providing signaling, calculates the authentication information by adopting the first encryption information stored by the wireless intelligent device, and decrypts the encrypted WiFi information by adopting the second encryption information and the calculated authentication information if the calculated authentication information is consistent with the analyzed authentication information, so as to obtain the WiFi information of the WiFi hot spot selected by the user for the wireless intelligent device.
In practical application, the wireless intelligent device further comprises after calculating the authentication information by adopting the first encryption information stored by the wireless intelligent device itself: if the calculated authentication information is inconsistent with the analyzed authentication information, generating a network allocation failure signaling, encoding the signaling into fifth audio, and sending the fifth audio out through a microphone channel of the audio interface of the mobile terminal.
Fig. 2 is a flowchart of a network allocation method for a wireless intelligent device according to another embodiment of the present invention, which specifically includes the following steps:
step 201: the mobile terminal monitors the first audio from a microphone channel of an audio interface of the mobile terminal, decodes the first audio into a text, and obtains WiFi information of a WiFi hot spot selected by a user for the wireless intelligent equipment on the mobile terminal when finding that the text is a distribution network starting signaling, wherein the audio interface of the mobile terminal is connected with the wireless intelligent equipment serving as peripheral equipment.
Step 202: the mobile terminal generates WiFi information providing signaling carrying the WiFi information, encodes the WiFi information providing signaling into second audio, and sends the second audio out through a left channel and a right channel of an audio interface of the mobile terminal.
Wherein, the first audio frequency is: the wireless intelligent device is encoded by the self-generated distribution network starting signaling and is sent out by the wireless intelligent device through a microphone channel of the audio interface of the mobile terminal.
In practical application, in step 201, after the mobile terminal finds that the text is signaling for starting the distribution network, before acquiring WiFi information of a WiFi hotspot selected by the user for the wireless intelligent device on the mobile terminal, the method further includes: the mobile terminal generates an encryption information acquisition request signaling, encodes the signaling into a third audio, and sends the third signaling to the wireless intelligent device through a left channel and a right channel of an audio interface of the mobile terminal; the mobile terminal monitors the fourth audio from a microphone channel of an audio interface of the mobile terminal, decodes the fourth audio into a text, finds that the text is an encryption information acquisition response signaling, analyzes first encryption information from the signaling, calculates authentication information according to the first encryption information, and generates second encryption information;
in step 201, after obtaining the WiFi information of the WiFi hotspot selected by the user for the wireless intelligent device on the mobile terminal, before generating the WiFi information providing signaling carrying the WiFi information, the mobile terminal further includes: the mobile terminal encrypts WiFi information of the WiFi hot spot selected by the user for the wireless intelligent equipment on the mobile terminal according to the second encryption information and the authentication information;
in step 202, the mobile terminal generating the WiFi information providing signaling carrying the WiFi information includes: the mobile terminal generates WiFi information providing signaling carrying the second encrypted information, the authentication information, and the encrypted WiFi information.
Fig. 3 is a message flow chart of a network allocation method for a wireless intelligent device according to another embodiment of the present invention, which specifically includes the following steps:
step 301: the user connects the wireless intelligent device as peripheral equipment to an audio interface of the mobile terminal, selects a WiFi hot spot configured for the wireless intelligent device on the mobile terminal, selects a WiFi security type, inputs a WiFi password and the like, and the mobile terminal stores WiFi information of the WiFi hot spot and starts to monitor a microphone channel of the audio interface.
Mobile terminals such as: a mobile phone.
The audio interface of a mobile terminal needs to support the left channel, the right channel, the ground and the microphone, for example: support for OMTP (Open Mobile Terminal Platform ) standards or CTIA (Cellular Telecommunications Industry Association, american society for wireless communication and internet) standards is required.
Step 302: the user operates the wireless intelligent device to start the distribution network, the wireless intelligent device generates a distribution network starting signaling, codes the coded signaling from text to audio, sends out the encoded signaling through a microphone channel of the audio interface of the mobile terminal, and starts to monitor a left channel and a right channel of the audio interface of the mobile terminal.
Step 303: the mobile terminal monitors the audio from a microphone channel of the audio interface, decodes the audio into a text, decodes the text, finds that the network distribution starting signaling is obtained after decoding, generates an encryption information acquisition request signaling, encodes the encoded signaling into the audio from the text, and transmits the audio to the wireless intelligent device through a left channel and a right channel of the audio interface.
Step 304: the wireless intelligent equipment monitors audio on the left and right channels of the audio interface of the mobile terminal, decodes the audio into text, decodes the text, and generates and stores encryption information A when an encryption information acquisition request signaling is obtained after the decoding.
Step 305: the wireless intelligent device generates an encrypted information acquisition response signal carrying the encrypted information A, encodes the signal, encodes the encoded signal into audio by a text, and sends the audio through a microphone channel of an audio interface of the mobile terminal.
Step 306: the mobile terminal monitors the audio from a microphone channel of an audio interface of the mobile terminal, decodes the audio into a text, decodes the text, finds out that the text is decoded to obtain an encrypted information acquisition response signaling, analyzes the encrypted information A from the signaling, and calculates the authentication information according to the encrypted information A.
Step 307: the mobile terminal generates encryption information B, encrypts WiFi information of a WiFi hot spot selected by a user for the wireless intelligent equipment according to the encryption information B and the authentication information, generates WiFi information providing signaling carrying the encryption information B, the authentication information and the encrypted WiFi information, encodes the signaling, encodes the encoded signaling into audio from text, and transmits the audio to the wireless intelligent equipment through a left channel and a right channel of an audio interface of the wireless intelligent equipment.
Step 308: the wireless intelligent equipment monitors audio in the left channel and the right channel of the audio interface of the mobile terminal, decodes the audio into text, decodes the text, finds that the WiFi information is obtained after decoding to provide signaling, and analyzes the encryption information B, the authentication information and the encrypted WiFi information from the signaling.
Step 309: and the wireless intelligent equipment calculates the authentication information by adopting the encryption information A stored by the wireless intelligent equipment, and if the calculated authentication information is consistent with the authentication information sent by the mobile terminal, the encryption information B sent by the mobile terminal and the authentication information are adopted to decrypt the encrypted WiFi information, so as to obtain the WiFi information of the WiFi hot spot selected by the user for the equipment.
If the authentication information calculated by the wireless intelligent equipment is inconsistent with the authentication information sent by the mobile terminal, the wireless intelligent equipment generates a network allocation failure signaling, encodes the signaling into audio, and sends the audio through a microphone channel of an audio interface of the mobile terminal; and the mobile terminal receives the audio, decodes the audio into a text, and obtains a network allocation failure signaling after decoding, and prompts the user of network allocation failure.
Step 310: the wireless intelligent equipment is connected with a wireless network by adopting WiFi information of a WiFi hot spot selected by a user for the equipment, the connection is successful, a network allocation success signaling is generated, the signaling is encoded, the encoded signaling is encoded into audio by a text, and the audio is sent out through a microphone channel of an audio interface of the mobile terminal.
And the mobile terminal receives the audio, decodes the audio into a text, and obtains a successful network allocation signaling after decoding, and prompts the user that the network allocation is successful.
Fig. 4 is a schematic diagram of a communication model of a wireless intelligent device network configuration scheme according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a wireless intelligent device 50 according to an embodiment of the present invention, where the wireless intelligent device 50 mainly includes: an audio plug 51 and a processor 52, wherein:
an audio plug 51 for connecting to an audio interface of the mobile terminal.
A processor 52 for generating a distribution network start signaling, encoding the signaling into a first audio, and transmitting the first audio through a microphone channel of the mobile terminal audio interface; and monitoring the second audio from the left channel and the right channel of the audio interface of the mobile terminal, decoding the second audio into a text, finding that the text provides signaling for the WiFi information, analyzing the WiFi information from the signaling, and connecting to a wireless network by adopting the WiFi information.
Wherein, the second audio frequency is: after the mobile terminal monitors the first audio from the microphone channel of the audio interface of the mobile terminal, decoding the first audio into a text, finding that the text is a distribution network starting signaling, acquiring WiFi information of a WiFi hot spot selected by a user for the wireless intelligent equipment on the mobile terminal, generating a WiFi information providing signaling carrying the WiFi information, encoding the WiFi information providing signaling into a second audio, and sending the second audio out through a left channel and a right channel of the audio interface of the mobile terminal.
In practice, the processor 52 is further configured to, after sending the first audio through the microphone channel of the audio interface of the mobile terminal, before hearing the second audio from the left channel and the right channel of the audio interface of the mobile terminal: monitoring third audio from left and right channels of an audio interface of the mobile terminal, decoding the third audio into text, generating and storing first encryption information when the text is found to be an encryption information acquisition request signaling, generating an encryption information acquisition response signaling carrying the first encryption information, encoding the response signaling into fourth audio, and sending the fourth audio out through a microphone channel of the audio interface of the mobile terminal;
and, the WiFi information providing signaling further carries second encryption information and authentication information, and the WiFi information carried by the WiFi information providing signaling is encrypted WiFi information, and the processor 52 parses the WiFi information from the signaling specifically includes: analyzing the second encryption information, the authentication information and the encrypted WiFi information from the WiFi information providing signaling, calculating to obtain the authentication information by adopting the first encryption information stored by the user, and decrypting the encrypted WiFi information by adopting the second encryption information and the calculated authentication information if the calculated authentication information is consistent with the analyzed authentication information to obtain the WiFi information of the WiFi hot spot selected by the user for the equipment.
Fig. 6 is a schematic structural diagram of a mobile terminal 60 according to an embodiment of the present invention, where the mobile terminal 60 mainly includes: an audio interface 61 and a processor 62, and the audio interface 61 includes: microphone channel and left and right channels, wherein:
an audio interface 61 for connecting a wireless smart device as a peripheral device.
The processor 62 is configured to monitor the first audio from the microphone channel of the audio interface of the mobile terminal, decode the first audio into text, find that the text is a configuration network starting signaling, acquire WiFi information of a WiFi hotspot selected by the user for the wireless intelligent device on the mobile terminal, generate a WiFi information providing signaling carrying the WiFi information, encode the WiFi information providing signaling into a second audio, and send the second audio out through the left channel and the right channel of the audio interface of the mobile terminal.
Wherein, the first audio frequency is: the wireless intelligent device is encoded by the self-generated distribution network starting signaling and is sent out by the wireless intelligent device through a microphone channel of the audio interface of the mobile terminal.
In practical applications, after the processor 62 finds that the text is signaling for starting the distribution network, before acquiring WiFi information of a WiFi hotspot selected by the user for the wireless intelligent device on the mobile terminal, the processor is further configured to: generating an encryption information acquisition request signaling, encoding the signaling into third audio, and transmitting the third signaling to the wireless intelligent equipment through a left channel and a right channel of an audio interface of the mobile terminal; monitoring a fourth audio from a microphone channel of an audio interface of the mobile terminal, decoding the fourth audio into a text, finding that the text is an encryption information acquisition response signaling, analyzing first encryption information from the signaling, calculating authentication information according to the first encryption information, and generating second encryption information;
and, after acquiring the WiFi information of the WiFi hotspot selected by the user for the wireless smart device on the mobile terminal, the processor 62 is further configured to: encrypting the WiFi information of the WiFi hot spot selected by the user for the wireless intelligent equipment on the mobile terminal according to the second encryption information and the authentication information;
and, the processor 62 generates the WiFi information providing signaling carrying the WiFi information specifically for: generating WiFi information providing signaling carrying the second encrypted information, the authentication information, and the encrypted WiFi information.
The embodiment of the invention also provides a wireless intelligent equipment network distribution system, which comprises: wireless smart device 50 as described above and mobile terminal 60 as described above.
Embodiments of the present invention also provide a non-transitory computer readable storage medium storing instructions which, when executed by a processor, cause the processor to perform the steps of the method as described in any of figures 1 to 3.
Embodiments of the present invention also provide an electronic device comprising a non-transitory computer readable storage medium as described above, and the above-described processor having access to the non-transitory computer readable storage medium.
The beneficial technical effects of the embodiment of the invention are as follows:
the network allocation information is transmitted in a full duplex mode by utilizing the audio interface of the mobile terminal, so that interference caused by environmental factors is avoided, and the anti-interference performance and reliability of the network allocation information transmission are greatly improved; and the interaction of the distribution network information is automatically completed and the next step is automatically triggered, so that the complexity of participation and interaction of users is greatly reduced, and the mobile terminal only needs to be connected with a router hot spot of the mobile terminal and does not need to be connected with a wireless intelligent device hot spot, so that the state of a network card adapter is not required to be switched.
In addition, the security of the distribution network is improved by encrypting the distribution network information.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the invention.

Claims (7)

1. A wireless intelligent device network distribution method, comprising:
the wireless intelligent equipment responds to the starting network distribution operation input by a user, generates network distribution starting signaling, encodes the signaling into first audio, and sends the first audio out through a microphone channel of an audio interface of the mobile terminal, wherein the wireless intelligent equipment is used as peripheral equipment and connected to the audio interface of the mobile terminal;
after the wireless intelligent device sends the first audio, the left channel and the right channel of the audio interface of the mobile terminal are monitored,
the wireless intelligent equipment monitors third audio from a left channel and a right channel of an audio interface of the mobile terminal, decodes the third audio into text, generates and stores first encryption information when finding that the text is an encryption information acquisition request signaling, generates an encryption information acquisition response signaling carrying the first encryption information, encodes the response signaling into fourth audio, and sends the fourth audio to the mobile terminal through a microphone channel of the audio interface of the mobile terminal;
the wireless intelligent device monitors the second audio from the left channel and the right channel of the audio interface of the mobile terminal, decodes the second audio into text, finds that the text provides signaling for WiFi information, analyzes second encryption information, authentication information and encrypted WiFi information from the signaling, calculates the first authentication information by adopting the first encryption information stored by the wireless intelligent device, decrypts the encrypted WiFi information by adopting the second encryption information and the authentication information if the calculated authentication information is consistent with the analyzed authentication information, obtains the WiFi information of the WiFi hotspot selected by the user for the device, is connected to a wireless network by adopting the WiFi information,
wherein, the liquid crystal display device comprises a liquid crystal display device,
the second audio frequency is: after the mobile terminal monitors the fourth audio from the microphone channel of the audio interface of the mobile terminal, decoding the fourth audio into a text, finding that the text is an encryption information acquisition response signaling, calculating authentication information according to the first encryption information, generating second encryption information, encrypting WiFi information according to the second encryption information and the authentication information calculated by the mobile terminal, generating a WiFi information providing signaling carrying the encrypted WiFi information, the second encryption information and the authentication information calculated by the mobile terminal, encoding the WiFi information providing signaling into the second audio, and transmitting the second audio through the left channel and the right channel of the audio interface of the mobile terminal, wherein the WiFi information is obtained by the mobile terminal in response to the operation that a user selects a WiFi hot spot for the wireless intelligent equipment on the mobile terminal.
2. The method according to claim 1, wherein the calculating the authentication information using the first encryption information stored in the first device further comprises:
if the calculated authentication information is inconsistent with the analyzed authentication information, generating a network allocation failure signaling, encoding the signaling into fifth audio, and sending the fifth audio out through a microphone channel of the audio interface of the mobile terminal.
3. The method of claim 1, wherein after the wireless intelligent device generates the distribution network start signaling and before encoding the signaling into the first audio, further comprising:
the wireless intelligent equipment encodes the distribution network starting signaling;
and, said encoding the signaling into first audio comprises: encoding the encoded distribution network start signaling into a first audio;
the wireless smart device further comprises, after decoding the second audio into text, before discovering that the text provides signaling for the WiFi information:
the wireless intelligent device decodes the text;
and, the discovery of the text provides signaling for the WiFi information as follows: the decoded text is found to provide signaling for the WiFi information.
4. A wireless intelligent device network distribution method, comprising:
responding to WiFi hotspot selection operation from a user, the mobile terminal saves WiFi information of the selected WiFi hotspot, starts to monitor a microphone channel of an audio interface of the mobile terminal,
under the condition that the first audio is monitored, decoding the first audio into a text, and finding that the text is a distribution network starting signaling, acquiring WiFi information of a WiFi hot spot selected by a user for the wireless intelligent equipment on the mobile terminal, generating an encryption information acquisition request signaling, encoding the signaling into a third audio, and transmitting the third signaling to the wireless intelligent equipment through a left channel and a right channel of an audio interface of the user;
the mobile terminal monitors a fourth audio from a microphone channel of an audio interface of the mobile terminal, decodes the fourth audio into a text, finds that the text is an encryption information acquisition response signaling, analyzes first encryption information from the signaling, calculates authentication information according to the first encryption information, generates second encryption information, encrypts WiFi information according to the second encryption information and the calculated authentication information, generates a WiFi information providing signaling carrying the encrypted WiFi information, the calculated authentication information and the second encryption information, encodes the WiFi information providing signaling into second audio, and sends the second audio out through a left channel and a right channel of an audio interface of the mobile terminal, wherein the audio interface of the mobile terminal is connected with wireless intelligent equipment serving as peripheral equipment;
wherein, the first audio frequency is: the wireless intelligent device responds to the network distribution operation starting input by a user, is encoded by the network distribution start signaling generated by the wireless intelligent device and is sent out through a microphone channel of the mobile terminal audio interface.
5. A wireless smart device, the wireless smart device comprising: an audio plug and a processor, wherein:
the audio plug is used for connecting an audio interface of the mobile terminal;
the processor is used for responding to the starting distribution network operation input by a user, generating a distribution network starting signaling, encoding the signaling into first audio, and sending the first audio out through a microphone channel of the audio interface of the mobile terminal; after the first audio is sent, listening to the left channel and the right channel of the audio interface of the mobile terminal is started,
the wireless intelligent equipment monitors third audio from a left channel and a right channel of an audio interface of the mobile terminal, decodes the third audio into text, generates and stores first encryption information when finding that the text is an encryption information acquisition request signaling, generates an encryption information acquisition response signaling carrying the first encryption information, encodes the response signaling into fourth audio, and sends the fourth audio to the mobile terminal through a microphone channel of the audio interface of the mobile terminal;
the wireless intelligent device monitors the second audio frequency from the left channel and the right channel of the audio interface of the mobile terminal, decodes the second audio frequency into a text, discovers that the text provides a signaling for WiFi information, analyzes second encryption information, authentication information and encrypted WiFi information from the signaling, calculates the first authentication information by adopting the first encryption information stored by the wireless intelligent device, decrypts the encrypted WiFi information by adopting the second encryption information and the authentication information obtained by calculation if the authentication information obtained by calculation is consistent with the authentication information obtained by analysis, obtains the WiFi information of the WiFi hot spot selected by a user for the device, is connected to a wireless network by adopting the WiFi information,
wherein, the liquid crystal display device comprises a liquid crystal display device,
the second audio frequency is: after the mobile terminal monitors the fourth audio from the microphone channel of the audio interface of the mobile terminal, decoding the fourth audio into a text, finding that the text is an encryption information acquisition response signaling, calculating authentication information according to the first encryption information, generating second encryption information, encrypting WiFi information according to the second encryption information and the authentication information calculated by the mobile terminal, generating a WiFi information providing signaling carrying the encrypted WiFi information, the second encryption information and the authentication information calculated by the mobile terminal, encoding the WiFi information providing signaling into the second audio, and transmitting the second audio through the left channel and the right channel of the audio interface of the mobile terminal, wherein the WiFi information is obtained by the mobile terminal in response to the operation that a user selects a WiFi hot spot for the wireless intelligent equipment on the mobile terminal.
6. A mobile terminal, comprising: an audio interface and a processor, and the audio interface comprises: microphone channel and left and right channels, wherein:
the audio interface is used for connecting the wireless intelligent equipment serving as the peripheral equipment;
the processor is used for responding to WiFi hotspot selection operation from a user, storing WiFi information of the selected WiFi hotspot, starting to monitor a microphone channel of an audio interface of the mobile terminal, decoding the first audio into a text under the condition of hearing the first audio, acquiring the WiFi information of the WiFi hotspot selected by the user for the wireless intelligent equipment on the mobile terminal when the text is found to be a distribution network starting signaling, generating an encryption information acquisition request signaling, encoding the signaling into a third audio, and transmitting the third signaling to the wireless intelligent equipment through a left channel and a right channel of the audio interface of the third signaling;
monitoring a fourth audio from a microphone channel of an audio interface of the mobile terminal, decoding the fourth audio into a text, finding the text as an encryption information acquisition response signaling, analyzing first encryption information from the signaling, calculating authentication information according to the first encryption information, generating second encryption information, encrypting WiFi information according to the second encryption information and the calculated authentication information, generating a WiFi information providing signaling carrying the encrypted WiFi information, the calculated authentication information and the second encryption information, encoding the WiFi information providing signaling into second audio, transmitting the second audio through a left channel and a right channel of the audio interface of the mobile terminal,
wherein, the first audio frequency is: the wireless intelligent device responds to the network distribution operation starting input by a user, is encoded by the network distribution start signaling generated by the wireless intelligent device and is sent out through a microphone channel of the mobile terminal audio interface.
7. A wireless intelligent device distribution network system, the system comprising: a wireless smart device as claimed in claim 5, and a mobile terminal as claimed in claim 6.
CN201910529677.7A 2019-06-19 2019-06-19 Network distribution method and system for wireless intelligent equipment Active CN112118610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910529677.7A CN112118610B (en) 2019-06-19 2019-06-19 Network distribution method and system for wireless intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910529677.7A CN112118610B (en) 2019-06-19 2019-06-19 Network distribution method and system for wireless intelligent equipment

Publications (2)

Publication Number Publication Date
CN112118610A CN112118610A (en) 2020-12-22
CN112118610B true CN112118610B (en) 2023-08-22

Family

ID=73796733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910529677.7A Active CN112118610B (en) 2019-06-19 2019-06-19 Network distribution method and system for wireless intelligent equipment

Country Status (1)

Country Link
CN (1) CN112118610B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660732B (en) * 2021-10-20 2022-03-01 翱捷科技(深圳)有限公司 Earphone communication method and system and earphone

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096306A (en) * 2012-12-26 2013-05-08 宋少鹏 Audio playing method and system
CN104602364A (en) * 2014-12-31 2015-05-06 歌尔声学股份有限公司 Method for connecting wireless device to wireless access point and wireless device, intelligent terminal
CN104618988A (en) * 2015-01-21 2015-05-13 青岛海尔智能家电科技有限公司 Smart device network access method and device
CN105101466A (en) * 2015-06-30 2015-11-25 广东美的制冷设备有限公司 Wireless network configuration method and wireless network configuration system
WO2015192309A1 (en) * 2014-06-17 2015-12-23 21 Vianet Group, Inc. Configuring over-the-top devices with sound waves
CN106131843A (en) * 2016-06-30 2016-11-16 珠海市魅族科技有限公司 A kind of WIFI method of attachment based on AUX interface
WO2017096843A1 (en) * 2015-12-10 2017-06-15 乐视控股(北京)有限公司 Headset device control method and device
CN108882208A (en) * 2018-05-25 2018-11-23 四川斐讯全智信息技术有限公司 A kind of quick networking method of smart machine based on audio data and system
CN108901056A (en) * 2018-06-21 2018-11-27 百度在线网络技术(北京)有限公司 Method and apparatus for interactive information
CN108962239A (en) * 2018-06-08 2018-12-07 四川斐讯信息技术有限公司 A kind of quick distribution method and system based on voice masking
CN109714782A (en) * 2017-10-26 2019-05-03 阿里巴巴集团控股有限公司 Method, apparatus and electronic equipment for smart machine distribution

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8284713B2 (en) * 2006-02-10 2012-10-09 Cisco Technology, Inc. Wireless audio systems and related methods
US20160165343A1 (en) * 2014-12-04 2016-06-09 Jazz Hipster Corporation Wireless connection and control method for wireless sound box and system thereof
CN105873047A (en) * 2015-10-21 2016-08-17 乐卡汽车智能科技(北京)有限公司 Wireless local area network user authentication method and system, and terminal device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096306A (en) * 2012-12-26 2013-05-08 宋少鹏 Audio playing method and system
WO2015192309A1 (en) * 2014-06-17 2015-12-23 21 Vianet Group, Inc. Configuring over-the-top devices with sound waves
CN104602364A (en) * 2014-12-31 2015-05-06 歌尔声学股份有限公司 Method for connecting wireless device to wireless access point and wireless device, intelligent terminal
CN104618988A (en) * 2015-01-21 2015-05-13 青岛海尔智能家电科技有限公司 Smart device network access method and device
CN105101466A (en) * 2015-06-30 2015-11-25 广东美的制冷设备有限公司 Wireless network configuration method and wireless network configuration system
WO2017096843A1 (en) * 2015-12-10 2017-06-15 乐视控股(北京)有限公司 Headset device control method and device
CN106131843A (en) * 2016-06-30 2016-11-16 珠海市魅族科技有限公司 A kind of WIFI method of attachment based on AUX interface
CN109714782A (en) * 2017-10-26 2019-05-03 阿里巴巴集团控股有限公司 Method, apparatus and electronic equipment for smart machine distribution
CN108882208A (en) * 2018-05-25 2018-11-23 四川斐讯全智信息技术有限公司 A kind of quick networking method of smart machine based on audio data and system
CN108962239A (en) * 2018-06-08 2018-12-07 四川斐讯信息技术有限公司 A kind of quick distribution method and system based on voice masking
CN108901056A (en) * 2018-06-21 2018-11-27 百度在线网络技术(北京)有限公司 Method and apparatus for interactive information

Also Published As

Publication number Publication date
CN112118610A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN106535288B (en) Method for sending and acquiring wifi networking information and corresponding device
US8494164B2 (en) Method for connecting wireless communications, wireless communications terminal and wireless communications system
CN104618988A (en) Smart device network access method and device
EP2860889A1 (en) Broadcast switching device and method, and terminal
JP5739006B2 (en) Method and apparatus for sending and receiving secure and non-secure data
CN104066152A (en) System and method for enabling devices to have access to wireless network
CN104768153A (en) Method for sending and receiving network configuration information, and wifi terminal thereof
WO2023160212A1 (en) Connection establishment method and apparatus, device, storage medium, and program product
CN111526503B (en) Authentication method and system for GEO satellite Internet of things
CN106550362B (en) Method and system for safely accessing intelligent equipment to wireless local area network
JP2014502461A5 (en) Method and apparatus for sending and receiving secure and non-secure data
CN112118610B (en) Network distribution method and system for wireless intelligent equipment
CN111479263A (en) Communication connection method, terminal and computer storage medium
CN105049327A (en) Touch vibration instant messaging method and system
CN115002734A (en) Audio sharing method, device and system and readable storage medium
CN110719573B (en) Information transmission method and device, terminal equipment and storage medium
CN113115153B (en) Processing method, Bluetooth headset and management platform
US20100322103A1 (en) Method and Network for Implementing Computer Voice Communication Based on Wireless Communication Terminal
CN202602900U (en) Encryption and decryption device and satellite communication terminal and satellite communication system
CN111246470B (en) Intelligent sound box system and method based on hybrid cloud encryption
CN116506842B (en) Method, terminal, system and related equipment for reporting capability information of user identification card
CN111770588B (en) Method and system for quickly establishing wireless connection with wireless router
CN109982317B (en) Voice encryption and decryption system and method based on CDMA network
CN113709719B (en) Access method, base station and access functional entity
CN113225722B (en) Data transmission method, system, chip, electronic device and storage medium

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