WO2017096773A1 - 智能设备控制方法及装置 - Google Patents

智能设备控制方法及装置 Download PDF

Info

Publication number
WO2017096773A1
WO2017096773A1 PCT/CN2016/085018 CN2016085018W WO2017096773A1 WO 2017096773 A1 WO2017096773 A1 WO 2017096773A1 CN 2016085018 W CN2016085018 W CN 2016085018W WO 2017096773 A1 WO2017096773 A1 WO 2017096773A1
Authority
WO
WIPO (PCT)
Prior art keywords
historical
time
smart device
moment
state
Prior art date
Application number
PCT/CN2016/085018
Other languages
English (en)
French (fr)
Inventor
刘东旭
余久平
杨诺
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to JP2016546846A priority Critical patent/JP2018506752A/ja
Priority to RU2016133331A priority patent/RU2651943C2/ru
Priority to KR1020167020691A priority patent/KR101776250B1/ko
Publication of WO2017096773A1 publication Critical patent/WO2017096773A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0266Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for time management, e.g. calendars, diaries
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/0205Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system
    • G05B13/0255Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system the criterion being a time-optimal performance criterion
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/0208Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators for combination with other devices having a different main function, e.g. watches, pens
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23393Set finish, end time and total program time to calculate, derive begin, start time
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23399Adapt set parameter as function of measured conditions
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2614HVAC, heating, ventillation, climate control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Definitions

  • the present disclosure relates to the field of smart homes, and in particular, to a smart device control method and apparatus.
  • the present disclosure provides a smart device control method and apparatus.
  • a smart device control method comprising:
  • the first target environmental state being a state of a current environment at a target time, the target time being for controlling a smart device time
  • the smart device is controlled based on the current time, the running time, and the target time.
  • the controlling the smart device based on the current time, the running time, and the target time includes:
  • the smart device is controlled based on the predicted time and the target time.
  • controlling the smart device based on the predicted time and the target time includes:
  • Determining a first difference between the target time and the predicted time controlling the smart device when the first difference is less than a first specified time length.
  • the method further includes:
  • the first weighting value is determined as the first target environmental state.
  • the determining the first weighting value of the at least one active environment state includes:
  • the first historical date where the at least one valid environment state is located, to obtain at least one first historical date, where the first historical date is a state in which the current environment is adjusted to the valid environment state by using the smart device date;
  • a first weighting value of the at least one valid environmental state is calculated based on the at least one first weight.
  • the method further includes:
  • the updating the plurality of historical environment states based on the second target environment state includes:
  • the selected historical environment state is replaced with the second target environmental state.
  • the method further includes:
  • the second weighting value is determined as the target time.
  • the determining the second weighting value of the at least one valid moment includes:
  • the method further includes:
  • the updating the multiple historical moments based on the receiving moment includes:
  • the selected historical moment is replaced with the received moment.
  • a smart device control apparatus comprising:
  • Obtaining a module configured to acquire a current time and a current environmental state
  • a first determining module configured to determine a running time required to adjust the current environmental state to a first target environmental state, where the first target environmental state is a state of a current environment when the target time is The target moment is a moment for controlling the smart device;
  • a control module configured to control the smart device based on the current time, the running time, and the target time.
  • control module includes:
  • An adding unit configured to add the current time to the running time to obtain a predicted time
  • control unit configured to control the smart device based on the predicted moment and the target moment.
  • control unit includes:
  • a first control subunit configured to control the smart device when the predicted time is the same as the target time
  • a second control subunit configured to determine a first difference between the target time and the predicted time; and when the first difference is less than the first specified time, control the smart device.
  • the device further includes:
  • a first selection module configured to select, from a plurality of historical environment states, at least one active environment state, where the historical environment state is a state that is adjusted by the smart device before the current time;
  • a second determining module configured to determine a first weighting value of the at least one valid environmental state
  • a third determining module configured to determine the first weighting value as the first target environment state.
  • the second determining module includes:
  • a first acquiring unit configured to respectively acquire a first historical date in which the at least one valid environment state is located, to obtain at least one first historical date, where the first historical date is adjusted by the smart device The date to the valid environmental state;
  • a first determining unit configured to determine, according to the at least one first historical date, at least one first weight by using a specified function
  • a first calculating unit configured to calculate a first weighting value of the at least one valid environment state based on the at least one first weight.
  • the device further includes:
  • a first receiving module configured to receive a first update instruction, where the first update instruction carries a second target environment state
  • a first update module configured to update the plurality of historical environment states based on the second target environment state.
  • the first update module includes:
  • a second acquiring unit configured to respectively acquire a second historical date in which the plurality of historical environment states are located, where the second historical date is a date that is adjusted by the smart device to the current environment to the historical environment state ;
  • a first selecting unit configured to select, from the plurality of historical environment states, a historical environment state that is the earliest of the second historical date;
  • a first replacement unit configured to replace the selected historical environment state with the second target environmental state.
  • the device further includes:
  • a second selection module configured to select, from a plurality of historical moments, at least one valid moment, where the historical moment is a time for controlling the smart device before the current moment;
  • a fourth determining module configured to determine a second weighting value of the at least one valid moment
  • a fifth determining module configured to determine the second weighting value as the target time.
  • the fourth determining module includes:
  • a third acquiring unit configured to respectively acquire a third historical date at which the at least one valid moment is located, to obtain at least one third historical period, where the third historical date is a date of controlling the smart device at the effective moment ;
  • a second determining unit configured to determine at least one second weight by using a specified function based on the at least one third historical period
  • a second calculating unit configured to calculate a second weighting value of the at least one valid moment based on the at least one second weight.
  • the apparatus further includes:
  • a second receiving module configured to: when receiving the second update instruction, acquire a receiving moment of receiving the second update instruction
  • a second update module configured to update the plurality of historical moments based on the receiving moment.
  • the second update module includes:
  • a fourth acquiring unit configured to respectively acquire a fourth historical date at which the plurality of historical moments are located, where the fourth historical date is a date at which the smart device is controlled at the historical moment;
  • a second selecting unit configured to select, from the plurality of historical moments, a historical moment when the fourth historical date is the earliest;
  • a second replacement unit configured to replace the selected historical moment with the receiving moment.
  • a smart device control apparatus comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the first target environmental state being a state of a current environment at a target time, the target time being for controlling a smart device time
  • the smart device is controlled based on the current time, the running time, and the target time.
  • the smart device may acquire the current time and the current environment state, and determine a running time required to adjust the current environment state to the first target environment state, and then, based on the current time, the running time, and the At the target time, the smart device is automatically controlled, the control process is simple, and the operation load of the user is reduced.
  • FIG. 1 is a flowchart of a smart device control method according to an exemplary embodiment.
  • FIG. 2 is a flowchart of another smart device control method according to an exemplary embodiment.
  • FIG. 3 is a schematic diagram of a function image of a specified function, according to an exemplary embodiment.
  • FIG. 4 is a block diagram of a first smart device control apparatus, according to an exemplary embodiment.
  • FIG. 5 is a block diagram of a control module, according to an exemplary embodiment.
  • FIG. 6 is a block diagram of a control unit, according to an exemplary embodiment.
  • FIG. 7 is a block diagram of a second smart device control apparatus, according to an exemplary embodiment.
  • FIG. 8 is a block diagram of a second determining module, according to an exemplary embodiment.
  • FIG. 9 is a block diagram of a third smart device control apparatus, according to an exemplary embodiment.
  • FIG. 10 is a block diagram of a first update module, according to an exemplary embodiment.
  • FIG. 11 is a block diagram of a fourth smart device control apparatus according to an exemplary embodiment.
  • FIG. 12 is a block diagram of a fourth determining module, according to an exemplary embodiment.
  • FIG. 13 is a block diagram of a fifth smart device control apparatus, according to an exemplary embodiment.
  • FIG. 14 is a block diagram of a second update module, according to an exemplary embodiment.
  • FIG. 15 is a block diagram of a sixth smart device control apparatus according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a smart device control method according to an exemplary embodiment. The method is used in a smart device. As shown in FIG. 1 , the method includes the following steps.
  • step 101 the current time and the current environmental state are acquired.
  • step 102 determining a running time required to adjust a current environmental state to a first target environmental state, where the first target environmental state is a state of the current environment at the target time, and the target time is a time for controlling the smart device .
  • step 103 the smart device is controlled based on the current time, the running time, and the target time.
  • the smart device may acquire the current time and the current environment state, and determine a running time required to adjust the current environment state to the first target environment state, and then, based on the current time, the running time, and the At the target time, the smart device is automatically controlled, the control process is simple, and the operation load of the user is reduced.
  • controlling the smart device based on the current time, the running time, and the target time includes:
  • the smart device is controlled based on the predicted time and the target time.
  • controlling the smart device based on the predicted time and the target time includes:
  • Determining a first difference between the target time and the predicted time controlling the smart device when the first difference is less than the first specified time length.
  • the method before determining the runtime required to adjust the current environmental state to the first target environmental state, the method further includes:
  • the first weighting value is determined as the first target environmental state.
  • determining the first weighting value of the at least one active environmental state comprises:
  • a first weighted value of the at least one valid environmental state is calculated based on the at least one first weight.
  • the method further includes:
  • updating the plurality of historical environment states based on the second target environment state includes:
  • the method before determining the runtime required to adjust the current environmental state to the first target environmental state, the method further includes:
  • the second weighting value is determined as the target time.
  • determining the second weighting value of the at least one valid moment includes:
  • a second weighting value of the at least one valid moment is calculated based on the at least one second weight.
  • the method further includes:
  • a plurality of historical moments are updated based on the reception time.
  • updating the plurality of historical moments based on the receiving moment includes:
  • FIG. 2 is a flowchart of a smart device control method according to an exemplary embodiment. As shown in FIG. 2, the method includes the following steps.
  • step 201 the smart device acquires the current time and the current environmental state.
  • the current environment state may be the current ambient temperature, the current environment humidity, and the like, which is not specifically limited in this embodiment of the present disclosure.
  • the process of acquiring the current time by the smart device may refer to related technologies, which is not elaborated in this embodiment of the present disclosure.
  • the smart device may be provided with an environment detecting device, and the smart device may detect the current environment through the environment detecting device, thereby obtaining the current environment state.
  • the environment detecting device may be a temperature sensor.
  • the environment detecting device may be a humidity sensor or the like, and the embodiment of the present disclosure does not specifically limited.
  • step 202 the smart device determines a running time required to adjust the current environmental state to the first target environmental state, where the first target environmental state is a state of the current environment at the target time, and the target time is used to control the smart device Moment.
  • the smart device After obtaining the current environment state, the smart device can calculate the running time required to adjust the current environment state to the first target environment state according to the power of the device.
  • the calculation process can refer to the related technology, which is not described in detail in this embodiment of the present disclosure.
  • the first target environment state is a state in which the current environment is adjusted by the smart device based on the user's operating habits.
  • the target moment is a time at which the smart device determines the control of the smart device based on the user's operating habits.
  • the smart device may determine the first target environmental state and the target time based on the operating habit of the user, and the smart device determines
  • the operation of a target environment state may include the following step (a)
  • the operation of the smart device determining the target time may include the following step (b):
  • the smart device selects at least one active environment state from a plurality of historical environment states, where the historical environment state is a state in which the current environment is adjusted by the smart device before the current time; determining the at least one effective environment a first weighting value of the state; determining the first weighting value as the first target environmental state.
  • the smart device may select a historical environment state within a specified environment state range from the plurality of historical environment states when the smart device selects at least one active environment state from the plurality of historical environment states, and select the The historical environment state is determined to be a valid environmental state.
  • the smart device may obtain an abnormal environment state from the plurality of historical environment states, and the plurality of historical environment states The historical environment state except the abnormal environmental state is determined to be a valid environmental state.
  • the smart device may also select at least one valid environment state from a plurality of historical environment states by other means, which is not specifically limited in the embodiment of the present disclosure.
  • the plurality of historical environmental states are 26 ° C (degrees Celsius), 24 ° C, 14 ° C, 27 ° C, 24 ° C, 28 ° C, 32 ° C, 24 ° C, 16 ° C, 33 ° C
  • the specified environmental state range is 20 ° C ⁇
  • the smart device can select a historical environment state of 20 ° C to 30 ° C from the plurality of historical environmental conditions to be 26 ° C, 24 ° C, 27 ° C, 24 ° C, 28 ° C, 24 ° C, the 26 ° C 24 ° C, 27 ° C, 24 ° C, 28 ° C, 24 ° C is the effective environmental state.
  • the plurality of historical environmental states are 26 ° C, 24 ° C, 14 ° C, 27 ° C, 24 ° C, 28 ° C, 32 ° C, 24 ° C, 16 ° C, 33 ° C
  • the smart device from the plurality of historical environmental states
  • the abnormal environment state obtained in the process is 14 ° C, 32 ° C, 16 ° C, 33 ° C
  • the smart device can divide the plurality of historical environmental states by 26 ° C except for 14 ° C, 32 ° C, 16 ° C, 33 ° C, 24 ° C, 27 ° C, 24 ° C, 28 ° C, 24 ° C was determined to be an effective environmental state.
  • the effective environment state may be used to determine an environment state of the first target environment state, where the abnormal environment state is a historical environment state in which the abnormality exists in the plurality of historical environment states, that is, Yes, the abnormal environment state is inconsistent with features of the plurality of historical environment states other than the abnormal environment state.
  • the specified environment state range may be set in advance, for example, the specified environment state range may be 20 ° C to 30 ° C, etc., and the embodiment of the present disclosure does not specifically limit this.
  • the abnormal environment state can be obtained not only by the abnormality detecting module included in the smart device, but the smart device can also be installed through the installed third-party abnormality detecting application.
  • the program is used to obtain the abnormal environment state, which is not specifically limited in the embodiment of the present disclosure.
  • the third-party anomaly detection application is configured to detect abnormal data in a plurality of data, and the abnormal data is inconsistent with features of the plurality of data other than the abnormal data.
  • the third-party anomaly detection application may be a SPSS (Statistical Product and Service Solution) application, a SAS (Statistical Analysis System) application, or the like. No specific restrictions.
  • the smart device may separately acquire the first history date of the at least one valid environment state, and obtain at least one a first historical date, the first historical date is a date when the current environment is adjusted to a valid environment state by the smart device, and then, based on the at least one first historical date, the at least one first weight is determined by a specified function, and based on The at least one first weight calculates a first weighting value of the at least one valid environmental state.
  • the first historical date at which the at least one valid environmental state is located may be a date when the smart device separately stores the at least one valid environmental state.
  • the specified function can be set in advance, for example, the specified function can be an inverse proportional function Or other functions having a function image as shown in FIG. 3, which are not specifically limited in the embodiment of the present disclosure.
  • the first weight is used to indicate the size of the reference effect that the effective environment state corresponding to the first weight can provide when determining the first target environmental state.
  • the smart device may acquire the current date by using a specified function, and the smart device may acquire the current date and calculate a second between the current date and the at least one first historical date, respectively, based on the at least one first historical date.
  • the difference is obtained by at least one second difference, and according to the at least one second difference, the at least one first weight is determined by a specified function.
  • the at least one first historical date is December 5, 2014, December 6, 2014, December 9, 2014, December 10, 2014, December 11, 2014, December 15, 2014. day.
  • the current date is December 18, 2014
  • the second difference between the current date and the at least one second historical date is respectively calculated, and at least one second difference is obtained as 13, 12, 9, 8, 7, 3
  • the smart device may determine the at least one second weight by using the at least one second difference as the argument in the specified function, respectively, according to the at least one second difference.
  • the dependent variable corresponding to the difference obtains at least one dependent variable and determines the at least one dependent variable as at least one first weight.
  • the specified function is The at least one second difference is 13, 12, 9, 8, 7, 3, and 13, 12, 9, 8, 7, 3 are substituted In the middle, the dependent variable corresponding to 13, 12, 9, 8, 7, and 3 is Then the at least one first weight is
  • the smart device may multiply the at least one active environment state by the corresponding first weight, respectively, when the smart device calculates the first weighting value of the at least one valid environment state based on the at least one first weight.
  • the at least one effective environmental state is 26 ° C, 24 ° C, 27 ° C, 24 ° C, 28 ° C, 24 ° C
  • the first weight corresponding to 26 ° C is The first weight corresponding to 24°C is The first weight corresponding to 27 °C is The first weight corresponding to 24°C is The first weight corresponding to 28 °C is The first weight corresponding to 24°C is Then the first weight value is
  • the smart device determines the first target environment state according to the user's operating habits, the user's operating habits are gradually changed by factors such as seasons, and since the user's operating habits pass through the plurality of history in the embodiment of the present disclosure.
  • the environment state is embodied, so that the plurality of historical environment states can be updated, that is, the smart device can receive the first update instruction, the first update instruction carries the second target environment state, and is based on the second target environment.
  • the state updates the plurality of historical environment states to ensure that the plurality of historical environment states can reflect the user's latest operating habits, thereby ensuring the accuracy of the first target environmental state determined based on the plurality of historical environment states.
  • the first update instruction is used to adjust the current environment state to the second target environment state by using the smart device, where the first update instruction may be triggered by a user, and the user may be triggered by a specified operation, where the specified operation may be
  • the operation of the present disclosure, the sliding operation, the voice operation, and the like are not specifically limited.
  • the smart device may acquire the second historical date in which the plurality of historical environment states are located, and the second historical date is the smart device, when the smart device updates the plurality of historical environment states based on the second target environment state.
  • the smart device may acquire at least one abnormal environment state of the plurality of historical environment states, and replace any one of the at least one abnormal environment states with the second target environment state.
  • the smart device may also update the plurality of historical environment states in other manners based on the second target environment state, which is not specifically limited in the embodiment of the present disclosure.
  • the second historical date is a date when the smart device separately stores the plurality of historical environment states.
  • the second target environmental state is 28 ° C
  • the plurality of historical environmental states are 26 ° C, 24 ° C, 14 ° C, 27 ° C, 24 ° C, 28 ° C, 32 ° C, 24 ° C, 16 ° C, 33 ° C, and 26
  • the second historical dates of °C, 24°C, 14°C, 27°C, 24°C, 28°C, 32°C, 24°C, 16°C, and 33°C are December 5, 2014, December 6, 2014.
  • the second target environmental state is 28 ° C
  • the plurality of historical environmental states are 26 ° C, 24 ° C, 14 ° C, 27 ° C, 24 ° C, 28 ° C, 32 ° C, 24 ° C, 16 ° C, 33 ° C
  • the smart device acquires at least one of the plurality of historical environment states as 14° C., 32° C., 16° C., and 33° C., and the smart device may use any one of 14° C., 32° C., 16° C., and 33° C. Replace with 28 °C.
  • the smart device selects at least one valid moment from a plurality of historical moments, the historical moment being a moment for controlling the smart device before the current moment; determining a second weighting value of the at least one valid moment; The weighted value is determined as the target time.
  • the smart device may select, from the plurality of historical moments, the historical moments within the specified time range from the plurality of historical moments, and determine the selected historical moment as Effective moment.
  • the smart device may acquire an abnormal time from the plurality of historical moments, and determine a historical moment other than the abnormal moment among the plurality of historical moments as an effective moment.
  • the smart device may select at least one valid moment from a plurality of historical moments by other means, which is not specifically limited in the embodiment of the present disclosure.
  • the multiple historical moments are 18:26, 18:24, 13:14, 18:27, 18:24, 18:28, 15:32, 18:24, 23:16, 17:33, designated time
  • the range is from 18:00 to 22:00, and the smart device can select historical time between 18:26, 18:24, 18:27, and 18 from 18:00 to 22:00 among the plurality of historical moments.
  • 24, 18:28, 18:24, the 18:26, 18:24, 18:27, 18:24, 18:28, 18:24 is the effective moment.
  • the plurality of historical moments are 18:26, 18:24, 13:14, 18:27, 18:24, 18:28, 15:32, 18:24, 23:16, 17:33
  • the smart device can obtain the abnormal moments from the plurality of historical moments at 13:14, 15:32, 23:16, and 17:33, and the smart device can divide the plurality of historical moments by 13:14, 15:32. 18:26, 18:24, 18:27, 18:24, 18:28, and 18:24 outside of 23:16 and 17:33 are determined to be effective moments.
  • the effective time is the plurality of historical moments, which can be used to determine the target time.
  • the abnormal moment is a historical moment in which an abnormality exists in the plurality of historical moments, that is, the abnormal moment is inconsistent with features of the other historical moments other than the abnormal moment among the plurality of historical moments.
  • the specified time range may be set in advance, for example, the specified time range may be 18:00 to 22:00, and the like, and the embodiment of the present disclosure does not specifically limit this.
  • the abnormal time can be obtained not only by the abnormality detecting module included in the smart device, but also the smart device can be obtained through the installed third-party abnormality detecting application.
  • the abnormal moment the embodiment of the present disclosure does not specifically limit this.
  • the smart device may separately acquire the third historical date at which the at least one valid moment is located, and obtain at least one third historical period, where the third historical date is The date of the smart device is controlled at an effective time, after which at least one second weight is determined by a specified function based on the at least one third historical period, and a second weighted value of the at least one valid moment is calculated based on the at least one second weight.
  • the third historical date at which the at least one valid moment is located may be a date when the smart device separately stores the at least one valid moment.
  • the second weight is used to indicate the size of the reference effect that the effective time corresponding to the second weight can provide when determining the target time.
  • the process of determining, by the smart device, the at least one second weight by the specified function is similar to the process of determining the at least one first weight in step (a) of step 202, based on the at least one third historical date, where the embodiment of the present disclosure is No longer.
  • the smart device may multiply the at least one valid time by the corresponding second weight to obtain at least one first, when the smart device calculates the second weighting value of the at least one effective time based on the at least one second weight. Two values, after which the at least one second value is added to obtain a second weight value.
  • the at least one valid moment is 18:26, 18:24, 18:27, 18:24, 18:28, 18:24
  • the second weight corresponding to 18:26 is The second weight corresponding to 8:24 is The second weight corresponding to 18:27 is The second weight corresponding to 8:24 is The second weight corresponding to 18:28 is The second weight corresponding to 18:24 is Then the second weight value is
  • the smart device determines the target time according to the user's operating habits, the user's operating habits are gradually changed by factors such as seasons, and since the user's operating habits are embodied by the plurality of historical moments in the embodiment of the present disclosure. Therefore, the plurality of historical moments may be updated, that is, when the smart device receives the second update instruction, the receiving moment of receiving the second update instruction may be acquired, and the plurality of historical moments are updated based on the receiving moment. In order to ensure that the plurality of historical moments can reflect the latest operating habits of the user, thereby ensuring the accuracy of the target moment determined based on the plurality of historical moments.
  • the second update instruction is used to control the smart device, and the second update instruction may be triggered by a user, and the user may trigger the operation by a specified operation, which is not specifically limited in the embodiment of the disclosure.
  • the smart device may separately acquire the fourth historical date of the plurality of historical moments when the smart device updates the plurality of historical moments based on the receiving moment, where the fourth historical date is the date of controlling the smart device at the historical moment. And then, the smart device selects the historical moment of the fourth historical date from the plurality of historical moments, replaces the selected historical moment with the receiving moment, or the smart device may acquire at least one abnormality of the plurality of historical moments At the moment, the abnormal time of the at least one abnormal moment is replaced with the receiving moment. Of course, the smart device may further update the plurality of historical moments according to the receiving moment, and the embodiment of the present disclosure does not do this. Specifically limited.
  • the fourth historical date is a date when the smart device separately stores the plurality of historical moments.
  • the receiving time is 18:39
  • the multiple historical moments are 18:26, 18:24, 13:14, 18:27, 18:24, 18:28, 15:32, 18:24, 23:16.
  • 17:33 and 18:26, 18:24, 13:14, 18:27, 18:24, 18:28, 15:32, 18:24, 23:16, 17:33 respectively
  • the four historical dates are December 5, 2014, December 6, 2014, December 8, 2014, December 9, 2014, December 10, 2014, December 11, 2014, December 2014.
  • the earliest historical time of the fourth historical date is 18:26 on December 5th, 2014.
  • the smart device can Replace 18:26 with 18:39.
  • the receiving time is 18:39
  • the plurality of historical moments are 18:26, 18:24, 13:14, 18:27, 18:24, 18:28, 15:32, 18:24, 23: 16, 17:33
  • the smart device acquires at least one of the plurality of historical moments is 13:14, 15:32, 23:16, 17:33, then the smart device can be 13:14, 15: Replace any of 32, 23:16, 17:33 with 18:39.
  • step 203 the smart device controls based on the current time, the running time, and the target time.
  • the smart device is made.
  • the smart device predicts that the user adjusts the state of the current environment through the smart device at the target time to adjust the state of the current environment to the first target environment state, that is, the user wants to be at the target time.
  • the state of the current environment is the first target environment state. Therefore, in order to ensure that the state of the current environment reaches the first target environment state at the target time, the smart device may add the current time to the running time to obtain a prediction. At the moment, and based on the predicted time and the target time, the smart device is controlled.
  • the smart device may acquire the predicted time in real time, or may acquire the predicted time every second specified duration.
  • the smart device acquires the predicted time in a time interval that is far away from the target time, since the preset time is far from the target time, the smart device is not controlled to adjust the state of the current environment to the first time. A target environment state is not necessary for the acquisition of the predicted time, and the processing resource of the smart device is wasted. Therefore, the smart device can determine the target time segment based on the target time, and the target time segment includes the target time segment.
  • the predicted time is obtained in real time during the target time period, or the predicted time is obtained every second specified time in the target time period, so that the smart device can be prevented from blindly facing the time period far from the target time.
  • the acquisition is performed at a predicted time, which saves processing resources of the smart device.
  • the smart device can obtain the current time and the current environment state in real time in order to obtain the predicted time in real time. In order to obtain the predicted time every second specified duration, the smart device may acquire the current time and the current environmental state every second specified duration.
  • the second specified duration may be set in advance, for example, the second specified duration may be 5 minutes, 6 minutes, and the like, which is not specifically limited in the embodiment of the present disclosure.
  • the smart device can obtain the predicted time in real time when the smart device controls the smart device based on the predicted time and the target time, and controls the smart device to improve the accuracy of controlling the smart device when the predicted time is the same as the target time.
  • the smart device may acquire the predicted time every second specified time period. At this time, the smart device may determine a first difference between the target time and the predicted time, and when the first difference is less than the first specified time Control the smart device and save processing resources of the smart device.
  • the first specified duration may be set in advance, for example, the specified duration may be 1 minute, 5 minutes, and the like, which is not specifically limited in the embodiment of the present disclosure.
  • the predicted time is 18:22 and the target time is 18:22, the predicted time is the same as the target time.
  • the smart device can be controlled.
  • the first specified duration is 5 minutes
  • the predicted time is 18:19
  • the target time is 18:22
  • the first difference between the target time and the predicted time is 3 minutes. Since 3 minutes is less than 5 minutes, it can be controlled.
  • the smart device is configured to control the first specified duration.
  • the smart device may acquire the current time and the current environmental state, and determine a running time required to adjust the current environmental state to the first target environmental state, after which the smart device compares the current time with the running time. Adding, obtaining a predicted time, and automatically controlling the smart device based on the predicted time and the target time, the control process is simple, and the operation burden of the user is reduced, and the embodiment of the present disclosure can control the smart device in advance before the target time, so that The smart device works to ensure that the state of the current environment can be adjusted to the first target environment state required by the user at the target time, thereby improving the user experience.
  • FIG. 4 is a block diagram of a smart device control apparatus according to an exemplary embodiment.
  • the apparatus includes an acquisition module 401, a first determination module 402, and a control module 403.
  • An obtaining module 401 configured to acquire a current time and a current environmental state
  • the first determining module 402 is configured to determine a running time required to adjust the current environmental state to the first target environmental state, where the first target environmental state is a state of the current environment at the target time, and the target time is used to control the smart Time of equipment;
  • the control module 403 is configured to control the smart device based on the current time, the running time, and the target time.
  • control module 403 includes an adding unit 4031 and a control unit 4032.
  • the adding unit 4031 is configured to add the current time to the running time to obtain a predicted time
  • the control unit 4032 is configured to control the smart device based on the predicted time and the target time.
  • control unit 4032 includes a first control subunit 40321 and a second control subunit 40322.
  • the first control subunit 40321 is configured to control the smart device when the predicted time is the same as the target time;
  • the second control subunit 40322 is configured to determine a first difference between the target time and the predicted time; and when the first difference is less than the first specified time, control the smart device.
  • the apparatus further includes a first selection module 404,
  • the second determining module 405 is a third determining module 406.
  • the first selection module 404 is configured to select at least one active environment state from a plurality of historical environment states, where the historical environment state is a state that is adjusted by the smart device before the current time;
  • a second determining module 405, configured to determine a first weighting value of the at least one active environment state
  • the third determining module 406 is configured to determine the first weighting value as the first target environment state.
  • the second determining module 405 includes a first obtaining unit 4051, a first determining unit 4052, and a first calculating unit 4053.
  • the first obtaining unit 4051 is configured to respectively acquire a first historical date at which the at least one valid environment state is located, to obtain at least one first historical date, where the first historical date is a state in which the current environment is adjusted to a valid environment state by the smart device. date;
  • the first determining unit 4052 is configured to determine, according to the at least one first historical date, at least one first weight by using a specified function
  • the first calculating unit 4053 is configured to calculate a first weighting value of the at least one valid environmental state based on the at least one first weight.
  • the apparatus further includes a first receiving module 407, a first updating module 408.
  • the first receiving module 407 is configured to receive a first update instruction, where the first update instruction carries a second target environment state;
  • the first update module 408 is configured to update the plurality of historical environment states based on the second target environment state.
  • the first update module 408 includes a second obtaining unit 4081, a first selecting unit 4082, and a first replacing unit 4083.
  • the second obtaining unit 4081 is configured to respectively acquire a second historical date in which the plurality of historical environment states are located, where the second historical date is a date that the current environment is adjusted to the historical environment state by the smart device;
  • the first selecting unit 4082 is configured to select, from among a plurality of historical environment states, a historical environment state with the earliest second historical date;
  • the first replacement unit 4083 is configured to replace the selected historical environment state with the second target environment state.
  • the apparatus further includes a second selection module 409, a fourth determination module 410, and a fifth determination module 411.
  • a second selection module 409 configured to select at least one valid moment from a plurality of historical moments, where the historical moment is a moment for controlling the smart device before the current moment;
  • a fourth determining module 410 configured to determine a second weighting value of the at least one valid moment
  • the fifth determining module 411 is configured to determine the second weighting value as the target time.
  • the fourth determining module 410 includes a third obtaining unit 4101, a second determining unit 4102, and a second calculating unit 4103.
  • the third obtaining unit 4101 is configured to respectively acquire a third historical date at which the at least one valid moment is located, to obtain at least one third historical period, where the third historical date is a date for controlling the smart device at the effective moment;
  • a second determining unit 4102 configured to determine, according to the at least one third historical period, at least one second weight by using a specified function
  • the second calculating unit 4103 is configured to calculate a second weighting value of the at least one valid moment based on the at least one second weight.
  • the apparatus further includes a second receiving module 412 and a second updating module 413.
  • the second receiving module 412 is configured to: when receiving the second update instruction, acquire a receiving moment of receiving the second update instruction;
  • the second update module 413 is configured to update a plurality of historical moments based on the receiving moment.
  • the second update module 413 includes a fourth obtaining unit 4131, a second selecting unit 4132, and a second replacing unit 4133.
  • the fourth obtaining unit 4131 is configured to respectively acquire a fourth historical date at which the plurality of historical moments are located, where the fourth historical date is a date for controlling the smart device at the historical moment;
  • a second selecting unit 4132 configured to select, from among the plurality of historical moments, a historical moment when the fourth historical date is the earliest;
  • the second replacing unit 4133 is configured to replace the selected historical moment with the receiving moment.
  • the smart device may acquire the current time and the current environment state, and determine a running time required to adjust the current environment state to the first target environment state, and then, based on the current time, the running time, and the At the target time, the smart device is automatically controlled, the control process is simple, and the operation load of the user is reduced.
  • FIG. 15 is a diagram of an apparatus 1500 for smart device control, according to an exemplary embodiment. block diagram.
  • device 1500 can be a smart device.
  • device 1500 can include one or more of the following components: processing component 1502, memory 1504, power component 1506, multimedia component 1508, audio component 1510, input/output (I/O) interface 1512, sensor component 1514, And a communication component 1516.
  • Processing component 1502 typically controls the overall operations of device 1500, such as operations associated with display, data communication, and recording operations.
  • Processing component 1502 can include one or more processors 1520 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 1502 can include one or more modules to facilitate interaction between component 1502 and other components.
  • processing component 1502 can include a multimedia module to facilitate interaction between multimedia component 1508 and processing component 1502.
  • Memory 1504 is configured to store various types of data to support operation at device 1500. Examples of such data include instructions for any application or method operating on device 1500, environmental status, time of day, and the like.
  • the memory 1504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1506 provides power to various components of device 1500.
  • Power component 1506 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 1500.
  • Multimedia component 1508 includes a screen between the device 1500 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the audio component 1510 is configured to output and/or input an audio signal.
  • the audio component 1510 includes a microphone (MIC) that is configured to receive an external audio signal when the device 1500 is in an operational mode, such as a recording mode and a voice recognition mode.
  • the received audio signal may be further stored in memory 1504 or transmitted via communication component 1516.
  • audio component 1510 also includes a speaker for outputting an audio signal.
  • the I/O interface 1512 provides an interface between the processing component 1502 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 1514 includes one or more sensors for providing device 1500 with a status assessment of various aspects.
  • sensor assembly 1514 can detect an open/closed state of device 1500, relative positioning of components, such as the display and keypad of device 1500, and sensor component 1514 can also detect a change in position of one component of device 1500 or device 1500. The presence or absence of contact by the user with the device 1500, the orientation or acceleration/deceleration of the device 1500 and the temperature change of the device 1500.
  • Sensor assembly 1514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 1514 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1516 is configured to facilitate wired or wireless communication between device 1500 and other devices.
  • the device 1500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 1516 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 1516 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 1500 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1504 comprising instructions executable by processor 1520 of apparatus 1500 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of apparatus 1500, to enable apparatus 1500 to perform a smart device control method, the method comprising:
  • Determining a running time required to adjust a current environmental state to a first target environmental state where the first target environmental state is a state of the current environment at the target time, and the target time is a time for controlling the smart device;
  • the smart device is controlled based on the current time, the running time, and the target time.
  • controlling the smart device based on the current time, the running time, and the target time includes:
  • the smart device is controlled based on the predicted time and the target time.
  • controlling the smart device based on the predicted time and the target time includes:
  • Determining a first difference between the target time and the predicted time controlling the smart device when the first difference is less than the first specified time length.
  • the method before determining the runtime required to adjust the current environmental state to the first target environmental state, the method further includes:
  • the first weighting value is determined as the first target environmental state.
  • determining the first weighting value of the at least one active environmental state comprises:
  • a first weighted value of the at least one valid environmental state is calculated based on the at least one first weight.
  • the method further includes:
  • updating the plurality of historical environment states based on the second target environment state includes:
  • the method before determining the runtime required to adjust the current environmental state to the first target environmental state, the method further includes:
  • the second weighting value is determined as the target time.
  • determining the second weighting value of the at least one valid moment includes:
  • a second weighting value of the at least one valid moment is calculated based on the at least one second weight.
  • the method further includes:
  • a plurality of historical moments are updated based on the reception time.
  • updating the plurality of historical moments based on the receiving moment includes:
  • the smart device may acquire the current time and the current environment state, and determine a running time required to adjust the current environment state to the first target environment state, and then, based on the current time, the running time, and the At the target time, the smart device is automatically controlled, the control process is simple, and the operation load of the user is reduced.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Manufacturing & Machinery (AREA)
  • User Interface Of Digital Computer (AREA)
  • Selective Calling Equipment (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

一种智能设备控制方法及装置,属于智能家居领域。所述方法包括:获取当前时刻和当前环境状态(101);确定将所述当前环境状态调整到第一目标环境状态所需的运行时长,所述第一目标环境状态为在目标时刻时当前所处环境的状态,所述目标时刻为用于控制智能设备的时刻(102);基于所述当前时刻、所述运行时长和所述目标时刻,控制所述智能设备(103)。该方法可以自动控制智能设备,控制过程简单,减小了用户的操作负担。

Description

智能设备控制方法及装置
本申请基于申请号为201510919429.5、申请日为2015年12月11日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及智能家居领域,尤其涉及一种智能设备控制方法及装置。
背景技术
随着用户对生活品质重视程度的提高,智能设备越来越普及。而在使用智能设备的过程中,用户往往需要手动控制该智能设备,以使该智能设备进行工作,该手动控制过程较为繁琐,给用户带来不便,因此,亟需一种控制过程较为简单的智能设备控制方法。
发明内容
为克服相关技术中存在的问题,本公开提供一种智能设备控制方法及装置。
根据本公开实施例的第一方面,提供一种智能设备控制方法,所述方法包括:
获取当前时刻和当前环境状态;
确定将所述当前环境状态调整到第一目标环境状态所需的运行时长,所述第一目标环境状态为在目标时刻时当前所处环境的状态,所述目标时刻为用于控制智能设备的时刻;
基于所述当前时刻、所述运行时长和所述目标时刻,控制所述智能设备。
结合第一方面,在上述第一方面的第一种可能的实现方式中,所述基于所述当前时刻、所述运行时长和所述目标时刻,控制所述智能设备,包括:
将所述当前时刻与所述运行时长相加,得到预测时刻;
基于所述预测时刻和所述目标时刻,控制所述智能设备。
结合第一方面的第一种可能的实现方式,在上述第一方面的第二种可能的 实现方式中,所述基于所述预测时刻和所述目标时刻,控制所述智能设备,包括:
当所述预测时刻与所述目标时刻相同时,控制所述智能设备;或者,
确定所述目标时刻与所述预测时刻的之间的第一差值;当所述第一差值小于第一指定时长时,控制所述智能设备。
结合第一方面至第一方面的第二种可能的实现方式中任一可能的实现方式,在上述第一方面的第三种可能的实现方式中,所述确定将所述当前环境状态调整到第一目标环境状态所需的运行时长之前,所述方法还包括:
从多个历史环境状态中,选择至少一个有效环境状态,所述历史环境状态为所述当前时刻之前通过所述智能设备将当前所处环境调整后的状态;
确定所述至少一个有效环境状态的第一加权值;
将所述第一加权值确定为所述第一目标环境状态。
结合第一方面的第三种可能的实现方式,在上述第一方面的第四种可能的实现方式中,所述确定所述至少一个有效环境状态的第一加权值,包括:
分别获取所述至少一个有效环境状态所处的第一历史日期,得到至少一个第一历史日期,所述第一历史日期为通过所述智能设备将当前所处环境调整到所述有效环境状态的日期;
基于所述至少一个第一历史日期,通过指定函数确定至少一个第一权重;
基于所述至少一个第一权重,计算所述至少一个有效环境状态的第一加权值。
结合第一方面的第三种可能的实现方式或者第一方面的第四种可能的实现方式,在上述第一方面的第五种可能的实现方式中,所述方法还包括:
接收第一更新指令,所述第一更新指令中携带第二目标环境状态;
基于所述第二目标环境状态,更新所述多个历史环境状态。
结合第一方面的第五种可能的实现方式,在上述第一方面的第六种可能的实现方式中,所述基于所述第二目标环境状态,更新所述多个历史环境状态,包括:
分别获取所述多个历史环境状态所处的第二历史日期,所述第二历史日期为通过所述智能设备将当前所处环境调整到所述历史环境状态的日期;
从所述多个历史环境状态中,选择所述第二历史日期最早的历史环境状态;
将选择的历史环境状态替换为所述第二目标环境状态。
结合第一方面至第一方面的第六种可能的实现方式中任一可能的实现方式,在上述第一方面的第七种可能的实现方式中,所述确定将所述当前环境状态调整到第一目标环境状态所需的运行时长之前,所述方法还包括:
从多个历史时刻中,选择至少一个有效时刻,所述历史时刻为所述当前时刻之前用于控制所述智能设备的时刻;
确定所述至少一个有效时刻的第二加权值;
将所述第二加权值确定为所述目标时刻。
结合第一方面的第七种可能的实现方式,在上述第一方面的第八种可能的实现方式中,所述确定所述至少一个有效时刻的第二加权值,包括:
分别获取所述至少一个有效时刻所处的第三历史日期,得到至少一个第三历史时期,所述第三历史日期为在所述有效时刻控制所述智能设备的日期;
基于所述至少一个第三历史时期,通过指定函数确定至少一个第二权重;
基于所述至少一个第二权重,计算所述至少一个有效时刻的第二加权值。
结合第一方面的第七种可能的实现方式或者第一方面的第八种可能的实现方式,在上述第一方面的第九种可能的实现方式中,所述方法还包括:
当接收到第二更新指令时,获取接收所述第二更新指令的接收时刻;
基于所述接收时刻,更新所述多个历史时刻。
结合第一方面的第九种可能的实现方式,在上述第一方面的第十种可能的实现方式中,所述基于所述接收时刻,更新所述多个历史时刻,包括:
分别获取所述多个历史时刻所处的第四历史日期,所述第四历史日期为在所述历史时刻控制所述智能设备的日期;
从所述多个历史时刻中,选择所述第四历史日期最早的历史时刻;
将选择的历史时刻替换为所述接收时刻。
根据本公开实施例的第二方面,提供一种智能设备控制装置,所述装置包括:
获取模块,用于获取当前时刻和当前环境状态;
第一确定模块,用于确定将所述当前环境状态调整到第一目标环境状态所需的运行时长,所述第一目标环境状态为在目标时刻时当前所处环境的状态, 所述目标时刻为用于控制智能设备的时刻;
控制模块,用于基于所述当前时刻、所述运行时长和所述目标时刻,控制所述智能设备。
结合第二方面,在上述第二方面的第一种可能的实现方式中,所述控制模块包括:
相加单元,用于将所述当前时刻与所述运行时长相加,得到预测时刻;
控制单元,用于基于所述预测时刻和所述目标时刻,控制所述智能设备。
结合第二方面的第一种可能的实现方式,在上述第二方面的第二种可能的实现方式中,所述控制单元包括:
第一控制子单元,用于当所述预测时刻与所述目标时刻相同时,控制所述智能设备;或者,
第二控制子单元,用于确定所述目标时刻与所述预测时刻的之间的第一差值;当所述第一差值小于第一指定时长时,控制所述智能设备。
结合第二方面至第二方面的第二种可能的实现方式中任一可能的实现方式,在上述第二方面的第三种可能的实现方式中,所述装置还包括:
第一选择模块,用于从多个历史环境状态中,选择至少一个有效环境状态,所述历史环境状态为所述当前时刻之前通过所述智能设备将当前所处环境调整后的状态;
第二确定模块,用于确定所述至少一个有效环境状态的第一加权值;
第三确定模块,用于将所述第一加权值确定为所述第一目标环境状态。
结合第二方面的第三种可能的实现方式,在上述第二方面的第四种可能的实现方式中,所述第二确定模块包括:
第一获取单元,用于分别获取所述至少一个有效环境状态所处的第一历史日期,得到至少一个第一历史日期,所述第一历史日期为通过所述智能设备将当前所处环境调整到所述有效环境状态的日期;
第一确定单元,用于基于所述至少一个第一历史日期,通过指定函数确定至少一个第一权重;
第一计算单元,用于基于所述至少一个第一权重,计算所述至少一个有效环境状态的第一加权值。
结合第二方面的第三种可能的实现方式或者第二方面的第四种可能的实现 方式,在上述第二方面的第五种可能的实现方式中,所述装置还包括:
第一接收模块,用于接收第一更新指令,所述第一更新指令中携带第二目标环境状态;
第一更新模块,用于基于所述第二目标环境状态,更新所述多个历史环境状态。
结合第二方面的第五种可能的实现方式,在上述第二方面的第六种可能的实现方式中,所述第一更新模块包括:
第二获取单元,用于分别获取所述多个历史环境状态所处的第二历史日期,所述第二历史日期为通过所述智能设备将当前所处环境调整到所述历史环境状态的日期;
第一选择单元,用于从所述多个历史环境状态中,选择所述第二历史日期最早的历史环境状态;
第一替换单元,用于将选择的历史环境状态替换为所述第二目标环境状态。
结合第二方面至第二方面的第六种可能的实现方式中任一可能的实现方式,在上述第二方面的第七种可能的实现方式中,所述装置还包括:
第二选择模块,用于从多个历史时刻中,选择至少一个有效时刻,所述历史时刻为所述当前时刻之前用于控制所述智能设备的时刻;
第四确定模块,用于确定所述至少一个有效时刻的第二加权值;
第五确定模块,用于将所述第二加权值确定为所述目标时刻。
结合第二方面的第七种可能的实现方式,在上述第二方面的第八种可能的实现方式中,所述第四确定模块包括:
第三获取单元,用于分别获取所述至少一个有效时刻所处的第三历史日期,得到至少一个第三历史时期,所述第三历史日期为在所述有效时刻控制所述智能设备的日期;
第二确定单元,用于基于所述至少一个第三历史时期,通过指定函数确定至少一个第二权重;
第二计算单元,用于基于所述至少一个第二权重,计算所述至少一个有效时刻的第二加权值。
结合第二方面的第七种可能的实现方式或者第二方面的第八种可能的实现方式,在上述第二方面的第九种可能的实现方式中,所述装置还包括:
第二接收模块,用于当接收到第二更新指令时,获取接收所述第二更新指令的接收时刻;
第二更新模块,用于基于所述接收时刻,更新所述多个历史时刻。
结合第二方面的第九种可能的实现方式,在上述第二方面的第十种可能的实现方式中,所述第二更新模块包括:
第四获取单元,用于分别获取所述多个历史时刻所处的第四历史日期,所述第四历史日期为在所述历史时刻控制所述智能设备的日期;
第二选择单元,用于从所述多个历史时刻中,选择所述第四历史日期最早的历史时刻;
第二替换单元,用于将选择的历史时刻替换为所述接收时刻。
根据本公开实施例的第三方面,提供一种智能设备控制装置,所述装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取当前时刻和当前环境状态;
确定将所述当前环境状态调整到第一目标环境状态所需的运行时长,所述第一目标环境状态为在目标时刻时当前所处环境的状态,所述目标时刻为用于控制智能设备的时刻;
基于所述当前时刻、所述运行时长和所述目标时刻,控制所述智能设备。
在本公开实施例中,智能设备可以获取当前时刻和当前环境状态,并确定将当前环境状态调整到第一目标环境状态所需的运行时长,之后,可以基于该当前时间、该运行时长和该目标时刻,自动控制该智能设备,控制过程简单,减小了用户的操作负担。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明 的实施例,并与说明书一起用于解释本发明的原理。
图1是根据一示例性实施例示出的一种智能设备控制方法的流程图。
图2是根据一示例性实施例示出的另一种智能设备控制方法的流程图。
图3是根据一示例性实施例示出的一种指定函数的函数图像的示意图。
图4是根据一示例性实施例示出的第一种智能设备控制装置的框图。
图5是根据一示例性实施例示出的一种控制模块的框图。
图6是根据一示例性实施例示出的一种控制单元的框图。
图7是根据一示例性实施例示出的第二种智能设备控制装置的框图。
图8是根据一示例性实施例示出的一种第二确定模块的框图。
图9是根据一示例性实施例示出的第三种智能设备控制装置的框图。
图10是根据一示例性实施例示出的一种第一更新模块的框图。
图11是根据一示例性实施例示出的第四种智能设备控制装置的框图。
图12是根据一示例性实施例示出的一种第四确定模块的框图。
图13是根据一示例性实施例示出的第五种智能设备控制装置的框图。
图14是根据一示例性实施例示出的一种第二更新模块的框图。
图15是根据一示例性实施例示出的第六种智能设备控制装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
图1是根据一示例性实施例示出的一种智能设备控制方法的流程图,该方法用于智能设备中,如图1所示,该方法包括以下步骤。
在步骤101中,获取当前时刻和当前环境状态。
在步骤102中,确定将当前环境状态调整到第一目标环境状态所需的运行时长,第一目标环境状态为在目标时刻时当前所处环境的状态,目标时刻为用于控制智能设备的时刻。
在步骤103中,基于当前时刻、运行时长和目标时刻,控制智能设备。
在本公开实施例中,智能设备可以获取当前时刻和当前环境状态,并确定将当前环境状态调整到第一目标环境状态所需的运行时长,之后,可以基于该当前时间、该运行时长和该目标时刻,自动控制该智能设备,控制过程简单,减小了用户的操作负担。
在本公开的另一实施例中,基于当前时刻、运行时长和目标时刻,控制智能设备,包括:
将当前时刻与运行时长相加,得到预测时刻;
基于预测时刻和目标时刻,控制智能设备。
在本公开的另一实施例中,基于预测时刻和目标时刻,控制智能设备,包括:
当预测时刻与目标时刻相同时,控制智能设备;或者,
确定目标时刻与预测时刻的之间的第一差值;当第一差值小于第一指定时长时,控制智能设备。
在本公开的另一实施例中,确定将当前环境状态调整到第一目标环境状态所需的运行时长之前,该方法还包括:
从多个历史环境状态中,选择至少一个有效环境状态,历史环境状态为当前时刻之前通过智能设备将当前所处环境调整后的状态;
确定至少一个有效环境状态的第一加权值;
将第一加权值确定为第一目标环境状态。
在本公开的另一实施例中,确定至少一个有效环境状态的第一加权值,包括:
分别获取至少一个有效环境状态所处的第一历史日期,得到至少一个第一历史日期,第一历史日期为通过智能设备将当前所处环境调整到有效环境状态的日期;
基于至少一个第一历史日期,通过指定函数确定至少一个第一权重;
基于至少一个第一权重,计算至少一个有效环境状态的第一加权值。
在本公开的另一实施例中,该方法还包括:
接收第一更新指令,第一更新指令中携带第二目标环境状态;
基于第二目标环境状态,更新多个历史环境状态。
在本公开的另一实施例中,基于第二目标环境状态,更新多个历史环境状态,包括:
分别获取多个历史环境状态所处的第二历史日期,第二历史日期为通过智能设备将当前所处环境调整到历史环境状态的日期;
从多个历史环境状态中,选择第二历史日期最早的历史环境状态;
将选择的历史环境状态替换为第二目标环境状态。
在本公开的另一实施例中,确定将当前环境状态调整到第一目标环境状态所需的运行时长之前,该方法还包括:
从多个历史时刻中,选择至少一个有效时刻,历史时刻为当前时刻之前用于控制智能设备的时刻;
确定至少一个有效时刻的第二加权值;
将第二加权值确定为目标时刻。
在本公开的另一实施例中,确定至少一个有效时刻的第二加权值,包括:
分别获取至少一个有效时刻所处的第三历史日期,得到至少一个第三历史时期,第三历史日期为在有效时刻控制智能设备的日期;
基于至少一个第三历史时期,通过指定函数确定至少一个第二权重;
基于至少一个第二权重,计算至少一个有效时刻的第二加权值。
在本公开的另一实施例中,该方法还包括:
当接收到第二更新指令时,获取接收第二更新指令的接收时刻;
基于接收时刻,更新多个历史时刻。
在本公开的另一实施例中,基于接收时刻,更新多个历史时刻,包括:
分别获取多个历史时刻所处的第四历史日期,第四历史日期为在历史时刻控制智能设备的日期;
从多个历史时刻中,选择第四历史日期最早的历史时刻;
将选择的历史时刻替换为接收时刻。
上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一赘述。
图2是根据一示例性实施例示出的一种智能设备控制方法的流程图,如图2所示,该方法包括以下步骤。
在步骤201中,智能设备获取当前时刻和当前环境状态。
需要说明的是,当前环境状态可以为当前环境温度、当前环境湿度等等,本公开实施例对此不做具体限定。
其中,智能设备获取当前时刻的过程可以参考相关技术,本公开实施例对此不进行详细阐述。
另外,智能设备中可以设置有环境检测装置,该智能设备可以通过该环境检测装置检测当前环境,进而得到当前环境状态。例如,当该智能设备为智能空调时,该环境检测装置可以为温度传感器,当该智能设备为智能加湿器时,该环境检测装置可以为湿度传感器等等,本公开实施例对此不做具体限定。
在步骤202中,智能设备确定将当前环境状态调整到第一目标环境状态所需的运行时长,第一目标环境状态为在目标时刻时当前所处环境的状态,目标时刻为用于控制智能设备的时刻。
智能设备获取当前环境状态后,可以根据自身功率,计算将当前环境状态调整到第一目标环境状态所需的运行时长,该计算过程可以参考相关技术,本公开实施例对此不进行详细阐述。
需要说明的是,第一目标环境状态为基于用户的操作习惯确定通过该智能设备将当前所处环境调整后的状态。另外,目标时刻为该智能设备基于用户的操作习惯确定控制该智能设备的时刻。
进一步地,该智能设备确定将当前环境状态调整到第一目标环境状态所需的运行时长之前,该智能设备可以基于用户的操作习惯确定第一目标环境状态和目标时刻,而该智能设备确定第一目标环境状态的操作可以包括如下步骤(a),该智能设备确定目标时刻的操作可以包括如下步骤(b):
(a)、该智能设备从多个历史环境状态中,选择至少一个有效环境状态,该历史环境状态为当前时刻之前通过该智能设备将当前所处环境调整后的状态;确定该至少一个有效环境状态的第一加权值;将第一加权值确定为第一目标环境状态。
其中,该智能设备从多个历史环境状态中,选择至少一个有效环境状态时,该智能设备可以从该多个历史环境状态中,选择处于指定环境状态范围内的历史环境状态,并将该选择的历史环境状态确定为有效环境状态。或者,该智能设备可以从该多个历史环境状态中获取异常环境状态,并将该多个历史环境状 态中除异常环境状态之外的历史环境状态确定为有效环境状态。当然,该智能设备还可以通过其它方式从多个历史环境状态中,选择至少一个有效环境状态,本公开实施例对此不做具体限定。
例如,该多个历史环境状态为26℃(摄氏度)、24℃、14℃、27℃、24℃、28℃、32℃、24℃、16℃、33℃,指定环境状态范围为20℃~30℃,则该智能设备可以从该多个历史环境状态中,选择处于20℃~30℃的历史环境状态为26℃、24℃、27℃、24℃、28℃、24℃,该26℃、24℃、27℃、24℃、28℃、24℃即为有效环境状态。
再例如,该多个历史环境状态为26℃、24℃、14℃、27℃、24℃、28℃、32℃、24℃、16℃、33℃,该智能设备从该多个历史环境状态中获取的异常环境状态为14℃、32℃、16℃、33℃,则该智能设备可以将该多个历史环境状态中除14℃、32℃、16℃、33℃之外的26℃、24℃、27℃、24℃、28℃、24℃确定为有效环境状态。
需要说明的是,有效环境状态为该多个历史环境状态中,可以用于确定第一目标环境状态的环境状态,异常环境状态为该多个历史环境状态中存在异常的历史环境状态,也即是,该异常环境状态与该多个历史环境状态中除该异常环境状态之外的其它历史环境状态的特征不一致。
另外,指定环境状态范围可以预先设置,如指定环境状态范围可以为20℃~30℃等等,本公开实施例对此不做具体限定。
其中,该智能设备从该多个历史环境状态中获取异常环境状态时,不仅可以通过自身包括的异常检测模块来获取该异常环境状态,当然,该智能设备还可以通过安装的第三方异常检测应用程序来获取该异常环境状态,本公开实施例对此不做具体限定。
需要说明的是,第三方异常检测应用程序用于检测多个数据中的异常数据,该异常数据与该多个数据中除该异常数据之外的其它数据的特征不一致。例如,该第三方异常检测应用程序可以为SPSS(Statistical Product and Service Solutions,统计产品与服务解决方案)应用程序、SAS(Statistical Analysis System,统计分析系统)应用程序等等,本公开实施例对此不做具体限定。
其中,该智能设备确定该至少一个有效环境状态的第一加权值时,该智能设备可以分别获取该至少一个有效环境状态所处的第一历史日期,得到至少一 个第一历史日期,第一历史日期为通过智能设备将当前所处环境调整到有效环境状态的日期,之后,基于该至少一个第一历史日期,通过指定函数确定至少一个第一权重,并基于该至少一个第一权重,计算该至少一个有效环境状态的第一加权值。
需要说明的是,该至少一个有效环境状态所处的第一历史日期可以为该智能设备分别存储该至少一个有效环境状态的日期。
另外,指定函数可以预先设置,例如,该指定函数可以为反比例函数
Figure PCTCN2016085018-appb-000001
或者其它具有如图3所示的函数图像的函数,本公开实施例对此不做具体限定。
再者,第一权重用于表示在确定第一目标环境状态时,该第一权重对应的有效环境状态所能提供的参考作用的大小。
其中,该智能设备基于该至少一个第一历史日期,通过指定函数确定至少一个第一权重时,该智能设备可以获取当前日期,分别计算当前日期与该至少一个第一历史日期之间的第二差值,得到至少一个第二差值,再根据该至少一个第二差值,通过指定函数确定至少一个第一权重。
例如,该至少一个第一历史日期为2014年12月5日、2014年12月6日、2014年12月9日、2014年12月10日、2014年12月11日、2014年12月15日。当前日期为2014年12月18日,则分别计算当前日期与该至少一个第二历史日期之间的第二差值,得到至少一个第二差值为13、12、9、8、7、3,再根据该至少一个第二差值13、12、9、8、7、3,通过指定函数确定至少一个第一权重。
其中,该智能设备根据该至少一个第二差值,通过指定函数确定至少一个第一权重时,可以将该至少一个第二差值作为该指定函数中的自变量,分别计算该至少一个第二差值对应的因变量,得到至少一个因变量,并将该至少一个因变量确定为至少一个第一权重。
例如,指定函数为
Figure PCTCN2016085018-appb-000002
该至少一个第二差值为13、12、9、8、7、3,则将13、12、9、8、7、3代入
Figure PCTCN2016085018-appb-000003
中,得到13、12、9、8、7、3对应的因变量为
Figure PCTCN2016085018-appb-000004
则该至少一个第一权重为
Figure PCTCN2016085018-appb-000005
Figure PCTCN2016085018-appb-000006
其中,该智能设备基于该至少一个第一权重,计算该至少一个有效环境状态的第一加权值时,该智能设备可以分别将该至少一个有效环境状态与对应的第一权重相乘,得到至少一个第一数值,之后,将该至少一个第一数值相加,得到第一加权值。
例如,该至少一个有效环境状态为26℃、24℃、27℃、24℃、28℃、24℃,且26℃对应的第一权重为
Figure PCTCN2016085018-appb-000007
24℃对应的第一权重为
Figure PCTCN2016085018-appb-000008
27℃对应的第一权重为
Figure PCTCN2016085018-appb-000009
24℃对应的第一权重为
Figure PCTCN2016085018-appb-000010
28℃对应的第一权重为
Figure PCTCN2016085018-appb-000011
24℃对应的第一权重为
Figure PCTCN2016085018-appb-000012
则第一加权值为
Figure PCTCN2016085018-appb-000013
由于该智能设备是根据用户的操作习惯确定第一目标环境状态,用户的操作习惯会受季节等因素的影响而逐渐变化,又由于在本公开实施例中用户的操作习惯是通过该多个历史环境状态来体现,因此,可以对该多个历史环境状态进行更新,也即是,该智能设备可以接收第一更新指令,第一更新指令中携带第二目标环境状态,并基于第二目标环境状态,更新该多个历史环境状态,从而确保该多个历史环境状态可以体现用户最新的操作习惯,进而确保基于该多个历史环境状态确定的第一目标环境状态的准确度。
需要说明的是,第一更新指令用于通过该智能设备将当前环境状态调整到第二目标环境状态,该第一更新指令可以通过用户触发,该用户可以通过指定操作触发,该指定操作可以为单击操作、滑动操作、语音操作等等,本公开实施例对此不做具体限定。
其中,该智能设备基于第二目标环境状态,更新该多个历史环境状态时,该智能设备可以分别获取该多个历史环境状态所处的第二历史日期,第二历史日期为通过该智能设备将当前所处环境调整到历史环境状态的日期,之后,从多个历史环境状态中,选择第二历史日期最早的历史环境状态,将选择的历史环境状态替换为第二目标环境状态。或者,该智能设备可以获取该多个历史环境状态中的至少一个异常环境状态,并将该至少一个异常环境状态中的任一异常环境状态替换为第二目标环境状态。当然,该智能设备还可以基于第二目标环境状态,通过其它方式更新该多个历史环境状态,本公开实施例对此不做具体限定。
需要说明的是,第二历史日期为该智能设备分别存储该多个历史环境状态的日期。
例如,第二目标环境状态为28℃,该多个历史环境状态为26℃、24℃、14℃、27℃、24℃、28℃、32℃、24℃、16℃、33℃,且26℃、24℃、14℃、27℃、24℃、28℃、32℃、24℃、16℃、33℃分别所处的第二历史日期为2014年12月5日、2014年12月6日、2014年12月8日、2014年12月9日、2014年12月10日、2014年12月11日、2014年12月12日、2014年12月15日、2014年12月16日、2014年12月17日,则第二历史日期最早的历史环境状态为2014年12月5日的26℃,该智能设备可以将26℃替换为28℃。
再例如,第二目标环境状态为28℃,该多个历史环境状态为26℃、24℃、14℃、27℃、24℃、28℃、32℃、24℃、16℃、33℃,该智能设备获取该多个历史环境状态中的至少一个异常环境状态为14℃、32℃、16℃、33℃,则该智能设备可将14℃、32℃、16℃、33℃中的任意一个替换为28℃。
(b)、该智能设备从多个历史时刻中,选择至少一个有效时刻,该历史时刻为当前时刻之前用于控制智能设备的时刻;确定该至少一个有效时刻的第二加权值;将第二加权值确定为目标时刻。
其中,该智能设备从多个历史时刻中,选择至少一个有效时刻时,该智能设备可以从该多个历史时刻中,选择处于指定时刻范围内的历史时刻,并将该选择的历史时刻确定为有效时刻。或者,该智能设备可以从该多个历史时刻中获取异常时刻,并将该多个历史时刻中除异常时刻之外的历史时刻确定为有效时刻。当然,该智能设备还可以通过其它方式从多个历史时刻中,选择至少一个有效时刻,本公开实施例对此不做具体限定。
例如,该多个历史时刻为18:26、18:24、13:14、18:27、18:24、18:28、15:32、18:24、23:16、17:33,指定时刻范围为18:00~22:00,则该智能设备可以从该多个历史时刻中,选择处于18:00~22:00的历史时刻为18:26、18:24、18:27、18:24、18:28、18:24,该18:26、18:24、18:27、18:24、18:28、18:24即为有效时刻。
再例如,该多个历史时刻为18:26、18:24、13:14、18:27、18:24、18:28、15:32、18:24、23:16、17:33,该智能设备从该多个历史时刻中获取的异常时刻为13:14、15:32、23:16、17:33,则该智能设备可以将该多个历史时刻中除13:14、15:32、23:16、17:33之外的18:26、18:24、18:27、18:24、18:28、18:24确定为有效时刻。
需要说明的是,有效时刻为该多个历史时刻中,可以用于确定目标时刻的 时刻,异常时刻为该多个历史时刻中存在异常的历史时刻,也即是,该异常时刻与该多个历史时刻中除该异常时刻之外的其它历史时刻的特征不一致。
另外,指定时刻范围可以预先设置,如指定时刻范围可以为18:00~22:00等等,本公开实施例对此不做具体限定。
其中,该智能设备从该多个历史时刻中获取异常时刻时,不仅可以通过自身包括的异常检测模块来获取该异常时刻,当然,该智能设备还可以通过安装的第三方异常检测应用程序来获取该异常时刻,本公开实施例对此不做具体限定。
其中,该智能设备确定该至少一个有效时刻的第二加权值时,该智能设备可以分别获取该至少一个有效时刻所处的第三历史日期,得到至少一个第三历史时期,第三历史日期为在有效时刻控制智能设备的日期,之后,基于该至少一个第三历史时期,通过指定函数确定至少一个第二权重,并基于该至少一个第二权重,计算至少一个有效时刻的第二加权值。
需要说明的是,该至少一个有效时刻所处的第三历史日期可以为该智能设备分别存储该至少一个有效时刻的日期。
另外,第二权重用于表示在确定目标时刻时,该第二权重对应的有效时刻所能提供的参考作用的大小。
其中,该智能设备基于该至少一个第三历史日期,通过指定函数确定至少一个第二权重的过程与步骤202的步骤(a)中确定至少一个第一权重的过程类似,本公开实施例在此不再赘述。
其中,该智能设备基于该至少一个第二权重,计算该至少一个有效时刻的第二加权值时,该智能设备可以分别将该至少一个有效时刻与对应的第二权重相乘,得到至少一个第二数值,之后,将该至少一个第二数值相加,得到第二加权值。
例如,该至少一个有效时刻为18:26、18:24、18:27、18:24、18:28、18:24,且18:26对应的第二权重为
Figure PCTCN2016085018-appb-000014
8:24对应的第二权重为
Figure PCTCN2016085018-appb-000015
18:27对应的第二权重为
Figure PCTCN2016085018-appb-000016
8:24对应的第二权重为
Figure PCTCN2016085018-appb-000017
18:28对应的第二权重为
Figure PCTCN2016085018-appb-000018
18:24对应的第二权重为
Figure PCTCN2016085018-appb-000019
则第二加权值为
Figure PCTCN2016085018-appb-000020
由于该智能设备是根据用户的操作习惯确定目标时刻,用户的操作习惯会受季节等因素的影响而逐渐变化,又由于在本公开实施例中用户的操作习惯是通过该多个历史时刻来体现,因此,可以对该多个历史时刻进行更新,也即是,当该智能设备接收到第二更新指令时,可以获取接收第二更新指令的接收时刻,并基于接收时刻,更新多个历史时刻,从而确保该多个历史时刻可以体现用户最新的操作习惯,进而确保基于该多个历史时刻确定的目标时刻的准确度。
需要说明的是,第二更新指令用于控制该智能设备,且该第二更新指令可以通过用户触发,该用户可以通过指定操作触发,本公开实施例对此不做具体限定。
其中,该智能设备基于接收时刻,更新该多个历史时刻时,该智能设备可以分别获取该多个历史时刻所处的第四历史日期,第四历史日期为在历史时刻控制该智能设备的日期,之后,该智能设备从多个历史时刻中,选择第四历史日期最早的历史时刻,将选择的历史时刻替换为接收时刻,或者,该智能设备可以获取该多个历史时刻中的至少一个异常时刻,并将该至少一个异常时刻中的任一异常时刻替换为接收时刻,当然,该智能设备还可以基于该接收时刻,通过其它方式更新该多个历史时刻,本公开实施例对此不做具体限定。
需要说明的是,第四历史日期为该智能设备分别存储该多个历史时刻的日期。
例如,接收时刻为18:39,该多个历史时刻为18:26、18:24、13:14、18:27、18:24、18:28、15:32、18:24、23:16、17:33,且18:26、18:24、13:14、18:27、18:24、18:28、15:32、18:24、23:16、17:33分别所处的第四历史日期为2014年12月5日、2014年12月6日、2014年12月8日、2014年12月9日、2014年12月10日、2014年12月11日、2014年12月12日、2014年12月15日、2014年12月16日、2014年12月17日,则第四历史日期最早的历史时刻为2014年12月5日的18:26,该智能设备可以将18:26替换为18:39。
再例如,接收时刻为18:39,该多个历史时刻为18:26、18:24、13:14、18:27、18:24、18:28、15:32、18:24、23:16、17:33,该智能设备获取该多个历史时刻中的至少一个异常时刻为13:14、15:32、23:16、17:33,则该智能设备可以将13:14、15:32、23:16、17:33中的任意一个替换为18:39。
在步骤203中,智能设备基于该当前时刻、该运行时长和该目标时刻,控 制该智能设备。
由于该智能设备预测用户会在目标时刻通过该智能设备调整当前所处环境的状态,以将该当前所处环境的状态调整为第一目标环境状态,也即是,该用户希望在目标时刻时当前所处环境的状态为第一目标环境状态,因此,为了确保当前所处环境的状态在目标时刻时达到第一目标环境状态,该智能设备可以将当前时刻与该运行时长相加,得到预测时刻,并基于预测时刻和目标时刻,控制该智能设备。
其中,该智能设备获取该预测时刻时,该智能设备可以实时获取该预测时刻,或者,可以每隔第二指定时长获取该预测时刻。而当该智能设备在与目标时刻相距较远的时间段内获取该预测时刻时,由于该预设时刻与目标时刻相距较远,不会控制该智能设备将当前所处环境的状态调整为第一目标环境状态,则此时对该预测时刻的获取是没有必要的,浪费了该智能设备的处理资源,因此,该智能设备可以基于目标时刻,确定目标时间段,该目标时间段内包括该目标时刻,在该目标时间段内实时获取预测时刻,或者,在该目标时间段内每隔第二指定时长获取预测时刻,从而可以避免该智能设备在与目标时刻较远的时间段内盲目对预测时刻进行获取,节省了该智能设备的处理资源。
其中,为了实时获取预测时刻,该智能设备可以实时获取当前时刻和当前环境状态。而为了每隔第二指定时长获取预测时刻,该智能设备可以每隔第二指定时长获取当前时刻和当前环境状态。
需要说明的是,第二指定时长可以预先设置,例如,第二指定时长可以为5分钟、6分钟等等,本公开实施例对此不做具体限定。
其中,该智能设备基于预测时刻和目标时刻,控制智能设备时,该智能设备可以实时获取预测时刻,并当预测时刻与目标时刻相同时,控制智能设备,提高控制智能设备的准确度。或者,该智能设备可以每隔第二指定时长获取预测时刻,此时,该智能设备可以确定目标时刻与预测时刻的之间的第一差值,并当第一差值小于第一指定时长时,控制智能设备,节省该智能设备的处理资源。
需要说明的是,第一指定时长可以预先设置,例如,该指定时长可以为1分钟、5分钟等等,本公开实施例对此不做具体限定。
例如,预测时刻为18:22,目标时刻为18:22,则预测时刻与目标时刻相同, 可以控制该智能设备。
再例如,第一指定时长为5分钟,预测时刻为18:19,目标时刻为18:22,目标时刻与预测时刻的第一差值为3分钟,由于3分钟小于5分钟,因此,可以控制该智能设备。
在本公开实施例中,智能设备可以获取当前时刻和当前环境状态,并确定将当前环境状态调整到第一目标环境状态所需的运行时长,之后,该智能设备将当前时刻与该运行时长相加,得到预测时刻,并基于该预测时刻和目标时刻,自动控制该智能设备,控制过程简单,减小了用户的操作负担,且本公开实施例可以在目标时刻之前提前控制该智能设备,使该智能设备进行工作,从而确保在目标时刻时可以将当前所处环境的状态调整到用户所需的第一目标环境状态,提高了用户体验。
图4是根据一示例性实施例示出的一种智能设备控制装置的框图,参照图4,该装置包括获取模块401,第一确定模块402,控制模块403。
获取模块401,用于获取当前时刻和当前环境状态;
第一确定模块402,用于确定将当前环境状态调整到第一目标环境状态所需的运行时长,第一目标环境状态为在目标时刻时当前所处环境的状态,目标时刻为用于控制智能设备的时刻;
控制模块403,用于基于当前时刻、运行时长和目标时刻,控制智能设备。
在本公开的另一实施例中,参照图5,该控制模块403包括相加单元4031,控制单元4032。
相加单元4031,用于将当前时刻与运行时长相加,得到预测时刻;
控制单元4032,用于基于预测时刻和目标时刻,控制智能设备。
在本公开的另一实施例中,参照图6,该控制单元4032包括第一控制子单元40321,第二控制子单元40322。
第一控制子单元40321,用于当预测时刻与目标时刻相同时,控制智能设备;或者,
第二控制子单元40322,用于确定目标时刻与预测时刻的之间的第一差值;当第一差值小于第一指定时长时,控制智能设备。
在本公开的另一实施例中,参照图7,该装置还包括第一选择模块404,第 二确定模块405,第三确定模块406。
第一选择模块404,用于从多个历史环境状态中,选择至少一个有效环境状态,历史环境状态为当前时刻之前通过智能设备将当前所处环境调整后的状态;
第二确定模块405,用于确定至少一个有效环境状态的第一加权值;
第三确定模块406,用于将第一加权值确定为第一目标环境状态。
在本公开的另一实施例中,参照图8,该第二确定模块405包括第一获取单元4051,第一确定单元4052,第一计算单元4053。
第一获取单元4051,用于分别获取至少一个有效环境状态所处的第一历史日期,得到至少一个第一历史日期,第一历史日期为通过智能设备将当前所处环境调整到有效环境状态的日期;
第一确定单元4052,用于基于至少一个第一历史日期,通过指定函数确定至少一个第一权重;
第一计算单元4053,用于基于至少一个第一权重,计算至少一个有效环境状态的第一加权值。
在本公开的另一实施例中,参照图9,该装置还包括第一接收模块407,第一更新模块408。
第一接收模块407,用于接收第一更新指令,第一更新指令中携带第二目标环境状态;
第一更新模块408,用于基于第二目标环境状态,更新多个历史环境状态。
在本公开的另一实施例中,参照图10,该第一更新模块408包括第二获取单元4081,第一选择单元4082,第一替换单元4083。
第二获取单元4081,用于分别获取多个历史环境状态所处的第二历史日期,第二历史日期为通过智能设备将当前所处环境调整到历史环境状态的日期;
第一选择单元4082,用于从多个历史环境状态中,选择第二历史日期最早的历史环境状态;
第一替换单元4083,用于将选择的历史环境状态替换为第二目标环境状态。
在本公开的另一实施例中,参照图11,该装置还包括第二选择模块409,第四确定模块410,第五确定模块411。
第二选择模块409,用于从多个历史时刻中,选择至少一个有效时刻,历史时刻为当前时刻之前用于控制智能设备的时刻;
第四确定模块410,用于确定至少一个有效时刻的第二加权值;
第五确定模块411,用于将第二加权值确定为目标时刻。
在本公开的另一实施例中,参照图12,该第四确定模块410包括第三获取单元4101,第二确定单元4102,第二计算单元4103。
第三获取单元4101,用于分别获取至少一个有效时刻所处的第三历史日期,得到至少一个第三历史时期,第三历史日期为在有效时刻控制智能设备的日期;
第二确定单元4102,用于基于至少一个第三历史时期,通过指定函数确定至少一个第二权重;
第二计算单元4103,用于基于至少一个第二权重,计算至少一个有效时刻的第二加权值。
在本公开的另一实施例中,参照图13,该装置还包括第二接收模块412,第二更新模块413。
第二接收模块412,用于当接收到第二更新指令时,获取接收第二更新指令的接收时刻;
第二更新模块413,用于基于接收时刻,更新多个历史时刻。
在本公开的另一实施例中,参照图14,该第二更新模块413包括第四获取单元4131,第二选择单元4132,第二替换单元4133。
第四获取单元4131,用于分别获取多个历史时刻所处的第四历史日期,第四历史日期为在历史时刻控制智能设备的日期;
第二选择单元4132,用于从多个历史时刻中,选择第四历史日期最早的历史时刻;
第二替换单元4133,用于将选择的历史时刻替换为接收时刻。
在本公开实施例中,智能设备可以获取当前时刻和当前环境状态,并确定将当前环境状态调整到第一目标环境状态所需的运行时长,之后,可以基于该当前时间、该运行时长和该目标时刻,自动控制该智能设备,控制过程简单,减小了用户的操作负担。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图15是根据一示例性实施例示出的一种用于智能设备控制的装置1500的 框图。例如,装置1500可以是智能设备。
参照图15,装置1500可以包括以下一个或多个组件:处理组件1502,存储器1504,电源组件1506,多媒体组件1508,音频组件1510,输入/输出(I/O)的接口1512,传感器组件1514,以及通信组件1516。
处理组件1502通常控制装置1500的整体操作,诸如与显示,数据通信和记录操作相关联的操作。处理组件1502可以包括一个或多个处理器1520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1502可以包括一个或多个模块,便于处理组件1502和其他组件之间的交互。例如,处理组件1502可以包括多媒体模块,以方便多媒体组件1508和处理组件1502之间的交互。
存储器1504被配置为存储各种类型的数据以支持在装置1500的操作。这些数据的示例包括用于在装置1500上操作的任何应用程序或方法的指令,环境状态、时刻等。存储器1504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1506为装置1500的各种组件提供电源。电源组件1506可以包括电源管理系统,一个或多个电源,及其他与为装置1500生成、管理和分配电源相关联的组件。
多媒体组件1508包括在所述装置1500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。
音频组件1510被配置为输出和/或输入音频信号。例如,音频组件1510包括一个麦克风(MIC),当装置1500处于操作模式,如记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1504或经由通信组件1516发送。在一些实施例中,音频组件1510还包括一个扬声器,用于输出音频信号。
I/O接口1512为处理组件1502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1514包括一个或多个传感器,用于为装置1500提供各个方面的状态评估。例如,传感器组件1514可以检测到装置1500的打开/关闭状态,组件的相对定位,例如所述组件为装置1500的显示器和小键盘,传感器组件1514还可以检测装置1500或装置1500一个组件的位置改变,用户与装置1500接触的存在或不存在,装置1500方位或加速/减速和装置1500的温度变化。传感器组件1514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1516被配置为便于装置1500和其他设备之间有线或无线方式的通信。装置1500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1504,上述指令可由装置1500的处理器1520执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置1500的处理器执行时,使得装置1500能够执行一种智能设备控制方法,所述方法包括:
获取当前时刻和当前环境状态;
确定将当前环境状态调整到第一目标环境状态所需的运行时长,第一目标环境状态为在目标时刻时当前所处环境的状态,目标时刻为用于控制智能设备的时刻;
基于当前时刻、运行时长和目标时刻,控制智能设备。
在本公开的另一实施例中,基于当前时刻、运行时长和目标时刻,控制智能设备,包括:
将当前时刻与运行时长相加,得到预测时刻;
基于预测时刻和目标时刻,控制智能设备。
在本公开的另一实施例中,基于预测时刻和目标时刻,控制智能设备,包括:
当预测时刻与目标时刻相同时,控制智能设备;或者,
确定目标时刻与预测时刻的之间的第一差值;当第一差值小于第一指定时长时,控制智能设备。
在本公开的另一实施例中,确定将当前环境状态调整到第一目标环境状态所需的运行时长之前,该方法还包括:
从多个历史环境状态中,选择至少一个有效环境状态,历史环境状态为当前时刻之前通过智能设备将当前所处环境调整后的状态;
确定至少一个有效环境状态的第一加权值;
将第一加权值确定为第一目标环境状态。
在本公开的另一实施例中,确定至少一个有效环境状态的第一加权值,包括:
分别获取至少一个有效环境状态所处的第一历史日期,得到至少一个第一历史日期,第一历史日期为通过智能设备将当前所处环境调整到有效环境状态的日期;
基于至少一个第一历史日期,通过指定函数确定至少一个第一权重;
基于至少一个第一权重,计算至少一个有效环境状态的第一加权值。
在本公开的另一实施例中,该方法还包括:
接收第一更新指令,第一更新指令中携带第二目标环境状态;
基于第二目标环境状态,更新多个历史环境状态。
在本公开的另一实施例中,基于第二目标环境状态,更新多个历史环境状态,包括:
分别获取多个历史环境状态所处的第二历史日期,第二历史日期为通过智能设备将当前所处环境调整到历史环境状态的日期;
从多个历史环境状态中,选择第二历史日期最早的历史环境状态;
将选择的历史环境状态替换为第二目标环境状态。
在本公开的另一实施例中,确定将当前环境状态调整到第一目标环境状态所需的运行时长之前,该方法还包括:
从多个历史时刻中,选择至少一个有效时刻,历史时刻为当前时刻之前用于控制智能设备的时刻;
确定至少一个有效时刻的第二加权值;
将第二加权值确定为目标时刻。
在本公开的另一实施例中,确定至少一个有效时刻的第二加权值,包括:
分别获取至少一个有效时刻所处的第三历史日期,得到至少一个第三历史时期,第三历史日期为在有效时刻控制智能设备的日期;
基于至少一个第三历史时期,通过指定函数确定至少一个第二权重;
基于至少一个第二权重,计算至少一个有效时刻的第二加权值。
在本公开的另一实施例中,该方法还包括:
当接收到第二更新指令时,获取接收第二更新指令的接收时刻;
基于接收时刻,更新多个历史时刻。
在本公开的另一实施例中,基于接收时刻,更新多个历史时刻,包括:
分别获取多个历史时刻所处的第四历史日期,第四历史日期为在历史时刻控制智能设备的日期;
从多个历史时刻中,选择第四历史日期最早的历史时刻;
将选择的历史时刻替换为接收时刻。
在本公开实施例中,智能设备可以获取当前时刻和当前环境状态,并确定将当前环境状态调整到第一目标环境状态所需的运行时长,之后,可以基于该当前时间、该运行时长和该目标时刻,自动控制该智能设备,控制过程简单,减小了用户的操作负担。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。

Claims (23)

  1. 一种智能设备控制方法,其特征在于,所述方法包括:
    获取当前时刻和当前环境状态;
    确定将所述当前环境状态调整到第一目标环境状态所需的运行时长,所述第一目标环境状态为在目标时刻时当前所处环境的状态,所述目标时刻为用于控制智能设备的时刻;
    基于所述当前时刻、所述运行时长和所述目标时刻,控制所述智能设备。
  2. 如权利要求1所述的方法,其特征在于,所述基于所述当前时刻、所述运行时长和所述目标时刻,控制所述智能设备,包括:
    将所述当前时刻与所述运行时长相加,得到预测时刻;
    基于所述预测时刻和所述目标时刻,控制所述智能设备。
  3. 如权利要求2所述的方法,其特征在于,所述基于所述预测时刻和所述目标时刻,控制所述智能设备,包括:
    当所述预测时刻与所述目标时刻相同时,控制所述智能设备;或者,
    确定所述目标时刻与所述预测时刻的之间的第一差值;当所述第一差值小于第一指定时长时,控制所述智能设备。
  4. 如权利要求1-3任一权利要求所述的方法,其特征在于,所述确定将所述当前环境状态调整到第一目标环境状态所需的运行时长之前,所述方法还包括:
    从多个历史环境状态中,选择至少一个有效环境状态,所述历史环境状态为所述当前时刻之前通过所述智能设备将当前所处环境调整后的状态;
    确定所述至少一个有效环境状态的第一加权值;
    将所述第一加权值确定为所述第一目标环境状态。
  5. 如权利要求4所述的方法,其特征在于,所述确定所述至少一个有效环境状态的第一加权值,包括:
    分别获取所述至少一个有效环境状态所处的第一历史日期,得到至少一个第一历史日期,所述第一历史日期为通过所述智能设备将当前所处环境调整到所述有效环境状态的日期;
    基于所述至少一个第一历史日期,通过指定函数确定至少一个第一权重;
    基于所述至少一个第一权重,计算所述至少一个有效环境状态的第一加权值。
  6. 如权利要求4或5所述的方法,其特征在于,所述方法还包括:
    接收第一更新指令,所述第一更新指令中携带第二目标环境状态;
    基于所述第二目标环境状态,更新所述多个历史环境状态。
  7. 如权利要求6所述的方法,其特征在于,所述基于所述第二目标环境状态,更新所述多个历史环境状态,包括:
    分别获取所述多个历史环境状态所处的第二历史日期,所述第二历史日期为通过所述智能设备将当前所处环境调整到所述历史环境状态的日期;
    从所述多个历史环境状态中,选择所述第二历史日期最早的历史环境状态;
    将选择的历史环境状态替换为所述第二目标环境状态。
  8. 如权利要求1-7任一权利要求所述的方法,其特征在于,所述确定将所述当前环境状态调整到第一目标环境状态所需的运行时长之前,所述方法还包括:
    从多个历史时刻中,选择至少一个有效时刻,所述历史时刻为所述当前时刻之前用于控制所述智能设备的时刻;
    确定所述至少一个有效时刻的第二加权值;
    将所述第二加权值确定为所述目标时刻。
  9. 如权利要求8所述的方法,其特征在于,所述确定所述至少一个有效时刻的第二加权值,包括:
    分别获取所述至少一个有效时刻所处的第三历史日期,得到至少一个第三历史时期,所述第三历史日期为在所述有效时刻控制所述智能设备的日期;
    基于所述至少一个第三历史时期,通过指定函数确定至少一个第二权重;
    基于所述至少一个第二权重,计算所述至少一个有效时刻的第二加权值。
  10. 如权利要求8或9所述的方法,其特征在于,所述方法还包括:
    当接收到第二更新指令时,获取接收所述第二更新指令的接收时刻;
    基于所述接收时刻,更新所述多个历史时刻。
  11. 如权利要求10所述的方法,其特征在于,所述基于所述接收时刻,更新所述多个历史时刻,包括:
    分别获取所述多个历史时刻所处的第四历史日期,所述第四历史日期为在所述历史时刻控制所述智能设备的日期;
    从所述多个历史时刻中,选择所述第四历史日期最早的历史时刻;
    将选择的历史时刻替换为所述接收时刻。
  12. 一种智能设备控制装置,其特征在于,所述装置包括:
    获取模块,用于获取当前时刻和当前环境状态;
    第一确定模块,用于确定将所述当前环境状态调整到第一目标环境状态所需的运行时长,所述第一目标环境状态为在目标时刻时当前所处环境的状态,所述目标时刻为用于控制智能设备的时刻;
    控制模块,用于基于所述当前时刻、所述运行时长和所述目标时刻,控制所述智能设备。
  13. 如权利要求12所述的装置,其特征在于,所述控制模块包括:
    相加单元,用于将所述当前时刻与所述运行时长相加,得到预测时刻;
    控制单元,用于基于所述预测时刻和所述目标时刻,控制所述智能设备。
  14. 如权利要求13所述的装置,其特征在于,所述控制单元包括:
    第一控制子单元,用于当所述预测时刻与所述目标时刻相同时,控制所述智能设备;或者,
    第二控制子单元,用于确定所述目标时刻与所述预测时刻的之间的第一差值;当所述第一差值小于第一指定时长时,控制所述智能设备。
  15. 如权利要求12-14任一权利要求所述的装置,其特征在于,所述装置还包括:
    第一选择模块,用于从多个历史环境状态中,选择至少一个有效环境状态,所述历史环境状态为所述当前时刻之前通过所述智能设备将当前所处环境调整后的状态;
    第二确定模块,用于确定所述至少一个有效环境状态的第一加权值;
    第三确定模块,用于将所述第一加权值确定为所述第一目标环境状态。
  16. 如权利要求15所述的装置,其特征在于,所述第二确定模块包括:
    第一获取单元,用于分别获取所述至少一个有效环境状态所处的第一历史日期,得到至少一个第一历史日期,所述第一历史日期为通过所述智能设备将当前所处环境调整到所述有效环境状态的日期;
    第一确定单元,用于基于所述至少一个第一历史日期,通过指定函数确定至少一个第一权重;
    第一计算单元,用于基于所述至少一个第一权重,计算所述至少一个有效环境状态的第一加权值。
  17. 如权利要求15或16所述的装置,其特征在于,所述装置还包括:
    第一接收模块,用于接收第一更新指令,所述第一更新指令中携带第二目标环境状态;
    第一更新模块,用于基于所述第二目标环境状态,更新所述多个历史环境状态。
  18. 如权利要求17所述的装置,其特征在于,所述第一更新模块包括:
    第二获取单元,用于分别获取所述多个历史环境状态所处的第二历史日期,所述第二历史日期为通过所述智能设备将当前所处环境调整到所述历史环境状态的日期;
    第一选择单元,用于从所述多个历史环境状态中,选择所述第二历史日期最早的历史环境状态;
    第一替换单元,用于将选择的历史环境状态替换为所述第二目标环境状态。
  19. 如权利要求12-18任一权利要求所述的装置,其特征在于,所述装置还包括:
    第二选择模块,用于从多个历史时刻中,选择至少一个有效时刻,所述历史时刻为所述当前时刻之前用于控制所述智能设备的时刻;
    第四确定模块,用于确定所述至少一个有效时刻的第二加权值;
    第五确定模块,用于将所述第二加权值确定为所述目标时刻。
  20. 如权利要求19所述的装置,其特征在于,所述第四确定模块包括:
    第三获取单元,用于分别获取所述至少一个有效时刻所处的第三历史日期,得到至少一个第三历史时期,所述第三历史日期为在所述有效时刻控制所述智能设备的日期;
    第二确定单元,用于基于所述至少一个第三历史时期,通过指定函数确定至少一个第二权重;
    第二计算单元,用于基于所述至少一个第二权重,计算所述至少一个有效时刻的第二加权值。
  21. 如权利要求19或20所述的装置,其特征在于,所述装置还包括:
    第二接收模块,用于当接收到第二更新指令时,获取接收所述第二更新指令的接收时刻;
    第二更新模块,用于基于所述接收时刻,更新所述多个历史时刻。
  22. 如权利要求21所述的装置,其特征在于,所述第二更新模块包括:
    第四获取单元,用于分别获取所述多个历史时刻所处的第四历史日期,所述第四历史日期为在所述历史时刻控制所述智能设备的日期;
    第二选择单元,用于从所述多个历史时刻中,选择所述第四历史日期最早的历史时刻;
    第二替换单元,用于将选择的历史时刻替换为所述接收时刻。
  23. 一种智能设备控制装置,其特征在于,所述装置包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取当前时刻和当前环境状态;
    确定将所述当前环境状态调整到第一目标环境状态所需的运行时长,所述第一目标环境状态为在目标时刻时当前所处环境的状态,所述目标时刻为用于控制智能设备的时刻;
    基于所述当前时刻、所述运行时长和所述目标时刻,控制所述智能设备。
PCT/CN2016/085018 2015-12-11 2016-06-06 智能设备控制方法及装置 WO2017096773A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2016546846A JP2018506752A (ja) 2015-12-11 2016-06-06 スマートデバイスの制御方法及び装置
RU2016133331A RU2651943C2 (ru) 2015-12-11 2016-06-06 Способ и устройство для управления интеллектуальным устройством
KR1020167020691A KR101776250B1 (ko) 2015-12-11 2016-06-06 스마트 장치의 제어 방법 및 장치

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510919429.5A CN105467848B (zh) 2015-12-11 2015-12-11 智能设备控制方法及装置
CN201510919429.5 2015-12-11

Publications (1)

Publication Number Publication Date
WO2017096773A1 true WO2017096773A1 (zh) 2017-06-15

Family

ID=55605663

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085018 WO2017096773A1 (zh) 2015-12-11 2016-06-06 智能设备控制方法及装置

Country Status (7)

Country Link
US (1) US20170168467A1 (zh)
EP (1) EP3179329B1 (zh)
JP (1) JP2018506752A (zh)
KR (1) KR101776250B1 (zh)
CN (1) CN105467848B (zh)
RU (1) RU2651943C2 (zh)
WO (1) WO2017096773A1 (zh)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105467848B (zh) * 2015-12-11 2019-01-04 小米科技有限责任公司 智能设备控制方法及装置
CN107065975A (zh) * 2017-03-21 2017-08-18 北京汽车集团有限公司 室内空调远程控制方法、装置及系统
CN110070250B (zh) * 2018-09-04 2024-02-06 中国平安人寿保险股份有限公司 指数型增长的业务指标监控方法及装置、电子设备、介质
KR102208037B1 (ko) * 2018-12-21 2021-01-26 한국기술교육대학교 산학협력단 실내 대기 환경 개선을 위한 최적의 활동의 자동 추천 방법
CN112181129B (zh) * 2019-07-04 2024-04-16 阿里巴巴集团控股有限公司 一种设备控制方法、装置、设备和机器可读介质
CN110290410B (zh) * 2019-07-31 2021-10-29 合肥华米微电子有限公司 影像位置调节方法、装置、系统及调节信息生成设备
CN112015100B (zh) * 2020-08-14 2024-03-12 深圳市欧瑞博科技股份有限公司 智能开关权限的调节方法、装置、智能开关以及存储介质
CN112015106B (zh) * 2020-09-22 2022-08-30 中用科技有限公司 一种智慧家居控制系统和控制方法
CN112327648B (zh) * 2020-11-09 2024-04-09 广东睿住智能科技有限公司 家用设备的控制方法、装置和计算机可读存储介质
CN114063675B (zh) * 2021-11-12 2022-07-19 维沃移动通信有限公司 温度控制方法、装置
CN114460990B (zh) * 2022-01-24 2023-05-23 苏州纽克斯电源技术股份有限公司 一种植物生长环境的控制方法、装置、设备及存储介质
CN114706314B (zh) * 2022-03-28 2023-05-12 慕思健康睡眠股份有限公司 智能家居的噪音控制方法及装置
CN114815642A (zh) * 2022-03-30 2022-07-29 青岛海尔科技有限公司 智能设备的控制方法和装置、存储介质及电子装置
CN114777289B (zh) * 2022-04-07 2024-04-16 新奥数能科技有限公司 空调节能效果的评价方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080008913A (ko) * 2006-07-21 2008-01-24 (주)나오디지탈 직접부하제어를 이용한 에어컨의 에너지 절감형 제어방법
US20080083834A1 (en) * 2006-10-04 2008-04-10 Steve Krebs System and method for selecting an operating level of a heating, ventilation, and air conditioning system
CN104913441A (zh) * 2015-05-29 2015-09-16 广东美的制冷设备有限公司 空调器的温度调节时间预测方法、控制器及空调器
CN104977867A (zh) * 2015-06-30 2015-10-14 青岛海尔智能家电科技有限公司 一种智能家电的控制方法、装置及移动终端
CN105066350A (zh) * 2015-08-04 2015-11-18 广州三星通信技术研究有限公司 温度控制装置、温度调节系统和温度控制方法
CN105467848A (zh) * 2015-12-11 2016-04-06 小米科技有限责任公司 智能设备控制方法及装置

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5924486A (en) * 1997-10-29 1999-07-20 Tecom, Inc. Environmental condition control and energy management system and method
KR100514002B1 (ko) * 2003-03-05 2005-09-13 주식회사 인터텍 예약 기능을 구비한 난방 조절 장치 및 방법
RU2260201C2 (ru) * 2003-09-23 2005-09-10 Гинзбург Виталий Вениаминович Способ оптимального управления тепловым режимом в помещениях зданий и сооружений
KR101052783B1 (ko) * 2007-04-06 2011-07-29 삼성전자주식회사 세탁기의 제어방법
JP4809805B2 (ja) * 2007-04-24 2011-11-09 トヨタホーム株式会社 機器制御システム
KR20100005436A (ko) * 2008-07-07 2010-01-15 엘지전자 주식회사 드럼세탁기 및 그 제어방법
JP2011038705A (ja) * 2009-08-11 2011-02-24 Mitsubishi Electric Corp 空調装置、空調システムおよび空調制御方法
US8850348B2 (en) * 2010-12-31 2014-09-30 Google Inc. Dynamic device-associated feedback indicative of responsible device usage
US8560127B2 (en) * 2011-01-13 2013-10-15 Honeywell International Inc. HVAC control with comfort/economy management
CN103907071B (zh) * 2011-10-21 2016-01-20 耐斯特实验公司 一种用于控制hvac系统的方法
EP2769275B1 (en) * 2011-10-21 2021-05-12 Google LLC User-friendly, network connected learning programmable device and related method
JP2013224812A (ja) * 2012-03-19 2013-10-31 Toshiba Lighting & Technology Corp 空気調和機及びそのシステム
JP5996932B2 (ja) * 2012-05-16 2016-09-21 シャープ株式会社 空気調和機
CN102704237A (zh) * 2012-06-13 2012-10-03 无锡小天鹅股份有限公司 洗衣机智能洗涤控制方法
JP6098004B2 (ja) * 2012-07-09 2017-03-22 パナソニックIpマネジメント株式会社 空調管理装置、空調管理システム
US8554376B1 (en) * 2012-09-30 2013-10-08 Nest Labs, Inc Intelligent controller for an environmental control system
US9311416B1 (en) * 2012-12-31 2016-04-12 Google Inc. Selecting content using a location feature index
JP6075180B2 (ja) * 2013-04-18 2017-02-08 オムロン株式会社 作業管理システムおよび作業管理方法
JP6125039B2 (ja) * 2013-11-26 2017-05-10 三菱電機株式会社 空調制御装置
KR102157072B1 (ko) * 2013-12-03 2020-09-17 삼성전자 주식회사 공조장치 또는 공조시스템의 온도 제어장치 및 방법
US9817375B2 (en) * 2014-02-26 2017-11-14 Board Of Trustees Of The University Of Alabama Systems and methods for modeling energy consumption and creating demand response strategies using learning-based approaches
CN103900202A (zh) * 2014-03-25 2014-07-02 四川长虹电器股份有限公司 一种启动空调的方法和空调

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080008913A (ko) * 2006-07-21 2008-01-24 (주)나오디지탈 직접부하제어를 이용한 에어컨의 에너지 절감형 제어방법
US20080083834A1 (en) * 2006-10-04 2008-04-10 Steve Krebs System and method for selecting an operating level of a heating, ventilation, and air conditioning system
CN104913441A (zh) * 2015-05-29 2015-09-16 广东美的制冷设备有限公司 空调器的温度调节时间预测方法、控制器及空调器
CN104977867A (zh) * 2015-06-30 2015-10-14 青岛海尔智能家电科技有限公司 一种智能家电的控制方法、装置及移动终端
CN105066350A (zh) * 2015-08-04 2015-11-18 广州三星通信技术研究有限公司 温度控制装置、温度调节系统和温度控制方法
CN105467848A (zh) * 2015-12-11 2016-04-06 小米科技有限责任公司 智能设备控制方法及装置

Also Published As

Publication number Publication date
EP3179329A1 (en) 2017-06-14
CN105467848A (zh) 2016-04-06
RU2016133331A (ru) 2018-04-20
JP2018506752A (ja) 2018-03-08
KR101776250B1 (ko) 2017-09-07
KR20170082980A (ko) 2017-07-17
RU2651943C2 (ru) 2018-04-24
US20170168467A1 (en) 2017-06-15
EP3179329B1 (en) 2018-06-20
CN105467848B (zh) 2019-01-04

Similar Documents

Publication Publication Date Title
WO2017096773A1 (zh) 智能设备控制方法及装置
US10908772B2 (en) Method and apparatus for adjusting running state of smart housing device
JP6134074B2 (ja) バックグラウンドアプリケーションを制御する方法および装置ならびに端末装置
JP6302599B2 (ja) スマートホームシステムにおけるスマート機器に対するグルーピング方法、グルーピング装置、プログラム及び記録媒体
WO2017045298A1 (zh) 设备控制方法及装置
US10116781B2 (en) Method, device and computer-readable medium for controlling a device
WO2019109564A1 (zh) 屏幕显示控制的方法和装置
US20170060599A1 (en) Method and apparatus for awakening electronic device
WO2017024740A1 (zh) 设备控制方法及装置
CN106250430B (zh) 智能设备列表的排序方法及装置
WO2017028425A1 (zh) 节能模式启动方法和装置
KR102130615B1 (ko) 알람 설정 방법 및 장치
US20150288764A1 (en) Method and apparatus for controlling smart terminal
EP3171252A1 (en) Terminal device and method and device for optimizing air mouse remote controller
US20170316805A1 (en) Method and apparatus for adjusting playing progress of media file
US10698442B2 (en) Method and apparatus for always-on display applied in a display driver integrated circuit
US10570910B2 (en) Method and device for adjusting operation data
CN107682684A (zh) 白平衡调节方法和装置
WO2017101291A1 (zh) 流量监控方法及装置
CN106407804B (zh) 设备状态的检测方法及装置
WO2023240490A1 (zh) 一种调节屏幕亮度的方法、装置及存储介质
WO2016065819A1 (zh) 智能指标计算方法及装置
WO2023245312A1 (zh) 一种分屏显示方法、装置、终端及存储介质
CN115935126A (zh) 基于热敏电阻的工艺参数确定方法、装置、设备及介质

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016546846

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20167020691

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016133331

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16871978

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16871978

Country of ref document: EP

Kind code of ref document: A1