Summary of the invention
The object of the present invention is to provide a kind of verification information processing method, with solve home electronics in the prior art and
The transmission of verification information cannot achieve and problem inconvenient for use between mobile terminal.
To achieve the above object, on the one hand, the present invention provides a kind of verification information processing methods, comprising:
Mobile terminal receives the verification information of user's input, and the verification information includes service set SSID and user's peace
Full information;
The verification information is subjected to coded treatment, is verified information coding;
The verification information is encoded and carries out audio modulation processing, obtains audio signal, the audio signal includes described
Verification information coding;
The audio signal is sent to controlled terminal by audio output interface;
The audio signal is decoded by the controlled terminal, obtains the verification information;
It is connected to the network according to the verification information with routing device.
Further, described encode the verification information carries out audio modulation processing, obtains audio signal and specifically includes:
The verification information is encoded and carries out frequency modulation process by the mobile terminal, obtains compiling comprising the verification information
The audio signal of code.
Further, described encode the verification information carries out audio modulation processing, obtains audio signal and specifically includes:
The verification information is encoded and carries out amplitude modulation processing by the mobile terminal, obtains compiling comprising the verification information
The audio signal of code.
Further, described that the verification information is subjected to coded treatment, it is verified information coding and specifically includes:
The mobile terminal handles the verification information according to ASCII ASCII, obtains
The verification information coding.
Further, described the audio signal is sent to controlled terminal by audio output interface to specifically include:
The mobile terminal sends the audio signal by the audio output interface using audio transmission line;
The controlled terminal receives the audio signal by signaling interface.
Further, described network connection is carried out according to the verification information and routing device to specifically include:
The controlled terminal is connected to the network according to the verification information by WLAN and the routing device.
On the other hand, the present invention provides a kind of verification information processing system, including the invention relates to movement
Terminal, routing device and controlled terminal.
Verification information processing method and system provided in an embodiment of the present invention, mobile terminal receive the verifying letter of user's input
Breath, verification information includes service set SSID and user security information;Verification information is subjected to coded treatment, is verified letter
Breath coding;Verification information is encoded and carries out audio modulation processing, obtains audio signal, audio signal is encoded comprising verification information;
Audio signal is sent to controlled terminal by audio output interface;Audio signal is decoded by controlled terminal, is verified
Information;It is connected to the network according to verification information and routing device.Method and system provided in an embodiment of the present invention, mobile terminal
Controlled terminal will be sent to by audio output interface after verification information progress coded treatment, controlled terminal is logical according to verification information
It crosses WLAN and is connected to routing device, thus realize that information is transmitted, it is easy to use without carrying out complicated mode setting.
Specific embodiment
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Mobile terminal in the embodiment of the present invention refers specifically to the terminal device with processing and display capabilities, for example, notes
This computer, tablet computer, smart phone etc..Controlled terminal is home electronics, for example, air cleaning facility, temperature and humidity are examined
Measurement equipment etc..
Fig. 1 is the flow chart for the verification information processing method that the embodiment of the present invention one provides.As shown in Figure 1, the present invention is real
The verification information processing method for applying example includes:
Step 101, mobile terminal receives the verification information of user's input, and verification information includes service set SSID and use
Family security information.
Wherein, service set (Service Set Identifier, SSID) technology can be by a WLAN
It is divided into several sub-networks for needing different identity to verify, each sub-network requires independent authentication, only passes through body
The user of part verifying can just enter corresponding sub-network, prevent unauthorized user from entering present networks.User passes through movement
Verification information is sent to controlled terminal by terminal, so that controlled terminal be made to access corresponding sub-network.It further include using in verification information
Family security information, it is therefore an objective to guarantee the safety used.User security information includes pre-set username information or close
Code information etc..
Step 102, verification information is subjected to coded treatment, is verified information coding.
Specifically, mobile terminal is by verification information according to ASCII (American Standard
Code for Information Interchange, ASCII) it is handled, it is verified information coding.
Since mobile terminal needs verification information being transferred to controlled terminal, it is therefore desirable to verification information is converted,
It is converted into being convenient for the coding form of transmission.Verification information is encoded according to ASCII ASCII
Conversion is a kind of optional mode, and those skilled in the art can also carry out code conversion by other means, be converted into it
The coding of his type.
Step 103, verification information is encoded and carries out audio modulation processing, obtain audio signal, audio signal includes verifying
Information coding.
Specifically, mobile terminal, which encodes verification information, carries out frequency modulation(PFM) or amplitude modulation processing, obtain comprising testing
Demonstrate,prove the audio signal of information coding.
For not containing the mobile terminal of USB interface, verification information is transmitted by audio output interface.Therefore, it is necessary to will
Verification information coded treatment carries out data transmission at audio signal convenient for subsequent.It can also be modulated place by other means
Reason, for example, angle modulation, phase modulation, double-side band modulation, single-side belt modulation, residual sideband modulation, orthogonal amplitude modulating and changing, numerical digit
Modulation mode, amplitude excursion modulation, phase offset modulation, orthogonal amplitude modulating and changing, frequency shift (FS) modulation, continuous phase modulation etc..
Step 104, audio signal is sent to controlled terminal by audio output interface.
Specifically, mobile terminal sends audio signal by audio output interface using audio transmission line;Controlled terminal is logical
It crosses signaling interface and receives audio signal.
Carried out data transmission by wired mode more stable, it is not easy to be interfered.Therefore, mobile terminal utilizes audio
Transmission line is by audio signal transmission to controlled terminal.Controlled terminal passes through audio interface or other interface audio signals.
Step 105, audio signal is decoded by controlled terminal, is verified information.
Specifically, the audio signal encoded comprising verification information that controlled terminal sends mobile terminal carries out at demodulation
Reason is verified information coding, then verification information coding is decoded processing and obtains original verification information.
Step 106, it is connected to the network according to verification information and routing device.
Controlled terminal is connected to the network according to verification information by WLAN and routing device.Wherein, routing is set
It is standby specifically to can be wireless router etc..The sub-network of corresponding WLAN is connected to by the SSID in verification information,
Whether there is the permission of access sub-network to verify user by the user security information in verification information, if verifying is logical
It crosses, then controlled terminal is successfully accessed sub-network, and it is subsequent to carry out data communication with mobile terminal, receive what mobile terminal was sent
Information is controlled, corresponding operation is executed.
Verification information processing method provided in an embodiment of the present invention, mobile terminal receive the verification information of user's input, test
Demonstrate,proving information includes service set SSID and user security information;Verification information is subjected to coded treatment, is verified information volume
Code;Verification information is encoded and carries out audio modulation processing, obtains audio signal, audio signal is encoded comprising verification information;By sound
Frequency signal is sent to controlled terminal by audio output interface;Audio signal is decoded by controlled terminal, is verified information;
It is connected to the network according to verification information and routing device.Method provided in an embodiment of the present invention, mobile terminal is by verification information
Controlled terminal is sent to by audio output interface after progress coded treatment, controlled terminal passes through wireless local area according to verification information
Net is connected to routing device, thus realize that information is transmitted, it is easy to use without carrying out complicated mode setting.
Fig. 2 is the schematic diagram of verification information processing system provided by Embodiment 2 of the present invention.As shown in Fig. 2, system includes
Mobile terminal 1, controlled terminal 2 and routing device 3.
Mobile terminal 1 receives the verification information of user's input, and verification information includes service set SSID and user security
Information;Verification information is subjected to coded treatment, is verified information coding;Verification information is encoded and carries out audio modulation processing,
Audio signal is obtained, audio signal is encoded comprising verification information;Audio signal is sent to controlled end by audio output interface
End 2;Audio signal is decoded by controlled terminal 2, is verified information;Network is carried out according to verification information and routing device 3
Connection.
Wherein, service set (Service Set Identifier, SSID) technology can be by a WLAN
It is divided into several sub-networks for needing different identity to verify, each sub-network requires independent authentication, only passes through body
The user of part verifying can just enter corresponding sub-network, prevent unauthorized user from entering present networks.User passes through movement
Verification information is sent to controlled terminal 2 by terminal 1, so that controlled terminal 2 be made to access corresponding sub-network.Further include in verification information
User security information, it is therefore an objective to guarantee the safety used.User security information include pre-set username information or
Encrypted message etc..
Mobile terminal 1 is by verification information according to ASCII (American Standard Code
For Information Interchange, ASCII) it is handled, it is verified information coding.
Since mobile terminal 1 needs verification information being transferred to controlled terminal, it is therefore desirable to verification information is converted,
It is converted into being convenient for the coding form of transmission.Verification information is encoded according to ASCII ASCII
Conversion is a kind of optional mode, and those skilled in the art can also carry out code conversion by other means, be converted into it
The coding of his type.
Mobile terminal 1, which encodes verification information, carries out frequency modulation(PFM) or amplitude modulation processing, obtains comprising verification information
The audio signal of coding.
For not containing the mobile terminal 1 of USB interface, verification information is transmitted by audio output interface.Therefore, it is necessary to will
Verification information coded treatment carries out data transmission at audio signal convenient for subsequent.It can also be modulated place by other means
Reason, for example, angle modulation, phase modulation, double-side band modulation, single-side belt modulation, residual sideband modulation, orthogonal amplitude modulating and changing, numerical digit
Modulation mode, amplitude excursion modulation, phase offset modulation, orthogonal amplitude modulating and changing, frequency shift (FS) modulation, continuous phase modulation etc..
Mobile terminal 1 sends audio signal by audio output interface using audio transmission line;Controlled terminal 2 passes through signal
Interface audio signal.Carried out data transmission by wired mode more stable, it is not easy to be interfered.Therefore, mobile whole
End 1 utilizes audio transmission line by audio signal transmission to controlled terminal 2.Controlled terminal 2 passes through audio interface or other interfaces
Receive audio signal.
The audio signal comprising verification information coding that controlled terminal 2 sends mobile terminal 1 carries out demodulation processing, obtains
It is encoded to verification information, then verification information coding is decoded processing and obtains original verification information.
Controlled terminal 2 is connected to the network according to verification information by WLAN and routing device.Wherein, routing is set
Standby 3 specifically can be wireless router etc..The sub-network of corresponding WLAN is connected to by the SSID in verification information,
Whether there is the permission of access sub-network to verify user by the user security information in verification information, if verifying is logical
It crosses, then controlled terminal 2 is successfully accessed sub-network, and it is subsequent to carry out data communication with mobile terminal, it receives mobile terminal 1 and sends
Control information, execute corresponding operation.
Verification information processing system provided in an embodiment of the present invention, mobile terminal receive the verification information of user's input, test
Demonstrate,proving information includes service set SSID and user security information;Verification information is subjected to coded treatment, is verified information volume
Code;Verification information is encoded and carries out audio modulation processing, obtains audio signal, audio signal is encoded comprising verification information;By sound
Frequency signal is sent to controlled terminal by audio output interface;Audio signal is decoded by controlled terminal, is verified information;
It is connected to the network according to verification information and routing device.System provided in an embodiment of the present invention, mobile terminal is by verification information
Controlled terminal is sent to by audio output interface after progress coded treatment, controlled terminal passes through wireless local area according to verification information
Net is connected to routing device, thus realize that information is transmitted, it is easy to use without carrying out complicated mode setting.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.