Specific embodiment
The embodiment of the present invention 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, and for explaining only the invention, and is not considered as limiting the invention.On the contrary, this
The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal
Object.
Fig. 1 is the flow diagram for the switch panel self-learning method that one embodiment of the invention proposes.
Switch panel self-learning method can be configured in switch panel self study device in the present embodiment.The switching surface
Plate self study device can be set in switch panel, or also can be set in the electronic device, and the embodiment of the present invention is to this
With no restriction.
Wherein, electronic equipment is, for example, PC (Personal Computer, PC), and cloud device or movement are set
It is standby, mobile device such as smart phone or tablet computer etc..
When the switch panel self study device is arranged in the electronic device, electronic equipment can be based on itself and switch panel
Between communication linkage the self study of the switch panel is controlled, with no restriction to this.
It should be noted that the executing subject of the embodiment of the present invention, can be, for example, switch panel self study on hardware
Central processing unit (Central Processing Unit, CPU) in device/electronic equipment can be, for example, to open on software
The application program in panel self study device/electronic equipment is closed, with no restriction to this.
The switch panel self-learning method can be applied during user and switch panel interact.
Referring to Fig. 1, this method comprises:
S11: judge whether the execution number of the first user action reaches the first preset threshold, wherein the first user action
Are as follows: triggering door status switch, and the first key of trigger switch panel.
Wherein, the first preset threshold can be pre-set, and the first preset threshold can be filled by switch panel self study
The factory program set is preset, alternatively, can also be set by user according to self-demand, with no restriction to this.
First preset threshold can be, for example, 20 times.
First key can be the key for triggering specific household appliance (for example, the lamps and lanterns in parlor), with no restriction to this.
In an embodiment of the present invention, self study can be carried out to switch panel based on user action, so that switch panel
Function adhesive plaster share the use habit at family, promote user experience degree.
Referring to fig. 2, Fig. 2 is the schematic view of the mounting position of door status switch and switch panel in the embodiment of the present invention.Wherein, it wraps
Include door 21, door status switch 22 and switch panel 23.
Further, in the embodiment of the present invention, induction can be respectively set in door status switch and switch panel in advance
Device and counter, by the sensing device incude user action, and every time sense user action when, flip-flop number into
Row statistics, the number executed to user action count, and whether judge count value by the CPU in switch panel self study device
Reach the first preset threshold, and when reaching first preset threshold, triggering carries out self study to switch panel, does not limit this
System.
In an embodiment of the present invention, by judging that user triggers door status switch, and the first key of trigger switch panel
Number whether reach the first preset threshold, by be then based on door status switch and switch panel linkage trigger, therefore, Neng Goumo
Intend operation common when the user goes home, realizes that the inertia operation based on user carries out self study to switch panel, further such that
The function adhesive plaster of switch panel shares the use habit at family.
S12: when number reaches the first preset threshold, the first key is controlled by multiple keys in switch panel
Household appliance carry out opening and closing control.
It in an embodiment of the present invention, can be in advance by the control planning between the first key and its controlled household appliance
It is stored in Cloud Server, when number reaches the first preset threshold, generates multiple keys by the API Calls in Cloud Server
The control planning between household appliance controlled with first key, to be pressed by multiple keys in switch panel to first
The household appliance that key is controlled carries out opening and closing control, with no restriction to this.
In an embodiment of the present invention, when the execution number of the first user action reaches the first preset threshold, by opening
It closes the household appliance that multiple keys in panel control the first key and carries out opening and closing control, at this point, switch panel self study
CPU in device determines the first user action for the habitual action of user, and triggering carries out self study to switch panel, so that with
The household appliance that family can control the first key based on multiple keys carries out opening and closing control, effectively avoids user misoperation,
So that the function adhesive plaster of switch panel shares the use habit at family, user experience degree is promoted.
In the present embodiment, by judging whether the execution number of the first user action reaches the first preset threshold, wherein the
One user action are as follows: triggering door status switch, and the first key of trigger switch panel;When number reaches the first preset threshold,
Opening and closing control is carried out by the household appliance that multiple keys in switch panel control the first key, by being then based on user
Movement carries out self study to switch panel and effectively user is avoided to miss so that the function adhesive plaster of switch panel shares the use habit at family
Operation promotes user experience degree.
Fig. 3 is the flow diagram for the switch panel self-learning method that one embodiment of the invention proposes.
Referring to Fig. 3, this method comprises:
S31: judging whether the execution number of the first user action reaches the first preset threshold, if so, S32 is executed, otherwise,
Execute S35.
Wherein, the first user action are as follows: triggering door status switch, and the first key of trigger switch panel.
Optionally, referring to fig. 4, before S31, can also include:
S30: the first preset threshold, the second preset threshold and preset time threshold are configured according to external command.
Wherein, which, which can be, is given birth to by the R & D design personnel of switch panel self study device according to its performance
At, alternatively, being also possible to generated according to self-demand by user, can be triggered based on the external command default to first
Threshold value, the second preset threshold and preset time threshold are configured, and the flexibility of effective method for improving is capable of.
S32: opening and closing control is carried out by the household appliance that multiple keys in switch panel control the first key.
Optionally, multiple keys are the part key or whole keys in switch panel.
In an embodiment of the present invention, it can be determined based on switch panel performance through the part key pair in switch panel
The household appliance that first key is controlled carries out opening and closing control, alternatively, can also be by whole keys in switch panel to
The household appliance that one key is controlled carries out opening and closing control, can carry out self study according to switch panel performance, avoid postponing, real
Now in conjunction with reality, the timeliness of lifting switch panel self study.
Optionally, when multiple keys are the part key in switch panel, method further include: determination meets preset condition
Key, wherein preset condition are as follows: the key adjacent with the first key;It is pressed by multiple keys in switch panel to first
The household appliance that key is controlled carries out opening and closing control, comprising: by meet in switch panel the key of preset condition to first by
The household appliance that key is controlled carries out opening and closing control.
In an embodiment of the present invention, preset condition can also be that user removes in inertia operating area in switch panel
Key except first key, with no restriction to this.
S33: judging whether the execution number of second user movement reaches the second preset threshold, if so, S34 is executed, otherwise,
Execute S35.
Wherein, second user acts are as follows: is carried out within the preset time threshold after unlatching control to household appliance, to family
Electric equipment carries out closure control.
Wherein, preset time threshold can be pre-set, and preset time threshold can be filled by switch panel self study
The factory program set is preset, alternatively, can also be set by user according to self-demand, with no restriction to this.
It is understood that if user carries out household appliance within the preset time threshold after unlatching control, to family
Electric equipment carries out closure control, wherein preset time threshold can be, for example, 2s, that is, can determine that user is not intended at this time to visitor
The lamps and lanterns in the Room carry out unlatching control, therefore, can restore to initial to set by switch panel based on second user movement, not to this
It is restricted.
Wherein, the second preset threshold can be pre-set, and the second preset threshold can be filled by switch panel self study
The factory program set is preset, alternatively, can also be set by user according to self-demand, with no restriction to this.
Second preset threshold can be, for example, 20 times.
Further, in the embodiment of the present invention, induction can be respectively set in door status switch and switch panel in advance
Device and counter incude user action by the sensing device, and when sensing second user movement every time, flip-flop number
Device is counted, and the number executed to second user movement counts, and judges meter by the CPU in switch panel self study device
Whether numerical value reaches the second preset threshold, and when reaching second preset threshold, and triggering carries out self study to switch panel, right
This is with no restriction.
S34: forbidding in switch panel, and the key in addition to the first key carries out opening and closing control to household appliance.
In an embodiment of the present invention, when the execution number of second user movement reaches the second preset threshold, forbid out
It closes in panel, the key in addition to the first key carries out opening and closing control to household appliance, at this point, in switch panel self study device
CPU determine user be not intended to carry out unlatching control to the lamps and lanterns in parlor at this time, therefore, can based on second user movement touching
Hair carries out self study to switch panel, and switch panel is restored to initial setting, further such that the function of switch panel is bonded
The use habit of user promotes user experience degree.
S35: with no treatment.
It in the present embodiment, can be triggered based on the external command to the first preset threshold, the second preset threshold, and default
Time threshold is configured, and the flexibility of effective method for improving is capable of.It is determined based on switch panel performance by switch panel
Part key household appliance that the first key is controlled carry out opening and closing control, alternatively, can also be by switch panel
The household appliance that whole keys control the first key carries out opening and closing control, can be learnt by oneself according to switch panel performance
It practises, avoids postponing, realize and combine practical, the timeliness of lifting switch panel self study.By being then based on user action to switch
Panel carries out self study, carries out opening and closing control by the household appliance that multiple keys in switch panel control the first key
System effectively avoids user misoperation so that the function adhesive plaster of switch panel shares the use habit at family, promotes user experience
Degree.And switch panel is restored to initial setting, further such that the function adhesive plaster of switch panel shares based on user action triggering
The use habit at family.
Fig. 5 is the structural schematic diagram for the switch panel self study device that one embodiment of the invention proposes.
Referring to Fig. 5, which includes: first judgment module 501 and control module 502.Wherein,
First judgment module 501, for judging whether the execution number of the first user action reaches the first preset threshold,
In, the first user action are as follows: triggering door status switch, and the first key of trigger switch panel.
Control module 502, for when number reaches the first preset threshold, by multiple keys in switch panel to
The household appliance that one key is controlled carries out opening and closing control.
Wherein, multiple keys are the part key or whole keys in switch panel.
Optionally, referring to Fig. 6, the device 500 further include:
Second judgment module 503, for judging whether the execution number of second user movement reaches the second preset threshold,
In, second user movement are as follows: household appliance is carried out within the preset time threshold after unlatching control, household appliance is carried out
Closure control.
Control module 502 is also used to, and when reaching the second preset threshold, is forbidden in switch panel, in addition to the first key
Key opening and closing control is carried out to household appliance.
Optionally, when multiple keys are the part key in switch panel, referring to Fig. 6, device 500 further include:
Determining module 504, for determining the key for meeting preset condition, wherein preset condition are as follows: adjacent with the first key
Key.
Control module 502 is also used to, what the key by meeting preset condition in switch panel controlled the first key
Household appliance carries out opening and closing control.
Optionally, referring to Fig. 6, the device 500 further include:
Configuration module 505 is used for according to external command to the first preset threshold, the second preset threshold and preset time
Threshold value is configured.
It should be noted that the explanation in earlier figures 1- Fig. 4 embodiment to switch panel self-learning method embodiment
It is also applied for the switch panel self study device 500 of the embodiment, realization principle is similar, and details are not described herein again.
In the present embodiment, by judging whether the execution number of the first user action reaches the first preset threshold, wherein the
One user action are as follows: triggering door status switch, and the first key of trigger switch panel;When number reaches the first preset threshold,
Opening and closing control is carried out by the household appliance that multiple keys in switch panel control the first key, by being then based on user
Movement carries out self study to switch panel and effectively user is avoided to miss so that the function adhesive plaster of switch panel shares the use habit at family
Operation promotes user experience degree.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple "
It is two or more.
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 present invention 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, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention 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..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.