CN104315661A - Method and device for controlling work of air purifier - Google Patents
Method and device for controlling work of air purifier Download PDFInfo
- Publication number
- CN104315661A CN104315661A CN201410596767.5A CN201410596767A CN104315661A CN 104315661 A CN104315661 A CN 104315661A CN 201410596767 A CN201410596767 A CN 201410596767A CN 104315661 A CN104315661 A CN 104315661A
- Authority
- CN
- China
- Prior art keywords
- distance
- terminal
- reference distance
- air purifier
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/50—Air quality properties
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/59—Remote control for presetting
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Combustion & Propulsion (AREA)
- Mathematical Physics (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Quality & Reliability (AREA)
- Life Sciences & Earth Sciences (AREA)
- Atmospheric Sciences (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention relates to a method and a device for controlling work of an air purifier. The method and the device are used for realizing intelligent control on work of the air purifier according to position of a user and meeting needs, on intelligent control on the air purifier, of the user. The method includes acquiring a connecting terminal list of a router; determining a permanent terminal in the connecting terminal list; acquiring position of the permanent terminal; opening or closing the air purifier according to the position of the permanent terminal. By the technical scheme, intelligent control on the air purifier according to the position of the user is realized, and the needs, on intelligent control of the air purifier, of the user are met.
Description
Technical field
The disclosure relates to air purifier industry control technical field, particularly relates to the method and device that control air purifier work.
Background technology
Air purifier is used to the household appliances purified the air of a room, along with improving constantly of industrialization degree, the pollution of environment is also more and more serious, especially super-large city, such as Beijing, Shanghai, Guangzhou, North City is particularly serious, the haze weather always continued for these several years, a lot of resident is allowed to perplex very much, but the change of integrated environment, make people have no the power of resisting.In addition, southern urban also creates haze weather successively.Therefore people are to living environment pay attention to day by day, and the application of Household Air Purifier is more and more extensive.There is wretched insufficiency in current air purifier, can not meet the demand of people for air purifier Based Intelligent Control far away in Based Intelligent Control.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides the method and device that control air purifier work, in order to realize controlling air purifier work intelligently, meets the demand of user to Based Intelligent Control air purifier.
According to the first aspect of disclosure embodiment, a kind of method controlling air purifier work is provided, comprises:
Obtain the connection terminal list of router;
Determine the resident terminal in described connection terminal list;
Obtain the position of described resident terminal;
Open according to the position of described resident terminal or close air purifier.
In one embodiment, the described resident terminal determined in described connection terminal list, can comprise:
Obtain terminal accumulative connection duration separately in described connection terminal list;
Accumulative connection duration is equal to or greater than the terminal of preset duration, is defined as resident terminal.
In one embodiment, the described position according to described resident terminal is opened or is closed air purifier, can comprise:
According to the position of described resident terminal, determine the distance between described resident terminal and air purifier;
Judge the magnitude relationship between described distance and current reference distance;
When described distance is equal to or greater than current reference distance, close air purifier; When described distance is less than current reference distance, open air purifier.
In one embodiment, before the magnitude relationship between the described distance of described judgement and current reference distance, described method also can comprise:
Obtain current air mass parameter;
Judge whether current air mass reaches preset air quality according to described current air mass parameter;
When current air mass reaches preset air quality, obtain the first preset reference distance that described current air mass parameter is corresponding, using described first preset reference distance as described current reference distance;
When current air mass does not reach preset air quality, obtain the second preset reference distance that described current air mass parameter is corresponding, using described second preset reference distance as described current reference distance;
Wherein, described first preset reference distance is less than the second preset reference distance.
In one embodiment, described when described distance is equal to or greater than current reference distance, close air purifier, can comprise:
When described distance is equal to or greater than current reference distance, adds up described distance and be equal to or greater than the lasting duration of current reference apart from this state;
When described lasting duration is equal to or greater than the first preset duration, close air purifier.
In one embodiment, described when described distance is less than current reference distance, open air purifier, can comprise:
When described distance is less than current reference distance, adds up described distance and be less than the lasting duration of current reference apart from this state;
When described lasting duration is equal to or greater than the second preset duration, open air purifier.
In one embodiment, the position of the described resident terminal of described acquisition, can comprise:
Receive that described resident terminal sends start to obtain position command time, start the position obtaining described resident terminal.
In one embodiment, described method also can comprise:
When the position of described resident terminal is greater than described current reference distance or when the position of described resident terminal is in the close range of described air purifier, stop the position obtaining described resident terminal.
According to the second aspect of disclosure embodiment, a kind of device controlling air purifier work is provided, comprises:
List acquisition module, for obtaining the connection terminal list of router;
Terminal deciding module, for determining the resident terminal in described connection terminal list;
Position acquisition module, for obtaining the position of described resident terminal;
Control module, for opening according to the position of described resident terminal or closing air purifier.
In one embodiment, described terminal deciding module can comprise:
Duration obtains submodule, for obtaining terminal accumulative connection duration separately in described connection terminal list;
Terminal determination submodule, for accumulative connection duration being equal to or greater than the terminal of preset duration, is defined as resident terminal.
In one embodiment, described control module can comprise:
Distance determines submodule, for the position according to described resident terminal, determines the distance between described resident terminal and air purifier;
Judge submodule, for judging the magnitude relationship between described distance and current reference distance;
Close closed submodule, for when described distance is equal to or greater than current reference distance, close air purifier;
Open submodule, for when described distance is less than current reference distance, open air purifier.
In one embodiment, described device also can comprise:
Reference distance determination module, for judge the magnitude relationship between described distance and current reference distance at described judgement submodule before, obtains current air mass parameter; Judge whether current air mass reaches preset air quality according to described current air mass parameter; When current air mass reaches preset air quality, obtain the first preset reference distance that described current air mass parameter is corresponding, using described first preset reference distance as described current reference distance; When current air mass does not reach preset air quality, obtain the second preset reference distance that described current air mass parameter is corresponding, using described second preset reference distance as described current reference distance; Wherein, described first preset reference distance is less than the second preset reference distance.
In one embodiment, described pass closed submodule, also for when described distance is equal to or greater than current reference distance, adds up described distance and is equal to or greater than the lasting duration of current reference apart from this state; When described lasting duration is equal to or greater than the first preset duration, close air purifier.
In one embodiment, described unlatching submodule, also for when described distance is less than current reference distance, adds up described distance and is less than the lasting duration of current reference apart from this state; When described lasting duration is equal to or greater than the second preset duration, open air purifier.
In one embodiment, described position acquisition module can comprise:
Position acquisition submodule, for receive that described resident terminal sends start to obtain position command time, start the position obtaining described resident terminal.
In one embodiment, described device also can comprise:
Stop acquisition module, for when the position of described resident terminal is greater than described current reference distance or when the position of described resident terminal is in the close range of described air purifier, stop the position obtaining described resident terminal.
According to the third aspect of disclosure embodiment, a kind of device controlling air purifier work is provided, it is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the connection terminal list of router;
Determine the resident terminal in described connection terminal list;
Obtain the position of described resident terminal;
Open according to the position of described resident terminal or close air purifier.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In the technique scheme that disclosure embodiment provides, the position of what in fact the position of resident terminal represented the is user of resident terminal, therefore, said method controls to open or close air purifier according to the position of user, thus, achieve and control air purifier intelligently according to the position of user, meet the demand of user to Based Intelligent Control air purifier.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in description and to form the part of this description, shows and meets embodiment of the present disclosure, and is used from description one and explains principle of the present disclosure.
Fig. 1 is a kind of method flow diagram controlling air purifier work according to an exemplary embodiment.
Fig. 2 is the method flow diagram of the another kind control air purifier work according to an exemplary embodiment.
Fig. 3 is a kind of block diagram controlling the device of air purifier work according to an exemplary embodiment.
Fig. 4 is a kind of block diagram controlling the device of air purifier work according to an exemplary embodiment.
Fig. 5 is a kind of block diagram controlling the device of air purifier work according to an exemplary embodiment.
Fig. 6 is a kind of block diagram (general structure of terminal device) being applicable to the recommendation apparatus taking apparatus according to an exemplary embodiment.
Detailed description of the invention
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is a kind of flow chart controlling the method for air purifier work according to an exemplary embodiment, as shown in Figure 1, the method to be used in air purifier or for control air purifier work terminal device as in mobile phone, comprise the following steps S101-S104:
In step S101, obtain the connection terminal list of router.
Wherein, due in the residence of people or office space, router and air purifier are all installed.The mode that air purifier obtains the connection terminal list of router can have a variety of, and can be such as have network to be connected between air purifier with router, air purifier directly can obtain the connection terminal list of router from router, also can be the connection terminal list first being obtained router by an intermediate equipment from router, the connection terminal list of router is sent to air purifier by wired data link by this intermediate equipment again, such as this intermediate equipment is a data storage device, air purifier there is the data-interface of this data storage device, after this data storage device first obtains the connection terminal list of router, insert the data-interface on air purifier, thus give air purifier by the transmission of the connection terminal list of router, air purifier is made to obtain the connection terminal list of router.Wherein, in the connection terminal list of router, the mark of the terminal that mobile terminal identification, wearable device mark etc. are connected with router can be comprised.
In step s 102, determine to connect the resident terminal in terminal list.
In one embodiment, due under normal circumstances, resident terminal is the terminal being often in connection status with router, and therefore, step S102 can be embodied as following process: obtain terminal accumulative connection duration separately in connection terminal list; Accumulative connection duration is equal to or greater than the terminal of preset duration, is defined as resident terminal.Wherein, obtaining and connect terminal accumulative connection duration separately in terminal list, can be obtain the terminal accumulative connection duration separately in section sometime; Such as, connect in terminal list and have five terminals, each terminal accumulative connection duration separately in the previous year that preset rules will obtain current time.Certainly, can also determine to connect the resident terminal in list by alternate manner, disclosure protection domain all should be positioned at.
In step s 103, the position of resident terminal is obtained.
In one embodiment, step S103 can be embodied as: send position acquisition request to resident terminal; Receive the position of the resident terminal that resident terminal returns after receiving position acquisition request.Or resident terminal regularly can report the position of resident terminal to air purifier according to predetermined period, now, step S103 also can be embodied as: obtain the position that resident terminal reports for the last time.Certainly, the position residing terminal can also be obtained by alternate manner, disclosure protection domain all should be positioned at.
In one embodiment, step S103 also can be undertaken by resident terminal control, and such as, step S103 may be embodied as: receive that resident terminal sends start to obtain position command time, start the position obtaining resident terminal.Such as, time within the user distance air purifier hundreds of kilometer of resident terminal, user can control resident terminal and start to obtain position command to air purifier transmission, when air purifier receives this instruction, just start the position obtaining resident terminal, and then carry out follow-up unlatching or closing control.Such embodiment makes the user of resident terminal can control whether to control the position whether air purifier will monitor resident terminal, make the unnecessary moment monitoring of air purifier and obtain the position residing terminal, scheme is more flexible and user-friendly, can avoid wasting energy.
Open in step S104, according to the position of resident terminal or close air purifier.
It should be noted that, above-mentioned resident terminal can be mobile device as mobile phone etc., also can be that wearable device is as Intelligent bracelet.The communication mode of air purifier and above-mentioned resident terminal can be the short-distance wireless communication modes such as bluetooth, also can be the long distance communications such as cellular mobile network.
In the said method that disclosure embodiment provides, the position of what in fact the position of resident terminal represented the is user of resident terminal, therefore, said method controls to open or close air purifier according to the position of user, thus, achieve and control air purifier intelligently, meet the demand of user to Based Intelligent Control air purifier.
In one embodiment, as shown in Figure 2, step S104 can be embodied as following steps S1041-1044:
In step S1041, according to the position residing terminal, determine the distance between resident terminal and air purifier.
In step S1042, judge between resident distance between terminal and air purifier and current reference distance magnitude relationship, when the distance between resident terminal and air purifier is equal to or greater than current reference distance, perform step S1043; When distance between resident terminal and air purifier is less than current reference distance, perform step S1044.
Wherein, current reference distance is for judging that the user of resident terminal is away from residence or office space or soon returns to quarters or office space.The value of current reference distance can be the value that of pre-setting is fixing, also can be the value relevant with air quality.Refer to the follow-up explanation about current reference distance.
When distance in step S1043, between resident terminal and air purifier is equal to or greater than current reference distance, close air purifier.
In one embodiment, when this distance of distance between resident terminal and air purifier is equal to or greater than current reference distance, illustrate that the user of resident terminal is away from residence or office space, thus closedown air purifier, avoid air purifier to carry out unnecessary work, avoid wasting resource.
In one embodiment, step S1043 can be embodied as: when the distance between resident terminal and air purifier is equal to or greater than current reference distance, and the resident distance between terminal and air purifier of statistics is equal to or greater than the lasting duration of current reference apart from this state; When this lasting duration is equal to or greater than the first preset duration, close air purifier.This kind of embodiment, consider that the user of sometimes resident terminal may be once in a while away from air purifier, in order to avoid making a fault to the judgement of user's status, in above-mentioned embodiment, add the resident distance between terminal and air purifier of statistics and be equal to or greater than the lasting duration of current reference apart from this state, if this lasting duration is equal to or greater than a default duration, then can determine user there is a strong possibility that property is being in the state away from air purifier constantly, therefore, now close air purifier again, can avoid controlling error, improve the accuracy controlled.
When distance in step S1044, between resident terminal and air purifier is less than current reference distance, open air purifier.
In one embodiment, when distance between resident terminal and air purifier is less than current reference distance, illustrate that the user of resident terminal may soon return to quarters or office space, thus can air purifier be opened, air purifier is made to return to quarters user or just can carry out purification of air work before office space, make user return to quarters or office space time, just can experience high-quality air in time.
In one embodiment, step S1044 can be embodied as: when the distance between resident terminal and air purifier is less than current reference distance, and the resident distance between terminal and air purifier of statistics is less than the lasting duration of current reference apart from this state; When this lasting duration is equal to or greater than the second preset duration, open air purifier.This kind of embodiment, consider that the user of sometimes resident terminal may be once in a while near air purifier, in order to avoid making a fault to the judgement of user's status, in above-mentioned embodiment, add the resident distance between terminal and air purifier of statistics and be less than the lasting duration of current reference apart from this state, if this lasting duration is equal to or greater than a default duration, then can determine user there is a strong possibility that property is being in constantly in the state of air purifier, therefore, now open air purifier again, can avoid controlling error, improve the accuracy controlled.
In one embodiment, when the position that said method can also work as resident terminal is greater than current reference distance or when the position of resident terminal is in the close range of air purifier, stop obtaining the position residing terminal.Wherein, close range can be prespecified, and such as distance air purifier is 20 meters.This embodiment, when the user of resident terminal is away from air purifier or near air purifier, air purifier just stops the position obtaining resident terminal automatically, because user distance is too far away, just do not need the moment to monitor its position, avoid wasting energy; User nearby time, the effect carrying out controlling according to other factors such as air quality can be better, and the position always obtaining resident terminal also can produce unnecessary energy waste.
The following describes the current reference distance in step S1042:
Current reference distance is except can being value that of pre-setting is fixing, and current reference distance can be also the value relevant to current air mass.If current reference distance is the value relevant to current air mass, then, before execution step S1042, said method can also comprise the process according to current air mass determination current reference distance, and this process comprises the steps A1-A4:
In steps A 1, obtain current air mass parameter.
Wherein, current air mass parameter is the parameter that can reflect air quality quality, such as air purity, content of oxygen in air etc.
In steps A 2, according to current air mass parameter, judge whether current air mass reaches preset air quality, when current air mass reaches preset air quality, perform steps A 3; When current air mass does not reach preset air quality, perform steps A 4.
Wherein, preset air quality can specify according to air quality parameters in advance, such as air purity reach 80% or content of oxygen in air reach 21% for the air quality that feels comfortably cool can be made us, the air quality represented by above-mentioned parameter is set as preset air quality.If current air mass parameter is oxygen content 19% in present air, then the oxygen content standard owing to not reaching above-mentioned 21%, therefore, can determine that current air mass does not reach preset air quality; If current air mass parameter is oxygen content 22% in present air, then the oxygen content standard owing to reaching above-mentioned 21%, therefore, can determine that current air mass reaches preset air quality.
In steps A 3, when current air mass reaches preset air quality, obtain the first preset reference distance that current air mass parameter is corresponding, using the first preset reference distance as current reference distance.
In steps A 4, when current air mass does not reach preset air quality, obtain the second preset reference distance that current air mass parameter is corresponding, using the second preset reference distance as current reference distance; Wherein, the first preset reference distance is less than the second preset reference distance.
That is, arranging different reference distances for different air qualities in advance, wherein, for air quality arranges less reference distance preferably, is the reference distance that setting that air quality is poor is larger.Like this, just can at current air mass poor and the user of resident terminal soon returns to quarters or office space time, air purifier can have the long period to purify air in advance, ensure user return to quarters or office space time can experience good air; And current air mass better and the user of resident terminal soon returns to quarters or office space time, as long as the less time purifies air air purifier in advance, ensure user return to quarters or office space time can experience good air, also save the energy simultaneously.
The said method that corresponding disclosure embodiment provides, disclosure embodiment also provides a kind of device controlling air purifier work, and for air purifier or control in the terminal device of air purifier, as shown in Figure 3, this device comprises:
List acquisition module 31, for obtaining the connection terminal list of router;
Terminal deciding module 32, connects the resident terminal in terminal list for determining;
Position acquisition module 33, for obtaining the position of resident terminal;
Control module 34, for opening according to the position of resident terminal or closing air purifier.
In one embodiment, above-mentioned terminal deciding module can comprise:
Duration obtains submodule, connects terminal accumulative connection duration separately in terminal list for obtaining;
Terminal determination submodule, for accumulative connection duration being equal to or greater than the terminal of preset duration, is defined as resident terminal.
In one embodiment, above-mentioned control module can comprise:
Distance determines submodule, for the position according to resident terminal, determines the distance between resident terminal and air purifier;
Judge submodule, for the magnitude relationship between judging distance and current reference distance;
Close closed submodule, during for being equal to or greater than current reference distance when distance, close air purifier;
Open submodule, during for being less than current reference distance when distance, open air purifier.
In one embodiment, as shown in Figure 4, said apparatus also can comprise:
Reference distance determination module 41, for before judging the magnitude relationship between submodule judging distance and current reference distance, obtains current air mass parameter; Judge whether current air mass reaches preset air quality according to current air mass parameter; When current air mass reaches preset air quality, obtain the first preset reference distance that current air mass parameter is corresponding, using the first preset reference distance as current reference distance; When current air mass does not reach preset air quality, obtain the second preset reference distance that current air mass parameter is corresponding, using the second preset reference distance as current reference distance; Wherein, the first preset reference distance is less than the second preset reference distance.
In one embodiment, above-mentioned pass closed submodule, also can be used for when distance is equal to or greater than current reference distance, and statistical distance is equal to or greater than the lasting duration of current reference apart from this state; When lasting duration is equal to or greater than the first preset duration, close air purifier.
In one embodiment, above-mentioned unlatching submodule, also can be used for when distance is less than current reference distance, and statistical distance is less than the lasting duration of current reference apart from this state; When lasting duration is equal to or greater than the second preset duration, open air purifier.
In one embodiment, above-mentioned position acquisition module can comprise:
Position acquisition submodule, for receive that resident terminal sends start to obtain position command time, start the position obtaining resident terminal.
In one embodiment, as shown in Figure 5, said apparatus also can comprise:
Stop acquisition module 51, for when the position of resident terminal is greater than current reference distance or when the position of resident terminal is in the close range of air purifier, stop the position obtaining resident terminal.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 6 is the block diagram of a kind of device 1200 for controlling air purifier work according to an exemplary embodiment, and this device is applicable to terminal device.Such as, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 6, device 1200 can comprise following one or more assembly: processing components 1202, memory 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor cluster 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing unit 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Memory 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loudspeaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1214 comprises one or more sensor, for providing the state estimation of various aspects for device 1200.Such as, sensor cluster 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right checkout gear 1200 of sensor cluster 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the variations in temperature of device 1200 orientation or acceleration/deceleration and device 1200.Sensor cluster 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1204 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Control a device for air purifier work, it is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the connection terminal list of router;
Determine the resident terminal in described connection terminal list;
Obtain the position of described resident terminal;
Open according to the position of described resident terminal or close air purifier.
This processor also can be configured to:
The described resident terminal determined in described connection terminal list, comprising:
Obtain terminal accumulative connection duration separately in described connection terminal list;
Accumulative connection duration is equal to or greater than the terminal of preset duration, is defined as resident terminal.
This processor also can be configured to:
The described position according to described resident terminal is opened or is closed air purifier, comprising:
According to the position of described resident terminal, determine the distance between described resident terminal and air purifier;
Judge the magnitude relationship between described distance and current reference distance;
When described distance is equal to or greater than current reference distance, close air purifier; When described distance is less than current reference distance, open air purifier.
This processor also can be configured to:
Before magnitude relationship between the described distance of described judgement and current reference distance, described method also comprises:
Obtain current air mass parameter;
Judge whether current air mass reaches preset air quality according to described current air mass parameter;
When current air mass reaches preset air quality, obtain the first preset reference distance that described current air mass parameter is corresponding, using described first preset reference distance as described current reference distance;
When current air mass does not reach preset air quality, obtain the second preset reference distance that described current air mass parameter is corresponding, using described second preset reference distance as described current reference distance;
Wherein, described first preset reference distance is less than the second preset reference distance.
This processor also can be configured to:
Described when described distance is equal to or greater than current reference distance, close air purifier, comprising:
When described distance is equal to or greater than current reference distance, adds up described distance and be equal to or greater than the lasting duration of current reference apart from this state;
When described lasting duration is equal to or greater than the first preset duration, close air purifier.
This processor also can be configured to:
Described when described distance is less than current reference distance, open air purifier, comprising:
When described distance is less than current reference distance, adds up described distance and be less than the lasting duration of current reference apart from this state;
When described lasting duration is equal to or greater than the second preset duration, open air purifier.
This processor also can be configured to:
The position of the described resident terminal of described acquisition, comprising:
Receive that described resident terminal sends start to obtain position command time, start the position obtaining described resident terminal.
This processor also can be configured to:
Described method also comprises:
When the position of described resident terminal is greater than described current reference distance or when the position of described resident terminal is in the close range of described air purifier, stop the position obtaining described resident terminal.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method controlling air purifier work, described method comprises:
Obtain the connection terminal list of router;
Determine the resident terminal in described connection terminal list;
Obtain the position of described resident terminal;
Open according to the position of described resident terminal or close air purifier.
In one embodiment, the described resident terminal determined in described connection terminal list, can comprise:
Obtain terminal accumulative connection duration separately in described connection terminal list;
Accumulative connection duration is equal to or greater than the terminal of preset duration, is defined as resident terminal.
In one embodiment, the described position according to described resident terminal is opened or is closed air purifier, can comprise:
According to the position of described resident terminal, determine the distance between described resident terminal and air purifier;
Judge the magnitude relationship between described distance and current reference distance;
When described distance is equal to or greater than current reference distance, close air purifier; When described distance is less than current reference distance, open air purifier.
In one embodiment, before the magnitude relationship between the described distance of described judgement and current reference distance, described method also can comprise:
Obtain current air mass parameter;
Judge whether current air mass reaches preset air quality according to described current air mass parameter;
When current air mass reaches preset air quality, obtain the first preset reference distance that described current air mass parameter is corresponding, using described first preset reference distance as described current reference distance;
When current air mass does not reach preset air quality, obtain the second preset reference distance that described current air mass parameter is corresponding, using described second preset reference distance as described current reference distance;
Wherein, described first preset reference distance is less than the second preset reference distance.
In one embodiment, described when described distance is equal to or greater than current reference distance, close air purifier, can comprise:
When described distance is equal to or greater than current reference distance, adds up described distance and be equal to or greater than the lasting duration of current reference apart from this state;
When described lasting duration is equal to or greater than the first preset duration, close air purifier.
In one embodiment, described when described distance is less than current reference distance, open air purifier, can comprise:
When described distance is less than current reference distance, adds up described distance and be less than the lasting duration of current reference apart from this state;
When described lasting duration is equal to or greater than the second preset duration, open air purifier.
In one embodiment, the position of the described resident terminal of described acquisition, can comprise:
Receive that described resident terminal sends start to obtain position command time, start the position obtaining described resident terminal.
In one embodiment, described method also can comprise:
When the position of described resident terminal is greater than described current reference distance or when the position of described resident terminal is in the close range of described air purifier, stop the position obtaining described resident terminal.
Those skilled in the art, at consideration description and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Description and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.
Claims (17)
1. control a method for air purifier work, it is characterized in that, comprising:
Obtain the connection terminal list of router;
Determine the resident terminal in described connection terminal list;
Obtain the position of described resident terminal;
Open according to the position of described resident terminal or close air purifier.
2. the method for claim 1, is characterized in that,
The described resident terminal determined in described connection terminal list, comprising:
Obtain terminal accumulative connection duration separately in described connection terminal list;
Accumulative connection duration is equal to or greater than the terminal of preset duration, is defined as resident terminal.
3. the method for claim 1, is characterized in that,
The described position according to described resident terminal is opened or is closed air purifier, comprising:
According to the position of described resident terminal, determine the distance between described resident terminal and air purifier;
Judge the magnitude relationship between described distance and current reference distance;
When described distance is equal to or greater than current reference distance, close air purifier; When described distance is less than current reference distance, open air purifier.
4. method as claimed in claim 3, is characterized in that,
Before magnitude relationship between the described distance of described judgement and current reference distance, described method also comprises:
Obtain current air mass parameter;
Judge whether current air mass reaches preset air quality according to described current air mass parameter;
When current air mass reaches preset air quality, obtain the first preset reference distance that described current air mass parameter is corresponding, using described first preset reference distance as described current reference distance;
When current air mass does not reach preset air quality, obtain the second preset reference distance that described current air mass parameter is corresponding, using described second preset reference distance as described current reference distance;
Wherein, described first preset reference distance is less than the second preset reference distance.
5. method as claimed in claim 3, is characterized in that,
Described when described distance is equal to or greater than current reference distance, close air purifier, comprising:
When described distance is equal to or greater than current reference distance, adds up described distance and be equal to or greater than the lasting duration of current reference apart from this state;
When described lasting duration is equal to or greater than the first preset duration, close air purifier.
6. method as claimed in claim 3, is characterized in that,
Described when described distance is less than current reference distance, open air purifier, comprising:
When described distance is less than current reference distance, adds up described distance and be less than the lasting duration of current reference apart from this state;
When described lasting duration is equal to or greater than the second preset duration, open air purifier.
7. the method for claim 1, is characterized in that,
The position of the described resident terminal of described acquisition, comprising:
Receive that described resident terminal sends start to obtain position command time, start the position obtaining described resident terminal.
8. method as claimed in claim 3, it is characterized in that, described method also comprises:
When the position of described resident terminal is greater than described current reference distance or when the position of described resident terminal is in the close range of described air purifier, stop the position obtaining described resident terminal.
9. control a device for air purifier work, it is characterized in that, comprising:
List acquisition module, for obtaining the connection terminal list of router;
Terminal deciding module, for determining the resident terminal in described connection terminal list;
Position acquisition module, for obtaining the position of described resident terminal;
Control module, for opening according to the position of described resident terminal or closing air purifier.
10. device as claimed in claim 9, is characterized in that,
Described terminal deciding module comprises:
Duration obtains submodule, for obtaining terminal accumulative connection duration separately in described connection terminal list;
Terminal determination submodule, for accumulative connection duration being equal to or greater than the terminal of preset duration, is defined as resident terminal.
11. devices as claimed in claim 9, is characterized in that,
Described control module comprises:
Distance determines submodule, for the position according to described resident terminal, determines the distance between described resident terminal and air purifier;
Judge submodule, for judging the magnitude relationship between described distance and current reference distance;
Close closed submodule, for when described distance is equal to or greater than current reference distance, close air purifier;
Open submodule, for when described distance is less than current reference distance, open air purifier.
12. devices as claimed in claim 11, it is characterized in that, described device also comprises:
Reference distance determination module, for judge the magnitude relationship between described distance and current reference distance at described judgement submodule before, obtains current air mass parameter; Judge whether current air mass reaches preset air quality according to described current air mass parameter; When current air mass reaches preset air quality, obtain the first preset reference distance that described current air mass parameter is corresponding, using described first preset reference distance as described current reference distance; When current air mass does not reach preset air quality, obtain the second preset reference distance that described current air mass parameter is corresponding, using described second preset reference distance as described current reference distance; Wherein, described first preset reference distance is less than the second preset reference distance.
13. devices as claimed in claim 11, is characterized in that,
Described pass closed submodule, also for when described distance is equal to or greater than current reference distance, adds up described distance and is equal to or greater than the lasting duration of current reference apart from this state; When described lasting duration is equal to or greater than the first preset duration, close air purifier.
14. devices as claimed in claim 11, is characterized in that,
Described unlatching submodule, also for when described distance is less than current reference distance, adds up described distance and is less than the lasting duration of current reference apart from this state; When described lasting duration is equal to or greater than the second preset duration, open air purifier.
15. devices as claimed in claim 9, is characterized in that,
Described position acquisition module comprises:
Position acquisition submodule, for receive that described resident terminal sends start to obtain position command time, start the position obtaining described resident terminal.
16. devices as claimed in claim 11, it is characterized in that, described device also comprises:
Stop acquisition module, for when the position of described resident terminal is greater than described current reference distance or when the position of described resident terminal is in the close range of described air purifier, stop the position obtaining described resident terminal.
17. 1 kinds of devices controlling air purifier work, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the connection terminal list of router;
Determine the resident terminal in described connection terminal list;
Obtain the position of described resident terminal;
Open according to the position of described resident terminal or close air purifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410596767.5A CN104315661B (en) | 2014-10-29 | 2014-10-29 | Control the method and device of air purifier work |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410596767.5A CN104315661B (en) | 2014-10-29 | 2014-10-29 | Control the method and device of air purifier work |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104315661A true CN104315661A (en) | 2015-01-28 |
CN104315661B CN104315661B (en) | 2017-03-08 |
Family
ID=52370932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410596767.5A Active CN104315661B (en) | 2014-10-29 | 2014-10-29 | Control the method and device of air purifier work |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104315661B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105301183A (en) * | 2015-09-11 | 2016-02-03 | 小米科技有限责任公司 | Air quality detecting method and device |
CN105371426A (en) * | 2015-10-27 | 2016-03-02 | 深圳酷宅科技有限公司 | Intelligent air purifying system and use method thereof |
CN105472540A (en) * | 2015-12-07 | 2016-04-06 | 天脉聚源(北京)传媒科技有限公司 | Method and device for information interactionbetween mobile devices |
CN105485866A (en) * | 2015-11-27 | 2016-04-13 | 小米科技有限责任公司 | Control method and device for air purifier |
CN105650809A (en) * | 2015-12-30 | 2016-06-08 | 青岛海信电器股份有限公司 | Control method for smart home equipment, equipment and system |
CN105757880A (en) * | 2016-02-27 | 2016-07-13 | 孙华 | Indoor intelligent purification method and system |
CN112789450A (en) * | 2018-10-02 | 2021-05-11 | 夏普株式会社 | Air purifier and network system |
CN116045491A (en) * | 2023-01-03 | 2023-05-02 | 小米科技(武汉)有限公司 | Air conditioner control function recommendation method and device, storage medium and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1801047A (en) * | 2004-12-31 | 2006-07-12 | 联想(北京)有限公司 | Remote control system for computer and implementing method thereof |
US8316400B1 (en) * | 2008-07-03 | 2012-11-20 | Prime Research Alliance E., Inc. | Method and system for transfer of subscription media |
CN103245035A (en) * | 2012-02-10 | 2013-08-14 | 大金工业株式会社 | Air conditioning control system and air conditioning control method |
CN104006496A (en) * | 2014-05-26 | 2014-08-27 | 邯郸美的制冷设备有限公司 | Air-conditioning system, control method thereof and control method of air-conditioner |
CN104019522A (en) * | 2014-05-27 | 2014-09-03 | 珠海格力电器股份有限公司 | Air conditioner control method and system |
CN104102246A (en) * | 2013-04-11 | 2014-10-15 | 霍尼韦尔国际公司 | System and method with GEO location triggering automatic action |
-
2014
- 2014-10-29 CN CN201410596767.5A patent/CN104315661B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1801047A (en) * | 2004-12-31 | 2006-07-12 | 联想(北京)有限公司 | Remote control system for computer and implementing method thereof |
US8316400B1 (en) * | 2008-07-03 | 2012-11-20 | Prime Research Alliance E., Inc. | Method and system for transfer of subscription media |
CN103245035A (en) * | 2012-02-10 | 2013-08-14 | 大金工业株式会社 | Air conditioning control system and air conditioning control method |
CN104102246A (en) * | 2013-04-11 | 2014-10-15 | 霍尼韦尔国际公司 | System and method with GEO location triggering automatic action |
CN104006496A (en) * | 2014-05-26 | 2014-08-27 | 邯郸美的制冷设备有限公司 | Air-conditioning system, control method thereof and control method of air-conditioner |
CN104019522A (en) * | 2014-05-27 | 2014-09-03 | 珠海格力电器股份有限公司 | Air conditioner control method and system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105301183A (en) * | 2015-09-11 | 2016-02-03 | 小米科技有限责任公司 | Air quality detecting method and device |
CN105371426A (en) * | 2015-10-27 | 2016-03-02 | 深圳酷宅科技有限公司 | Intelligent air purifying system and use method thereof |
CN105485866A (en) * | 2015-11-27 | 2016-04-13 | 小米科技有限责任公司 | Control method and device for air purifier |
CN105472540A (en) * | 2015-12-07 | 2016-04-06 | 天脉聚源(北京)传媒科技有限公司 | Method and device for information interactionbetween mobile devices |
CN105650809A (en) * | 2015-12-30 | 2016-06-08 | 青岛海信电器股份有限公司 | Control method for smart home equipment, equipment and system |
CN105650809B (en) * | 2015-12-30 | 2019-05-07 | 青岛海信电器股份有限公司 | A kind of control method of smart home device, equipment and system |
CN105757880A (en) * | 2016-02-27 | 2016-07-13 | 孙华 | Indoor intelligent purification method and system |
CN112789450A (en) * | 2018-10-02 | 2021-05-11 | 夏普株式会社 | Air purifier and network system |
JPWO2020071184A1 (en) * | 2018-10-02 | 2021-09-02 | シャープ株式会社 | Air purifier and network system |
JP7370335B2 (en) | 2018-10-02 | 2023-10-27 | シャープ株式会社 | Air purifier and network system |
CN116045491A (en) * | 2023-01-03 | 2023-05-02 | 小米科技(武汉)有限公司 | Air conditioner control function recommendation method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104315661B (en) | 2017-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104315661A (en) | Method and device for controlling work of air purifier | |
EP3023928A1 (en) | Method and device for setting task | |
EP3131315A1 (en) | Working method and working device of intelligent electric apparatus | |
CN105261346A (en) | Backlight brightness adjusting method and device and terminal device | |
CN104637505B (en) | Audio frequency playing method and device | |
CN104932455A (en) | Intelligent device grouping method and device of intelligent household system | |
CN104614998A (en) | Method and device for controlling household equipment | |
CN104219388A (en) | Voice control method and device | |
CN104315662A (en) | Method and device for controlling work of air purifier | |
CN104601694A (en) | Operating control method, terminal, repeater device, intelligent equipment and device | |
CN104159255A (en) | Method of sharing network among terminals and device | |
CN104460365A (en) | Equipment control method and device | |
CN105338157A (en) | Nuisance call processing method, and device and telephone | |
CN104456831A (en) | Air purification warning method and device, user equipment and system | |
CN107368818A (en) | Meeting room state method to set up, device, system and storage medium | |
CN106371799A (en) | Volume control method and device for multimedia playback equipment | |
CN104159218A (en) | Network connection establishment method and device | |
CN105159523A (en) | Target function enabling method, apparatus and system | |
CN104460329A (en) | Intelligent device connection method and device | |
US20160147200A1 (en) | Method and device for setting up task | |
CN104378501A (en) | Phone number naming method and device | |
CN104315664A (en) | Device and method for controlling operation of air purifier | |
CN104978200A (en) | Application program display method and device | |
CN104653026A (en) | Method and device for controlling doors and windows | |
CN104834545A (en) | Method and system for starting terminals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160108 Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13 Applicant after: Xiaomi Technology Co., Ltd. Applicant after: BEIJING SMARTMI TECHNOLOGY CO., LTD. Address before: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13 Applicant before: Xiaomi Technology Co., Ltd. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |