CN112118610A - Wireless intelligent device network distribution method and system - Google Patents
Wireless intelligent device network distribution method and system Download PDFInfo
- Publication number
- CN112118610A CN112118610A CN201910529677.7A CN201910529677A CN112118610A CN 112118610 A CN112118610 A CN 112118610A CN 201910529677 A CN201910529677 A CN 201910529677A CN 112118610 A CN112118610 A CN 112118610A
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000011664 signaling Effects 0.000 claims abstract description 168
- 230000002093 peripheral effect Effects 0.000 claims abstract description 12
- 238000012544 monitoring process Methods 0.000 claims description 17
- 230000004044 response Effects 0.000 claims description 14
- 230000008569 process Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000007613 environmental effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B11/00—Transmission systems employing sonic, ultrasonic or infrasonic waves
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a network distribution method and system for wireless intelligent equipment. The method comprises the following steps: the method comprises the steps that a wireless intelligent device generates a distribution network starting signaling, encodes the signaling into a first audio frequency, and sends the first audio frequency out through a microphone channel of an audio interface of a mobile terminal, wherein the wireless intelligent device is used as a peripheral device and connected to the audio interface of the mobile terminal; the wireless intelligent equipment monitors a second audio from a left channel and a right channel of the mobile terminal audio interface, decodes the second audio into a text, finds that the text provides a signaling for the WiFi information, analyzes the WiFi information from the signaling, and adopts the WiFi information to connect to a wireless network. The embodiment of the invention improves the anti-interference performance and reliability of the wireless intelligent device in the network distribution process.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a network distribution method and system for wireless intelligent equipment, the wireless intelligent equipment and a mobile terminal.
Background
The internet of things is a network which enables all common physical objects which can be independently addressed to realize interconnection and intercommunication based on information carriers such as the internet, a traditional telecommunication network and the like.
At present, there are various schemes for a network distribution of wireless intelligent devices in the internet of things, and the typical schemes are as follows:
firstly, generating a two-dimensional code from WiFi (Wireless Fidelity) information of a router, and establishing connection between Wireless intelligent equipment and the router by scanning the two-dimensional code;
secondly, through the mobile terminal such as: the mobile phone encodes WiFi information into sound waves and transmits the sound waves to the wireless intelligent equipment;
thirdly, the mobile terminal is as follows: after establishing connection between the mobile phone and the wireless intelligent device hotspot, transmitting WiFi information to the wireless intelligent device;
fourthly, the mobile terminal comprises: the mobile phone transmits the WiFi information to the router in a broadcast or multicast message sending mode, and the WiFi information is forwarded to the wireless intelligent device by the router.
The above solutions all have certain limitations. Wherein:
the modes of the two-dimensional code and the sound wave are greatly influenced by environmental factors;
the mobile terminal is connected with the hot spot of the wireless intelligent device, because the mobile terminal needs to be switched from the originally connected router hot spot of the mobile terminal to the hot spot of the wireless intelligent device, WiFi information of the hot spot of the wireless intelligent device is sent to the wireless intelligent device, and then the connection with the hot spot of the router of the mobile terminal is switched back, the interaction of a human-computer interface is complex, and the mobile terminal needs to switch the state of a network card adapter for many times, namely, the mobile terminal is switched from an STA (wireless station) mode to an AP (Access Point) mode and then switched back to the STA mode;
the broadcast and multicast modes are greatly affected by the router type number because: some manufacturers' routers do not support broadcasting and multicasting 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, a wireless intelligent device and a mobile terminal, so as to improve the anti-interference performance and reliability of the wireless intelligent device in the network distribution process.
The technical scheme of the embodiment of the invention is realized as follows:
a network distribution method for wireless intelligent equipment comprises the following steps:
the method comprises the steps that a wireless intelligent device generates a distribution network starting signaling, encodes the signaling into a first audio frequency, and sends the first audio frequency out through a microphone channel of an audio interface of a mobile terminal, wherein the wireless intelligent device is used as a peripheral device and connected to the audio interface of the mobile terminal;
the wireless intelligent equipment monitors a second audio from a left channel and a right channel of the mobile terminal audio interface, decodes the second audio into a text, finds the text to provide a signaling for the WiFi information, analyzes the WiFi information from the signaling, adopts the WiFi information to connect to a wireless network,
wherein the second audio is: the mobile terminal decodes the first audio into a text after monitoring the first audio from a microphone channel of an audio interface of the mobile terminal, and if the text is found to be a distribution network starting signaling, obtains WiFi information of a WiFi hotspot selected by a user for the wireless intelligent device on the mobile terminal, generates a WiFi information providing signaling carrying the WiFi information, codes the WiFi information providing signaling into a second audio, and sends the second audio through a left channel and a right channel of the audio interface of the mobile terminal.
A network distribution method for wireless intelligent equipment comprises the following steps:
the method comprises the steps that a 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, finds that the text is a distribution network starting signaling, acquires WiFi information of a WiFi hotspot selected by a user for wireless intelligent equipment on the mobile terminal, generates a WiFi information providing signaling carrying the WiFi information, codes 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 is: the wireless intelligent device is coded by a distribution network starting signaling generated by the wireless intelligent device, and the wireless intelligent device sends the signal out through a microphone channel of an audio interface of the mobile terminal.
A 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 an audio interface of the mobile terminal; monitoring a second audio from a left channel and a right channel of an audio interface of the mobile terminal, decoding the second audio into a text, finding the text to provide signaling for the WiFi information, analyzing the WiFi information from the signaling, connecting to a wireless network by using the WiFi information,
wherein the second audio is: the mobile terminal decodes the first audio into a text after monitoring the first audio from a microphone channel of an audio interface of the mobile terminal, and if the text is found to be a distribution network starting signaling, obtains WiFi information of a WiFi hotspot selected by a user for the wireless intelligent device on the mobile terminal, generates a WiFi information providing signaling carrying the WiFi information, codes the WiFi information providing signaling into a second audio, and sends the second audio through a left channel and a right channel of the audio interface of the mobile terminal.
A mobile terminal, comprising: audio interface and treater, and, audio interface includes: microphone channel and left and right channels, wherein:
the audio interface is used for connecting the wireless intelligent equipment serving as peripheral equipment;
the processor is used for monitoring a first audio from a microphone channel of an 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 hotspot selected by a user for the wireless intelligent device 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,
wherein the first audio is: the wireless intelligent device is coded by a distribution network starting signaling generated by the wireless intelligent device, and the wireless intelligent device sends the signal out through a microphone channel of an audio interface of the mobile terminal.
A wireless intelligent device distribution network system comprises: a wireless smart device as claimed in any preceding claim, and a mobile terminal as claimed in any preceding claim.
The embodiment of the invention carries out full-duplex transmission of the distribution network information by utilizing the audio interface of the mobile terminal, avoids the interference caused by environmental factors, and greatly improves the anti-interference performance and reliability of the distribution network information transmission; and the interaction of the distribution network information is automatically completed and the next step is automatically triggered, so that the participation and interaction complexity of users is greatly reduced, and the mobile terminal only needs to be connected with a router hotspot of the mobile terminal and does not need to be connected with a wireless intelligent device hotspot, so that the state of the network card adapter does not need to be switched.
Drawings
Fig. 1 is a flowchart of a network distribution method for a wireless intelligent device according to an embodiment of the present invention;
fig. 2 is a flowchart of a network distribution method for a wireless intelligent device according to another embodiment of the present invention;
fig. 3 is a message flow diagram of a network distribution method for a wireless intelligent device according to another embodiment of the present invention;
fig. 4 is a schematic communication model diagram of a distribution network scheme of a wireless intelligent device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a wireless smart 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 present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
For convenience 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 the ciphertext content which is difficult to read, so that the ciphertext content is unreadable.
A human-computer interface: interface of the system to interact with the user.
Peripheral equipment: the hardware device can be connected with a mobile terminal through an interface on the mobile terminal (such as a mobile phone), and plays the roles of transmitting, transferring and storing data and information, wherein the mobile terminal is a host.
Fig. 1 is a flowchart of a network distribution method for wireless intelligent devices according to an embodiment of the present invention, which includes the following specific steps:
step 101: the wireless intelligent device generates a distribution network starting signaling, encodes the signaling into first audio and sends the first audio through a microphone channel of the mobile terminal audio interface, wherein the wireless intelligent device is used as a peripheral device and connected to the audio interface of the mobile terminal.
Step 102: the wireless intelligent equipment monitors a second audio from a left channel and a right channel of the mobile terminal audio interface, decodes the second audio into a text, finds that the text provides a signaling for the WiFi information, analyzes the WiFi information from the signaling, and adopts the WiFi information to connect to a wireless network.
Wherein the second audio is: the mobile terminal decodes the first audio into a text after monitoring the first audio from a microphone channel of an audio interface of the mobile terminal, and if the text is found to be a distribution network starting signaling, obtains WiFi information of a WiFi hotspot selected by a user for the wireless intelligent device on the mobile terminal, generates a WiFi information providing signaling carrying the WiFi information, codes the WiFi information providing signaling into a second audio, and sends the second audio through a left channel and a right channel of the audio interface of the mobile terminal.
In practical applications, the method further includes between step 101 and step 102: the wireless intelligent equipment monitors a third audio from a left channel and a right channel of the mobile terminal audio interface, decodes the third audio into a text, generates and stores first encrypted information if the text is found to be an encrypted information acquisition request signaling, generates an encrypted information acquisition response signaling carrying the first encrypted information, encodes the response signaling into a fourth audio, and sends the fourth audio through a microphone channel of the mobile terminal audio interface;
moreover, 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 analyzes the WiFi information from the signaling and specifically includes: the wireless intelligent equipment analyzes second encryption information, authentication information and encrypted WiFi information from the WiFi information providing signaling, the authentication information is obtained by adopting the first encryption information stored by the wireless intelligent equipment, and if the authentication information obtained by calculation is consistent with the analyzed authentication information, the encrypted WiFi information is decrypted by adopting the second encryption information and the authentication information obtained by calculation, so that WiFi information of a WiFi hotspot selected by a user for the equipment is obtained.
In addition, in practical application, after the wireless intelligent device calculates the authentication information by using the first encryption information stored in the wireless intelligent device, the method further includes: and if the calculated authentication information is inconsistent with the analyzed authentication information, generating a distribution network failure signaling, encoding the signaling into a fifth audio, and sending the fifth audio through a microphone channel of the audio interface of the mobile terminal.
Fig. 2 is a flowchart of a network distribution method for wireless intelligent devices according to another embodiment of the present invention, which includes the following specific steps:
step 201: 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 hotspot selected by a user for the wireless intelligent device on the mobile terminal if the text is found to be a distribution network starting signaling, wherein the audio interface of the mobile terminal is connected with the wireless intelligent device serving as a peripheral device.
Step 202: the mobile terminal generates a WiFi information providing signaling carrying the WiFi information, codes 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 is: the wireless intelligent device is coded by a distribution network starting signaling generated by the wireless intelligent device, and the wireless intelligent device sends the signal out through a microphone channel of an audio interface of the mobile terminal.
In practical application, in step 201, after the mobile terminal finds that the text is a distribution network start signaling, before acquiring WiFi information of a WiFi hotspot selected by a user for a wireless intelligent device on the mobile terminal, the method further includes: the mobile terminal generates an encrypted information acquisition request signaling, encodes the signaling into a third audio frequency, and sends the third signaling to the wireless intelligent equipment through a left channel and a right channel of an audio interface of the mobile terminal; 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 the text as encryption information to obtain a 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 acquiring the WiFi information of the WiFi hotspot selected by the user for the wireless intelligent device on the mobile terminal, the mobile terminal generates a WiFi information providing signaling carrying the WiFi information, which further includes: the mobile terminal encrypts WiFi information of a WiFi hotspot 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 generating, by the mobile terminal, a WiFi information providing signaling carrying the WiFi information includes: and the mobile terminal generates a WiFi information providing signaling carrying the second encryption information, the authentication information and the encrypted WiFi information.
Fig. 3 is a message flow chart of a network distribution method for a wireless intelligent device according to another embodiment of the present invention, which includes the following specific steps:
step 301: the user connects the wireless intelligent device to the audio interface of the mobile terminal as a peripheral device, selects a WiFi hotspot configured for the wireless intelligent device on the mobile terminal, selects the security type of WiFi and inputs a WiFi password and the like, and the mobile terminal stores WiFi information of the WiFi hotspot and starts to monitor a microphone channel of the audio interface of the mobile terminal.
The mobile terminal comprises the following components: provided is a mobile phone.
The audio interface of the mobile terminal needs to support a left channel, a right channel, a ground line and a microphone, for example: it is required to support an OMTP (Open Mobile Terminal Platform) standard or a CTIA (Cellular Telecommunications Industry Association) standard.
Step 302: the user operates the wireless intelligent device to start the distribution network, the wireless intelligent device generates a distribution network starting signaling and codes the signaling, the coded signaling is coded into audio by a text and then is sent out through a microphone channel of the audio interface of the mobile terminal, and simultaneously, the monitoring of the left channel and the right channel of the audio interface of the mobile terminal is started.
Step 303: the mobile terminal monitors audio from a microphone channel of an audio interface of the mobile terminal, decodes the audio into a text, decodes the text, finds out a distribution network starting signaling after decoding, generates an encrypted information acquisition request signaling, codes the coded signaling into the audio from the text, and then sends the audio to the wireless intelligent equipment through a left channel and a right channel of the audio interface of the mobile terminal.
Step 304: the wireless intelligent equipment monitors the audio frequency on the left and right sound channels of the audio interface of the mobile terminal, decodes the audio frequency into a text, decodes the text, obtains an encrypted information acquisition request signaling after finding out the decoding, and generates and stores encrypted information A.
Step 305: the wireless intelligent equipment generates an encrypted information acquisition response signaling carrying the encrypted information A, encodes the signaling, encodes the encoded signaling into audio by a text, and then 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 decoded text obtains an encrypted information acquisition response signaling, analyzes encrypted information A from the signaling, and calculates to obtain authentication information according to the encrypted information A.
Step 307: the mobile terminal generates encryption information B, encrypts WiFi information of WiFi hotspots selected by a user for the wireless intelligent equipment according to the encryption information B and the authentication information, generates WiFi information carrying the encryption information B, the authentication information and the encrypted WiFi information to provide a signaling, codes the coded signaling into audio by a text, and then sends the audio to the wireless intelligent equipment through a left channel and a right channel of an audio interface of the mobile terminal.
Step 308: the method comprises the steps that the wireless intelligent equipment monitors audio frequencies on a left channel and a right channel of an audio interface of the mobile terminal, the audio frequencies are decoded into texts, the texts are decoded, WiFi information providing signaling is obtained after decoding is found, and then encryption information B, authentication information and encryption WiFi information are analyzed from the signaling.
Step 309: the wireless intelligent device calculates and obtains authentication information by adopting the encryption information A stored by the wireless intelligent device, 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 that the WiFi information of the WiFi hotspot selected by the user for the wireless intelligent device is obtained.
If the authentication information obtained by the calculation of the wireless intelligent equipment is inconsistent with the authentication information sent by the mobile terminal, the wireless intelligent equipment generates a distribution network failure signaling, codes the signaling and then codes 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 distribution network failure signaling after decoding, and then prompts a user that the distribution network fails.
Step 310: the wireless intelligent device adopts WiFi information of WiFi hotspots selected by a user for the device to connect a wireless network, the connection is successful, a distribution network success signaling is generated, the signaling is encoded, the encoded signaling is encoded into audio frequency by a text, and then the audio frequency 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 distribution network signaling after decoding, and then prompts a user that the distribution network is successful.
Fig. 4 is a schematic communication model diagram of a distribution network scheme of a wireless intelligent device 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:
and the audio plug 51 is used for connecting an audio interface of the mobile terminal.
The processor 52 is configured to generate a distribution network start signaling, encode the signaling into a first audio, and send the first audio through a microphone channel of the audio interface of the mobile terminal; and monitoring a second audio from a left channel and a right channel of an audio interface of the mobile terminal, decoding the second audio into a text, finding that the text provides a 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 is: the mobile terminal decodes the first audio into a text after monitoring the first audio from a microphone channel of an audio interface of the mobile terminal, and if the text is found to be a distribution network starting signaling, obtains WiFi information of a WiFi hotspot selected by a user for the wireless intelligent device on the mobile terminal, generates a WiFi information providing signaling carrying the WiFi information, codes the WiFi information providing signaling into a second audio, and sends the second audio through a left channel and a right channel of the audio interface of the mobile terminal.
In practical applications, after the processor 52 sends the first audio out through the microphone channel of the audio interface of the mobile terminal, the processor is further configured to: monitoring a third audio from a left channel and a right channel of an audio interface of the mobile terminal, decoding the third audio into a text, generating and storing first encryption information if 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 a fourth audio, and sending the fourth audio through a microphone channel of the audio interface of the mobile terminal;
moreover, 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 specifically analyzes the WiFi information from the signaling, including: and if the calculated authentication information is consistent with the analyzed authentication information, the encrypted WiFi information is decrypted by adopting the second encryption information and the calculated authentication information, so that the WiFi information of the WiFi hotspot selected by the user for the equipment is obtained.
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:
and the audio interface 61 is used for connecting the wireless intelligent equipment serving as the peripheral equipment.
The processor 62 is configured to monitor a first audio from a microphone channel of an audio interface of the mobile terminal, decode the first audio into a text, find that the text is a distribution network start signaling, acquire WiFi information of a WiFi hotspot selected by a user on the mobile terminal for the wireless smart device, 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 through a left channel and a right channel of the audio interface of the mobile terminal.
Wherein the first audio is: the wireless intelligent device is coded by a distribution network starting signaling generated by the wireless intelligent device, and the wireless intelligent device sends the signal out through a microphone channel of an audio interface of the mobile terminal.
In practical applications, after finding that the text is a distribution network start signaling and before acquiring the WiFi information of the WiFi hotspot selected by the user for the wireless intelligent device on the mobile terminal, the processor 62 is further configured to: generating an encrypted information acquisition request signaling, encoding the signaling into a third audio, and sending 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 the text as encrypted information to obtain a response signaling, analyzing first encrypted information from the signaling, calculating authentication information according to the first encrypted information, and generating second encrypted information;
moreover, after the processor 62 obtains the WiFi information of the WiFi hotspot selected by the user for the wireless intelligent device on the mobile terminal, the processor further performs the following steps of: 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, which is specifically used for: and generating WiFi information providing signaling carrying the second encryption information, the authentication information and the encrypted WiFi information.
The embodiment of the invention also provides a network distribution system of the wireless intelligent device, which comprises: a wireless smart device 50 as described above and a mobile terminal 60 as described above.
Embodiments of the invention also provide a non-transitory computer readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the steps of the method as described in any of fig. 1-3.
Embodiments of the present invention also provide an electronic device, including the non-transitory computer readable storage medium as described above, and the above processor having access to the non-transitory computer readable storage medium.
The embodiment of the invention has the following beneficial technical effects:
the audio interface of the mobile terminal is used for full-duplex transmission of the distribution network information, so that interference caused by environmental factors is avoided, and the anti-interference performance and reliability of the distribution network 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 participation and interaction complexity of users is greatly reduced, and the mobile terminal only needs to be connected with a router hotspot of the mobile terminal and does not need to be connected with a wireless intelligent device hotspot, so that the state of the network card adapter does not need to be switched.
In addition, the security of the distribution network is improved by encrypting the distribution network information.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (11)
1. A network distribution method for wireless intelligent equipment is characterized by comprising the following steps:
the method comprises the steps that a wireless intelligent device generates a distribution network starting signaling, encodes the signaling into a first audio frequency, and sends the first audio frequency out through a microphone channel of an audio interface of a mobile terminal, wherein the wireless intelligent device is used as a peripheral device and connected to the audio interface of the mobile terminal;
the wireless intelligent equipment monitors a second audio from a left channel and a right channel of the mobile terminal audio interface, decodes the second audio into a text, finds the text to provide a signaling for the WiFi information, analyzes the WiFi information from the signaling, adopts the WiFi information to connect to a wireless network,
wherein the second audio is: the mobile terminal decodes the first audio into a text after monitoring the first audio from a microphone channel of an audio interface of the mobile terminal, and if the text is found to be a distribution network starting signaling, obtains WiFi information of a WiFi hotspot selected by a user for the wireless intelligent device on the mobile terminal, generates a WiFi information providing signaling carrying the WiFi information, codes the WiFi information providing signaling into a second audio, and sends the second audio through a left channel and a right channel of the audio interface of the mobile terminal.
2. The method of claim 1, wherein monitoring the second audio from the left channel and the right channel of the mobile terminal audio interface after the wireless smart device sends the first audio out through the microphone channel of the mobile terminal audio interface further comprises:
the wireless intelligent equipment monitors a third audio from a left channel and a right channel of the mobile terminal audio interface, decodes the third audio into a text, generates and stores first encrypted information if the text is found to be an encrypted information acquisition request signaling, generates an encrypted information acquisition response signaling carrying the first encrypted information, encodes the response signaling into a fourth audio, and sends the fourth audio through a microphone channel of the mobile terminal audio interface;
and, the WiFi information provides signaling further carries second encryption information and authentication information, and the WiFi information that the WiFi information provides signaling carries is encryption WiFi information, and, the wireless smart device specifically includes from this signaling resolving out WiFi information:
the wireless intelligent equipment analyzes second encryption information, authentication information and encrypted WiFi information from the WiFi information providing signaling, the authentication information is obtained by calculation through the first encryption information stored in the wireless intelligent equipment, and if the authentication information obtained by calculation is consistent with the analyzed authentication information, the encrypted WiFi information is decrypted through the second encryption information and the authentication information obtained by calculation, so that the WiFi information of the WiFi hotspot selected by the user for the equipment is obtained.
3. The method of claim 2, wherein after calculating the authentication information using the self-stored first encryption information, further comprising:
and if the calculated authentication information is inconsistent with the analyzed authentication information, generating a distribution network failure signaling, encoding the signaling into a fifth audio, and sending the fifth audio through a microphone channel of the audio interface of the mobile terminal.
4. The method of claim 1, wherein after the wireless smart 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 the first audio comprises: encoding the encoded distribution network start signaling into first audio;
after the wireless smart device decodes the second audio into text, and before discovering that the text provides signaling for the WiFi information, further comprising:
the wireless intelligent device decodes the text;
and, the signaling for finding that the text provides the WiFi information is: the decoded text is found to provide signaling for WiFi information.
5. A network distribution method for wireless intelligent equipment is characterized by comprising the following steps:
the method comprises the steps that a 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, finds that the text is a distribution network starting signaling, acquires WiFi information of a WiFi hotspot selected by a user for wireless intelligent equipment on the mobile terminal, generates a WiFi information providing signaling carrying the WiFi information, codes 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 is: the wireless intelligent device is coded by a distribution network starting signaling generated by the wireless intelligent device, and the wireless intelligent device sends the signal out through a microphone channel of an audio interface of the mobile terminal.
6. The method of claim 5, wherein after the mobile terminal finds that the text is a distribution network start signaling, before acquiring WiFi information of a WiFi hotspot selected by a user for the wireless smart device on the mobile terminal, further comprising:
the mobile terminal generates an encrypted information acquisition request signaling, encodes the signaling into a third audio frequency, and sends the third signaling to the wireless intelligent equipment through a left channel and a right channel of an audio interface of the mobile terminal; 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 the text as encryption information to obtain a response signaling, analyzes first encryption information from the signaling, calculates authentication information according to the first encryption information, and generates second encryption information;
and after the mobile terminal acquires the WiFi information of the WiFi hotspot selected by the user for the wireless intelligent device on the mobile terminal, generating a WiFi information providing signaling carrying the WiFi information, further comprising:
the mobile terminal encrypts WiFi information of a WiFi hotspot 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 mobile terminal generating the WiFi information providing signaling carrying the WiFi information includes:
and the mobile terminal generates a WiFi information providing signaling carrying second encryption information, the authentication information and the encrypted WiFi information.
7. 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 an audio interface of the mobile terminal; monitoring a second audio from a left channel and a right channel of an audio interface of the mobile terminal, decoding the second audio into a text, finding the text to provide signaling for the WiFi information, analyzing the WiFi information from the signaling, connecting to a wireless network by using the WiFi information,
wherein the second audio is: the mobile terminal decodes the first audio into a text after monitoring the first audio from a microphone channel of an audio interface of the mobile terminal, and if the text is found to be a distribution network starting signaling, obtains WiFi information of a WiFi hotspot selected by a user for the wireless intelligent device on the mobile terminal, generates a WiFi information providing signaling carrying the WiFi information, codes the WiFi information providing signaling into a second audio, and sends the second audio through a left channel and a right channel of the audio interface of the mobile terminal.
8. The wireless smart device of claim 7, wherein the processor, after sending the first audio out through the microphone channel of the mobile terminal audio interface, prior to listening to the second audio from the left channel and the right channel of the mobile terminal audio interface, is further configured to:
monitoring a third audio from a left channel and a right channel of an audio interface of the mobile terminal, decoding the third audio into a text, generating and storing first encryption information if 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 a fourth audio, and sending the fourth audio through a microphone channel of the audio interface of the mobile terminal;
and, the WiFi information provides signaling further carries second encryption information and authentication information, and the WiFi information that the WiFi information provides signaling carries is encryption WiFi information, and the processor analyzes the WiFi information from this signaling specifically includes:
and if the calculated authentication information is consistent with the analyzed authentication information, the encrypted WiFi information is decrypted by adopting the second encryption information and the calculated authentication information, so that the WiFi information of the WiFi hotspot selected by the user for the equipment is obtained.
9. A mobile terminal, comprising: audio interface and treater, and, audio interface includes: microphone channel and left and right channels, wherein:
the audio interface is used for connecting the wireless intelligent equipment serving as peripheral equipment;
the processor is used for monitoring a first audio from a microphone channel of an 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 hotspot selected by a user for the wireless intelligent device 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,
wherein the first audio is: the wireless intelligent device is coded by a distribution network starting signaling generated by the wireless intelligent device, and the wireless intelligent device sends the signal out through a microphone channel of an audio interface of the mobile terminal.
10. The mobile terminal of claim 9, wherein the processor is further configured to, after discovering that the text is the distribution network start signaling and before acquiring WiFi information of a WiFi hotspot selected by the user for the wireless smart device on the mobile terminal:
generating an encrypted information acquisition request signaling, encoding the signaling into a third audio, and sending 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 the text as encrypted information to obtain a response signaling, analyzing first encrypted information from the signaling, calculating authentication information according to the first encrypted information, and generating second encrypted information;
and after the processor acquires the WiFi information of the WiFi hotspot selected by the user for the wireless intelligent device on the mobile terminal, the processor generates WiFi information providing signaling carrying the WiFi information, and the signaling is further used for:
encrypting WiFi information of a WiFi hotspot selected by a user for the wireless intelligent equipment on the mobile terminal according to the second encryption information and the authentication information;
and, the processor generates a WiFi information providing signaling carrying the WiFi information, specifically for:
and generating a WiFi information providing signaling carrying second encryption information, the authentication information and the encrypted WiFi information.
11. A wireless intelligent device distribution network system is characterized by comprising: a wireless smart device as claimed in any one of claims 7 to 8, and a mobile terminal as claimed in any one of claims 9 to 10.
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 true CN112118610A (en) | 2020-12-22 |
CN112118610B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113660732A (en) * | 2021-10-20 | 2021-11-16 | 翱捷科技(深圳)有限公司 | Earphone communication method and system and earphone |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070189202A1 (en) * | 2006-02-10 | 2007-08-16 | Rajiv Asati | Wireless audio systems and related methods |
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 |
US20160165343A1 (en) * | 2014-12-04 | 2016-06-09 | Jazz Hipster Corporation | Wireless connection and control method for wireless sound box and system thereof |
CN106131843A (en) * | 2016-06-30 | 2016-11-16 | 珠海市魅族科技有限公司 | A kind of WIFI method of attachment based on AUX interface |
US20170118188A1 (en) * | 2015-10-21 | 2017-04-27 | Leauto Intelligent Technology (Beijing) Co. Ltd | Method and system for authenticating user in wireless local area network and terminal device |
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 |
-
2019
- 2019-06-19 CN CN201910529677.7A patent/CN112118610B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070189202A1 (en) * | 2006-02-10 | 2007-08-16 | Rajiv Asati | Wireless audio systems and related methods |
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 |
US20160165343A1 (en) * | 2014-12-04 | 2016-06-09 | Jazz Hipster Corporation | Wireless connection and control method for wireless sound box and system thereof |
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 |
US20170118188A1 (en) * | 2015-10-21 | 2017-04-27 | Leauto Intelligent Technology (Beijing) Co. Ltd | Method and system for authenticating user in wireless local area network and terminal device |
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 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113660732A (en) * | 2021-10-20 | 2021-11-16 | 翱捷科技(深圳)有限公司 | Earphone communication method and system and earphone |
CN113660732B (en) * | 2021-10-20 | 2022-03-01 | 翱捷科技(深圳)有限公司 | Earphone communication method and system and earphone |
Also Published As
Publication number | Publication date |
---|---|
CN112118610B (en) | 2023-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110753330B (en) | Bluetooth pairing method and Bluetooth headset | |
JP5739006B2 (en) | Method and apparatus for sending and receiving secure and non-secure data | |
CN104427471A (en) | Method for automatically establishing connection of mobile network and terminal | |
CN108199950B (en) | Voice communication method and system and broadband and narrowband integrated terminal | |
CN104066152A (en) | System and method for enabling devices to have access to wireless network | |
CN104581986A (en) | Wireless connection method and equipment | |
CN113543126A (en) | Key obtaining method and device | |
CN111526503B (en) | Authentication method and system for GEO satellite Internet of things | |
CN114786139A (en) | Connection establishing method, device, equipment, storage medium and program product | |
CN105049327A (en) | Touch vibration instant messaging method and system | |
CN115002734A (en) | Audio sharing method, device and system and readable storage medium | |
CN112118610B (en) | Network distribution method and system for wireless intelligent equipment | |
US9232365B1 (en) | Push-to-talk capacity enhancement | |
US8798602B2 (en) | Time sharing subscriber identity modules | |
JP6472889B2 (en) | Terminal device, network device, and group communication method | |
CN110719573A (en) | Information transmission method and device, terminal equipment and storage medium | |
CN110933038A (en) | Conference implementation method, system, service platform and storage medium | |
CN102843217B (en) | D2D communication system based on network coding and relaying and implementation method thereof | |
WO2011131136A1 (en) | Resource scheduling method, apparatus and system | |
JP2017539132A (en) | Terminal, server, and user identification system and method | |
CN104581614B (en) | A kind of quick matching method of dual-mode terminal, system and mobile terminal | |
WO2014183499A1 (en) | Voice call implementation method and device | |
CN110248361B (en) | Efficient self-adaptive GSM decryption method, device and system based on sliding window backtracking | |
CN113115153A (en) | Processing method, Bluetooth headset and management platform | |
CN108271144B (en) | Bluetooth device and system for carrying out data bidirectional mutual transmission with terminal |
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 |