Summary of the invention
In view of this, the present invention provides a kind of terminal equipment control methods calculated based on cloud and mist, apparatus and system, more
Having mended cloud computing, there are the deficiencies of hysteresis quality in terms of transmission, meet timeliness of the user when using energy source and household electrical appliances use
It is required that.
In order to achieve the above-mentioned object of the invention, specific technical solution provided by the invention is as follows:
A kind of terminal equipment control method calculated based on cloud and mist, is applied to mist computing terminal, and cloud computing center is corresponding extremely
A few mist computing terminal, which comprises
Obtain energy affecting parameters information;
Task analysis is carried out to the energy affecting parameters information, obtains at least one control task;
Judge whether the control task needs cloud computing center to be performed in unison with;
If so, sending cloud computing center for the control task, and the cloud computing center is received according to the control
The control strategy that task generates;
If it is not, generating corresponding control strategy according to the control task;
Control strategy is decomposed into the control instruction of corresponding different terminal equipment, and according to the control instruction to correspondence
Terminal device controlled.
Optionally, the energy affecting parameters information includes customer incident information, user's body information and environmental information.It can
Choosing, it is described to judge whether the control task needs cloud computing center to be performed in unison with, comprising:
Determine the execution time of the control task;
Whether within a preset range to judge the execution time of the control task;
If so, determining that the control task does not need cloud computing center and is performed in unison with;
If it is not, determining that the control task needs cloud computing center to be performed in unison with.
It is optionally, described that corresponding control strategy is generated according to the control task, comprising:
Judge to whether there is control strategy corresponding with the control task in local control strategy library;
If it exists, control strategy corresponding with the control task in the local control strategy library is obtained;
If it does not exist, the rated power and electricity consumption duration, Yi Jifei of specified electrical equipment are determined according to the control task
The prediction power and electricity consumption duration of specified electrical equipment, and rated power according to the specified electrical equipment and electricity consumption duration,
And the prediction power and electricity consumption duration calculation electricity demand forecasting value of the non-specified electrical equipment, the non-specified electrical equipment
Prediction power be to be estimated according to the gap between environmental information environmental information corresponding with users'comfort;
It is set according to each terminal in the mark and the control task of the corresponding each terminal device of the control task
The standby electricity consumption period, electricity consumption period matrix is generated, the electricity consumption period matrix indicates the corresponding each terminal of the control task
Equipment each period whether electricity consumption;
According to the electricity demand forecasting value and the electricity consumption period matrix, in supply side constraint and users'comfort constraint
Under conditions of, generate the corresponding optimal control policy of the control task, and by the corresponding optimal control of the control task
Policy store processed is in local control strategy library.
Optionally, described according to the electricity demand forecasting value and the electricity consumption period matrix, it constrains and uses in supply side
Under conditions of the constraint of family comfort level, the corresponding optimal control policy of the control task is generated, comprising:
According to the electricity consumption period matrix, regular in supply side constrained dispatch rule and users'comfort constrained dispatch
Under constraint, the electricity consumption period of terminal device is scheduled, generates optimal electricity consumption period matrix;
According to the electricity demand forecasting value, regular in supply side constrained dispatch rule and users'comfort constrained dispatch
Under constraint, the power supply order of different power supply modes and the maximum power supply volume of every kind of power supply mode are determined.
Optionally, the supply side constrained dispatch rule includes photovoltaic power generation, energy storage electricity, power grid trough electricity and power grid wave crest
The electricity consumption of electricity uses sequence and photovoltaic power generation constraint rule, energy-storage system constraint rule and power constraint rule;
The users'comfort constrained dispatch rule is specially the scheduling square generated according to the use habit of user individual
Battle array, wherein the dispatch matrix includes schedulable load and non-scheduling load, and the schedulable load dispatch later will not shadow
The usage comfort of user is rung, will affect the usage comfort of user after the non-scheduling load dispatch.
Optionally, when the control task includes power failure block information, in determining the local control strategy library not
After control strategy corresponding with the control task, the method also includes:
It is raw according to the user's use habit information stored in local knowledge base and the terminal device for meeting bread and butter
At the use weight and power consumption weight of each terminal device;
According to the use weight and power consumption weight of each terminal device, the case where meeting users'comfort to greatest extent
Under, determine the use duration in the bootable terminal device in power failure section and bootable terminal device.
Optionally, the control instruction that control strategy is decomposed into corresponding different terminal equipment, and according to the control
System instruction controls corresponding terminal device, comprising:
According to the content of control strategy, the parameter setting control that control strategy is decomposed into corresponding different terminal equipment is referred to
It enables, start closing control instruction and use duration control instruction;
Corresponding terminal device is sent by wirelessly or non-wirelessly transmission mode by the control instruction, realization sets terminal
Standby control.
Optionally, the method also includes:
The cloud computing center is sent by the control task and the corresponding control strategy of the control task, and
The cloud computing center is received by carrying out analysis life to history control task and the corresponding control strategy of history control task
At users'comfort Promotion Strategy.
A kind of terminal equipment control calculated based on cloud and mist, is applied to mist computing terminal, and cloud computing center is corresponding extremely
A few mist computing terminal, described device include:
Affecting parameters acquiring unit, for obtaining energy affecting parameters information;
Task analysis unit obtains at least one control for carrying out task analysis to the energy affecting parameters information
Task;
Judging unit, for judging whether the control task needs cloud computing center to be performed in unison with;If so, triggering is sent
Receiving unit, if it is not, triggering control strategy generation unit;
The transmitting and receiving unit for sending cloud computing center for the control task, and receives the cloud computing
The control strategy that center is generated according to the control task, and triggering terminal device control cell;
The control strategy generation unit for generating corresponding control strategy according to the control task, and triggers institute
State terminal device control unit;
The terminal device control unit, the control for control strategy to be decomposed into corresponding different terminal equipment refer to
It enables, and corresponding terminal device is controlled according to the control instruction.
Optionally, the energy affecting parameters information includes customer incident information, user's body information and environmental information.
Optionally, the task analysis unit, specifically for the execution time of the determination control task;Judge the control
Within a preset range whether the execution time of task processed;If so, determining that the control task does not need cloud computing center collaboration and holds
Row;If it is not, determining that the control task needs cloud computing center to be performed in unison with.
Optionally, the control strategy generation unit, comprising:
Judgment sub-unit, for judging in local control strategy library with the presence or absence of control corresponding with the control task
Strategy;If it exists, triggering control strategy obtains subelement, if it does not exist, triggers electricity demand forecasting value computation subunit;
The control strategy obtains subelement, opposite with the control task in the local control strategy library for obtaining
The control strategy answered;
The electricity demand forecasting value computation subunit, for determining the specified of specified electrical equipment according to the control task
The prediction power and electricity consumption duration of power and electricity consumption duration and non-specified electrical equipment, and according to the specified electrical equipment
Rated power and electricity consumption duration and the non-specified electrical equipment prediction power and electricity consumption duration calculation electricity demand forecasting
Value, the prediction power of the non-specified electrical equipment be according to environmental information environmental information corresponding with users'comfort it
Between gap estimate;
Electricity consumption period matrix generates subelement, for the mark according to the corresponding each terminal device of the control task
With the electricity consumption period of terminal device each in the control task, electricity consumption period matrix is generated, the electricity consumption period matrix indicates
The corresponding each terminal device of the control task each period whether electricity consumption;
Optimal control policy generates subelement, for according to the electricity demand forecasting value and the electricity consumption period matrix,
Under conditions of supply side constraint and users'comfort constraint, the corresponding optimal control policy of the control task is generated, and
The corresponding optimal control policy of the control task is stored in local control strategy library.
Optionally, the optimal control policy generates subelement, is specifically used for being powered according to the electricity consumption period matrix
Under the constraint of side constrained dispatch rule and users'comfort constrained dispatch rule, the electricity consumption period of terminal device is adjusted
Degree, generates optimal electricity consumption period matrix;According to the electricity demand forecasting value, relax in supply side constrained dispatch rule and user
Under the constraint of appropriate constrained dispatch rule, determine that the power supply order of different power supply modes and every kind of the maximum of power supply mode supply
Electricity.
Optionally, the supply side constrained dispatch rule includes photovoltaic power generation, energy storage electricity, power grid trough electricity and power grid wave crest
The electricity consumption of electricity uses sequence and photovoltaic power generation constraint rule, energy-storage system constraint rule and power constraint rule;
The users'comfort constrained dispatch rule is specially the scheduling square generated according to the use habit of user individual
Battle array, wherein the dispatch matrix includes schedulable load and non-scheduling load, and the schedulable load dispatch later will not shadow
The usage comfort of user is rung, will affect the usage comfort of user after the non-scheduling load dispatch.
Optionally, when the control task includes power failure block information, in determining the local control strategy library not
After control strategy corresponding with the control task, the control strategy generation unit is also used to be known according to local
Know the user's use habit information stored in library and the terminal device for meeting bread and butter, generates making for each terminal device
With weight and power consumption weight;According to the use weight and power consumption weight of each terminal device, meeting user to greatest extent
In the case where comfort level, the use duration in the bootable terminal device in power failure section and bootable terminal device is determined.
Optionally, the terminal device control unit decomposes control strategy specifically for the content according to control strategy
Control instruction is closed for the parameter setting control instruction of corresponding different terminal equipment, starting and uses duration control instruction;
Corresponding terminal device is sent by wirelessly or non-wirelessly transmission mode by the control instruction, realizes the control to terminal device
System.
Optionally, the transmitting and receiving unit is also used to the control task and the corresponding control of the control task
Strategy processed is sent to the cloud computing center, and receives the cloud computing center and pass through to history control task and history control
The corresponding control strategy of task processed carries out the users'comfort Promotion Strategy of analysis generation.
It is a kind of based on cloud and mist calculate terminal device control system, including cloud computing center, at least one mist computing terminal,
And at least one corresponding terminal device of the mist computing terminal;
The mist computing terminal includes the above-mentioned terminal equipment control calculated based on cloud and mist.
Compared with the existing technology, beneficial effects of the present invention are as follows:
It is disclosed by the embodiments of the present invention it is a kind of based on cloud and mist calculate terminal equipment control method, apparatus and system, cloud meter
Calculation center corresponds at least one mist computing terminal, and mist computing terminal corresponds at least one terminal device, and mist computing terminal obtains packet
The energy affecting parameters information of customer incident information, user's body information and environmental information is included, and the energy affecting parameters are believed
Breath carries out task analysis, obtains at least one control task, when control task, which does not need cloud computing center, to be performed in unison with, according to
Control task generates corresponding control strategy, and control strategy is decomposed into the control instruction of corresponding different terminal equipment, and according to
Corresponding terminal device is controlled according to control instruction;When control task needs cloud computing center to be performed in unison with, will control
Task is sent to cloud computing center, and the control is executed after receiving the control strategy that cloud computing center is generated according to control task
System strategy.
As it can be seen that voluntarily generating control plan by mist computing terminal when control task does not need cloud computing center and is performed in unison with
Slightly, it does not need to generate control strategy by cloud computing center, compensates for cloud computing transmission there are the deficiency of hysteresis quality, meet use
The timeliness requirement that family is used in using energy source and terminal device;When control task needs cloud computing center to be performed in unison with, by
Cloud computing center generates control strategy, and mist computing terminal executes control strategy, forms complete wisdom home energy source management plan
Slightly, in the case where meeting users'comfort, keep user power utilization expenditure minimum.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Mist, which calculates (Fog Computing), to be had and at the terminal, or can carry out data between devices, on network and deposit
Storage with calculate ability, can handle it is some timely, relatively simple task.Based on this, the present embodiment is calculated eventually using mist
End and cloud computing center Collaboration generate and meet the minimum control plan of electricity consumption expenditure that users'comfort demand and timeliness require
Slightly realize the optimum control to terminal device.
Specifically, referring to Fig. 1, Fig. 1 is the disclosed terminal equipment control method calculated based on cloud and mist of the present embodiment
Application scenarios schematic diagram, cloud computing center correspond at least one mist computing terminal, and mist computing terminal corresponds at least one terminal and sets
Standby, mist computing terminal is arranged in user terminal, wherein cloud computing center requires lower or mist to calculate mainly for the treatment of to timeliness
Terminal processes not the problem of;Mist computing terminal is for handling more demanding to timeliness or simple control task;Terminal is set
Standby includes electric power supply system equipment and smart home device, and electric power supply system equipment includes energy storage device, photovoltaic power generation equipment, power grid,
Smart home device includes that intelligent appliance, intelligent security guard, intelligent socket, intelligent lighting etc. can be controlled and be dispatched by mist computing terminal
Equipment.
Referring to Fig. 2, the disclosed terminal equipment control method calculated based on cloud and mist of the present embodiment specifically includes following step
It is rapid:
S101: energy affecting parameters information is obtained;
Energy affecting parameters information is the parameter information for influencing the energy and using, and the energy includes electricity, natural gas, light source etc., energy
Source affecting parameters information includes customer incident information, user's body information and environmental information.
Wherein, the mode for obtaining customer incident information can input by voice or pass through use to obtain user by network
Family end equipment, such as the customer incident information of smart phone, pad, computer terminal device input, customer incident information includes user
To the require information of environment, scheduling information, outage information, information of cutting off the water, stop natural gas information etc., scheduling information packet
It includes the time of going out of user, whether dine out, time of going home, exercise program etc..
The mode for obtaining user's body information can be to be adopted by what network obtained by a series of end sensor equipment
The real-time biological informations such as user's heart rate of collection, blood pressure, blood glucose can also obtain user by network and pass through ustomer premises access equipment input
User's body information, the information such as whether sick, the sick type of user.
Environmental information includes temperature, humidity, sunshine situation, air quality etc., can obtain various terminals by network and pass
The environmental information of sensor acquisition, can also obtain the environmental information of ustomer premises access equipment input by network.
S102: task analysis is carried out to energy affecting parameters information, obtains at least one control task;
It should be noted that further including influencing ginseng to the energy of acquisition carrying out task analysis to energy affecting parameters information
Number information is pre-processed, and the data for meeting predetermined format is such as converted into energy affecting parameters information, to energy affecting parameters
Information carries out simple classification etc..
It is understood that user generally can be in the customer incident information of the previous day input second day, mist computing terminal
Ginseng can be influenced according to second day environmental information of active user's biological information and prediction, the energy as second day control task
Number information.Certainly, user can also input the energy affecting parameters information such as the customer incident information on the same day.
Therefore, task analysis can be carried out according to the time parameter in energy affecting parameters information, it such as will be within one day
Energy affecting parameters information carries out task analysis and generates a control task, i.e., is generated according to the energy affecting parameters information of tomorrow
The control task of tomorrow generates posteriori control task according to posteriori energy affecting parameters information.
Certainly, carrying out task analysis according to the time parameter in energy affecting parameters information is only one disclosed in the present embodiment
The optional embodiment of kind, the present invention is not limited thereto.
S103: judge whether control task needs cloud computing center to be performed in unison with;
Specifically, can be judged according to the timeliness of control task and the complexity of control task control task whether need
Cloud computing center is wanted to be performed in unison with.
When according to the timeliness of control task judging whether that cloud computing center is needed to be performed in unison with, it is first determined control is appointed
Execution time of business, then whether within a preset range judge execution time of control task, such as 24 hours of current time it
It is interior, when within a preset range, determine that control task does not need cloud computing center and is performed in unison with, when not within a preset range,
Determine that control task needs cloud computing center to be performed in unison with.
When according to the complexity of control task judging whether that cloud computing center is needed to be performed in unison with, it is first determined control
The complexity of task can such as determine the complexity of control task according to the quantity that the control in control task requires, then
Judge whether the complexity of control task is less than preset value, if so, determining that control task does not need cloud computing center
It is performed in unison with, if it is not, determining that control task needs cloud computing center to be performed in unison with.
If so, executing S104: sending cloud computing center for control task, and receive cloud computing center according to control task
The control strategy of generation, and execute S106;
Specifically, can encrypt by Hash Encryption Algorithm to control task, cloud computing center is re-send to, is guaranteed
The safety of information transmission.
Cloud computing center generates the smallest control strategy of electricity consumption expenditure for meeting users'comfort demand according to control task,
Realize the optimum control to terminal device.
If it is not, executing S105: generating corresponding control strategy according to control task, and execute S106;
Specifically, the smallest control strategy of electricity consumption expenditure for meeting users'comfort demand is generated according to control task, it is real
Now to the optimum control of terminal device.
S106: control strategy is decomposed into the control instruction of corresponding different terminal equipment, and according to control instruction to right
The terminal device answered is controlled.
Specifically, the parameter that control strategy is decomposed into corresponding different terminal equipment is set according to the content of control strategy
Determine control instruction, control instruction is closed in starting and use duration control instruction, then by control instruction by wirelessly or non-wirelessly passing
Defeated mode is sent to corresponding terminal device, realizes the control to terminal device, such as before user needs using hot water, hot water
Device equipment can receive control instruction, and water temperature is heated in advance to be suitble to the temperature of user;Intelligent security guard equipment can be in user
Warning situation and dangerous feelings during staying out, to the equipment that the region of arrangement security device is monitored in real time, to appearance
Condition reminds user to alarm when necessary in time;Intelligent socket can receive control instruction and control each Terminal Type on-off and can detect
Whether electricity consumption is safe;Intelligent lighting can receive control instruction according to the adjusting brightness of user's use habit and according to light conditions
It is switched, this will not be repeated here.
Wherein, wirelessly or non-wirelessly transmission mode can be ZigBee, bluetooth, infrared, power carrier etc..
Referring to Fig. 3, according to control task generate corresponding control strategy method specifically includes the following steps:
S201: judge to whether there is control strategy corresponding with control task in local control strategy library;
It should be noted that it is stored with the corresponding control strategy of preset control task in local control strategy library,
And the corresponding control strategy of history control task generated before mist computing terminal.
If it exists, S202: control strategy corresponding with control task in local control strategy library is obtained;
If it does not exist, the rated power and electricity consumption duration, Yi Jifei of specified electrical equipment S203: are determined according to control task
The prediction power and electricity consumption duration of specified electrical equipment, and rated power and electricity consumption duration according to specified electrical equipment and
The prediction power and electricity consumption duration calculation electricity demand forecasting value of non-specified electrical equipment;
When converting the starting and use of corresponding different terminal equipment for the energy affecting parameters information in control task
It is long, for example, obtaining next day several points until what time according to the customer incident information that user inputs can move outside, then known according to local
Knowledge library, which obtains user, to have a bath within how many minutes after going home, and then judge the hot water amount needed and preference temperature, be converted into heat
The starting of wetting system and use duration.
Wherein, when the energy is power supply, terminal device includes specified electrical equipment and non-specified electrical equipment, specified electricity consumption
Equipment such as TV etc., non-specified electrical equipment such as convertible frequency air-conditioner etc..
Specifically, the calculation formula of electricity demand forecasting value is as follows:
E (i)=∑ Pa*Δt*λ(i)+∑Pb*Δt*λ(i)
Wherein, E (i) is the power quantity predicting value of next day all terminal devices, PaFor the rated power of specified electrical equipment, Pb
For the prediction power of non-specified electrical equipment, Δ t is the electricity consumption duration of electrical equipment, and λ (i) is whether next day electrical equipment works
Coefficient, value is as follows:
The prediction power of non-specified electrical equipment is according to environmental information and users'comfort in energy affecting parameters information
What the gap between corresponding environmental information was estimated.
Further, when data input occur and conflict, i.e., multiple same a period of time for inputting the same terminal device of direction
Between when, the terminal device of judgement can be inputted by needing the information being sent to user mobile phone or other users by mist computing terminal,
The priority for allowing user to determine that the input of conflict executes;If user does not timely feedback, mist computing terminal is needed according to multiple
Input corresponding input matrixMultiplied by the input weight matrix stored in local knowledge baseAccording to calculating
Obtained weight coefficient is executed and is executed preferentially to judge which kind of the corresponding terminal device of input for conflict input according to
Grade sequence.
S204: according to each terminal device in the mark and control task of the corresponding each terminal device of control task
The electricity consumption period generates electricity consumption period matrix;
According to the Terminal Equipment Identifier mapping table stored in local knowledge base, the corresponding each terminal of control task is obtained
The mark of equipment, wherein Terminal Equipment Identifier mapping table includes the mapping relations of user's each terminal device and mark.
According to the electricity consumption of each terminal device in the mark and control task of the corresponding each terminal device of control task
Period generates electricity consumption period matrixElectricity consumption period matrix indicates that the control task is corresponding each
Terminal device each period whether electricity consumption, specifically, every row indicates each period in one day, each column indicates each of user
Terminal device.
S205: it according to electricity demand forecasting value and electricity consumption period matrix, is constrained in supply side constraint and users'comfort
Under the conditions of, the corresponding optimal control policy of control task is generated, and the corresponding optimal control policy of control task is stored
In local control strategy library.
It should be noted that the corresponding optimal control policy of control task is stored in local control strategy library, constantly
To local control strategy library carry out dilatation, improve mist computing terminal processing capacity, improve mist computing terminal in using energy source
With the timeliness processing capacity of terminal device control.
Specifically, referring to Fig. 4, the generation method of the corresponding optimal control policy of control task specifically includes following step
It is rapid:
S301: according to electricity consumption period matrix, in supply side constrained dispatch rule and users'comfort constrained dispatch rule
Constraint under, the electricity consumption period of terminal device is scheduled, optimal electricity consumption period matrix is generated;
Wherein, supply side constrained dispatch rule includes the use of photovoltaic power generation, energy storage electricity, power grid trough electricity and power grid wave crest electricity
Electricity uses sequence and photovoltaic power generation constraint rule, energy-storage system constraint rule and power constraint rule.
It is understood that so that user is paid the smallest electricity consumption uses sequence are as follows: photovoltaic power generation, energy storage electricity, power grid trough
Electricity and power grid wave crest electricity.
Photovoltaic power generation constraint rule includes output power constraint, capacity-constrained, weather constraint;Energy-storage system constraint rule packet
Include output power constraint, charge and discharge constraint and capacity-constrained;Power constraint rule includes that electricity tariff constraint, different electricity price correspond to the period
Constraint.
Users'comfort constrained dispatch rule is specially the dispatch matrix generated according to the use habit of user individual,
In, the dispatch matrix includes schedulable load and non-scheduling load, will not influence use after the schedulable load dispatch
The usage comfort at family, such as washing machine, dryer, intelligent window, fresh air system, sweeping robot, heat accumulation electric heater are eventually
End equipment;It will affect the usage comfort of user after the non-scheduling load dispatch, such as air-conditioning, humidifier terminal are set
It is standby.
It further, can be with by the constraint of supply side constrained dispatch rule and users'comfort constrained dispatch rule
The electricity price the smallest period that schedulable load priority scheduling allows to supply side is executed in the case where meeting users'comfort,
Generate optimal electricity consumption period matrix.
S302: according to electricity demand forecasting value, in supply side constrained dispatch rule and users'comfort constrained dispatch rule
Constraint under, determine the power supply order of different power supply modes and the maximum power supply volume of every kind of power supply mode.
It is understood that the corresponding optimal control policy of control task includes optimal electricity consumption period matrix and difference
The maximum power supply volume of the power supply order of power supply mode and every kind of power supply mode.
Further, the corresponding optimal control policy of control task can be energy storage device of making rational planning for and be filled with from power grid
Power grid trough electricity, as second day power demand it is few in the case where, the electric energy of photovoltaic power generation can be stored into energy storage device
In, the use in case evening or user come back;User can not be influenced in scheduling on daytime when power demand is big within second day to relax
Appropriateness terminal device by photovoltaic power generation starting operation, do not influence users'comfort experience terminal device include washing machine,
Dryer, intelligent window, fresh air system, sweeping robot, heat accumulation electric heater etc.;It can be with when power demand is big within second day
Powered in the terminal device that the low period scheduling of electricity price does not influence users'comfort by the supply side of low electricity price etc..
Further, when control task includes power failure block information, made according to the user stored in local knowledge base
With habits information and the terminal device for meeting bread and butter, the use weight and power consumption power of each terminal device are generated
Weight, according to the use weight and power consumption weight of each terminal device, in the case where meeting users'comfort to greatest extent, really
It is scheduled on the use duration of the bootable terminal device in power failure section and bootable terminal device.
It should also be noted that, mist computing terminal can incite somebody to action since cloud computing center has powerful calculating analysis ability
Control task and the corresponding control strategy of control task are sent to the cloud computing center, and receive cloud computing center and pass through
The users'comfort for carrying out analysis generation to history control task and the corresponding control strategy of history control task promotes plan
Slightly.
Specifically, cloud computing center can analyze the personalized use habit of user, every kind of input corresponding different end
Personalized control strategy is held, the use habit trend analysis of a user is formed.It can also be by the use habit of user and cloud meter
The comfort level at calculation center and healthy big data compare, and selection is identical with user's body essential information most in contrast sample
Excellent use habit carries out difference analysis.Analysis result can also be compared, and judge to obtain according to user's body situation
One promotes the use habit suggestion of users'comfort and health.The suggestion can be, the identical user of body essential information, more
It is 23 degree that the habit that the user of health uses, which is bathing water temperature, the recent use habit of this user is 26 degree, if user is nearest
Do not have sick etc., water temperature can be changed to 23 degree etc. with recommended user.
Disclosed a kind of terminal equipment control method calculated based on cloud and mist based on the above embodiment, referring to Fig. 5, this reality
It applies example correspondence and discloses a kind of terminal equipment control calculated based on cloud and mist, be applied to mist computing terminal, cloud computing center
At least one corresponding mist computing terminal, the device include:
Affecting parameters acquiring unit 401, for obtaining energy affecting parameters information, the energy affecting parameters information includes
Customer incident information, user's body information and environmental information;
Task analysis unit 402 obtains at least one control for carrying out task analysis to the energy affecting parameters information
Task processed;
Optionally, the task analysis unit 402, specifically for the execution time of the determination control task;Judge institute
Whether within a preset range to state the execution time of control task;If so, determining that the control task does not need cloud computing center association
With execution;If it is not, determining that the control task needs cloud computing center to be performed in unison with.
Judging unit 403, for judging whether the control task needs cloud computing center to be performed in unison with;If so, triggering
Unit 404 is transmitted and received, if it is not, triggering control strategy generation unit 405;
The transmitting and receiving unit 404 for sending cloud computing center for the control task, and receives the cloud meter
The control strategy that calculation center is generated according to the control task, and triggering terminal device control cell 406;
The control strategy generation unit 405 for generating corresponding control strategy according to the control task, and triggers
The terminal device control unit 406;
The terminal device control unit 406, for control strategy to be decomposed into the control of corresponding different terminal equipment
Instruction, and corresponding terminal device is controlled according to the control instruction.
Optionally, the control strategy generation unit 405, comprising:
Judgment sub-unit, for judging in local control strategy library with the presence or absence of control corresponding with the control task
Strategy;If it exists, triggering control strategy obtains subelement, if it does not exist, triggers electricity demand forecasting value computation subunit;
The control strategy obtains subelement, opposite with the control task in the local control strategy library for obtaining
The control strategy answered;
The electricity demand forecasting value computation subunit, for determining the specified of specified electrical equipment according to the control task
The prediction power and electricity consumption duration of power and electricity consumption duration and non-specified electrical equipment, and according to the specified electrical equipment
Rated power and electricity consumption duration and the non-specified electrical equipment prediction power and electricity consumption duration calculation electricity demand forecasting
Value, the prediction power of the non-specified electrical equipment be according to environmental information environmental information corresponding with users'comfort it
Between gap estimate;
Electricity consumption period matrix generates subelement, for the mark according to the corresponding each terminal device of the control task
With the electricity consumption period of terminal device each in the control task, electricity consumption period matrix is generated, the electricity consumption period matrix indicates
The corresponding each terminal device of the control task each period whether electricity consumption;
Optimal control policy generates subelement, for according to the electricity demand forecasting value and the electricity consumption period matrix,
Under conditions of supply side constraint and users'comfort constraint, the corresponding optimal control policy of the control task is generated, and
The corresponding optimal control policy of the control task is stored in local control strategy library.
Optionally, the optimal control policy generates subelement, is specifically used for being powered according to the electricity consumption period matrix
Under the constraint of side constrained dispatch rule and users'comfort constrained dispatch rule, the electricity consumption period of terminal device is adjusted
Degree, generates optimal electricity consumption period matrix;According to the electricity demand forecasting value, relax in supply side constrained dispatch rule and user
Under the constraint of appropriate constrained dispatch rule, determine that the power supply order of different power supply modes and every kind of the maximum of power supply mode supply
Electricity.
Optionally, the supply side constrained dispatch rule includes photovoltaic power generation, energy storage electricity, power grid trough electricity and power grid wave crest
The electricity consumption of electricity uses sequence and photovoltaic power generation constraint rule, energy-storage system constraint rule and power constraint rule;
The users'comfort constrained dispatch rule is specially the scheduling square generated according to the use habit of user individual
Battle array, wherein the dispatch matrix includes schedulable load and non-scheduling load, and the schedulable load dispatch later will not shadow
The usage comfort of user is rung, will affect the usage comfort of user after the non-scheduling load dispatch.
Optionally, when the control task includes power failure block information, in determining the local control strategy library not
After control strategy corresponding with the control task, the control strategy generation unit is also used to be known according to local
Know the user's use habit information stored in library and the terminal device for meeting bread and butter, generates making for each terminal device
With weight and power consumption weight;According to the use weight and power consumption weight of each terminal device, meeting user to greatest extent
In the case where comfort level, the use duration in the bootable terminal device in power failure section and bootable terminal device is determined.
Optionally, the terminal device control unit 406, specifically for the content according to control strategy, by control strategy
It is decomposed into the parameter setting control instruction of corresponding different terminal equipment, control instruction is closed in starting and is referred to using duration control
It enables;Corresponding terminal device is sent by wirelessly or non-wirelessly transmission mode by the control instruction, is realized to terminal device
Control.
Optionally, the transmitting and receiving unit is also used to the control task and the corresponding control of the control task
Strategy processed is sent to the cloud computing center, and receives the cloud computing center and pass through to history control task and history control
The corresponding control strategy of task processed carries out the users'comfort Promotion Strategy of analysis generation.
A kind of terminal equipment control calculated based on cloud and mist disclosed in the present embodiment, when control task does not need cloud meter
When calculation center is performed in unison with, control strategy is voluntarily generated by mist computing terminal, does not need to generate control plan by cloud computing center
Slightly, compensate for cloud computing transmission there are the deficiency of hysteresis quality, meet user used in using energy source and terminal device it is timely
Property require;When control task needs cloud computing center to be performed in unison with, control strategy, mist computing terminal are generated by cloud computing center
Control strategy is executed, foring complete wisdom home energy source management strategy makes user in the case where meeting users'comfort
Electricity consumption expenditure is minimum.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.