CN109212988A - Intelligent home furnishing control method and system - Google Patents
Intelligent home furnishing control method and system Download PDFInfo
- Publication number
- CN109212988A CN109212988A CN201811117773.2A CN201811117773A CN109212988A CN 109212988 A CN109212988 A CN 109212988A CN 201811117773 A CN201811117773 A CN 201811117773A CN 109212988 A CN109212988 A CN 109212988A
- Authority
- CN
- China
- Prior art keywords
- history
- use state
- probability
- history use
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Abstract
The present invention provides a kind of intelligent home furnishing control method and system.The intelligent home furnishing control method includes: step S1, obtains in history set period of time the history use state of each smart home device and corresponding using probability;Step S2, according to the history use state and it is corresponding use probability, corresponding control signal is generated using preset algorithm;Step S3, in current set period of time corresponding with history set period of time, corresponding smart home device is controlled according to the control signal and is opened or closed.Intelligent home furnishing control method provided by the present invention and system improve the safety of the smart home device in the house for a long time under blank state.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of intelligent home furnishing control method and system.
Background technique
With social progress, people's living standard is promoted, and the crowd's quantity for possessing strange land house property gradually increases.For possessing
For the people of strange land house property, for example a Pekinese has a set of house property in Hainan, and the time that he goes to Hainan to live in 1 year is very
Limited, most of the time house is in blank state.And it is in the house of blank state for a long time, it tends to cause illegal point
Son note that the safety of the smart home device in the house under blank state is difficult to obtain effective guarantee for a long time.
Therefore, the safety for how improving smart home device of the long-time in the house under blank state has become
Urgent problem to be solved at present.
Summary of the invention
The present invention is directed at least solve one of above-mentioned the technical problems existing in the prior art, a kind of smart home control is provided
Method and system processed.
To achieve the above object, the present invention provides a kind of intelligent home furnishing control method, which includes:
Step S1, it is general that the history use state of each smart home device and corresponding use in history set period of time are obtained
Rate;
Step S2, according to the history use state and it is corresponding use probability, corresponding control is generated using preset algorithm
Signal processed;
Step S3, it in current set period of time corresponding with history set period of time, is controlled according to the control signal
Corresponding smart home device opens or closes.
Optionally, step S1 includes:
Step S11, the history usage amount of each smart home device in history set period of time is obtained;
Step S12, the history usage amount of the history usage amount of computational intelligence home equipment and all smart home devices it
It is corresponding using probability to generate the smart home device for the ratio of sum.
Optionally, the preset algorithm includes state branching algorithm, and step S2 includes:
Step S21a, a current history use state is selected;
Step S22a, corresponding control signal is generated according to current history use state;
Step S23a, next history use state is generated at random;
Step S24a, judge that current history use state is corresponding to use using whether probability is less than or equal to next history
State is corresponding to use probability, if so, step S27a is executed, if it is not, executing step S25a;
Step S25a, it generates one and meets the random number that [0,1] is uniformly distributed probability;
Step S26a, judge that current history use state is corresponding using probability and next history use state is corresponding makes
Whether it is greater than or equal to the random number with the ratio of probability, if so, step S27a is executed, if it is not, current history is kept to use
State simultaneously executes step S22a;
Step S27a, using next history use state as current history use state, step S22a is repeated, until
Generate the corresponding control signal of all history use states, and the total quantity of the control signal be equal to all history usage amounts it
With until.
Optionally, step S2 includes:
Step S21b, according to each history use state { C1, C2..., CnIt is corresponding use probability { P1, P2..., Pn, it is raw
At each probability accumulated value { F0, F1..., Fn, whereinM ∈ [0, n], k ∈ [0, m], FmM-th of expression general
Rate accumulated value, Fn=1, PkIndicate that k-th of history use state is corresponding using probability, P0=0, n are the total of history use state
Quantity;
Step S22b, initial parameter is set:D=0, wherein SUM is that control signal generates total amount,
I ∈ [1, n], QiIndicate the corresponding history usage amount of i-th of history use state, d is current control signal production quantity;
Step S23b, it generates one and meets the random number u that [0,1] is uniformly distributed probability;
Step S24b, by random number u and each probability accumulated value { F0, F1..., FnCompare, determine random number u institute
Section (the F of categoryj-1, Fj], wherein j ∈ [1, n];
Step S25b, according to each history use state { C1, C2..., CnIn j-th of history use state CjGeneration pair
The control signal answered;
Step S25b, d is carried out plus 1 is handled;
Step S26b, judge whether d is greater than or equal to SUM, if so, terminating process, if it is not, executing step S23b.
Optionally, in step S21a, current history use state is the initial use state of setting or sets from history
The history use state arbitrarily chosen in all history use states in period.
Optionally, described next to go through in step S23a if current history use state be the initial use state set
History use state is the history use state arbitrarily chosen from all history use states;
If current history use state is arbitrarily to choose from all history use states in history set period of time
When one history use state, in step S23a, next history use state is from addition to current history use state
All history use states in a history use state arbitrarily choosing.
To achieve the above object, the present invention provides a kind of intelligent home control system, the intelligent home control system packets
It includes:
Module is obtained, for obtaining the history use state of each smart home device in history set period of time and corresponding
Use probability;
Generation module, for according to the history use state and it is corresponding use probability, using preset algorithm generate phase
The control signal answered;
Control module, for being believed in current set period of time corresponding with history set period of time according to the control
Number corresponding smart home device of control opens or closes.
Optionally, the module that obtains makes specifically for the history of each smart home device in acquisition history set period of time
Dosage;The ratio of the history usage amount of computational intelligence home equipment and the sum of the history usage amount of all smart home devices, it is raw
Probability is used at the smart home device is corresponding.
Optionally, the preset algorithm includes state branching algorithm, and the generation module is specifically used for selected one currently
History use state;Corresponding control signal is generated according to current history use state;Next history use state is generated at random;
It is corresponding using general to judge whether the corresponding use probability of current history use state is less than or equal to next history use state
Rate;If being judged as YES, execute using next history use state as the step of current history use state, and repeat basis
The step of current history use state generates corresponding control signal, until generating the corresponding control letter of all history use states
Number, and until the total quantity of the control signal is equal to the sum of all history usage amounts;If being judged as NO, generates one and meet
[0,1] is uniformly distributed the random number of probability;Judge that current history use state is corresponding and uses shape using probability and next history
Whether the corresponding ratio using probability of state is greater than or equal to the random number;If being judged as YES, execution uses next history
The step of state is as current history use state, and repeat and corresponding control letter is generated according to current history use state
Number the step of, until generating the corresponding control signal of all history use states, and the total quantity of the control signal is equal to institute
Until having the sum of history usage amount;If being judged as NO, keep current history use state and execute to use shape according to current history
State generates the step of corresponding control signal.
Optionally, the generation module is specifically used for according to each history use state { C1, C2..., CnCorresponding using general
Rate { P1, P2..., Pn, generate each probability accumulated value { F0, F1..., Fn, whereinM ∈ [0, n], k ∈ [0,
M], FmIndicate m-th of probability accumulated value, Fn=1, PkIndicate that k-th of history use state is corresponding using probability, P0=0, n are
The total quantity of history use state;Initial parameter is set:D=0, wherein SUM is that control signal generates
Total amount, i ∈ [1, n], QiIndicate the corresponding history usage amount of i-th of history use state, d is current control signal production quantity;
It generates one and meets the random number u that [0,1] is uniformly distributed probability;By random number u and each probability accumulated value { F0, F1..., FnInto
Row comparison, determines section (F belonging to random number uj-1, Fj], wherein j ∈ [1, n];According to each history use state { C1,
C2..., CnIn j-th of history use state CjGenerate corresponding control signal;D is carried out plus 1 is handled;Judge whether d is big
In or equal to SUM;If being judged as YES, terminate process, if being judged as NO, execution generation one meets [0,1] and is uniformly distributed probability
Random number u the step of.
Beneficial effects of the present invention:
In the technical solution of intelligent home furnishing control method provided by the invention and system, according to each in history set period of time
The history use state of smart home device and it is corresponding use probability, corresponding control signal is generated using preset algorithm;?
In current set period of time corresponding with history set period of time, corresponding smart home device is controlled according to control signal and is opened
Or it closes.To improve the safety for the smart home device for being in the house under blank state for a long time.
Detailed description of the invention
Fig. 1 is a kind of flow chart for intelligent home furnishing control method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of intelligent home furnishing control method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for intelligent home furnishing control method that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for intelligent home control system that the embodiment of the present invention four provides.
Specific embodiment
To make those skilled in the art more fully understand technical solution of the present invention, the present invention is mentioned with reference to the accompanying drawing
The intelligent home furnishing control method and system of confession are described in detail.
Fig. 1 is a kind of flow chart for intelligent home furnishing control method that the embodiment of the present invention one provides, as shown in Figure 1, the intelligence
Can appliance control method include:
Step S1, it is general that the history use state of each smart home device and corresponding use in history set period of time are obtained
Rate.
Step S2, according to history use state and it is corresponding use probability, corresponding control letter is generated using preset algorithm
Number.
Step S3, it in current set period of time corresponding with history set period of time, is controlled according to the control signal
Corresponding smart home device opens or closes.
In the technical solution of intelligent home furnishing control method provided by the present embodiment, according to each intelligence in history set period of time
Can home equipment history use state and it is corresponding use probability, corresponding control signal is generated using preset algorithm;With
In the corresponding current set period of time of history set period of time, according to control signal control corresponding smart home device open or
It closes.To improve the safety for the smart home device for being in the house under blank state for a long time.
Fig. 2 is a kind of flow chart of intelligent home furnishing control method provided by Embodiment 2 of the present invention, the Intelligent housing
Method can be realized by intelligent home control system, as shown in Fig. 2, the intelligent home furnishing control method includes:
Step S1, it is general that the history use state of each smart home device and corresponding use in history set period of time are obtained
Rate.
In the present embodiment, history set period of time can be divided daily, the history that homeowners are lived in house
It is divided into multiple history set period of time some day, for example, being divided into getting up early period 6:00 to 8:00, sleeping at night period 22:
00 to 6:00, leave home period 8:00 to 11:00,14:00 to 18:00 and other periods 11:00 to 14:00,18:00 extremely
22:00.Specifically, the living habit of homeowners and the use to smart home device in each history set period of time are obtained
Habit, determines this according to the living habit of homeowners in history set period of time and to the use habit of smart home device
The history use state of each smart home device in history set period of time.Wherein, each smart home device includes: intelligent lighting
With intelligent curtain etc., for example, the history use state of the intelligent curtain in house is length in getting up early period 6:00 to 8:00
Open state.
Specifically, step S1 includes:
Step S11, the history usage amount of each smart home device in history set period of time is obtained.
Specifically, the history frequency of use of each smart home device in history set period of time is obtained, which uses frequency
Rate is the history usage amount of the smart home device.
Step S12, the history usage amount of the history usage amount of computational intelligence home equipment and all smart home devices it
It is corresponding using probability to generate the smart home device for the ratio of sum.
In the present embodiment, it is assumed that in step S11, obtain in history set period of time going through for n smart home device altogether
History usage amount Qn, each history use state CnA corresponding history usage amount Cn.It is corresponding that table 1 shows each history use state
History usage amount and use probability, as shown in table 1 below, each history use state CnA corresponding history usage amount Qn, namely
Corresponding one uses probability Pn.Wherein, n is the positive integer more than or equal to 1, n-th of history use state CnIt is corresponding to use generally
Rate isQiFor i-th of history usage amount, i is more than or equal to 1 and less than or equal to n's
Positive integer.
Table 1
Step S21a, a current history use state is selected.
In this step, current history use state be setting initial use state or out of history set period of time
The history use state C arbitrarily chosen in all history use statest, 1≤t≤N.In this step, it is preferable that currently go through
History use state is the initial use state C of setting0, initial use state C0The initial of corresponding setting uses probability.For example, just
Beginning use state C0For open state.
Step S22a, corresponding control signal is generated according to current history use state.
Wherein, control signal be for control smart home device corresponding to corresponding history use state work or not
The signal of work or instruction.For example, then corresponding control signal is control when current history use state is open state
Open signal processed, i.e., the signal opened for controlling corresponding smart home device;Current history use state is in off state
When, then corresponding control signal is control shutdown signal, i.e., the letter closed for controlling corresponding smart home device
Number.
In this step, as the initial use state C that history use state current in step S21a is setting0, then this step
In control signal be initial use state C0Corresponding initial control signal.In the present embodiment, the control signal is as current
The control signal of set period of time.
Step S23a, next history use state is generated at random.
It is described next if current history use state is the initial use state of setting in step S21a in this step
History use state is the history use state arbitrarily chosen from all history use states.Specifically, if step
When current history use state is the initial use state of setting in S21a, step S23a includes:
Step S231a, a positive integer k, 1≤k≤n are generated at random.
Step S232a, from all history use state { C1, C2, C3..., CnIn, it selects kth item history and uses shape
State, using kth item history use state as next history use state.
If current history use state is from all history use states in history set period of time in step S21a
When the history use state arbitrarily chosen, next history use state is from addition to current history use state
The history use state arbitrarily chosen in all history use states.Specifically, if current history uses in step S21a
When state is the history use state arbitrarily chosen from all history use states in history set period of time, step
S23a includes:
Step S233a, a positive integer k, 1≤k≤n are generated at random.
Step S234a, from except current history use state CtAll history use state { C in addition1, C2..., Ct-1,
Ct+1..., CnIn, kth item history use state is selected, using kth item history use state as next history use state.
Step S24a, judge that current history use state is corresponding to use using whether probability is less than or equal to next history
State is corresponding to use probability, if so, step S27a is executed, if it is not, executing step S25a.
In this step, if current history use state is initial use state C0When, current history use state is corresponding
It the use of probability is initial use state C0It is corresponding it is initial use probability P0, it is assumed that next history use state is history use
State C1, as shown in table 1, history use state C1It is corresponding to use probability for P1If P0≤P1, S27a is thened follow the steps, if P0
> P1, then follow the steps S25a.
If current history use state is history use state C2When, as shown in table 1, history use state C2It is corresponding to make
It is P with probability2, it is assumed that next history use state is history use state C1, as shown in table 1, history use state C1It is corresponding
It the use of probability is P1If P2≤P1, S27a is thened follow the steps, if P2> P1, then follow the steps S25a.
Step S25a, it generates one and meets the random number that [0,1] is uniformly distributed probability.
It should be noted that the random number of generation may be identical, it is also possible to different when executing step S25a every time.
Step S26a, judge that current history use state is corresponding using probability and next history use state is corresponding makes
Whether it is greater than or equal to the random number with the ratio of probability, if so, step S27a is executed, if it is not, current history is kept to use
State simultaneously executes step S22a.
Use probability for P for example, current history use state is corresponding2, next history use state is corresponding to be used generally
Rate is P1, the random number being currently generated is u, if judging P2/P1When >=u, step S27a is executed, if judging P2/P1When < u,
It keeps current history use state and executes step S22a.Wherein, the i.e. current history of current history use state is kept to use shape
State does not shift.
Step S27a, using next history use state as current history use state, step S22a is repeated, until
Generate the corresponding control signal of all history use states, and the total quantity of the control signal be equal to all history usage amounts it
With until.
If judging P2/P1When >=u, current history use state is transferred to next history use state, is gone through next
History use state repeats step S22a as current history use state, until it is corresponding to generate all history use states
Control signal, and until the total quantity of the control signal is equal to the sum of all history usage amounts.
Step S3, it in current set period of time corresponding with history set period of time, is controlled according to the control signal
Corresponding smart home device opens or closes.
For example, the history use state of smart home device A is long open state, then basis in history set period of time
The history use state and probability is used, corresponding control signal is generated using preset algorithm, wherein preset algorithm is preferably shape
State branching algorithm, to control smart home device A work according to the control signal when current set period of time starts, thus
When so that stranger seeing to house, cause in room someone in the illusion of inhabitation, increase house-owner there are sense, effective deterrent is illegal
Molecule covets long-time in the house of blank state, at the same can also increase cyberspace there are senses, due to operation
Randomness, even if so that network hacker obtains the use data of the smart home device in house by unlawful means,
It is difficult to make the long-term judgement that nobody uses in house.The intelligent family in the house for a long time under blank state is improved as a result,
Occupy the safety protection level of equipment.
In the technical solution of intelligent home furnishing control method provided by the present embodiment, according to each intelligence in history set period of time
Can home equipment history use state and it is corresponding use probability, corresponding control signal is generated using preset algorithm;With
In the corresponding current set period of time of history set period of time, according to control signal control corresponding smart home device open or
It closes.To improve the safety for the smart home device for being in the house under blank state for a long time.
Fig. 3 is a kind of flow chart for intelligent home furnishing control method that the embodiment of the present invention three provides, the Intelligent housing
Method can be realized by intelligent home control system, as shown in figure 3, the intelligent home furnishing control method includes:
Step S1, it is general that the history use state of each smart home device and corresponding use in history set period of time are obtained
Rate.
Specifically, it can be found in the description in above-described embodiment two to step S1 about the specific descriptions of this step, herein not
It repeats again.
Step S21b, according to each history use state { C1, C2..., CnIt is corresponding use probability { P1, P2..., Pn, it is raw
At each probability accumulated value { F0, F1..., Fn}。
Wherein,M ∈ [0, n], k ∈ [0, m], FmIndicate m-th of probability accumulated value, Fn=1, PkIt indicates
K-th of history use state is corresponding to use probability, P0=0, n are the total quantity of history use state.
Step S22b, initial parameter is set:D=0, wherein SUM is that control signal generates total amount,
I ∈ [1, n], QiIndicate the corresponding history usage amount of i-th of history use state, d is current control signal production quantity.
Step S23b, it generates one and meets the random number u that [0,1] is uniformly distributed probability.
Step S24b, by random number u and each probability accumulated value { F0, F1..., FnCompare, determine random number u institute
Section (the F of categoryj-1, Fj], wherein j ∈ [1, n].
Step S25b, according to each history use state { C1, C2..., CnIn j-th of history use state CjGeneration pair
The control signal answered.
In step S23b, the random number u generated every time meets [0,1] and is uniformly distributed, so that final true in step S24b
Section belonging to all random number u made is respectively (F0, F1]、(F1, F2]、…、(Fn-1, Fn], so that in step S25b
In, the corresponding control signal of all history use states is generated, and the total quantity of the control signal is used equal to all history
The sum of amount.
Step S25b, d is carried out plus 1 is handled.
Step S26b, judge whether d is greater than or equal to SUM, if so, step S3 is executed, if it is not, executing step S23b.
Step S3, it in current set period of time corresponding with history set period of time, is controlled according to the control signal
Corresponding smart home device work.
Specifically, it can be found in the description in above-described embodiment two to step S3 about the specific descriptions of this step, herein not
It repeats again.
In the technical solution of intelligent home furnishing control method provided by the present embodiment, according to each intelligence in history set period of time
Can home equipment history use state and it is corresponding use probability, corresponding control signal is generated using preset algorithm;With
In the corresponding current set period of time of history set period of time, according to control signal control corresponding smart home device open or
It closes.To improve the safety for the smart home device for being in the house under blank state for a long time.
Fig. 4 is a kind of structural schematic diagram for intelligent home control system that the embodiment of the present invention four provides, as described in Figure 4,
The intelligent home control system includes obtaining module 301, generation module 302 and control module 303.
Wherein, the history use state that module 301 is used to obtain each smart home device in history set period of time is obtained
And it is corresponding use probability;Generation module 302 be used for according to the history use state and it is corresponding use probability, using default
Algorithm generates corresponding control signal;Control module 303 is used in current set period of time corresponding with history set period of time
It is interior, corresponding smart home device is controlled according to the control signal and is opened or closed.
Specifically, it is described obtain module 301 and be specifically used for obtaining each smart home device in history set period of time go through
History usage amount;The ratio of the history usage amount of computational intelligence home equipment and the sum of the history usage amount of all smart home devices
It is corresponding using probability to generate the smart home device for value.
Optionally, the preset algorithm includes state branching algorithm, and the generation module 302 is specifically used for selected one and works as
Preceding history use state;Corresponding control signal is generated according to current history use state;Next history is generated at random uses shape
State;Judge that current history use state is corresponding and whether is less than or equal to the corresponding use of next history use state using probability
Probability;If being judged as YES, execute using next history use state as the step of current history use state, and repeat root
The step of generating corresponding control signal according to current history use state, until generating the corresponding control of all history use states
Signal, and until the total quantity of the control signal is equal to the sum of all history usage amounts;If being judged as NO, generates one and meet
[0,1] is uniformly distributed the random number of probability;Judge that current history use state is corresponding and uses shape using probability and next history
Whether the corresponding ratio using probability of state is greater than or equal to the random number;If being judged as YES, execution uses next history
The step of state is as current history use state, and repeat and corresponding control letter is generated according to current history use state
Number the step of, until generating the corresponding control signal of all history use states, and the total quantity of the control signal is equal to institute
Until having the sum of history usage amount;If being judged as NO, keep current history use state and execute to use shape according to current history
State generates the step of corresponding control signal.
Optionally, the generation module 302 is specifically used for according to each history use state { C1, C2..., CnCorresponding make
With probability { P1, P2..., Pn, generate each probability accumulated value { F0, F1..., Fn, whereinM ∈ [0, n], k
∈ [0, m], FmIndicate m-th of probability accumulated value, Fn=1, PkIndicate that k-th of history use state is corresponding using probability, P0=
0, n is the total quantity of history use state;Initial parameter is set:D=0, wherein SUM is control signal
Generate total amount, i ∈ [1, n], QiIndicate the corresponding history usage amount of i-th of history use state, d is current control signal generation
Amount;It generates one and meets the random number u that [0,1] is uniformly distributed probability;By random number u and each probability accumulated value { F0, F1..., Fn}
It compares, determines section (F belonging to random number uj-1, Fj], wherein j ∈ [1, n];According to each history use state { C1,
C2..., CnIn j-th of history use state CjGenerate corresponding control signal;D is carried out plus 1 is handled;Judge whether d is big
In or equal to SUM;If being judged as YES, terminate process, if being judged as NO, execution generation one meets [0,1] and is uniformly distributed probability
Random number u the step of.
Intelligent home control system provided by the present embodiment provides for realizing above-described embodiment two or embodiment three
Intelligent home furnishing control method specifically describes and can be found in above-described embodiment two or embodiment three, and details are not described herein again.
In the technical solution of intelligent home control system provided by the present embodiment, generation module is used for according to the history
Use state and it is corresponding use probability, corresponding control signal is generated using preset algorithm;Control module be used for history
In the corresponding current set period of time of set period of time, according to the control signal control corresponding smart home device open or
It closes.To improve the safety for the smart home device for being in the house under blank state for a long time.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from
In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.
Claims (10)
1. a kind of intelligent home furnishing control method characterized by comprising
Step S1, obtain history set period of time in each smart home device history use state and it is corresponding use probability;
Step S2, according to the history use state and it is corresponding use probability, corresponding control letter is generated using preset algorithm
Number;
Step S3, it in current set period of time corresponding with history set period of time, is controlled according to the control signal corresponding
Smart home device open or close.
2. intelligent home furnishing control method according to claim 1, which is characterized in that step S1 includes:
Step S11, the history usage amount of each smart home device in history set period of time is obtained;
Step S12, the history usage amount of computational intelligence home equipment and the sum of the history usage amount of all smart home devices
It is corresponding using probability to generate the smart home device for ratio.
3. intelligent home furnishing control method according to claim 2, which is characterized in that the preset algorithm includes state transfer
Algorithm, step S2 include:
Step S21a, a current history use state is selected;
Step S22a, corresponding control signal is generated according to current history use state;
Step S23a, next history use state is generated at random;
Step S24a, judge that current history use state is corresponding and whether be less than or equal to next history use state using probability
It is corresponding to use probability, if so, step S27a is executed, if it is not, executing step S25a;
Step S25a, it generates one and meets the random number that [0,1] is uniformly distributed probability;
Step S26a, judge that current history use state is corresponding corresponding using general using probability and next history use state
Whether the ratio of rate is greater than or equal to the random number, if so, step S27a is executed, if it is not, keeping current history use state
And execute step S22a;
Step S27a, using next history use state as current history use state, step S22a is repeated, until generating
The corresponding control signal of all history use states, and the total quantity of the control signal is equal to the sum of all history usage amounts and is
Only.
4. intelligent home furnishing control method according to claim 2, which is characterized in that step S2 includes:
Step S21b, according to each history use state { C1, C2..., CnIt is corresponding use probability { P1, P2..., Pn, it generates each
Probability accumulated value { F0, F1..., Fn, whereinM ∈ [0, n], k ∈ [0, m], FmIndicate that m-th of probability is tired
It is value added, Fn=1, PkIndicate that k-th of history use state is corresponding using probability, P0=0, n are the sum of history use state
Amount;
Step S22b, initial parameter is set:D=0, wherein SUM is that control signal generates total amount, i ∈
[1, n], QiIndicate the corresponding history usage amount of i-th of history use state, d is current control signal production quantity;
Step S23b, it generates one and meets the random number u that [0,1] is uniformly distributed probability;
Step S24b, by random number u and each probability accumulated value { F0, F1..., FnCompare, it determines belonging to random number u
Section (Fj-1, Fj], wherein j ∈ [1, n];
Step S25b, according to each history use state { C1, C2..., CnIn j-th of history use state CjGenerate corresponding control
Signal processed;
Step S25b, d is carried out plus 1 is handled;
Step S26b, judge whether d is greater than or equal to SUM, if so, terminating process, if it is not, executing step S23b.
5. intelligent home furnishing control method according to claim 3, which is characterized in that in step S21a, current history is used
State is the initial use state of setting or arbitrarily chooses from all history use states in history set period of time
One history use state.
6. intelligent home furnishing control method according to claim 5, which is characterized in that if current history use state is setting
Initial use state when, in step S23a, next history use state is arbitrarily to select from all history use states
The history use state taken;
If current history use state is one arbitrarily chosen from all history use states in history set period of time
When history use state, in step S23a, next history use state is from the institute in addition to current history use state
There is the history use state arbitrarily chosen in history use state.
7. a kind of intelligent home control system characterized by comprising
Module is obtained, for obtaining the history use state and corresponding use of each smart home device in history set period of time
Probability;
Generation module, for according to the history use state and it is corresponding use probability, generated using preset algorithm corresponding
Control signal;
Control module is used in current set period of time corresponding with history set period of time, according to the control signal control
Corresponding smart home device is made to open or close.
8. intelligent home control system according to claim 7, which is characterized in that the acquisition module is specifically used for obtaining
The history usage amount of each smart home device in history set period of time;The history usage amount of computational intelligence home equipment and all
It is corresponding using probability to generate the smart home device for the ratio of the sum of the history usage amount of smart home device.
9. intelligent home control system according to claim 8, which is characterized in that the preset algorithm includes state transfer
Algorithm, the generation module are specifically used for selecting a current history use state;According to the generation pair of current history use state
The control signal answered;Next history use state is generated at random;Judge that current history use state is corresponding and whether uses probability
It is corresponding less than or equal to next history use state to use probability;If being judged as YES, executes and make next history use state
The step of for current history use state, and repeat the step that corresponding control signal is generated according to current history use state
Suddenly, until generating the corresponding control signal of all history use states, and the total quantity of the control signal is equal to all history
Until the sum of usage amount;If being judged as NO, generates one and meet the random number that [0,1] is uniformly distributed probability;Judge current history
Whether use state is corresponding is greater than or equal to institute using probability and the corresponding ratio using probability of next history use state
State random number;If being judged as YES, execute using next history use state as the step of current history use state, and repeats to hold
The step of row generates corresponding control signal according to current history use state, until it is corresponding to generate all history use states
Signal is controlled, and until the total quantity of the control signal is equal to the sum of all history usage amounts;If being judged as NO, keep current
History use state simultaneously executes the step of generating corresponding control signal according to current history use state.
10. intelligent home control system according to claim 8, which is characterized in that the generation module is specifically used for root
According to each history use state { C1, C2..., CnIt is corresponding use probability { P1, P2..., Pn, generate each probability accumulated value { F0,
F1..., Fn, whereinM ∈ [0, n], k ∈ [0, m], FmIndicate m-th of probability accumulated value, Fn=1, PkTable
Show that k-th of history use state is corresponding using probability, P0=0, n are the total quantity of history use state;Initial parameter is set:D=0, wherein SUM is that control signal generates total amount, i ∈ [1, n], QiIndicate that i-th of history uses shape
The corresponding history usage amount of state, d are current control signal production quantity;Generation one meets [0,1] and is uniformly distributed the random of probability
Number u;By random number u and each probability accumulated value { F0, F1..., FnCompare, determine section (F belonging to random number uj-1,
Fj], wherein j ∈ [1, n];According to each history use state { C1, C2..., CnIn j-th of history use state CjGeneration pair
The control signal answered;D is carried out plus 1 is handled;Judge whether d is greater than or equal to SUM;If being judged as YES, terminate process, if judgement
Be it is no, execute generate one meet the step of [0,1] is uniformly distributed the random number u of probability.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811117773.2A CN109212988B (en) | 2018-09-21 | 2018-09-21 | Intelligent household control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811117773.2A CN109212988B (en) | 2018-09-21 | 2018-09-21 | Intelligent household control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109212988A true CN109212988A (en) | 2019-01-15 |
CN109212988B CN109212988B (en) | 2021-07-06 |
Family
ID=64985241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811117773.2A Active CN109212988B (en) | 2018-09-21 | 2018-09-21 | Intelligent household control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109212988B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430105A (en) * | 2019-07-15 | 2019-11-08 | 恒大智慧科技有限公司 | Smart machine control method, system, computer equipment and readable storage medium storing program for executing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170082990A1 (en) * | 2015-09-23 | 2017-03-23 | Honeywell International Inc. | Supervisor history service import manager |
CN106549833A (en) * | 2015-09-21 | 2017-03-29 | 阿里巴巴集团控股有限公司 | A kind of control method and device of intelligent home device |
US9674759B2 (en) * | 2014-07-21 | 2017-06-06 | Ipcomm | Integrating mobile femto-cell access point into home appliance network |
CN107635004A (en) * | 2017-09-26 | 2018-01-26 | 义乌控客科技有限公司 | A kind of personalized service method for customizing in intelligent domestic system |
CN107665230A (en) * | 2017-06-21 | 2018-02-06 | 海信集团有限公司 | Training method and device for the users' behavior model of Intelligent housing |
-
2018
- 2018-09-21 CN CN201811117773.2A patent/CN109212988B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9674759B2 (en) * | 2014-07-21 | 2017-06-06 | Ipcomm | Integrating mobile femto-cell access point into home appliance network |
CN106549833A (en) * | 2015-09-21 | 2017-03-29 | 阿里巴巴集团控股有限公司 | A kind of control method and device of intelligent home device |
US20170082990A1 (en) * | 2015-09-23 | 2017-03-23 | Honeywell International Inc. | Supervisor history service import manager |
CN107665230A (en) * | 2017-06-21 | 2018-02-06 | 海信集团有限公司 | Training method and device for the users' behavior model of Intelligent housing |
CN107635004A (en) * | 2017-09-26 | 2018-01-26 | 义乌控客科技有限公司 | A kind of personalized service method for customizing in intelligent domestic system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430105A (en) * | 2019-07-15 | 2019-11-08 | 恒大智慧科技有限公司 | Smart machine control method, system, computer equipment and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN109212988B (en) | 2021-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Stephens | Change, regularity, and value in the evolution of animal learning | |
Luo et al. | Generalized nesterov's acceleration-incorporated, non-negative and adaptive latent factor analysis | |
Hatna et al. | The Schelling model of ethnic residential dynamics: Beyond the integrated-segregated dichotomy of patterns | |
CN106779059A (en) | A kind of Circuit of Artificial Neural Networks of the Pavlov associative memory based on memristor | |
Bao et al. | User behavior prediction for energy management in smart homes | |
CN109212988A (en) | Intelligent home furnishing control method and system | |
CN108197763B (en) | Robust economic dispatching determination method and system for low-carbon power system | |
Schreuer | Interaction of international tribunals and domestic courts in investment law | |
CN110197278A (en) | Based on the Air Quality Forecast method for improving chicken group's algorithm optimization BP neural network | |
Li et al. | Non-intrusive load monitoring based on convolutional neural network mixed residual unit | |
CN112214331A (en) | Linkage dead cycle avoidance algorithm based on smart home | |
CN109063916A (en) | A kind of wind power forecasting method, device, equipment and storage medium | |
Charanya et al. | A review on home automation system using IoT | |
He et al. | The effect of pulse vaccination and treatment on SIR epidemic model with media impact | |
Luo et al. | Modification of Q-learning to adapt to the randomness of environment | |
Cohen | A review of harvest theory and applications of optimal control theory in fisheries management | |
Henson et al. | Identifying environmental determinants of diurnal distribution in marine birds and mammals | |
Anastasiu et al. | Monitoring of irrigation systems using genetic algorithms | |
Bel et al. | The relationship between the statistics of open ocean currents and the temporal correlations of the wind stress | |
Guo et al. | A leader-based cooperation-prompt protocol for the prisoner's dilemma game in multi-agent systems | |
Aghassi et al. | A multi-objective genetic algorithm for optimization time-cost trade-off scheduling | |
Wang et al. | Dynamics and stability of evolutionary games with time-invariant delay in strategies | |
McKay | An investigation of fitness sharing in genetic programming | |
LIHET et al. | USING THE WEINTEK HMI IN SMART HOME CONTROL. | |
DE202019000950U1 (en) | Intelligent solar charge controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |