Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein certainly
Beginning to same or similar label eventually represents same or similar element or the member with same or like function
Part.The embodiments described below with reference to the accompanying drawings are exemplary, is only used for explaining the present invention, and can not
It is interpreted as limitation of the present invention.On the contrary, embodiments of the invention include falling into attached claims
All changes, modification and equivalent in the range of spirit and intension.
Fig. 1 is the schematic flow sheet of the control method for the light that one embodiment of the invention is proposed, as shown in figure 1,
The control method of the light includes:
S101:User's walking data are obtained by intelligent carpet.
With the continuous progress and user's growth in the living standard of smart home technology, increasing household electrical appliances are set
It is standby to realize intelligent operating.At present in the family in the control process of light, user is needed by remote control
Equipment, voice-operated device or the opening and closing that light is controlled by the switchgear of light.
In an embodiment of the present invention, the walking data of user can be obtained by intelligent carpet, and controls lamp
The opening and closing of light.
It is alternatively possible to set multiple feelers in residential carpet, multiple feelers are laid out shape
Into feeler matrix, user's walking data are obtained by feeler matrix.
User's walking data are obtained by feeler matrix wherein it is possible to be realized using correlation technique,
This is repeated no more.
In an embodiment of the present invention, user's walking data can be the foot plate surface of user, or sole face
The specific such as position data, foot of the data in data, the foot plate surface of user, or sole face towards data,
And direction of travel data.
Specifically, user can open the convenient control function of light in advance, when user walks on intelligent carpet
When, the feeler matrix in intelligent carpet obtains the position data of user, foot towards data, and
Direction of travel data, are opened, or close with realizing by user's walking data to the light in family
Control.
S102:Walked according to user the walking information of data acquisition user, and judge that the walking information of user is
No is default walking information.
In an embodiment of the present invention, the walking information of user can by the type of the walking information of user come
Mark, the type of the walking information of user are or static for example, information, the walking information of going out of walking of entering
Walking information.In an embodiment of the present invention, by accessed by the feeler matrix in intelligent carpet
The position data of user, foot towards data, and direction of travel data acquisition user walking information.
In an embodiment of the present invention, presetting walking information can be preset by intelligent carpet plug-in.
Default walking information can be identified by the type of default walking information, and it is, for example, to enter to preset walking information
Walking information, walking information of going out, specifically, can be preset different by intelligent carpet plug-in
Control instruction corresponding to the type of default walking information.
If for example, the walking information of user is walking information or the walking information of going out of entering, and presetting row
It is enter walking information and walking information of going out to walk information, then the walking information of user is default information of walking,
And when the walking information of user is static walking information, then the walking information of user is not default walking information.
Alternatively, according to the walking information of user walking data acquisition user, and the walking information of user is judged
Whether it is default walking information, including:According to user walk data in position data, foot towards data,
And the type of the walking information of direction of travel data acquisition user;Sentenced according to the type of the walking information of user
Whether the walking information of disconnected user is default walking information.
S103:If the walking information of user is default walking information, generated according to the walking information of user
Corresponding control instruction, and the light in family is controlled according to corresponding control instruction.
In an embodiment of the present invention, when the walking information of user is default walking information, in addition it is also necessary to judge
The type of the corresponding default walking information of walking information of user, to trigger intelligent carpet generation and default walking
The corresponding control instruction of type of information.
If for example, the walking information of user is walking information of entering, and default walking information is walking of entering
Information and walking information of going out, then the type of default walking information corresponding with the walking information of user is to enter
Walking information, then generate control instruction corresponding with walking information of entering, to be controlled to the light in family
System.
Alternatively, if the walking information of user is default walking information, given birth to according to the walking information of user
Into corresponding control instruction, including:Walking information with user is obtained according to the type of the walking information of user
The type of corresponding default walking information, wherein, the type of default walking information include entering walking information and
Go out walking information;Correspondence is generated according to the corresponding relation between the type and control instruction of default walking information
Control instruction.
In the present embodiment, by the walking information for the data acquisition user that walked according to user, in the walking of user
When information is default walking information, corresponding control instruction is generated according to the walking information of user, and according to right
The control instruction answered is controlled to the light in family, can realize the intelligentized control method of light in family,
Effectively lift the usage experience of user.
Fig. 2 is the schematic flow sheet of the control method for the light that another embodiment of the present invention is proposed, such as Fig. 2 institutes
Show, the step S102 in embodiment illustrated in fig. 1 comprises the following steps:
S201:Position data, foot in data of being walked according to user is towards data, and direction of travel number
According to the type for the walking information for obtaining user.
In an embodiment of the present invention, the walking information of user can by the type of the walking information of user come
Mark, the type of the walking information of user are or static for example, information, the walking information of going out of walking of entering
Walking information.In an embodiment of the present invention, it can be obtained by the feeler matrix in intelligent carpet
The position data of the user got, foot believe towards data, and the walking of direction of travel data acquisition user
The type of breath.
In this step, the type of the walking information by obtaining user realizes row of the intelligent carpet according to user
The walking information of the type identification user of information is walked, with the linkage for the control effect for supporting intelligent carpet and light,
Lift the intelligentized control method effect of intelligent carpet.
S202:Whether the walking information that user is judged according to the type of the walking information of user is default walking letter
Breath.
In an embodiment of the present invention, presetting walking information can be preset by intelligent carpet plug-in.
Default walking information can be identified by the type of default walking information, and it is, for example, to enter to preset walking information
Walking information, walking information of going out, specifically, can be preset different by intelligent carpet plug-in
Control instruction corresponding to the type of default walking information.
If for example, the walking information of user is walking information or the walking information of going out of entering, and presetting row
It is enter walking information and walking information of going out to walk information, then the walking information of user is default information of walking,
And when the walking information of user is static walking information, then the walking information of user is not default walking information.
In this step, realized by the type of the walking information according to user by the walking information of user with presetting
Walking information is compared, and lifts the intelligentized control method effect of intelligent carpet.
In the present embodiment, the type of the walking information by obtaining user realizes intelligent carpet according to user's
The walking information of the type identification user for information of walking, with the connection for the control effect for supporting intelligent carpet and light
It is dynamic, the intelligentized control method effect of intelligent carpet is lifted, being realized by the type of the walking information according to user will
The walking information of user is compared with default walking information, further the intelligentized control method of lifting intelligent carpet
Effect.
Fig. 3 is the schematic flow sheet of the control method for the light that another embodiment of the present invention is proposed, such as Fig. 3 institutes
Show, the step S103 in embodiment illustrated in fig. 1 comprises the following steps:
S301:Default walking corresponding with the walking information of user is obtained according to the type of the walking information of user
The type of information, wherein, the type of default walking information includes enter walking information and walking information of going out.
In an embodiment of the present invention, when the walking information of user is default walking information, in addition it is also necessary to obtain
The type of default walking information corresponding with the walking information of user, to trigger intelligent carpet generation with presetting row
Walk the corresponding control instruction of type of information.
If for example, the walking information of user is walking information of entering, and default walking information is walking of entering
Information and walking information of going out, then the type of default walking information corresponding with the walking information of user is to enter
Walking information.
, can be with by obtaining the type of default information of walking corresponding with the walking information of user in this step
Trigger intelligent carpet and different control instructions are generated according to the walking information of different users, realize intelligent carpet
With the linkage of the control effect of light.
S302:Corresponding control is generated according to the corresponding relation between the type and control instruction of default walking information
System instruction.
Wherein, the journey as built in intelligent carpet of the corresponding relation between the type and control instruction of walking information is preset
Sequence is preset.
If for example, the walking information of user is walking information of entering, and default walking information is walking of entering
Information and walking information of going out, then the type of default walking information corresponding with the walking information of user is to enter
Walking information, intelligent carpet generates control instruction corresponding with walking information of entering, with to the light in family
It is controlled.
Alternatively, it is corresponding according to the corresponding relation generation between the type and control instruction of default walking information
Control instruction, including:If the type of the corresponding default walking information of the walking information of user is walking of entering
Information, then generate the first control instruction corresponding with walking information of entering, wherein, the first control instruction is used for
The light in family is controlled to open;If the type of the corresponding default walking information of the walking information of user is
Door walking information, then generate the second control instruction corresponding with walking information of going out, wherein, the second control refers to
Make for controlling the light in family to close.
It is walking information of entering in the type of the corresponding default walking information of the walking information of user in this step
When, control the light in family to open, be in the type of the corresponding default walking information of the walking information of user
During walking information of going out, the light in control family is closed, and is realized and is walked data in family by user
The control that is opened and closed of light, realize the intelligentized control method to light in family by intelligent carpet,
Effectively lift the usage experience of user.
, can by obtaining the type of default walking information corresponding with the walking information of user in the present embodiment
Different control instructions are generated according to the walking information of different users to trigger intelligent carpet, are realized intelligently
The linkage of the control effect of blanket and light.It is in the type of the corresponding default walking information of the walking information of user
During walking information of entering, the light in control family is opened, in the corresponding default walking of the walking information of user
When the type of information walks information to go out, the light in control family is closed, and passes through user's walking data pair
The control that light in family is opened and closed, realizes the intelligence to light in family by intelligent carpet
Change the usage experience of control, effectively lifting user.
Fig. 4 is the structural representation of the control device for the light that another embodiment of the present invention is proposed, such as Fig. 4 institutes
Show, the control device of the light includes:
Intelligent carpet 40, intelligent carpet includes feeler 401, judge module 402, and control mould
Block 403, wherein,
Feeler 401, for obtaining user's walking data.
Judge module 402, for the walking information for the data acquisition user that walked according to user, and judges user
Walking information whether be default walking information.
Alternatively, judge module 402 specifically for:Position data, foot in data of being walked according to user
Towards the type of data, and the walking information of direction of travel data acquisition user;Believed according to the walking of user
The type of breath judges whether the walking information of user is default walking information.
Control module 403, during for the walking information in user for default walking information, according to the row of user
Walk information and generate corresponding control instruction, and the light in family is controlled according to corresponding control instruction.
Alternatively, control module 403 specifically for:Obtained according to the type of the walking information of user and user
The corresponding default walking information of walking information type, wherein, the type of default walking information includes entering
Walking information and walking information of going out;Closed according to the correspondence between the type and control instruction of default walking information
The corresponding control instruction of system's generation.
Alternatively, control module 403 also particularly useful for:If the corresponding default walking of the walking information of user
The type of information is walking information of entering, then generates the first control instruction corresponding with walking information of entering, its
In, the first control instruction is used to control the light in family to open;If the walking information of user is corresponding pre-
If the type of walking information is walking information of going out, then generates the second control corresponding with walking information of going out and refer to
Order, wherein, the second control instruction is used to control the light in family to close.
It should be noted that the explanation of the foregoing control method embodiment to light is also applied for the implementation
The control device of the light of example, its realization principle is similar, and here is omitted.
In the present embodiment, by the walking information for the data acquisition user that walked according to user, in the walking of user
When information is default walking information, corresponding control instruction is generated according to the walking information of user, and according to right
The control instruction answered is controlled to the light in family, can realize the intelligentized control method of light in family,
Effectively lift the usage experience of user.
It should be noted that in the description of the invention, term " first ", " second " etc. are only used for retouching
Purpose is stated, and it is not intended that indicating or implying relative importance.In addition, in the description of the invention, removing
Non- to be otherwise noted, " multiple " are meant that two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, table
Show including it is one or more be used for realize specific logical function or process the step of executable instruction code
Module, fragment or part, and the preferred embodiment of the present invention scope include other realization, its
In can not by order that is shown or discussing, including according to involved function by it is basic and meanwhile in the way of or
In the opposite order, perform function is carried out, this should be by embodiments of the invention person of ordinary skill in the field
Understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.
In the above-described embodiment, multiple steps or method can in memory and by suitable instruction be held with storage
The software or firmware that row system is performed are realized.If for example, realized with hardware, and in another embodiment party
It is the same in formula, it can be realized with any one of following technology well known in the art or their combination:Have
For the discrete logic for the logic gates that logic function is realized to data-signal, with suitable combination
The application specific integrated circuit of logic gates, programmable gate array (PGA), field programmable gate array (FPGA)
Deng.
Those skilled in the art are appreciated that to realize the whole or portion that above-described embodiment method is carried
It can be by program step by step to instruct the hardware of correlation to complete, described program can be stored in a kind of meter
In calculation machine readable storage medium storing program for executing, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing module,
Can also be that unit is individually physically present, can also two or more units be integrated in a module
In.Above-mentioned integrated module can both be realized in the form of hardware, it would however also be possible to employ software function module
Form is realized.If the integrated module is realized using in the form of software function module and is used as independent product
Sale in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ",
The description of " specific example " or " some examples " etc. means to combine the specific spy that the embodiment or example are described
Levy, structure, material or feature are contained at least one embodiment of the present invention or example.In this explanation
In book, identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.Moreover, retouching
Specific features, structure, material or the feature stated can be in any one or more embodiments or example
Combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment
It is exemplary, it is impossible to be interpreted as limitation of the present invention, one of ordinary skill in the art is the present invention's
In the range of above-described embodiment can be changed, change, replace and modification.