Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the application is to propose a kind of smart machine control method, when determining that user is mobile,
By motion track according to user and time, smart machine is carried out automatically controlling, control mode is flexibly and dry without user
In advance, user experience is improved.
Second purpose of the application is to propose a kind of smart machine control device.
The third purpose of the application is to propose a kind of smart home system.
The 4th purpose of the application is to propose a kind of computer readable storage medium.
In order to achieve the above object, the application first aspect embodiment proposes a kind of smart machine control method, comprising:
Have user in determining current environment when moving, determine the user motion track and the current time;
According to the motion track of the user and the current time, the mesh of target device and the target device is determined
Mark mode;
The target device work is triggered under the target pattern.
The smart machine control method of the embodiment of the present application, has user when moving, really in determining current environment first
The motion track and current time for determining user then according to the motion track of user and current time determine target device
And the operating mode of target device, last triggering target device work under target pattern.As a result, when determining that user is mobile,
By motion track according to user and time, smart machine is carried out automatically controlling, control mode is flexibly and dry without user
In advance, user experience is improved.
In one embodiment of the application, the target pattern of the determining target device and the target device, comprising:
According to the motion track of the user and the current time, the intention of the user is determined;
According to the intention of the user, the target pattern of target device and the target device is determined.
In one embodiment of the application, the intention according to the user determines target device and the target
After the target pattern of equipment, further includes:
The user is obtained in the stay time of mobile target position;
According to the stay time, the target pattern of the target device and the target device is adjusted.
In one embodiment of the application, before the target pattern of the determining target device and the target device,
Further include:
Obtain the environmental parameter of the mobile target position of the user;
The target pattern of the determining target device and the target device, comprising:
According to the motion track and the current time of the environmental parameter of the target position and the user, determine
The target pattern of the target device and the target device.
It include at least two users in the current environment in one embodiment of the application;
The target pattern of the determining target device and the target device, comprising:
Determine the user identifier currently moved;
According to the user identifier currently moved, the motion track of the user and the current time, mesh is determined
The target pattern of marking device and the target device.
In order to achieve the above object, the application second aspect embodiment proposes a kind of smart machine control device, comprising:
First determining module determines the moving rail of the user for having user in determining current environment when moving
Mark and current time;
Second determining module, for according to the user motion track and the current time, determine target device
And the target pattern of the target device;
Control module, for triggering the target device work under the target pattern.
The smart machine control device of the embodiment of the present application, has user when moving, really in determining current environment first
The motion track and current time for determining user then according to the motion track of user and current time determine target device
And the operating mode of target device, last triggering target device work under target pattern.As a result, when determining that user is mobile,
By motion track according to user and time, smart machine is carried out automatically controlling, control mode is flexibly and dry without user
In advance, user experience is improved.
In one embodiment of the application, second determining module is specifically used for:
According to the motion track of the user and the current time, the intention of the user is determined;
According to the intention of the user, the target pattern of target device and the target device is determined.
In one embodiment of the application, second determining module is also used to:
The user is obtained in the stay time of mobile target position;
According to the stay time, the target pattern of the target device and the target device is adjusted.
In one embodiment of the application, the device, further includes:
Module is obtained, for obtaining the environmental parameter of the mobile target position of the user;
Second determining module, is also used to:
According to the motion track and the current time of the environmental parameter of the target position and the user, determine
The target pattern of the target device and the target device.
It include at least two users in the current environment in one embodiment of the application;
Second determining module, is also used to:
Determine the user identifier currently moved;
According to the user identifier currently moved, the motion track of the user and the current time, mesh is determined
The target pattern of marking device and the target device.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of smart home system, including smart machine
And the smart machine control device as described in second aspect, the smart machine control device is for executing as described in relation to the first aspect
Smart machine control method, to control the smart machine.
The smart machine of the embodiment of the present application has user to determine user's when moving in determining current environment first
Motion track and current time determine that target device and target are set then according to the motion track of user and current time
Standby operating mode, last triggering target device work under target pattern.As a result, when determining that user is mobile, pass through basis
The motion track of user and time, smart machine is carried out automatically controlling, control mode improves flexibly and without user intervention
User experience.
In order to achieve the above object, fourth aspect present invention embodiment proposes a kind of computer readable storage medium, deposit thereon
Computer program is contained, smart machine control method as described in relation to the first aspect is realized when the program is executed by processor.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the smart machine control method, apparatus and system of the embodiment of the present application are described.
The embodiment of the present application is directed to the prior art, when controlling smart machine, needs to install in multiple regions more
A device, not only waste of resource, installation are inconvenient, and are triggered manually by user or sensor sensing mode, are only capable of to specific
The problem of smart machine in region is controlled, and control mode is not flexible, poor user experience proposes a kind of smart machine controlling party
Method.
Smart machine control method provided in an embodiment of the present invention, has user when moving, really in determining current environment
Determine user motion track and the current time, to determine target device according to the motion track of user and current time
And the operating mode of target device, to trigger target device work under target pattern.As a result, when determining that user is mobile, lead to
The motion track according to user and time are spent, smart machine is carried out automatically controlling, control mode is flexibly and dry without user
In advance, user experience is improved.
Fig. 1 is the flow diagram of the smart machine control method of the application one embodiment.
As shown in Figure 1, the smart machine control method includes:
Step 101, have user in determining current environment when moving, determine user motion track and it is current when
Between.
Wherein, the current time can be time when user starts mobile, and such as at night 8 points;It is also possible to the shifting of user
The dynamic rail mark corresponding period, such as at night 8 points to 8 points are moved to bedroom from study in 1 minute.
Specifically, smart machine control method provided in this embodiment, it can be by smart machine control provided in this embodiment
Device processed executes.Wherein, smart machine control device can be configured in the arbitrary equipments such as air-conditioning, TV;Alternatively, can also
To be provided separately within device external, to control smart machine.
When specific implementation, can by any ways such as radar detedtor, WIFI, bluetooths, realize to the positioning of user with
Track, and in smart machine control device, the equipment with time clock feature is set.To there is user to exist in determining current environment
When mobile, it can use time clock feature and determine the current time, and determine the motion track of user by radar detedtor etc..
Step 102, according to the motion track of user and current time, the target mould of target device and target device is determined
Formula.
Step 103, the work of triggering target device is under target pattern.
Wherein, target device, may include one in the arbitrary equipments such as electric light, air purifier, air-conditioning, dehumidifier or
It is multiple.
Target pattern may include any one or more in the parameters such as working condition, the operating time of target device.
For example, air-conditioning is transferred to 26 degree, work 1 hour, electric light unlatching etc..
Specifically, can according to the layout in room, the information such as position of each smart machine, preset motion track,
The mapping relations of the target pattern of current time and target device and target device, in the motion track for determining user and work as
After the preceding time, the target pattern of target device and target device can be determined, and then trigger mesh according to preset mapping relations
Marking device works under target pattern.
As an example it is assumed that the layout in room is as shown in Figure 1A, can in one jiao of installation radar installations in room, with to
Family carries out locating and tracking.Motion track 1,2,3 in Figure 1A is preset partial traces, track 1, the corresponding mesh of evening 8-11 point
The operating mode of marking device and target device are as follows: open the electric light in study;Track 2, the corresponding target device of evening 10-12 point and
The operating mode of target device are as follows: open the air-conditioning of master bedroom and temperature is transferred to 26 degree;Track 3, the corresponding mesh of evening 10-12 point
The operating mode of marking device and target device are as follows: open the dehumidifier of master bedroom.Then if it is determined that the motion track of user is track 1,
And the current time is 9 points or so at night, then can determine the operating mode of target device and target device are as follows: open study
Electric light, so that the electric light for triggering study is opened.
Further, since the motion track of user is varied, according to preset motion track determine target device and
When the target pattern of target device, it may not include the mobile all situations of user because of preset motion track, cause really
Fixed result inaccuracy.So, in embodiments of the present invention, it can determine that target device and target are set according to the user's intention
Standby target pattern.
Correspondingly, step 102 can be accomplished by the following way.
Step 102a determines the intention of user according to the motion track of user and current time.
Step 102b determines the target pattern of target device and target device according to the user's intention.
Specifically, the layout in room, the information such as position of each smart machine can be stored in advance, thus determining user
Motion track and after the current time, can determine the intention of user, and according to the meaning of user with information according to the pre-stored data
Figure, determines the target pattern of target device and target device, to trigger target device work under target pattern.
As an example it is assumed that 9 points at night, it detects that user is moved to study from parlor, then can determine user Yao Shu
Room reading, may thereby determine that the operating mode of target device and target device are as follows: opens the electric light in study, and then can trigger book
The electric light in room is opened.
It is understood that user in moving process, may stop the different time in identical position, and user
When residence time difference, the intention of user may be different.So in embodiments of the present invention, it can be combined with user in target
The residence time of position is adjusted the target pattern of target device and target device.
That is, can also include: after step 102b
User is obtained in the stay time of mobile target position;
According to stay time, the target pattern of target device and target device is adjusted.
As an example it is assumed that 9 points at night, it detects that user is moved to master bedroom from parlor, then can determine user Yao Zhu
It is lying when sleeping and feel or takes article etc., may thereby determine that the operating mode of target device and target device are as follows: open the electricity of master bedroom
Lamp, and then the electric light that can trigger master bedroom is opened.
If it is determined that user's stay time in master bedroom is more than 10 minutes, then it can determine that user will sleep or look in master bedroom
Article etc., so as to adjust the target pattern of target device and target device are as follows: the electric light for opening master bedroom opens master bedroom
Air-conditioning and temperature are transferred to 26 degree, can then keep the electric light of master bedroom to open, and open the air-conditioning of master bedroom.
If it is determined that user's stay time in master bedroom is more than 30 minutes, then it can determine that user will sleep in master bedroom, then may be used
The target pattern of target device and target device to be adjusted are as follows: open the air-conditioning of master bedroom and temperature is transferred to 26 degree, can then protect
The air-conditioning work of master bedroom is held under corresponding target pattern, and the electric light of master bedroom is closed.
It, can also any position be stopped in motion track according to user it is worth noting that, in embodiments of the present invention
Duration is stayed, the operating mode of target device and target device is adjusted.
As an example it is assumed that 9 points at night, detect that user is moved to master bedroom from bathroom, and user bathes in initial position
The stay time of room is more than 5 minutes, then can determine user just after a bath, to rest in master bedroom or take article etc., thus
It can determine the operating mode of target device and target device are as follows: the electric light for opening master bedroom opens the dehumidifier of master bedroom, and dehumidifier
Machine works 5 minutes, and then the electric light of triggerable master bedroom and dehumidifier are worked respectively under corresponding target pattern.
If it is determined that user in final position, i.e., stay time is more than 10 minutes in master bedroom, then user Yao Zhu can be determined
It is lying when sleeping and feel or looks for article etc., so as to adjust the target pattern of target device and target device are as follows: open the electricity of master bedroom
Lamp, opens the air-conditioning of master bedroom and temperature is transferred to 26 degree, can then keep the electric light of master bedroom to open, and open the air-conditioning of master bedroom.
It should be noted that in embodiments of the present invention, can be combined with the living habit of user, to the intention of user into
Row determines, and then determines the operating mode of target device and target device, to trigger target device work under target pattern.
As an example it is assumed that the habit of user is slept for 11 points or so at night, if 11 points or so at night, detect user
It is moved to master bedroom from parlor, due to usually at night 11 points or so of user sleeps, although user is shorter in the stay time of master bedroom,
It can also determine that user will sleep, then can determine the target pattern of target device and target device are as follows: the electric light of master bedroom is opened,
The air-conditioning and temperature for opening master bedroom are transferred to 26 degree, and the electric light that then can trigger master bedroom is opened, and opens the air-conditioning of master bedroom.
In addition, in embodiments of the present invention, can be combined with current to improve the accuracy of the control to smart machine
Temperature, humidity of environment etc. determine the target pattern of target device and target device, to trigger target device work in target mould
Under formula.
That is, before the target pattern for determining target device and target device, can also include: in step 102
Obtain the environmental parameter of the mobile target position of user.
Correspondingly, determining the target pattern of target device and target device in step 102, can specifically include:
According to the motion track and current time of the environmental parameter of target position and user, target device and mesh are determined
The target pattern of marking device.
Wherein, environmental parameter refers to air humidity, temperature of current environment etc..
Specifically, the environment ginseng of the mobile target position of user by temperature sensor, humidity sensor etc., can be obtained
Number.
As an example it is assumed that the habit of user is slept for 12 points or so at night, if 12 points or so at night, detect user
It is moved to master bedroom from parlor, then can determine that user will sleep in master bedroom, and the air humidity in master bedroom is larger, temperature is higher,
It can then determine the operating mode of target device and target device are as follows: open electric light, air-conditioning and the dehumidifier and air-conditioning temperature of master bedroom
Degree is transferred to 25 degree, and then the electric light, air-conditioning and dehumidifier that can trigger master bedroom work under corresponding target pattern.
Specifically, the prior art is touched by installing control panel or sensor respectively in multiple regions by user manually
Hair or sensor sensing mode, control smart machine, and the smart machine control method of the embodiment of the present invention, only pass through
The automatic control to smart machine can be realized in one smart machine control device, and at low cost, installation is simply.
Smart machine control method provided in an embodiment of the present invention, has user in movement in determining current environment first
When, determine that the motion track of user and current time then according to the motion track of user and current time determine target
The operating mode of equipment and target device, last triggering target device work under target pattern.Determining that user is mobile as a result,
When, by motion track according to user and time, smart machine is carried out automatically controlling, control mode is flexibly and without using
Family is intervened, and user experience is improved.
By above-mentioned analysis it is found that having user in determining current environment when moving, the moving rail of user can be determined
Mark and current time, to determine the work of target device and target device according to the motion track of user and current time
Operation mode, to trigger target device work under target pattern.In practice, there may be multiple users to exist in current environment
It is mobile, below with reference to Fig. 2, above situation is specifically described.
Fig. 2 is the flow diagram of the smart machine control method of the application another embodiment.
As shown in Fig. 2, the smart machine control method includes:
Step 201, have user in determining current environment when moving, determine user motion track and it is current when
Between.
It wherein, include at least two users in current environment.
Specifically, the specific implementation process and principle of above-mentioned steps 201, are referred to the detailed description of above-described embodiment,
Details are not described herein again.
Step 202, the user identifier currently moved is determined.
Wherein, user identifier, for uniquely determining the identity of user.
Step 203, according to the motion track of the user identifier, user currently moved and current time, determine that target is set
Standby and target device target pattern.
Step 204, the work of triggering target device is under target pattern.
Wherein, target device, may include one in the arbitrary equipments such as electric light, air purifier, air-conditioning, dehumidifier or
It is multiple.
Target pattern may include any one or more in the parameters such as working condition, the operating time of target device.
For example, air-conditioning is transferred to 26 degree, work 1 hour, electric light unlatching etc..
When specific implementation, can be stored in advance the layout in room, the position of each smart machine, user mark and correspondence
The information such as living habit can basis to determine the user identifier currently moved, motion track and after the current time
Pre-stored information determines the intention of the user currently moved, and according to the user's intention, determines that target device and target are set
Standby target pattern, to trigger target device work under target pattern.
As an example it is assumed that the layout in room is as shown in Figure 1A, user A lives master bedroom, and user B lives secondary room, the habit of user A
It sleeps for 12 points or so at night, the habit of user B is slept for 11 points or so at night.
If, detecting that user B stays in parlor, user A is moved to master bedroom from parlor, and stops in master bedroom at 10 points or so at night
Staying duration is more than 10 minutes, since usually at night 12 points or so of user A are slept, then can determine that user is not meant to sleep, can
It can be article to be looked for etc., then can determine the target pattern of target device and target device are as follows: open the electric light of master bedroom, then
The electric light that can trigger master bedroom is opened.
If at night 11 points or so, detect that user A stays in parlor, user B is moved to secondary room from parlor, although user just into
Enter secondary room, but since usually at night 11 points or so of user B are slept, then can determine that user B will sleep, and may thereby determine that mesh
The target pattern of marking device and target device are as follows: the electric light, air-conditioning and air-conditioner temperature for opening secondary room are transferred to 26 degree, can then touch
The electric light and air-conditioning for sending out secondary room are worked respectively under corresponding target pattern.
If the habit of user A and user B are 11 points or so sleeps at night.11 points or so at night, detect user A from
Parlor is moved to master bedroom, and user B is moved to secondary room from parlor, then can determine that user A is wanted according to the habit of user A and user B
It sleeps in master bedroom, user B will sleep in secondary room, then can determine the target pattern of target device and target device are as follows: open master
Sleeping electric light, air-conditioning and air-conditioner temperature is transferred to 26 degree, and the electric light, air-conditioning and air-conditioner temperature for opening secondary room are transferred to 26 degree, then
The electric light and air-conditioning that can trigger master bedroom and secondary room are worked respectively under corresponding target pattern.
The smart machine control method of the embodiment of the present invention, has user when moving, really in determining current environment first
Determine user motion track and the current time, the user identifier that currently moves then is determined, further according to the user currently moved
Mark, the motion track of user and current time, determine the target pattern of target device and target device, last triggering target
Equipment works under target pattern.As a result, when determining that user is mobile, by motion track according to multiple users and time,
Smart machine is carried out automatically controlling, control mode improves user experience flexibly and without user intervention.
In order to realize above-described embodiment, the application also proposes a kind of smart machine control device.
Fig. 3 is the structural schematic diagram of the smart machine control device of the application one embodiment.
As shown in figure 3, the smart machine control device, comprising:
First determining module 31 determines the motion track of user for having user in determining current environment when moving
And the current time;
Second determining module 32, for according to user motion track and the current time, determine target device and target
The target pattern of equipment;
Control module 33, for triggering target device work under target pattern.
Specifically, smart machine control device provided in this embodiment, can execute intelligence provided in an embodiment of the present invention
Apparatus control method, the device can be configured in arbitrary equipment, alternatively, device external can also be provided separately within, with right
Smart machine is controlled.
In a kind of possible way of realization of the embodiment of the present invention, above-mentioned second determining module 32 is specifically used for:
According to the motion track of user and current time, the intention of user is determined;
According to the user's intention, the target pattern of target device and target device is determined.
In the alternatively possible way of realization of the embodiment of the present invention, above-mentioned second determining module 32 is also used to:
User is obtained in the stay time of mobile target position;
According to stay time, the target pattern of target device and target device is adjusted.
It should be noted that the aforementioned explanation to smart machine control method embodiment is also applied for the embodiment
Smart machine control device, details are not described herein again.
The smart machine control device of the embodiment of the present application, has user when moving, really in determining current environment first
The motion track and current time for determining user then according to the motion track of user and current time determine target device
And the operating mode of target device, last triggering target device work under target pattern.As a result, when determining that user is mobile,
By motion track according to user and time, smart machine is carried out automatically controlling, control mode is flexibly and dry without user
In advance, user experience is improved.
Fig. 4 is the structural schematic diagram of the smart machine control device of the application another embodiment.
As shown in figure 4, on the basis of shown in Fig. 3, which can also include:
Module 41 is obtained, for obtaining the environmental parameter of the mobile target position of user;
Correspondingly, above-mentioned second determining module 32, is also used to:
According to the motion track and current time of the environmental parameter of target position and user, target device and mesh are determined
The target pattern of marking device.
It include at least two users in current environment in a kind of possible way of realization of the embodiment of the present invention;
Above-mentioned second determining module 32, is also used to:
Determine the user identifier currently moved;
According to the motion track of the user identifier, user currently moved and current time, target device and target are determined
The target pattern of equipment.
It should be noted that the aforementioned explanation to smart machine control method embodiment is also applied for the embodiment
Smart machine control device, details are not described herein again.
The smart machine control device of the embodiment of the present application, has user when moving, really in determining current environment first
The motion track and current time for determining user then according to the motion track of user and current time determine target device
And the operating mode of target device, last triggering target device work under target pattern.As a result, when determining that user is mobile,
By motion track according to user and time, smart machine is carried out automatically controlling, control mode is flexibly and dry without user
In advance, user experience is improved.
In order to achieve the above object, the present invention also proposes a kind of smart home system, comprising: smart machine and such as second aspect institute
The smart machine control device stated, the smart machine control device are used to execute smart machine control as described in relation to the first aspect
Method, to control the smart machine.
The Control System of Intelligent of the embodiment of the present application has user when moving, really in determining current environment first
The motion track and current time for determining user then according to the motion track of user and current time determine target device
And the operating mode of target device, last triggering target device work under target pattern.As a result, when determining that user is mobile,
By motion track according to user and time, smart machine is carried out automatically controlling, control mode is flexibly and dry without user
In advance, user experience is improved.
In order to achieve the above object, fourth aspect present invention embodiment proposes a kind of computer readable storage medium, deposit thereon
Computer program is contained, is realized when the program is executed by processor such as the smart machine control method in previous embodiment.
In order to achieve the above object, fifth aspect present invention embodiment proposes a kind of computer program product, when computer journey
When instruction processing unit in sequence product executes, execute such as the smart machine control method in previous embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means that specific features, structure or feature described in conjunction with this embodiment or example include
In at least one embodiment or example of the application.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.