CN105223826B - Home equipment control method, apparatus and system - Google Patents

Home equipment control method, apparatus and system Download PDF

Info

Publication number
CN105223826B
CN105223826B CN201510634682.6A CN201510634682A CN105223826B CN 105223826 B CN105223826 B CN 105223826B CN 201510634682 A CN201510634682 A CN 201510634682A CN 105223826 B CN105223826 B CN 105223826B
Authority
CN
China
Prior art keywords
home equipment
target
function
server
parameter information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510634682.6A
Other languages
Chinese (zh)
Other versions
CN105223826A (en
Inventor
刘东旭
余久平
杨诺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510634682.6A priority Critical patent/CN105223826B/en
Publication of CN105223826A publication Critical patent/CN105223826A/en
Application granted granted Critical
Publication of CN105223826B publication Critical patent/CN105223826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The disclosure is directed to a kind of home equipment control methods, apparatus and system, belong to home equipment control technology application field.This method includes:The ambient parameter information that terminal is sent is received, ambient parameter information includes:The target value for the environmental parameter that terminal carries in the received regulating command of measured value and terminal for the environmental parameter that current time measurement obtains, environmental parameter are used to characterize the environmental characteristic in space locating for home equipment;Objective function is determined according to measured value and target value;It is determined to realize at least two target home equipments of objective function;The operation of at least two target home equipments is controlled according to ambient parameter information.The disclosure solves the problems, such as that the control process of home equipment is complicated, has reached the beneficial effect of simplified home equipment control process.The disclosure is for controlling home equipment.

Description

Home equipment control method, apparatus and system
Technical field
This disclosure relates to home equipment control technology field, in particular to a kind of home equipment control method, device and it is System.
Background technique
With the continuous development of electronic technology, the home equipment based on electronic technology becomes increasingly popular in people's lives. User can be by network-control and management home equipment, to improve intelligent living standard.
The operation module (such as remote controler, switch button) that user usually passes through touch-control home equipment sets to operate household It is standby, in the related technology, when needing the relevant home equipment of at least two functions to cooperate to achieve the desired results, Yong Hutong Often need to operate the operation module of each home equipment respectively, for example, when user needs to cooperate in fact by air-conditioning and fan When existing cooling effect, user needs to control the unlatching of air-conditioning and the adjusting of temperature by the remote controler of air-conditioning, and passes through wind The switch button of fan controls the adjusting of fan gear to control unlatching, the gear adjusting button of fan.
Summary of the invention
In order to realize that the beneficial effect of simplified home equipment control process, the disclosure provide a kind of home equipment controlling party Method, apparatus and system.The technical solution is as follows:
According to the disclosure in a first aspect, provide a kind of home equipment control method, the method includes:
The ambient parameter information that terminal is sent is received, the ambient parameter information includes:The terminal is surveyed at current time The target value of the environmental parameter carried in the measured value of the environmental parameter measured and the received regulating command of the terminal, The environmental parameter is used to characterize the environmental characteristic in space locating for home equipment;
Objective function is determined according to the measured value and the target value;
It is determined to realize at least two target home equipments of the objective function;
At least two targets home equipment operation is controlled according to the ambient parameter information.
Optionally, the method also includes:
Obtain the type identification of each home equipment in registered home equipment;
The corresponding relationship of preset type identification and Function Identification is inquired according to the type identification of each home equipment, Obtain the corresponding first function collection of each home equipment, at least one Function Identification of the first function centralized recording;
The union for obtaining the first function collection of the registered home equipment obtains the second function collection, second function The device identification for having recorded the registered home equipment and the corresponding relationship of Function Identification can be collected.
Optionally, at least two target home equipments for being determined to realize the objective function, including:
Determine the Function Identification of the objective function;
The second function collection is inquired, corresponding at least two device identification of Function Identification of the objective function is obtained;
Using the corresponding home equipment of each device identification at least two device identification as target home equipment, Obtain at least two targets home equipment.
Optionally, described that objective function is determined according to the measured value and the target value, including:
Compare the size of the measured value and the target value;
The objective function is determined according to comparison result.
Optionally, described that at least two targets home equipment operation is controlled according to the ambient parameter information, including:
When the comparison result is that the measured value is equal to the target value, institute is kept according to the ambient parameter information State the operating status of at least two target home equipments.
Optionally, described that at least two targets home equipment operation is controlled according to the ambient parameter information, including:
When the comparison result is that the measured value is equal to the target value, detects at least two targets household and set Standby operating status, the operating status include any one in open state and closed state;
When in the open state there are at least one target home equipment in at least two targets home equipment, really It is able to maintain the object run power of the target value when fixed each target home equipment isolated operation, obtains at least two Object run power;
Determine the smallest object run power in at least two object runs power;
The corresponding target home equipment of the smallest object run power is controlled according to the smallest object run function Rate operation;
It controls and removes the corresponding target household of the smallest object run power in at least two targets home equipment Target home equipment other than equipment is closed.
Optionally, described that at least two targets home equipment operation is controlled according to the ambient parameter information, including:
When the comparison result is that the measured value is not equal to the target value, at least two targets household is determined Equipment adjusts the environmental parameter at least two object run function of the target value by the measured value when running simultaneously Rate;
Determine the smallest object run power in at least two object runs power;
At least two targets home equipment is controlled according to the smallest object run Power operation.
Optionally, the environmental parameter includes any one in temperature, humidity and intensity of illumination.
According to the second aspect of the disclosure, a kind of home equipment control method is provided, the method includes:
Regulating command is received, the target value of environmental parameter is carried in the regulating command, the environmental parameter is for characterizing The environmental characteristic in space locating for home equipment;
According to the regulating command, build environment parameter information, the ambient parameter information includes:Terminal is at current time The measured value for the environmental parameter that measurement obtains and the target value;
The ambient parameter information is sent to server, the server is used for according to the measured value and the target value It determines objective function, is determined to realize at least two target home equipments of the objective function, and joined according to the environment Number information controls at least two targets home equipment operation.
Optionally, the reception regulating command carries the target value of environmental parameter in the regulating command, including:
The second function collection that the server is sent is received, the second function collection has recorded registered home equipment The corresponding relationship of device identification and Function Identification;
Show the second function collection;
It receives the Function Identification concentrated to second function and is operated triggered regulating command, the regulating command The middle target value for carrying the environmental parameter.
Optionally, the method includes:
The measured value of environmental parameter described in current time is obtained by the way that environmental parameter sensor on the terminal is arranged.
Optionally, the environmental parameter includes any one in temperature, humidity and intensity of illumination.
According to the third aspect of the disclosure, a kind of home equipment control device is provided, described device includes:
Receiving module is configured as receiving the ambient parameter information that terminal is sent, and the ambient parameter information includes:It is described Described in terminal carries in the measured value for the environmental parameter that current time measurement obtains and the received regulating command of the terminal The target value of environmental parameter, the environmental parameter are used to characterize the environmental characteristic in space locating for home equipment;
First determining module is configured as determining objective function according to the measured value and the target value;
Second determining module is configured to determine that at least two target home equipments that can be realized the objective function;
Control module is configured as controlling at least two targets home equipment fortune according to the ambient parameter information Row.
Optionally, described device further includes:
First obtains module, is configured as obtaining the type identification of each home equipment in registered home equipment;
Enquiry module is configured as inquiring preset type identification and function according to the type identification of each home equipment The corresponding relationship that can be identified, obtains the corresponding first function collection of each home equipment, the first function centralized recording At least one Function Identification;
Second obtains module, is configured as obtaining the union of the first function collection of the registered home equipment, obtain Second function collection, the device identification that the second function collection has recorded the registered home equipment are corresponding with Function Identification Relationship.
Optionally, second determining module, is configured as:
Determine the Function Identification of the objective function;
The second function collection is inquired, corresponding at least two device identification of Function Identification of the objective function is obtained;
Using the corresponding home equipment of each device identification at least two device identification as target home equipment, Obtain at least two targets home equipment.
Optionally, first determining module, is configured as:
Compare the size of the measured value and the target value;
The objective function is determined according to comparison result.
Optionally, the control module, is configured as:
When the comparison result is that the measured value is equal to the target value, institute is kept according to the ambient parameter information State the operating status of at least two target home equipments.
Optionally, the control module, is configured as:
When the comparison result is that the measured value is equal to the target value, detects at least two targets household and set Standby operating status, the operating status include any one in open state and closed state;
When in the open state there are at least one target home equipment in at least two targets home equipment, really It is able to maintain the object run power of the target value when fixed each target home equipment isolated operation, obtains at least two Object run power;
Determine the smallest object run power in at least two object runs power;
The corresponding target home equipment of the smallest object run power is controlled according to the smallest object run function Rate operation;
It controls and removes the corresponding target household of the smallest object run power in at least two targets home equipment Target home equipment other than equipment is closed.
Optionally, the control module, is configured as:
When the comparison result is that the measured value is not equal to the target value, at least two targets household is determined Equipment adjusts the environmental parameter at least two object run function of the target value by the measured value when running simultaneously Rate;
Determine the smallest object run power in at least two object runs power;
At least two targets home equipment is controlled according to the smallest object run Power operation.
Optionally, the environmental parameter includes any one in temperature, humidity and intensity of illumination.
According to the fourth aspect of the disclosure, a kind of home equipment control device is provided, described device includes:
Receiving module is configured as receiving regulating command, the target value of environmental parameter is carried in the regulating command, described Environmental parameter is used to characterize the environmental characteristic in space locating for home equipment;
Generation module is configured as according to the regulating command, build environment parameter information, the ambient parameter information packet It includes:The measured value for the environmental parameter that terminal is obtained in current time measurement and the target value;
Sending module is configured as sending the ambient parameter information to server, and the server is used for according to Measured value and the target value determine objective function, are determined to realize that at least two target households of the objective function are set It is standby, and at least two targets home equipment is controlled according to the ambient parameter information and is run.
Optionally, the receiving module, is configured as:
The second function collection that the server is sent is received, the second function collection has recorded registered home equipment The corresponding relationship of device identification and Function Identification;
Show the second function collection;
It receives the Function Identification concentrated to second function and is operated triggered regulating command, the regulating command The middle target value for carrying the environmental parameter.
Optionally, described device includes:
Module is obtained, is configured as by being arranged described in environmental parameter sensor acquisition current time on the terminal The measured value of environmental parameter.
Optionally, the environmental parameter includes any one in temperature, humidity and intensity of illumination.
According to the 5th of the disclosure the aspect, a kind of home equipment control device is provided, including:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
The ambient parameter information that terminal is sent is received, the ambient parameter information includes:The terminal is surveyed at current time The target value of the environmental parameter carried in the measured value of the environmental parameter measured and the received regulating command of the terminal, The environmental parameter is used to characterize the environmental characteristic in space locating for home equipment;
Objective function is determined according to the measured value and the target value;
It is determined to realize at least two target home equipments of the objective function;
At least two targets home equipment operation is controlled according to the ambient parameter information.
According to the 6th of the disclosure the aspect, a kind of home equipment control device is provided, including:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
Regulating command is received, the target value of environmental parameter is carried in the regulating command, the environmental parameter is for characterizing The environmental characteristic in space locating for home equipment;
According to the regulating command, build environment parameter information, the ambient parameter information includes:Terminal is at current time The measured value for the environmental parameter that measurement obtains and the target value;
The ambient parameter information is sent to server, the server is used for according to the measured value and the target value It determines objective function, is determined to realize at least two target home equipments of the objective function, and joined according to the environment Number information controls at least two targets home equipment operation.
According to the 7th of the disclosure the aspect, a kind of home equipment control system is provided, the system comprises:Server and end End,
The server includes home equipment control device described in the third aspect or any optional way of the third aspect;
The terminal includes home equipment control device described in fourth aspect or any optional way of fourth aspect.
According to the eighth aspect of the disclosure, a kind of home equipment control system is provided, the system comprises:Server and end End,
The server includes home equipment control device described in the 5th aspect;
The terminal includes home equipment control device described in the 6th aspect.
The technical solution of the offer of the disclosure can include the following benefits:
The home equipment control method of disclosure offer, apparatus and system, the environment that server is sent by receiving terminal Parameter information, ambient parameter information include:The measured value and terminal for the environmental parameter that terminal is obtained in current time measurement receive Regulating command in the target value of environmental parameter that carries, the environment that environmental parameter is used to characterize space locating for home equipment is special Sign;Objective function is determined according to measured value and target value;It is determined to realize at least two target home equipments of objective function; The operation of at least two target home equipments is controlled according to ambient parameter information.Due to server according to ambient parameter information control to Therefore few two target home equipments operation solves the problems, such as that the control process of home equipment in the related technology is complicated, reaches The beneficial effect of simplified home equipment control process.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
In order to illustrate more clearly of embodiment of the disclosure, attached drawing needed in embodiment description will be made below Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present disclosure, common for this field For technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of structure of implementation environment involved in the home equipment control method of each embodiment offer of the disclosure Schematic diagram;
Fig. 2 is a kind of method flow diagram of home equipment control method shown according to an exemplary embodiment;
Fig. 3 is a kind of method flow diagram of the home equipment control method shown according to another exemplary embodiment;
Fig. 4-1 is a kind of method flow diagram of home equipment control method shown according to another exemplary embodiment;
Fig. 4-2 is the method flow diagram that a kind of terminal that Fig. 4-1 illustrated embodiment provides receives regulating command;
Fig. 4-3 is the surface chart for the second function collection that the terminal that Fig. 4-1 illustrated embodiment provides is shown;
Fig. 4-4 is the adjustment interface figure that the terminal that Fig. 4-1 illustrated embodiment provides is shown;
Fig. 4-5 is that a kind of server that Fig. 4-1 illustrated embodiment provides determines objective function according to measured value and target value Method flow diagram;
Fig. 4-6 is that a kind of server that Fig. 4-1 illustrated embodiment provides is determined to realize at least two of objective function The method flow diagram of target home equipment;
Fig. 4-7 is that a kind of server that Fig. 4-1 illustrated embodiment provides controls at least two mesh according to ambient parameter information Mark the schematic diagram of home equipment operation;
Fig. 4-8 is that a kind of server that Fig. 4-1 illustrated embodiment provides controls at least two mesh according to ambient parameter information Mark the method flow diagram of home equipment operation;
Fig. 4-9 is that another server that Fig. 4-1 illustrated embodiment provides controls at least two according to ambient parameter information The method flow diagram of target home equipment operation;
Fig. 5 is a kind of block diagram of home equipment control device shown according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of the home equipment control device shown according to another exemplary embodiment;
Fig. 7 is a kind of block diagram of home equipment control device shown according to another exemplary embodiment;
Fig. 8 is a kind of block diagram of the home equipment control device shown according to a further exemplary embodiment;
Fig. 9 is a kind of block diagram of home equipment control device shown according to an exemplary embodiment;
Figure 10 is a kind of block diagram of the home equipment control device shown according to another exemplary embodiment;
Figure 11 is a kind of block diagram of home equipment control system shown according to an exemplary embodiment.
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Specific embodiment
In order to keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to the disclosure make into It is described in detail to one step, it is clear that described embodiment is only disclosure some embodiments, rather than whole implementation Example.It is obtained by those of ordinary skill in the art without making creative efforts based on the embodiment in the disclosure All other embodiment belongs to the range of disclosure protection.
Fig. 1 is a kind of structure of implementation environment involved in the home equipment control method of each embodiment offer of the disclosure Schematic diagram.Include terminal 120, server 140 and at least two home equipments in the implementation environment referring to Fig. 1, wherein Fig. 1 with At least two home equipments include home equipment 160 and home equipment 180, and are air-conditioning, home equipment with home equipment 160 180 is are illustrated for fan.
Wherein, terminal 120 and server 140, server 140 and home equipment 160 and server 140 and home equipment Cable network or wireless network connection can be passed through between 180 respectively, wherein the wireless network connection may include but unlimited In:Wireless Fidelity (English:Wireless Fidelity;Referred to as:WIFI) connection, bluetooth connection, infrared connection, purple honeybee (English Text:Zigbee it) connects, the embodiment of the present disclosure does not limit this.
Terminal 120 can be with application program (English:Application;Referred to as:APP) installation function and environment The electronic equipment of parameter acquisition function, wherein environmental parameter is used to characterize the environmental characteristic in space locating for home equipment, the environment Parameter includes any one in temperature, humidity and intensity of illumination.Terminal 120 can be smart phone, tablet computer, intelligence electricity Depending on, dynamic image expert's compression standard audio level 4 (English:Moving Picture Experts Group Audio Layer IV;Referred to as:MP4) player, pocket computer on knee, car-mounted terminal and desktop computer etc., the disclosure are implemented Example does not limit this.
Server 140 can be a server, or the server cluster consisted of several servers or one A cloud computing service center, terminal 120 can control at least two home equipments by server 140.Wherein, this at least two Home equipment can be the relevant home equipment of function, for example, at least two home equipment can be air-conditioning and fan, phase The function of pass is cooling function.
In the embodiments of the present disclosure, each household setting before the use, can all be registered on the server 140, and The information such as type identification, device identification, Function Identification, the operation power of oneself are uploaded to server 140.Match on server 140 It is equipped with the corresponding relationship of preset type identification and Function Identification, it is every in the available registered home equipment of server 140 The type identification of a home equipment;Preset type identification and Function Identification are inquired according to the type identification of each home equipment Corresponding relationship, obtain the corresponding first function collection of each home equipment, at least one Function Identification of the first function centralized recording; The union for obtaining the first function collection of registered home equipment, obtains the second function collection, and the second function collection has recorded registered Home equipment device identification and Function Identification corresponding relationship.Wherein, multiple second function collection be can store on server, Each second function collection records the Function Identification of function possessed by the home equipment under a user account, therefore, server It can store the corresponding relationship of user account and the second function collection.
User can be by the APP login user account that is mounted in terminal 120, can after 120 login user account of terminal To obtain the corresponding second function collection of the user account from server and be shown to the Function Identification of the second function concentration, use The Function Identification that family can concentrate the second function carries out operation triggering regulating command, can carry environmental parameter in regulating command Target value;It can be set environmental parameter sensor in terminal 120, terminal 120 can be by the environment that is arranged in terminal 120 The measured value of parameter sensors acquisition current time environmental parameter;Terminal 120 can be according to the measured value and target of environmental parameter It is worth build environment parameter information, and sends the ambient parameter information to server 140.
Server 140 can receive the ambient parameter information of the transmission of terminal 120, according to the measurement in the ambient parameter information Value and target value determine objective function, are then determined to realize at least two target home equipments of objective function;According to ring Border parameter information controls the operation of at least two target home equipments.
Optionally, server 140 can compare the size of measured value and target value;Target function is determined according to comparison result Energy.Server 140 can determine the Function Identification of objective function, inquire user according to the user account logged in terminal 120 Account and the corresponding relationship of the second function collection obtain the corresponding second function collection of the user account logged in terminal 120, in turn The second function collection is inquired, corresponding at least two device identification of Function Identification of objective function is obtained, by least two equipment The corresponding home equipment of each device identification in mark obtains at least two target home equipments as target home equipment.
Further, when comparison result is that measured value is equal to target value, server 140 can be according to ambient parameter information Keep the operating status of at least two target home equipments.Alternatively, when comparison result is that measured value is equal to target value, server 140 can detecte the operating status of at least two target home equipments, and operating status includes in open state and closed state Any one, when in the open state there are at least one target home equipment at least two target home equipments, service Device 140 can determine the object run power that target value is able to maintain when each target home equipment isolated operation, obtain at least Two object run power;And then determine the smallest object run power at least two object run power, it controls the smallest The corresponding target home equipment of object run power controls at least two target men according to the smallest object run Power operation The target home equipment in equipment in addition to the corresponding target home equipment of the smallest object run power is occupied to close.Alternatively, working as When comparison result is that measured value is not equal to target value, server 140 can determine at least two target home equipments while run When adjust environmental parameter at least two object run power of target value by measured value, and then determine at least two targets fortune The smallest object run power in row power, at least two target home equipments of control are transported according to the smallest object run power Row.
Fig. 2 is a kind of method flow diagram of home equipment control method shown according to an exemplary embodiment, this implementation It is illustrated in the server 140 that example is applied in implementation environment shown in Fig. 1 with the home equipment control method, referring to Fig. 2, which may include the following steps:
In step 201, the ambient parameter information that terminal is sent is received, ambient parameter information includes:Terminal is when current Carve the target value of the environmental parameter carried in the measured value and the received regulating command of terminal for the environmental parameter that measurement obtains, environment Parameter is used to characterize the environmental characteristic in space locating for home equipment.
In step 202, objective function is determined according to measured value and target value.
In step 203, it is determined to realize at least two target home equipments of objective function.
In step 204, the operation of at least two target home equipments is controlled according to ambient parameter information.
In conclusion the home equipment control method that the embodiment of the present disclosure provides, what server was sent by receiving terminal Ambient parameter information, ambient parameter information include:The measured value and terminal for the environmental parameter that terminal is obtained in current time measurement The target value of the environmental parameter carried in received regulating command, environmental parameter are used to characterize the environment in space locating for home equipment Feature;Objective function is determined according to measured value and target value;It is determined to realize that at least two target households of objective function are set It is standby;The operation of at least two target home equipments is controlled according to ambient parameter information.Since server is according to ambient parameter information control The operation of at least two target home equipments is made, therefore, solves the problems, such as that the control process of home equipment in the related technology is complicated, The beneficial effect of simplified home equipment control process is reached.
Optionally, this method further includes:
Obtain the type identification of each home equipment in registered home equipment;
The corresponding relationship that preset type identification and Function Identification are inquired according to the type identification of each home equipment, obtains Each home equipment corresponding first function collection, at least one Function Identification of the first function centralized recording;
The union for obtaining the first function collection of registered home equipment obtains the second function collection, the second function collection record The device identification of registered home equipment and the corresponding relationship of Function Identification.
Optionally, step 203 may include:
Determine the Function Identification of objective function;
The second function collection is inquired, corresponding at least two device identification of Function Identification of objective function is obtained;
Using the corresponding home equipment of each device identification at least two device identifications as target home equipment, obtain At least two target home equipments.
Optionally, step 202 may include:
Compare the size of measured value and target value;
Objective function is determined according to comparison result.
Optionally, step 204 may include:
When comparison result is that measured value is equal to target value, at least two target households are kept to set according to ambient parameter information Standby operating status.
Optionally, step 204 may include:
When comparison result is that measured value is equal to target value, the operating status of at least two target home equipments, fortune are detected Row state includes any one in open state and closed state;
When in the open state there are at least one target home equipment at least two target home equipments, determine every It is able to maintain the object run power of target value when a target home equipment isolated operation, obtains at least two object run function Rate;
Determine the smallest object run power at least two object run power;
The corresponding target home equipment of the smallest object run power is controlled according to the smallest object run Power operation;
It controls at least two target home equipments in addition to the corresponding target home equipment of the smallest object run power Target home equipment close.
Optionally, step 204 may include:
When comparison result is that measured value is not equal to target value, determines at least two target home equipments while making when running Environmental parameter is adjusted by measured value at least two object run power of target value;
Determine the smallest object run power at least two object run power;
At least two target home equipments are controlled according to the smallest object run Power operation.
Optionally, environmental parameter includes any one in temperature, humidity and intensity of illumination.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination It repeats one by one.
In conclusion the home equipment control method that the embodiment of the present disclosure provides, what server was sent by receiving terminal Ambient parameter information, ambient parameter information include:The measured value and terminal for the environmental parameter that terminal is obtained in current time measurement The target value of the environmental parameter carried in received regulating command, environmental parameter are used to characterize the environment in space locating for home equipment Feature;Objective function is determined according to measured value and target value;It is determined to realize that at least two target households of objective function are set It is standby;The operation of at least two target home equipments is controlled according to ambient parameter information.Since server is according to ambient parameter information control The operation of at least two target home equipments is made, therefore, solves the problems, such as that the control process of home equipment in the related technology is complicated, The beneficial effect of simplified home equipment control process is reached.
Fig. 3 is a kind of method flow diagram of the home equipment control method shown according to another exemplary embodiment, this reality It applies in the terminal 120 that example is applied in implementation environment shown in Fig. 1 with the home equipment control method and is illustrated, referring to Fig. 3, which may include the following steps:
In step 301, regulating command is received, the target value of environmental parameter is carried in regulating command, environmental parameter is used for Characterize the environmental characteristic in space locating for home equipment.
In step 302, according to regulating command, build environment parameter information, ambient parameter information includes:Terminal is current The measured value and target value for the environmental parameter that moment measurement obtains.
In step 303, ambient parameter information is sent to server, server is used to determine according to measured value and target value Objective function, be determined to realize objective function at least two target home equipments, and according to ambient parameter information control to Few two target home equipments operation.
In conclusion the home equipment control method that the embodiment of the present disclosure provides, terminal receives regulating command by reception, The target value of environmental parameter is carried in regulating command, environmental parameter is used to characterize the environmental characteristic in space locating for home equipment, root According to regulating command, build environment parameter information, ambient parameter information includes:The environmental parameter that terminal is obtained in current time measurement Measured value and target value, and to server send ambient parameter information, in order to which server is true according to measured value and target value Set the goal function, is determined to realize at least two target home equipments of objective function, and controlled according to ambient parameter information The operation of at least two target home equipments.Since server controls at least two target home equipments fortune according to ambient parameter information Therefore row solves the problems, such as that the control process of home equipment in the related technology is complicated, has reached simplified home equipment and controlled The beneficial effect of journey.
Optionally, step 301 may include:
The second function collection that server is sent is received, the second function collection has recorded the device identification of registered home equipment With the corresponding relationship of Function Identification;
Show the second function collection;
Reception is operated triggered regulating command to the Function Identification that the second function is concentrated, and carries ring in regulating command The target value of border parameter.
Optionally, this method can also include:
The measured value of current time environmental parameter is obtained by the way that environmental parameter sensor at the terminal is arranged.
Optionally, environmental parameter includes any one in temperature, humidity and intensity of illumination.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination It repeats one by one.
In conclusion the home equipment control method that the embodiment of the present disclosure provides, terminal receives regulating command by reception, The target value of environmental parameter is carried in regulating command, environmental parameter is used to characterize the environmental characteristic in space locating for home equipment, root According to regulating command, build environment parameter information, ambient parameter information includes:The environmental parameter that terminal is obtained in current time measurement Measured value and target value, and to server send ambient parameter information, in order to which server is true according to measured value and target value Set the goal function, is determined to realize at least two target home equipments of objective function, and controlled according to ambient parameter information The operation of at least two target home equipments.Since server controls at least two target home equipments fortune according to ambient parameter information Therefore row solves the problems, such as that the control process of home equipment in the related technology is complicated, has reached simplified home equipment and controlled The beneficial effect of journey.
Fig. 4-1 is a kind of method flow diagram of home equipment control method shown according to another exemplary embodiment, this Embodiment is applied to be illustrated in implementation environment shown in Fig. 1 with the home equipment control method, referring to fig. 4-1, should Home equipment control method may include the following steps:
In step 401, home equipment is registered on the server.
In the embodiments of the present disclosure, each home equipment before the use, can all be registered on the server, carry out When registration, the information such as the type identification of oneself, device identification, Function Identification and operation power can be uploaded to by each home equipment Server.Wherein, home equipment can upload type identification, device identification, function mark to server in household device power The information such as power are known and run, to realize registration.
Server can store the home equipment and upload the letters such as type identification, device identification, Function Identification and operation power Breath, illustratively, server can store the information of home equipment in the form of corresponding relationship.Under normal conditions, an equipment tool There are a type identification and a device identification, since an equipment may have multiple functions, the corresponding operation of each function Power may be different, and therefore, an equipment can have multiple Function Identifications and multiple operation power, therefore, server storage The information of a home equipment can be as shown in table 1 below:
Table 1
The information of multiple home equipments of server storage can be as shown in table 2 below:
Table 2
In step 402, server obtains the type identification of each home equipment in registered home equipment.
The type identification of each home equipment in the available registered home equipment of server.Wherein, server can It, can also be after the completion of household facility registration, from itself just to obtain the type identification of home equipment in household facility registration The type identification of home equipment is obtained in the information of the home equipment of storage, the embodiment of the present disclosure does not limit this.
Wherein, server can the corresponding relationship according to shown in the device identification inquiry table 2 of home equipment obtain household and set Standby type identification, and obtain the type mark.Assuming that device identification is respectively ID-1 there are two registered home equipments And ID-3, wherein the home equipment that device identification is ID-1 can be the air-conditioning in implementation environment shown in Fig. 1, and device identification is The home equipment of ID-3 can be the fan in implementation environment shown in Fig. 1.
Illustratively, server can the corresponding relationship according to shown in device identification ID-1 inquiry table 2, obtaining device identification is The type identification of the home equipment of ID-1 is ID-A, and the type identifies the type identification that ID-A can be air-conditioning;Server can be with According to corresponding relationship shown in device identification ID-3 inquiry table 2, the type identification for the home equipment that device identification is ID-3 is obtained For ID-B, the type identifies the type identification that ID-B can be fan.
Inquiry obtains in registered home equipment after the type identification of each home equipment, and server is available each The type identification of home equipment, illustratively, server obtain the type identification ID-A of air-conditioning and the type identification ID-B of fan.
In step 403, server inquires preset type identification and function according to the type identification of each home equipment The corresponding relationship of mark, obtain the corresponding first function collection of each home equipment, at least one function of the first function centralized recording It can mark.
Wherein, server can store the corresponding relationship of preset type identification and Function Identification, the preset type Mark can be with the corresponding relationship of Function Identification to be arranged on the server manually in advance by staff, the embodiment of the present disclosure It does not limit this.Illustratively, the corresponding relationship of the preset type identification and Function Identification can be such as the following table 3 institute Show:
Table 3
Server is got in registered home equipment after the type identification of each home equipment, can be according to each family Corresponding relationship shown in the type identification inquiry table 3 of equipment is occupied, obtains the corresponding first function collection of each home equipment, this first At least one Function Identification of function centralized recording.
Illustratively, server corresponding relationship according to shown in the type identification ID-A inquiry table 3 got obtains air-conditioning pair The the first function collection answered, the corresponding first function collection of air-conditioning are as shown in table 4:
Table 4
Wherein, the corresponding function of Function Identification ID-a1 can be able to be for heating, the corresponding function of Function Identification ID-a2 Cooling, the corresponding function of Function Identification ID-a3 can not limit this for dehumidifying, the embodiment of the present disclosure.
Server corresponding relationship according to shown in the type identification ID-B inquiry table 3 got obtains fan corresponding first Function collection.The corresponding first function collection of fan is as shown in table 5:
Table 5
Wherein, the corresponding function of Function Identification ID-b1 can be adjusting air velocity, the corresponding function of Function Identification ID-a2 It can not be limited this for cooling, the embodiment of the present disclosure.
In step 404, server obtains the union of the first function collection of registered home equipment, obtains the second function Collection, the second function collection have recorded the device identification of registered home equipment and the corresponding relationship of Function Identification.
After server gets the first function collection of registered home equipment, available registered home equipment The union of first function collection, obtains the second ability collection, wherein the second function collection has recorded the equipment mark of registered home equipment Know the corresponding relationship with Function Identification.
Illustratively, server obtains the union of table 4 and table 5, and obtaining the second ability collection can be as shown in table 6 below:
Table 6
It should be noted that can store multiple second function collection in practical application, on server, each second function collection Correspond to a user account, the device identification of all home equipments under each second function centralized recording, one user account And the corresponding relationship of Function Identification possessed by each home equipment, illustratively, it is assumed that server stores two the second function It can collect, the corresponding user account of this two the second function collection can be respectively xiaomi1 and xiaomi2, wherein with user account The corresponding second function collection of xiaomi1 can be as shown in table 6.Therefore, the really user account and second stored on server The corresponding relationship of function collection, the embodiment of the present disclosure do not limit this.
In step 405, terminal receives regulating command, and the target value of environmental parameter, environmental parameter are carried in regulating command For characterizing the environmental characteristic in space locating for home equipment.
Wherein, in the embodiments of the present disclosure, environmental parameter may include any one in temperature, humidity and intensity of illumination Kind.The embodiment of the present disclosure does not limit this.The embodiment of the present disclosure is illustrated so that environmental parameter includes temperature as an example.
Illustratively, Fig. 4-2 is please referred to, a kind of terminal reception adjusting for showing that Fig. 4-1 illustrated embodiment provides refers to The method flow diagram of order, referring to fig. 4-2, this method process may include the following steps:
In sub-step 4051, terminal receives the second function collection that server is sent, and the second function collection has recorded registered Home equipment device identification and Function Identification corresponding relationship.
Wherein, can be with login user account in terminal, after terminal login user account, terminal can be sent to server Inquiry instruction, the inquiry instruction can user account to be logged on carried terminal, server can inquire according to the user account Itself user account of storage and the corresponding relationship of the second function collection, obtain the second function collection corresponding with the user account, into And the second function collection is sent to terminal.Wherein, the second function collection have recorded the device identification of registered home equipment with The corresponding relationship of Function Identification, the registered home equipment can be the registered home equipment under user account, this public affairs Embodiment is opened not limit this.
Illustratively, it is assumed that the user account xiaomi1 logged in terminal, then the inquiry instruction that terminal to server is sent can With the user account xiaomi1 for carrying this, server can user account xiaomi1 inquiry user account and the second function collection Corresponding relationship, obtain the corresponding second function collection of user account xiaomi1, illustratively, user account xiaomi1 is corresponding Second function, which integrates, to be the second function collection shown in table 6.
When server sends the second function collection to terminal, terminal can receive the second function collection of server transmission, example Ground, terminal receive the second function collection as shown in table 6 that server is sent.
In sub-step 4052, terminal shows the second function collection.
After terminal receives the second function collection of server transmission, the second function collection can be shown, in practical application, Terminal shows that the second function collection can be terminal and show the Function Identification that the second function is concentrated, and for further, terminal is shown Second function collection can also be that the corresponding function of Function Identification that terminal shows that the second function is concentrated or terminal show the simultaneously The Function Identification and the corresponding function of the Function Identification, the embodiment of the present disclosure that two functions are concentrated do not limit this.The disclosure Embodiment is illustrated so that terminal shows the corresponding function of Function Identification that the second function is concentrated as an example.
Illustratively, Fig. 4-3 is please referred to, the terminal for showing that Fig. 4-1 illustrated embodiment provides shows the second function collection Surface chart, referring to fig. 4-3, terminal currently shows display interface 410, shows user account in the display interface 410 Xiaomi1 also shows the second function in the display interface hence, it can be determined that the user account that terminal currently logs in is xiaomi1 411 can be collected, and function corresponding to the Function Identification concentrated of the second function for actually showing of the terminal, referring to fig. 4-3 it is found that Second function concentrate Function Identification corresponding to function include:" heating ", " cooling ", " dehumidifying " etc., the embodiment of the present disclosure pair This is without limitation.
It should be noted that the second function collection shown in Fig. 4-3 is merely exemplary, in practical application, according to second The difference of function collection, the second function collection that terminal is shown can also include other function, and the other function is such as:Light intensity regulating, Humidification etc., wherein the corresponding home equipment of light intensity regulating can be headlamp, to humidify corresponding home equipment can be humidifier Deng the embodiment of the present disclosure does not limit this, and this is no longer going to repeat them.
In sub-step 4053, terminal reception is operated triggered adjusting to the Function Identification that the second function is concentrated and is referred to It enables, the target value of environmental parameter is carried in regulating command.
After terminal shows the second function collection, the Function Identification that user can concentrate the second function carries out operation triggering and adjusts Instruction, wherein user can click the Function Identification of the concentration of the second function shown in Fig. 4-3, triggering terminal vision-control interface. Illustratively, Fig. 4-4 is please referred to, the adjustment interface figure that the terminal that Fig. 4-1 illustrated embodiment provides is shown is shown, referring to figure 4-4, terminal currently show display interface 420, show user account xiaomi1 in the display interface 420, therefore, can be with It determines that the user account that terminal currently logs in is xiaomi1, the defeated of the target value of environmental parameter is shown in the display interface 420 Enter frame 421, " determination " button 422 and the " Cancel " button 423, user can in the input frame 421 input environment parameter mesh Scale value, and then click " determination " button 422 and trigger regulating command, work as alternatively, user can also click the cancellation of the " Cancel " button 423 Preceding input, the embodiment of the present disclosure do not limit this.
Illustratively, user can click " cooling " of the concentration of the second function shown in Fig. 4-3, triggering terminal displays temperature tune Interface is saved, which can be as shown in Fig. 4-4, and user can be in the target value of 421 temperature of input frame, and clicks true Determine button triggering regulating command, wherein the target value of the temperature refers to that user it is expected the temperature adjusted, illustratively, the temperature The target value of degree can be 24 degree, and the embodiment of the present disclosure does not limit this.
When user triggers regulating command, terminal can receive the regulating command of user's triggering, and illustratively, terminal receives temperature Regulating command can carry 24 degree of target value of temperature in the temperature adjustment instructions.
In a step 406, terminal obtains current time environmental parameter by the environmental parameter sensor of setting at the terminal Measured value.
When receiving regulating command, the measured value of the available current time environmental parameter of terminal.It wherein, can in terminal Environmental parameter sensor is arranged, terminal can be by being arranged environmental parameter sensor acquisition current time environment at the terminal The measured value of parameter.Illustratively, which can be temperature sensor, and terminal can pass through the temperature sensor The measured value of current time temperature is obtained, illustratively, the measured value of current time temperature can be 30 degree, the embodiment of the present disclosure pair This is without limitation.
In step 407, terminal is according to regulating command, build environment parameter information, and ambient parameter information includes:Terminal exists The measured value and target value for the environmental parameter that current time measurement obtains.
Terminal receives regulating command, and after getting the measured value of environmental parameter, can generate ring according to regulating command Border parameter information, the ambient parameter information may include:The measured value for the environmental parameter that terminal is obtained in current time measurement and Target value, that is, measured value and target value build environment parameter information of the terminal according to environmental parameter.Illustratively, terminal according to The measured value and target value of temperature, generate temperature parameter information, which may include:Terminal is surveyed at current time 30 degree and 24 degree of target value of the measured value of the temperature measured.
In a step 408, terminal to server sends ambient parameter information.
In the embodiments of the present disclosure, after terminal build environment parameter information, ambient parameter information can be sent to server. Wherein, server be used for according in ambient parameter information measured value and target value determine objective function, be determined to realize mesh At least two target home equipments of function are marked, and the operation of at least two target home equipments is controlled according to ambient parameter information. Illustratively, terminal to server sends temperature parameter information.The temperature parameter information may include:Terminal measures at current time 30 degree and 24 degree of target value of the measured value of obtained temperature.
In step 409, the ambient parameter information that server receiving terminal is sent.
When terminal to server sends ambient parameter information, server can receive the ambient parameter information of terminal transmission, Illustratively, the temperature parameter information that server receiving terminal is sent.The temperature parameter information may include:Terminal is at current time Measure 30 degree and 24 degree of target value of measured value of obtained temperature.
In step 410, server determines objective function according to measured value and target value.
After server receives the ambient parameter information of terminal transmission, it can parse the ambient parameter information and obtain environment ginseng Several measured values and target value, and then objective function is determined according to the measured value and target value of environmental parameter.Illustratively, server Resolution temperature parameter information obtain the temperature that current time measurement obtains 30 degree of measured value and 24 degree of target value, and then according to working as 30 degree of the measured value for the temperature that preceding moment measurement obtains and 24 degree of target value determining objective functions, the objective function can be cooling Function.
Illustratively, Fig. 4-5 is please referred to, shows a kind of server of Fig. 4-1 illustrated embodiment offer according to measurement Value and target value determine the method flow diagram of objective function, and referring to fig. 4-5, this method process may include the following steps:
In sub-step 4101, server compares the size of measured value and target value.
After server obtains measured value and the target value of environmental parameter, the measured value and target value of environmental parameter can be determined Difference, and then objective function is determined according to the measured value of environmental parameter and the difference of target value.Wherein, server can pass through The size for comparing measured value and target value determines the difference of measured value and target value.Illustratively, the measurement of server comparison temperature 30 degree and 27 degree of target value of measured value of difference of 30 degree of value and 27 degree of temperatures of target value.In the embodiments of the present disclosure, warm 30 degree of measured value of degree are greater than 27 degree of target value.
In sub-step 4102, server determines objective function according to comparison result.
After server compares the size of measured value and target value, objective function can be determined according to comparison result.Illustratively, Server determines objective function according to 30 degree and 27 degree of target value of measured value of comparison result of temperature, in the embodiment of the present disclosure In, 30 degree of measured value due to temperature are greater than 27 degree of target value, server determines that objective function is cooling function.
In step 411, server is determined to realize at least two target home equipments of objective function.
After server determines objective function, it can be determined to realize at least two target home equipments of objective function, And then it controls at least two targets home equipment and realizes the objective function.
Illustratively, Fig. 4-6 is please referred to, a kind of server for showing that Fig. 4-1 illustrated embodiment provides is determined to Realize objective function at least two target home equipments method flow diagram, referring to fig. 4-6, this method process may include as Under several steps:
In sub-step 4111, server determines the Function Identification of objective function.
After determining objective function, server can determine the Function Identification of objective function.Wherein, server can store function It can be obtained according to the corresponding relationship of objective function query function and Function Identification with the corresponding relationship of Function Identification, server To the Function Identification of objective function.
Illustratively, in disclosure the present embodiment, the function of server storage and the corresponding relationship of Function Identification can be as Shown in the following table 7:
Table 7
Function Function Identification
Heating ID-a1
Cooling ID-a2
Dehumidifying ID-a3
...... ......
Server can according to objective function inquire inquiry table 7 shown in corresponding relationship obtain the corresponding function of objective function Mark.Illustratively, server corresponding relationship according to shown in objective function " cooling " inquiry table 7 obtains objective function " cooling " Function Identification ID-a2.
In sub-step 4112, server inquires the second function collection, and the Function Identification for obtaining objective function is corresponding at least Two device identifications.
After the Function Identification for determining objective function, server can inquire the second function collection, obtain the function of objective function Identify corresponding at least two device identification.Illustratively, server is inquired according to the Function Identification ID-a2 of objective function " cooling " Second function collection shown in table 6 obtains at least two device identification corresponding with the Function Identification ID-a2 of objective function " cooling " Including:Device identification ID-1 and ID-2.
It should be noted that server inquiry can be first according to the user logged in terminal in disclosure the present embodiment Account inquires the corresponding relationship of user account and the second function collection, obtains corresponding second function of the user account logged in terminal Collection, and then inquire the corresponding second function collection of the user account logged in the terminal according to the Function Identification of objective function and obtain mesh Corresponding at least two device identification of Function Identification of function is marked, the embodiment of the present disclosure does not limit this.
In sub-step 4113, server is by the corresponding home equipment of each device identification at least two device identifications As target home equipment, at least two target home equipments are obtained.
After server determines corresponding at least two device identification of the Function Identification of objective function, at least two can be set The corresponding home equipment of each device identification in standby mark obtains at least two target households and sets as target home equipment It is standby.Illustratively, server is using the corresponding home equipment of device identification ID-1 as target home equipment, by ID-2 pairs of device identification The home equipment answered obtains two target home equipments as target home equipment, in the embodiments of the present disclosure, due to equipment mark Knowing the corresponding home equipment of ID-1 is air-conditioning, and the corresponding home equipment of device identification ID-2 is fan, and therefore, server determines extremely Few two target home equipments include air-conditioning and fan.
In step 412, server controls the operation of at least two target home equipments according to ambient parameter information.
After determining at least two target home equipments, server can control at least two targets according to ambient parameter information Home equipment operation.Illustratively, server controls air-conditioning according to temperature parameter information and fan is run.
In the embodiments of the present disclosure, when comparison result be environmental parameter measured value be equal to target value when, server according to Ambient parameter information keeps the operating status of at least two target home equipments.Illustratively, if the measured value of temperature is equal to target Value, server can be operated without any control, that is, server keeps the operation shape of at least two target home equipments State.Illustratively, Fig. 4-7 is please referred to, a kind of server for showing that Fig. 4-1 illustrated embodiment provides is believed according to environmental parameter The schematic diagram of breath control at least two target home equipments operation, referring to fig. 4-7, server control air-conditioning 160 and fan 180 divide Respective operating status is not kept.
In the embodiments of the present disclosure, when the measured value that comparison result is environmental parameter is equal to target value, server may be used also It is run with the smallest home equipment of operation power controlled according to ambient parameter information at least two target home equipments, control Other home equipments are closed, and can be reduced energy loss in this way, be realized energy-efficient effect.
Illustratively, Fig. 4-8 is please referred to, shows a kind of server of Fig. 4-1 illustrated embodiment offer according to environment Parameter information controls the method flow diagram of at least two target home equipments operation, and referring to fig. 4-8, this method process may include The following steps:
In sub-step 4121a, when comparison result is that measured value is equal to target value, server detects at least two targets The operating status of home equipment, operating status include any one in open state and closed state.
When the measured value that comparison result is environmental parameter is equal to target value, server can detecte at least two target men Occupy the operating status of each target home equipment in equipment.Illustratively, server detects the operating status of air-conditioning and fan respectively. Wherein, server can store the status information of home equipment, which is used to indicate the operating status of home equipment.Family Equipment is occupied when being turned on or off every time, server can all be updated the status information, to determine the fortune of home equipment Row state, therefore, server can detect at least two target home equipments according to the status information of the home equipment of storage The operating status of each target home equipment.
In sub-step 4122a, when there are at least one target home equipments to be at least two target home equipments When open state, server determines the object run power that target value is able to maintain when each target home equipment isolated operation, Obtain at least two object run power.
If server determines that there are at least one target home equipments in two target home equipments in step 4121a In the open state, then server can determine the target fortune that target value is able to maintain when each target home equipment isolated operation Row power obtains at least two object run power.Wherein, server can store the operating parameter and fortune of each home equipment The corresponding relationship of row power, server can be according to the operating parameter of each home equipment and the corresponding relationships of operation power, really The object run power of target value is able to maintain when fixed each target home equipment isolated operation.Wherein, the operating parameter of air-conditioning It can be temperature, the operating parameter of fan can be gear.
Illustratively, the operating parameter of the air-conditioning of server storage can be as shown in table 8 below with the corresponding relationship of operation power:
Table 8
Operating parameter Run power
T1 P11
T2 P12
T3 P13
T4 P14
...... ......
Referring to table 8 it is found that when the operating parameter of air-conditioning is T1, power P11, when the operating parameter of air-conditioning is T2, Power is P12, and so on.Wherein, server can the corresponding relationship according to shown in the target value inquiry table 8 of temperature obtain sky The object run power that target value is able to maintain when isolated operation is adjusted, in the embodiments of the present disclosure, the target value of temperature is 24 degree, Assuming that T1=24 degree, then the available air-conditioning of server corresponding relationship according to shown in the target value inquiry table 8 of temperature is individually transported The object run power that target value is able to maintain when row is P11.
Illustratively, the operating parameter of the fan of server storage can be as shown in table 9 below with the corresponding relationship of operation power:
Table 9
Operating parameter Run power
One grade P21
Two grades P22
Third gear P23
Fourth gear P24
...... ......
Referring to table 9 it is found that when the operating parameter of fan is one grade, power P21, when the operating parameter of fan is two grades When, power P22, and so on.Wherein, server can determine the corresponding target of the target value according to the target value of temperature Gear, and then when corresponding relationship according to shown in the target gear inquiry table 9 obtains fan isolated operation, is able to maintain target value Object run power, in the embodiments of the present disclosure, it is assumed that target gear be fourth gear, then server is according to target gear inquiry table The object run power that target value is able to maintain when the available fan isolated operation of corresponding relationship shown in 9 is P24.
In sub-step 4123a, server determines the smallest object run power at least two object run power.
It determines after being able to maintain the object run power of target value when each target home equipment isolated operation, server can To obtain multiple object run power, server can be compared multiple object run power and determine multiple target Run the smallest object run power in power.
Illustratively, server compares object run power P 12 and P24, determines in object run power P 12 and P24 most Small object run power, it is assumed that P24 is less than P12, then server determines that the smallest object run power is P24.
In sub-step 4124a, server controls the corresponding target home equipment of the smallest object run power according to most Small object run Power operation.
After determining the smallest object run power, server can control the corresponding target of the smallest object run power Home equipment is according to the smallest object run Power operation.In the embodiments of the present disclosure, due to the smallest object run power P 24 Corresponding home equipment is fan, and is operation power of the fan in fourth gear operation, and therefore, server control fan is adjusted to Fourth gear is simultaneously run.Illustratively, server can send control instruction to fan, can carry in the control instruction fourth gear this A gear, fan itself can will be adjusted to fourth gear and be run according to the control instruction.
In sub-step 4125a, server, which controls, removes the smallest object run power at least two target home equipments Target home equipment other than corresponding target home equipment is closed.
After determining the smallest object run power, server be can control at least two target home equipments except minimum The corresponding target home equipment of object run power other than target home equipment close, illustratively, server control air-conditioning It closes.
It should be noted that in the embodiments of the present disclosure, if server detects that air-conditioning is in pass in sub-step 4121a Closed state, then in this step, server can not carry out any control to air-conditioning and operate, if servicing in sub-step 4121a Device detects that air-conditioning is in the open state, then in this step, server can send out code to air-conditioning, and air-conditioning can root It is closed according to the out code.
Illustratively, Fig. 4-9 is please referred to, shows another server of Fig. 4-1 illustrated embodiment offer according to ring Border parameter information controls the method flow diagram of at least two target home equipments operation, and referring to fig. 4-9, this method process can wrap Include the following steps:
In sub-step 4121b, when comparison result is that measured value is not equal to target value, server determines at least two mesh Mark home equipment adjusts environmental parameter at least two object run power of target value by measured value when running simultaneously.
When the measured value that comparison result is environmental parameter is equal to target value, server can determine at least two target men It occupies equipment while adjusts environmental parameter at least two object run power of target value by measured value.Illustratively, Server can the corresponding relationship according to shown in table 8 and table 9 determine air-conditioning and fan while making environmental parameter by measuring when running Value is adjusted at least two object run power of target value, illustratively, it is assumed that at least two object runs power includes: P11+P23, P12+P22 and P13+P21.
In sub-step 4122b, server determines the smallest object run power at least two object run power.
It determines at least two target home equipments while adjusts environmental parameter to target value extremely by measured value when running After few two object run power, the available at least two object runs power of server, server can to this at least two A object run power, which is compared, determines the smallest object run power in at least two object runs power.
Illustratively, server compares the size of this three of object run power P 11+P23, P12+P22 and P13+P21, really Make the smallest object run power in object run power P 11+P23, P12+P22 and P13+P21, it is assumed that P11+P23 is less than P12+P22, P12+P22 are less than P13+P21, then server determines that the smallest object run power is P11+P23.
In sub-step 4123b, server controls at least two target home equipments according to the smallest object run power Operation.
After determining the smallest object run power, server can control at least two target home equipments according to minimum Object run Power operation.In the embodiments of the present disclosure, since the smallest object run power is P11+P23, wherein P11 Operation power when running for air-conditioning according to temperature T1, P23 are operation power when fan is run according to third gear, therefore, service Device control air-conditioning the temperature was then adjusted to T1 and is run, and control fan is adjusted to third gear and is run.
It should be noted that the embodiment of the present disclosure is to be by temperature of environmental parameter using home equipment as air-conditioning and fan What example was illustrated, in practical application, home equipment can also may be used also for equipment, environmental parameters such as humidifier, electric heating, headlamps Think humidity, intensity of illumination etc., details are not described herein for the embodiment of the present disclosure.The home equipment controlling party that the embodiment of the present disclosure provides Method can realize the linkage between the relevant home equipment of function by server.
It should also be noted that, in the embodiments of the present disclosure, server can also control house according to the use habit of user Equipment is occupied, for example, when including two identical mesh in at least two target home equipments that server is determined in step 411 When marking home equipment, server can determine the frequency of use of the two identical each home equipments of target home equipment, And then control the highest home equipment operation of frequency of use.Illustratively, it is assumed that this two identical target home equipments include:It is empty K1 and air-conditioning K2 is adjusted, therefore, server can determine the frequency of use of air-conditioning K1 and air-conditioning K2 respectively, and then control frequency of use Highest operation of air conditioner, it is assumed that the highest air-conditioning of frequency of use is air-conditioning K1, then server control air-conditioning K1 operation, controls air-conditioning K2 is closed, and the embodiment of the present disclosure does not limit this, wherein the frequency of use of each home equipment can be server and pass through system Meter is obtained and is recorded, and each home equipment can send open signal to server when opening, and server can be according to this Open signal counts the frequency of use of each home equipment, and the embodiment of the present disclosure does not limit this.
It should also be noted that, the sequencing for the home equipment control method step that the embodiment of the present disclosure provides can be into Row appropriate adjustment, step according to circumstances can also accordingly be increased and decreased, illustratively, in the embodiments of the present disclosure, step 405 and step Rapid 406 sequence can be overturned mutually, anyone skilled in the art in the technical scope that the disclosure discloses, The method that variation can be readily occurred in should all cover within the protection scope of the disclosure, therefore repeat no more.
In conclusion the home equipment control method that the embodiment of the present disclosure provides, what server was sent by receiving terminal Ambient parameter information, ambient parameter information include:The measured value and terminal for the environmental parameter that terminal is obtained in current time measurement The target value of the environmental parameter carried in received regulating command, environmental parameter are used to characterize the environment in space locating for home equipment Feature;Objective function is determined according to measured value and target value;It is determined to realize that at least two target households of objective function are set It is standby;The operation of at least two target home equipments is controlled according to ambient parameter information.Since server is according to ambient parameter information control The operation of at least two target home equipments is made, therefore, solves the problems, such as that the control process of home equipment in the related technology is complicated, The beneficial effect of simplified home equipment control process is reached.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 5 is a kind of block diagram of home equipment control device 500 shown according to an exemplary embodiment, the home equipment Control device 500 being implemented in combination with as the server in implementation environment shown in Fig. 1 by software, hardware or both 140 it is some or all of, which may include:
Receiving module 510 is configured as receiving the ambient parameter information that terminal is sent, and ambient parameter information includes:Terminal The mesh of the environmental parameter carried in the received regulating command of measured value and terminal for the environmental parameter that current time measurement obtains Scale value, environmental parameter are used to characterize the environmental characteristic in space locating for home equipment.
First determining module 520, the measured value and target value for being configured as being received according to receiving module 510 determine target Function.
Second determining module 530 is configured to determine that and can be realized the determining objective function of the first determining module 520 extremely Few two target home equipments.
Control module 540 is configured as the ambient parameter information received according to receiving module and controls the second determining module The 530 at least two target home equipments operations determined.
In conclusion the home equipment control device that the embodiment of the present disclosure provides, what server was sent by receiving terminal Ambient parameter information, ambient parameter information include:The measured value and terminal for the environmental parameter that terminal is obtained in current time measurement The target value of the environmental parameter carried in received regulating command, environmental parameter are used to characterize the environment in space locating for home equipment Feature;Objective function is determined according to measured value and target value;It is determined to realize that at least two target households of objective function are set It is standby;The operation of at least two target home equipments is controlled according to ambient parameter information.Since server is according to ambient parameter information control The operation of at least two target home equipments is made, therefore, solves the problems, such as that the control process of home equipment in the related technology is complicated, The beneficial effect of simplified home equipment control process is reached.
Fig. 6 is a kind of block diagram of the home equipment control device 600 shown according to another exemplary embodiment, which sets Standby control device 600 being implemented in combination with as the server in implementation environment shown in Fig. 1 by software, hardware or both 140 it is some or all of, which can include but is not limited to:
Receiving module 610 is configured as receiving the ambient parameter information that terminal is sent, and ambient parameter information includes:Terminal The mesh of the environmental parameter carried in the received regulating command of measured value and terminal for the environmental parameter that current time measurement obtains Scale value, environmental parameter are used to characterize the environmental characteristic in space locating for home equipment;
First determining module 620, the measured value and target value for being configured as being received according to receiving module 610 determine target Function;
Second determining module 630 is configured to determine that and can be realized the determining objective function of the first determining module 620 extremely Few two target home equipments;
Control module 640 is configured as the ambient parameter information received according to receiving module and controls the second determining module The 630 at least two target home equipments operations determined.
Optionally, with continued reference to FIG. 6, the home equipment control device 600 can also include:
First obtains module 650, is configured as obtaining the type identification of each home equipment in registered home equipment;
Enquiry module 660 is configured as inquiring preset type identification and function according to the type identification of each home equipment The corresponding relationship that can be identified, obtains the corresponding first function collection of each home equipment of the first acquisition module 650 acquisition, the first function It can centralized recording at least one Function Identification;
Second obtains module 670, is configured as obtaining enquiry module 660 inquires obtained registered home equipment the The union of one function collection, obtains the second function collection, and the second function collection has recorded device identification and the function of registered home equipment The corresponding relationship that can be identified.
Optionally, the second determining module 630, is configured as:
Determine the Function Identification of objective function;
The second function collection is inquired, corresponding at least two device identification of Function Identification of objective function is obtained;
Using the corresponding home equipment of each device identification at least two device identifications as target home equipment, obtain At least two target home equipments.
Optionally, the first determining module 620, is configured as:
Compare the size of measured value and target value;
Objective function is determined according to comparison result.
Optionally, control module 640 are configured as:
When comparison result is that measured value is equal to target value, at least two target households are kept to set according to ambient parameter information Standby operating status.
Optionally, control module 640 are configured as:
When comparison result is that measured value is equal to target value, the operating status of at least two target home equipments, fortune are detected Row state includes any one in open state and closed state;
When in the open state there are at least one target home equipment at least two target home equipments, determine every It is able to maintain the object run power of target value when a target home equipment isolated operation, obtains at least two object run function Rate;
Determine the smallest object run power at least two object run power;
The corresponding target home equipment of the smallest object run power is controlled according to the smallest object run Power operation;
It controls at least two target home equipments in addition to the corresponding target home equipment of the smallest object run power Target home equipment close.
Optionally, control module 640 are configured as:
When comparison result is that measured value is not equal to target value, determines at least two target home equipments while making when running Environmental parameter is adjusted by measured value at least two object run power of target value;
Determine the smallest object run power at least two object run power;
At least two target home equipments are controlled according to the smallest object run Power operation.
Optionally, environmental parameter includes any one in temperature, humidity and intensity of illumination.
In conclusion the home equipment control device that the embodiment of the present disclosure provides, what server was sent by receiving terminal Ambient parameter information, ambient parameter information include:The measured value and terminal for the environmental parameter that terminal is obtained in current time measurement The target value of the environmental parameter carried in received regulating command, environmental parameter are used to characterize the environment in space locating for home equipment Feature;Objective function is determined according to measured value and target value;It is determined to realize that at least two target households of objective function are set It is standby;The operation of at least two target home equipments is controlled according to ambient parameter information.Since server is according to ambient parameter information control The operation of at least two target home equipments is made, therefore, solves the problems, such as that the control process of home equipment in the related technology is complicated, The beneficial effect of simplified home equipment control process is reached.
Fig. 7 is a kind of block diagram of home equipment control device 700 shown according to another exemplary embodiment, which sets Standby control device 700 being implemented in combination with as the terminal in implementation environment shown in Fig. 1 by software, hardware or both 120 it is some or all of, which may include:
Receiving module 710 is configured as receiving regulating command, the target value of environmental parameter, environment is carried in regulating command Parameter is used to characterize the environmental characteristic in space locating for home equipment.
Generation module 720, is configured as the regulating command received according to receiving module 710, build environment parameter information, Ambient parameter information includes:The measured value and target value for the environmental parameter that terminal is obtained in current time measurement.
Sending module 730 is configured as sending the ambient parameter information that generation module 720 generates, server to server For determining objective function according to measured value and target value, it is determined to realize that at least two target households of objective function are set It is standby, and the operation of at least two target home equipments is controlled according to ambient parameter information.
In conclusion the home equipment control device that the embodiment of the present disclosure provides, terminal receives regulating command by reception, The target value of environmental parameter is carried in regulating command, environmental parameter is used to characterize the environmental characteristic in space locating for home equipment, root According to regulating command, build environment parameter information, ambient parameter information includes:The environmental parameter that terminal is obtained in current time measurement Measured value and target value, and to server send ambient parameter information, in order to which server is true according to measured value and target value Set the goal function, is determined to realize at least two target home equipments of objective function, and controlled according to ambient parameter information The operation of at least two target home equipments.Since server controls at least two target home equipments fortune according to ambient parameter information Therefore row solves the problems, such as that the control process of home equipment in the related technology is complicated, has reached simplified home equipment and controlled The beneficial effect of journey.
Fig. 8 is a kind of block diagram of the home equipment control device 800 shown according to a further exemplary embodiment, which sets Standby control device 800 being implemented in combination with as the terminal in implementation environment shown in Fig. 1 by software, hardware or both 120 it is some or all of, which can include but is not limited to:
Receiving module 810 is configured as receiving regulating command, the target value of environmental parameter, environment is carried in regulating command Parameter is used to characterize the environmental characteristic in space locating for home equipment;
Generation module 820, is configured as the regulating command received according to receiving module 810, build environment parameter information, Ambient parameter information includes:The measured value and target value for the environmental parameter that terminal is obtained in current time measurement;
Sending module 830 is configured as sending the ambient parameter information that generation module 820 generates, server to server For determining objective function according to measured value and target value, it is determined to realize that at least two target households of objective function are set It is standby, and the operation of at least two target home equipments is controlled according to ambient parameter information.
Optionally, receiving module 810 are configured as:
The second function collection that server is sent is received, the second function collection has recorded the device identification of registered home equipment With the corresponding relationship of Function Identification;
Show the second function collection;
Reception is operated triggered regulating command to the Function Identification that the second function is concentrated, and carries ring in regulating command The target value of border parameter.
Optionally, with continued reference to FIG. 8, the home equipment control device 800 can also include:
Module 840 is obtained, is configured as by the way that environmental parameter sensor acquisition current time environment at the terminal is arranged The measured value of parameter.
Optionally, environmental parameter includes any one in temperature, humidity and intensity of illumination.
In conclusion the home equipment control device that the embodiment of the present disclosure provides, terminal receives regulating command by reception, The target value of environmental parameter is carried in regulating command, environmental parameter is used to characterize the environmental characteristic in space locating for home equipment, root According to regulating command, build environment parameter information, ambient parameter information includes:The environmental parameter that terminal is obtained in current time measurement Measured value and target value, and to server send ambient parameter information, in order to which server is true according to measured value and target value Set the goal function, is determined to realize at least two target home equipments of objective function, and controlled according to ambient parameter information The operation of at least two target home equipments.Since server controls at least two target home equipments fortune according to ambient parameter information Therefore row solves the problems, such as that the control process of home equipment in the related technology is complicated, has reached simplified home equipment and controlled The beneficial effect of journey.
Fig. 9 is a kind of block diagram of home equipment control device 900 shown according to an exemplary embodiment.For example, device 900 may be provided as a server.Referring to Fig. 9, it further comprises one or more that device 900, which includes processing component 922, Processor, and the memory resource as representated by memory 932, for storing the instruction that can be executed by processing component 922, example Such as application program.The application program stored in memory 932 may include it is one or more each correspond to one group The module of instruction.In addition, processing component 922 is configured as executing instruction, to execute above-mentioned home equipment control method, this method Including:
The ambient parameter information that terminal is sent is received, ambient parameter information includes:Terminal is obtained in current time measurement The target value of the environmental parameter carried in the received regulating command of measured value and terminal of environmental parameter, environmental parameter is for characterizing The environmental characteristic in space locating for home equipment;
Objective function is determined according to measured value and target value;
It is determined to realize at least two target home equipments of objective function;
The operation of at least two target home equipments is controlled according to ambient parameter information.
Optionally, this method further includes:
Obtain the type identification of each home equipment in registered home equipment;
The corresponding relationship that preset type identification and Function Identification are inquired according to the type identification of each home equipment, obtains Each home equipment corresponding first function collection, at least one Function Identification of the first function centralized recording;
The union for obtaining the first function collection of registered home equipment obtains the second function collection, the second function collection record The device identification of registered home equipment and the corresponding relationship of Function Identification.
Optionally it is determined that can be realized at least two target home equipments of objective function, including:
Determine the Function Identification of objective function;
The second function collection is inquired, corresponding at least two device identification of Function Identification of objective function is obtained;
Using the corresponding home equipment of each device identification at least two device identifications as target home equipment, obtain At least two target home equipments.
Optionally, objective function is determined according to measured value and target value, including:
Compare the size of measured value and target value;
Objective function is determined according to comparison result.
Optionally, the operation of at least two target home equipments is controlled according to ambient parameter information, including:
When comparison result is that measured value is equal to target value, at least two target households are kept to set according to ambient parameter information Standby operating status.
Optionally, the operation of at least two target home equipments is controlled according to ambient parameter information, including:
When comparison result is that measured value is equal to target value, the operating status of at least two target home equipments, fortune are detected Row state includes any one in open state and closed state;
When in the open state there are at least one target home equipment at least two target home equipments, determine every It is able to maintain the object run power of target value when a target home equipment isolated operation, obtains at least two object run function Rate;
Determine the smallest object run power at least two object run power;
The corresponding target home equipment of the smallest object run power is controlled according to the smallest object run Power operation;
It controls at least two target home equipments in addition to the corresponding target home equipment of the smallest object run power Target home equipment close.
Optionally, the operation of at least two target home equipments is controlled according to ambient parameter information, including:
When comparison result is that measured value is not equal to target value, determines at least two target home equipments while making when running Environmental parameter is adjusted by measured value at least two object run power of target value;
Determine the smallest object run power at least two object run power;
At least two target home equipments are controlled according to the smallest object run Power operation.
Optionally, environmental parameter includes any one in temperature, humidity and intensity of illumination.
Device 900 can also include the power management that a power supply module 926 is configured as executive device 900, and one has Line or radio network interface 950 are configured as device 900 being connected to network and input and output (I/O) interface 958.Dress Setting 900 can operate based on the operating system for being stored in memory 932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In conclusion the home equipment control device that the embodiment of the present disclosure provides, what server was sent by receiving terminal Ambient parameter information, ambient parameter information include:The measured value and terminal for the environmental parameter that terminal is obtained in current time measurement The target value of the environmental parameter carried in received regulating command, environmental parameter are used to characterize the environment in space locating for home equipment Feature;Objective function is determined according to measured value and target value;It is determined to realize that at least two target households of objective function are set It is standby;The operation of at least two target home equipments is controlled according to ambient parameter information.Since server is according to ambient parameter information control The operation of at least two target home equipments is made, therefore, solves the problems, such as that the control process of home equipment in the related technology is complicated, The beneficial effect of simplified home equipment control process is reached.
Figure 10 is a kind of block diagram of home equipment control device 1000 shown according to an exemplary embodiment.For example, dress Setting 1000 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, doctor Treat equipment, body-building equipment, personal digital assistant etc..
Referring to Fig.1 0, device 1000 may include following one or more components:Processing component 1002, memory 1004, Power supply module 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor module 1014 and communication component 1016.
The integrated operation of the usual control device 1000 of processing component 1002, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1002 may include one or more processors 1020 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or more moulds Block, convenient for the interaction between processing component 1002 and other assemblies.For example, processing component 1002 may include multi-media module, To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in device 1000.These data Example includes the instruction of any application or method for operating on device 1000, contact data, telephone book data, Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of device 1000.Power supply module 1006 may include power management System, one or more power supplys and other with for device 1000 generate, manage, and distribute the associated component of electric power.
Multimedia component 1008 includes the screen of one output interface of offer between device 1000 and user.Some In embodiment, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen It may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensors To sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, But also detection duration and pressure relevant to touch or slide.In some embodiments, multimedia component 1008 Including a front camera and/or rear camera.When device 1000 is in operation mode, such as screening-mode or video mode When, front camera and/or rear camera can receive external multi-medium data.Each front camera and postposition camera shooting Head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat Gram wind (MIC), when device 1000 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication Component 1016 is sent.In some embodiments, audio component 1010 further includes a loudspeaker, is used for output audio signal.
I/O interface 1012 provides interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented Estimate.For example, sensor module 1014 can detecte the state that opens/closes of device 1000, the relative positioning of component, such as group Part is the display and keypad of device 1000, and sensor module 1014 can be with 1,000 1 groups of detection device 1000 or device The position change of part, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and device 1000 temperature change.Sensor module 1014 may include proximity sensor, be configured to connect in not any physics It is detected the presence of nearby objects when touching.Sensor module 1014 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1000,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, communication component 1016 further includes near-field communication (NFC) module, to promote short range communication. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1020 of device 1000 to complete the above method.Example Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 1000 When row, so that device 1000 is able to carry out a kind of home equipment control method, this method includes:
Regulating command is received, the target value of environmental parameter is carried in regulating command, environmental parameter is for characterizing home equipment The environmental characteristic in locating space;
According to regulating command, build environment parameter information, ambient parameter information includes:Terminal is obtained in current time measurement Environmental parameter measured value and target value;
Ambient parameter information is sent to server, server is used to determine objective function according to measured value and target value, really Surely at least two target home equipments of objective function be can be realized, and at least two target men are controlled according to ambient parameter information Occupy equipment operation.
Optionally, regulating command is received, the target value of environmental parameter is carried in regulating command, including:
The second function collection that server is sent is received, the second function collection has recorded the device identification of registered home equipment With the corresponding relationship of Function Identification;
Show the second function collection;
Reception is operated triggered regulating command to the Function Identification that the second function is concentrated, and carries ring in regulating command The target value of border parameter.
Optionally, this method further includes:
The measured value of current time environmental parameter is obtained by the way that environmental parameter sensor at the terminal is arranged.
Optionally, environmental parameter includes any one in temperature, humidity and intensity of illumination.
In conclusion the home equipment control device that the embodiment of the present disclosure provides, terminal receives regulating command by reception, The target value of environmental parameter is carried in regulating command, environmental parameter is used to characterize the environmental characteristic in space locating for home equipment, root According to regulating command, build environment parameter information, ambient parameter information includes:The environmental parameter that terminal is obtained in current time measurement Measured value and target value, and to server send ambient parameter information, in order to which server is true according to measured value and target value Set the goal function, is determined to realize at least two target home equipments of objective function, and controlled according to ambient parameter information The operation of at least two target home equipments.Since server controls at least two target home equipments fortune according to ambient parameter information Therefore row solves the problems, such as that the control process of home equipment in the related technology is complicated, has reached simplified home equipment and controlled The beneficial effect of journey.
Figure 11 is a kind of structural schematic diagram of home equipment control system 1100 shown according to an exemplary embodiment.Ginseng See Figure 11, which may include:Server 1110 and terminal 1120.
Server 1110 includes Fig. 5, Fig. 6 or home equipment control device shown in Fig. 9;
Terminal 1120 includes Fig. 7, Fig. 8 or home equipment control device shown in Fig. 10.
In conclusion the home equipment control system that the embodiment of the present disclosure provides, what server was sent by receiving terminal Ambient parameter information, ambient parameter information include:The measured value and terminal for the environmental parameter that terminal is obtained in current time measurement The target value of the environmental parameter carried in received regulating command, environmental parameter are used to characterize the environment in space locating for home equipment Feature;Objective function is determined according to measured value and target value;It is determined to realize that at least two target households of objective function are set It is standby;The operation of at least two target home equipments is controlled according to ambient parameter information.Since server is according to ambient parameter information control The operation of at least two target home equipments is made, therefore, solves the problems, such as that the control process of home equipment in the related technology is complicated, The beneficial effect of simplified home equipment control process is reached.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (24)

1. a kind of home equipment control method, which is characterized in that the method includes:
The ambient parameter information that terminal is sent is received, the ambient parameter information includes:The terminal measures at current time To environmental parameter measured value and the received regulating command of the terminal in the target value of the environmental parameter that carries, it is described Environmental parameter is used to characterize the environmental characteristic in space locating for home equipment;
Compare the size of the measured value and the target value;
Objective function is determined according to comparison result;
It is determined to realize at least two target home equipments of the objective function;
At least two targets home equipment operation is controlled according to the ambient parameter information;
Wherein, described that at least two targets home equipment operation is controlled according to the ambient parameter information, including:
When the comparison result is that the measured value is equal to the target value, at least two targets home equipment is detected Operating status, the operating status include any one in open state and closed state;
When in the open state there are at least one target home equipment in at least two targets home equipment, determine every It is able to maintain the object run power of the target value when a target home equipment isolated operation, obtains at least two targets Run power;
Determine the smallest object run power in at least two object runs power;
The corresponding target home equipment of the smallest object run power is controlled to transport according to the smallest object run power Row;
It controls and removes the corresponding target home equipment of the smallest object run power in at least two targets home equipment Target home equipment in addition is closed.
2. method according to claim 1, which is characterized in that the method also includes:
Obtain the type identification of each home equipment in registered home equipment;
The corresponding relationship that preset type identification and Function Identification are inquired according to the type identification of each home equipment, obtains Each home equipment corresponding first function collection, at least one Function Identification of the first function centralized recording;
The union for obtaining the first function collection of the registered home equipment obtains the second function collection, the second function collection Have recorded the device identification of the registered home equipment and the corresponding relationship of Function Identification.
3. method according to claim 2, which is characterized in that described to be determined to realize at least two of the objective function Target home equipment, including:
Determine the Function Identification of the objective function;
The second function collection is inquired, corresponding at least two device identification of Function Identification of the objective function is obtained;
Using the corresponding home equipment of each device identification at least two device identification as target home equipment, obtain At least two targets home equipment.
4. method according to claim 1, which is characterized in that described according to ambient parameter information control described at least two A target home equipment is run, and further includes:
It is described extremely according to ambient parameter information holding when the comparison result is that the measured value is equal to the target value The operating status of few two target home equipments.
5. method according to claim 1, which is characterized in that described according to ambient parameter information control described at least two A target home equipment operation, including:
When the comparison result is that the measured value is not equal to the target value, at least two targets home equipment is determined The environmental parameter is adjusted at least two object run power of the target value by the measured value when running simultaneously;
Determine the smallest object run power in at least two object runs power;
At least two targets home equipment is controlled according to the smallest object run Power operation.
6. method according to any one of claims 1 to 5, which is characterized in that
The environmental parameter includes any one in temperature, humidity and intensity of illumination.
7. a kind of home equipment control method, which is characterized in that the method includes:
Regulating command is received, the target value of environmental parameter is carried in the regulating command, the environmental parameter is for characterizing household The environmental characteristic in space locating for equipment;
According to the regulating command, build environment parameter information, the ambient parameter information includes:Terminal measures at current time The measured value of obtained environmental parameter and the target value;
The ambient parameter information is sent to server, and the server is big for the measured value and the target value It is small, and objective function is determined according to comparison result, it is determined to realize at least two target home equipments of the objective function, And at least two targets home equipment is controlled according to the ambient parameter information and is run;
Wherein, when the comparison result is that the measured value is equal to the target value, the server detection described at least two The operating status of a target home equipment, the operating status include any one in open state and closed state;Work as institute When stating in the open state there are at least one target home equipment at least two target home equipments, the server is determined It is able to maintain the object run power of the target value when each target home equipment isolated operation, obtains at least two mesh Mark operation power, and determine the smallest object run power in at least two object runs power, it controls described the smallest The corresponding target home equipment of object run power is described at least according to the smallest object run Power operation, and control Target household in two target home equipments in addition to the corresponding target home equipment of the smallest object run power is set It is standby to close.
8. method according to claim 7, which is characterized in that
The reception regulating command carries the target value of environmental parameter in the regulating command, including:
Receive the second function collection that the server is sent, the equipment that the second function collection has recorded registered home equipment The corresponding relationship of mark and Function Identification;
Show the second function collection;
It receives the Function Identification concentrated to second function and is operated triggered regulating command, taken in the regulating command Target value with the environmental parameter.
9. method according to claim 7, which is characterized in that the method also includes:
The measured value of environmental parameter described in current time is obtained by the way that environmental parameter sensor on the terminal is arranged.
10. according to any method of claim 7 to 9, which is characterized in that
The environmental parameter includes any one in temperature, humidity and intensity of illumination.
11. a kind of home equipment control device, which is characterized in that described device includes:
Receiving module is configured as receiving the ambient parameter information that terminal is sent, and the ambient parameter information includes:The terminal The environment carried in the measured value for the environmental parameter that current time measurement obtains and the received regulating command of the terminal The target value of parameter, the environmental parameter are used to characterize the environmental characteristic in space locating for home equipment;
First determining module is configured as the size of measured value described in comparison and the target value;
First determining module, is additionally configured to determine objective function according to comparison result;
Second determining module is configured to determine that at least two target home equipments that can be realized the objective function;
Control module is configured as controlling at least two targets home equipment operation according to the ambient parameter information;
The control module, is additionally configured to:
When the comparison result is that the measured value is equal to the target value, at least two targets home equipment is detected Operating status, the operating status include any one in open state and closed state;
When in the open state there are at least one target home equipment in at least two targets home equipment, determine every It is able to maintain the object run power of the target value when a target home equipment isolated operation, obtains at least two targets Run power;
Determine the smallest object run power in at least two object runs power;
The corresponding target home equipment of the smallest object run power is controlled to transport according to the smallest object run power Row;
It controls and removes the corresponding target home equipment of the smallest object run power in at least two targets home equipment Target home equipment in addition is closed.
12. device according to claim 11, which is characterized in that described device further includes:
First obtains module, is configured as obtaining the type identification of each home equipment in registered home equipment;
Enquiry module is configured as inquiring preset type identification and function mark according to the type identification of each home equipment The corresponding relationship of knowledge, obtain the corresponding first function collection of each home equipment, and the first function centralized recording is at least One Function Identification;
Second obtains module, is configured as obtaining the union of the first function collection of the registered home equipment, obtains second Function collection, the second function collection have recorded the device identification pass corresponding with Function Identification of the registered home equipment System.
13. device according to claim 12, which is characterized in that
Second determining module, is configured as:
Determine the Function Identification of the objective function;
The second function collection is inquired, corresponding at least two device identification of Function Identification of the objective function is obtained;
Using the corresponding home equipment of each device identification at least two device identification as target home equipment, obtain At least two targets home equipment.
14. device according to claim 11, which is characterized in that
The control module, is configured as:
It is described extremely according to ambient parameter information holding when the comparison result is that the measured value is equal to the target value The operating status of few two target home equipments.
15. device according to claim 11, which is characterized in that
The control module, is configured as:
When the comparison result is that the measured value is not equal to the target value, at least two targets home equipment is determined The environmental parameter is adjusted at least two object run power of the target value by the measured value when running simultaneously;
Determine the smallest object run power in at least two object runs power;
At least two targets home equipment is controlled according to the smallest object run Power operation.
16. 1 to 15 any device according to claim 1, which is characterized in that
The environmental parameter includes any one in temperature, humidity and intensity of illumination.
17. a kind of home equipment control device, which is characterized in that described device includes:
Receiving module is configured as receiving regulating command, the target value of environmental parameter, the environment is carried in the regulating command Parameter is used to characterize the environmental characteristic in space locating for home equipment;
Generation module is configured as according to the regulating command, build environment parameter information, and the ambient parameter information includes: The measured value for the environmental parameter that terminal is obtained in current time measurement and the target value;
Sending module is configured as sending the ambient parameter information to server, and the server is used for the measurement The size of value and the target value, and objective function is determined according to comparison result, it is determined to realize the objective function extremely Few two target home equipments, and at least two targets home equipment is controlled according to the ambient parameter information and is run;
Wherein, when the comparison result is that the measured value is equal to the target value, the server detection described at least two The operating status of a target home equipment, the operating status include any one in open state and closed state;Work as institute When stating in the open state there are at least one target home equipment at least two target home equipments, the server is determined It is able to maintain the object run power of the target value when each target home equipment isolated operation, obtains at least two mesh Mark operation power, and determine the smallest object run power in at least two object runs power, it controls described the smallest The corresponding target home equipment of object run power is described at least according to the smallest object run Power operation, and control Target household in two target home equipments in addition to the corresponding target home equipment of the smallest object run power is set It is standby to close.
18. 7 described device according to claim 1, which is characterized in that
The receiving module, is configured as:
Receive the second function collection that the server is sent, the equipment that the second function collection has recorded registered home equipment The corresponding relationship of mark and Function Identification;
Show the second function collection;
It receives the Function Identification concentrated to second function and is operated triggered regulating command, taken in the regulating command Target value with the environmental parameter.
19. 7 described device according to claim 1, which is characterized in that described device further includes:
Module is obtained, is configured as by the way that environment described in environmental parameter sensor acquisition current time on the terminal is arranged The measured value of parameter.
20. 7 to 19 any device according to claim 1, which is characterized in that
The environmental parameter includes any one in temperature, humidity and intensity of illumination.
21. a kind of home equipment control device, which is characterized in that including:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
The ambient parameter information that terminal is sent is received, the ambient parameter information includes:The terminal measures at current time To environmental parameter measured value and the received regulating command of the terminal in the target value of the environmental parameter that carries, it is described Environmental parameter is used to characterize the environmental characteristic in space locating for home equipment;
Compare the size of the measured value and the target value;
Objective function is determined according to comparison result;
It is determined to realize at least two target home equipments of the objective function;
At least two targets home equipment operation is controlled according to the ambient parameter information;
Wherein, described that at least two targets home equipment operation is controlled according to the ambient parameter information, including:
When the comparison result is that the measured value is equal to the target value, at least two targets home equipment is detected Operating status, the operating status include any one in open state and closed state;
When in the open state there are at least one target home equipment in at least two targets home equipment, determine every It is able to maintain the object run power of the target value when a target home equipment isolated operation, obtains at least two targets Run power;
Determine the smallest object run power in at least two object runs power;
The corresponding target home equipment of the smallest object run power is controlled to transport according to the smallest object run power Row;
It controls and removes the corresponding target home equipment of the smallest object run power in at least two targets home equipment Target home equipment in addition is closed.
22. a kind of home equipment control device, which is characterized in that including:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
Regulating command is received, the target value of environmental parameter is carried in the regulating command, the environmental parameter is for characterizing household The environmental characteristic in space locating for equipment;
According to the regulating command, build environment parameter information, the ambient parameter information includes:Terminal measures at current time The measured value of obtained environmental parameter and the target value;
The ambient parameter information is sent to server, and the server is big for the measured value and the target value It is small, and objective function is determined according to comparison result, it is determined to realize at least two target home equipments of the objective function, And at least two targets home equipment is controlled according to the ambient parameter information and is run;
Wherein, when the comparison result is that the measured value is equal to the target value, the server detection described at least two The operating status of a target home equipment, the operating status include any one in open state and closed state;Work as institute When stating in the open state there are at least one target home equipment at least two target home equipments, the server is determined It is able to maintain the object run power of the target value when each target home equipment isolated operation, obtains at least two mesh Mark operation power, and determine the smallest object run power in at least two object runs power, it controls described the smallest The corresponding target home equipment of object run power is described at least according to the smallest object run Power operation, and control Target household in two target home equipments in addition to the corresponding target home equipment of the smallest object run power is set It is standby to close.
23. a kind of home equipment control system, which is characterized in that the system comprises:Server and terminal,
The server includes any home equipment control device of claim 11 to 16;
The terminal includes any home equipment control device of claim 17 to 20.
24. a kind of home equipment control system, which is characterized in that the system comprises:Server and terminal,
The server includes home equipment control device described in claim 21;
The terminal includes home equipment control device described in claim 22.
CN201510634682.6A 2015-09-29 2015-09-29 Home equipment control method, apparatus and system Active CN105223826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510634682.6A CN105223826B (en) 2015-09-29 2015-09-29 Home equipment control method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510634682.6A CN105223826B (en) 2015-09-29 2015-09-29 Home equipment control method, apparatus and system

Publications (2)

Publication Number Publication Date
CN105223826A CN105223826A (en) 2016-01-06
CN105223826B true CN105223826B (en) 2018-11-30

Family

ID=54992863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510634682.6A Active CN105223826B (en) 2015-09-29 2015-09-29 Home equipment control method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105223826B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106707782B (en) * 2016-12-20 2020-09-11 北京小米移动软件有限公司 Environmental parameter processing method, equipment binding method and device
CN108235721B (en) * 2017-05-22 2020-10-09 深圳微自然创新科技有限公司 Information display method, terminal and server
CN107347010B (en) * 2017-06-29 2021-02-26 广东美的制冷设备有限公司 Internet of things equipment control method, equipment and system
CN109765854A (en) * 2017-11-09 2019-05-17 北京君正集成电路股份有限公司 The control display methods and device of equipment
CN110868763B (en) 2019-11-08 2022-06-03 京东方科技集团股份有限公司 Method, device and system for establishing Bluetooth connection
CN112848835B (en) * 2019-11-26 2022-09-30 佛山市云米电器科技有限公司 Room temperature adjusting method, room temperature adjusting system, control device and readable storage medium
CN111459037B (en) * 2020-02-27 2021-09-14 珠海格力电器股份有限公司 Intelligent household system control method and device, electronic equipment and readable storage medium
CN111654420A (en) * 2020-05-18 2020-09-11 珠海格力电器股份有限公司 Method and device for controlling household equipment, computer equipment and storage medium
CN112351084B (en) * 2020-10-28 2022-02-25 珠海格力电器股份有限公司 Data transmission method and device, processor and electronic device
CN112286115B (en) * 2020-11-17 2022-04-08 珠海格力电器股份有限公司 Control method and device of intelligent household equipment
CN112904738A (en) * 2021-01-19 2021-06-04 珠海格力电器股份有限公司 Equipment linkage control method, system, device, storage medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104633851A (en) * 2015-01-20 2015-05-20 四川长虹电器股份有限公司 Information output method and control device
CN104793505A (en) * 2015-04-10 2015-07-22 小米科技有限责任公司 Environmental parameter processing method and device and host equipment
CN104808500A (en) * 2015-03-31 2015-07-29 小米科技有限责任公司 Task setting method and device
CN104852975A (en) * 2015-04-29 2015-08-19 北京海尔广科数字技术有限公司 Household equipment calling method and household equipment calling device
CN104896677A (en) * 2015-06-19 2015-09-09 联想(北京)有限公司 Air environment adjusting device, method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104633851A (en) * 2015-01-20 2015-05-20 四川长虹电器股份有限公司 Information output method and control device
CN104808500A (en) * 2015-03-31 2015-07-29 小米科技有限责任公司 Task setting method and device
CN104793505A (en) * 2015-04-10 2015-07-22 小米科技有限责任公司 Environmental parameter processing method and device and host equipment
CN104852975A (en) * 2015-04-29 2015-08-19 北京海尔广科数字技术有限公司 Household equipment calling method and household equipment calling device
CN104896677A (en) * 2015-06-19 2015-09-09 联想(北京)有限公司 Air environment adjusting device, method and system

Also Published As

Publication number Publication date
CN105223826A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105223826B (en) Home equipment control method, apparatus and system
US10601604B2 (en) Data processing systems and methods for smart hub devices
CN104915225B (en) Control the method and device of smart machine
CN104614998B (en) The method and apparatus for controlling home equipment
WO2017024740A1 (en) Apparatus control method and device
US20170048077A1 (en) Intelligent electric apparatus and controlling method of same
US9940828B2 (en) Home appliance control method and device
US10791259B2 (en) Devices and methods for repurposing IR transmitters
CN108520746A (en) The method, apparatus and storage medium of voice control smart machine
CN105607499A (en) Equipment grouping method and apparatus
CN105094321B (en) The control method and device of smart machine
CN104460593A (en) Mode switching method and device
CN106325089A (en) Wisdom hotel guest room ecological environment control system and method
CN105549944B (en) Equipment display methods and device
CN105093980B (en) Control the method and device of smart machine start and stop
CN105700366B (en) Apparatus control method, device and terminal
CN106292320A (en) Control the method and device that controlled device runs
CN108989162A (en) A kind of household intelligent robot steward system
CN106707782B (en) Environmental parameter processing method, equipment binding method and device
CN109388238A (en) The control method and device of a kind of electronic equipment
CN105759628A (en) Intelligent device arrangement method and device
CN105841297B (en) Control the method and device of operational mode
CN106997506A (en) The group technology and its system for the same space equipment marketed for striding equipment
CN109961793A (en) Handle the method and device of voice messaging
CN108282388A (en) For the apparatus and method to home equipment transfer data information

Legal Events

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