CN104754580A - Smart household device connecting method and smart terminal - Google Patents
Smart household device connecting method and smart terminal Download PDFInfo
- Publication number
- CN104754580A CN104754580A CN201510118271.1A CN201510118271A CN104754580A CN 104754580 A CN104754580 A CN 104754580A CN 201510118271 A CN201510118271 A CN 201510118271A CN 104754580 A CN104754580 A CN 104754580A
- Authority
- CN
- China
- Prior art keywords
- link information
- intelligent terminal
- home device
- intelligent home
- data channel
- 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.)
- Pending
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a smart household device connecting method and a smart terminal. The method includes utilizing the smart terminal as a main device for building a first wireless data channel through a wireless communication module of the smart terminal based on first connection information after acquiring the first connection information of a smart household device to enable the smart household device to directly build the first wireless data channel with the smart terminal based on the first connection information and transmit second connection information of the smart household device based on the first wireless data channel when the first wireless data channel is built. Therefore, the smart household device can build a second wireless data channel with a central control device according to the second connection information to achieve automatic connection of the household device and the central control device to further simplify the connection process of the smart household device and the central control device. When the first wireless data channel is built, the second connection information can be transmitted to the smart household device immediately, second connection information transmission success rate is increased, and the connection success rate is further increased.
Description
Technical field
The present invention relates to Smart Home technical field, particularly a kind of method of attachment of intelligent home device and intelligent terminal.
Background technology
Smart Home is that thing connectionization embodies under the impact of Internet of Things, its by technology of Internet of things by the various intelligent home devices in family, as audio & video equipment, lighting apparatus, curtain control appliance connect together with security device etc., to provide the several functions such as the control of home wiring control, Lighting control, curtain and burglar alarm.Compared with common household, Smart Home not only has traditional inhabitation function, have both the advantages such as network service, information household appliances, equipment automatization, omnibearing information interaction function is provided, help family to keep information interchange unimpeded with outside, the life style of optimizing user, help user effectively to arrange the time, strengthen the fail safe of life staying idle at home, even economize on the use of funds for various energy expenditure.
For realizing the control to various intelligent home device, usual in Smart Home is control device with router, intelligent home device is connected on router, when router receive that user sent by the intelligent terminal such as mobile phone for control intelligent home device request after, router controls corresponding intelligent home device according to its request received.But intelligent home device is connected to that process on router is comparatively loaded down with trivial details and to connect into power lower.
Summary of the invention
In view of this, the invention provides a kind of method of attachment and intelligent terminal of intelligent home device, connect into power for simplifying connection procedure and improving.Technical scheme is as follows:
The invention provides a kind of method of attachment of intelligent home device, be applied in intelligent terminal, described method comprises:
Obtain the first link information of intelligent home device, described first link information is the direct automatic acquisition of described intelligent home device and identification information in wireless connections or described first link information are the direct automatic acquisition of described intelligent home device and the authentication information of identification information in wireless connections and described identification information;
Based on described first link information by the wireless communication module of described intelligent terminal using described intelligent terminal as the main equipment setting up the first wireless data channel, directly set up described first wireless data channel with described intelligent terminal to make described intelligent home device based on described first link information;
When described first wireless data channel has been set up, based on described first wireless data channel, the second link information is transferred to described intelligent home device, the second wireless data channel is set up according to described second link information and control device to make described intelligent home device, wherein, described second link information is the link information that described intelligent terminal and described control device set up the 3rd wireless data channel.
Preferably, described method also comprises: obtain the first enciphered message by the convenient acquisition device of described intelligent terminal from described intelligent home device;
Be encrypted described second link information based on described first enciphered message, described second link information after encryption, when described first RFDC has been set up, is transferred to described intelligent home device based on described first wireless data channel.
Preferably, described based on described first link information by the wireless communication module of described intelligent terminal using described intelligent terminal as the main equipment setting up the first wireless data channel, comprising:
In described intelligent terminal, set up by the wireless communication module of described intelligent terminal the software access point mated with described first link information based on described first link information, the link information of wherein said software access point is consistent with described first link information.
Preferably, the first link information of described acquisition intelligent home device, comprising: obtain described first link information by the convenient acquisition device of described intelligent terminal from described intelligent home device.
Preferably, the described convenient acquisition device by described intelligent terminal obtains described first link information from intelligent home device, comprising:
The Quick Response Code that described intelligent home device is arranged is scanned, to obtain image in 2 D code by described convenient acquisition device;
By described convenient acquisition device, described image in 2 D code is identified, obtain described first link information of carrying in described image in 2 D code.
Preferably, the described convenient acquisition device by described intelligent terminal obtains described first link information from intelligent home device, comprising:
Near-field communication is carried out by the near field communication means of described intelligent terminal and described intelligent home device;
The first link information is obtained by described convenient acquisition device from described intelligent home device near field communication processes.
The present invention also provides a kind of intelligent terminal, and described intelligent terminal comprises:
First acquisition device, for obtaining the first link information of intelligent home device, described first link information is the direct automatic acquisition of described intelligent home device and identification information in wireless connections or described first link information are the direct automatic acquisition of described intelligent home device and the authentication information of identification information in wireless connections and described identification information;
Construction device, for based on described first link information by the wireless communication module of described intelligent terminal using described intelligent terminal as the main equipment setting up the first wireless data channel, directly set up described first wireless data channel with described intelligent terminal to make described intelligent home device based on described first link information;
Transmitting device, for when described first wireless data channel has been set up, based on described first wireless data channel, the second link information is transferred to described intelligent home device, the second wireless data channel is set up according to described second link information and control device to make described intelligent home device, wherein, described second link information is the link information that described intelligent terminal and described control device set up the 3rd wireless data channel.
Preferably, described intelligent terminal also comprises: the second acquisition device, obtains the first enciphered message for the convenient acquisition device by described intelligent terminal from described intelligent home device;
Encryption device, for being encrypted described second link information based on described first enciphered message, described second link information after encryption, when described first RFDC has been set up, is transferred to described intelligent home device based on described first wireless data channel.
Preferably, described construction device specifically for: in described intelligent terminal, set up by the wireless communication module of described intelligent terminal the software access point mated with described first link information based on described first link information, the link information of wherein said software access point is consistent with described first link information.
Preferably, described first acquisition device obtains described first link information by the convenient acquisition device of described intelligent terminal from described intelligent home device.
Preferably, described first acquisition device specifically for: by described convenient acquisition device, the Quick Response Code that described intelligent home device is arranged is scanned, to obtain image in 2 D code, and by described convenient acquisition device, described image in 2 D code is identified, obtain described first link information of carrying in described image in 2 D code.
Preferably, described intelligent terminal also comprises: near field communication means, carry out near-field communication for intelligent terminal and described intelligent home device, described near field communication processes, the first acquisition device obtains the first link information by described convenient acquisition device from described intelligent home device.
Compared with prior art, technical scheme tool provided by the invention has the following advantages:
The method of attachment of intelligent home device provided by the invention and intelligent terminal are after the first link information obtaining intelligent home device, based on the first link information by the wireless communication module of intelligent terminal using intelligent terminal as the main equipment setting up the first wireless data channel, make intelligent home device based on the first link information directly and intelligent terminal set up the first wireless data channel, and when the first wireless data channel has been set up, based on the first wireless data channel, the second link information is transferred to intelligent home device, such intelligent home device then can set up the second wireless data channel according to the second link information and control device, realize certainly being dynamically connected of intelligent home device and control device, thus the process that simplified intelligent home equipment and control device connect.
And when the first wireless data channel has been set up, at once the second link information can be transferred to intelligent home device, improve the success rate of transmission second link information, and then raising connects into power.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of flow chart of the method for attachment of the intelligent home device that Fig. 1 provides for the embodiment of the present invention;
The another kind of flow chart of the method for attachment of the intelligent home device that Fig. 2 provides for the embodiment of the present invention;
A kind of structural representation of the intelligent terminal that Fig. 3 provides for the embodiment of the present invention;
The another kind of structural representation of the intelligent terminal that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Better the embodiment of the present invention is understood in order to make those skilled in the art, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, it illustrates a kind of flow chart of the method for attachment of the intelligent home device that the embodiment of the present invention provides, the method of attachment of this intelligent home device is applied in intelligent terminal, using intelligent terminal as setting up the main equipment of the first wireless data channel communicated with intelligent home device, with this interactive intelligence home equipment and control device for setting up the second link information of the second wireless data channel.The method of attachment of intelligent home device shown in Fig. 1 can comprise the following steps in embodiments of the present invention:
101: the first link information obtaining intelligent home device.Wherein the first link information sets up the first wireless data channel for intelligent home device and intelligent terminal.
In embodiments of the present invention, first link information can be the direct automatic acquisition of intelligent home device and identification information in wireless connections, described identification information is used for different intelligent home equipment to distinguish, it can be the identifier representing certain intelligent home device, as SSID (Service SetIdentifier, service set) number.Certainly in order to ensure the fail safe of setting up the first wireless data channel, the first link information, except comprising identification information, can also comprise the authentication information of identification information, as the password of identification information.And in order to realize from being dynamically connected, the first link information in the embodiment of the present invention can from intelligent home device by the mode automatic acquisitions such as scanning to.
Such as on intelligent terminal, increase by a convenient acquisition device, this convenient acquisition device at least can possess automatic scan and obtain function, and such intelligent terminal can obtain the first link information by convenient acquisition device from intelligent home device.
In embodiments of the present invention, a kind of feasible pattern obtaining the first link information from intelligent home device by convenient acquisition device is: convenient acquisition device has Quick Response Code scanning and image identification function, can be scanned the Quick Response Code that intelligent home device is arranged by convenient acquisition device like this, to obtain image in 2 D code, wherein carry the first link information in Quick Response Code.After obtaining image in 2 D code, by convenient acquisition device, image in 2 D code is identified, obtain first link information of carrying in image in 2 D code.
In embodiments of the present invention, the another kind of feasible pattern obtaining the first link information by convenient acquisition device from intelligent home device is: copy subway to enter the station the mode of swiping the card.The current subway process of swiping the card that enters the station is: on subway card and card reader, be provided with NFC (Near FieldCommunication simultaneously, near-field communication) device, NFC can be carried out between such subway card and card reader to set up NFC passage, make card reader can by the information of carrying in NFC passage automatic acquisition subway card.Copy this mode, in intelligent terminal and intelligent home device, NFC device is set respectively, carry out NFC by the NFC device of intelligent terminal and intelligent home device, in NFC process, obtain the first link information by convenient acquisition device from intelligent home device.Concrete, in NFC process, set up NFC passage between intelligent terminal and intelligent home device, the first link information can be obtained from intelligent home device by the convenient acquisition device of NFC passage.
102: based on the first link information by the wireless communication module of intelligent terminal using intelligent terminal as the main equipment setting up the first wireless data channel.When intelligent terminal is set to by wireless communication module the main equipment setting up the first wireless data channel, intelligent terminal then becomes the focus being carried out data interaction by the first wireless data channel and intelligent home device, intelligent home device can based on the first link information directly and intelligent terminal set up the first wireless data channel, wherein the first wireless data channel is for carrying out the data channel of data interaction between intelligent terminal and intelligent home device.
In embodiments of the present invention, intelligent terminal at least comprises WIFI (WIreless-Fidelity, Wireless Fidelity) communication module and bluetooth communication, same intelligent home device also at least comprises WIFI communication module and bluetooth communication, using intelligent terminal as when setting up the main equipment of the first wireless data channel, intelligent terminal can be chosen a communication module and carry out the communication mode of data interaction as with intelligent home device from above-mentioned two kinds of wireless communication modules, intelligent terminal is become set up the main equipment of the first wireless data channel.
Concrete, intelligent terminal sets up software access point by WIFI communication module or bluetooth communication on intelligent terminal, this software access point is the focus of intelligent terminal and intelligent home device data interaction, and intelligent home device can set up the first wireless data channel based on the first link information and intelligent terminal by this focus of search.
Such as intelligent terminal can set up WIFI hot spot by the WIFI network interface card of WIFI communication module on intelligent terminal, and intelligent home device can set up the first wireless data channel based on the first link information and intelligent terminal after searching this WIFI hot spot.
This is external when setting up software access point, and can set up the access point mated with the first link information, namely the link information of software access point is consistent with the first link information.When such as the first link information comprises identification information A and authentication information B, the link information of the software access point that intelligent terminal is set up also comprises identification information A and authentication information B.Such intelligent terminal then becomes special in the focus based on the intelligent home device of the first link information, make the connection of the first wireless data channel between intelligent terminal and intelligent home device more firm, the transmission rate of its first wireless data channel is faster, thus follow-up intelligent terminal is when transmission second link information is to intelligent home device, intelligent terminal can transmit the second link information more fast, and owing to connecting the possibility more firmly reducing the first wireless data channel and be disconnected, and then improve the success rate of transmission second link information, thus raising connects into power.
103: when the first wireless data channel has been set up, based on the first wireless data channel, the second link information is transferred to intelligent home device.Power is connected in embodiments of the present invention in order to improve, before the first wireless data channel has been set up, intelligent terminal has got the second link information, and therefore when the first wireless data channel has been set up, the second link information can be transferred to intelligent home device by intelligent terminal at once.Under normal circumstances within a period of time that a certain data channel has just been set up, the possibility that its data channel disconnects is less, therefore at this moment in, such as set up and at once transmitted the second link information and successfully the second link information can be transferred to intelligent home device, improved and connect into power.
After intelligent home device receives the second link information, intelligent home device sets up the second wireless data channel according to the second link information and control device, wherein, the second link information is the link information that intelligent terminal and control device set up the 3rd wireless data channel.
In embodiments of the present invention, second link information can be the direct automatic acquisition of control device and identification information in wireless connections, this identification information is used for different control device to distinguish, and it can be the identifier representing certain control device, as No. SSID of control device.Certainly in order to ensure the fail safe of setting up the 3rd wireless data channel, the second link information, except comprising identification information, can also comprise the authentication information of identification information, as the password of identification information.And in order to realize from being dynamically connected, the second link information in the embodiment of the present invention can from control device by the mode automatic acquisitions such as scanning to.Such as by convenient acquisition device automatic acquisition second link information of above-mentioned intelligent terminal.
In embodiments of the present invention, a kind of feasible pattern obtaining the second link information from control device by convenient acquisition device is: scanned the Quick Response Code that control device is arranged by convenient acquisition device, to obtain image in 2 D code, after obtaining image in 2 D code, by convenient acquisition device, image in 2 D code is identified, obtain second link information of carrying in image in 2 D code.
In embodiments of the present invention, the another kind of feasible pattern obtaining the second link information from control device by convenient acquisition device is: carry out NFC by the NFC device of intelligent terminal and control device, in NFC process, obtain the second link information by convenient acquisition device from control device.Concrete, in NFC process, set up NFC passage between intelligent terminal and control device, the second link information can be obtained from control device by the convenient acquisition device of NFC passage.
As can be seen from technique scheme, the method of attachment of the intelligent home device that the embodiment of the present invention provides is after the first link information obtaining intelligent home device, based on the first link information by the wireless communication module of intelligent terminal using intelligent terminal as the main equipment setting up the first wireless data channel, make intelligent home device based on the first link information directly and intelligent terminal set up the first wireless data channel, and when the first wireless data channel has been set up, based on the first wireless data channel, the second link information is transferred to intelligent home device, such intelligent home device then can set up the second wireless data channel according to the second link information and control device, realize certainly being dynamically connected of intelligent home device and control device, thus the process that simplified intelligent home equipment and control device connect.
And when the first wireless data channel has been set up, at once the second link information can be transferred to intelligent home device, improve the success rate of transmission second link information, and then raising connects into power.
Refer to Fig. 2, it illustrates the another kind of flow chart of the method for attachment of the intelligent home device that the embodiment of the present invention provides, can comprise the following steps:
201: the first link information obtaining intelligent home device, first link information is the direct automatic acquisition of intelligent home device and identification information in wireless connections, or the first link information is the direct automatic acquisition of intelligent home device and the authentication information of identification information in wireless connections and identification information.First link information can be arrived by the convenient acquisition device automatic acquisition of intelligent terminal in embodiments of the present invention, and detailed process can consult the related description of above-mentioned steps 101, no longer sets forth this embodiment of the present invention.
202: obtain the first enciphered message by the convenient acquisition device of intelligent terminal from intelligent home device.In embodiments of the present invention, first enciphered message and the first link information can be attached in a certain control simultaneously, as being integrated in some Quick Response Codes simultaneously, by convenient acquisition device, the Quick Response Code that intelligent home device is arranged is scanned like this, obtain image in 2 D code, and by convenient acquisition device, image in 2 D code is identified, obtain first link information of carrying in image in 2 D code and the first enciphered message simultaneously.Certain first enciphered message also can be carry out, in NFC process, being got from intelligent home device by convenient acquisition device at intelligent terminal and intelligent home device.
203: based on the first enciphered message, the second link information is encrypted.First enciphered message can be the encryption key be set in advance in intelligent home device in embodiments of the present invention, encryption key is adopted to be encrypted the second link information, to improve the fail safe of the second link information, and then improve the fail safe of the second wireless data channel, make the communication between intelligent home device and control device safer.
Wherein the second link information is the link information that intelligent terminal and control device set up the 3rd wireless data channel.It can be the direct automatic acquisition of control device and identification information in wireless connections, and this identification information is used for different control device to distinguish, and it can be the identifier representing certain control device, as No. SSID of control device.Certainly in order to ensure the fail safe of setting up the 3rd wireless data channel, the second link information, except comprising identification information, can also comprise the authentication information of identification information, as the password of identification information.And in order to realize from being dynamically connected, the second link information in the embodiment of the present invention can from control device by the mode automatic acquisitions such as scanning to.Such as by convenient acquisition device automatic acquisition second link information of above-mentioned intelligent terminal.
In embodiments of the present invention, a kind of feasible pattern obtaining the second link information from control device by convenient acquisition device is: scanned the Quick Response Code that control device is arranged by convenient acquisition device, to obtain image in 2 D code, after obtaining image in 2 D code, by convenient acquisition device, image in 2 D code is identified, obtain second link information of carrying in image in 2 D code.
In embodiments of the present invention, the another kind of feasible pattern obtaining the second link information from control device by convenient acquisition device is: carry out NFC by the NFC device of intelligent terminal and control device, in NFC process, obtain the second link information by convenient acquisition device from control device.Concrete, in NFC process, set up NFC passage between intelligent terminal and control device, the second link information can be obtained from control device by the convenient acquisition device of NFC passage.
204: based on the first link information by the wireless communication module of intelligent terminal using intelligent terminal as the main equipment setting up the first wireless data channel, with make intelligent home device based on the first link information directly and intelligent terminal set up the first wireless data channel, detailed process can consult the related description in above-mentioned steps 102.
205: when the first wireless data channel has been set up, based on the first wireless data channel, the second link information after encryption is transferred to intelligent home device.
Second link information of intelligent home device after receiving encryption, be decrypted to obtain the second link information to the second link information after encrypting according to the first decryption information mated with the first enciphered message, and set up the second wireless data channel based on the second link information and control device, such intelligent home device and control device can carry out data interaction by the second wireless data channel.
Corresponding with said method embodiment, the embodiment of the present invention also provides a kind of intelligent terminal, and its structural representation as shown in Figure 3, can comprise: the first acquisition device 11, construction device 12 and transmitting device 13.Wherein,
First acquisition device 11, for obtaining the first link information of intelligent home device, the first link information is used for intelligent home device and the first wireless data channel set up by intelligent terminal.
In embodiments of the present invention, first link information can be the direct automatic acquisition of intelligent home device and identification information in wireless connections, described identification information is used for different intelligent home equipment to distinguish, and it can be the identifier representing certain intelligent home device, as No. SSID.Certainly in order to ensure the fail safe of setting up the first wireless data channel, the first link information, except comprising identification information, can also comprise the authentication information of identification information, as the password of identification information.And in order to realize from being dynamically connected, the first acquisition device 11 can pass through the mode automatic acquisitions such as scanning to the first link information from intelligent home device.
Such as on intelligent terminal, increase by a convenient acquisition device, this convenient acquisition device at least can possess automatic scan and obtain function, and such first acquisition device 11 can obtain the first link information by convenient acquisition device from intelligent home device.
In embodiments of the present invention, a kind of feasible pattern obtaining the first link information from intelligent home device by convenient acquisition device is: convenient acquisition device has Quick Response Code scanning and image identification function, such first acquisition device 11 can be scanned the Quick Response Code that intelligent home device is arranged by convenient acquisition device, to obtain image in 2 D code, wherein carry the first link information in Quick Response Code.After obtaining image in 2 D code, the first acquisition device 11 is identified image in 2 D code by convenient acquisition device, obtains first link information of carrying in image in 2 D code.
In embodiments of the present invention, the another kind of feasible pattern obtaining the first link information by convenient acquisition device from intelligent home device is: copy subway to enter the station the mode of swiping the card.The current subway process of swiping the card that enters the station is: on subway card and card reader, be provided with NFC device simultaneously, NFC can be carried out between such subway card and card reader to set up NFC passage, make card reader can by the information of carrying in NFC passage automatic acquisition subway card.Copy this mode, in intelligent terminal and intelligent home device, NFC device is set respectively, carry out NFC by the NFC device of intelligent terminal and intelligent home device, in NFC process, the first acquisition device 11 obtains the first link information by convenient acquisition device from intelligent home device.Concrete, in NFC process, set up NFC passage between intelligent terminal and intelligent home device, the first link information can be obtained from intelligent home device by the convenient acquisition device of NFC passage.
Construction device 12, for based on the first link information by the wireless communication module of intelligent terminal using intelligent terminal as the main equipment setting up the first wireless data channel.When intelligent terminal is set to by wireless communication module the main equipment setting up the first wireless data channel, intelligent terminal then becomes the focus being carried out data interaction by the first wireless data channel and intelligent home device, intelligent home device can based on the first link information directly and intelligent terminal set up the first wireless data channel, wherein the first wireless data channel is for carrying out the data channel of data interaction between intelligent terminal and intelligent home device.
In embodiments of the present invention, intelligent terminal at least comprises WIFI communication module and bluetooth communication, same intelligent home device also at least comprises WIFI communication module and bluetooth communication, using intelligent terminal as when setting up the main equipment of the first wireless data channel, construction device 12 can be chosen a communication module and carry out the communication mode of data interaction as with intelligent home device from above-mentioned two kinds of wireless communication modules, intelligent terminal is become set up the main equipment of the first wireless data channel.
Concrete, construction device 12 sets up software access point by WIFI communication module or bluetooth communication on intelligent terminal, this software access point is the focus of intelligent terminal and intelligent home device data interaction, and intelligent home device can set up the first wireless data channel based on the first link information and intelligent terminal by this focus of search.
Such as construction device 12 can set up WIFI hot spot by the WIFI network interface card of WIFI communication module on intelligent terminal, and intelligent home device can set up the first wireless data channel based on the first link information and intelligent terminal after searching this WIFI hot spot.
This is external when setting up software access point, and can set up the access point mated with the first link information, namely the link information of software access point is consistent with the first link information.When such as the first link information comprises identification information A and authentication information B, the link information of the software access point that intelligent terminal is set up also comprises identification information A and authentication information B.Such intelligent terminal then becomes special in the focus based on the intelligent home device of the first link information, make the connection of the first wireless data channel between intelligent terminal and intelligent home device more firm, the transmission rate of its first wireless data channel is faster, thus follow-up intelligent terminal is when transmission second link information is to intelligent home device, intelligent terminal can transmit the second link information more fast, and owing to connecting the possibility more firmly reducing the first wireless data channel and be disconnected, and then improve the success rate of transmission second link information, thus raising connects into power.
Transmitting device 13, for when the first wireless data channel has been set up, has been transferred to intelligent home device based on the first wireless data channel by the second link information.
Power is connected in embodiments of the present invention in order to improve, before the first wireless data channel has been set up, intelligent terminal has got the second link information, therefore, when the first wireless data channel has been set up, the second link information can be transferred to intelligent home device by transmitting device 13 at once.Under normal circumstances within a period of time that a certain data channel has just been set up, the possibility that its data channel disconnects is less, therefore at this moment in, such as set up and at once transmitted the second link information and successfully the second link information can be transferred to intelligent home device, improved and connect into power.
After intelligent home device receives the second link information, intelligent home device sets up the second wireless data channel according to the second link information and control device, wherein, the second link information is the link information that intelligent terminal and control device set up the 3rd wireless data channel.
In embodiments of the present invention, second link information can be the direct automatic acquisition of control device and identification information in wireless connections, this identification information is used for different control device to distinguish, and it can be the identifier representing certain control device, as No. SSID of control device.Certainly in order to ensure the fail safe of setting up the 3rd wireless data channel, the second link information, except comprising identification information, can also comprise the authentication information of identification information, as the password of identification information.And in order to realize from being dynamically connected, the second link information in the embodiment of the present invention can from control device by the mode automatic acquisitions such as scanning to.Such as by convenient acquisition device automatic acquisition second link information of above-mentioned intelligent terminal.
In embodiments of the present invention, a kind of feasible pattern obtaining the second link information from control device by convenient acquisition device is: scanned the Quick Response Code that control device is arranged by convenient acquisition device, to obtain image in 2 D code, after obtaining image in 2 D code, by convenient acquisition device, image in 2 D code is identified, obtain second link information of carrying in image in 2 D code.
In embodiments of the present invention, the another kind of feasible pattern obtaining the second link information from control device by convenient acquisition device is: carry out NFC by the NFC device of intelligent terminal and control device, in NFC process, obtain the second link information by convenient acquisition device from control device.Concrete, in NFC process, set up NFC passage between intelligent terminal and control device, the second link information can be obtained from control device by the convenient acquisition device of NFC passage.
As can be seen from technique scheme, the intelligent terminal that the embodiment of the present invention provides is after the first link information obtaining intelligent home device, based on the first link information by the wireless communication module of intelligent terminal using intelligent terminal as the main equipment setting up the first wireless data channel, make intelligent home device based on the first link information directly and intelligent terminal set up the first wireless data channel, and when the first wireless data channel has been set up, based on the first wireless data channel, the second link information is transferred to intelligent home device, such intelligent home device then can set up the second wireless data channel according to the second link information and control device, realize certainly being dynamically connected of intelligent home device and control device, thus the process that simplified intelligent home equipment and control device connect.
And when the first wireless data channel has been set up, at once the second link information can be transferred to intelligent home device, improve the success rate of transmission second link information, and then raising connects into power.
Refer to Fig. 4, it illustrates the another kind of structural representation of the intelligent terminal that the embodiment of the present invention provides, Fig. 3 basis can also comprise: the second acquisition device 14 and encryption device 15.Wherein the second acquisition device 14, obtains the first enciphered message for the convenient acquisition device by intelligent terminal from intelligent home device.
In embodiments of the present invention, first enciphered message and the first link information can be attached in a certain control simultaneously, as being integrated in some Quick Response Codes simultaneously, by convenient acquisition device, the Quick Response Code that intelligent home device is arranged is scanned like this, obtain image in 2 D code, and by convenient acquisition device, image in 2 D code is identified, obtain first link information of carrying in image in 2 D code and the first enciphered message simultaneously.Certain first enciphered message also can be carry out, in NFC process, being got from intelligent home device by convenient acquisition device at intelligent terminal and intelligent home device.
Encryption device 15, for being encrypted the second link information based on the first enciphered message, the second link information after encryption, when the first RFDC has been set up, is transferred to intelligent home device based on the first wireless data channel.First enciphered message can be the encryption key be set in advance in intelligent home device in embodiments of the present invention, encryption key is adopted to be encrypted the second link information, to improve the fail safe of the second link information, and then improve the fail safe of the second wireless data channel, make the communication between intelligent home device and control device safer.
Second link information of intelligent home device after receiving encryption, be decrypted to obtain the second link information to the second link information after encrypting according to the first decryption information mated with the first enciphered message, and set up the second wireless data channel based on the second link information and control device, such intelligent home device and control device can carry out data interaction by the second wireless data channel.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Above the method for attachment of a kind of intelligent home device provided by the present invention and intelligent terminal are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (12)
1. a method of attachment for intelligent home device, is applied in intelligent terminal, it is characterized in that, described method comprises:
Obtain the first link information of intelligent home device, described first link information is the direct automatic acquisition of described intelligent home device and identification information in wireless connections or described first link information are the direct automatic acquisition of described intelligent home device and the authentication information of identification information in wireless connections and described identification information;
Based on described first link information by the wireless communication module of described intelligent terminal using described intelligent terminal as the main equipment setting up the first wireless data channel, directly set up described first wireless data channel with described intelligent terminal to make described intelligent home device based on described first link information;
When described first wireless data channel has been set up, based on described first wireless data channel, the second link information is transferred to described intelligent home device, the second wireless data channel is set up according to described second link information and control device to make described intelligent home device, wherein, described second link information is the link information that described intelligent terminal and described control device set up the 3rd wireless data channel.
2. method according to claim 1, is characterized in that, described method also comprises: obtain the first enciphered message by the convenient acquisition device of described intelligent terminal from described intelligent home device;
Be encrypted described second link information based on described first enciphered message, described second link information after encryption, when described first RFDC has been set up, is transferred to described intelligent home device based on described first wireless data channel.
3. method according to claim 1, is characterized in that, described based on described first link information by the wireless communication module of described intelligent terminal using described intelligent terminal as the main equipment setting up the first wireless data channel, comprising:
In described intelligent terminal, set up by the wireless communication module of described intelligent terminal the software access point mated with described first link information based on described first link information, the link information of wherein said software access point is consistent with described first link information.
4. method according to claim 1, is characterized in that, the first link information of described acquisition intelligent home device, comprising: obtain described first link information by the convenient acquisition device of described intelligent terminal from described intelligent home device.
5. method according to claim 4, is characterized in that, the described convenient acquisition device by described intelligent terminal obtains described first link information from intelligent home device, comprising:
The Quick Response Code that described intelligent home device is arranged is scanned, to obtain image in 2 D code by described convenient acquisition device;
By described convenient acquisition device, described image in 2 D code is identified, obtain described first link information of carrying in described image in 2 D code.
6. method according to claim 4, is characterized in that, the described convenient acquisition device by described intelligent terminal obtains described first link information from intelligent home device, comprising:
Near-field communication is carried out by the near field communication means of described intelligent terminal and described intelligent home device;
The first link information is obtained by described convenient acquisition device from described intelligent home device near field communication processes.
7. an intelligent terminal, is characterized in that, described intelligent terminal comprises:
First acquisition device, for obtaining the first link information of intelligent home device, described first link information is the direct automatic acquisition of described intelligent home device and identification information in wireless connections or described first link information are the direct automatic acquisition of described intelligent home device and the authentication information of identification information in wireless connections and described identification information;
Construction device, for based on described first link information by the wireless communication module of described intelligent terminal using described intelligent terminal as the main equipment setting up the first wireless data channel, directly set up described first wireless data channel with described intelligent terminal to make described intelligent home device based on described first link information;
Transmitting device, for when described first wireless data channel has been set up, based on described first wireless data channel, the second link information is transferred to described intelligent home device, the second wireless data channel is set up according to described second link information and control device to make described intelligent home device, wherein, described second link information is the link information that described intelligent terminal and described control device set up the 3rd wireless data channel.
8. intelligent terminal according to claim 7, is characterized in that, described intelligent terminal also comprises: the second acquisition device, obtains the first enciphered message for the convenient acquisition device by described intelligent terminal from described intelligent home device;
Encryption device, for being encrypted described second link information based on described first enciphered message, described second link information after encryption, when described first RFDC has been set up, is transferred to described intelligent home device based on described first wireless data channel.
9. intelligent terminal according to claim 7, it is characterized in that, described construction device specifically for: in described intelligent terminal, set up by the wireless communication module of described intelligent terminal the software access point mated with described first link information based on described first link information, the link information of wherein said software access point is consistent with described first link information.
10. intelligent terminal according to claim 7, is characterized in that, described first acquisition device obtains described first link information by the convenient acquisition device of described intelligent terminal from described intelligent home device.
11. intelligent terminals according to claim 10, it is characterized in that, described first acquisition device specifically for: by described convenient acquisition device, the Quick Response Code that described intelligent home device is arranged is scanned, to obtain image in 2 D code, and by described convenient acquisition device, described image in 2 D code is identified, obtain described first link information of carrying in described image in 2 D code.
12. intelligent terminals according to claim 10, it is characterized in that, described intelligent terminal also comprises: near field communication means, carry out near-field communication for intelligent terminal and described intelligent home device, described near field communication processes, the first acquisition device obtains the first link information by described convenient acquisition device from described intelligent home device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510118271.1A CN104754580A (en) | 2015-03-18 | 2015-03-18 | Smart household device connecting method and smart terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510118271.1A CN104754580A (en) | 2015-03-18 | 2015-03-18 | Smart household device connecting method and smart terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104754580A true CN104754580A (en) | 2015-07-01 |
Family
ID=53593547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510118271.1A Pending CN104754580A (en) | 2015-03-18 | 2015-03-18 | Smart household device connecting method and smart terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104754580A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851608A (en) * | 2015-12-07 | 2017-06-13 | 宏碁股份有限公司 | Network setting method and system for networking device |
CN109151772A (en) * | 2018-08-09 | 2019-01-04 | 珠海格力电器股份有限公司 | It is a kind of that network method and network distribution device are matched based on graphical identifier |
CN110933733A (en) * | 2019-10-14 | 2020-03-27 | 珠海格力电器股份有限公司 | Network distribution method, device, computer equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1871819A (en) * | 2003-11-06 | 2006-11-29 | 三洋电机株式会社 | Wireless communication terminal and connection information setting method |
CN101685631A (en) * | 2008-09-22 | 2010-03-31 | 索尼株式会社 | Information processing device and method, program, and information processing system |
US20120173744A1 (en) * | 2009-09-10 | 2012-07-05 | Kwang-Yong Lee | Wireless connection method and apparatus using image recognition in mobile communication terminal |
CN102883322A (en) * | 2012-09-28 | 2013-01-16 | 东莞宇龙通信科技有限公司 | Mobile terminal and WiFi (wireless fidelity) connection method for same |
CN102932786A (en) * | 2012-09-27 | 2013-02-13 | 腾讯科技(深圳)有限公司 | Information transmission method and terminal |
CN103068066A (en) * | 2012-12-24 | 2013-04-24 | 广东欧珀移动通信有限公司 | Intelligent mobile communication terminal and wireless network access method and system thereof |
CN103313430A (en) * | 2013-06-07 | 2013-09-18 | 杭州爱纬斯电子有限公司 | WiFi (wireless fidelity) connecting method using mobile terminal to configure network access equipment through WiFi and related equipment |
CN103607710A (en) * | 2013-12-02 | 2014-02-26 | 北京东方泰华投资有限公司 | Quick connection method and device for wireless devices and intelligent terminal |
CN103905903A (en) * | 2012-12-25 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Communication pairing method of digital television terminal, terminal and system |
-
2015
- 2015-03-18 CN CN201510118271.1A patent/CN104754580A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1871819A (en) * | 2003-11-06 | 2006-11-29 | 三洋电机株式会社 | Wireless communication terminal and connection information setting method |
CN101685631A (en) * | 2008-09-22 | 2010-03-31 | 索尼株式会社 | Information processing device and method, program, and information processing system |
US20120173744A1 (en) * | 2009-09-10 | 2012-07-05 | Kwang-Yong Lee | Wireless connection method and apparatus using image recognition in mobile communication terminal |
CN102932786A (en) * | 2012-09-27 | 2013-02-13 | 腾讯科技(深圳)有限公司 | Information transmission method and terminal |
CN102883322A (en) * | 2012-09-28 | 2013-01-16 | 东莞宇龙通信科技有限公司 | Mobile terminal and WiFi (wireless fidelity) connection method for same |
CN103068066A (en) * | 2012-12-24 | 2013-04-24 | 广东欧珀移动通信有限公司 | Intelligent mobile communication terminal and wireless network access method and system thereof |
CN103905903A (en) * | 2012-12-25 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Communication pairing method of digital television terminal, terminal and system |
CN103313430A (en) * | 2013-06-07 | 2013-09-18 | 杭州爱纬斯电子有限公司 | WiFi (wireless fidelity) connecting method using mobile terminal to configure network access equipment through WiFi and related equipment |
CN103607710A (en) * | 2013-12-02 | 2014-02-26 | 北京东方泰华投资有限公司 | Quick connection method and device for wireless devices and intelligent terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851608A (en) * | 2015-12-07 | 2017-06-13 | 宏碁股份有限公司 | Network setting method and system for networking device |
CN109151772A (en) * | 2018-08-09 | 2019-01-04 | 珠海格力电器股份有限公司 | It is a kind of that network method and network distribution device are matched based on graphical identifier |
CN110933733A (en) * | 2019-10-14 | 2020-03-27 | 珠海格力电器股份有限公司 | Network distribution method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11109185B2 (en) | Mesh network and mesh device and network distribution method thereof | |
CN108366362B (en) | MESH network and MESH equipment security network distribution method thereof | |
EP3484196B1 (en) | Method and apparatus for registering wireless device in wireless communication system | |
EP2991434A1 (en) | Connection establishment method and device | |
CN104754495A (en) | Smart household device connecting method and smart terminal | |
CN107006049A (en) | A kind of smart machine and its set up the method for equipment room bluetooth connection, device | |
CN105407450A (en) | Intelligent equipment, electronic device, and network connection method based on near-field communication | |
CN104378145A (en) | Pairing method and system of Bluetooth device | |
CN102869014A (en) | Terminal and data communication method | |
CN104777752A (en) | Intelligent household system and quick pairing method thereof | |
CN105472699A (en) | Access method and system of smart home device | |
CN104754496A (en) | Smart household device connecting method and smart terminal | |
CN104469660A (en) | Bluetooth-based networking method | |
CN105323824A (en) | WIFI equipment, electronic device and method for assisting WIFI equipment access to network | |
CN111163500A (en) | Two-dimensional code-based network distribution method and system for Internet of things equipment | |
CN105228264A (en) | A kind of quick WI-FI network matching method being applicable to Internet of Things | |
CN105636159A (en) | Configuration method and apparatus for connection between electrical appliance and wireless router and mobile communication terminal | |
CN105281809A (en) | Auxiliary bluetooth low-power-consumption equipment pairing method and system | |
CN103987038A (en) | Radio communication method and system | |
CN105069875A (en) | Electronic key, electronic devices and electronic device networking/pairing method | |
CN103634795A (en) | Wireless communication apparatus and method | |
CN105491034A (en) | Method for establishing connection with terminal and terminal authentication method and apparatus | |
CN104967994A (en) | Method and apparatus for accessing device into local area network | |
CN104754580A (en) | Smart household device connecting method and smart terminal | |
CN106658488B (en) | Intelligent household appliance and method and device for safely accessing intelligent household appliance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150701 |
|
RJ01 | Rejection of invention patent application after publication |