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 the operational mode intelligently air purifier being adjusted to applicable user's status.
According to the first aspect of disclosure embodiment, a kind of method controlling air purifier work is provided, comprises:
Obtain customer parameter information;
According to the operational mode of described customer parameter information determination air purifier.
In one embodiment, described acquisition customer parameter information, can comprise:
Obtain user's body parameter information;
The described operational mode according to described customer parameter information adjustment air purifier, comprising:
User's body parameter information according to obtaining judges whether user is in sleep state or waking state;
When user is in sleep state, determine that the operational mode of air purifier is sleep pattern or weak pattern;
When user is in waking state, determine that the operational mode of air purifier is strong mode.
In one embodiment, described acquisition customer parameter information, can comprise:
Obtain user movement information;
The described operational mode according to described customer parameter information adjustment air purifier, comprising:
User movement information according to obtaining judges whether user is kept in motion;
When user is kept in motion, determine that the operational mode of air purifier is strong mode;
When user is not kept in motion, determine that the operational mode of air purifier is weak pattern.
In one embodiment, described acquisition user movement information, can comprise:
Obtain the walking step number of user;
The described user movement information according to obtaining determines whether user is kept in motion, and comprising:
Acceleration of walking is determined according to the walking step number of user;
When described walking acceleration is more than or equal to predetermined acceleration, determine that user is kept in motion;
When described walking acceleration is less than predetermined acceleration, determine that user is not kept in motion.
In one embodiment, described acquisition customer parameter information, can comprise:
Obtain user's geographical location information;
The described operational mode according to described user's geographical location information determination air purifier, comprising:
The distance between user and air purifier is determined according to user's geographical location information;
Judge the magnitude relationship of described distance and the first predeterminable range or the second predeterminable range, described first predeterminable range is greater than the second predeterminable range;
When described distance is equal to or greater than the first predeterminable range, determine that the operational mode of air purifier is weak pattern or closes air purifier;
When described distance is less than the first predeterminable range and is greater than the second predeterminable range, obtain the direction of motion of described user; When the direction of motion of described user is towards air purifier, determine that the operational mode of air purifier is jet mode, strong mode or unlatching air purifier;
When described distance is equal to or less than the second predeterminable range, determine that the operational mode of air purifier is strong mode.
In one embodiment, described acquisition customer parameter information can comprise:
Obtain the described customer parameter information that wearable device sends.
According to the second aspect of disclosure embodiment, a kind of device controlling air purifier work is provided, comprises:
Acquisition module, for obtaining customer parameter information;
Determination module, for the operational mode according to described customer parameter information determination air purifier.
In one embodiment, described acquisition module can comprise:
First obtains submodule, for obtaining user's body parameter information;
Described determination module comprises:
First judges submodule, for judging whether user is in sleep state or waking state according to the user's body parameter information obtained;
First determines submodule, for when user is in sleep state, determines that the operational mode of air purifier is sleep pattern or weak pattern; When user is in waking state, determine that the operational mode of air purifier is strong mode.
In one embodiment, described acquisition module can comprise:
Second obtains submodule, for obtaining user movement information;
Described determination module comprises:
Second judges submodule, for judging whether user is kept in motion according to the user movement information obtained;
Second determines submodule, for when user is kept in motion, determines that the operational mode of air purifier is strong mode; When user is not kept in motion, determine that the operational mode of air purifier is weak pattern.
In one embodiment, described acquisition module can comprise:
3rd obtains submodule, for obtaining user's geographical location information;
Described determination module comprises:
Distance determines submodule, for determining the distance between user and air purifier according to user's geographical location information;
3rd judges submodule, and for judging the magnitude relationship of described distance and the first predeterminable range or the second predeterminable range, described first predeterminable range is greater than the second predeterminable range;
3rd determines submodule, for when described distance is equal to or greater than the first predeterminable range, determines that the operational mode of air purifier is weak pattern or closes air purifier; When described distance is less than the first predeterminable range and is greater than the second predeterminable range, obtain the direction of motion of described user; When the direction of motion of described user is towards air purifier, determine that the operational mode of air purifier is jet mode, strong mode or unlatching air purifier; When described distance is equal to or less than the second predeterminable range, determine that the operational mode of air purifier is strong mode.
In one embodiment, described acquisition module can comprise:
4th obtains submodule, for obtaining the described customer parameter information that wearable device sends.
According to the third aspect of disclosure embodiment, a kind of device controlling air purifier work is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain customer parameter information;
According to the operational mode of described customer parameter information determination air purifier.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The technique scheme that disclosure embodiment provides, user's status can be determined according to the customer parameter information obtained, and the operational mode of applicable user's status is automatically determined according to user's status, follow-up, air purifier can directly run according to the operational mode determined, also can carry out suitable adjustment according to actual air mass on the operational mode basis determined.This technical scheme, intelligently, automatically can adjust the operational mode of air purifier, makes air purifier operate in the operational mode of applicable user's status, improves the experience of user.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
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, and as shown in Figure 1, the method is used for, in air purifier, comprising the following steps S101-S102:
In step S101, obtain customer parameter information.
In step s 102, according to the operational mode of customer parameter information determination air purifier.
Wherein, customer parameter information can be user's body parameter information, user movement information, user's geographical location information etc. and user-dependent information.
Customer parameter information can obtain by being carried on user's wearable device with it.Wearable device is a kind of portable accessory, part computing function can be possessed, mobile phone and each Terminal Type can be connected, it is the watch class (comprising the product such as wrist-watch and wrist strap) supported that the product form of main flow comprises with wrist, take pin as the shoes class (comprising wearable product on footwear, socks or other legs in the future) supported, take head as all kinds of non-mainstream product form such as the Glass class (comprising glasses, the helmet, headband etc.) supported, and intelligent clothing, school bag, crutch, accessories.In addition, customer parameter information also can be obtained by the application program be installed in the mobile device of user.Such as, some application programs can record the movable information of user as walking step number etc.
The said method that disclosure embodiment provides, user's status can be determined according to the customer parameter information obtained, and the operational mode of applicable user's status is automatically determined according to user's status, follow-up, air purifier can directly run according to the operational mode determined, also can carry out suitable adjustment according to actual air mass on the operational mode basis determined.This technical scheme, intelligently, automatically can adjust the operational mode of air purifier, makes air purifier operate in the operational mode of applicable user's status, improves the experience of user.
For different customer parameter information, said method has different embodiments, lifts specific embodiment to be respectively described below.
Embodiment one, customer parameter information are user's body parameter information.
Because current wearable device has developed very advanced, after such as Intelligent bracelet is worn in user's wrist, can record the pulse of user, blood pressure etc. body data, now, as shown in Figure 2, said method can be embodied as following steps:
In step s 201, user's body parameter information is obtained.
In step S202, according to the user's body parameter information obtained, judge whether user is in sleep state or waking state, when user is in sleep state, continue to perform step S203; When user is in waking state, continue to perform step S204.
In one embodiment, the user's body parameter information of acquisition can comprise the pulse, blood pressure etc. of user, according to physiology general knowledge, just can judge whether user is in sleep state according to user's body parameter information.If user is in sleep state, in disclosure embodiment, just think that user is in waking state.
In step S203, when user is in sleep state, determine that the operational mode of air purifier is sleep pattern or weak pattern.
In step S204, when user is in waking state, determine that the operational mode of air purifier is strong mode.
In embodiment one, weak pattern in step S203 and the strong mode in step S204 are two kinds of relative strong and weak patterns, such as an air purifier has four kinds of patterns: sleep pattern, weak pattern, strong mode, jet mode, and the powerful degree of above four kinds of patterns is sequentially more and more stronger.When utilizing the scheme of embodiment one to carry out job control, if judge that user is in sleep state, then can determine that operational mode is sleep pattern in above-mentioned four kinds of patterns or weak pattern; If judge that user is in waking state, then can determine that operational mode is the pattern of being eager to excel relative to sleep pattern or weak pattern, as strong mode and jet mode, certainly, effect is good, be when user is in waking state, determine that operational mode is strong mode, because very powerful jet mode may not be needed when user is in waking state.
In embodiment one, user can be gone out according to the user's body parameter information automatic decision obtained and whether be in sleep state, and the state residing for user, automatically the operational mode of applicable user's status is determined, follow-up, air purifier can directly run according to the operational mode determined, also can carry out suitable adjustment according to actual air mass on the operational mode basis determined.The technical scheme of this embodiment one, intelligently, automatically can adjust the operational mode of air purifier, and the puzzlement that noise, insufficient strength or intensity will be caused too strong etc. to user, improves the experience of user.
Embodiment two, customer parameter information are user movement information.
Because current wearable device has developed very advanced, after such as Intelligent bracelet is worn in user's wrist, user movement information can be recorded, the walking step number etc. of such as user's speed of travel, user; Some application program be installed in the mobile device of user also can record user movement information, and now, as shown in Figure 3, said method can be embodied as following steps:
In step S301, obtain user movement information.
Judge whether user is kept in motion in step s 302, according to the user movement information obtained, when user is kept in motion, continue to perform step S303; When user is not kept in motion, continue to perform step S304.
In one embodiment, because current wearable device is as Intelligent bracelet and the application program that is installed in the mobile device of user, the walking step number of energy monitor user ', user can be recorded to have walked in certain time length how many steps, therefore, in step S301, the walking step number of user can be obtained, now, step S302 can be embodied as: determine according to the walking step number of user acceleration of walking; When acceleration of walking is more than or equal to predetermined acceleration, determine that user is kept in motion; When acceleration of walking is less than predetermined acceleration, determine that user is not kept in motion.Wherein, predetermined acceleration can be preset by user, also can be preset by system, and the value of predetermined acceleration should guarantee that the user's status finally determined is reasonable and correct.
In step S303, when user is kept in motion, determine that the operational mode of air purifier is strong mode.
In step s 304, when user is not kept in motion, determine that the operational mode of air purifier is weak pattern.
In embodiment two, strong mode in step S303 and the weak pattern in step S304 are two kinds of relative strong and weak patterns, such as an air purifier has four kinds of patterns: sleep pattern, weak pattern, strong mode, jet mode, and the powerful degree of above four kinds of patterns is sequentially more and more stronger.When utilizing the scheme of embodiment two to carry out job control, if judge that user is kept in motion, then can determine that operational mode is strong mode in above-mentioned four kinds of patterns or jet mode; If judge that user is not kept in motion, then can determine that operational mode is want weak pattern relative to strong mode or jet mode, as weak pattern (also can be defined as sleep pattern, but sleep pattern being more suitable for using when user is in sleep state usually).
In embodiment two, user can be gone out according to the user movement information automatic decision obtained whether to be kept in motion, and the state residing for user, automatically the operational mode of applicable user's status is determined, follow-up, air purifier can directly run according to the operational mode determined, also can carry out suitable adjustment according to actual air mass on the operational mode basis determined.The technical scheme of this embodiment two, intelligently, automatically can adjust the operational mode of air purifier, and the puzzlement that noise, insufficient strength or intensity will be caused too strong etc. to user, improves the experience of user.
Embodiment three, customer parameter information are user's geographical location information.
Current mobile device such as mobile phone, in addition some wearable devices have GPS function, user's geographical location information is obtained by the GPS function of mobile device or wearable device in disclosure embodiment, now, as shown in Figure 4, said method can be embodied as following steps:
In step S401, obtain user's geographical location information.
The distance between user and air purifier is determined in step S402, according to the user's geographical location information obtained.
In step S403, judge the magnitude relationship of above-mentioned distance and the first predeterminable range or the second predeterminable range, above-mentioned first predeterminable range is greater than the second predeterminable range; When above-mentioned distance is equal to or greater than the first predeterminable range, continue to perform step S404; When above-mentioned distance is less than the first predeterminable range and is greater than the second predeterminable range, continue to perform step S405; When above-mentioned distance is equal to or less than the second predeterminable range, continue to perform step S406.
Wherein, the first predeterminable range is used to judge that whether user is away from the reference items of air purifier, and the first predeterminable range can be determined based on experience value, and such as the first predeterminable range can be set to 10 kilometers.Second predeterminable range is used to judge whether user has been positioned at the purification region of air purifier, and the first predeterminable range can be determined based on experience value, and such as the second predeterminable range can be set to 0.5 kilometer.Between the distance regions between the first predeterminable range to the second predeterminable range, user can be gone out in conjunction with user movement condition adjudgement and whether advance towards air purifier.According to more than user different states, different operational modes can be determined respectively.
In step s 404, when above-mentioned distance is equal to or greater than the first predeterminable range, determine that the operational mode of air purifier is weak pattern or closes air purifier.
When above-mentioned distance is equal to or greater than the first predeterminable range, user is described away from air purifier, now can determine that the operational mode of air purifier is weak pattern or directly closes air purifier, thus avoid air purifier to carry out unnecessary work, avoid wasting energy.
In step S405, when above-mentioned distance is less than the first predeterminable range and is greater than the second predeterminable range, obtain the direction of motion of user; When the direction of motion of user is towards air purifier, determine that the operational mode of air purifier is jet mode, strong mode or unlatching air purifier.
When above-mentioned distance be less than the first predeterminable range and be greater than the second predeterminable range and user advances towards air purifier time, illustrate that user may not cross the purification region that how long will be positioned at air purifier, therefore, what user can be utilized to advance controls air purifier during this period of time according to suitable mode operation, during to make user in the purification region arriving air purifier, air just can be made to be purified in advance, make user experience clean air in time.Such as, user distance air purifier is 3 kilometers, and user advances towards air purifier, if user covers 3 kilometers of needs 20 minutes, then air purifier can purify in advance in these 20 minutes, its pattern can be jet mode, strong mode, during to ensure that user advances in the purification region of air purifier, just can experience clean air; Or it can be only open air purifier, and does not set concrete pattern, still can reach the effect purified in advance.
In step S406, when above-mentioned distance is equal to or less than the second predeterminable range, determine that the operational mode of air purifier is strong mode.
When above-mentioned distance is equal to or less than the second predeterminable range, illustrate that user has been positioned at the purification region of air purifier, now, purification has people to exist, so will be defined as strong mode, to ensure air quality in region.
In embodiment three, the weak pattern in step S404-S406, strong mode are relatively strong and weak patterns, can with reference to the associated description in previous embodiment one and embodiment two, no longer superfluously here state.
In embodiment three, the distance between user and air purifier can be gone out according to the user's geographical location information automatic decision obtained, and the operational mode of applicable user's status is automatically determined according to the distance between user and air purifier, follow-up, air purifier can directly run according to the operational mode determined, also can carry out suitable adjustment according to actual air mass on the operational mode basis determined.The technical scheme of this embodiment three, intelligently, automatically can adjust the operational mode of air purifier, improve the experience of user.
The method of corresponding aforementioned control air purifier work, disclosure embodiment also provides a kind of device controlling air purifier work, and as shown in Figure 5, this device comprises:
Acquisition module 51, for obtaining customer parameter information;
Determination module 52, for the operational mode according to customer parameter information determination air purifier.
In one embodiment, as shown in Figure 6, acquisition module 51 can comprise:
First obtains submodule 61, for obtaining user's body parameter information;
Determination module 52 comprises:
First judges submodule 62, for judging whether user is in sleep state or waking state according to the user's body parameter information obtained;
First determines submodule 63, for when user is in sleep state, determines that the operational mode of air purifier is sleep pattern or weak pattern; When user is in waking state, determine that the operational mode of air purifier is strong mode.
In one embodiment, as shown in Figure 7, acquisition module 51 can comprise:
Second obtains submodule 71, for obtaining user movement information;
Determination module 52 can comprise:
Second judges submodule 72, for judging whether user is kept in motion according to the user movement information obtained;
Second determines submodule 73, for when user is kept in motion, determines that the operational mode of air purifier is strong mode; When user is not kept in motion, determine that the operational mode of air purifier is weak pattern.
In one embodiment, as shown in Figure 8, acquisition module 51 can comprise:
3rd obtains submodule 81, for obtaining user's geographical location information;
Determination module 52 comprises:
Distance determines submodule 82, for determining the distance between user and air purifier according to user's geographical location information;
3rd judges submodule 83, and for the magnitude relationship of judging distance and the first predeterminable range or the second predeterminable range, the first predeterminable range is greater than the second predeterminable range;
3rd determines submodule 84, for when distance is equal to or greater than the first predeterminable range, determines that the operational mode of air purifier is weak pattern or closes air purifier; When distance is less than the first predeterminable range and is greater than the second predeterminable range, obtain the direction of motion of user; When the direction of motion of user is towards air purifier, determine that the operational mode of air purifier is jet mode, strong mode or unlatching air purifier; When distance is equal to or less than the second predeterminable range, determine that the operational mode of air purifier is strong mode.
In one embodiment, acquisition module can comprise:
4th obtains submodule, for obtaining the customer parameter information that wearable device sends.
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.
Disclosure embodiment also provides a kind of device controlling air purifier work, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, processor is configured to:
Obtain customer parameter information;
According to the operational mode of customer parameter information determination air purifier.
Above-mentioned processor also can be configured to:
Described acquisition customer parameter information, comprising:
Obtain user's body parameter information;
The described operational mode according to described customer parameter information adjustment air purifier, comprising:
User's body parameter information according to obtaining judges whether user is in sleep state or waking state;
When user is in sleep state, determine that the operational mode of air purifier is sleep pattern or weak pattern;
When user is in waking state, determine that the operational mode of air purifier is strong mode.
Above-mentioned processor also can be configured to:
Described acquisition customer parameter information, comprising:
Obtain user movement information;
The described operational mode according to described customer parameter information adjustment air purifier, comprising:
User movement information according to obtaining judges whether user is kept in motion;
When user is kept in motion, determine that the operational mode of air purifier is strong mode;
When user is not kept in motion, determine that the operational mode of air purifier is weak pattern.
Above-mentioned processor also can be configured to:
Described acquisition user movement information, comprising:
Obtain the walking step number of user;
The described user movement information according to obtaining determines whether user is kept in motion, and comprising:
Acceleration of walking is determined according to the walking step number of user;
When described walking acceleration is more than or equal to predetermined acceleration, determine that user is kept in motion;
When described walking acceleration is less than predetermined acceleration, determine that user is not kept in motion.
Above-mentioned processor also can be configured to:
Described acquisition customer parameter information, comprising:
Obtain user's geographical location information;
The described operational mode according to described user's geographical location information determination air purifier, comprising:
The distance between user and air purifier is determined according to user's geographical location information;
Judge the magnitude relationship of described distance and the first predeterminable range or the second predeterminable range, described first predeterminable range is greater than the second predeterminable range;
When described distance is equal to or greater than the first predeterminable range, determine that the operational mode of air purifier is weak pattern or closes air purifier;
When described distance is less than the first predeterminable range and is greater than the second predeterminable range, obtain the direction of motion of described user; When the direction of motion of described user is towards air purifier, determine that the operational mode of air purifier is jet mode, strong mode or unlatching air purifier;
When described distance is equal to or less than the second predeterminable range, determine that the operational mode of air purifier is strong mode.
Above-mentioned processor also can be configured to:
Described acquisition customer parameter information comprises:
Obtain the described customer parameter information that wearable device sends.
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.