CN109995622A - Smart home device and its match network method, router, smart home system - Google Patents
Smart home device and its match network method, router, smart home system Download PDFInfo
- Publication number
- CN109995622A CN109995622A CN201711490964.9A CN201711490964A CN109995622A CN 109995622 A CN109995622 A CN 109995622A CN 201711490964 A CN201711490964 A CN 201711490964A CN 109995622 A CN109995622 A CN 109995622A
- Authority
- CN
- China
- Prior art keywords
- smart home
- home device
- network
- data transmission
- network information
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Match network method the invention discloses a kind of smart home device, the smart home device includes: that smart home device and data transmission set are established and communicated to connect with network method, wherein, the corresponding network information of router is stored in the data transmission set, the network information is the SSID and password of router;Obtain the network information stored in the data transmission set;According to the network information, the network configuration of the smart home device is carried out.The invention also discloses a kind of smart home device, router and smart home systems.The present invention improves the convenience that network configuration is carried out to smart home device.
Description
Technical field
The present invention relates to Smart Home technical field more particularly to a kind of smart home device and its with network method, routing
Device, smart home system.
Background technique
Smart home system is joined the various smart home devices such as the air conditioner of user, humidifier by technology of Internet of things
Net is realized to the intelligent control of each smart home device, optimizes the life style of user.Currently, user is to smart home
When equipment carries out network configuration, generally by the corresponding APP loaded on the mobile terminals such as unlatching mobile phone, PAD (tablet computer)
Application program opens the operation interface for carrying out network configuration to smart home device accordingly, is executed based on operation interface corresponding
Network configuration operations, to realize that smart home device is successfully networked.Due to carrying out network configuration to smart home device
When, user needs to be implemented above-mentioned a series of manual operation, and it is complicated for operation, cumbersome, therefore, network is carried out to smart home device
It is convenient not enough to configure.
Summary of the invention
It is a primary object of the present invention to propose a kind of smart home device and its with network method, router, smart home
System, it is intended to solve to carry out not convenient enough the technical problem of network configuration to smart home device in the prior art.
To achieve the above object, the present invention provide a kind of smart home device with network method, the smart home device
Match network method the following steps are included:
Smart home device and data transmission set, which are established, to be communicated to connect, wherein is stored in the data transmission set
The corresponding network information of router, the network information are the SSID and password of router;
Obtain the network information stored in the data transmission set;
According to the network information, the network configuration of the smart home device is carried out.
Preferably, the smart home device is provided with USB interface, and the data transmission set passes through USB interface and intelligence
It can home equipment foundation communication connection.
Preferably, described the step of obtaining the network information stored in the data transmission set, includes:
Receive the network information that the data transmission set is sent, wherein the data transmission set with it is described
After smart home device establishes communication connection, the network information of storage is sent to the smart home device;
It is described according to the network information, before the step of carrying out the network configuration of the smart home device, further includes:
Judge whether the network information received is active block information;
It is described according to the network information, the step of carrying out the network configuration of the smart home device includes:
When the network information received is active block information, according to the network information, the intelligence is carried out
The network configuration of home equipment.
Preferably, described to judge that the step of whether network information received is active block information includes:
It whether identifies in the network information received comprising the corresponding equipment identification information of the data transmission set;
If in the network information including the equipment identification information, determine the network information for active block letter
Breath;
If not including the equipment identification information in the network information, determine the network information for invalid network letter
Breath.
Preferably, described according to the network information, the step of carrying out the network configuration of the smart home device, includes:
The network information is sent to the network communication module of the smart home device;
Based on the network information that the network communication module receives, the network for carrying out the smart home device is matched
It sets.
Preferably, the step of network communication module that the network information is sent to smart home device packet
It includes:
The network information is sent to the network communication module based on serial port.
Preferably, the network communication module is WiFi module.
Preferably, described according to the network information, after the step of carrying out the network configuration of the smart home device,
Further include:
In network configuration success, corresponding network configuration success prompt information is issued.
In addition, to achieve the above object, the present invention also propose a kind of smart home device with network method, the intelligence man
Occupy equipment with network method the following steps are included:
Data transmission set and router, which are established, to be communicated to connect;
Data transmission set obtains the network information from router and stores to communicate to it with smart home device foundation
Network information transfer to smart home device is supplied into its distribution when connection, the network information is the SSID and password of router.
Preferably, the data transmission set is established by USB interface and router and is communicated to connect.
In addition, to achieve the above object, the present invention also proposes a kind of smart home device, it is equipped with and is transmitted with external data
The interface of equipment connection, to read the network information stored in data transmission set, the network information is the SSID of router
And password.
Preferably, the interface is USB interface.
In addition, to achieve the above object, the present invention also proposes a kind of router, it is equipped with and connects with external data transmission device
The interface connect, to be connect with external data transmission device, so that the network information is sent to data transmission set, the network letter
Breath is the SSID and password of router.
Preferably, the interface is USB interface.
In addition, to achieve the above object, the present invention also proposes a kind of smart home system, including smart home device, number
According to transmission device and router, in which:
The router, for after establishing communication connection with the data transmission set, sending the network information to described
Data transmission set, the network information are the SSID and password of router;
The data transmission set, for when receiving the network information that the router is sent, described in storage
The network information;And after establishing communication connection with the smart home device, the network information of storage is sent to institute
State smart home device;
The smart home device, for when receiving the network information that the data transmission set is sent, root
According to the network information, the network configuration of the smart home device is carried out.
Preferably, the router and data transmission set are established by USB interface communicates to connect, and the smart home is set
Standby established with data transmission set by USB interface communicates to connect.
Scheme proposed by the present invention directlys adopt data when user needs to carry out network configuration to smart home device
Transmission device connects smart home device, wherein the net of wireless network corresponding to router is stored in data transmission set
Network information, after smart home device and data transmission set establish communication connection, smart home device obtains data transmission and sets
The network information of standby middle storage, then carries out network configuration according to the acquired network information.During network configuration, use
Family no longer needs complicated, the cumbersome manual configuration operation by mobile terminal execution, this improves to smart home device into
The convenience of row network configuration.
Detailed description of the invention
Fig. 1 is the smart home device structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram with network method first embodiment of smart home device of the present invention;
Fig. 3 is the flow chart with network method of an optional traditional intelligence household equipment;
Fig. 4 is the flow chart with network method of another optional traditional intelligence household equipment;
Fig. 5 is the structural schematic diagram of data transmission set in the present invention;
Fig. 6 is the flow diagram with network method second embodiment of smart home device of the present invention;
Fig. 7 is the flow diagram with network method 3rd embodiment of smart home device of the present invention;
Fig. 8 is the flow diagram with network method fourth embodiment of smart home device of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly: when user needs to carry out network configuration to smart home device,
Directly adopt data transmission set connection smart home device, wherein be stored with corresponding to router in data transmission set
The network information of wireless network, after smart home device and data transmission set establish communication connection, smart home device is obtained
The network information stored in data transmission set is taken, network configuration is then carried out according to the acquired network information.Match in network
During setting, user no longer needs complicated, the cumbersome manual configuration operation by mobile terminal execution.Implement through the invention
The technical solution of example, it is not convenient enough to smart home device progress network configuration to solve the problems, such as.
In the present invention, the network information includes the SSID and password of router.
Referring to Fig.1, Fig. 1 is the smart home device structural representation for the hardware running environment that the embodiment of the present invention is related to
Figure.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
As shown in Figure 1, the smart home device may include: processor 1001, such as CPU, communication bus 1002, user
Interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection between these components
Communication.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user
Interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include having for standard
Line interface, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable storage
Device (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processing
The storage device of device 1001.
It will be understood by those skilled in the art that smart home device structure shown in Fig. 1 is not constituted to smart home
The restriction of equipment may include perhaps combining certain components or different component cloth than illustrating more or fewer components
It sets.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Believe module, user interface and smart home device network configurator.
Matching in smart home device can be set in processor 1001, memory 1005 in smart home device of the present invention
In net device, the network distribution device of the smart home device calls the intelligent family stored in memory 1005 by processor 1001
Device network configurator is occupied, and executes following operation:
Smart home device and data transmission set, which are established, to be communicated to connect, wherein is stored in the data transmission set
The corresponding network information of router;
Obtain the network information stored in the data transmission set;
According to the network information, the network configuration of the smart home device is carried out.
Further, processor 1001 can call the smart home device network configuration journey stored in memory 1005
Sequence also executes following operation:
Receive the network information that the data transmission set is sent, wherein the data transmission set with it is described
After smart home device establishes communication connection, the network information of storage is sent to the smart home device;
Judge whether the network information received is active block information;
When the network information received is active block information, according to the network information, the intelligence is carried out
The network configuration of home equipment.
Further, processor 1001 can call the smart home device network configuration journey stored in memory 1005
Sequence also executes following operation:
It whether identifies in the network information received comprising the corresponding equipment identification information of the data transmission set;
If in the network information including the equipment identification information, determine the network information for active block letter
Breath;
If not including the equipment identification information in the network information, determine the network information for invalid network letter
Breath.
Further, processor 1001 can call the smart home device network configuration journey stored in memory 1005
Sequence also executes following operation:
The network information is sent to the network communication module of the smart home device;
Based on the network information that the network communication module receives, the network for carrying out the smart home device is matched
It sets.
Further, processor 1001 can call the smart home device network configuration journey stored in memory 1005
Sequence also executes following operation:
The network information is sent to the network communication module based on serial port.
Further, processor 1001 can call the smart home device network configuration journey stored in memory 1005
Sequence also executes following operation:
In network configuration success, corresponding network configuration success prompt information is issued.
Based on above-mentioned hardware configuration, the distribution embodiment of the method for smart home device of the present invention is proposed.
It is the flow diagram with network method first embodiment of smart home device of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the smart home device match network method the following steps are included:
Step S10, smart home device and data transmission set, which are established, to be communicated to connect, wherein the data transmission set
In be stored with the corresponding network information of router, the network information is the SSID and password of router;
Step S20 obtains the network information stored in the data transmission set;
Step S30 carries out the network configuration of the smart home device according to the network information.
In order to realize that user is firstly the need of to intelligence to the intelligent control of the various smart home devices such as air conditioner, humidifier
Energy home equipment carries out network configuration, and smart home device is networked, to realize the intelligent control to smart home device.
When user needs to carry out network configuration to smart home device, existing mode of operation is opened by user
The corresponding APP application program loaded on the mobile terminals such as mobile phone, PAD (tablet computer) is opened accordingly to smart home device
The operation interface for carrying out network configuration executes corresponding network configuration operations based on operation interface, gets corresponding router institute
The network information of corresponding wireless network, wherein the network information is SSID (Service Set Identifier, services set
Mark), password, and by mobile terminal by accessed SSID, the password network information by air interface, with wireless electromagnetic
Wave mode is sent.Meanwhile user executes corresponding setting operation to smart home device, sets smart home device to
Soft Ap (Access Point, wireless access point) mode or promiscuous mode, to receive radio transmitted by mobile terminal
Magnetic wave.
For example, as shown in figure 3, smart home device passes through WiFi if setting Soft Ap mode for smart home device
Wireless fidelity module receives the radio magnetic wave that mobile terminal is sent, and obtains in the radio magnetic wave entrained SSID, close
The code network information, smart home device enter STA station mode, connect router according to SSID, the password network information, work as connection
After router success, smart home device successfully realizes networking.
Meanwhile mobile terminal also connects the router according to SSID, the password network information, connects router in mobile terminal
After success, mobile terminal and smart home device are just all successfully accessed wireless network corresponding to the router.Later, Yong Hutong
Crossing mobile terminal can be realized intelligent control to smart home device.
For another example, as shown in figure 4, mobile terminal connects the router according to SSID, the password network information, the routing is accessed
Wireless network corresponding to device, and SSID, the password network information are sent in a manner of radio magnetic wave.If by smart home
Equipment is set as promiscuous mode, and smart home device receives the radio magnetic wave that mobile terminal is sent by WiFi module, and supervises
Hear in the radio magnetic wave that entrained SSID, the password network information, smart home device enter STA mode, according to SSID,
The password network information connects router, and after connecting router success, smart home device successfully realizes networking.
After mobile terminal and smart home device are all successfully accessed wireless network corresponding to the router, Yong Hutong
Crossing mobile terminal can be realized intelligent control to smart home device.
And in the present embodiment, in order to simplify the network configuration operations of user, it is pre-designed and a matches for carrying out network
The data transmission set set, the data transmission set can be established with smart home device and associated router and be communicated to connect,
To carry out corresponding data transmission.For example, as shown in figure 5, the data transmission set include interface, CPU module,
Data memory module and display module, data transmission set can be established by interface with smart home device and router
Communication connection, CPU module can be handled data, and data memory module can be by data transmission set and intelligence
The data that can be transmitted between home equipment and router are stored, and display module can be used for showing corresponding transmission and processing number
According to.
For example, with interface for USB (Universal Serial Bus, universal serial bus) interface for, data transmission
Corresponding USB interface is respectively arranged on equipment, smart home device and router, data transmission set passes through USB interface
It establishes and communicates to connect with smart home device, correspondingly, data transmission set establishes communication link by USB interface and router
It connects.For ease of description, the USB interface being arranged on data transmission set is hereafter known as the first USB interface, smart home is set
The USB interface of standby upper setting is known as secondary USB interface, and the USB interface being arranged on router is known as third USB interface.
After third USB interface of the user by the first USB interface insertion router of data transmission set, data transmission is set
It is standby just to set up USB with router and connect, it can carry out data transmission between data transmission set and router;Similarly, work as user
After the secondary USB interface of the first USB interface of data transmission set insertion smart home device, data transmission set is just and intelligence
Energy home equipment sets up USB connection, can carry out data transmission between data transmission set and smart home device.
It will be appreciated by persons skilled in the art that the interface of smart home device, data transmission set, router in addition to
It can also can be the interface, such as bluetooth module etc. of other forms for other than the above-mentioned USB interface enumerated.In the present invention,
Concrete form to interface and with no restrictions.
When user need to smart home device carry out network configuration when, user do not need by mobile terminal by SSID,
The password network information is sent to smart home device, and user need to only use data transmission set, first connect data transmission set
Router is connect, data transmission set and router is established and communicates to connect.For example, by by the first USB of data transmission set
Interface is inserted into the third USB interface of router, to establish the USB connection between data transmission set and router.
After data transmission set is based on interface and router establishes communication connection, router is directly current corresponding by it
The network information of wireless network be sent to data transmission set.When data transmission set receives the network letter of router transmission
After breath, the network information received is stored by data memory module.
Later, data transmission set is connected smart home device again by user, and data transmission set is based on interface and intelligence
Home equipment establishes communication connection.For example, by the way that the first USB interface of data transmission set is inserted into the of smart home device
Two USB interfaces, to establish the USB connection between data transmission set and smart home device.
It will be appreciated by persons skilled in the art that in addition to the above-mentioned data transmission of being established by USB interface enumerated is set
Other than the standby communication connection between smart home device and router, data transmission can also be established by other means
Communication connection between equipment and smart home device and router, for example, establishing data transmission set by bluetooth approach
Bluetooth connection between smart home device and router.In the present invention, data transmission set and smart home are set
Communication connection mode between standby and router and with no restrictions.
After data transmission set is based on interface and smart home device establishes communication connection, smart home device is obtained
The network information of the corresponding wireless network of the router stored in data transmission set.Optionally, in one embodiment, when
Smart home device and data transmission set are established after communication connection, and data transmission set actively sends out the network information of storage
It send to smart home device, smart home device, which need to only receive, obtains the network information that data transmission set is sent.Another
In a kind of outer embodiment, when smart home device and data transmission set are established after communication connection, smart home device is sent out
Send corresponding network information acquisition instruction to data transmission set, when data transmission set receives the network information acquisition instruction
When, the network information of storage is fed back into smart home device, it is corresponding wireless that smart home device reception gets router
The corresponding network information of network.
When smart home device gets the network information of the corresponding wireless network of router, smart home device according to
The network information carries out network configuration.After the success of smart home device network configuration, smart home device couple in router institute
Corresponding wireless network.
Optionally, the step S30 includes:
The network information is sent to the network communication module of the smart home device by step a;
Step b carries out the smart home device based on the network information that the network communication module receives
Network configuration.
In order to which smart home device is successfully accessed wireless network, smart home device is configured with network communication module.It can
Selection of land, the network communication module can be WiFi wireless fidelity module.When smart home device gets SSID, password network letter
When breath, the SSID, the password network information are sent to the network communication module of smart home device.
Optionally, the step a includes: that the network information is sent to the network communication based on serial port
Module.
Optionally, smart home device is also configured with the serial ports that data communication is carried out for realizing network communication module.When
When smart home device gets SSID, the password network information, smart home device is by serial ports, by the SSID, password network
Information is based on serial port and is sent to network communication module.
After the network communication module of smart home device gets SSID, the password network information, by network communication module root
The network configuration that smart home device is carried out according to SSID, the password network information, will be corresponding to smart home device couple in router
Wireless network.
For example, if the network communication module of smart home device be WiFi module, when smart home device get SSID,
When the password network information, SSID, the password network information are sent to WiFi module, by WiFi module according to SSID, password network
Information carries out the network configuration of smart home device, by wireless network corresponding to smart home device couple in router.
Scheme provided in this embodiment directlys adopt number when user needs to carry out network configuration to smart home device
Smart home device is connected according to transmission device, wherein wireless network corresponding to router is stored in data transmission set
The network information, after smart home device and data transmission set establish communication connection, smart home device obtains data transmission
Then the network information stored in equipment carries out network configuration according to the acquired network information.During network configuration,
User no longer needs complicated, the cumbersome manual configuration operation by mobile terminal execution, and this improves to smart home device
Carry out the convenience of network configuration.
Further, as shown in fig. 6, matching network method second based on first embodiment proposition smart home device of the present invention
Embodiment, in the present embodiment, the step S20 includes:
Step S21 receives the network information that the data transmission set is sent, wherein the data transmission set
After establishing communication connection with the smart home device, the network information of storage is sent to the smart home and is set
It is standby;
Before the step S30, further includes:
Step S40 judges whether the network information received is active block information;
The step S30 includes:
Step S31, according to the network information, is carried out when the network information received is active block information
The network configuration of the smart home device.
In the present embodiment, after smart home device and data transmission set, which are established, to be communicated to connect, data transmission is set
Standby that the network information of the corresponding wireless network of the router of storage is actively sent to smart home device, smart home device connects
The network information that harvest takes data transmission set to send.In order to improve the accuracy that smart home device carries out network configuration, when
After smart home device receives the network information, network configuration is not carried out according to the network information immediately, but first judgement connects
Whether the network information received is active block information.If the network information received is not active block information, intelligent family
Equipment is occupied without network configuration operations.Only when the network information received is active block information, smart home device
Just according to the network information, network configuration operations are carried out.Specifically, the step S40 includes:
Whether step c identifies in the network information received comprising the corresponding equipment mark of the data transmission set
Know information;
Step d determines that the network information is effective net if in the network information including the equipment identification information
Network information;
Step e determines that the network information is invalid if not including the equipment identification information in the network information
The network information.
Optionally, corresponding equipment identification information is configured to data transmission set in advance, for example, matching for data transmission set
Set corresponding equipment ID number.After smart home device and data transmission set, which are established, to be communicated to connect, data transmission set will
The network information for carrying its equipment identification information is sent to smart home device.
When smart home device receives the network information, which is parsed, identifying in the network information is
No includes the corresponding equipment identification information of data transmission set.If in the network information including the corresponding equipment mark of data transmission set
Know information, namely illustrate that the network information is sent by data transmission set, at this point, determining that the network information received is effective
The network information.If not including the corresponding equipment identification information of data transmission set in the network information, namely illustrate the network information
It is not to be sent by data transmission set, at this point, determining that the network information received is invalid network information.
Scheme provided in this embodiment first determines whether the network information after smart home device receives the network information
Whether it is active block information, when only determining the network information for active block information, net is just carried out according to the network information
Network configuration operation, this improves the accuracy that network configuration is carried out to smart home device.
Further, as shown in fig. 7, proposing smart home device of the present invention based on the first embodiment or the second embodiment
With network method 3rd embodiment, in the present embodiment, after the step S30, further includes:
Step S50 issues corresponding network configuration success prompt information in network configuration success.
Further, in order to improve the usage experience of user, in the present embodiment, when smart home device carries out network configuration
After success, smart home device issues corresponding network configuration success prompt information.For example, for the intelligence for being configured with display screen
Home equipment, it is preset in the display screen display of smart home device after smart home device carries out network configuration success
As " congratulated, network configuration success!" text prompt information.For another example, for the smart home device configured with loudspeaker, work as intelligence
After energy home equipment carries out network configuration success, the preset voice prompting letter such as " network configuration success " is played by loudspeaker
Breath.It is understood that corresponding speech prompt information can also be played while showing corresponding text prompt information.
User is by checking text prompt information, or listens to speech prompt information, you can learn that smart home device
Network configuration success can carry out intelligent control to smart home device, to improve the usage experience of user.
Further, if smart home device carries out network configuration failure, at this point, smart home device can also issue phase
The network configuration failure prompt information answered.For example, the display screen display in smart home device is preset as " network configuration is lost
It loses!" text prompt information;Alternatively, smart home device plays the preset speech prompt information such as " network configuration failure ";
Or the preset text prompt information of display screen display in smart home device, meanwhile, play preset voice prompting
Information.After user knows the network configuration failure of smart home device, smart home device progress network can be controlled again and is matched
Operation is set, in order to which smart home device is successfully accessed wireless network, therefore, further improves the usage experience of user.
Scheme provided in this embodiment, after smart home device carries out network configuration success, smart home device is issued
Corresponding network configuration success prompt information, so that user is facilitated to know that the network configuration of smart home device is successful, it can be right
Smart home device carries out intelligent control, and this improves the usage experiences of user.
In addition, the embodiment of the present invention also propose a kind of smart home device with network method.It is the present invention referring to Fig. 8, Fig. 8
The flow diagram with network method fourth embodiment of smart home device.
In the fourth embodiment, the smart home device match network method the following steps are included:
Step S60, data transmission set and router, which are established, to be communicated to connect;
Step S70, data transmission set obtain the network information from router and store to itself and smart home device
Network information transfer to smart home device is supplied into its distribution when establishing communication connection, the network information is the SSID of router
And password.
In the present embodiment, for example, as shown in figure 5, the data transmission set includes interface, CPU module, data
Memory module and display module, data transmission set can be communicated by interface with smart home device and router foundation
Connection, CPU module can be handled data, and data memory module can be by data transmission set and intelligent family
It occupies the data transmitted between equipment and router to be stored, display module can be used for showing corresponding transmission and processing data.
For example, with interface for USB (Universal Serial Bus, universal serial bus) interface for, data transmission
Corresponding USB interface is respectively arranged on equipment, smart home device and router, data transmission set passes through USB interface
It establishes and communicates to connect with smart home device, correspondingly, data transmission set establishes communication link by USB interface and router
It connects.For ease of description, the USB interface being arranged on data transmission set is hereafter known as the first USB interface, smart home is set
The USB interface of standby upper setting is known as secondary USB interface, and the USB interface being arranged on router is known as third USB interface.
It will be appreciated by persons skilled in the art that the interface of smart home device, data transmission set, router in addition to
It can also can be the interface, such as bluetooth module etc. of other forms for other than the above-mentioned USB interface enumerated.In the present invention,
Concrete form to interface and with no restrictions.
When user needs to carry out network configuration to smart home device, user need to only use data transmission set, first
Data transmission set is connected into router, data transmission set and router is established and communicates to connect.For example, by the way that data are passed
The third USB interface of the first USB interface insertion router of transfer device, to establish between data transmission set and router
USB connection.
After data transmission set is based on interface and router establishes communication connection, router is directly current corresponding by it
The network information of wireless network be sent to data transmission set, wherein the network information is SSID, password.When data are transmitted
After equipment receives the network information of router transmission, the network information received is deposited by data memory module
Storage.
Later, data transmission set is connected smart home device again by user, and data transmission set is based on interface and intelligence
Home equipment establishes communication connection.For example, by the way that the first USB interface of data transmission set is inserted into the of smart home device
Two USB interfaces, to establish the USB connection between data transmission set and smart home device.
It will be appreciated by persons skilled in the art that in addition to the above-mentioned data transmission of being established by USB interface enumerated is set
Other than the standby communication connection between smart home device and router, data transmission can also be established by other means
Communication connection between equipment and smart home device and router, for example, establishing data transmission set by bluetooth approach
Bluetooth connection between smart home device and router.In the present invention, data transmission set and smart home are set
Communication connection mode between standby and router and with no restrictions.
After data transmission set is based on interface and smart home device establishes communication connection, smart home device is obtained
The network information of the corresponding wireless network of the router stored in data transmission set.Optionally, in one embodiment, when
Smart home device and data transmission set are established after communication connection, and data transmission set actively sends out the network information of storage
It send to smart home device, smart home device, which need to only receive, obtains the network information that data transmission set is sent.Another
In a kind of outer embodiment, when smart home device and data transmission set are established after communication connection, smart home device is sent out
Send corresponding network information acquisition instruction to data transmission set, when data transmission set receives the network information acquisition instruction
When, the network information of storage is fed back into smart home device, it is corresponding wireless that smart home device reception gets router
The corresponding network information of network.
When smart home device gets the network information of the corresponding wireless network of router, smart home device according to
The network information carries out network configuration.After the success of smart home device network configuration, smart home device couple in router institute
Corresponding wireless network.
Scheme provided in this embodiment directlys adopt number when user needs to carry out network configuration to smart home device
Smart home device is connected according to transmission device, wherein wireless network corresponding to router is stored in data transmission set
The network information, after smart home device and data transmission set establish communication connection, smart home device obtains data transmission
Then the network information stored in equipment carries out network configuration according to the acquired network information.During network configuration,
User no longer needs complicated, the cumbersome manual configuration operation by mobile terminal execution, and this improves to smart home device
Carry out the convenience of network configuration.
In addition, the embodiment of the present invention also proposes a kind of smart home device.
In this embodiment, smart home device is equipped with the interface connecting with external data transmission device, to read data
The network information stored in transmission device, the network information are the SSID and password of router.
In the present embodiment, smart home device is equipped with the interface connecting with external data transmission device, and correspondingly, data pass
Transfer device is also equipped with the corresponding interface, and smart home device reads the network information stored in data transmission set by interface.
Wherein, which is the SSID and password of router.
With interface for USB (Universal Serial Bus, universal serial bus) interface for, data transmission set,
Corresponding USB interface is respectively arranged on smart home device and router, data transmission set passes through USB interface and intelligence
Home equipment establishes communication connection, and correspondingly, data transmission set is established by USB interface and router and communicated to connect.In order to
Convenient for description, the USB interface being arranged on data transmission set is hereafter known as the first USB interface, will be set on smart home device
The USB interface set is known as secondary USB interface, and the USB interface being arranged on router is known as third USB interface.
It will be appreciated by persons skilled in the art that the interface of smart home device, data transmission set, router in addition to
It can also can be the interface, such as bluetooth module etc. of other forms for other than the above-mentioned USB interface enumerated.In the present invention,
Concrete form to interface and with no restrictions.
When user needs to carry out network configuration to smart home device, user need to only use data transmission set, first
Data transmission set is connected into router, data transmission set and router is established and communicates to connect.For example, by the way that data are passed
The third USB interface of the first USB interface insertion router of transfer device, to establish between data transmission set and router
USB connection.
After data transmission set is based on interface and router establishes communication connection, router is directly current corresponding by it
The network information of wireless network be sent to data transmission set, wherein the network information is SSID, password.When data are transmitted
After equipment receives the network information of router transmission, the network information received is deposited by data memory module
Storage.
Later, data transmission set is connected smart home device again by user, and data transmission set is based on interface and intelligence
Home equipment establishes communication connection.For example, by the way that the first USB interface of data transmission set is inserted into the of smart home device
Two USB interfaces, to establish the USB connection between data transmission set and smart home device.
It will be appreciated by persons skilled in the art that in addition to the above-mentioned data transmission of being established by USB interface enumerated is set
Other than the standby communication connection between smart home device and router, data transmission can also be established by other means
Communication connection between equipment and smart home device and router, for example, establishing data transmission set by bluetooth approach
Bluetooth connection between smart home device and router.In the present invention, data transmission set and smart home are set
Communication connection mode between standby and router and with no restrictions.
After data transmission set is based on interface and smart home device establishes communication connection, smart home device is obtained
The network information of the corresponding wireless network of the router stored in data transmission set.Optionally, in one embodiment, when
Smart home device and data transmission set are established after communication connection, and data transmission set actively sends out the network information of storage
It send to smart home device, smart home device, which need to only receive, obtains the network information that data transmission set is sent.Another
In a kind of outer embodiment, when smart home device and data transmission set are established after communication connection, smart home device is sent out
Send corresponding network information acquisition instruction to data transmission set, when data transmission set receives the network information acquisition instruction
When, the network information of storage is fed back into smart home device, it is corresponding wireless that smart home device reception gets router
The corresponding network information of network.
When smart home device gets the network information of the corresponding wireless network of router, smart home device according to
The network information carries out network configuration.After the success of smart home device network configuration, smart home device couple in router institute
Corresponding wireless network.
Scheme provided in this embodiment directlys adopt number when user needs to carry out network configuration to smart home device
Smart home device is connected according to transmission device, wherein wireless network corresponding to router is stored in data transmission set
The network information, after smart home device and data transmission set establish communication connection, smart home device obtains data transmission
Then the network information stored in equipment carries out network configuration according to the acquired network information.During network configuration,
User no longer needs complicated, the cumbersome manual configuration operation by mobile terminal execution, and this improves to smart home device
Carry out the convenience of network configuration.
In addition, the embodiment of the present invention also proposes a kind of router.
In this embodiment, router is equipped with the interface connecting with external data transmission device, to transmit with external data
Equipment connection, so that the network information is sent to data transmission set, the network information is the SSID and password of router.
In the present embodiment, router is equipped with the interface connecting with external data transmission device, correspondingly, data transmission set
It is also equipped with the corresponding interface, router is connect by interface with data transmission set, is passed so that the network information is sent to data
Transfer device.Wherein, which is the SSID and password of router.
With interface for USB (Universal Serial Bus, universal serial bus) interface for, data transmission set,
Corresponding USB interface is respectively arranged on smart home device and router, data transmission set passes through USB interface and intelligence
Home equipment establishes communication connection, and correspondingly, data transmission set is established by USB interface and router and communicated to connect.In order to
Convenient for description, the USB interface being arranged on data transmission set is hereafter known as the first USB interface, will be set on smart home device
The USB interface set is known as secondary USB interface, and the USB interface being arranged on router is known as third USB interface.
It will be appreciated by persons skilled in the art that the interface of smart home device, data transmission set, router in addition to
It can also can be the interface, such as bluetooth module etc. of other forms for other than the above-mentioned USB interface enumerated.In the present invention,
Concrete form to interface and with no restrictions.
When user needs to carry out network configuration to smart home device, user need to only use data transmission set, first
Data transmission set is connected into router, data transmission set and router is established and communicates to connect.For example, by the way that data are passed
The third USB interface of the first USB interface insertion router of transfer device, to establish between data transmission set and router
USB connection.
After data transmission set is based on interface and router establishes communication connection, router is directly current corresponding by it
The network information of wireless network be sent to data transmission set, wherein the network information is SSID, password.When data are transmitted
After equipment receives the network information of router transmission, the network information received is deposited by data memory module
Storage.
Later, data transmission set is connected smart home device again by user, and data transmission set is based on interface and intelligence
Home equipment establishes communication connection.For example, by the way that the first USB interface of data transmission set is inserted into the of smart home device
Two USB interfaces, to establish the USB connection between data transmission set and smart home device.
It will be appreciated by persons skilled in the art that in addition to the above-mentioned data transmission of being established by USB interface enumerated is set
Other than the standby communication connection between smart home device and router, data transmission can also be established by other means
Communication connection between equipment and smart home device and router, for example, establishing data transmission set by bluetooth approach
Bluetooth connection between smart home device and router.In the present invention, data transmission set and smart home are set
Communication connection mode between standby and router and with no restrictions.
After data transmission set is based on interface and smart home device establishes communication connection, smart home device is obtained
The network information of the corresponding wireless network of the router stored in data transmission set.Optionally, in one embodiment, when
Smart home device and data transmission set are established after communication connection, and data transmission set actively sends out the network information of storage
It send to smart home device, smart home device, which need to only receive, obtains the network information that data transmission set is sent.Another
In a kind of outer embodiment, when smart home device and data transmission set are established after communication connection, smart home device is sent out
Send corresponding network information acquisition instruction to data transmission set, when data transmission set receives the network information acquisition instruction
When, the network information of storage is fed back into smart home device, it is corresponding wireless that smart home device reception gets router
The corresponding network information of network.
When smart home device gets the network information of the corresponding wireless network of router, smart home device according to
The network information carries out network configuration.After the success of smart home device network configuration, smart home device couple in router institute
Corresponding wireless network.
Scheme provided in this embodiment directlys adopt number when user needs to carry out network configuration to smart home device
Smart home device is connected according to transmission device, wherein wireless network corresponding to router is stored in data transmission set
The network information, after smart home device and data transmission set establish communication connection, smart home device obtains data transmission
Then the network information stored in equipment carries out network configuration according to the acquired network information.During network configuration,
User no longer needs complicated, the cumbersome manual configuration operation by mobile terminal execution, and this improves to smart home device
Carry out the convenience of network configuration.
In addition, the embodiment of the present invention also proposes a kind of smart home system, which includes that smart home is set
Standby, data transmission set and router, in which:
The router, for after establishing communication connection with the data transmission set, sending the network information to described
Data transmission set, the network information are the SSID and password of router;
The data transmission set, for when receiving the network information that the router is sent, described in storage
The network information;And after establishing communication connection with the smart home device, the network information of storage is sent to institute
State smart home device;
The smart home device, for when receiving the network information that the data transmission set is sent, root
According to the network information, the network configuration of the smart home device is carried out.
In the present embodiment, corresponding smart home system is formed by smart home device, data transmission set and router.
Wherein, which can establish with smart home device and router and communicate to connect, to be counted accordingly
According to transmission.For example, as shown in figure 5, the data transmission set include interface, CPU module, data memory module and
Display module, data transmission set can be established with smart home device and router by interface and be communicated to connect, centre
Reason device module can be handled data, and data memory module can be by data transmission set and smart home device and road
It is stored by the data transmitted between device, display module can be used for showing corresponding transmission and processing data.
For example, with interface for USB (Universal Serial Bus, universal serial bus) interface for, data transmission
Corresponding USB interface is respectively arranged on equipment, smart home device and router, data transmission set passes through USB interface
It establishes and communicates to connect with smart home device, correspondingly, data transmission set establishes communication link by USB interface and router
It connects.For ease of description, the USB interface being arranged on data transmission set is hereafter known as the first USB interface, smart home is set
The USB interface of standby upper setting is known as secondary USB interface, and the USB interface being arranged on router is known as third USB interface.
It will be appreciated by persons skilled in the art that the interface of smart home device, data transmission set, router in addition to
It can also can be the interface, such as bluetooth module etc. of other forms for other than the above-mentioned USB interface enumerated.In the present invention,
Concrete form to interface and with no restrictions.
When user needs to carry out network configuration to smart home device, user need to only use data transmission set, first
Data transmission set is connected into router, data transmission set and router is established and communicates to connect.For example, by the way that data are passed
The third USB interface of the first USB interface insertion router of transfer device, to establish between data transmission set and router
USB connection.
After data transmission set is based on interface and router establishes communication connection, router is directly current corresponding by it
The network information of wireless network be sent to data transmission set.Wherein, believe in the network information comprising SSID, password network
Breath.After data transmission set receives the network information of router transmission, the net that will be received by data memory module
Network information is stored.
Later, data transmission set is connected smart home device again by user, and data transmission set is based on interface and intelligence
Home equipment establishes communication connection.For example, by the way that the first USB interface of data transmission set is inserted into the of smart home device
Two USB interfaces, to establish the USB connection between data transmission set and smart home device.
It will be appreciated by persons skilled in the art that in addition to the above-mentioned data transmission of being established by USB interface enumerated is set
Other than the standby communication connection between smart home device and router, data transmission can also be established by other means
Communication connection between equipment and smart home device and router, for example, establishing data transmission set by bluetooth approach
Bluetooth connection between smart home device and router.In the present invention, data transmission set and smart home are set
Communication connection mode between standby and router and with no restrictions.
After data transmission set is based on interface and smart home device establishes communication connection, smart home device is obtained
The network information of the corresponding wireless network of the router stored in data transmission set.Optionally, in one embodiment, when
Smart home device and data transmission set are established after communication connection, and data transmission set actively sends out the network information of storage
It send to smart home device, smart home device, which need to only receive, obtains the network information that data transmission set is sent.Another
In a kind of outer embodiment, when smart home device and data transmission set are established after communication connection, smart home device is sent out
Send corresponding network information acquisition instruction to data transmission set, when data transmission set receives the network information acquisition instruction
When, the network information of storage is fed back into smart home device, it is corresponding wireless that smart home device reception gets router
The corresponding network information of network.
When smart home device gets the network information of the corresponding wireless network of router, smart home device according to
The network information carries out network configuration.After the success of smart home device network configuration, smart home device couple in router institute
Corresponding wireless network.
Scheme provided in this embodiment directlys adopt number when user needs to carry out network configuration to smart home device
Smart home device is connected according to transmission device, wherein wireless network corresponding to router is stored in data transmission set
The network information, after smart home device and data transmission set establish communication connection, smart home device obtains data transmission
Then the network information stored in equipment carries out network configuration according to the acquired network information.During network configuration,
User no longer needs complicated, the cumbersome manual configuration operation by mobile terminal execution, and this improves to smart home device
Carry out the convenience of network configuration.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of smart home device match network method, which is characterized in that the smart home device with network method include with
Lower step:
Smart home device and data transmission set, which are established, to be communicated to connect, wherein routing is stored in the data transmission set
The corresponding network information of device, the network information are the SSID and password of router;
Obtain the network information stored in the data transmission set;
According to the network information, the network configuration of the smart home device is carried out.
2. a kind of smart home device according to claim 1 matches network method, which is characterized in that the smart home is set
Standby to be provided with USB interface, the data transmission set is established by USB interface and smart home device and is communicated to connect.
3. a kind of smart home device according to claim 1 matches network method, which is characterized in that described to obtain the number
Include: according to the step of network information stored in transmission device
Receive the network information that the data transmission set is sent, wherein the data transmission set with the intelligence
After home equipment establishes communication connection, the network information of storage is sent to the smart home device;
It is described according to the network information, before the step of carrying out the network configuration of the smart home device, further includes:
Judge whether the network information received is active block information;
It is described according to the network information, the step of carrying out the network configuration of the smart home device includes:
When the network information received is active block information, according to the network information, the smart home is carried out
The network configuration of equipment.
4. a kind of smart home device according to claim 3 matches network method, which is characterized in that the judgement receives
Network information the step of whether being active block information include:
It whether identifies in the network information received comprising the corresponding equipment identification information of the data transmission set;
If including the equipment identification information in the network information, determine the network information for active block information;
If not including the equipment identification information in the network information, determine the network information for invalid network information.
5. a kind of smart home device according to claim 1 matches network method, which is characterized in that described according to the net
Network information, the step of carrying out the network configuration of the smart home device include:
The network information is sent to the network communication module of the smart home device;
Based on the network information that the network communication module receives, the network configuration of the smart home device is carried out.
6. a kind of smart home device according to claim 5 matches network method, which is characterized in that described by the network
Information is sent to the step of network communication module of the smart home device and includes:
The network information is sent to the network communication module based on serial port.
7. a kind of smart home device according to claim 5 matches network method, which is characterized in that the network communication mould
Block is WiFi module.
8. a kind of smart home device according to claim 1-7 matches network method, which is characterized in that described
According to the network information, after the step of carrying out the network configuration of the smart home device, further includes:
In network configuration success, corresponding network configuration success prompt information is issued.
9. a kind of smart home device matches network method, which comprises the following steps:
Data transmission set and router, which are established, to be communicated to connect;
Data transmission set obtains the network information from router and stores to establish and communicate to connect with smart home device to it
When by network information transfer to smart home device supply its distribution, the network information be router SSID and password.
10. a kind of smart home device according to claim 9 matches network method, which is characterized in that the data transmission
Equipment is established by USB interface and router and is communicated to connect.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711490964.9A CN109995622A (en) | 2017-12-30 | 2017-12-30 | Smart home device and its match network method, router, smart home system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711490964.9A CN109995622A (en) | 2017-12-30 | 2017-12-30 | Smart home device and its match network method, router, smart home system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109995622A true CN109995622A (en) | 2019-07-09 |
Family
ID=67110113
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711490964.9A Pending CN109995622A (en) | 2017-12-30 | 2017-12-30 | Smart home device and its match network method, router, smart home system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109995622A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110856121A (en) * | 2019-11-14 | 2020-02-28 | 深圳和而泰家居在线网络科技有限公司 | Internet of things network distribution method and system, network distribution equipment and Internet of things equipment |
CN111314153A (en) * | 2020-02-28 | 2020-06-19 | 联想万像(深圳)科技有限公司 | Automatic network distribution method, device and equipment for printer |
-
2017
- 2017-12-30 CN CN201711490964.9A patent/CN109995622A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110856121A (en) * | 2019-11-14 | 2020-02-28 | 深圳和而泰家居在线网络科技有限公司 | Internet of things network distribution method and system, network distribution equipment and Internet of things equipment |
CN110856121B (en) * | 2019-11-14 | 2022-03-08 | 深圳数联天下智能科技有限公司 | Internet of things network distribution method and system, network distribution equipment and Internet of things equipment |
CN111314153A (en) * | 2020-02-28 | 2020-06-19 | 联想万像(深圳)科技有限公司 | Automatic network distribution method, device and equipment for printer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107171910A (en) | Intelligent home device and its with network method, router, intelligent domestic system | |
CN107124341A (en) | Intelligent home device match somebody with somebody network method and intelligent domestic system | |
CN103518418B (en) | A kind of method and apparatus connected between bluetooth equipment | |
CN107222908A (en) | Intelligent appliance and its with network method, router, intelligent domestic system | |
CN109525976A (en) | With network method, system and readable storage medium storing program for executing | |
CN106030560A (en) | Automatic internet sharing | |
CN108206997A (en) | Bluetooth connecting method and device | |
CN109041140B (en) | Method for rapidly switching wireless network, intelligent hardware and terminal equipment | |
CN102100111A (en) | Methods, apparatuses and computer program products for providing temporal information | |
CN107222372A (en) | A kind of method for sending information and equipment | |
EP2941058A1 (en) | Near field communication method and device | |
CN107181653A (en) | Intelligent home device match somebody with somebody network method and intelligent domestic system | |
TR201905654T4 (en) | Method and apparatus for managing physical downlink control channel commands in the wireless communication system. | |
CN104620639A (en) | Communication apparatus and network connection method | |
WO2006001640A1 (en) | Method of connecting mobile comunication terminals having bluetooth module | |
CN109526020A (en) | Data transmission method and Related product | |
CN109981360A (en) | Internet of things equipment website activating method, device, system and storage medium | |
CN109688536A (en) | Realize method, apparatus, storage medium and the equipment of small opening base station | |
CN107749799A (en) | Distribution method, apparatus, system and the computer-readable recording medium of home appliance | |
CN108989940A (en) | Bluetooth headset function is compatible with implementation method, device, bluetooth headset and storage medium | |
CN107135552A (en) | Method for connecting network, mobile terminal and computer-readable recording medium | |
US20080119136A1 (en) | Access point with bluetooth transducer | |
CN109168171A (en) | configuration information obtaining method, device, equipment and system | |
CN110324907A (en) | A kind of service bearer configuration method and device | |
CN108513716A (en) | The method and apparatus for establishing connection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190709 |
|
WD01 | Invention patent application deemed withdrawn after publication |