Summary of the invention
In order to solve the uniformity that the focus of existing Intelligent housing technology is mostly focused on Data Transport Protocol
With safety etc., do not consider that each kinsfolk uses the otherness of smart home device but, and smart home is set
It is standby that active feedback is carried out to control centre, the defect of kinsfolk's maloperation is existed simultaneously, the present invention proposes a kind of based on effective
The intelligent home furnishing control method and system of range of instructions.
A kind of intelligent home furnishing control method based on effective instruction range comprising following steps:
S1, the identity information for obtaining all kinsfolks in advance, and the control authority weight of different home member is set, it will
Identity information is with control authority weight collectively as the control information of the kinsfolk;
S2, according to each kinsfolk of control information configuration of each kinsfolk to the control authority of each smart home device
List, and control authority list is stored in the central server of smart home;
S3, default center server judge the distance threshold of effective instruction;And judge whether kinsfolk is located at center
Server be circle, using distance threshold as radius in the range of, when kinsfolk is located in range, central server judges house
The control instruction that front yard member issues is effective instruction;
S4, central server receive the control instruction from kinsfolk, according to control instruction and control authority list
Generate the driving instruction of smart home device;
S5, smart home device is controlled according to driving instruction;
S6, central server obtain the running state information of the smart home device controlled, stop in smart home device
After only working, central server issues the driving instruction for entering dormant state to the smart home device.
In the intelligent home furnishing control method of the present invention based on effective instruction range,
The step S2 includes the attribute information for obtaining each smart home device;According to the category of each smart home device
Control authority list of each kinsfolk of control information configuration to each smart home device of property information, each kinsfolk, institute
The attribute information for stating smart home device includes that the purposes of smart home device, danger classes, equipment usually use the time;And it will
Control authority list is stored in the central server of smart home.
In the intelligent home furnishing control method of the present invention based on effective instruction range,
The step S4 includes that central server receives the control instruction from kinsfolk, judges control instruction from single
A kinsfolk comes from multiple kinsfolks, when control instruction comes from single kinsfolk, according to control instruction and control
Permissions list processed generates the driving instruction of smart home device, and jumps to step S5;
When control instruction comes from multiple kinsfolks, smart home device control authority is judged according to control authority list
Grade height generates smart home according to the high control instruction of smart home device control authority grade and control authority list
The driving instruction of equipment, and jump to step S4.
In the intelligent home furnishing control method of the present invention based on effective instruction range,
Control in the step S4 in control instruction from more people and each kinsfolk to current smart home device
When Permission Levels processed are identical, continue to judge whether multiple kinsfolks are identical to the control instruction of the smart home device;
When accusing that instruction is identical, referred to according to the driving that control instruction and control authority list generate smart home device
It enables, and jumps to step S5;
In the control instruction difference of multiple kinsfolks, while generating and showing that multiple kinsfolks negotiate to the intelligence
The prompt that home equipment is operated manually, and receive and judge the identity information of manual operation kinsfolk, according to the identity
Information improves the kinsfolk to the control authority grade of the smart home device, and arranges the control authority in central server
Table is updated.
Further include following steps in the intelligent home furnishing control method of the present invention based on effective instruction range:
S7, default control permissions list update threshold value;Judge the control instruction that kinsfolk issues in unit interval
Whether the instruction with manual operation smart home device mismatches, and counts unmatched number;
S8, judge whether unmatched number is greater than or equal to control authority list update threshold value, be greater than or equal to control
When permissions list processed updates threshold value, to the kinsfolk in central server to the control authority list of the smart home device into
Row updates.
The present invention also provides a kind of intelligent home control systems based on effective instruction range comprising following module:
Data obtaining module for obtaining the identity information of all kinsfolks in advance, and is arranged different home member's
Control authority weight, by identity information with control authority weight collectively as the control information of the kinsfolk;
Permissions list memory module, for each kinsfolk of control information configuration according to each kinsfolk to each intelligence
The control authority list of home equipment, and control authority list is stored in the central server of smart home;
Judgment module is instructed, for judging the distance threshold of effective instruction by default center server;And judge family
Member whether be located at central server for circle, using distance threshold as radius in the range of, be located in range in kinsfolk
When, central server judges the control instruction of kinsfolk's sending for effective instruction;
Driving instruction generation module, for receiving the control instruction from kinsfolk by central server, according to control
System instruction and control authority list generate the driving instruction of smart home device;
Device control module, for being controlled according to driving instruction smart home device;
Feedback module, for obtaining the running state information of the smart home device controlled by central server,
After smart home device stops working, central server issues the driving instruction for entering dormant state to the smart home device.
In the intelligent home control system of the present invention based on effective instruction range,
The permissions list memory module includes the attribute information for obtaining each smart home device;According to each intelligent family
Occupy the attribute information of equipment, each kinsfolk each kinsfolk of control information configuration to the control of each smart home device
Limit list, the attribute information of the smart home device includes that the purposes of smart home device, danger classes, equipment usually use
Time;And control authority list is stored in the central server of smart home.
In the intelligent home control system of the present invention based on effective instruction range,
The driving instruction generation module includes that central server receives the control instruction from kinsfolk, judges to control
Instruction is from single kinsfolk or comes from multiple kinsfolks, when control instruction comes from single kinsfolk, according to control
Instruction and control authority list generate the driving instruction of smart home device, and jump to device control module;
When control instruction comes from multiple kinsfolks, smart home device control authority is judged according to control authority list
Grade height generates smart home according to the high control instruction of smart home device control authority grade and control authority list
The driving instruction of equipment, and jump to device control module.
In the intelligent home control system of the present invention based on effective instruction range,
More people are come from control instruction in the driving instruction generation module and each kinsfolk is to current intelligent family
Occupy equipment control authority grade it is identical when, continue to judge multiple kinsfolks to the control instruction of the smart home device whether
It is identical;
When accusing that instruction is identical, referred to according to the driving that control instruction and control authority list generate smart home device
It enables, and jumps to device control module;
In the control instruction difference of multiple kinsfolks, while generating and showing that multiple kinsfolks negotiate to the intelligence
The prompt that home equipment is operated manually, and receive and judge the identity information of manual operation kinsfolk, according to the identity
Information improves the kinsfolk to the control authority grade of the smart home device, and arranges the control authority in central server
Table is updated.
Further include following module in the intelligent home control system of the present invention based on effective instruction range:
Statistical module updates threshold value for default control permissions list;Judge that kinsfolk issues in unit interval
Control instruction and be manually operated smart home device instruction whether mismatch, count unmatched number;
Update module, for judging whether unmatched number is greater than or equal to control authority list update threshold value, big
When control authority list update threshold value, to control of the kinsfolk to the smart home device in central server
Permissions list is updated.
Implement a kind of intelligent home furnishing control method and system based on effective instruction range provided by the invention with following
The utility model has the advantages that obtaining the identity information of all kinsfolks in advance, and the control authority weight of different home member is set, by body
Part information is with control authority weight collectively as the control information of the kinsfolk;According to the control information configuration of each kinsfolk
Control authority list of each kinsfolk to each smart home device, can be realized different kinsfolks to different intelligence
The different brackets control authority of home equipment avoids maloperation of such as children to some electric appliances, while also establishing perfect
Control instruction Conflicts management strategy, the control for avoiding smart home is not inconsistent situation with the actual wishes of practical kinsfolk
Occur;The running state information that the smart home device controlled is obtained by central server stops in smart home device
After work, central server issues the driving instruction for entering dormant state to the smart home device, can significantly reduce intelligence
The power consumption of energy household operation.By the way that the distance threshold of effective instruction is arranged, avoids central server and be not intended to kinsfolk
The operation behavior of knowledge is as by the control instruction of smart home device, caused maloperation.Only it is being located at center service
Device be circle, using distance threshold as radius in the range of, the instruction of kinsfolk is only effective instruction.
Specific embodiment
As shown in Figure 1, a kind of intelligent home furnishing control method based on effective instruction range comprising following steps:
S1, the identity information for obtaining all kinsfolks in advance, and the control authority weight of different home member is set, it will
Identity information is with control authority weight collectively as the control information of the kinsfolk.
In this step, the identity information of kinsfolk may include age, gender, daily schedule etc..Such as family
Child in member, the age, then he/her had the permission of control TV at 8 years old or so, more endangered without water heater etc.
The permission of the electric appliance of danger.
S2, according to each kinsfolk of control information configuration of each kinsfolk to the control authority of each smart home device
List, and control authority list is stored in the central server of smart home.
Optionally, in the intelligent home furnishing control method based on effective instruction range described in the embodiment of the present invention,
The step S2 includes the attribute information for obtaining each smart home device;According to the category of each smart home device
Control authority list of each kinsfolk of control information configuration to each smart home device of property information, each kinsfolk, institute
The attribute information for stating smart home device includes that the purposes of smart home device, danger classes, equipment usually use the time;And it will
Control authority list is stored in the central server of smart home.
In the present embodiment, each kinsfolk is not only stored in control authority list to set the smart home that can control
Standby control authority information, and also include control authority class information of the different home member to same smart home device.
For example child in kinsfolk and adult are possessed of control power limit to TV, but the consideration based on children's physical and mental health,
Adult is higher than child to the control authority grade of TV.Then central server preferentially adopts adult and the control of TV is referred to
It enables.
Preferably, the member of different families can be identical to the control authority of different smart home devices, can also be with
It is different.Although age in kinsfolk can be set in 30-45 years old female members to kitchen for example, be adult
The control authority of equipment is higher than male, naturally it is also possible to be set as opposite.
S3, default center server judge the distance threshold of effective instruction;And judge whether kinsfolk is located at center
Server be circle, using distance threshold as radius in the range of, when kinsfolk is located in range, central server judges house
The control instruction that front yard member issues is effective instruction.
In this step of embodiment, by the way that the distance threshold of effective instruction is arranged, central server is avoided by family
The unconscious operation behavior of member is as by the control instruction of smart home device, caused maloperation.Only it is being located at
With central server be circle, using distance threshold as radius in the range of, the instruction of kinsfolk is only effective instruction.
S4, central server receive the control instruction from kinsfolk, according to control instruction and control authority list
Generate the driving instruction of smart home device.
Optionally, in the intelligent home furnishing control method based on effective instruction range described in the embodiment of the present invention,
The step S4 includes that central server receives the control instruction from kinsfolk, judges control instruction from single
A kinsfolk comes from multiple kinsfolks, when control instruction comes from single kinsfolk, according to control instruction and control
Permissions list processed generates the driving instruction of smart home device, and jumps to step S5.
When control instruction comes from multiple kinsfolks, smart home device control authority is judged according to control authority list
Grade height generates smart home according to the high control instruction of smart home device control authority grade and control authority list
The driving instruction of equipment, and jump to step S5.
This step realizes the contradictory conflict when multiple kinsfolks issue control instruction to same smart home device
Settlement mechanism.
Optionally, in the intelligent home furnishing control method based on effective instruction range described in the embodiment of the present invention,
Control in the step S4 in control instruction from more people and each kinsfolk to current smart home device
When Permission Levels processed are identical, continue to judge whether multiple kinsfolks are identical to the control instruction of the smart home device.
When accusing that instruction is identical, referred to according to the driving that control instruction and control authority list generate smart home device
It enables, and jumps to step S5;When accusing that instruction is identical, even illustrating that the target of the kinsfolk of different rights grade is one
It causes, therefore can directly generate the driving instruction of smart home device according to control instruction and control authority list.
In the control instruction difference of multiple kinsfolks, while generating and showing that multiple kinsfolks negotiate to the intelligence
The prompt that home equipment is operated manually, and receive and judge the identity information of manual operation kinsfolk, according to the identity
Information improves the kinsfolk to the control authority grade of the smart home device, and arranges the control authority in central server
Table is updated.
In the control instruction difference of multiple kinsfolks, the identity information of manual operation kinsfolk is received and judged,
Because of suggestion content, therefore the kinsfolk for issuing manual operation can be considered what whole kinsfolks unanimously approved
High permission personnel improve the kinsfolk to the control authority grade of the smart home device according to the identity information, and centering
Control authority list in central server is updated, so that control authority list more meets reality.
S5, smart home device is controlled according to driving instruction.
S6, central server obtain the running state information of the smart home device controlled, stop in smart home device
After only working, central server issues the driving instruction for entering dormant state to the smart home device.
By this step, the running state information of smart home device can be actively obtained, can be lost to avoid kinsfolk
Forget the energy consumption of smart home device continuous service caused by powering off to smart home device.
Optionally, as shown in Fig. 2, another smart home based on effective instruction range described in the embodiment of the present invention
Further include following steps in control method:
S7, default control permissions list update threshold value;Judge the control instruction that kinsfolk issues in unit interval
Whether the instruction with manual operation smart home device mismatches, and counts unmatched number;
S8, judge whether unmatched number is greater than or equal to control authority list update threshold value, be greater than or equal to control
When permissions list processed updates threshold value, to the kinsfolk in central server to the control authority list of the smart home device into
Row updates.
In embodiments of the present invention, threshold value is updated by default control permissions list, so that will not be because of sporadic
Whether the instruction of control instruction and manual operation smart home device that kinsfolk issues, which mismatches, is just changed the kinsfolk
Control authority list to the smart home device.Only in the control instruction of kinsfolk's sending and manual operation smart home
Whether the instruction of equipment mismatches number when frequently reaching control authority list update threshold value, preset control before explanation
Limit list does not meet the kinsfolk and is accustomed to the control of the smart home device, or over time, the family at
The operating habit of member is changed, so that the control habit of the kinsfolk can actively carry out more in control authority list
Change, environmental suitability is higher.
As shown in figure 3, the embodiment of the present invention also provides a kind of intelligent home control system based on effective instruction range,
Including following module:
For obtaining the identity information of all kinsfolks in advance, and different home member is arranged in data obtaining module 10
Control authority weight, by identity information and control authority weight collectively as the control information of the kinsfolk.
Permissions list memory module 20, for each kinsfolk of control information configuration according to each kinsfolk to each intelligence
The control authority list of energy home equipment, and control authority list is stored in the central server of smart home.
Optionally, in the intelligent home control system based on effective instruction range described in the embodiment of the present invention,
The permissions list memory module 20 includes the attribute information for obtaining each smart home device;According to each intelligence
Control of each kinsfolk of control information configuration to each smart home device of the attribute information of home equipment, each kinsfolk
Permissions list, the attribute information of the smart home device include that the purposes of smart home device, danger classes, equipment usually make
Use the time;And control authority list is stored in the central server of smart home.
Judgment module 30 is instructed, for judging the distance threshold of effective instruction by default center server;And judge house
Front yard member whether be located at central server for circle, using distance threshold as radius in the range of, be located at range in kinsfolk
When interior, central server judges the control instruction of kinsfolk's sending for effective instruction.
Driving instruction generation module 40, for receiving the control instruction from kinsfolk by central server, according to
Control instruction and control authority list generate the driving instruction of smart home device.
Optionally, in the intelligent home control system based on effective instruction range described in the embodiment of the present invention,
The driving instruction generation module 40 includes that central server receives the control instruction from kinsfolk, judges to control
System instruction is from single kinsfolk or comes from multiple kinsfolks, when control instruction comes from single kinsfolk, according to control
System instruction and control authority list generate the driving instruction of smart home device, and jump to device control module 50;
When control instruction comes from multiple kinsfolks, smart home device control authority is judged according to control authority list
Grade height generates smart home according to the high control instruction of smart home device control authority grade and control authority list
The driving instruction of equipment, and jump to device control module 50.
Optionally, in the intelligent home control system based on effective instruction range described in the embodiment of the present invention,
More people and each kinsfolk are come to current intelligence in control instruction in the driving instruction generation module 40
When the control authority grade of home equipment is identical, continue to judge that multiple kinsfolks are to the control instruction of the smart home device
It is no identical;
When accusing that instruction is identical, referred to according to the driving that control instruction and control authority list generate smart home device
It enables, and jumps to device control module 50;
In the control instruction difference of multiple kinsfolks, while generating and showing that multiple kinsfolks negotiate to the intelligence
The prompt that home equipment is operated manually, and receive and judge the identity information of manual operation kinsfolk, according to the identity
Information improves the kinsfolk to the control authority grade of the smart home device, and arranges the control authority in central server
Table is updated.
Device control module 50, for being controlled according to driving instruction smart home device.
Feedback module 60, for obtaining the running state information of the smart home device controlled by central server,
After smart home device stops working, central server issues the driving instruction for entering dormant state to the smart home device
Optionally, it in the intelligent home control system based on effective instruction range described in the embodiment of the present invention, also wraps
Include following module:
Statistical module 70 updates threshold value for default control permissions list;Judge that kinsfolk sends out in unit interval
Whether control instruction out and the instruction of manual operation smart home device mismatch, and count unmatched number;
Update module 80, for judging whether unmatched number is greater than or equal to control authority list update threshold value,
When more than or equal to control authority list update threshold value, to control of the kinsfolk to the smart home device in central server
Permissions list processed is updated.
Above method embodiment and system embodiment are correspondingly that therefore, the extension of embodiment of the method is also applicable
In the above system embodiment.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory, memory, read-only memory,
Institute is public in electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In the storage medium for any other forms known.
It is understood that for those of ordinary skill in the art, can do in accordance with the technical idea of the present invention
Various other changes and modifications out, and all these changes and deformation all should belong to the protection model of the claims in the present invention
It encloses.