CN104702373B - A kind of apparatus and method for using acoustic coding to carry out network configuration for equipment - Google Patents

A kind of apparatus and method for using acoustic coding to carry out network configuration for equipment Download PDF

Info

Publication number
CN104702373B
CN104702373B CN201510092221.0A CN201510092221A CN104702373B CN 104702373 B CN104702373 B CN 104702373B CN 201510092221 A CN201510092221 A CN 201510092221A CN 104702373 B CN104702373 B CN 104702373B
Authority
CN
China
Prior art keywords
network configuration
module
signal
configuration parameters
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510092221.0A
Other languages
Chinese (zh)
Other versions
CN104702373A (en
Inventor
钟旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Powerleader Software Development Co Ltd Of Shenzhen
Original Assignee
Powerleader Software Development Co Ltd Of Shenzhen
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Powerleader Software Development Co Ltd Of Shenzhen filed Critical Powerleader Software Development Co Ltd Of Shenzhen
Priority to CN201510092221.0A priority Critical patent/CN104702373B/en
Publication of CN104702373A publication Critical patent/CN104702373A/en
Application granted granted Critical
Publication of CN104702373B publication Critical patent/CN104702373B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/167Audio streaming, i.e. formatting and decoding of an encoded audio signal representation into a data stream for transmission or storage purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0075Transmission of coding parameters to receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Abstract

The present invention relates to a kind of apparatus and method for using acoustic coding as equipment progress network configuration, including coding transmission system and coding reception system;Coding transmission system is used to the network configuration parameters of target device are modulated into speech simulation signal and are played;The coding reception system is used to gather the speech simulation signal that the coding sends system plays, and system is demodulated to the speech simulation signal, obtains the network configuration parameters of target device, and implement to configure according to the network configuration parameters.The present invention is on the premise of it need not increase target device hardware configuration, the hardware capability for making full use of the existing mobile terminal device such as smart mobile phone, tablet computer, laptop to possess, intuitively, the network configuration of target device is efficiently and safely completed, improves the ease for use of target device.

Description

A kind of apparatus and method for using acoustic coding to carry out network configuration for equipment
Technical field
The present invention relates to more particularly to a kind of apparatus and method for using acoustic coding to carry out network configuration for equipment.
Background technology
As network communications technology develops, more and more network terminals are appeared in life, such as:Camera, printing Machine, scanner, facsimile machine etc..Carrying out network configuration without soft, hard manual network-termination device for these has a variety of methods, some Method is used and configured by traditional serial port (RS232), by USB port, such as the first time of CISCO routers Configuration, this method need target device all to have corresponding port with configurating terminal in itself.The equipment of a new generation also has using NFC What (Near Field Communication) and bluetooth (Bluetooth) were configured, this method also needs to set for target Standby and configurating terminal is equipped with NFC or bluetooth module, the relative increase cost of equipment.Now for having been provided with Wi-Fi module Equipment, be operated in mostly using Wi-Fi under the AP (Access Point) of no password or fixed password, by terminal be connected into AP from And configured, this method is limited to some operating systems can not realize automatic connection AP, such as the iOS of Apple in App Operating system, and cause user experience undesirable, and because using no password or fixed password AP working methods, exist and be System security risk.
The content of the invention
The technical problems to be solved by the invention are to provide one kind and target device are utilized under the premise of device hardware is not added The hardware capability possessed, completes the network configuration of target device.
The technical solution that the present invention solves above-mentioned technical problem is as follows:
A kind of device for using acoustic coding to carry out network configuration for equipment, it is characterised in that including encoding transmission system With coding reception system;
The coding transmission system, it is used to the network configuration parameters of target device being modulated into speech simulation signal and broadcasts Put;
The coding reception system, it is used to gather the speech simulation signal that the coding sends system plays, to described Speech simulation signal is demodulated system, obtains the network configuration parameters of target device, and implement according to the network configuration parameters Configuration.
The beneficial effects of the invention are as follows:The present invention makes full use of on the premise of it need not increase target device hardware configuration The hardware capability that the existing mobile terminal device such as smart mobile phone, tablet computer, laptop has possessed, directly perceived, efficient, safety The network configuration of target device is completed on ground, improves the ease for use of target device.
Based on the above technical solutions, the present invention can also be improved as follows.
Further, the coding transmission system is arranged in mobile terminal, and the coding reception system is arranged at needs and matches somebody with somebody In the target device put.
Further, the coding transmission system includes configuration edit cell, cryptographic check module, modulation module and plays mould Block;
The configuration edit cell, it is used to collect the network configuration parameters needed for target device progress network configuration, will Network configuration parameters are compiled as the form arranged with coding reception system;
The cryptographic check module, it is used to the network configuration parameters be encrypted, encrypted network is matched somebody with somebody Put parameter addition check code;
The modulation module, it is used to change the network configuration parameters for encrypting and adding check code, generates pulse Modulation signals;
The playing module, it is used to the pulse code modulation signal carrying out D/A conversions, generation speech simulation letter Number, amplify and play the speech simulation signal.
Further, the coding transmission system is divided into mobile terminal subsystem and server end code-subsystem, the shifting Dynamic terminal subsystem is arranged at mobile terminal, and the server end code-subsystem is arranged at remote server, and the coding connects Receipts system is arranged in the target device needed to configure.
Further, the mobile terminal subsystem includes network communication module and playing module;The network communication module Including configuration edit cell and audio signal reception unit;The server end code-subsystem include validity screen module, Cryptographic check module and modulation module;
The network communication module, it is used to be communicated by network communication protocol and server end code-subsystem;
The configuration edit cell, it is used to collect the network configuration parameters needed for target device progress network configuration, will Network configuration parameters are compiled as the form arranged with coding reception system;
The validity screens module, it is used for the validity and legitimacy that detect the network configuration parameters;
The cryptographic check module, it is used to the network configuration parameters be encrypted, encrypted network is matched somebody with somebody Put parameter addition check code;
The modulation module, it is used to change the network configuration parameters for encrypting and adding check code, generates pulse Modulation signals;
Audio signal reception unit, it is used to receive the pulse code modulation signal, and sends it to playing module;
The playing module, it is used to the pulse code modulation signal carrying out D/A conversions, generation speech simulation letter Number, amplify and play the speech simulation signal.
Further, the coding transmission system further includes audio compression module and audio decompression module;
The audio compression module, it is arranged in server end code-subsystem, for the pulse code modulation Signal is compressed, and obtains compressed data, and compressed data is issued audio decompression module;
The audio decompression module, it is arranged in mobile terminal subsystem, for being unziped it to compressed data, The result of decompression is sent to playing module.
Further, it is described coding reception system include network state detection module, sound acquisition module, demodulation module, Verify deciphering module and network configuration and feedback module;
The network state detection module, it is used for initial configuration state and the network operation state progress to target device Detection, if abnormal state, the control instruction of collection sound is sent to sound acquisition module, and sends exception to instruction equipment Signal;The control instruction of collection sound is not sent if detection is normal, and sends normal signal to instruction equipment;
The sound acquisition module, it is used for the control instruction according to the collection sound, and pickup playing module is played Speech simulation signal, and to the speech simulation signal carry out A/D be converted to pulse code modulation signal;
The demodulation module, it is used to carrying out the pulse code modulation signal into the conversion opposite with modulation module, Obtain encrypted network configuration parameters;
The verification deciphering module, it is used to detect the integrality of the network configuration parameters and is decrypted, such as Fruit, which completely then sends, implements configuration-direct to network configuration and feedback module, is sent if imperfect and resurveys instruction to sound Sound acquisition module;
The network configuration and feedback module, according to the network configuration parameters to be currently needed for carry out network configuration mesh Marking device implements network configuration, and sends configuration-direct to instruction equipment and receive successful signal.
In order to solve the above-mentioned technical problem, acoustic coding is used to carry out network configuration for equipment the present invention also provides a kind of Method, comprises the following steps;
Step 1:The network configuration parameters of target device are modulated into speech simulation signal and are played;
Step 2:The speech simulation signal is gathered, system is demodulated to the speech simulation signal, obtains target device Network configuration parameters, and according to the network configuration parameters implement configure.
Further, step 1 is specially:
Step 1a:The network initial configuration state and network operation state of target device are detected, if state is different Often, then the control instruction of collection sound is sent, and abnormal signal is sent to instruction equipment;Collection is not sent if detection is normal The control instruction of sound, and send normal signal to instruction equipment;
Step 1b:The network configuration parameters needed for target device progress network configuration are collected, by the network configuration parameters It is compiled as the form arranged with coding reception system;
Step 1c:The network configuration parameters are encrypted, check code is added to encrypted network configuration parameters;
Step 1d:The network configuration parameters for encrypting and adding check code are changed, generate pulse code modulation signal;
Step 1e:The pulse code modulation signal is subjected to D/A conversions, speech simulation signal is generated, amplifies and play The speech simulation signal.
Further, the step 2 specifically,
Step 2a:The control instruction of collection sound is received, picks up the speech simulation signal that step 1e is played, and to described Speech simulation signal carries out A/D and is converted to pulse code modulation signal;
Step 2b:The pulse code modulation signal is carried out to the conversion opposite with step 1d, encrypted network is obtained and matches somebody with somebody Put parameter;
Step 2c:Detect the integrality of network configuration parameters and be decrypted, step 2d is performed if complete;If no It is complete then re-execute step 2a;
Step 2d:Network configuration is implemented to target device according to network configuration parameters, and sends configuration to instruction equipment and refers to Order receives successful signal.
Brief description of the drawings
Fig. 1 is that one module relationship of device embodiment that the present invention uses acoustic coding to carry out network configuration for equipment is illustrated Figure;
Fig. 2 encodes transmission system and coding reception system position relationship schematic diagram for the embodiment of the present invention one;
Fig. 3 is that two module relationship of device embodiment that the present invention uses acoustic coding to carry out network configuration for equipment is illustrated Figure;
Fig. 4 encodes transmission system and coding reception system position relationship schematic diagram for the embodiment of the present invention two;
Fig. 5 is that three module relationship of device embodiment that the present invention uses acoustic coding to carry out network configuration for equipment is illustrated Figure.
Embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the present invention.
Embodiment one
Fig. 1 is that one module relationship of device embodiment that the present invention uses acoustic coding to carry out network configuration for equipment is illustrated Figure, as shown in Figure 1, a kind of device for using acoustic coding to carry out network configuration for equipment, including coding transmission system and coding Reception system;The network configuration parameters of target device are modulated into speech simulation signal and played by coding transmission system;Coding connects The speech simulation signal that coding described in system acquisition sends system plays is received, system is demodulated to speech simulation signal, obtains mesh The network configuration parameters of marking device, and implement to configure according to the network configuration parameters.
Fig. 2 encodes transmission system and coding reception system position relationship schematic diagram for the embodiment of the present invention one, such as Fig. 2 institutes Show, coding transmission system is arranged in mobile terminal, and coding reception system is arranged in the target device needed to configure.It is mobile whole End includes the end equipment that smart mobile phone, laptop, tablet computer, vehicle-mounted computer etc. have connection radio network functions.Move Dynamic terminal has player or loudspeaker in itself, it is possible to achieve the broadcasting of speech simulation signal, or these mobile terminal sheets Body does not possess player or loudspeaker, but can convenient and low cost pass through existing interface and connect player or loudspeaker, play Speech simulation signal.Target device includes Wi-Fi cameras, printer, scanner etc., these target devices have had in itself The pickup component of the speech simulation signal such as microphone, or these target devices do not possess microphone in itself, but can be convenient and low Cost connects microphone by existing interface, realizes the pickup of speech simulation signal.
As shown in Figure 1, coding transmission system includes configuration edit cell, cryptographic check module, modulation module and plays mould Block.Encoding reception system includes network state detection module, sound acquisition module, demodulation module, verification deciphering module and net Network configures and feedback module.
Network state detection module is detected the network initial configuration state and network operation state of target device, such as Fruit abnormal state, then send control instruction to sound acquisition module, and sends abnormal signal to instruction equipment;If detection is normal Control instruction is not sent then, and sends normal signal to instruction equipment;Instruction equipment is to refer to make a sound prompting or light The prompting equipment of prompting, auditory tone cues equipment is for example:Buzzer, speech player etc. can play the equipment of sound;Light carries Show equipment for example:LED light.After auditory tone cues equipment receives the abnormal signal transmitted by network state detection module, sound is sent Sound is prompted, such as two sound buzzings or the voice prompt prerecorded:" start network configuration, cell phone network configuration App " please be start, User starts the network configuration App in mobile terminal after auditory tone cues or light prompt is received, and is started by human-computer interaction and matched somebody with somebody Put edit cell.
The network configuration parameters needed for edit cell collection target device progress network configuration are configured, by network configuration parameters It is compiled as the form arranged with coding reception system;Configuration edit cell is the module of human-computer interaction type, it is necessary to carry out network During configuration, user starts configuration edit cell by human-computer interaction, and configuration edit cell searches for the clothes of Wi-Fi near mobile terminal The SSID of business set identifier SSID (Service Set Identifier) or acquisition current mobile terminal Wi-Fi currently in use, The network configuration parameters such as password, secured fashion and the camera identification code of corresponding Wi-Fi, and by network configuration parameters be compiled as with The form that coding reception system is arranged is sent to cryptographic check module;Network configuration parameters are encrypted in cryptographic check module Processing, and encrypted network configuration parameters are added with check code, and the network configuration parameters after addition check code are sent to tune Molding block, modulation module carry out frequency shift keying (FSK) or phase-shift keying (PSK) to the network configuration parameters for encrypting and adding check code (PSK/QPSK) change, generation pulse code modulation signal PCM (Pulse Code Modulation), and by pulse code tune Signal processed is sent to playing module;Pulse code modulation signal is carried out D/A conversions by playing module, generates speech simulation signal, Playing module is connected with loudspeaker, and loudspeaker plays out amplified speech simulation signal.
Sound acquisition module includes microphone, and sound acquisition module receives the control instruction of network state detection module Afterwards, according to control instruction, the speech simulation signal played by microphone pickup playing module, then to the speech simulation of pickup Signal carries out A/D and is converted to pulse code modulation signal.Demodulation module carries out pulse code modulation signal with modulating mould The reverse conversion changed described in block, is encrypted and adds the network configuration parameters of check code.Verify deciphering module detection The integrality of network configuration parameters is simultaneously decrypted, and is sent if complete and implements configuration-direct to network configuration and feedback mould Block, sends if imperfect and resurveys instruction to sound acquisition module, sound acquisition module resurveys playing module institute The speech simulation signal of broadcasting.Network configuration and feedback module, according to configuration parameter to be currently needed for carry out network configuration mesh Marking device implements network configuration, and sends configuration-direct to instruction equipment and receive successful signal.Instruction equipment is matched somebody with somebody receiving After putting the successful signal of command reception, prompting or light prompt are made a sound.In the present embodiment, after cryptographic check module Network configuration parameters, the distortion of energy detecting data transmitting procedure can prevent the sensitive number in network configuration to correct in time According to being stolen.
The present invention makes full use of smart mobile phone, tablet computer, pen on the premise of it need not increase target device hardware configuration Remember the hardware capability that the existing mobile terminal device such as this computer has possessed, network that is directly perceived, efficiently and safely completing target device Configuration, improves the ease for use of target device.
The method and step of the present embodiment is as follows:
Step 1:The network configuration parameters of target device are modulated into speech simulation signal and are played;
Step 2:The speech simulation signal is gathered, system is demodulated to the speech simulation signal, obtains target device Network configuration parameters, and according to the network configuration parameters implement configure.
Step 1 is specially:
Step 1a:The network initial configuration state and network operation state of target device are detected, if state is different Often, then the control instruction of collection sound is sent, and abnormal signal is sent to instruction equipment;Collection is not sent if detection is normal The control instruction of sound, and send normal signal to instruction equipment;
Step 1b:The network configuration parameters needed for target device progress network configuration are collected, by the network configuration parameters It is compiled as the form arranged with coding reception system;
Step 1c:The network configuration parameters are encrypted, check code is added to encrypted network configuration parameters;
Step 1d:The network configuration parameters for encrypting and adding check code are changed, generate pulse code modulation signal;
Step 1e:The pulse code modulation signal is subjected to D/A conversions, speech simulation signal is generated, amplifies and play The speech simulation signal.
Step 2 specifically,
Step 2a:The control instruction of collection sound is received, picks up the speech simulation signal that step 1e is played, and to described Speech simulation signal carries out A/D and is converted to pulse code modulation signal;
Step 2b:The pulse code modulation signal is carried out to the conversion opposite with step 1d, encrypted network is obtained and matches somebody with somebody Put parameter;
Step 2c:Detect the integrality of network configuration parameters and be decrypted, step 2d is performed if complete;If no It is complete then re-execute step 2a;
Step 2d:Network configuration is implemented to target device according to network configuration parameters, and sends configuration to instruction equipment and refers to Order receives successful signal.
Embodiment two
Fig. 3 is that two module relationship of device embodiment that the present invention uses acoustic coding to carry out network configuration for equipment is illustrated Figure, as shown in figure 3, the present embodiment is unlike embodiment one:Coding transmission system is divided into mobile terminal subsystem and service Device code-subsystem, mobile terminal subsystem are arranged in mobile terminal, and server code subsystem is arranged at remote server In, coding reception system is arranged in the target device needed to configure.Mobile terminal includes smart mobile phone, laptop, puts down Plate computer, vehicle-mounted computer etc. have the end equipment of connection radio network functions.Mobile terminal has had player or has raised in itself Sound device, it is possible to achieve the broadcasting of speech simulation signal, or these mobile terminals do not possess player or loudspeaker in itself, but energy Convenient and low cost connects player or loudspeaker by existing interface, plays speech simulation signal.Target device includes Wi-Fi Camera, printer, scanner etc., these target devices have the pickup apparatus of the speech simulation signals such as microphone in itself It is standby, or these target devices do not possess microphone in itself, but can convenient and low cost pass through existing interface and connect microphone, it is real The pickup of existing speech simulation signal.
Fig. 4 encodes transmission system and coding reception system position relationship schematic diagram for the embodiment of the present invention two, such as Fig. 4 institutes Show, coding transmission system includes mobile terminal subsystem and server end code-subsystem, and mobile terminal subsystem includes network Communication module and playing module;Server end code-subsystem includes validity and screens module, cryptographic check module and modulation mould Block;
Network state detection module is detected the initial configuration state and network operation state of target device, if shape State is abnormal, then sends control instruction to sound acquisition module, and send abnormal signal to instruction equipment;If detection is normal not Control instruction is sent, and normal signal is sent to instruction equipment;Instruction equipment is to refer to make a sound prompting or light prompt Prompting equipment, auditory tone cues equipment is for example:Buzzer, speech player etc.;Light prompt equipment is for example:LED light.Sound carries After showing that equipment receives the abnormal signal transmitted by network state detection module, prompting, such as two sound buzzings or pre- are made a sound The voice prompt first recorded:" start network configuration, cell phone network configuration App " please be start, user is receiving auditory tone cues or lamp After light prompting, start the network configuration App in mobile terminal, configuration edit cell is started by human-computer interaction.
Network communication module is communicated by network communication protocol and server end code-subsystem;Network communication module Including configuration edit cell and audio signal reception unit;After user starts configuration edit cell, configuration edit cell search moves Move the service set SSID (Service Set Identifier) of Wi-Fi near terminal or obtain current mobile terminal The network configuration parameters such as password, secured fashion and camera identification code of the SSID of the Wi-Fi used, corresponding Wi-Fi, and by net Network configuration parameter is compiled as the form arranged with coding reception system;Validity screens having for module detection network configuration parameters Effect property and legitimacy;Network configuration parameters are encrypted in cryptographic check module, and encrypted network configuration parameters are added Check code;Modulation module carries out frequency shift keying (FSK) or phase-shift keying (PSK) to the network configuration parameters for encrypting and adding check code (PSK/QPSK) change, generation pulse code modulation signal PCM (Pulse Code Modulation), and by pulse code tune Signal PCM (Pulse Code Modulation) processed is sent to audio signal reception unit;Audio signal reception unit receives arteries and veins Modulation signals PCM (Pulse Code Modulation) is rushed, and sends it to playing module;Playing module is by pulse Modulation signals carry out D/A conversions, generate speech simulation signal, playing module is connected with loudspeaker, after voice signal amplification Played through loudspeaker.
Encoding reception system includes network state detection module, sound acquisition module, demodulation module, verification deciphering module With network configuration and feedback module.Sound acquisition module includes microphone, and sound acquisition module receives network state detection mould After the control instruction of block, according to control instruction, the speech simulation signal played by microphone pickup playing module, then to picking up The speech simulation signal taken carries out A/D and is converted to pulse code modulation signal.Demodulation module is by pulse code modulation signal The reverse conversion with being changed described in modulation module is carried out, is encrypted and adds the network configuration parameters of check code.Verification The integrality of deciphering module detection network configuration parameters is simultaneously decrypted, and implementation configuration-direct is sent if complete and is matched somebody with somebody to network Put and feedback module, sent if imperfect and resurvey instruction and resurveyed to sound acquisition module, sound acquisition module The speech simulation signal that playing module is played.Network configuration and feedback module, according to configuration parameter to being currently needed for carrying out net The target device of network configuration implements network configuration, and sends configuration-direct to instruction equipment and receive successful signal.Instruction equipment After receiving configuration-direct and receiving successful signal, prompting or light prompt are made a sound.
In the present embodiment, subsystem is encoded for mobile terminal subsystem and server end by the way that coding is sent System Partition System, reduces the information processing work amount and amount of storage of mobile terminal, reduces the requirement to the hardware configuration of mobile terminal, Use scope of the present invention in mobile terminal is expanded, easy to promote.
The method and step of the present embodiment is as follows:
Step 1:The network configuration parameters of target device are modulated into speech simulation signal and are played;
Step 2:The speech simulation signal is gathered, system is demodulated to the speech simulation signal, obtains target device Network configuration parameters, and according to the network configuration parameters implement configure.
Step 1 is specially:
Step 1A:The network initial configuration state and network operation state of target device are detected, if state is different Often, then the control instruction of collection sound is sent, and abnormal signal is sent to instruction equipment;Collection is not sent if detection is normal The control instruction of sound, and send normal signal to instruction equipment;
Step 1B:The network configuration parameters needed for target device progress network configuration are collected, by the network configuration parameters It is compiled as the form arranged with coding reception system;
Step 1C:Detect the validity and legitimacy of the network configuration parameters;
Step 1D:The network configuration parameters are encrypted, check code is added to encrypted network configuration parameters;
Step 1E:The network configuration parameters for encrypting and adding check code are changed, generate pulse code modulation signal;
Step 1F:Receive the pulse code modulation signal;
Step 1G:The pulse code modulation signal is subjected to D/A conversions, speech simulation signal is generated, amplifies and play The speech simulation signal.
Step 2 specifically,
Step 2A:The control instruction of collection sound is received, picks up the speech simulation signal that step 1G is played, and to described Speech simulation signal carries out A/D and is converted to pulse code modulation signal;
Step 2B:The pulse code modulation signal is carried out to the conversion opposite with step 1E, encrypted network is obtained and matches somebody with somebody Put parameter;
Step 2C:Detect the integrality of network configuration parameters and be decrypted, step 2D is performed if complete;Such as Fruit is imperfect, re-executes step 2A;
Step 2D:Network configuration is implemented to target device according to network configuration parameters, and sends configuration to instruction equipment and refers to Order receives successful signal.
Embodiment three
Fig. 5 is that three module relationship of device embodiment that the present invention uses acoustic coding to carry out network configuration for equipment is illustrated Figure, as shown in figure 5, encoding transmission system on the basis of embodiment two, in the present embodiment further includes audio compression module and sound Frequency decompression module, wherein, server code subsystem includes audio compression module, and mobile terminal subsystem includes audio decompression Contracting module.Audio compression module presses pulse code modulation signal after modulation module generates pulse code modulation signal Contracting is handled, and obtains compressed data, and compressed data is sent to mobile terminal subsystem through network.To pulse code modulation signal It is compressed in processing, different compression methods can be selected according to actual conditions, so as to form the compressed data of different-format.This The compression method for the compressed data of MP3 format by pulse code modulation signal PCM compression can be selected in invention, or select arteries and veins Rush the compression method for the compressed data that modulation signals PCM compression is AAC forms.
After audio signal reception unit in mobile terminal subsystem receives the compressed data, audio decompression module Compressed data is unziped it, and the result of decompression is sent to playing module.Due to mobile terminal subsystem and service Device code-subsystem is needed by remote data transfer, and increasing audio compression module and audio decompression module can protect In the case that card needs the data content that transmits constant, save memory capacity and reduce transmission time.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.

Claims (4)

1. it is a kind of use acoustic coding for equipment carry out network configuration device, it is characterised in that including coding transmission system and Encode reception system;
The coding transmission system, it is used to the network configuration parameters of target device being modulated into speech simulation signal and plays;
The coding transmission system is divided into mobile terminal subsystem and server end code-subsystem, the mobile terminal subsystem Mobile terminal is arranged at, the server end code-subsystem is arranged at remote server, and the coding reception system is arranged at In the target device needed to configure;
The mobile terminal subsystem includes network communication module and playing module;The network communication module includes configuration and edits Unit and audio signal reception unit;The server end code-subsystem includes validity and screens module, cryptographic check module And modulation module;
The network communication module, it is used to be communicated by network communication protocol and server end code-subsystem;
The configuration edit cell, it is used to collect the network configuration parameters needed for target device progress network configuration, by network Configuration parameter is compiled as the form arranged with coding reception system;
The validity screens module, it is used for the validity and legitimacy that detect the network configuration parameters;
The cryptographic check module, it is used to the network configuration parameters be encrypted, and encrypted network configuration is joined Number addition check code;
The modulation module, it is used to change the network configuration parameters for encrypting and adding check code, generates pulse code Modulated signal;
Audio signal reception unit, it is used to receive the pulse code modulation signal, and sends it to playing module;
The playing module, it is used to the pulse code modulation signal carrying out D/A conversions, generates speech simulation signal, put It is big and play the speech simulation signal;
The coding reception system, it is used to gather the speech simulation signal that the coding sends system plays, to the sound Analog signal is demodulated system, obtains the network configuration parameters of target device, and implement to configure according to the network configuration parameters;
The coding reception system includes network state detection module, sound acquisition module, demodulation module, verification deciphering module With network configuration and feedback module;
The network state detection module, it is used to examine the initial configuration state and network operation state of target device Survey, if abnormal state, the control instruction of collection sound is sent to sound acquisition module, and abnormal letter is sent to instruction equipment Number;The control instruction of collection sound is not sent if detection is normal, and sends normal signal to instruction equipment;
The sound acquisition module, it is used for the control instruction according to the collection sound, the sound that pickup playing module is played Sound analog signal, and A/D is carried out to the speech simulation signal and is converted to pulse code modulation signal;
The demodulation module, it is used to carrying out the pulse code modulation signal into the conversion opposite with modulation module, obtains Encrypted network configuration parameters;
The verification deciphering module, it is used to detect the integrality of the network configuration parameters and is decrypted, if complete Whole then send implements configuration-direct to network configuration and feedback module, sends to resurvey to instruct if imperfect and is adopted to sound Collect module;
The network configuration and feedback module, set the target for being currently needed for carrying out network configuration according to the network configuration parameters It is standby to implement network configuration, and send configuration-direct to instruction equipment and receive successful signal.
A kind of 2. device for using acoustic coding to carry out network configuration for equipment according to claim 1, it is characterised in that institute State coding transmission system to be arranged in mobile terminal, the coding reception system is arranged in the target device needed to configure.
A kind of 3. device for using acoustic coding to carry out network configuration for equipment according to claim 1, it is characterised in that institute State coding transmission system and further include audio compression module and audio decompression module;
The audio compression module, it is arranged in server end code-subsystem, for the pulse code modulation signal It is compressed, obtains compressed data, and compressed data is issued into audio decompression module;
The audio decompression module, it is arranged in mobile terminal subsystem, for being unziped it to compressed data, will be solved The result of compression is sent to playing module.
A kind of 4. method for using acoustic coding to carry out network configuration for equipment, it is characterised in that comprise the following steps;
Step 1:The network configuration parameters of target device are modulated into speech simulation signal and are played;
Step 1 is specially:
Step 1A:The network initial configuration state and network operation state of target device are detected, if abnormal state, The control instruction of collection sound is sent, and abnormal signal is sent to instruction equipment;Collection sound is not sent if detection is normal Control instruction, and send normal signal to instruction equipment;
Step 1B:The network configuration parameters needed for target device progress network configuration are collected, by the network configuration parameters editor For the form arranged with coding reception system;
Step 1C:Detect the validity and legitimacy of the network configuration parameters;
Step 1D:The network configuration parameters are encrypted, check code is added to encrypted network configuration parameters;
Step 1E:The network configuration parameters for encrypting and adding check code are changed, generate pulse code modulation signal;
Step 1F:Receive the pulse code modulation signal;
Step 1G:The pulse code modulation signal is subjected to D/A conversions, generates speech simulation signal, amplifies and plays described Speech simulation signal;
Step 2:The speech simulation signal is gathered, system is demodulated to the speech simulation signal, obtains the net of target device Network configures parameter, and implements to configure according to the network configuration parameters;
The step 2 specifically,
Step 2A:The control instruction of collection sound is received, picks up the speech simulation signal that step 1G is played, and to the sound Analog signal carries out A/D and is converted to pulse code modulation signal;
Step 2B:The pulse code modulation signal is carried out to the conversion opposite with step 1E, obtains encrypted network configuration ginseng Number;
Step 2C:Detect the integrality of network configuration parameters and be decrypted, step 2D is performed if complete;If no It is complete then re-execute step 2A;
Step 2D:Network configuration is implemented to target device according to network configuration parameters, and sends configuration-direct to instruction equipment and connects Receive successful signal.
CN201510092221.0A 2015-02-28 2015-02-28 A kind of apparatus and method for using acoustic coding to carry out network configuration for equipment Active CN104702373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510092221.0A CN104702373B (en) 2015-02-28 2015-02-28 A kind of apparatus and method for using acoustic coding to carry out network configuration for equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510092221.0A CN104702373B (en) 2015-02-28 2015-02-28 A kind of apparatus and method for using acoustic coding to carry out network configuration for equipment

Publications (2)

Publication Number Publication Date
CN104702373A CN104702373A (en) 2015-06-10
CN104702373B true CN104702373B (en) 2018-04-17

Family

ID=53349176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510092221.0A Active CN104702373B (en) 2015-02-28 2015-02-28 A kind of apparatus and method for using acoustic coding to carry out network configuration for equipment

Country Status (1)

Country Link
CN (1) CN104702373B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484342B (en) * 2016-09-13 2022-01-07 北京三快在线科技有限公司 Equipment configuration method and device, printer and electronic equipment
CN108093400B (en) * 2016-11-22 2021-01-29 南宁富桂精密工业有限公司 Device and method for transmitting and receiving WiFi parameters
CN107566168A (en) * 2017-08-23 2018-01-09 深圳市思友科技有限公司 Remote configuring method, equipment configuration method and remote configuration facility method
CN110198242A (en) * 2019-06-06 2019-09-03 百度在线网络技术(北京)有限公司 Distribution method, apparatus and storage medium for speech ciphering equipment
CN113098629B (en) * 2021-03-31 2022-12-27 北京小米移动软件有限公司 Network distribution method, device and storage medium
CN114301773A (en) * 2021-12-29 2022-04-08 深圳市联洲国际技术有限公司 Configuration method of network equipment, device thereof and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159844A (en) * 2007-11-06 2008-04-09 中兴通讯股份有限公司 Session television system with radio microphone and information processing method thereof
CN102056328A (en) * 2009-10-28 2011-05-11 联想(北京)有限公司 Method for establishing wireless connection and terminals
WO2011150878A3 (en) * 2011-06-21 2012-05-24 华为终端有限公司 Touch screen and control method of touch screen
CN103166702A (en) * 2013-02-05 2013-06-19 何建亿 Method and device for configuring wireless network in voice frequency mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159844A (en) * 2007-11-06 2008-04-09 中兴通讯股份有限公司 Session television system with radio microphone and information processing method thereof
CN102056328A (en) * 2009-10-28 2011-05-11 联想(北京)有限公司 Method for establishing wireless connection and terminals
WO2011150878A3 (en) * 2011-06-21 2012-05-24 华为终端有限公司 Touch screen and control method of touch screen
CN103166702A (en) * 2013-02-05 2013-06-19 何建亿 Method and device for configuring wireless network in voice frequency mode

Also Published As

Publication number Publication date
CN104702373A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN104702373B (en) A kind of apparatus and method for using acoustic coding to carry out network configuration for equipment
CN103117836B (en) Method and apparatus for equipment association
CN104702437B (en) A kind of device for using Quick Response Code to carry out network configuration for equipment
CN104602364B (en) The method and wireless device, intelligent terminal of wireless device connection wireless access point
WO2013071209A1 (en) Method and system for pairing devices
CN204009060U (en) A kind of ultrasonic positioner
CN103260152B (en) The equipment of a kind of mobile terminal sound communication safety supervision and method
CN201491091U (en) Digital interphone
CN104581986A (en) Wireless connection method and equipment
EP3358861B1 (en) Radio activation and pairing through an acoustic signal between a personal communication device and a head-worn device
CN102421036A (en) Digital interphone
CN101827196A (en) Video communication method, system and device
CN106304078A (en) The method and apparatus of home appliance access network
CN106375024B (en) Acoustic communication system and method
CN203027256U (en) Communication device and communication system
KR101840013B1 (en) Proximity payment system using inaudible sound wave technology
US6975853B2 (en) Personal identification device for mobile telephone
CN203482192U (en) Wireless communication apparatus
CN108134622A (en) A kind of method and smart machine that control instruction is sent using Bluetooth audio frequency
CN205005252U (en) Earphone is shared to human near field communication music
CN103648107A (en) A method for simultaneously supervising voice and short message communication of a mobile terminal in real time
TWI252705B (en) GPS microphone for communication system
WO2013162414A1 (en) Terminal for wireless voice communication
CN206024039U (en) A kind of multiple wireless mike
WO2012174676A1 (en) An intelligent monitoring system using the mobile communication network

Legal Events

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