Summary of the invention
Present invention is primarily targeted at collocation method and the device proposing a kind of wireless network, it is intended to solve existing nothing
Line network configurations, complex operation, the technical problem that convenience is low.
For achieving the above object, the collocation method of a kind of wireless network that the present invention provides, it is applied to first terminal, described
The collocation method of wireless network includes:
First terminal receives the audio signal of the second terminal broadcast, and wherein, described audio signal is by described second terminal root
Obtain according to radio network configuration Parameter Modulation;
The described audio signal received is demodulated, obtains radio network configuration parameter;
Based on described radio network configuration parameter configuration wireless network.
Preferably, before the step of the audio signal that described first terminal receives the second terminal broadcast, described wireless network
Collocation method also include:
When described second terminal broadcast audio signal being detected, described first terminal output information is to point out user
Touch key-press, when detecting that user touches described button, performs to receive the step of the audio signal of the second terminal broadcast;
Or, described second terminal broadcast audio signal detected, and described first terminal do not prestoring wireless network
During configuration parameter, perform to receive the step of the audio signal of the second terminal broadcast.
Additionally, for achieving the above object, the present invention also proposes the collocation method of a kind of wireless network, is applied to second eventually
End, the collocation method of described wireless network includes:
Second terminal extracts radio network configuration parameter;
Described radio network configuration Parameter Modulation is become audio signal;
Play the described audio signal after modulation, for first terminal when receiving described audio signal, to described sound
Frequently signal is demodulated obtaining radio network configuration parameter, and based on described radio network configuration parameter configuration wireless network.
Preferably, described the step of audio signal is become to include described radio network configuration Parameter Modulation:
Described radio network configuration parameter is encoded by described second terminal, obtains binary data stream;
Described binary data stream is carried out multi-system mapping and obtains multi-system signal;
In described multi-system signal, add the pilot signal of multiple fixed amplitude and frequency, obtain audio signal.
Preferably, described described binary data stream is carried out before multi-system maps the step obtaining multi-system signal,
The collocation method of described wireless network also includes:
Described second terminal adds default Error Correction of Coding in binary data stream, in order to described first terminal is receiving
During to audio signal, the binary data stream after demodulation is verified, and after being proved to be successful, obtain radio network configuration ginseng
Number is to configure wireless network, and wherein, Error Correction of Coding includes block code, convolutional code or composite coding.
Additionally, for achieving the above object, the present invention also proposes the configuration device of a kind of wireless network, is applied to first eventually
End, the configuration device of described wireless network includes:
Receiver module, for receiving the audio signal of the second terminal broadcast, wherein, described audio signal is by described second eventually
End obtains according to radio network configuration Parameter Modulation;
Demodulation module, for being demodulated the described audio signal received, obtains radio network configuration parameter;
Configuration module, for based on described radio network configuration parameter configuration wireless network.
Preferably, the configuration device of described wireless network also includes:
Processing module, for when described second terminal broadcast audio signal being detected, output information is to point out use
Family touch key-press, when detecting that user touches described button, receives the audio signal of the second terminal broadcast;
Described receiver module, is additionally operable to described second terminal broadcast audio signal detected, and described first terminal is not
When prestoring radio network configuration parameter, receive the audio signal of the second terminal broadcast.
Additionally, for achieving the above object, the present invention also proposes the configuration device of a kind of wireless network, is applied to second eventually
End, the configuration device of described wireless network includes:
Extraction module, is used for extracting radio network configuration parameter;
Modulation module, for becoming audio signal by described radio network configuration Parameter Modulation;
Playing module, the described audio signal after playing modulation, receiving described audio frequency letter for first terminal
Number time, described audio signal is demodulated obtaining radio network configuration parameter, and joins based on described radio network configuration parameter
Put wireless network.
Preferably, described modulation module includes:
Coding unit, for encoding described radio network configuration parameter, obtains binary data stream;
Map unit, obtains multi-system signal for described binary data stream carries out multi-system mapping;
Adding device, for adding the pilot signal of multiple fixed amplitude and frequency in described multi-system signal, obtains
Audio signal.
Preferably, the configuration device of described wireless network also includes:
Add module, for adding default Error Correction of Coding in binary data stream, in order to described first terminal is connecing
When receiving audio signal, the binary data stream after demodulation is verified, and after being proved to be successful, obtain radio network configuration
Parameter is to configure wireless network, and wherein, Error Correction of Coding includes block code, convolutional code or composite coding.
The collocation method of the wireless network that the present invention proposes and device, first terminal first receives the audio frequency of the second terminal broadcast
Signal, owing to described audio signal is obtained according to radio network configuration Parameter Modulation by described second terminal, therefore, to receiving
Described audio signal be demodulated, i.e. can get radio network configuration parameter, be based ultimately upon described radio network configuration parameter
Configuration wireless network, and not be used in human-computer interaction interface and open browser, by input equipment IP, search for be connected
WIFI network, input needs the WIFI password connected to be saved in equipment, could realize the networking of equipment, and the present invention is according to second eventually
The audio signal that end sends, can realize the configuration process of wireless network parameter, improve the convenience of radio network configuration.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides the collocation method of a kind of wireless network, is applied to first terminal.
Schematic flow sheet with reference to the collocation method first embodiment that Fig. 1, Fig. 1 are wireless network of the present invention.
In the present embodiment, the collocation method of described wireless network includes:
Step S10, first terminal receives the audio signal of the second terminal broadcast, and wherein, described audio signal is by described
Two terminals obtain according to radio network configuration Parameter Modulation;
In the present embodiment, first terminal receives the audio frequency of the second terminal broadcast by preset pick up (mike)
Signal, it should be appreciated that described first terminal just can receive audio signal in distance the second terminal certain limit.And institute
Stating the audio signal of the second terminal broadcast, radio network configuration Parameter Modulation become, specifically, described second terminal is extracted
Radio network configuration parameter, and described radio network configuration parameter is encoded, obtain binary data stream, then to described two
Binary data stream carries out multi-system mapping, obtains multi-system signal, and the most described multi-system signal is carried out as audio signal
Play.It should be appreciated that radio network configuration parameter coding is obtained binary data stream, then entered by binary data stream more
System maps the modulation system obtaining multi-system signal, actually mfsk (multi-system digital frequency modulation) modulation system.Described
The identification information of the wireless network that radio network configuration parameter includes but not limited to, the WIFI access pin of wireless network, wireless
Environmental information (the wireless network that WIFI environmental information comprises OS Type, described WAP is supported of access point
Specification etc.), and other configuration informations of WAP.
In the present embodiment, in order to improve the motility of audio signal reception, before described step S10, described wireless network
The collocation method of network also includes:
When described second terminal broadcast audio signal being detected, described first terminal output information is to point out user
Touch key-press, when detecting that user touches described button, performs to receive the step of the audio signal of the second terminal broadcast;
Or, described second terminal broadcast audio signal detected, and described first terminal do not prestoring wireless network
During configuration parameter, perform to receive the step of the audio signal of the second terminal broadcast.
It is to say, before first terminal receives the audio signal of the second terminal broadcast, first determine whether institute to be detected
Stating the second terminal broadcast audio signal, the most described first terminal output information is to point out user's touch key-press, in detection
To user touch described button time, just perform to receive the step of audio signal of the second terminal broadcast.
It is, of course, also possible to when described second terminal broadcast audio signal being detected, determine whether to prestore wireless
Network configuration parameters, if not prestoring radio network configuration parameter, then performs to receive the step of the audio signal of the second terminal broadcast
Suddenly.
Step S20, is demodulated the described audio signal received, obtains radio network configuration parameter;
When receiving the audio signal of the second terminal broadcast, the audio signal received is solved by described first terminal
Adjust, obtained according to radio network configuration Parameter Modulation by described second terminal owing to being as previously mentioned described audio signal, that
Described first terminal performs demodulation operation, i.e. can get described radio network configuration parameter.Specifically, described first terminal will
Audio signal is demodulated obtaining binary data stream, is then decoded described binary data stream, obtains wireless network
Configuration parameter.
Step S30, based on described radio network configuration parameter configuration wireless network.
After obtaining described radio network configuration parameter, wireless network can be automatically configured, say, that according to wireless
Environmental information of the identification information of network, the WIFI access pin of wireless network and WAP etc., automatically configures nothing
Gauze network, finally realizes the configuration of wireless network.
The collocation method of the wireless network that the present embodiment proposes, first terminal first receives the audio frequency letter of the second terminal broadcast
Number, owing to described audio signal is obtained according to radio network configuration Parameter Modulation by described second terminal, therefore, to receive
Described audio signal is demodulated, and i.e. can get radio network configuration parameter, is based ultimately upon described radio network configuration parameter and joins
Put wireless network, and not be used in human-computer interaction interface and open browser, by input equipment IP, search for WIFI to be connected
Network, input needs the WIFI password connected to be saved in equipment, could realize the networking of equipment, and the present invention sends out according to the second terminal
The audio signal sent, can realize the configuration process of wireless network parameter, improve the convenience of radio network configuration.
It is understood that the present invention is by transmitting networking parameters to voice modulation technology so that intelligent communication equipment
Demodulate networking parameters to get networking parameters information when receiving audio frequency, solve the newest intelligent hardware devices connection
Network parameters does not has an input interface, or the convenience caused is low and complex operation to have input interface to be also required to carry out to be manually entered
Etc. problem so that intelligent hardware devices networking is more convenient easy-to-use, further improve intelligent communication equipment configuration of networked parameter
Operating efficiency.
The present invention further provides a kind of wireless network configuration method, be applied to the second terminal.
At the present embodiment, with reference to Fig. 2, the collocation method of described wireless network includes:
Step S40, the second terminal extracts radio network configuration parameter;
In the present embodiment, when the second terminal only prestores a radio network configuration parameter, the nothing that extracting directly prestores
Line network configuration parameters, further, when prestoring multiple radio network configuration parameter in the second terminal, described step S40
Embodiment include:
1) mode one, in each radio network configuration parameter prestored, determine the wireless network that shared priority is the highest
Configuration parameter, then extracts the described radio network configuration parameter that shared priority is the highest, and wherein, described shared priority can
Being to share the most radio network configuration parameter of number of times, it is also possible to be storage time nearest network configuration parameters.
2) mode two, in each radio network configuration parameter prestored, determine the wireless network of default sharing in system
Configuration parameter, then extracts the radio network configuration parameter of default sharing.
Step S50, becomes audio signal by described radio network configuration Parameter Modulation;
In the present embodiment, after extracting radio network configuration parameter, described radio network configuration Parameter Modulation is become
Audio signal.Specifically, modulation system is MFSK (multi-system digital frequency modulation), can be by institute by the modulation system of MFSK
State radio network configuration Parameter Modulation and become audio signal.
Further, in order to improve the accuracy of voice modulation, voice modulation mode is preferably multitone multicarrier frequency displacement key
Control (Multiple Tone Multiple Frequency Shift Keying, MTMFSK), specifically, described step S50
Embodiment includes:
1) mode one, reference Fig. 3, described step S50 includes:
Step S51, described radio network configuration parameter is encoded, obtains binary data stream by described second terminal;
Step S52, carries out described binary data stream multi-system mapping and obtains multi-system signal;
Step S53, adds the pilot signal of multiple fixed amplitude and frequency in described multi-system signal, obtains audio frequency letter
Number.
The pilot signal of multiple fixed amplitude and frequency, the most multiple different frequency sounds are added in multi-system signal
Frequently the combination of signal, final manipulator sends the audio signal after modulation one by one according to fixed duration interval, namely depends on
The secondary audio signal play after modulating.By adding multiple fixed amplitude and the pilot signal of frequency, voice modulation mode just becomes
Become multitone multicarrier frequency shift keying (Multiple Tone Multiple Frequency Shift Keying, MTMFSK), carry
High instruction and data transmission bauds, and improve signal capture and net synchronization capability.
2) mode two, described step S50 include:
Described radio network configuration parameter is encoded, obtains binary data stream;
Described binary data stream is carried out multi-system mapping, obtains multi-system signal;
Using described multi-system signal as audio signal.
It is to say, after extracting radio network configuration parameter, described radio network configuration Parameter Modulation is become audio frequency
Signal.Specifically, modulation system is MFSK (multi-system digital frequency modulation), can be by described nothing by the modulation system of MFSK
Line network configuration parameters is modulated into audio signal, including: described radio network configuration parameter is encoded, obtains binary number
According to stream, more described binary data stream is carried out multi-system mapping, obtain multi-system signal.
Further, in order to improve instruction and data transmission bauds, and signal capture and net synchronization capability are improved, described general
Described multi-system signal specifically includes as audio signal: add multiple fixed amplitude and frequency in described multi-system signal
Pilot signal, obtains audio signal.
It should be noted that the pilot signal adding multiple fixed amplitude and frequency in multi-system signal, actually
The combination of multiple different frequency audio signals, final manipulator sends the audio frequency after modulation one by one according to fixed duration interval
Signal, plays the audio signal after modulation the most successively.By adding multiple fixed amplitude and the pilot signal of frequency, audio frequency
Modulation system reforms into multitone multicarrier frequency shift keying (Multiple Tone Multiple Frequency Shift
Keying, MTMFSK), improve instruction and data transmission bauds, and improve signal capture and net synchronization capability.
It is understood that by above two embodiment, wireless network parameter can be configured to audio signal.
In the present embodiment, in order to improve the accuracy of audio signal transmission, before described step S52, described wireless network
The collocation method of network also includes:
Described second terminal adds default Error Correction of Coding in binary data stream, in order to described first terminal is receiving
During to audio signal, the binary data stream after demodulation is verified, and after being proved to be successful, obtain radio network configuration ginseng
Number is to configure wireless network, and wherein, Error Correction of Coding includes block code, convolutional code or composite coding.
In the present embodiment, described second terminal adds default Error Correction of Coding in binary data stream, actually
Add Error Correction of Coding in the starting position of binary data stream, then flow to according to the binary data that with the addition of Error Correction of Coding
Row multi-system maps and obtains multi-system signal, then is obtained audio signal by the modulation of multi-system signal, finally sends audio signal, and
Described first terminal, when receiving audio signal, is demodulated operation, and verifies the binary data stream after demodulation,
If now detecting, Error Correction of Coding does not change, and illustrates not receive in data transmission procedure interference, and described second terminal is direct
The radio network configuration parameter using binary data stream corresponding i.e. can configure wireless network.
For being best understood from the present embodiment, citing application scenarios is as follows:
Binary data stream is 1,2,3,4,5, and now, described second terminal adds Error Correction of Coding in binary data stream
0, and continue executing with voice modulation operation, finally give audio signal, and audio signal is sent to first terminal, first terminal
When receiving audio signal, perform demodulation operation, obtain binary data stream, if now binary data stream is 0,1,2,3,
4,5, illustrate that data transmission is errorless, then obtain radio network configuration parameter and carry out the configuration of wireless network;If now binary number
Most it is initially not 0 according to what stream was, illustrates that data transmission is wrong, the most do not obtain radio network configuration parameter.
It is to say, in order to improve transmission system adaptation (opposing) ability to complex environment and environment noise, enter two
Data stream processed adds Error Correction of Coding, and coded system can select according to business scenario, specifically include block code, convolutional code or
Composite coding, is the equal of that chnnel coding can arrange the different block code of employing, convolution according to different intended application environment
The types such as code or composite coding, to obtain the coded system of different complexity.
Step S60, plays the described audio signal after modulation, for first terminal when receiving described audio signal,
Described audio signal is demodulated obtaining radio network configuration parameter, and wireless based on described radio network configuration parameter configuration
Network.
In the present embodiment, described second terminal plays modulation after audio signal time, it is necessary to be distance the second terminal one
First terminal in set a distance just can receive described audio signal, and first terminal is when receiving described audio signal, to institute
State audio signal to be demodulated obtaining radio network configuration parameter, be based ultimately upon described radio network configuration parameter and i.e. can configure nothing
Gauze network.
The collocation method of the wireless network that the present embodiment proposes, the second terminal first extracts radio network configuration parameter, then
Described radio network configuration Parameter Modulation is become audio signal, the final described audio signal play after modulating, for first eventually
End, when receiving described audio signal, is demodulated obtaining radio network configuration parameter to described audio signal, and based on institute
State radio network configuration parameter configuration wireless network, and not be used in human-computer interaction interface and open browser, pass through input equipment
IP, searches for WIFI network to be connected, and input needs the WIFI password connected to be saved in equipment, could realize the connection of equipment
Net, the present invention is sent, by the second terminal, the audio signal that radio network configuration Parameter Modulation becomes, can realize nothing in first terminal
The configuration process of line network parameter, improves the convenience of radio network configuration.
It is understood that the modulation system that this method is used is based on MFSK (multi-system digital frequency modulation);
In order to improve data transmission bauds, and signal capture and net synchronization capability, the transmission signal that this method is used is modulated at MFSK
On signal, superposition multiple fixed amplitude and the pilot signal of frequency, obtain MTMFSK modulation system;In order to improve transmission system
Transmission data are added Error Correction of Coding, thus improve data by adaptation (opposing) ability to complex environment and environment noise
The efficiency of transmission and accuracy.
The present invention further provides the configuration device of a kind of wireless network, be applied to first terminal.
High-level schematic functional block diagram with reference to the configuration device first embodiment that Fig. 4, Fig. 4 are wireless network of the present invention.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 4 is only a preferable reality
Executing the exemplary plot of example, those skilled in the art, can be easily around the functional module of the configuration device of the wireless network shown in Fig. 4
Carry out supplementing of new functional module;The title of each functional module is self-defined title, is only used for auxiliary and understands this wireless network
Configuration device each program function block, be not used in restriction technical scheme, the core of technical solution of the present invention is,
The function that the functional module of each self-defined title is to be reached.
In the present embodiment, the configuration device of described wireless network includes:
Receiver module 10, for receiving the audio signal of the second terminal broadcast, wherein, described audio signal is by described second
Terminal obtains according to radio network configuration Parameter Modulation;
In the present embodiment, receiver module 10 receives the sound of the second terminal broadcast by preset pick up (mike)
Frequently signal, it should be appreciated that described receiver module 10 just can receive audio signal in distance the second terminal certain limit.
And the audio signal of described second terminal broadcast, radio network configuration Parameter Modulation become, specifically, described second terminal
Extract radio network configuration parameter, and described radio network configuration parameter is encoded, obtain binary data stream, then to institute
Stating binary data stream and carry out multi-system mapping, obtain multi-system signal, the most described multi-system signal is as audio signal
Play out.It should be appreciated that radio network configuration parameter coding is obtained binary data stream, then by binary data stream
Multi-system maps the modulation system obtaining multi-system signal, actually mfsk (multi-system digital frequency modulation) modulation system.
The identification information of wireless network that described radio network configuration parameter includes but not limited to, the WIFI access pin of wireless network,
(it is wireless that WIFI environmental information comprises OS Type, described WAP is supported for the environmental information of WAP
Network standard etc.), and other configuration informations of WAP.
In the present embodiment, in order to improve the motility of audio signal reception, the configuration device of described wireless network also wraps
Include:
Processing module, for when described second terminal broadcast audio signal being detected, output information is to point out use
Family touch key-press, when detecting that user touches described button, receives the audio signal of the second terminal broadcast;
Described receiver module 10, is additionally operable to described second terminal broadcast audio signal detected, and described first terminal
When not prestoring radio network configuration parameter, receive the audio signal of the second terminal broadcast.
It is to say, before receiver module 10 receives the audio signal of the second terminal broadcast, processing module first determines and is
No described second terminal broadcast audio signal being detected, if so, output information is to point out user's touch key-press, is detecting
When user touches described button, just receive the audio signal of the second terminal broadcast.
It is, of course, also possible to when described second terminal broadcast audio signal being detected, determine whether to prestore wireless
Network configuration parameters, if not prestoring radio network configuration parameter, the most described receiver module 10 receives the sound of the second terminal broadcast
Frequently signal.
Demodulation module 20, for being demodulated the described audio signal received, obtains radio network configuration parameter;
When receiver module 10 receives the audio signal of the second terminal broadcast, the demodulation module 20 audio signal to receiving
It is demodulated, is obtained according to radio network configuration Parameter Modulation by described second terminal owing to being as previously mentioned described audio signal
Arrive, then demodulation module 20 performs demodulation operation, i.e. can get described radio network configuration parameter.Specifically, described solution mode transfer
Audio signal is demodulated obtaining binary data stream by block 20, is then decoded described binary data stream, obtains nothing
Line network configuration parameters.
Configuration module 30, for based on described radio network configuration parameter configuration wireless network.
After obtaining described radio network configuration parameter, configuration module 30 can automatically configure wireless network, namely
Saying, configuration module 30 is according to the identification information of wireless network, the WIFI access pin of wireless network and the ring of WAP
Environment information etc., automatically configures wireless network, finally realizes the configuration of wireless network.
The configuration device of the wireless network that the present embodiment proposes, first terminal first receives the audio frequency letter of the second terminal broadcast
Number, owing to described audio signal is obtained according to radio network configuration Parameter Modulation by described second terminal, therefore, to receive
Described audio signal is demodulated, and i.e. can get radio network configuration parameter, is based ultimately upon described radio network configuration parameter and joins
Put wireless network, and not be used in human-computer interaction interface and open browser, by input equipment IP, search for WIFI to be connected
Network, input needs the WIFI password connected to be saved in equipment, could realize the networking of equipment, and the present invention sends out according to the second terminal
The audio signal sent, can realize the configuration process of wireless network parameter, improve the convenience of radio network configuration.
It is understood that the present invention is by transmitting networking parameters to voice modulation technology so that intelligent communication equipment
Demodulate networking parameters to get networking parameters information when receiving audio frequency, solve the newest intelligent hardware devices connection
Network parameters does not has an input interface, or the convenience caused is low and complex operation to have input interface to be also required to carry out to be manually entered
Etc. problem so that intelligent hardware devices networking is more convenient easy-to-use, further improve intelligent communication equipment configuration of networked parameter
Operating efficiency.
The present invention further provides a kind of radio network configuration device, be applied to the second terminal.
At the present embodiment, with reference to Fig. 5, the configuration device of described wireless network includes:
Extraction module 40, is used for extracting radio network configuration parameter;
In the present embodiment, when the second terminal only prestores a radio network configuration parameter, extraction module 40 directly carries
Take the radio network configuration parameter prestored, further, when prestoring multiple radio network configuration parameter in the second terminal, institute
State extraction module 40 extract radio network configuration ginseng embodiment include:
1) mode one, in each radio network configuration parameter prestored, determine the wireless network that shared priority is the highest
Configuration parameter, then extraction module 40 extracts the described radio network configuration parameter that shared priority is the highest, wherein, described common
Enjoying priority can be to share the most radio network configuration parameter of number of times, it is also possible to be storage time nearest network configuration ginseng
Number.
2) mode two, in each radio network configuration parameter prestored, determine the wireless network of default sharing in system
Configuration parameter, then extraction module 40 extracts the radio network configuration parameter of default sharing.
Modulation module 50, for becoming audio signal by described radio network configuration Parameter Modulation;
In the present embodiment, after extraction module 40 extracts radio network configuration parameter, modulation module 50 is by described nothing
Line network configuration parameters is modulated into audio signal.Specifically, modulation system is MFSK (multi-system digital frequency modulation), passes through
Described radio network configuration Parameter Modulation can be become audio signal by the modulation system of MFSK.
Further, in order to improve the accuracy of voice modulation, voice modulation mode is preferably multitone multicarrier frequency displacement key
Control (Multiple Tone Multiple Frequency Shift Keying, MTMFSK), specifically, described modulation module
The embodiment of 50 includes:
1) mode one, reference Fig. 6, described modulation module 50 includes:
Coding unit 51, for encoding described radio network configuration parameter, obtains binary data stream;
Map unit 52, obtains multi-system signal for described binary data stream carries out multi-system mapping;
Adding device 53, for adding the pilot signal of multiple fixed amplitude and frequency in described multi-system signal,
To audio signal.
Adding device 53 adds the pilot signal of multiple fixed amplitude and frequency in multi-system signal, the most multiple
The combination of different frequency audio signal, final manipulator sends the audio frequency letter after modulation one by one according to fixed duration interval
Number, play the audio signal after modulation the most successively.By adding multiple fixed amplitude and the pilot signal of frequency, audio frequency is adjusted
Mode processed reform into multitone multicarrier frequency shift keying (Multiple Tone Multiple Frequency Shift Keying,
MTMFSK), improve instruction and data transmission bauds, and improve signal capture and net synchronization capability.
2) mode two, described modulation module, is additionally operable to encode described radio network configuration parameter, obtains binary system
Data stream;
Described binary data stream is carried out multi-system mapping, obtains multi-system signal;
Using described multi-system signal as audio signal.
It is to say, after extracting radio network configuration parameter, described radio network configuration Parameter Modulation is become audio frequency
Signal.Specifically, modulation system is MFSK (multi-system digital frequency modulation), can be by described nothing by the modulation system of MFSK
Line network configuration parameters is modulated into audio signal, including: described radio network configuration parameter is encoded, obtains binary number
According to stream, more described binary data stream is carried out multi-system mapping, obtain multi-system signal.
Further, in order to improve instruction and data transmission bauds, and signal capture and net synchronization capability are improved, described general
Described multi-system signal specifically includes as audio signal: add multiple fixed amplitude and frequency in described multi-system signal
Pilot signal, obtains audio signal.
It should be noted that the pilot signal adding multiple fixed amplitude and frequency in multi-system signal, actually
The combination of multiple different frequency audio signals, final manipulator sends the audio frequency after modulation one by one according to fixed duration interval
Signal, plays the audio signal after modulation the most successively.By adding multiple fixed amplitude and the pilot signal of frequency, audio frequency
Modulation system reforms into multitone multicarrier frequency shift keying (Multiple Tone Multiple Frequency Shift
Keying, MTMFSK), improve instruction and data transmission bauds, and improve signal capture and net synchronization capability.
It is understood that by above two embodiment, wireless network parameter can be configured to audio signal.
In the present embodiment, in order to improve the accuracy of audio signal transmission, the configuration device of described wireless network also wraps
Include:
Add module, for adding default Error Correction of Coding in binary data stream, in order to described first terminal is connecing
When receiving audio signal, the binary data stream after demodulation is verified, and after being proved to be successful, obtain radio network configuration
Parameter is to configure wireless network, and wherein, Error Correction of Coding includes block code, convolutional code or composite coding.
In the present embodiment, add module in binary data stream, add default Error Correction of Coding, actually two
Error Correction of Coding is added in the starting position of binary data stream, and then map unit 52 is according to the binary number that with the addition of Error Correction of Coding
Carry out multi-system mapping according to stream and obtain multi-system signal, then obtained audio signal by the modulation of multi-system signal, finally send audio frequency
Signal, and described first terminal is when receiving audio signal, is demodulated operation, and the binary data after demodulation is flow to
Row checking, if now detecting, Error Correction of Coding does not change, and illustrates not receive in data transmission procedure interference, and described second eventually
End directly uses the radio network configuration parameter that binary data stream is corresponding i.e. to can configure wireless network.
For being best understood from the present embodiment, citing application scenarios is as follows:
Binary data stream is 1,2,3,4,5, now, adds module and adds Error Correction of Coding 0 in binary data stream, and
Continuing executing with voice modulation operation, finally give audio signal, and send audio signal to first terminal, first terminal is connecing
When receiving audio signal, perform demodulation operation, obtain binary data stream, if now binary data stream is 0,1,2,3,4,5,
Illustrate that data transmission is errorless, then obtain radio network configuration parameter and carry out the configuration of wireless network;If now binary data stream
For be most initially not 0, illustrate that data transmission is wrong, the most do not obtain radio network configuration parameter.
It is to say, in order to improve transmission system adaptation (opposing) ability to complex environment and environment noise, add mould
Block adds Error Correction of Coding to binary data stream, and coded system can select according to business scenario, specifically include block code,
Convolutional code or composite coding, be the equal of that chnnel coding can arrange, according to different intended application environment, the packet that employing is different
The types such as code, convolutional code or composite coding, to obtain the coded system of different complexity.
Playing module 60, the described audio signal after playing modulation, receiving described audio frequency for first terminal
During signal, described audio signal is demodulated obtaining radio network configuration parameter, and based on described radio network configuration parameter
Configuration wireless network.
In the present embodiment, when playing module 60 plays the audio signal after modulating, it is necessary to be that distance the second terminal is certain
First terminal in Ju Li just can receive described audio signal, and first terminal is when receiving described audio signal, to described
Audio signal is demodulated obtaining radio network configuration parameter, is based ultimately upon described radio network configuration parameter and i.e. can configure wireless
Network.
The configuration device of the wireless network that the present embodiment proposes, the second terminal first extracts radio network configuration parameter, then
Described radio network configuration Parameter Modulation is become audio signal, the final described audio signal play after modulating, for first eventually
End, when receiving described audio signal, is demodulated obtaining radio network configuration parameter to described audio signal, and based on institute
State radio network configuration parameter configuration wireless network, and not be used in human-computer interaction interface and open browser, pass through input equipment
IP, searches for WIFI network to be connected, and input needs the WIFI password connected to be saved in equipment, could realize the connection of equipment
Net, the present invention is sent, by the second terminal, the audio signal that radio network configuration Parameter Modulation becomes, can realize nothing in first terminal
The configuration process of line network parameter, improves the convenience of radio network configuration.
It is understood that the modulation system that this device is used is based on MFSK (multi-system digital frequency modulation);
In order to improve data transmission bauds, and signal capture and net synchronization capability, the transmission signal that this method is used is modulated at MFSK
On signal, superposition multiple fixed amplitude and the pilot signal of frequency, obtain MTMFSK modulation system;In order to improve transmission system
Transmission data are added Error Correction of Coding, thus improve data by adaptation (opposing) ability to complex environment and environment noise
The efficiency of transmission and accuracy.
It should be noted that in this article, term " includes ", " comprising " or its other variant any are intended to non-row
Comprising of his property, so that include that the process of a series of key element, method, article or system not only include those key elements, and
And also include other key element being not expressly set out, or also include intrinsic for this process, method, article or system
Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this
The process of key element, method, article or system there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side
Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of
The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words
The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take
Business device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this
Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skill
Art field, is the most in like manner included in the scope of patent protection of the present invention.