CN104898449B - Smart home system and its control method - Google Patents

Smart home system and its control method Download PDF

Info

Publication number
CN104898449B
CN104898449B CN201510300886.6A CN201510300886A CN104898449B CN 104898449 B CN104898449 B CN 104898449B CN 201510300886 A CN201510300886 A CN 201510300886A CN 104898449 B CN104898449 B CN 104898449B
Authority
CN
China
Prior art keywords
smart home
control instruction
control
controlling terminal
home
Prior art date
Application number
CN201510300886.6A
Other languages
Chinese (zh)
Other versions
CN104898449A (en
Inventor
郑明剑
金海鹏
Original Assignee
泰凌微电子(上海)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 泰凌微电子(上海)有限公司 filed Critical 泰凌微电子(上海)有限公司
Priority to CN201510300886.6A priority Critical patent/CN104898449B/en
Publication of CN104898449A publication Critical patent/CN104898449A/en
Application granted granted Critical
Publication of CN104898449B publication Critical patent/CN104898449B/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The present invention relates to smart home field, a kind of smart home system and its control method are disclosed.In the present invention, smart home system includes smart home node (such as LED light, various sensors), the proprietary control equipment of smart home (such as remote controler, wireless switching, wireless humiture control panel), and universal intelligent home control equipment (such as smart phone, tablet computer), utilize universal intelligent home control device configuration network, it is established that the Mesh network comprising multiple smart home devices, proprietary control equipment.The node to network and equipment are configured, can realize smart home function by interaction.So that smart home system stability is strong, flexible structure greatly improves user experience.

Description

Smart home system and its control method

Technical field

The present invention relates to smart home fields, the in particular to control method of smart home system.

Background technique

With the fast development of mobile intelligent terminal, home equipment is also more and more intelligent.Smart home system is to live Residence space is platform, utilizes comprehensive wiring technology, network communication technology, security precautions technology, automatic control technology, audio-video skill Art etc. integrates equipment related with home life, constructs the management system of efficient housing facilities and family's schedule affairs System promotes home equipment safety, convenience, comfort, artistry, and realizes the living environment of environmental protection and energy saving.

Currently, for the smart home device inside smart home system control be using central controller (or Home gateway) control mode, i.e., by controlling terminal control center control controller, central controller by execute controlling terminal Instruction smart home device is controlled.This mode is very big for the dependence of central controller, either long-range control System or closely control, are carried out by gateway, and delay and user experience are all very poor.The control mode of this point-to-multipoint Configuration flexibility is poor, if several controlling terminals to access simultaneously smart home system and respectively to multiple smart home devices into Row control, it is possible to generate communication traffic and the speed of service of system is caused to reduce.Moreover, the stability of this kind of control mode compared with Difference, i.e. all devices in smart home system all rely on central controller, if central controller breaks down, may result in Entire smart home system paralysis.Therefore it is more flexible to need to construct a kind of structure, the better control method of stability.

Summary of the invention

The purpose of the present invention is to provide a kind of smart home system and its control methods, so that smart home system is stablized Strong, the flexible structure of property, greatly improves user experience.

In order to solve the above technical problems, embodiments of the present invention provide a kind of control method of smart home system, It comprises the steps of:

A, smart home device and controlling terminal establish wireless communication link;

B, whether the smart home device or controlling terminal detection opposite end are that setting for smart home system has been added Standby, if it is being added in smart home system equipment obtains network configuration from opposite end by the wireless communication link Information, and smart home system is added according to the network configuration information of the acquisition;If not smart home system has been added In equipment, then the smart home device and the controlling terminal are negotiated network configuration by the wireless communication link and are believed Breath, and smart home system is established according to the network configuration information of the negotiation;

C, that smart home device response received send from controlling terminal or from same smart home system The control instruction of interior other smart home devices forwarding.

Embodiments of the present invention additionally provide a kind of smart home system, include: multiple smart home devices and at least One controlling terminal;

The smart home device be used for after establishing wireless communication link with the controlling terminal, detection opposite end whether be The equipment that smart home system has been added, the equipment if it is being added in smart home system, passes through the wireless communication Link obtains network configuration information from opposite end, and smart home system is added according to the network configuration information of the acquisition;If It is not the equipment being added in smart home system, then network is negotiated by the wireless communication link with the controlling terminal and matched Confidence breath, and smart home system is established according to the network configuration information of the negotiation;

The controlling terminal be used for after establishing wireless communication link with the smart home device, detection opposite end whether be The equipment that smart home system has been added, the equipment if it is being added in smart home system, passes through the wireless communication Link obtains network configuration information from opposite end, and smart home system is added according to the network configuration information of the acquisition;If It is not the equipment being added in smart home system, then net is negotiated by the wireless communication link with the smart home device Network configuration information, and smart home system is established according to the network configuration information of the negotiation;

The smart home device be also used to respond being sent from controlling terminal of receiving or from same smart home The control instruction of other smart home devices forwarding in system.

Smart home system includes smart home node (such as LED light, various sensors), and the proprietary control of smart home is set Standby (such as remote controler, wireless switching, wireless humiture control panel) and universal intelligent home control equipment (such as it is intelligent Mobile phone, tablet computer).

Rate-determining steps include:

A. utilize universal intelligent home control device configuration network, this process include and each smart home node, specially There are control device pairing and exchange network configuration information (network information, grouping information, encryption information etc.);

B. the node and equipment for configuring networking realize smart home function, prevailing scenario includes by interaction:

A. smart home node and special intelligent home equipment form Mesh network

B. universal intelligent home equipment and some smart home node establish connection, and are implemented by this node to network Node controls and monitors

C. special intelligent home equipment directly controls and monitors smart home node by Mesh network realization

D. smart home node passes through Mesh network swap status change information

In terms of existing technologies, provide one kind can increase smart home system stability to embodiment of the present invention, Configuration flexibility, and improve the control method of the smart home system of user experience.By utilizing controlling terminal and smart home The wireless communication link established between equipment, Configuration network, this process may include such as remote controler, wireless switching, wireless temperature The general controls such as the dedicated controlling terminal such as humid control panel and each smart home node, and mobile phone, tablet computer Exchanging for terminal and the pairing of each smart home node and network configuration information, sets to set up comprising multiple smart homes Standby Mesh network (wireless mesh network).The node to network and equipment are configured, can realize smart home function by interaction. Using the control method of central controller in compared with the prior art, user can use multiple controlling terminals while pass through difference Control path realize control to smart home device, avoid central processing unit because caused by traffic congestion under performance Drop, improves the configuration flexibility of smart home system;And since multiple controlling terminals can pass through different control simultaneously The control to smart home device is realized in path, is not relying on a certain specific control path to the control of smart home device, such as The a certain control path of fruit breaks down, and control instruction can continue to transmit by other control paths, in using If entreating the case where will lead to whole system paralysis of breaking down when controller, the control method in embodiment of the present invention is greatly Improve the stability of smart home system normal operation.Therefore the control method can effectively improve entire smart home system Configuration flexibility and system stability, greatly improve user experience.

In addition, controlling terminal is dedicated controlling terminal or general controls terminal;When the controlling terminal is that dedicated control is whole When end, the step C include following sub-step: C1, the controlling terminal in the radio broadcasting coverage area of this controlling terminal, Broadcast carries the control instruction of identification code;C2, the smart home device for receiving the control instruction judge the control instruction Whether interior identification code and the identification code being arranged in this smart home device are identical, if the same respond the control instruction, Continue to broadcast the control instruction in the radio broadcasting coverage area of this smart home device if different;C3, institute is repeated Step C2 is stated, until the control instruction is responded by smart home device.So that special intelligent home equipment (such as remote controler) can Directly any smart home node is controled and monitored by Mesh network realization.

In addition, the step C includes following sub-step: C11, described when the controlling terminal is general controls terminal Smart home device in controlling terminal and the smart home system establishes wireless communication link;C21, the controlling terminal will Control instruction is sent to the smart home device for establishing wireless communication link;C31, the smart home for receiving the control instruction are set Whether the standby identification code judged in the control instruction and the identification code being arranged in this smart home are identical, if the same respond institute Control instruction is stated, broadcasts the control instruction in the radio broadcasting coverage area of this smart home device if different; C41, repeating said steps C31, until the control instruction is responded by smart home device.By each in smart home system The radio broadcasting function of smart home device may make universal intelligent home equipment (such as mobile phone) and some smart home node After establishing connection, it can implement to control and monitor arbitrary node in network by this node.

In addition, in the step of continuing Broadcasting Control instruction in the radio broadcasting coverage area of this smart home device, packet Containing following sub-step: whether smart home device judges control instruction by this intelligence man before continuing Broadcasting Control instruction It occupies device broadcasts to cross or do not allow to forward, if being broadcasted by this smart home device or hop count being allowed to drop It is 0 time, then this smart home device no longer Broadcasting Control instructs, and passes through rationally setting to each smart home device number of broadcast times Set the power consumption that can reduce smart home device.

In addition, carrying the identity number that the identification code in control instruction is smart home device;It is being controlled alternatively, carrying Identification code in system instruction is the group identification number for identifying one group of smart home device.Due to can be into smart home device Row grouping control, and bit mask mode, the corresponding grouping of each bit can be used in the grouping identification code being arranged.So that one A control instruction can be directed to one or more packets.It can be seen that can be to respective sets identification number by group identification number Smart home device be grouped control, increase the flexibility of control, improve user experience.

In addition, also being comprised the steps of: after responding the control instruction in the smart home device

The state change information generated after the control instruction will be responded, is covered in the radio broadcasting of this smart home device It is broadcasted in range;The smart home device for receiving the state change information, in the wireless wide of this smart home device It broadcasts and continues to broadcast the state change information in coverage area.Since smart home node can be become by Mesh network swap status Change information, the controlling terminal that may make transmission or Broadcasting Control to instruct can know that the state of the smart home device of control becomes Change.

Detailed description of the invention

Fig. 1 is the flow chart of the control method of the smart home system of first embodiment according to the present invention;

Fig. 2 be first embodiment according to the present invention controlling terminal be remote controler when smart home system signal Figure;

Fig. 3 be first embodiment according to the present invention controlling terminal be smart phone when smart home system signal Figure;

Fig. 4 is the structural schematic diagram of the smart home system of the 4th embodiment according to the present invention;

Fig. 5 is the structural schematic diagram of the smart home device in the 4th embodiment according to the present invention.

Specific embodiment

To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to each reality of the invention The mode of applying is explained in detail.However, it will be understood by those skilled in the art that in each embodiment of the present invention, In order to make the reader understand this application better, many technical details are proposed.But even if without these technical details and base In the various changes and modifications of following embodiment, each claim of the application technical side claimed also may be implemented Case.

The first embodiment of the present invention is related to a kind of control methods of smart home system.As shown in Figure 1, step 101 It is the mistake that network is added in smart home device and controlling terminal (such as dedicated controlling terminal or general controls terminal) to step 104 Journey, dedicated controlling terminal can be remote controler, wireless switching, wireless humiture control panel etc., and general controls terminal can be Smart phone, tablet computer etc..

Specifically, in a step 101, smart home device and control of intelligent terminal are established and are wirelessly connected.For example, both sides All support Bluetooth Low Energy connection, smart home device can be matched with a controlling terminal (such as smart phone) by Bluetooth Low Energy Pair mode, establish wireless communication link.Such as smart home device emits some of itself by built-in bluetooth module Identification information, smart phone (i.e. controlling terminal) in the bluetooth coverage area in the smart home device also by bluetooth to The smart home device sends pairing request, and smart home device responds the pairing request, so that controlling terminal and the intelligence man It occupies and establishes wireless communication link between equipment.When establishing connection, in order to guarantee safety, smart phone user may need defeated Enter the password or scanning device two dimensional code for node manually set and obtains encrypted message.Establish the side of wireless communication link Formula is not limited to the above, no longer repeats one by one here.

Then, in a step 102, smart home device is interacted with controlling terminal judges whether both sides are existing intelligent network In equipment.There are three types of situation (excluding the case where both sides are the same network system equipments) at this time:

1. intelligent control device and intelligent node (i.e. smart home device) are all not belonging to smart home system;It needs at this time A new intelligent network system is established, enters step 104, both sides' exchange network configuration information.For example, control of intelligent terminal is raw At network ID, netkey is generated according to password, is grouped for intelligent node selection, and send information to intelligent node.Certainly, Network ID can also be generated by intelligent node, and key is derived from the way of Public/Private Key by both party, information Generating mode is without being limited thereto.In this step, smart home device and controlling terminal need to negotiate to establish initial network configuration information. Such as smart home device includes factory mobile network identification number FID (such as 11111111), smart home device matches the FID It is set to the mobile network identification number (NID) of smart home system, and the wireless communication link by establishing, which is sent to control Terminal.The FID default configuration of the smart home device is the mobile network identification number (NID) of smart home system by controlling terminal, this When, smart home device and controlling terminal have set up the initial network that a mobile network identification number is 11111111.Certainly, control is whole End can also be configured the NID, such as set 11111110,011111111 for NID, only need controlling terminal and intelligence Identical mobile network identification number is arranged in home equipment, can group build up an initial smart home system.Certainly, FID and NID It can be identified using nybble, it's not limited to that for specific representation.

2. intelligent control device already belongs to smart home system, intelligent node is not belonging to smart home system;At this point, intelligence Node needs to configure.By the id information of existing network, the grouping information of encryption information and new node is sent intelligent control device To node to be configured;

3. intelligent node equipment belongs to smart home system, intelligent control device is not belonging to smart home system;Intelligence at this time It can control equipment to need to configure, equipment to be configured reads network ID, the grouping of encryption information and node from node by connection With status information etc.;

After the completion of network configuration information interaction, both sides can be disconnected, at this time intelligent node or special intelligent equipment Into 105 normal operating conditions;Can continue to keep connection, and according to mode shown in Fig. 3 realize network-based control and Monitoring.

Then, in step 105, smart home device works normally in the intelligent network established or be added, and such as broadcasts Self information and the information etc. for receiving the transmission of other nodes.

Then, in step 106, whether smart home device judgement is current is in following state: receiving for this intelligence The control instruction of energy home equipment;Alternatively, receiving the instruction for needing to forward;Alternatively, the state of this smart home device becomes Change, need to notify other nodes.

Specifically, controlling terminal (such as smart phone or remote controler) can be sent in the same smart home system The control instruction of identification code is carried, to control the smart home device (such as lighting device) that identification code is identified, such as can be with The opening and closing for controlling some lighting device adjust brightness, color of lighting device etc..The identification code carried in control instruction For network ID, the identity number (ID) in smart home device is set before packet ID and smart home device factory, is led to The targeted smart home device of this control instruction can be uniquely determined by crossing these ID.Such as device id can be by unique 6 byte Binary code indicates, generates at random in smart home device factory.Controlling terminal exists the control instruction for carrying the ID In the radio broadcasting coverage area of this controlling terminal, broadcasted.

The smart home device for receiving control instruction, by the network ID in this smart home device, packet ID, Yi Jishen Part identification number (ID) is compared with the identification code carried in control instruction, that is, judges whether the control instruction is to be sent to this The control instruction of smart home device.If comparison result mismatches, illustrate that the control instruction is destined to other intelligent families Equipment is occupied, that is, needs to forward the control instruction.Such as if the smart home device for receiving control instruction determines the control Identification code in instruction is different from the identification code being arranged in this smart home device, for example the ID in control instruction is A, is received The ID of the smart home device of the control instruction is B, then the smart home device that ID is B continues the radio broadcasting control instruction.

If comparison result matches, such as network ID matching, and packet ID is for all devices or network ID Match, packet ID also matches, and device id is generic broadcasted ID or network ID, and packet ID and device id all match, then illustrate The control instruction is destined to this smart home device, needs to respond the control instruction, that is, executes indicated by the control instruction Operation can according to need the status change notification by this smart home device to controlling terminal after the completion of operation.

Therefore, the smart home device in present embodiment may be in following three kinds of situations:

(1) control instruction for this smart home device is received, which may be what controlling terminal was sent, It is also likely to be what other smart home devices forwarded;

(2) control instruction is received, but determining that the control instruction is not according to the ID carried in the control instruction is to be directed to This smart home device;

(3) state of this smart home device is changed, and has such as become closed state from open state.

When smart home device judgement be currently at above-mentioned three kinds of situations for the moment, enter step 107, otherwise, return to step Rapid 105, continue to broadcast self information and receives other nodal informations.

In step 107, smart home device forwarding control instruction or response instruction, or by the status change notification of itself Give other nodes.And step 105 is returned to after this step.

Such as if in step 106, smart home device determines to have received the control for this smart home device System instruction, then in this step, respond the control instruction.As smart home device is opened or closed according to the control instruction, intelligence Energy home equipment adjusts temperature or adjusting brightness etc., no longer repeats one by one here.

If in step 106, smart home device, which determines to receive, is referred to for the control of this smart home device It enables, then in this step, forwards the control instruction received, continue Broadcasting Control instruction such as in radio broadcasting coverage area, make Other smart home devices obtained in coverage area can receive the control instruction.By smart home device to control The forwarding of instruction, it is ensured that (no matter whether the equipment is in the signal cover of controlling terminal for any smart home device It is interior), the control instruction in the control end in same smart home system can be received.

If in step 106, smart home device determine the state of this smart home device have occurred variation (for example, Air-conditioning is open state, the current luminescent color of BLE lighting device is yellow etc.), then in this step, smart home device will State change information is broadcasted, in coverage area other smart home devices or controlling terminal can receive broadcast State change information.The smart home device for receiving the state change information continues to broadcast in radio broadcasting coverage area State change information passes through the radio broadcasting of multiple intermediate smart home devices, it is ensured that controlling terminal can receive the shape State change information.Controlling terminal is presented to the user after receiving the state change information that other nodes are sent.

Step 105 is returned to after this step.

Above-mentioned process describes smart home device and how to establish (or be added) intelligent network system, and is at this In system, the working method of smart home device.It is illustrated so that controlling terminal is remote controler as an example below.

The schematic diagram of certain smart home system is as shown in Fig. 2, the system comprises remote controlers 10, the first smart home device 21, the second smart home device 22, third smart home device 23, the 4th smart home device 24, the 5th smart home device 25, the 6th smart home device 26.Wherein, the FID of the first smart home device 21 is that 11111111, ID is aaaaaaaaaaaa;The FID of second smart home device 22 is 22222222, ID bbbbbbbbbbbb;Third smart home The FID of equipment 23 is 33333333, ID cccccccccccc;The FID of 4th smart home device 24 is that 44444444, ID is dddddddddddd;The FID of 5th smart home device 25 is 55555555, ID eeeeeeeeeeee;6th smart home The FID of equipment 26 is 66666666, ID hhhhhhhhhhhh.

The smart home system is to establish channel radio by Bluetooth pairing by remote controler and the first smart home device 21 Believe that link sets up initial intelligent house system, and the FID:11111111 of the first smart home device 21 is configured to the intelligence man The NID (certainly, the NID of configuration can be randomly generated by remote controler is sent to the first smart home device 21) of system is occupied, thus The NID of the smart home system is 11111111, can determine unique smart home system by the NID.Other intelligent families It occupies equipment and is added to the smart home system by establishing wireless communication link with remote controler progress Bluetooth pairing.

Smart home device in remote controler radio broadcasting coverage area is the first smart home device 21 and the second intelligence Energy home equipment 22, the smart home device in 21 radio broadcasting coverage area of the first smart home device are third intelligence man Equipment 23 and the 4th smart home device 24 are occupied, the smart home in 22 radio broadcasting coverage area of the second smart home device Equipment is the 5th smart home device 25 and the 6th smart home device 26.

If user needs to open the 5th smart home device 25, the control for being eeeeeeee comprising ID is sent using remote controler System instruction, the control instruction are wireiessly broadcasted to the first smart home device 21 and the second smart home device 22, receive control The first smart home device 21 and the second smart home device 22 for making instruction judge respectively identification code in the control instruction with The identification code being arranged in this smart home device is all different, and the first smart home device 21 and the second smart home device 22 exist Continue to broadcast the control instruction in respective radio broadcasting coverage area.First smart home device 21 will be eeeeeeee comprising ID Control instruction radio broadcasting to third smart home device 23 and the 4th smart home device 24;Third smart home device 23 It receives the control instruction and judges that the identification code of the control instruction is not identical as the identification code of setting in this smart home device, the Three smart home devices 23 continue to broadcast the control instruction;4th smart home device 24 receives the controlling value and enables and judge this The identification code of control instruction and the identification code being arranged in this smart home device be not identical, and the 4th smart home device 24 continues extensively Broadcast the control instruction.

Second smart home device 22 will give the 5th smart home comprising the control instruction radio broadcasting that ID is eeeeeeee Equipment 25 and the 6th smart home device 26;5th smart home device 25 receives the control instruction and judges the control instruction The identification code being arranged in identification code and this smart home device is not identical, and the 5th smart home device 25, which continues to broadcast the control, to be referred to It enables;6th smart home device 26 receive the control instruction and judge the control instruction identification code and this smart home device in The identification code of setting is identical, and the 6th smart home device 26 responds the control instruction, and the 6th smart home device 26 is opened, and raw At state change information (i.e. the open state information of the 6th smart home device 26), the state change information as desired by Second smart home device, 22 radio broadcasting is to remote controler.

It should be noted that in the present embodiment, controlling terminal not only can be the equipment such as remote controler, switch, may be used also To be the terminal devices such as mobile phone, PAD.The control instruction for carrying identification code is sent to and establishes with this smart phone by smart phone The smart home device of communication link, then control instruction is transmitted to by the whole network by smart home device in a broadcast manner.

Below by taking controlling terminal is smart phone as an example, set to how to realize for the smart home in smart home system Standby control is illustrated.

It is illustrated in figure 3 the schematic diagram of certain smart home system, wherein 11 be smart phone.Smart phone and the first intelligence Home equipment 21 establishes wireless communication link by Bluetooth pairing.If user wishes to control the 5th smart home by smart phone Equipment 25 is closed, then being matched by being sent to comprising the control instruction that ID is eeeeeeeeeeee for smart phone generation with it The first smart home device 21.Smart home device in 21 radio broadcasting coverage area of the first smart home device is the Two smart home devices 22, third smart home device 23 and the 4th smart home device 24.First smart home device 21 is sentenced The identification code broken in the control instruction is different from the identification code being arranged in this smart home device, and therefore, the first smart home is set Standby 21 give the control instruction radio broadcasting to the second smart home device 22, third smart home device 23 and the 4th smart home Equipment 24.

Smart home device in the radio broadcasting coverage area of the second smart home device 22 is the 5th smart home Equipment 25 and the 6th smart home device 26, the second smart home device 22 is by the control instruction radio broadcasting to the 5th intelligent family Occupy equipment 25 and the 6th smart home device 26;6th smart home device 26 receives the control instruction and judges the control instruction Interior identification code and the identification code being arranged in this smart home device be not identical, and the 6th smart home device 26 continues radio broadcasting The control instruction.

5th smart home device 25 receives the control instruction and judges the identification code in the control instruction and this intelligence The identification code being arranged in home equipment is identical, then smart home device responds the control instruction, closes this according to the control instruction Smart home device 25, and the closed state information for generating i.e. the 5th smart home device 25 of state change information is led to as needed Former transmission path radio broadcasting is crossed to smart phone.

Due to as it can be seen that smart phone only need to a smart home device in some smart home system complete match, All smart home devices of other in the smart home system can be controlled, in addition, smart phone can also basis Actual conditions choose the most effective smart home device for pairing.The control method makes smart phone using the smallest software The control of any smart home device can be realized in change, the smallest software change are as follows: only do in the application layer of smart phone Change, such as the application layer of Android or IOS, and robustness is not sacrificed using such change.

In addition, the safety in order to guarantee smart home system, when controlling terminal and smart home device carry out for the first time When matching and establishing wireless communication link, user sets verifying password, once password is increased, when controlling terminal accesses a certain intelligence It can need to further increase the safety of smart home system by verifying by using password when house system.

Using the method for central controller controls in compared with the prior art, by using the wireless of each smart home device Broadcast capability, user can use multiple controlling terminals while realizing the control to smart home device by different control paths System avoids central processing unit because performance declines caused by traffic congestion, improves the flexible structure of smart home system Property;And it is right since multiple controlling terminals can realize the control to smart home device by different control paths simultaneously The control of smart home device is not relying on a certain specific control path, if a certain control path breaks down, control instruction It can continue to transmit by other control paths, if will lead to entire system compared to using to break down when central controller System paralysis the case where, the present invention in control method greatly improve smart home system normal operation stability.

Therefore the control method can effectively improve the configuration flexibility and system stability of entire smart home system, pole User experience is improved greatly.

Second embodiment of the present invention is related to a kind of control method of smart home system.Second embodiment is first Improve on the basis of embodiment, mainly the improvement is that: in second embodiment of the invention, carrying refers in control What the identification code in order was directed to not only can be a smart home device, be also possible to a smart home device group, so that Controlling terminal can control same group of smart home device.

Specifically, not being provided only with identity ID, mobile network identification number NID in smart home device, still set It is equipped with a group identification number GID.That carry in the control instruction that smart home device receives is a group identification number GID, which sets Whether the standby GID for judging to carry and the GID being arranged in this smart home device are identical, if identical, respond the control instruction, The control instruction is forwarded simultaneously, has guaranteed that other smart home devices in the group can also receive the control instruction.

Such as group identification number can be indicated by 16 binary codes, the group in smart home system, group are marked for identification It's not limited to that for the specific representation of knowledge number.Such as first smart home device group identification number be 0001, second intelligence The group identification number of home equipment is 0001, and the group identification number of third smart home device is 0001, the 4th smart home device Group identification number is 0010, and the group identification number of the 5th smart home device is 0010, and the group identification number of the 6th smart home device is 0011, the group identification number of the 7th smart home device is 0011.Wherein the 6th smart home device and the 7th smart home device Group identification number 0011 be 0001 with 0010 phase and obtain, thus 0011 had not only belonged to 0001 group, but also belonged to 0010 group.

If user wishes that the smart home device for controlling 0001 group by controlling terminal is opened, controlling terminal transmission includes The control instruction that group identification number is 0001, then the first smart home device, the second smart home device and third smart home are set It is standby to be turned on, while controlling terminal can choose the 6th smart home device of control and the 7th smart home device is opened or closed It closes.Similarly, if user wishes that the smart home device for controlling 0002 group by controlling terminal is opened, controlling terminal sends packet The control instruction for being 0002 containing group identification number, then the 4th smart home device and the 5th smart home device are turned on, same to time control Terminal processed can choose the 6th smart home device of control and the 7th smart home device opens or closes.If user wishes to pass through Controlling terminal controls 0011 group of smart home device, then the control that it is No. 0011 comprising group identification number that controlling terminal, which is sent, refers to It enables, then the 6th smart home device and the 7th smart home device are turned on.

By the group identification number configured to smart home device, the smart home that controlling terminal can control same group is set It is standby, it realizes that the grouping to smart home device controls, improves user experience.

Third embodiment of the present invention is related to a kind of control method of smart home system.Third embodiment is first Further improvement has been done on the basis of embodiment, has mainly been theed improvement is that: in third embodiment of the invention, at this It include following sub-step in the step of continuing Broadcasting Control instruction in the radio broadcasting coverage area of smart home device: intelligence Home equipment judges whether control instruction had been broadcasted or referred to by this smart home device before continuing Broadcasting Control instruction Enabling allows the number forwarded to be reduced to 0 time, if being broadcasted or instructed by this smart home device does not allow to forward, Then this smart home device no longer Broadcasting Control instructs.Pass through the forwarding to the same control instruction of smart home device radio broadcasting Number is configured, and can improve smart home to avoid the extra power consumption and formation broadcast storm of entire smart home system The flexibility of system buildup, improves user experience.

Specifically, smart home device X receives control instruction M, smart home device X Broadcasting Control command M it Before, judging whether control instruction was broadcasted or instructed by this smart home X allows hop count to be greater than 0 time, if the control Command M is not broadcasted by smart home device X also and allows to forward, then smart home device X broadcasts control instruction M and will broadcast Permission hop count in information subtracts 1.If smart home device X had broadcasted control instruction M, when smart home device X again It is secondary that smart home device X judges that control instruction was broadcasted by this smart home device when receiving control instruction M, then this Smart home device X no longer broadcasts the control instruction.If smart home device X did not broadcast control instruction M, work as smart home When equipment X receives control instruction M, smart home device X, which judges control instruction M, not to be allowed to forward (permission hop count It has been reduced to 0), then this smart home device X no longer broadcasts the control instruction.

It, can be to avoid entire smart home system due to intelligence by the setting to smart home device radio broadcasting number The extra power consumption that the radio broadcasting number of home equipment is unreasonable and generates improves the flexibility of smart home system establishment, Improve user experience.

Four embodiment of the invention is related to a kind of smart home system, includes: multiple smart home devices and at least one The structural schematic diagram of a controlling terminal, smart home system is as shown in Figure 4, wherein E and F is the natural number greater than 1.

In the smart home system, smart home device is for establishing wireless communication link with the controlling terminal Afterwards, whether detection opposite end is the equipment that smart home system has been added, the equipment if it is being added in smart home system, Network configuration information is obtained from opposite end by the wireless communication link, and intelligence is added according to the network configuration information of the acquisition It can house system;Equipment if not being added in smart home system then passes through the channel radio with the controlling terminal Believe link negotiation network configuration information, and smart home system is established according to the network configuration information of the negotiation.

The controlling terminal be used for after establishing wireless communication link with the smart home device, detection opposite end whether be The equipment that smart home system has been added, the equipment if it is being added in smart home system, passes through the wireless communication Link obtains network configuration information from opposite end, and smart home system is added according to the network configuration information of the acquisition;If It is not the equipment being added in smart home system, then net is negotiated by the wireless communication link with the smart home device Network configuration information, and smart home system is established according to the network configuration information of the negotiation.

The smart home device be also used to respond being sent from controlling terminal of receiving or from same smart home The control instruction of other smart home devices forwarding in system.

Specifically, controlling terminal is dedicated controlling terminal or general controls terminal.Dedicated controlling terminal is used in this control In the radio broadcasting coverage area of terminal processed, broadcast carries the control instruction of identification code.General controls terminal be used for by with The wireless communication link that smart home device is established, is sent to smart home device for control instruction.The knot of smart home device Structure schematic diagram as shown in figure 5, comprising:

Judgment module, the identification code for judging to be arranged in the identification code in the control instruction received and this smart home It is whether identical;

Respond module, for responding the control instruction when the judgment module determines identical;

Forwarding module, for covering model in the radio broadcasting of this smart home device when the judgment module determines different It encloses and interior continues to broadcast the control instruction;

State change information generation module, for generating state change after the respond module responds the control instruction Information;

Status change notification module, for broadcasting the state in the radio broadcasting coverage area of this smart home device Change information;

The forwarding module is also used to receiving other smart home devices in same smart home system When state change information, continue to broadcast the state change information in the radio broadcasting coverage area of this smart home device.

In addition, it is necessary to which explanation, carries the identity number that the identification code in control instruction is smart home device; Alternatively, carrying the identification code in control instruction is the group identification number for identifying one group of smart home device.

It is not difficult to find that present embodiment is system embodiment corresponding with first embodiment, present embodiment can be with First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment Effect, in order to reduce repetition, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in In first embodiment.

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.

Claims (12)

1. a kind of control method of smart home system, which is characterized in that comprise the steps of:
A, smart home device and controlling terminal establish wireless communication link;
B, whether the smart home device or controlling terminal detection opposite end are the equipment that smart home system has been added, such as Fruit is the equipment being added in smart home system, then obtains network configuration information from opposite end by the wireless communication link, And smart home system is added according to the network configuration information of the acquisition;If not setting in smart home system has been added Standby, then the smart home device and the controlling terminal pass through the wireless communication link and negotiate network configuration information, and root Smart home system is established according to the network configuration information of the negotiation;
C, that smart home device response received send from controlling terminal or in same smart home system The control instruction of other smart home devices forwarding.
2. the control method of smart home system according to claim 1, which is characterized in that the controlling terminal is dedicated Controlling terminal or general controls terminal;When the controlling terminal is dedicated controlling terminal, the step C includes following sub-step It is rapid:
In the radio broadcasting coverage area of this controlling terminal, the control that broadcast carries identification code refers to for C1, the controlling terminal It enables;
Whether C2, the smart home device for receiving the control instruction judge the identification code in the control instruction just for this intelligence Energy home node, if it is responds the control instruction, if not then in the radio broadcasting covering of this smart home device Continue to broadcast the control instruction in range;
C3, repeating said steps C2, until the control instruction is responded by smart home device.
3. the control method of smart home system according to claim 1, which is characterized in that when the controlling terminal is logical With controlling terminal, the step C includes following sub-step:
Smart home device in C11, the controlling terminal and the smart home system establishes wireless communication link;
Control instruction is sent to the smart home device for establishing wireless communication link by C21, the controlling terminal;
Whether C31, the smart home device for receiving the control instruction judge the identification code in the control instruction just for this family Node is occupied, the control instruction is if it is responded, if not then in the radio broadcasting coverage area of this smart home device The interior broadcast control instruction;
C41, repeating said steps C31, until the control instruction is responded by smart home device.
4. the control method of smart home system according to claim 2 or 3, which is characterized in that the carrying is controlling Identification code in instruction is the identity number of smart home device;Alternatively,
Identification code of the carrying in control instruction is the group identification number for identifying one group or multiple groups smart home device.
5. the control method of smart home system according to claim 2 or 3, which is characterized in that described in this intelligence man It occupies in the step of broadcasting the control instruction in the radio broadcasting coverage area of equipment, includes following sub-step:
Whether the smart home device judges the control instruction by this smart home before broadcasting the control instruction Perhaps hop count is allowed to be broadcasted by this smart home device greater than 0 time or do not allowed to forward if device broadcasts are crossed, This smart home device no longer broadcasts the control instruction;If not yet being broadcasted or being had not yet been reached by this smart home device Allow the number forwarded, then broadcasts the control instruction again.
6. the control method of smart home system according to claim 1, which is characterized in that also comprise the steps of:
The smart home device is by the state change information of this smart home device, in the radio broadcasting of this smart home device It is broadcasted in coverage area;
The smart home device for receiving the state change information, in the radio broadcasting coverage area of this smart home device Continue to broadcast the state change information.
7. the control method of smart home system according to claim 1, which is characterized in that the network configuration information packet Containing following one or any combination thereof:
Mobile network identification number, grouping information, encryption information.
8. the control method of smart home system according to claim 1, which is characterized in that described in the step A Smart home device and controlling terminal establish the wireless communication link in a manner of Bluetooth pairing.
9. a kind of smart home system is, characterized by comprising: multiple smart home devices and at least one controlling terminal;
The smart home device and the controlling terminal establish wireless communication link;
The smart home device or the controlling terminal are used to detect whether opposite end is the equipment that smart home system has been added, Equipment if it is being added in smart home system obtains network configuration letter from opposite end by the wireless communication link Breath, and smart home system is added according to the network configuration information of the acquisition;If not being added in smart home system Equipment, then network configuration information is negotiated by the wireless communication link with the controlling terminal, and according to the negotiation Network configuration information establishes smart home system;
The smart home device be also used to respond being sent from controlling terminal of receiving or from same smart home system The control instruction of interior other smart home devices forwarding.
10. smart home system according to claim 9, which is characterized in that the controlling terminal is dedicated controlling terminal, Or general controls terminal;
The dedicated controlling terminal is used in the radio broadcasting coverage area of this controlling terminal, and broadcast carries the control of identification code System instruction;
The general controls terminal is used to be sent to control instruction by the wireless communication link established with smart home device Smart home device;
The smart home device includes:
Judgment module, whether the identification code for judging to be arranged in the identification code in the control instruction received and this smart home It is identical;
Respond module, for responding the control instruction when the judgment module determines identical;
Forwarding module, for when the judgment module determines different in the radio broadcasting coverage area of this smart home device Continue to broadcast the control instruction.
11. smart home system according to claim 10, which is characterized in that the smart home device also includes:
State change information generation module, for generating state change information;
Status change notification module, for broadcasting the state change in the radio broadcasting coverage area of this smart home device Information;
The forwarding module is also used in the state for receiving other smart home devices in same smart home system When change information, continue to broadcast the state change information in the radio broadcasting coverage area of this smart home device.
12. smart home system described in 0 or 11 according to claim 1, which is characterized in that
Identification code of the carrying in control instruction is the identity number of smart home device;Alternatively,
Identification code of the carrying in control instruction is the group identification number for identifying one group of smart home device.
CN201510300886.6A 2015-06-04 2015-06-04 Smart home system and its control method CN104898449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510300886.6A CN104898449B (en) 2015-06-04 2015-06-04 Smart home system and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510300886.6A CN104898449B (en) 2015-06-04 2015-06-04 Smart home system and its control method

Publications (2)

Publication Number Publication Date
CN104898449A CN104898449A (en) 2015-09-09
CN104898449B true CN104898449B (en) 2019-01-11

Family

ID=54031168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510300886.6A CN104898449B (en) 2015-06-04 2015-06-04 Smart home system and its control method

Country Status (1)

Country Link
CN (1) CN104898449B (en)

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204477B (en) * 2015-10-19 2018-01-09 泰凌微电子(上海)有限公司 Synchronisation control means, wireless network and intelligent home device in wireless network
CN105429828B (en) * 2015-10-20 2019-08-02 Oppo广东移动通信有限公司 A kind of method, apparatus and system that smart machine system is added
CN105392186B (en) * 2015-10-20 2018-05-25 广东欧珀移动通信有限公司 Intelligent terminal rejoins the method, apparatus and intelligent terminal of smart machine system
CN105246127A (en) * 2015-10-20 2016-01-13 广东欧珀移动通信有限公司 Intelligent device adding method and apparatus
WO2017101050A1 (en) * 2015-12-16 2017-06-22 意诺科技有限公司 Control method, control panel and control system for a smart home device
CN107018165A (en) * 2016-01-28 2017-08-04 阿里巴巴集团控股有限公司 The method and device of control internet of things equipment, server, mobile device
CN107196829B (en) * 2016-03-15 2019-11-29 中国电信股份有限公司 Intelligent home furnishing control method, node and node interlock method and system
CN107240234A (en) * 2016-03-25 2017-10-10 思创系统(新加坡)私人有限公司 Remote control control system and its control method
CN105743919B (en) * 2016-04-06 2018-12-21 致象尔微电子科技(上海)有限公司 Long-range control method, device and system
CN105867145A (en) * 2016-04-07 2016-08-17 北京精益理想科技有限公司 Intelligent household equipment control method and apparatus
CN105847019A (en) * 2016-04-18 2016-08-10 海尔优家智能科技(北京)有限公司 Intelligent equipment control method, control node and intelligent equipment
CN105867150B (en) * 2016-04-20 2018-09-14 北京昊恒天科技有限公司 A kind of intelligent domestic system matching method, equipment and system
CN105700376B (en) * 2016-04-20 2018-09-14 北京昊恒天科技有限公司 A kind of intelligent domestic system matching method, equipment and system
CN105867155A (en) * 2016-05-11 2016-08-17 深圳易联智能电气有限公司 Intelligent lamp and Bluetooth control method and system thereof
CN106161151B (en) * 2016-06-12 2019-09-17 青岛海信移动通信技术股份有限公司 A kind of control method and equipment of smart home
CN106327826B (en) * 2016-08-19 2019-08-23 深圳迈睿智能科技有限公司 A kind of control method and remote control system by remote control setting wireless networking
CN106341271B (en) * 2016-09-27 2018-09-04 珠海格力电器股份有限公司 Maintaining method and device, the electronic equipment of household electrical appliance
CN106572545A (en) * 2016-11-11 2017-04-19 珠海格力电器股份有限公司 Air detection device and method
CN108206989A (en) * 2016-12-16 2018-06-26 北京易方通达科技有限公司 A kind of multicast control instruction confirms feedback method
CN106600935B (en) * 2016-12-31 2020-07-07 武汉领普科技有限公司 Control system based on bluetooth mesh
CN107121945A (en) * 2017-04-19 2017-09-01 成都铅笔科技有限公司 A kind of apparatus for network node control system and method
WO2018210139A1 (en) * 2017-05-18 2018-11-22 苏州欧普照明有限公司 Wireless network node configuration method, apparatus, and system
CN107566229A (en) * 2017-08-25 2018-01-09 西安电子科技大学 The packet control process of intelligent domestic system
CN109890065A (en) * 2017-12-06 2019-06-14 九阳股份有限公司 A kind of network-building method and system of household appliance
WO2019136695A1 (en) * 2018-01-12 2019-07-18 Oppo广东移动通信有限公司 Data transmission method and device, and computer storage medium
WO2019136694A1 (en) * 2018-01-12 2019-07-18 Oppo广东移动通信有限公司 Data transmission method and device, and computer storage medium
CN108494580A (en) * 2018-02-07 2018-09-04 海尔优家智能科技(北京)有限公司 A kind of method, medium, terminal and the equipment of update facility information
CN108810861A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connection method, device and the storage medium of smart machine
CN109104664A (en) * 2018-06-25 2018-12-28 福来宝电子(深圳)有限公司 Control method, system, intelligent sound box and the storage medium of intelligent sound box
CN109151782B (en) * 2018-08-14 2020-12-22 深圳市沃特沃德股份有限公司 WIFI signal relay method and system based on intelligent household equipment
CN109168214A (en) * 2018-08-31 2019-01-08 四川蓝景光电技术有限责任公司 LED lamp control method and system, LED control gateway
CN109921969A (en) * 2019-03-27 2019-06-21 魏嘉琦 A kind of communication means applied to smart home
CN110430640A (en) * 2019-07-08 2019-11-08 欧普照明股份有限公司 A kind of method and intelligent lamp controlling intelligent lamp
CN110311797A (en) * 2019-08-05 2019-10-08 苏州极目机器人科技有限公司 Communication means and device based on automatic control system
CN110932951A (en) * 2019-12-12 2020-03-27 北京深思数盾科技股份有限公司 Intelligent household control method and device
CN111010670A (en) * 2019-12-19 2020-04-14 广州赛特智能科技有限公司 Remote control method and device based on multi-device cooperation and processing terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331032A (en) * 2014-08-26 2015-02-04 纳普(上海)软件有限公司 Intelligent device control system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662868A (en) * 2009-09-24 2010-03-03 北京诺和远东科技有限公司 Wireless intelligent light control system
CN102202298B (en) * 2010-03-23 2016-02-10 中兴通讯股份有限公司 The method of network is added in conjunction with network and Wireless Sensor Network Terminal
CN102149221B (en) * 2011-03-31 2013-06-26 武汉科技大学 Distributed wireless sensing network system used for lake water quality monitoring
CN202334567U (en) * 2011-11-22 2012-07-11 国网信息通信有限公司 Intelligent household electrical apparatus control system
CN102387056A (en) * 2011-11-22 2012-03-21 国网信息通信有限公司 Intelligent household electrical appliance control system
CN103426273A (en) * 2013-08-21 2013-12-04 深圳市戴维莱实业有限责任公司 Wireless gas alarm ad-hoc network
CN103685733B (en) * 2013-11-18 2017-01-25 华为终端有限公司 Remote control method and terminal
CN104038397A (en) * 2014-07-01 2014-09-10 广州合立正通信息科技有限公司 Automatic networking method of intelligent device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331032A (en) * 2014-08-26 2015-02-04 纳普(上海)软件有限公司 Intelligent device control system

Also Published As

Publication number Publication date
CN104898449A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
JP6502558B2 (en) Mesh network addressing
Verma et al. Machine-to-Machine (M2M) communications: A survey
AU2017216479B2 (en) Mesh network commissioning
JP6820954B2 (en) Cloud-based control of Wi-Fi networks
US9161291B2 (en) Multi-tier wireless home mesh network with a secure network discovery protocol
CN105379200B (en) For updating the method and system of distributed elastic network interconnection (DRNI) state
KR102114243B1 (en) Network, master, hub, and method for providing a bluetooth infrastructure
US8878451B2 (en) Lighting system and method for controlling the same
JP6764495B2 (en) How to configure a node and the node to be configured
Reinisch et al. Wireless technologies in home and building automation
RU2573750C2 (en) Improved commissioning of wireless network systems
KR20140079328A (en) Method and apparatus for controlling a home device remotely in a home network system
CN1771695B (en) Home network system
CN103438548B (en) Based on the system and method for the Long-distance Control central air-conditioning of mobile terminal
JP5727670B2 (en) Multi-interface terminal adjacent topology discovery, cooperative communication method, and multi-interface terminal
CN203178784U (en) Intelligent household control system based on Internet of Things
CN104301905B (en) Smart home ad hoc network method based on supervision of election strategy and system
CN104808623B (en) A kind of method of controlling security of network home appliance
US20130083805A1 (en) Network Integration System and Method
US10237807B2 (en) System and method for mixed-mesh wireless networking
US20150244565A1 (en) Network configuration
CN101997575B (en) Short-range communication is used to carry out system, the method and apparatus of wireless network connection
CN101523805B (en) Method for reconfiguring a communication network
CN204350030U (en) Based on the multi-functional household things-internet gateway device of Set Top Box
US20090026966A1 (en) Lighting system with lighting units using optical communication

Legal Events

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