Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present inventionEach embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present inventionIn formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical detailsAnd various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of intelligent home furnishing control method, it is applied to include WIFI module and bluetoothThe gateway of mesh module.
The flow chart of intelligent home furnishing control method in present embodiment is as shown in Figure 1, comprising:
Step 101, WIFI module receives the control information of an at least target device from server.
Wherein, control information mentioned here is to be sent to the server by mobile terminals such as mobile phones, then pass through serverIt is sent to the control information of WIFI module.Target device be several smart home devices in one of, for example, target is setIt is standby can be with are as follows: intelligent socket, intelligent Human fat balance, intelligent bulbs, intelligent fan lamp etc..
For example, the control information of target device can be with are as follows: opens the intelligent fan lamp in parlor, opens the intelligence in bedroomAir-conditioning, the wind-force size of intelligent air condition for adjusting parlor etc., to the specific of the control information of target device in present embodimentContent is not construed as limiting.
Step 102, which is transmitted to bluetooth mesh module.
That is, the control information for the intelligent fan lamp for such as opening parlor is transmitted to bluetooth mesh module, for indigo plantTooth mesh module forwards the control information received.
Wherein, the communication mode of the WIFI module in gateway and bluetooth mesh module can be logical for serial communication, I2COne of letter, SPI communication, present embodiment is not especially limited this.
Step 103, which is sent to the bluetooth mesh net connecting with bluetooth mesh module by bluetooth mesh moduleNetwork.
Wherein, bluetooth mesh network includes several smart home devices, also, target device mentioned here is severalOne in a smart home device.
Specifically, due to low energy consumption bluetooth that bluetooth Mesh network is for establishing many-to-many equipment communication(Bluetooth Low Energy, referred to as " BLE ") new network topology.Therefore, bluetooth Mesh network may include multiple intelligenceCan home equipment, the transmitting of information can be mutually carried out between these smart home devices.
It is illustrated so that mobile terminal is mobile phone, smart home device includes intelligent fan lamp, intelligent air condition as an example below:
In the prior art, if opening intelligent fan lamp, intelligent air condition by mobile phone, it is required that mobile phone and intelligent windFan lamp establishes bluetooth connection, it will be understood by those skilled in the art that only the case where mobile phone and intelligent fan lamp are closerUnder can successful connection, to carry out point-to-point communication, control intelligent fan lamp is opened;After opening intelligent fan lamp, also needBluetooth connection is established with intelligent air condition, and the unlatching of intelligent air condition is controlled after successful connection.If mobile phone and intelligent fan lampBe closer, can successful connection, and with intelligent air condition distance farther out, bluetooth connection can not be established with intelligent air condition, then usingFamily can only control intelligent fan lamp by mobile phone and open, and be unable to control intelligent air condition unlatching.
In the present embodiment, if by mobile phone open intelligent fan lamp, intelligent air condition, without using mobile phone respectively with intelligenceEnergy fan lamp, intelligent air condition establish bluetooth connection, and user can directly directly be sent to server by mobile phone and open intelligent windThe control information of lamp, intelligent air condition is fanned, WIFI module can receive simultaneously from server and open intelligent fan lamp and intelligenceThe control information of air-conditioning, the control information are sent to the bluetooth mesh net connecting with bluetooth mesh module through bluetooth mesh moduleNetwork, and bluetooth mesh network includes intelligent fan lamp, intelligent air condition, and then can control the intelligent fan in bluetooth mesh networkThe unlatching of lamp, intelligent air condition, it is worth mentioning at this point that, if further including intelligent socket in bluetooth mesh network, but do not receiveTo the control information about control intelligent socket, then any control is not carried out to intelligent socket and operated.
In the present embodiment, due to the characteristic based on bluetooth mesh network, intelligent fan lamp and Intelligent air may be implementedData communication between tune so that if intelligent fan lamp and gateway farther out, but gateway is closer with intelligent air conditionIn the case where, the information of the intelligent fan lamp received can be transmitted to gateway by intelligent air condition, realize gateway withInformation exchange between intelligent fan lamp.It can be to multiple smart homes although solving bluetooth Mesh network in the prior artEquipment is controlled, but the problem of can not be controlled by mobile terminals such as mobile phones multiple smart home devices.
Preferably, smart home device execute according to the control information with after the operation of control information instruction, can be withFeedback result is generated, and the feedback result is passed sequentially through into gateway, server, is finally synchronized to mobile terminal, so thatUser can easily get the state of the smart home device in the terminal.Alternatively, occurring in smart home deviceAfter exception, the feedback result for indicating abnormal is also produced, and the feedback result of the exception is passed sequentially through into gateway, serviceDevice is finally synchronized to mobile terminal, to play reminding effect to the user for holding the mobile terminal.
Compared with prior art, a kind of one kind for offer that present embodiment provides is applied to include WIFI module and bluetoothThe intelligent home furnishing control method of the gateway of mesh module is set by making WIFI module receive an at least target from serverStandby control information (the control information is that the control information of server is sent to by mobile terminal), and control information is transmitted toBluetooth mesh module;Bluetooth mesh module sends control information to the bluetooth mesh network connecting with bluetooth mesh module again;Wherein, bluetooth mesh network includes several smart home devices, and target device is one in several smart home devicesIt is a.Since mobile terminal is not connect by bluetooth with smart home device not instead of directly, mobile terminal is connect with server, clothesThe control information that mobile terminal issues is transferred to the gateway connecting with smart home device by device of being engaged in, and enables mobile terminalIt is enough that multiple smart home devices under bluetooth mesh network are controlled.
Second embodiment of the present invention is related to a kind of intelligent home furnishing control method.Second embodiment is implemented firstIt is further improved on the basis of mode, specifically thes improvement is that: in second embodiment of the invention, in WIFI moduleBefore the control information that server receives an at least target device, further includes: WIFI module and server establish connection, concurrentlyIt send and the notice of connection has been established to bluetooth mesh module;Bluetooth mesh module carries out bluetooth mesh networking after receiving noticeTo form bluetooth mesh network, and during bluetooth mesh networking generate bluetooth mesh network configuration information;Configuration informationDistribution address including each smart home device;Configuration information is sent to server by WIFI module, so that server will configureSynchronizing information is to mobile terminal;Wherein, the control information of target device includes at least the distribution address of target device.Define shapeTerminal is moved easily to each intelligence under bluetooth mesh network by synchronous configuration information at the opportunity of bluetooth mesh networkEnergy home equipment is controlled.
The flow chart of intelligent home furnishing control method in present embodiment is as shown in Figure 2, comprising:
Step 201, WIFI module and server establish connection.
Specifically, WIFI module and server establish connection, may include: that WIFI module and mobile terminal are established temporarilyCommunication, during provisional communication, WIFI module receives the account for the local router that mobile terminal is connected from mobile terminalInformation, and the identity identification of gateway is sent to mobile terminal, match confidence so that mobile terminal is sent to serverSynchronization request is ceased, wherein configuration information synchronization request includes the identity identification of gateway;WIFI module is believed by accountBreath is connected to local router, and establishes connection by local router and server;Wherein, WIFI module sends out configuration informationIt send to server, specifically, the identity identification of gateway is bound to configuration information by WIFI module is sent to clothes togetherIt is engaged in device, when receiving the configuration information synchronization request of mobile terminal transmission for server, the bluetooth that will be connect with gatewayThe configuration information of mesh network is synchronized to mobile terminal.
In addition, the identity identification of gateway can also be bound to control when mobile terminal sends control informationInformation processed is sent to server together, and sends control information to net according to the identity identification of gateway for serverClose equipment.It include the identification mark of gateway by the configuration information synchronization request for sending mobile terminal to serverKnow, the gateway for advantageously allowing certain user can only the control information that is sent by mobile terminal of acceptance presupposition user.
Step 202, it sends and the notice of connection has been established to bluetooth mesh module.
That is, the notice of connection is had been established to bluetooth mesh module in WIFI module and server.
Step 203, bluetooth mesh module carries out bluetooth mesh networking after receiving the notice to form bluetooth meshNetwork, and during bluetooth mesh networking generate bluetooth mesh network configuration information.
Specifically, configuration information includes the distribution address of each smart home device.
Step 204, configuration information is sent to server by WIFI module.
Specifically, after configuration information is sent to server by WIFI module, which is synchronized to by serverMobile terminal.
Preferably, can also include: when bluetooth mesh module after configuration information is sent to server by WIFI moduleWhen detecting the presence of the smart home device being newly added or the smart home device for detecting the presence of disconnection, configuration is updatedInformation;Updated configuration information is synchronized to server by WIFI module, so that server is synchronous by updated configuration informationTo mobile terminal, advantageously ensures that and each smart home device under bluetooth mesh network is controlled.
Step 205, WIFI module receives the control information of an at least target device from server.
Wherein, which is sent to server by mobile terminal;The control information of target device includes at least targetThe distribution address of equipment.
Step 206, which is transmitted to bluetooth mesh module.
Step 207, which is sent to the bluetooth mesh net connecting with bluetooth mesh module by bluetooth mesh moduleNetwork.
Wherein, bluetooth mesh network includes several smart home devices, also, target device mentioned here is severalOne in a smart home device.
Since step 101 of the step 205 into step 207 and first embodiment is big to step 103 in present embodimentIt causes identical, it is intended to which WIFI module receives the control information of an at least target device from server, and control information is transmitted to indigo plantTooth mesh module;Wherein, control information is sent to server by mobile terminal;Bluetooth mesh module send control information toThe bluetooth mesh network of bluetooth mesh module connection;Wherein, bluetooth mesh network includes several smart home devices, and targetEquipment is one in several smart home devices, and details are not described herein again.
Compared with prior art, a kind of intelligent home furnishing control method that present embodiment provides, in WIFI module from serviceDevice receives before the control information of an at least target device, further includes: WIFI module and server establish connection, and send builtThe notice of vertical connection is to bluetooth mesh module;Bluetooth mesh module carries out bluetooth mesh networking after receiving notice to be formedBluetooth mesh network, and during bluetooth mesh networking generate bluetooth mesh network configuration information;Configuration information includes eachThe distribution address of smart home device;Configuration information is sent to server by WIFI module, so that server is same by configuration informationIt walks to mobile terminal;Wherein, the control information of target device includes at least the distribution address of target device.It defines to form bluetoothThe opportunity of mesh network is moved easily terminal to each smart home under bluetooth mesh network by synchronous configuration informationEquipment is controlled.
Third embodiment of the invention is related to a kind of intelligent home furnishing control method, is applied to mobile terminal, mentioned hereMobile terminal can be mobile phone, tablet computer etc., be not especially limited herein.
The flow chart of intelligent home furnishing control method in present embodiment is as shown in Figure 3, comprising:
Step 301, preset bluetooth mesh network-based control interface is provided.
Wherein, bluetooth mesh network includes several smart home devices.
Intelligent refrigerator that specifically, preset bluetooth mesh network-based control interface display bluetooth mesh network includes,Intelligent air condition etc..Be illustrated by taking intelligent air condition as an example: in the bluetooth mesh network-based control interface of offer, show withThe corresponding open and close control item of intelligent air condition, and the current state of display intelligent air condition, such as when wind speed, target temperature, unlatchingBetween, the information such as opening time, power consumption.
Step 302, the control operation of target device is received, and generates the control information of target device.
Wherein, the target device is one in several described smart home devices;
That is, receiving the control that user selectes the target device to be controlled by mobile terminal in smart home deviceSystem operation, generates control information, and the control information is corresponding with target device.
Step 303, which is sent to server.
Specifically, which is sent to server, so that server is sent control information to and bluetoothThe gateway of mesh network connection, and bluetooth mesh network is sent control information to by gateway;Wherein, gatewayIn WIFI module connect with server, the bluetooth mesh module in gateway and bluetooth mesh are connected to the network.
Compared with prior art, a kind of intelligent home furnishing control method that present embodiment provides is applied to mobile terminal, sideMethod includes: to provide preset bluetooth mesh network-based control interface;Wherein, bluetooth mesh network includes that several smart homes are setIt is standby;The control operation of target device is received, and generates the control information of target device;Wherein, target device is several intelligenceOne in home equipment;Server is sent control information to, so that server is sent control information to and bluetooth meshThe gateway of network connection, and bluetooth mesh network is sent control information to by gateway;Wherein, in gatewayWIFI module is connect with server, and the bluetooth mesh module in gateway and bluetooth mesh are connected to the network.So that mobile terminalMultiple smart home devices can be controlled
Four embodiment of the invention is related to a kind of intelligent home furnishing control method.4th embodiment is in third embodiment partyIt is further improved on the basis of formula, specifically thes improvement is that: in four embodiment of the invention, by providing in advanceIf bluetooth mesh network-based control interface before, establish provisional communication with the WIFI module in gateway;In provisional communicationIn the process, the account information for the local router that mobile terminal is connected is sent to WIFI module, so that WIFI module passes throughLocal router is connected to server;During provisional communication, the identification of the gateway of WIFI module feedback is receivedMark;Configuration information synchronization request is sent to server, wherein configuration information synchronization request includes the identification of gatewayMark;The configuration information for the bluetooth mesh network connecting with gateway is received from server;According to matching for bluetooth mesh networkConfidence breath provides bluetooth mesh network-based control interface.By establishing provisional communication, be conducive to the power consumption for saving mobile terminal,By providing bluetooth mesh network-based control interface according to the configuration information of bluetooth mesh network, be conducive to further realize to indigo plantEach smart home device under tooth mesh network is controlled.
The flow chart of intelligent home furnishing control method in present embodiment is as shown in Figure 4, comprising:
Step 401, provisional communication is established with the WIFI module in gateway.
Step 402, during provisional communication, the account information for the local router that mobile terminal is connected is sent toWIFI module.
Specifically, WIFI module is sent to by the account information for the local router for being connected mobile terminal, withThe server is connected to by the local router for WIFI module.
Step 403, during provisional communication, the identity identification of the gateway of WIFI module feedback is received.
Wherein, identity identification mentioned here is used for unique identification gateway, to issue to default gatewayControl information.
Step 404, configuration information synchronization request is sent to server.
Wherein, configuration information synchronization request includes the identity identification of the gateway.
Step 405, the configuration information for the bluetooth mesh network connecting with gateway is received from server.
Specifically, configuration information may include the distribution address of each smart home device.
Step 406, bluetooth mesh network-based control interface is provided according to the configuration information of bluetooth mesh network.
Wherein, bluetooth mesh network includes several smart home devices.
Step 407, the control operation of target device is received, and generates the control information of target device.
Wherein, target device is one in several smart home devices.
Step 408, which is sent to server.
The control information is sent to server, is connected to the network so that server is sent control information to bluetooth meshGateway, and bluetooth mesh network is sent control information to by gateway;Wherein, the WIFI module in gatewayIt is connect with server, the bluetooth mesh module in gateway and bluetooth mesh are connected to the network.
Since step 301 of the step 407 into step 408 and third embodiment is big to step 302 in present embodimentIt causes identical, it is intended to receive the control operation of target device, and generate the control information of target device, which is sent toServer, details are not described herein again.
Compared with prior art, a kind of intelligent home furnishing control method that present embodiment provides, by preset in offerBefore bluetooth mesh network-based control interface, provisional communication is established with the WIFI module in gateway;In provisional communication processIn, the account information for the local router that mobile terminal is connected is sent to WIFI module, so that WIFI module passes through localRouter is connected to server;During provisional communication, the identity identification of the gateway of WIFI module feedback is received;Configuration information synchronization request is sent to server, wherein configuration information synchronization request includes the identity identification of gateway;The configuration information for the bluetooth mesh network connecting with gateway is received from server;According to the configuration information of bluetooth mesh networkBluetooth mesh network-based control interface is provided.By establishing provisional communication, is conducive to the power consumption for saving mobile terminal, passes through rootBluetooth mesh network-based control interface is provided according to the configuration information of bluetooth mesh network, is conducive to further realize to bluetooth meshEach smart home device under network is controlled.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step orCertain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patentIt is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changedCore design with process is all in the protection scope of the patent.
Fifth embodiment of the invention is related to a kind of gateway, the WIFI module 11 including being connected and bluetooth mesh mouldBlock 12, as shown in Figure 5.
Specifically, WIFI module 11 is connect with server, and WIFI module 11 is used to receive an at least target from serverThe control information of equipment.Bluetooth mesh module 12 is connected to bluetooth mesh network, and for sending control information to bluetoothMesh network;Wherein, bluetooth mesh network includes several smart home devices, and target device is that several smart homes are setOne in standby.
In addition, the communication mode of WIFI module 11 mentioned here and bluetooth mesh module 12 can be serial communication, I2COne of communication, SPI communication.
Sixth embodiment of the invention is related to an intelligent home control system, comprising: at least a mobile terminal 21, server22, the gateway in the 5th embodiment and the bluetooth mesh network 23 including several smart home devices, such as Fig. 6It is shown.
Specifically, the WIFI module 11 in gateway is connected to server 22, the bluetooth mesh mould in gatewayBlock 12 is connected to bluetooth mesh network 23.Server 22 is used to receive the control of an at least target device for the transmission of mobile terminal 21Information, and send control information to gateway;Target device is one in several smart home devices.GatewayIn WIFI module 11 for receiving control information, the bluetooth mesh module 12 in gateway is for sending control information toBluetooth mesh network 23.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.