CN106444452B - Household electric appliance control method and device - Google Patents
Household electric appliance control method and device Download PDFInfo
- Publication number
- CN106444452B CN106444452B CN201610942101.XA CN201610942101A CN106444452B CN 106444452 B CN106444452 B CN 106444452B CN 201610942101 A CN201610942101 A CN 201610942101A CN 106444452 B CN106444452 B CN 106444452B
- Authority
- CN
- China
- Prior art keywords
- control
- control cooling
- cooling
- speech tagging
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The present invention proposes that a kind of household electric appliance control method and device, the household electric appliance control method include receiving text data;Text data is segmented, the Control Cooling of multiple participles and part-of-speech tagging corresponding with each participle is obtained;Obtain corresponding with text data control information according to the Control Cooling of corresponding part-of-speech tagging, wherein control information include controlling party to control amplitude;And corresponding control instruction is generated according to the control information, and control household electrical appliances according to corresponding control instruction.The accuracy of home wiring control can be effectively promoted through the invention.
Description
Technical field
The present invention relates to intelligent appliance technical field more particularly to a kind of household electric appliance control methods and device.
Background technique
User can be hopeful the multiple continuous spoken turnover control instruction of household electrical appliances identification user, accurately when controlling household electrical appliances
Analyze the demand that the home wiring control of user is intended to.In the related technology, the voice data and/or text data inputted by user
Keywords matching controls household electrical appliances.
Under this mode, household electrical appliances are controlled by Keywords matching, household electrical appliances can not correctly identify the multiple continuous spoken language of user
Operation, causes the electrically operated erroneous judgement of family.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, can effectively promote home wiring control an object of the present invention is to provide a kind of household electric appliance control method
Accuracy.
It is another object of the present invention to propose a kind of domestic electric appliances controller.
In order to achieve the above objectives, the household electric appliance control method that first aspect present invention embodiment proposes, comprising: receive textual data
According to;The text data is segmented, the Control Cooling of multiple participles and part-of-speech tagging corresponding with each participle is obtained;Root
Control information corresponding with the text data is obtained according to the Control Cooling of the corresponding part-of-speech tagging, wherein the control
Information include controlling party to control amplitude;And corresponding control instruction is generated according to the control information, and according to described
Corresponding control instruction controls household electrical appliances.
The household electric appliance control method that first aspect present invention embodiment proposes, by dividing the text data that user inputs
Word obtains the Control Cooling of multiple participles and part-of-speech tagging corresponding with each participle, according to the control of corresponding part-of-speech tagging
Type obtains control information corresponding with text data, generates corresponding control instruction according to the control information, can effectively be promoted
The accuracy of home wiring control.
In order to achieve the above objectives, the domestic electric appliances controller that second aspect of the present invention embodiment proposes, comprising: receiving module,
For receiving text data;Word segmentation module, for being segmented to the text data, obtain multiple participles and with each participle
The Control Cooling of corresponding part-of-speech tagging;Obtain module, for according to the Control Cooling of the corresponding part-of-speech tagging obtain with
The corresponding control information of the text data, wherein the control information include controlling party to control amplitude;And control mould
Block for generating corresponding control instruction according to the control information, and carries out household electrical appliances according to the corresponding control instruction
Control.
The domestic electric appliances controller that second aspect of the present invention embodiment proposes, by dividing the text data that user inputs
Word obtains the Control Cooling of multiple participles and part-of-speech tagging corresponding with each participle, according to the control of corresponding part-of-speech tagging
Type obtains control information corresponding with text data, generates corresponding control instruction according to the control information, can effectively be promoted
The accuracy of home wiring control.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the household electric appliance control method that one embodiment of the invention proposes;
Fig. 2 is the flow diagram for the household electric appliance control method that another embodiment of the present invention proposes;
Fig. 3 is the flow diagram for the household electric appliance control method that another embodiment of the present invention proposes;
Fig. 4 is the flow diagram for the household electric appliance control method that another embodiment of the present invention proposes;
Fig. 5 is the operation interface schematic diagram of the electrically operated robot application program of family in the embodiment of the present invention;
Fig. 6 is the structural schematic diagram for the domestic electric appliances controller that one embodiment of the invention proposes;
Fig. 7 is the structural schematic diagram for the domestic electric appliances controller that another embodiment of the present invention proposes.
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 household electric appliance control method that one embodiment of the invention proposes.
The present embodiment is configured as in domestic electric appliances controller illustrating with the household electric appliance control method.
Referring to Fig. 1, which includes:
S11: text data is received.
In an embodiment of the present invention, for user when controlling household electrical appliances, household electrical appliances can directly receive the textual data of user's input
According to;And/or after being identified to the voice data of user's input, the text data corresponding with voice data that identifies.
User can be hopeful the multiple continuous spoken turnover control instruction of household electrical appliances identification user, accurately when controlling household electrical appliances
Analyze the demand that the home wiring control of user is intended to.And the voice data and/or text data inputted in the related technology by user
Keywords matching control household electrical appliances, can not correctly identify the multiple continuous spoken operation of user, cause the electrically operated erroneous judgement of family.
For example, (27 degree of temperature decline 3 degree, then reduce by 2 degree) may be identified as (set temperature 27 by Keywords matching
Degree), (decline of temperature 27 reduces to be lower again) is identified as (27 degree of set temperature).
And in the embodiment of the present invention, by being segmented to the text data that user inputs, obtain multiple participles and with
Each Control Cooling for segmenting corresponding part-of-speech tagging, obtains and text data pair according to the Control Cooling of corresponding part-of-speech tagging
The control information answered, then generates corresponding control instruction according to the control information, can effectively promote the accuracy of home wiring control.
In some embodiments, referring to fig. 2, before step S11 further include:
S21: preset kind table is configured according to external command.
In an embodiment of the present invention, preset kind table can be preset by the plug-in of household electrical appliances, alternatively, default class
Type table can be preset by user according to self-demand, with no restriction to this.
In an embodiment of the present invention, external command can be configured the numerical value change of household electrical appliances for user, alternatively, outside
Portion's instruction can correspondingly control the function of household electrical appliances for user, with no restriction to this.
In this step, by configuring preset kind table according to external command, it can be configured according to the self-demand of user pre-
If type list, the flexibility and applicability of household electric appliance control method are effectively improved, promotes user experience.
S12: segmenting text data, obtains the control class of multiple participles and part-of-speech tagging corresponding with each participle
Type.
In an embodiment of the present invention, Control Cooling include: to control amplitude enhanced the first Control Cooling, to control
The second Control Cooling that amplitude processed is weakened, and the third Control Cooling of the numerical value for identifying control amplitude.
For example, being labeled as up, by the part-of-speech tagging that the second Control Cooling marks by the part-of-speech tagging of the first Control Cooling
Down, and the part-of-speech tagging of third Control Cooling is labeled as value, with no restriction to this.
In an embodiment of the present invention, the Control Cooling of multiple participles and part-of-speech tagging corresponding with each participle is obtained,
It include: that the Control Cooling of part-of-speech tagging corresponding with each participle is obtained according to preset kind table.
As an example, preset kind table can be as shown in table 1.
Table 1
It is understood that preset kind table can be different due to the difference of device type, for example, the dictionary of router has
(enhancing), for handling (enhancing aerial signal), but the dictionary of router does not have (heating), for handling (heating antenna letter
Number).Therefore, when implementing, the dictionary in preset kind table is different various products, but all be unable to do without this three categories part of speech.
In an embodiment of the present invention, text data is segmented, i.e., continuous text is torn open as unit of word
Point, text data can be segmented using the relevant technologies, with no restriction to this.
For example, the text data of user's input is (27 degree of temperature reduce by three degree and are lower 1 degree), using the relevant technologies to text
After data are segmented, obtained participle collection is combined into (27 degree of temperature reduce by three degree and are lower 1 degree).
Then, participle can be gathered according to preset kind table and carries out part-of-speech tagging, if some participle in participle set
Not in preset kind table, then Not Available/NA is labeled it as.
As an example:
The text data of user's input are as follows: 27 degree of temperature reduce by three degree and are lower 1 degree, segment, obtain to text data
Multiple participles and part-of-speech tagging corresponding with each participle, as shown in table 2.
Table 2
It segments (Word) | Temperature | 27 degree | It reduces | Three degree | It is lower | 1 degree |
It marks (Tag) | NA | NA | down | value | down | value |
It should be noted that whether need to be labeled as value for 27 degree, it can be different according to different household electrical appliances.For example, right
In air-conditioning products, 27 degree are temperature operational order, therefore in preset kind table, will not be labeled as numerical value value for 27 degree.
S13: control information corresponding with text data is obtained according to the Control Cooling of corresponding part-of-speech tagging, wherein control
Information processed include controlling party to control amplitude.
In an embodiment of the present invention, the Control Cooling of corresponding part-of-speech tagging can be successively scanned based on preset order;
Include the first Control Cooling and the second Control Cooling in the Control Cooling of the corresponding part-of-speech tagging scanned, and does not include third
After Control Cooling, the first parameter corresponding with text data is calculated according to the first preset rules;By the first parameter and household electrical appliances
Default amplitude makees product, obtains first object parameter;Control direction is determined according to the symbol of first object parameter, and according to first
The absolute value of target component determines control amplitude, to determine control information according to first object parameter.
Wherein, the first preset rules are as follows:
When successively scanning the part-of-speech tagging that each Control Cooling is the first Control Cooling based on preset order, to first
Parameter carries out plus 1 processing;
When successively scanning the part-of-speech tagging that each Control Cooling is the second Control Cooling based on preset order, to first
Parameter carries out subtracting 1 processing.
Alternatively, can successively scan the Control Cooling of corresponding part-of-speech tagging based on preset order;In the correspondence scanned
Part-of-speech tagging Control Cooling include the first Control Cooling and the second Control Cooling, and including third Control Cooling after,
During being successively scanned to the Control Cooling of corresponding part-of-speech tagging based on preset order, according to the second preset rules meter
The second current parameter corresponding with current scanning site is calculated, the second target component is determined according to the second current parameter;Root
Control direction is determined according to the symbol of the second target component, and control amplitude is determined according to the absolute value of the second target component, with root
Control information is determined according to the second target component.
Wherein, the second preset rules are as follows:
The part of speech that each Control Cooling is the first Control Cooling and/or the second Control Cooling is being scanned based on preset order
When mark, 1 and/or -1 are configured by intermediate parameters, obtains median parameter value;
When scanning the part-of-speech tagging that each Control Cooling is third Control Cooling based on preset order, third control is obtained
The corresponding numerical value of the part-of-speech tagging of type processed;
Part-of-speech tagging according to preset formula, the second current parameter, median parameter value and third Control Cooling is corresponding
Numerical value determine the second target component, preset formula are as follows:
The second parameter+centre Can Shuo ﹡ third Control Cooling corresponding number of part-of-speech tagging of second target component=current
Value.
In some embodiments, referring to Fig. 3, step S13 is specifically included:
S31: the Control Cooling of corresponding part-of-speech tagging is successively scanned based on preset order.
It is understood that preset order can be verbal description direction, it can be according to language, culture and epoch
It is different and different, it is however generally that, the verbal description direction of modern Chinese and English habit is from left to right, if there is a kind of language
Cultural practices of making peace describe something using sequence from right to left, then verbal description direction is from right to left, not make to this
Limitation.
It in an embodiment of the present invention, is sequence example from left to right with preset order.
For example, successively scanning the Control Cooling of corresponding part-of-speech tagging based on sequence from left to right, walked with triggering following
Suddenly.
S32: including the first Control Cooling and the second Control Cooling in the Control Cooling of the corresponding part-of-speech tagging scanned,
It and does not include calculating the first parameter corresponding with text data according to the first preset rules after third Control Cooling.
Wherein, the first preset rules are as follows:
When successively scanning the part-of-speech tagging that each Control Cooling is the first Control Cooling based on preset order, to first
Parameter carries out plus 1 processing;
When successively scanning the part-of-speech tagging that each Control Cooling is the second Control Cooling based on preset order, to first
Parameter carries out subtracting 1 processing.
Optionally, the Control Cooling of the corresponding part-of-speech tagging scanned includes the first Control Cooling and the second control class
Type, and do not include third Control Cooling, i.e., the part-of-speech tagging of value is not present in participle set, is all the part of speech of up and down
Mark, at this point it is possible to be Vt by the first parameter tags1, the numerical value of initial value 0, expression user's adjustment is neutrality.
As an example:
The text data of user's input are as follows: 27 degree of temperature reduce the height-regulating that is lower, and segment, obtain multiple to text data
Participle and part-of-speech tagging corresponding with each participle successively scan corresponding part of speech based on sequence from left to right as shown in table 3
The Control Cooling of mark calculates first parameter Vt corresponding with text data according to the first preset rules1。
Table 3
Word (Word) | Temperature | 27 degree | It reduces | It is lower | It is turned up |
It marks (Tag) | NA | NA | down | down | up |
Vt1 | Vt1=0 | Vt1=0 | Vt1=0-1=-1 | Vt1=-1-1=-2 | Vt1=-2+1=-1 |
As shown in Table 3, first parameter Vt corresponding with text data finally is calculated according to the first preset rules1=-1.
As an example:
The text data of user's input are as follows: 26 degree of risings are increased and reduced again, are segmented to text data, are obtained multiple points
Word and part-of-speech tagging corresponding with each participle successively scan corresponding part of speech mark based on sequence from left to right as shown in table 4
The Control Cooling of note calculates first parameter Vt corresponding with text data according to the first preset rules1。
Table 4
Word (Word) | 26 degree | Rise | It increases | Again | It reduces |
It marks (Tag) | NA | up | up | NA | down |
Vt1 | Vt1=0 | Vt1=0+1=1 | Vt1=1+1=2 | Vt1=2 | Vt1=2-1=1 |
As shown in Table 4, first parameter Vt corresponding with text data finally is calculated according to the first preset rules1=+1.
S33: the default amplitude of the first parameter and household electrical appliances is made into product, obtains first object parameter.
In an embodiment of the present invention, default amplitude is pre-set, according to hardware class, model, and control
The difference of instruction type and it is different, can will control amplitude labeled as L (L be a parameter).
For example, the Adjustment precision of the temperature of some air-conditionings is 1 degree, then L=1;If having an electric-heating kettle thermal-insulation precision is 5
It spends, then L=5.
Optionally, label first object parameter is Vt', then Vt'=Vt1*L。
S34: control direction is determined according to the symbol of first object parameter, and is determined according to the absolute value of first object parameter
Amplitude is controlled, to determine control information according to first object parameter.
For example, with reference to table 3, first object parameter Vt'=Vt1* the symbol of L is -1, then the control direction of temperature is to reduce,
First object parameter Vt'=Vt1* the absolute value of L is 1, and the control amplitude of temperature is 1, then controls information are as follows: reduces by 1 for 27 degree
Degree.
S35: including the first Control Cooling and the second Control Cooling in the Control Cooling of the corresponding part-of-speech tagging scanned,
And including third Control Cooling after, what is be successively scanned to the Control Cooling of corresponding part-of-speech tagging based on preset order
In the process, the second parameter currently corresponding with current scanning site is calculated according to the second preset rules, according to current the
Two parameters determine the second target component.
Wherein, the second preset rules are as follows:
The part of speech that each Control Cooling is the first Control Cooling and/or the second Control Cooling is being scanned based on preset order
When mark, 1 and/or -1 are configured by intermediate parameters, obtains median parameter value;
When scanning the part-of-speech tagging that each Control Cooling is third Control Cooling based on preset order, third control is obtained
The corresponding numerical value of the part-of-speech tagging of type processed;
Part-of-speech tagging according to preset formula, the second current parameter, median parameter value and third Control Cooling is corresponding
Numerical value determine the second target component, preset formula are as follows:
The second parameter+centre Can Shuo ﹡ third Control Cooling corresponding number of part-of-speech tagging of second target component=current
Value.
In an embodiment of the present invention, can by intermediate parameters be labeled as d, as d=1, show user be intended to
Upper height-regulating numerical value, as d=-1, show user be intended to reduce numerical value downwards.
Optionally, the Control Cooling of the corresponding part-of-speech tagging scanned includes the first Control Cooling and the second control class
Type, and including third Control Cooling, i.e., there are the part-of-speech taggings of up, down and value in participle set, at this point it is possible to will
Second parameter tags are Vt2, the numerical value of initial value 0, expression user's adjustment is neutrality, and the second target component is labeled as
Vt ", then preset formula are as follows:
Vt "=Vt2+d*v;
Wherein, v indicates the corresponding numerical value of part-of-speech tagging value of third Control Cooling.
As an example:
The text data of user's input are as follows: 27 degree of temperature reduce by 3 degree and get higher 2 degree, segment, obtain more to text data
A participle and part-of-speech tagging corresponding with each participle successively scan corresponding word based on sequence from left to right as shown in table 5
Property mark Control Cooling, calculate second parameter Vt currently corresponding with current scanning site according to the second preset rules2,
According to the second current parameter Vt2Determine the second target component Vt ".
Table 5
As shown in Table 5, the second target component Vt "=- 1 being finally calculated.
S36: control direction is determined according to the symbol of the second target component, and is determined according to the absolute value of the second target component
Amplitude is controlled, to determine control information according to the second target component.
For example, with reference to table 5, the symbol of the second target component Vt " is -1, then the control direction of temperature is to reduce, the second mesh
The absolute value for marking parameter Vt " is 1, and the control amplitude of temperature is 1, then controls information are as follows: reduces by 1 degree for 27 degree.
In the present embodiment, believed by obtaining control corresponding with text data according to the Control Cooling of corresponding part-of-speech tagging
Breath, can determine different control information according to different Control Coolings, effectively promote the applicability and flexibility of this method.
S14: corresponding control instruction is generated according to the control information, and household electrical appliances are controlled according to corresponding control instruction
System.
It is alternatively possible to obtained according to step S34, it is generated according to the control information that first object parameter determines corresponding
Control instruction controls information for example, with reference to table 3 are as follows: reduces by 1 degree for 27 degree, then control instruction are as follows: temperature setting, setting value are
26 degree, alternatively, referring to table 4, if default amplitude L is 0.5, control information are as follows: by 26 degree of rising 1*0.5 degree, then control instruction are as follows:
Temperature setting, setting value are 26.5 degree, it may be assumed that V=V+Vt1* L=V+Vt', wherein V is the control of the corresponding household electrical appliances of control instruction
Value.
Alternatively, can be obtained according to step S36, corresponding control is generated according to the control information that the second target component determines
System instruction controls information for example, with reference to table 5 are as follows: reduces by 1 degree for 27 degree, then control instruction are as follows: temperature setting, setting value 26
Degree, it may be assumed that V=V+Vt " * L.
Further, if the V value calculated beyond control instruction can opereating specification, can to V value carry out bound control
System, or modify to the type of control instruction.
For example, minimum 17 degree of air conditioner refrigerating temperature, up to 30 degree, when the V value being calculated is lower than 17 degree, then set
V is 17;When increasing the temperature, the V value being calculated is negative value, can will increase temperature transition into reduction temperature.
As an example:
The text data of user's input are as follows: 27 degree of temperature three degree of reductions are lower 1 degree and get higher 8 degree, then the Vt " being calculated=
+ 4, V=V+Vt " * L=27+ (4*1)=31.Since the highest cryogenic temperature of air-conditioning only has 30 degree, V can be set as
30。
In an embodiment of the present invention, the current operating situation of available household electrical appliances;According to corresponding control instruction to family
Control is adjusted in the current operating situation of electricity.
In some embodiments, referring to fig. 4, step S14 is specifically included:
S41: generating corresponding control instruction according to the control information, and obtains the current operating situation of household electrical appliances.
Optionally, corresponding control instruction is generated according to the control information, for example, can be obtained according to step S34, according to
The control information that first object parameter determines generates corresponding control instruction, for example, with reference to table 3, controls information are as follows: drop 27 degree
Low 1 degree, then control instruction are as follows: temperature setting, setting value is 26 degree, alternatively, if default amplitude L is 0.5, controlling referring to table 4
Information are as follows: by 26 degree of rising 1*0.5 degree, then control instruction are as follows: temperature setting, setting value are 26.5 degree.
Alternatively, can be obtained according to step S36, corresponding control is generated according to the control information that the second target component determines
System instruction controls information for example, with reference to table 5 are as follows: reduces by 1 degree for 27 degree, then control instruction are as follows: temperature setting, setting value 26
Degree.As an example:
The text data of user's input are as follows: dehumidifying fan delivery gets higher two degrees, then reduces by 3 degree, can be according to preset formula meter
Vt "=- 1 is calculated, if the dehumidifying raised precision of fan delivery is 10% air quantity, i.e. L=10%, then V=V+Vt " * L=0+ (- 1*
10%)=- 10%, therefore, control instruction are as follows: reduce air quantity, the fan delivery that will currently dehumidify reduces 10%.
Then obtain the current operating situation of household electrical appliances, with according to corresponding control instruction to the current operating situations of household electrical appliances into
Row adjusts control.
S42: control is adjusted according to current operating situation of the corresponding control instruction to household electrical appliances.
It as an example, is the operation of the electrically operated robot application program of family in the embodiment of the present invention referring to Fig. 5, Fig. 5
Interface schematic diagram, when the text data of user's input are as follows: too hot or 30 degree of decline brightness decline 3 degree and increase 1 degree again well
When, the recognition result of home appliance people is that temperature is become 26 degree, and then, air-conditioning is added in return -> equipment.
In the present embodiment, by generating corresponding control instruction according to the control information, and the current operation feelings of household electrical appliances are obtained
Condition is adjusted control according to current operating situation of the corresponding control instruction to household electrical appliances, can effectively promote home wiring control
Accuracy.
In the present embodiment, by being segmented to the text data that user inputs, obtain multiple participles and with each participle
The Control Cooling of corresponding part-of-speech tagging obtains control corresponding with text data according to the Control Cooling of corresponding part-of-speech tagging
Information generates corresponding control instruction according to the control information, can effectively promote the accuracy of home wiring control.
Fig. 6 is the structural schematic diagram for the domestic electric appliances controller that one embodiment of the invention proposes.The domestic electric appliances controller 600 can
With being implemented in combination with by software, hardware or both.
Referring to Fig. 6, which may include: receiving module 610, word segmentation module 620, obtains module
630 and control module 640.Wherein,
Receiving module 610, for receiving text data.
Optionally, text data includes: the text data that user directly inputs;And/or the voice data to user's input
After being identified, the text data corresponding with voice data that identifies.
Word segmentation module 620 obtains multiple participles and part of speech corresponding with each participle for segmenting to text data
The Control Cooling of mark.
Optionally, word segmentation module 620 is specifically used for: obtaining part-of-speech tagging corresponding with each participle according to preset kind table
Control Cooling.
Optionally, Control Cooling include: to control amplitude enhanced the first Control Cooling, to control amplitude subtract
The second weak Control Cooling, and the third Control Cooling of the numerical value for identifying control amplitude.
Module 630 is obtained, for obtaining control corresponding with text data according to the Control Cooling of corresponding part-of-speech tagging
Information, wherein control information include controlling party to control amplitude.
Control module 640, for generating corresponding control instruction according to the control information, and according to corresponding control instruction pair
Household electrical appliances are controlled.
In some embodiments, referring to Fig. 7, which can also include:
Optionally, obtaining module 630 includes:
Submodule 631 is scanned, for successively scanning the Control Cooling of corresponding part-of-speech tagging based on preset order.
Optionally, preset order is sequence from left to right or sequence from right to left.
Computational submodule 632 includes the first Control Cooling for the Control Cooling in the corresponding part-of-speech tagging scanned
With the second Control Cooling, and after not including third Control Cooling, calculated according to the first preset rules corresponding with text data
First parameter.
Wherein, the first preset rules are as follows:
When successively scanning the part-of-speech tagging that each Control Cooling is the first Control Cooling based on preset order, to first
Parameter carries out plus 1 processing;
When successively scanning the part-of-speech tagging that each Control Cooling is the second Control Cooling based on preset order, to first
Parameter carries out subtracting 1 processing.
Product submodule 633 obtains first object parameter for the default amplitude of the first parameter and household electrical appliances to be made product.
First determines submodule 634, for determining control direction according to the symbol of first object parameter, and according to the first mesh
The absolute value for marking parameter determines control amplitude, to determine control information according to first object parameter.
Second determines submodule 635, includes the first control for the Control Cooling in the corresponding part-of-speech tagging scanned
Type and the second Control Cooling, and including third Control Cooling after, based on preset order successively to corresponding part-of-speech tagging
Control Cooling be scanned during, calculate the currently corresponding with current scanning site according to the second preset rules
Two parameters determine the second target component according to the second current parameter.
Wherein, the second preset rules are as follows:
The part of speech that each Control Cooling is the first Control Cooling and/or the second Control Cooling is being scanned based on preset order
When mark, 1 and/or -1 are configured by intermediate parameters, obtains median parameter value;
When scanning the part-of-speech tagging that each Control Cooling is third Control Cooling based on preset order, third control is obtained
The corresponding numerical value of the part-of-speech tagging of type processed;
Part-of-speech tagging according to preset formula, the second current parameter, median parameter value and third Control Cooling is corresponding
Numerical value determine the second target component, preset formula are as follows:
The second parameter+centre Can Shuo ﹡ third Control Cooling corresponding number of part-of-speech tagging of second target component=current
Value.
Third determines submodule 636, for determining control direction according to the symbol of the second target component, and according to the second mesh
The absolute value for marking parameter determines control amplitude, to determine control information according to the second target component.
Configuration module 650, for configuring preset kind table according to external command.
Optionally, control module 640, comprising:
Acquisition submodule 641, for obtaining the current operating situation of household electrical appliances.
Control submodule 642, for control to be adjusted according to current operating situation of the corresponding control instruction to household electrical appliances.
It should be noted that being also suitable in earlier figures 1- Fig. 5 embodiment to the explanation of household electric appliance control method embodiment
In the domestic electric appliances controller 600, realization principle is similar, and details are not described herein again.
In the present embodiment, by being segmented to the text data that user inputs, obtain multiple participles and with each participle
The Control Cooling of corresponding part-of-speech tagging obtains control corresponding with text data according to the Control Cooling of corresponding part-of-speech tagging
Information generates corresponding control instruction according to the control information, can effectively promote the accuracy of home wiring control.
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, to execute 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.
Claims (16)
1. a kind of household electric appliance control method, which comprises the following steps:
Receive text data;
The text data is segmented, the Control Cooling of multiple participles and part-of-speech tagging corresponding with each participle is obtained;
Control information corresponding with the text data is obtained according to the Control Cooling of the corresponding part-of-speech tagging, wherein institute
State control information include controlling party to control amplitude;And
Corresponding control instruction is generated according to the control information, and household electrical appliances are controlled according to the corresponding control instruction
System;
The Control Cooling include: to it is described control amplitude enhanced the first Control Cooling, to the control amplitude progress
The second Control Cooling weakened, and the third Control Cooling of the numerical value for identifying the control amplitude;
It is described that control information corresponding with the text data, packet are obtained according to the Control Cooling of the corresponding part-of-speech tagging
It includes:
The Control Cooling of the corresponding part-of-speech tagging is successively scanned based on preset order;
It include first Control Cooling and second control in the Control Cooling of the corresponding part-of-speech tagging scanned
Type, and after not including the third Control Cooling calculates corresponding with the text data the according to the first preset rules
One parameter;
The control information is determined according to first parameter.
2. household electric appliance control method as described in claim 1, which is characterized in that wherein,
The default amplitude of first parameter and the household electrical appliances is made into product, obtains first object parameter;
The control direction is determined according to the symbol of the first object parameter, and according to the absolute value of the first object parameter
The control amplitude is determined, to determine the control information according to the first object parameter;
Wherein, first preset rules are as follows:
It is right when successively scanning the part-of-speech tagging that each Control Cooling is first Control Cooling based on the preset order
First parameter carries out plus 1 processing;
It is right when successively scanning the part-of-speech tagging that each Control Cooling is second Control Cooling based on the preset order
First parameter carries out subtracting 1 processing.
3. household electric appliance control method as claimed in claim 2, which is characterized in that the control according to the corresponding part-of-speech tagging
Type processed obtains control information corresponding with the text data, further includes:
It include first Control Cooling and second control in the Control Cooling of the corresponding part-of-speech tagging scanned
Type, and including the third Control Cooling after, based on the preset order successively to the corresponding part-of-speech tagging
During Control Cooling is scanned, second currently corresponding with current scanning site is calculated according to the second preset rules
Parameter determines the second target component according to the second current parameter;
The control direction is determined according to the symbol of second target component, and according to the absolute value of second target component
The control amplitude is determined, to determine the control information according to second target component;
Wherein, second preset rules are as follows:
It is first Control Cooling and/or the second control class scanning each Control Cooling based on the preset order
When the part-of-speech tagging of type, 1 and/or -1 are configured by intermediate parameters, obtains median parameter value;
When scanning the part-of-speech tagging that each Control Cooling is the third Control Cooling based on the preset order, institute is obtained
State the corresponding numerical value of part-of-speech tagging of third Control Cooling;
According to preset formula, the second current parameter, the part of speech of the median parameter value and the third Control Cooling
It marks corresponding numerical value and determines second target component, the preset formula are as follows:
The second parameter+centre Can Shuo ﹡ third Control Cooling corresponding numerical value of part-of-speech tagging of second target component=current.
4. household electric appliance control method as claimed in claim 2, which is characterized in that it is described obtain it is multiple participle and with it is each participle pair
The Control Cooling for the part-of-speech tagging answered, comprising:
The Control Cooling of part-of-speech tagging corresponding with each participle is obtained according to preset kind table.
5. household electric appliance control method as claimed in claim 4, which is characterized in that before the reception text data, further includes:
The preset kind table is configured according to external command.
6. household electric appliance control method as described in claim 1, which is characterized in that the text data includes:
The text data that user directly inputs;And/or
After being identified to the voice data of user input, the textual data corresponding with the voice data that identifies
According to.
7. household electric appliance control method as claimed in claim 2 or claim 3, which is characterized in that the preset order is from left to right suitable
Sequence or sequence from right to left.
8. household electric appliance control method as described in claim 1, which is characterized in that it is described according to the corresponding control instruction to family
Electricity is controlled, comprising:
Obtain the current operating situation of the household electrical appliances;
Control is adjusted to the current operating situation of the household electrical appliances according to the corresponding control instruction.
9. a kind of domestic electric appliances controller characterized by comprising
Receiving module, for receiving text data;
Word segmentation module obtains multiple participles and part of speech mark corresponding with each participle for segmenting to the text data
The Control Cooling of note;
Module is obtained, for obtaining control corresponding with the text data according to the Control Cooling of the corresponding part-of-speech tagging
Information, wherein the control information include controlling party to control amplitude;And
Control module, for generating corresponding control instruction according to the control information, and according to the corresponding control instruction
Household electrical appliances are controlled;
The Control Cooling include: to it is described control amplitude enhanced the first Control Cooling, to the control amplitude progress
The second Control Cooling weakened, and the third Control Cooling of the numerical value for identifying the control amplitude;
The acquisition module includes:
Submodule is scanned, for successively scanning the Control Cooling of the corresponding part-of-speech tagging based on preset order;
Computational submodule, for including first Control Cooling in the Control Cooling of the corresponding part-of-speech tagging scanned
With second Control Cooling, and after not including the third Control Cooling, calculated and the text according to the first preset rules
Corresponding first parameter of notebook data determines the control information according to first parameter.
10. domestic electric appliances controller as claimed in claim 9, which is characterized in that the acquisition module further include:
Product submodule obtains first object parameter for the default amplitude of first parameter and the household electrical appliances to be made product;
First determines submodule, for determining the control direction according to the symbol of the first object parameter, and according to described
The absolute value of first object parameter determines the control amplitude, to determine the control information according to the first object parameter;
Wherein, first preset rules are as follows:
It is right when successively scanning the part-of-speech tagging that each Control Cooling is first Control Cooling based on the preset order
First parameter carries out plus 1 processing;
It is right when successively scanning the part-of-speech tagging that each Control Cooling is second Control Cooling based on the preset order
First parameter carries out subtracting 1 processing.
11. domestic electric appliances controller as claimed in claim 10, which is characterized in that the acquisition module further include:
Second determines submodule, for including first control in the Control Cooling of the corresponding part-of-speech tagging scanned
Type and second Control Cooling, and including the third Control Cooling after, based on the preset order successively to institute
State corresponding part-of-speech tagging Control Cooling be scanned during, calculated and current scanning position according to the second preset rules
Corresponding the second current parameter of point determines the second target component according to the second current parameter;
Third determines submodule, for determining the control direction according to the symbol of second target component, and according to described
The absolute value of second target component determines the control amplitude, to determine the control information according to second target component;
Wherein, second preset rules are as follows:
It is first Control Cooling and/or the second control class scanning each Control Cooling based on the preset order
When the part-of-speech tagging of type, 1 and/or -1 are configured by intermediate parameters, obtains median parameter value;
When scanning the part-of-speech tagging that each Control Cooling is the third Control Cooling based on the preset order, institute is obtained
State the corresponding numerical value of part-of-speech tagging of third Control Cooling;
According to preset formula, the second current parameter, the part of speech of the median parameter value and the third Control Cooling
It marks corresponding numerical value and determines second target component, the preset formula are as follows:
The second parameter+centre Can Shuo ﹡ third Control Cooling corresponding numerical value of part-of-speech tagging of second target component=current.
12. domestic electric appliances controller as claimed in claim 10, which is characterized in that the word segmentation module is specifically used for:
The Control Cooling of part-of-speech tagging corresponding with each participle is obtained according to preset kind table.
13. domestic electric appliances controller as claimed in claim 12, which is characterized in that further include:
Configuration module, for configuring the preset kind table according to external command.
14. domestic electric appliances controller as claimed in claim 9, which is characterized in that the text data includes:
The text data that user directly inputs;And/or
After being identified to the voice data of user input, the textual data corresponding with the voice data that identifies
According to.
15. domestic electric appliances controller as described in claim 10 or 11, which is characterized in that the preset order is from left to right
Sequence or sequence from right to left.
16. domestic electric appliances controller as claimed in claim 9, which is characterized in that the control module, comprising:
Acquisition submodule, for obtaining the current operating situation of the household electrical appliances;
Control submodule, for control to be adjusted to the current operating situation of the household electrical appliances according to the corresponding control instruction
System.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610942101.XA CN106444452B (en) | 2016-10-31 | 2016-10-31 | Household electric appliance control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610942101.XA CN106444452B (en) | 2016-10-31 | 2016-10-31 | Household electric appliance control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106444452A CN106444452A (en) | 2017-02-22 |
CN106444452B true CN106444452B (en) | 2019-02-01 |
Family
ID=58177330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610942101.XA Active CN106444452B (en) | 2016-10-31 | 2016-10-31 | Household electric appliance control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106444452B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108196941A (en) * | 2017-12-29 | 2018-06-22 | 美的集团股份有限公司 | The method, apparatus and computer readable storage medium of terminal control |
CN108376543B (en) * | 2018-02-11 | 2021-07-13 | 深圳创维-Rgb电子有限公司 | Control method, device, equipment and storage medium for electrical equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102538143A (en) * | 2012-02-06 | 2012-07-04 | 广东美的电器股份有限公司 | Intelligent phonic search engine air-conditioning system and control method thereof |
CN104202455A (en) * | 2014-08-30 | 2014-12-10 | 北京光年无限科技有限公司 | Intelligent voice dialing method and intelligent voice dialing device |
CN104852957A (en) * | 2015-04-03 | 2015-08-19 | 江苏物联网研究发展中心 | Internet of Things-oriented smart home service system |
CN104990214A (en) * | 2015-06-30 | 2015-10-21 | 广东美的制冷设备有限公司 | Method and system for controlling air conditioner according to character semantic meanings |
WO2015183401A1 (en) * | 2014-05-30 | 2015-12-03 | Apple Inc. | Intelligent assistant for home automation |
CN105334743A (en) * | 2015-11-18 | 2016-02-17 | 深圳创维-Rgb电子有限公司 | Intelligent home control method and system based on emotion recognition |
CN105677635A (en) * | 2015-12-29 | 2016-06-15 | 聚熵信息技术(上海)有限公司 | Method, device and system for natural languages interaction |
-
2016
- 2016-10-31 CN CN201610942101.XA patent/CN106444452B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102538143A (en) * | 2012-02-06 | 2012-07-04 | 广东美的电器股份有限公司 | Intelligent phonic search engine air-conditioning system and control method thereof |
WO2015183401A1 (en) * | 2014-05-30 | 2015-12-03 | Apple Inc. | Intelligent assistant for home automation |
CN104202455A (en) * | 2014-08-30 | 2014-12-10 | 北京光年无限科技有限公司 | Intelligent voice dialing method and intelligent voice dialing device |
CN104852957A (en) * | 2015-04-03 | 2015-08-19 | 江苏物联网研究发展中心 | Internet of Things-oriented smart home service system |
CN104990214A (en) * | 2015-06-30 | 2015-10-21 | 广东美的制冷设备有限公司 | Method and system for controlling air conditioner according to character semantic meanings |
CN105334743A (en) * | 2015-11-18 | 2016-02-17 | 深圳创维-Rgb电子有限公司 | Intelligent home control method and system based on emotion recognition |
CN105677635A (en) * | 2015-12-29 | 2016-06-15 | 聚熵信息技术(上海)有限公司 | Method, device and system for natural languages interaction |
Also Published As
Publication number | Publication date |
---|---|
CN106444452A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9335826B2 (en) | Method of fusing multiple information sources in image-based gesture recognition system | |
CN107368892B (en) | Model training method and device based on machine learning | |
CN107680589B (en) | Voice information interaction method, device and equipment | |
CN109658938A (en) | The method, apparatus of voice and text matches, equipment and computer-readable medium | |
CN107919121A (en) | Control method, device, storage medium and the computer equipment of smart home device | |
CN106444452B (en) | Household electric appliance control method and device | |
CN112053683A (en) | Voice instruction processing method, device and control system | |
CN107246714A (en) | Air conditioning control method and its equipment | |
CN104090871A (en) | Picture translation method and system | |
EP1562143A3 (en) | Image processing apparatus and control method and program therefor | |
CN107152768A (en) | Air conditioning control method and its equipment | |
CN108090211B (en) | Hot news pushing method and device | |
CN108171243B (en) | Medical image information identification method and system based on deep neural network | |
CN107608957A (en) | Text modification method, apparatus and its equipment based on voice messaging | |
CN106649696A (en) | Information classification method and device | |
CN111199729B (en) | Voiceprint recognition method and voiceprint recognition device | |
CN109373518A (en) | Air conditioner and its phonetic controller and sound control method | |
CN106354036B (en) | Household electric appliance control method and device | |
EP3654205A1 (en) | Systems and methods for generating haptic effects based on visual characteristics | |
CN110833357A (en) | Obstacle identification method and device | |
CN111385659B (en) | Video recommendation method, device, equipment and storage medium | |
US11367283B2 (en) | Electronic device and control method thereof | |
CN107273424A (en) | Display processing method and device applied to translation service | |
CN104424298B (en) | A kind of information-pushing method and electronic equipment | |
CN105825224A (en) | Obtaining method and apparatus of classifier family |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |