[go: up one dir, main page]

CN104315661B - Control the method and device of air purifier work - Google Patents

Control the method and device of air purifier work Download PDF

Info

Publication number
CN104315661B
CN104315661B CN201410596767.5A CN201410596767A CN104315661B CN 104315661 B CN104315661 B CN 104315661B CN 201410596767 A CN201410596767 A CN 201410596767A CN 104315661 B CN104315661 B CN 104315661B
Authority
CN
China
Prior art keywords
distance
terminal
air purifier
current
duration
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
CN201410596767.5A
Other languages
Chinese (zh)
Other versions
CN104315661A (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
Beijing Smartmi Technology Co Ltd
Original Assignee
Xiaomi Inc
Beijing Smartmi Technology Co Ltd
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, Beijing Smartmi Technology Co Ltd filed Critical Xiaomi Inc
Priority to CN201410596767.5A priority Critical patent/CN104315661B/en
Publication of CN104315661A publication Critical patent/CN104315661A/en
Application granted granted Critical
Publication of CN104315661B publication Critical patent/CN104315661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/50Air quality properties
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/59Remote 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 disclosure is directed to controlling the method and device of air purifier work, working in order to realize the intelligently position control air purifier according to user, meeting the demand to Based Intelligent Control air purifier for the user.The method includes:Obtain the connection terminal list of router;Determine the described resident terminal connecting in terminal list;Obtain the position of described resident terminal;Air purifier is turned on and off according to the position of described resident terminal.The position that this technical scheme achieves according to user intelligently controls air purifier, meets the demand to Based Intelligent Control air purifier for the user.

Description

Control the method and device of air purifier work
Technical field
It relates to air purifier industry control technical field, more particularly, to control method and the dress of air purifier work Put.
Background technology
Air purifier is used to the household appliances purifying the air of a room, with the continuous improvement of industrialization degree, environment Pollution also increasingly severe, especially super-large city, such as Beijing, Shanghai, Guangzhou, North City is particularly acute, and this is several years The haze weather being continued for, allows a lot of residents to perplex very much, but the change of integrated environment is so that people have no to resist it Power.In addition, southern urban also creates haze weather successively., to living environment pay attention to day by day, domestic are empty for therefore people The application of gas purifier is more and more extensive.There is wretched insufficiency in current air purifier in terms of Based Intelligent Control, far can not Meet the demand for air purifier Based Intelligent Control for the people.
Content of the invention
For overcoming problem present in correlation technique, the embodiment of the present disclosure provide the method controlling air purifier work and Device, in order to realize intelligently controlling air purifier to work, meets the demand to Based Intelligent Control air purifier for the user.
According to the embodiment of the present disclosure in a first aspect, provide a kind of control air purifier work method, including:
Obtain the connection terminal list of router;
Determine the described resident terminal connecting in terminal list;
Obtain the position of described resident terminal;
Air purifier is turned on and off according to the position of described resident terminal.
In one embodiment, the described resident terminal determining in described connection terminal list, it may include:
Obtain the respective accumulative connection duration of terminal in described connection terminal list;
Connect, by accumulative, the terminal that duration is equal to or more than preset duration, be defined as resident terminal.
In one embodiment, the described position according to described resident terminal is turned on and off air purifier, it may include:
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 be equal to or more than current reference apart from when, close air purifier;When described distance is less than currently During reference distance, open air purifier.
In one embodiment, before the described magnitude relationship judging between described distance and current reference distance, described Method may also include:
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 described current air mass parameter corresponding first pre- If reference distance, using described first preset reference distance as described current reference distance;
When current air mass is not up to preset air quality, obtain described current air mass parameter corresponding second Preset reference distance, 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 be equal to or more than current reference apart from when, close air purifier, May include:
When described distance be equal to or more than current reference apart from when, count described distance be equal to or more than current reference distance The duration of this state;
When described duration is equal to or more than the first preset duration, close air purifier.
In one embodiment, described when described distance be less than current reference apart from when, open air purifier, can wrap Include:
When described distance be less than current reference apart from when, count described distance be less than current reference holding apart from this state Continuous duration;
When described duration is equal to or more than the second preset duration, open air purifier.
In one embodiment, the described position obtaining described resident terminal, it may include:
Receiving that described resident terminal sends when starting to obtain position command, starting to obtain described resident terminal Position.
In one embodiment, methods described may also include:
When the position of described resident terminal be more than described current reference apart from when or when the position of described resident terminal exists When in the close range of described air purifier, stop obtaining the position of described resident terminal.
According to the second aspect of the embodiment of the present disclosure, provide a kind of device controlling air purifier work, including:
List acquisition module, for obtaining the connection terminal list of router;
Terminal deciding module, for determining the described resident terminal connecting in terminal list;
Position acquisition module, for obtaining the position of described resident terminal;
Control module, for being turned on and off air purifier according to the position of described resident terminal.
In one embodiment, described terminal deciding module may include:
Duration acquisition submodule, for obtaining the respective accumulative connection duration of terminal in described connection terminal list;
Terminal determination sub-module, for connecting, by accumulative, the terminal that duration is equal to or more than preset duration, is defined as residing Terminal.
In one embodiment, described control module may include:
Apart from determination sub-module, for the position according to described resident terminal, determine described resident terminal and air cleaning The distance between device;
Judging submodule, for judging the magnitude relationship between described distance and current reference distance;
Close closed submodule, for when described distance be equal to or more than current reference apart from when, close air purifier;
Open submodule, for when described distance be less than current reference apart from when, open air purifier.
In one embodiment, described device may also include:
Reference distance determining module, for judging between described distance and current reference distance in described judging submodule Before magnitude relationship, obtain current air mass parameter;Judge that current air mass is according to described current air mass parameter No reach preset air quality;When current air mass reaches preset air quality, obtain described current air mass parameter Corresponding first preset reference distance, using described first preset reference distance as described current reference distance;Work as present air When quality is not up to preset air quality, obtain the corresponding second preset reference distance of described current air mass parameter, by institute State the second preset reference distance as described current reference distance;Wherein, described first preset reference distance is default less than second Reference distance.
In one embodiment, described pass closed submodule, is additionally operable to be equal to or more than current reference distance when described distance When, count described distance and be equal to or more than the duration apart from this state for the current reference;When described duration be equal to or During more than the first preset duration, close air purifier.
In one embodiment, described unlatching submodule, be additionally operable to when described distance be less than current reference apart from when, statistics Described distance is less than the duration apart from this state for the current reference;When described duration is default equal to or more than second When long, open air purifier.
In one embodiment, described position acquisition module may include:
Position acquisition submodule, for receiving that described resident terminal sends when starting to obtain position command, opens Begin to obtain the position of described resident terminal.
In one embodiment, described device may also include:
Stop acquisition module, for when described resident terminal position be more than described current reference apart from when or work as institute When the position stating resident terminal is in the close range of described air purifier, stop obtaining the position of described resident terminal.
According to the third aspect of the embodiment of the present disclosure, provide a kind of device controlling air purifier work, its feature exists In, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the connection terminal list of router;
Determine the described resident terminal connecting in terminal list;
Obtain the position of described resident terminal;
Air purifier is turned on and off according to the position of described resident terminal.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
In the technique scheme that the embodiment of the present disclosure provides, the position actually representative of resident terminal is resident terminal User position, therefore, said method is that the position according to user is turned on and off air purifier to control, thus, Achieve the position according to user and intelligently control air purifier, meet the need to Based Intelligent Control air purifier for the user Ask.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of method flow diagram of the control air purifier work according to an exemplary embodiment.
Fig. 2 is another kind of method flow diagram controlling air purifier work according to an exemplary embodiment.
Fig. 3 is a kind of block diagram of the device of control air purifier work according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the device of control air purifier work according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of the device of control air purifier work according to an exemplary embodiment.
Fig. 6 is a kind of block diagram (terminal being applied to the recommendation apparatus shooting apparatus according to an exemplary embodiment The general structure of equipment).
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
Fig. 1 is the flow chart of a kind of method of control air purifier work according to an exemplary embodiment, such as Shown in Fig. 1, the method is used in air purifier or for controlling in the terminal unit such as mobile phone that air purifier works, bag Include following steps S101-S104:
In step S101, the connection terminal list of acquisition router.
Wherein, due to, in the residence of people or office space, being fitted with router and air purifier.Air cleaning The mode that device obtains the connection terminal list of router can have many kinds, can be such as between air purifier and router There is network connection, air purifier directly can obtain the connection terminal list of router from router;Can also be by one Between equipment first obtain the connection terminal list of router from router, this intermediate equipment will be route by wired data link again The connection terminal list of device is sent to air purifier, and such as this intermediate equipment is a data storage device, on 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, insertion Data-interface on air purifier, thus the connection terminal list of router is sent giving air purifier, makes air net Change the connection terminal list that device obtains router.Wherein, in the connection terminal list of router, mobile terminal mark can be included The mark of the terminal that knowledge, wearable device mark etc. are connected with router.
In step s 102, determine the resident terminal connecting in terminal list.
In one embodiment, because under normal circumstances, resident terminal is often and router is in the end of connection status End, therefore, step S102 can be embodied as following process:Obtain and connect the respective accumulative connection duration of terminal in terminal list;Will Accumulative connection duration is equal to or more than the terminal of preset duration, is defined as resident terminal.Wherein, obtain and connect in terminal list eventually Hold respective accumulative connection duration, can be the respective accumulative connection duration of terminal obtaining in certain time period;Such as, connect Five terminals are had, when preset rules will obtain the respective accumulative connection of each terminal in the previous year of current time in terminal list Long.It is, of course, also possible to alternate manner determines the resident terminal connecting in list, all should be located in disclosure protection domain.
In step s 103, obtain the position of resident terminal.
In one embodiment, step S103 can be embodied as:Send position acquisition request to resident terminal;Receive resident whole The position of the resident terminal that end returns after receiving position acquisition request.Or, resident terminal can be according to predetermined period Periodically report the position of resident terminal to air purifier, now, step S103 also is embodied as:Obtain resident terminal last The secondary position reporting.It is, of course, also possible to alternate manner obtains the position of resident terminal, all should be located in disclosure protection domain.
In one embodiment, step S103 can also be carried out by resident terminal control, and such as, step S103 is permissible It is embodied as:Receiving that resident terminal sends when starting to obtain position command, starting to obtain the position of resident terminal.Example As, when within the user distance air purifier hundreds of kilometer of resident terminal, user can control resident terminal net to air Change device transmission to start to obtain position command, when air purifier receives this instruction, just start to obtain the position of resident terminal, And then carry out follow-up being turned on and off controlling.Such embodiment allows the user of resident terminal to control whether to control Air purifier processed whether will monitor the position of resident terminal so that the monitoring of air purifier unnecessary moment and acquisition are resident eventually The position at end, scheme is more flexible and user-friendly, is avoided that the waste energy.
In step S104, air purifier is turned on and off according to the position of resident terminal.
It should be noted that above-mentioned resident terminal can be mobile device such as mobile phone etc. or wearable device such as Intelligent bracelet.Air purifier can be the short-distance wireless communication mode such as bluetooth with the communication mode of above-mentioned resident terminal, also may be used To be the long distance communication such as cellular mobile network.
In the said method that the embodiment of the present disclosure provides, the position actually representative of resident terminal is the use residing terminal The position at family, therefore, said method is that the position according to user is turned on and off air purifier to control, it is thereby achieved that Intelligently control air purifier, meet the demand to Based Intelligent Control air purifier for the user.
In one embodiment, as shown in Fig. 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 the distance between terminal and air purifier and current reference distance Magnitude relationship, when the distance between resident terminal and air purifier be equal to or more than current reference apart from when, execution step S1043;When the distance between resident terminal and air purifier less than current reference apart from when, execution step S1044.
Wherein, current reference distance has been remote from residence or office space or fast for the user judging resident terminal Return to quarters or office space.The value of current reference distance can be the value of a fixation pre-setting or The value relevant with air quality.Refer to the explanation subsequently with respect to current reference distance.
In step S1043, when the distance between resident terminal and air purifier are equal to or more than current reference distance When, close air purifier.
In one embodiment, when resident terminal and the distance between air purifier this distance are equal to or more than current ginseng Examine apart from when, illustrate that the user of resident terminal has had moved away from residence or office space, thus closing air purifier, it is to avoid Air purifier carries out unnecessary work, it is to avoid waste of resource.
In one embodiment, step S1043 can be embodied as:When the distance between resident terminal and air purifier are equal to Or more than current reference apart from when, the distance between the resident terminal of statistics and air purifier are equal to or more than current reference distance The duration of this state;When this duration is equal to or more than the first preset duration, close air purifier.This kind of reality Apply mode, the user allowing for sometimes residing terminal may be once in a while away from air purifier, in order to avoid to The judgement of family status is made a fault, and in above-mentioned embodiment, increased statistics and resides between terminal and air purifier Distance equal to or more than current reference apart from this state duration, if this duration be equal to or more than default one Individual duration, then can determine that user there is a strong possibility that property is constantly to be in away from the state of air purifier, therefore, now Turn off air purifier, can avoid controlling error, improve the degree of accuracy controlling.
In step S1044, when the distance between resident terminal and air purifier be less than current reference apart from when, open Air purifier.
In one embodiment, when the distance between resident terminal and air purifier less than current reference apart from when, say The user of bright resident terminal may soon return to quarters or office space, such that it is able to open air purifier so that air Depurator user return to quarters or office space before just can carry out air cleaning work so that user returning to quarters or During office space, 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 are less than Current reference apart from when, the distance between the resident terminal of statistics and air purifier are less than current reference holding apart from this state Continuous duration;When this duration is equal to or more than the second preset duration, open air purifier.This kind of embodiment, is to examine The user considering sometimes resident terminal may be once in a while near air purifier, in order to avoid to user's status Judgement is made a fault, and in above-mentioned embodiment, increased the distance between the resident terminal of statistics and air purifier less than current The duration of this state of reference distance, if this duration is equal to or more than a default duration, can determine that use There is a strong possibility at family, and property is constantly is being in the state of air purifier, therefore, is now then turned on air purifier, Can avoid controlling error, improve the degree of accuracy controlling.
In one embodiment, said method can also work as resident terminal position be more than current reference apart from when or When the position of resident terminal is in the close range of air purifier, stop obtaining the position of resident terminal.Wherein, low coverage model Enclosing can be prespecified, is such as 20 meters apart from air purifier.This embodiment, when the user of resident terminal is away from air Depurator or when near air purifier, air purifier is just automatically stopped the position obtaining resident terminal, because User distance is too remote, does not just need constantly to monitor its position, it is to avoid waste the energy;User nearby when, according to other factorses ratio The effect to be controlled as air quality can more preferably, and the position of the resident terminal of acquisition always also can produce unnecessary energy Source wastes.
The illustratively current reference distance in step S1042 below:
, in addition to being the value of the fixation pre-setting, current reference distance can also for current reference distance It is the value related to current air mass.If current reference distance is the value related to current air mass, executing step Before rapid S1042, said method can also include determining the process of current reference distance according to current air mass, this process bag Include following steps A1-A4:
In step A1, obtain current air mass parameter.
Wherein, current air mass parameter is the parameter that can reflect air quality quality, such as air purity, air Middle oxygen content etc..
In step A2, judge whether current air mass reaches preset air quality according to current air mass parameter, When current air mass reaches preset air quality, execution step A3;When current air mass is not up to preset air quality When, execution step A4.
Wherein, preset air quality can specify, such as air purity reaches in advance according to air quality parameters 80% or content of oxygen in air to reach 21% be to make us the air quality that feels comfortably cool, the air that above-mentioned parameter is represented Quality settings are preset air quality.If current air mass parameter is oxygen content 19% in present air, due to not Reach above-mentioned 21% oxygen content standard, accordingly, it can be determined that current air mass is not up to preset air quality;If current Air quality parameters are oxygen content 22% in present air, then due to reaching above-mentioned 21% oxygen content standard, therefore, can Determine that current air mass reaches preset air quality.
In step A3, when current air mass reaches preset air quality, obtain current air mass parameter and correspond to The first preset reference distance, using the first preset reference distance as current reference distance.
In step A4, when current air mass is not up to preset air quality, obtain current air mass parameter pair The the second preset reference distance answered, using the second preset reference distance as current reference distance;Wherein, the first preset reference distance Less than the second preset reference distance.
That is, in advance different reference distances are set for different air qualities, wherein, are that air quality is preferably arranged relatively Little reference distance, is the larger reference distance of the poor setting of air quality.In this manner it is possible in current air mass relatively The user of difference and resident terminal soon returns to quarters or during office space, and air purifier can have the long period in advance to sky Gas is purified it is ensured that user is returning to quarters or can experience preferable air during office space;And in current air mass Preferably and the user of resident terminal soon returns to quarters or during office space, if air purifier in advance less time come right Air is purified, and is ensureing that user returns to quarters or can experience preferable air during office space, is also saving energy simultaneously Source.
The said method that the corresponding embodiment of the present disclosure provides, the embodiment of the present disclosure also provides a kind of control air purifier work The device made, in the terminal unit for air purifier or control air purifier, as shown in figure 3, this device includes:
List acquisition module 31, for obtaining the connection terminal list of router;
Terminal deciding module 32, for determining the resident terminal connecting in terminal list;
Position acquisition module 33, for obtaining the position of resident terminal;
Control module 34, for being turned on and off air purifier according to the position of resident terminal.
In one embodiment, above-mentioned terminal deciding module may include:
Duration acquisition submodule, connects the respective accumulative connection duration of terminal in terminal list for obtaining;
Terminal determination sub-module, for connecting, by accumulative, the terminal that duration is equal to or more than preset duration, is defined as residing Terminal.
In one embodiment, above-mentioned control module may include:
Apart from determination sub-module, for the position according to resident terminal, determine and reside between terminal and air purifier Distance;
Judging submodule, for the magnitude relationship between judging distance and current reference distance;
Close closed submodule, for when distance equal to or more than current reference apart from when, close air purifier;
Open submodule, for when distance less than current reference apart from when, open air purifier.
In one embodiment, as shown in figure 4, said apparatus may also include:
Reference distance determining module 41, closes for the size between judging submodule judging distance and current reference distance Before system, obtain current air mass parameter;Judge whether current air mass reaches according to current air mass parameter default Air quality;When current air mass reaches preset air quality, obtain current air mass parameter corresponding first and preset Reference distance, using the first preset reference distance as current reference distance;When current air mass is not up to preset air quality When, obtain the corresponding second preset reference distance of current air mass parameter, 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, it may also be used for when distance equal to or more than current reference apart from when, Statistical distance is equal to or more than the duration apart from this state for the current reference;Preset when duration is equal to or more than first During duration, close air purifier.
In one embodiment, above-mentioned unlatching submodule, it may also be used for when distance less than current reference apart from when, statistics away from The duration of this state with a distance from less than current reference;When duration is equal to or more than the second preset duration, open Air purifier.
In one embodiment, above-mentioned position acquisition module may include:
Position acquisition submodule, for receiving that resident terminal sends when starting to obtain position command, starts to obtain Take the position of resident terminal.
In one embodiment, as shown in figure 5, said apparatus may also include:
Stop acquisition module 51, for when the position of resident terminal be more than current reference apart from when or when resident terminal Position in the close range of air purifier when, stop obtaining the position of resident terminal.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is a kind of frame of the device 1200 for controlling air purifier work according to an exemplary embodiment Figure, this device is applied to terminal unit.For example, device 1200 can be mobile phone, computer, digital broadcast terminal, message Transceiver, game console, tablet device, armarium, body-building equipment, personal digital assistant etc..
With reference to Fig. 6, device 1200 can include following one or more assemblies:Process assembly 1202, memorizer 1204, electricity Source component 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), sensor cluster 1214, and communication component 1216.
The integrated operation of the usual control device 1200 of process assembly 1202, such as with display, call, data communication, Camera operation and record operate associated operation.Treatment element 1202 can include one or more processors 1220 to execute Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1202 can include one or more moulds Block, is easy to the interaction between process assembly 1202 and other assemblies.For example, processing component 1202 can include multi-media module, To facilitate the interaction between multimedia groupware 1208 and process assembly 1202.
Memorizer 1204 is configured to store various types of data to support the operation in equipment 1200.These data Example include on device 1200 operation any application program or method instruction, contact data, telephone book data, Message, picture, video etc..Memorizer 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 can include power management System, one or more power supplys, and other generate, manage and distribute, with for device 1200, the assembly that electric power is associated.
Multimedia groupware 1208 includes the screen of one output interface of offer between described device 1200 and user.? In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch and passes Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or slip be dynamic The border made, but also the detection persistent period related to described touch or slide and pressure.In certain embodiments, many Media component 1208 includes a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, such as shoot mould When formula or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each preposition shooting Head and post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 1210 is configured to output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat Gram wind (MIC), when device 1200 is in operator scheme, such as call model, logging mode and speech recognition mode when, mike quilt It is configured to receive external audio signal.The audio signal being received can be further stored in memorizer 1204 or via communication Assembly 1216 sends.In certain embodiments, audio-frequency assembly 1210 also includes a speaker, for exports audio signal.
I/O interface 1212 is for providing interface, above-mentioned peripheral interface module between process assembly 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1214 includes one or more sensors, for providing the state of various aspects to comment for device 1200 Estimate.For example, sensor cluster 1214 can detect/the closed mode of opening of equipment 1200, the relative localization of assembly, such as institute State the display that assembly is device 1200 and keypad, sensor cluster 1214 can be with detection means 1200 or device 1,200 1 The position change of individual assembly, user is presence or absence of with what device 1200 contacted, device 1200 orientation or acceleration/deceleration and dress Put 1200 temperature change.Sensor cluster 1214 can include proximity transducer, is configured to do not having any physics The presence of object nearby is detected during contact.Sensor cluster 1214 can also include optical sensor, and such as CMOS or ccd image sense Device, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress Put 1200 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one In embodiment, communication component 1216 receives related from the broadcast singal of external broadcasting management system or broadcast via broadcast channel Information.In one exemplary embodiment, described communication component 1216 also includes near-field communication (NFC) module, to promote short distance Communication.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 1204 instructing, above-mentioned instruction can be executed by the processor 820 of device 1200 to complete said method.Example If, described non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of device controlling air purifier work is it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the connection terminal list of router;
Determine the described resident terminal connecting in terminal list;
Obtain the position of described resident terminal;
Air purifier is turned on and off according to the position of described resident terminal.
This processor is also configured to:
The described resident terminal determining in described connection terminal list, including:
Obtain the respective accumulative connection duration of terminal in described connection terminal list;
Connect, by accumulative, the terminal that duration is equal to or more than preset duration, be defined as resident terminal.
This processor is also configured to:
The described position according to described resident terminal is turned on and off air purifier, including:
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 be equal to or more than current reference apart from when, close air purifier;When described distance is less than currently During reference distance, open air purifier.
This processor is also configured to:
Before the described magnitude relationship judging between described distance and current reference distance, methods described also includes:
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 described current air mass parameter corresponding first pre- If reference distance, using described first preset reference distance as described current reference distance;
When current air mass is not up to preset air quality, obtain described current air mass parameter corresponding second Preset reference distance, 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 is also configured to:
Described when described distance be equal to or more than current reference apart from when, close air purifier, including:
When described distance be equal to or more than current reference apart from when, count described distance be equal to or more than current reference distance The duration of this state;
When described duration is equal to or more than the first preset duration, close air purifier.
This processor is also configured to:
Described when described distance be less than current reference apart from when, open air purifier, including:
When described distance be less than current reference apart from when, count described distance be less than current reference holding apart from this state Continuous duration;
When described duration is equal to or more than the second preset duration, open air purifier.
This processor is also configured to:
The described position obtaining described resident terminal, including:
Receiving that described resident terminal sends when starting to obtain position command, starting to obtain described resident terminal Position.
This processor is also configured to:
Methods described also includes:
When the position of described resident terminal be more than described current reference apart from when or when the position of described resident terminal exists When in the close range of described air purifier, stop obtaining the position of described resident terminal.
A kind of non-transitorycomputer readable storage medium, when the instruction in described storage medium is by the process of mobile terminal So that mobile terminal is able to carry out a kind of method controlling air purifier work during device execution, methods described includes:
Obtain the connection terminal list of router;
Determine the described resident terminal connecting in terminal list;
Obtain the position of described resident terminal;
Air purifier is turned on and off according to the position of described resident terminal.
In one embodiment, the described resident terminal determining in described connection terminal list, it may include:
Obtain the respective accumulative connection duration of terminal in described connection terminal list;
Connect, by accumulative, the terminal that duration is equal to or more than preset duration, be defined as resident terminal.
In one embodiment, the described position according to described resident terminal is turned on and off air purifier, it may include:
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 be equal to or more than current reference apart from when, close air purifier;When described distance is less than currently During reference distance, open air purifier.
In one embodiment, before the described magnitude relationship judging between described distance and current reference distance, described Method may also include:
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 described current air mass parameter corresponding first pre- If reference distance, using described first preset reference distance as described current reference distance;
When current air mass is not up to preset air quality, obtain described current air mass parameter corresponding second Preset reference distance, 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 be equal to or more than current reference apart from when, close air purifier, May include:
When described distance be equal to or more than current reference apart from when, count described distance be equal to or more than current reference distance The duration of this state;
When described duration is equal to or more than the first preset duration, close air purifier.
In one embodiment, described when described distance be less than current reference apart from when, open air purifier, can wrap Include:
When described distance be less than current reference apart from when, count described distance be less than current reference holding apart from this state Continuous duration;
When described duration is equal to or more than the second preset duration, open air purifier.
In one embodiment, the described position obtaining described resident terminal, it may include:
Receiving that described resident terminal sends when starting to obtain position command, starting to obtain described resident terminal Position.
In one embodiment, methods described may also include:
When the position of described resident terminal be more than described current reference apart from when or when the position of described resident terminal exists When in the close range of described air purifier, stop obtaining the position of described resident terminal.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (15)

1. a kind of method controlling air purifier work is it is characterised in that include:
Obtain the connection terminal list of router;
Determine the described resident terminal connecting in terminal list;
Obtain the position of described resident terminal;
Air purifier is turned on and off according to the position of described resident terminal;
The described resident terminal determining in described connection terminal list, including:
Obtain the respective accumulative connection duration of terminal in described connection terminal list;
Connect, by accumulative, the terminal that duration is equal to or more than preset duration, be defined as resident terminal.
2. the method for claim 1 it is characterised in that
The described position according to described resident terminal is turned on and off air purifier, including:
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 be equal to or more than current reference apart from when, close air purifier;When described distance is less than current reference Apart from when, open air purifier.
3. method as claimed in claim 2 it is characterised in that
Before the described magnitude relationship judging between described distance and current reference distance, methods described also includes:
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 corresponding first default ginseng of described current air mass parameter Examine distance, using described first preset reference distance as described current reference distance;
When current air mass is not up to preset air quality, obtains described current air mass parameter corresponding second and preset Reference distance, 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.
4. method as claimed in claim 2 it is characterised in that
Described when described distance be equal to or more than current reference apart from when, close air purifier, including:
When described distance be equal to or more than current reference apart from when, count described distance be equal to or more than current reference apart from this The duration of state;
When described duration is equal to or more than the first preset duration, close air purifier.
5. method as claimed in claim 2 it is characterised in that
Described when described distance be less than current reference apart from when, open air purifier, including:
When described distance be less than current reference apart from when, count described distance be less than current reference apart from this state lasting when Long;
When described duration is equal to or more than the second preset duration, open air purifier.
6. the method for claim 1 it is characterised in that
The described position obtaining described resident terminal, including:
Receiving that described resident terminal sends when starting to obtain position command, starting to obtain the position of described resident terminal Put.
7. method as claimed in claim 2 is it is characterised in that methods described also includes:
When described resident terminal position be more than described current reference apart from when or when described resident terminal position described When in the close range of air purifier, stop obtaining the position of described resident terminal.
8. a kind of device controlling air purifier work is it is characterised in that include:
List acquisition module, for obtaining the connection terminal list of router;
Terminal deciding module, for determining the described resident terminal connecting in terminal list;
Position acquisition module, for obtaining the position of described resident terminal;
Control module, for being turned on and off air purifier according to the position of described resident terminal;
Described terminal deciding module includes:
Duration acquisition submodule, for obtaining the respective accumulative connection duration of terminal in described connection terminal list;
Terminal determination sub-module, for connecting, by accumulative, the terminal that duration is equal to or more than preset duration, is defined as resident terminal.
9. device as claimed in claim 8 it is characterised in that
Described control module includes:
Apart from determination sub-module, for the position according to described resident terminal, determine described resident terminal and air purifier it Between distance;
Judging submodule, for judging the magnitude relationship between described distance and current reference distance;
Close closed submodule, for when described distance be equal to or more than current reference apart from when, close air purifier;
Open submodule, for when described distance be less than current reference apart from when, open air purifier.
10. device as claimed in claim 9 is it is characterised in that described device also includes:
Reference distance determining module, for judging the size between described distance and current reference distance in described judging submodule Before relation, obtain current air mass parameter;Judge whether current air mass reaches according to described current air mass parameter To preset air quality;When current air mass reaches preset air quality, obtain described current air mass parameter and correspond to The first preset reference distance, using described first preset reference distance as described current reference distance;Work as current air mass Not up to preset air quality when, obtain the corresponding second preset reference distance of described current air mass parameter, by described the Two preset reference distances are as described current reference distance;Wherein, described first preset reference distance is less than the second preset reference Distance.
11. devices as claimed in claim 9 it is characterised in that
Described pass closed submodule, be additionally operable to when described distance be equal to or more than current reference apart from when, count described distance be equal to Or it is more than the duration apart from this state for the current reference;When described duration is equal to or more than the first preset duration, Close air purifier.
12. devices as claimed in claim 9 it is characterised in that
Described unlatching submodule, be additionally operable to when described distance be less than current reference apart from when, count described distance and be less than current ginseng Examine the duration apart from this state;When described duration is equal to or more than the second preset duration, open air cleaning Device.
13. devices as claimed in claim 8 it is characterised in that
Described position acquisition module includes:
Position acquisition submodule, for receiving that described resident terminal sends when starting to obtain position command, starts to obtain Take the position of described resident terminal.
14. devices as claimed in claim 9 are it is characterised in that described device also includes:
Stop acquisition module, for when the position of described resident terminal be more than described current reference apart from when or when described often In when the position of terminal is in the close range of described air purifier, stop the position of the described resident terminal of acquisition.
A kind of 15. devices controlling air purifier work are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the connection terminal list of router;
Determine the described resident terminal connecting in terminal list;
Obtain the position of described resident terminal;
Air purifier is turned on and off according to the position of described resident terminal;
The described resident terminal determining in described connection terminal list, including:
Obtain the respective accumulative connection duration of terminal in described connection terminal list;
Connect, by accumulative, the terminal that duration is equal to or more than preset duration, be defined as resident terminal.
CN201410596767.5A 2014-10-29 2014-10-29 Control the method and device of air purifier work Active CN104315661B (en)

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 CN104315661A (en) 2015-01-28
CN104315661B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105301183B (en) * 2015-09-11 2017-07-04 小米科技有限责任公司 Detection of Air Quality method and apparatus
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
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
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

Citations (5)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8316400B1 (en) * 2008-07-03 2012-11-20 Prime Research Alliance E., Inc. Method and system for transfer of subscription media

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN104315661A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN104315661B (en) Control the method and device of air purifier work
RU2641995C2 (en) Method and device of controlling equipment
EP3131315A1 (en) Working method and working device of intelligent electric apparatus
US10613498B2 (en) Method for controlling device by remote control device
CN105100764B (en) Image pickup method and device
EP3023928A1 (en) Method and device for setting task
CN104315662B (en) Control the method and device of air purifier work
WO2017071093A1 (en) Electronic device control method and apparatus
CN104614998A (en) Method and device for controlling household equipment
CN105405427A (en) Facility brightness adjustment method and device
CN104159255A (en) Method of sharing network among terminals and device
CN106406117A (en) Device control method and device
CN107368818A (en) Meeting room state method to set up, device, system and storage medium
CN104112459B (en) Method and apparatus for playing audio data
CN104601694A (en) Operating control method, terminal, repeater device, intelligent equipment and device
CN104159218A (en) Network connection establishment method and device
CN104315664B (en) Control the method and device of air purifier work
CN105093980B (en) Control the method and device of smart machine start and stop
US20160147200A1 (en) Method and device for setting up task
CN104460329A (en) Intelligent device connection method and device
CN106789461A (en) The method and device of intelligent home device connection
EP3322227A1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
CN107592629A (en) Apparatus control method and device
CN104834545A (en) Method and system for starting terminals
CN106792074A (en) Intelligent television control method and device

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