The content of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of cigarette stove linkage processing method, device, meter
Calculation machine readable storage medium storing program for executing and cigarette machine.
The technical proposal of the invention is realized in this way:
The embodiment of the present invention provides a kind of cigarette stove linkage processing method, and methods described includes:
Operation range is determined according to input instruction;
According to the operation range of preservation and the corresponding relation of decision threshold, decision threshold corresponding to the operation range is determined
Value;
Obtain the detected value that at least one sensor obtains;
New decision threshold is generated according to the decision threshold of determination and the detected value, updates and preserves operation range
With the corresponding relation of decision threshold.
In such scheme, the sensor, including at least one below:Smoke Sensor and luminance sensor;
The detected value for obtaining at least one sensor and obtaining, including:
Obtain the Smoke Detection value that the Smoke Sensor obtains and/or the brightness detection that the luminance sensor obtains
Value.
It is described according to the operation range of preservation and the corresponding relation of decision threshold in such scheme, determine the work shelves
Decision threshold corresponding to position, including:
According to the corresponding relation of smog decision threshold corresponding to the motor operation range of preservation and each motor operation range, really
Smog decision threshold corresponding to the fixed motor operation range determined according to input instruction;And/or
According to preservation illumination operation range and it is each illumination operation range corresponding to brightness decision threshold corresponding relation, really
Brightness decision threshold corresponding to the fixed illumination operation range determined according to input instruction.
It is described that new decision threshold is generated according to the decision threshold of determination and the detected value in such scheme, including:
Judge whether the detected value is effective, when determining that the detected value is effective, the determination is handled by preset strategy
Decision threshold and the detected value, generate new decision threshold;
It is described to judge whether the detected value is effective, including:
The difference of the detected value and the decision threshold of the determination is determined, the difference is less than or equal to difference threshold,
Then determine that the detected value is effective.
The embodiment of the present invention also provides a kind of cigarette stove linkage processing method, and methods described includes:
The detected value that at least one sensor obtains is obtained, determines operation range corresponding to the detected value;
Work order is generated according to the operation range, the first equipment and the second equipment are controlled according to the work order
Working condition.
In such scheme, the sensor, including at least one below:Smoke Sensor and luminance sensor;
The detected value for obtaining at least one sensor and obtaining, determines operation range corresponding to the detected value, including:
Obtain the Smoke Detection value that the Smoke Sensor obtains and/or the brightness detection that the luminance sensor obtains
Value;
The corresponding relation of smog decision threshold corresponding to the motor operation range preserved and each motor operation range is obtained, really
The maximum smog decision threshold that the fixed Smoke Detection value exceedes, motor work shelves are determined according to the maximum smog decision threshold
Position;And/or
The corresponding relation of brightness decision threshold corresponding to the illumination operation range preserved and each illumination operation range is obtained, really
The high-high brightness decision threshold that the fixed brightness detected value exceedes, illumination work shelves are determined according to the high-high brightness decision threshold
Position.
It is described that work order is generated according to the operation range in such scheme, control first according to the work order
Equipment, including:
First work order is generated according to the motor operation range and/or illumination operation range, according to first work
Make instruction and control first equipment.
In such scheme, the sensor, in addition to combustible gas sensor;
The detected value for obtaining at least one sensor and obtaining, determine the detected value corresponding to operation range, also wrap
Include:
Obtain the fuel gas detected value that the combustible gas sensor obtains;
According to the fuel gas detected value and the fuel gas threshold value preserved, the operation range of gas valve is determined.
It is described that work order is generated according to the operation range in such scheme, control second according to the work order
Equipment, including:
Second work order is generated according to the operation range of the gas valve, according to second work order control
Second equipment.
The embodiment of the present invention also provides a kind of cigarette stove linkage processing unit, and described device includes:First receiving module, first
Processing module;Wherein,
First receiving module, the detected value obtained for obtaining at least one sensor;
The first processing module, for determining operation range according to input instruction;According to the operation range of preservation and sentence
Determine the corresponding relation of threshold value, determine decision threshold corresponding to the operation range;And
New decision threshold is generated according to the decision threshold of determination and the detected value, updates and preserves operation range
With the corresponding relation of decision threshold.
In such scheme, the sensor, including at least one below:Smoke Sensor and luminance sensor;
First receiving module, is specifically used for:Obtain Smoke Detection value that the Smoke Sensor obtains and/or described
The brightness detected value that luminance sensor obtains.
In such scheme, the first processing module, specifically for the motor operation range according to preservation and each motor work
Make the corresponding relation of smog decision threshold corresponding to gear, it is determined that the cigarette according to corresponding to the motor operation range that input instruction determines
Mist decision threshold;And/or
According to preservation illumination operation range and it is each illumination operation range corresponding to brightness decision threshold corresponding relation, really
Brightness decision threshold corresponding to the fixed illumination operation range determined according to input instruction.
In such scheme, the first processing module, specifically for judging whether the detected value is effective, the inspection is determined
When measured value is effective, the decision threshold of the determination and the detected value are handled by preset strategy, generates new decision threshold;
The first processing module, the difference specifically for determining the detected value and the decision threshold of the determination, institute
State difference and be less than or equal to difference threshold, it is determined that the detected value is effective.
The embodiment of the present invention also provides a kind of cigarette stove linkage processing unit, described device, including:Second receiving module,
Two processing modules;Wherein,
Second receiving module, the detected value obtained for obtaining at least one sensor;
The Second processing module, for determining operation range corresponding to the detected value;And according to the operation range
Work order is generated, the working condition of the first equipment and the second equipment is controlled according to the work order.
In such scheme, the sensor, including at least one below:Smoke Sensor and luminance sensor;
Second receiving module, specifically for obtaining Smoke Detection value that the Smoke Sensor obtains and/or described
The brightness detected value that luminance sensor obtains;
The Second processing module, specifically for obtaining corresponding to the motor operation range preserved and each motor operation range
The corresponding relation of smog decision threshold, the maximum smog decision threshold that the Smoke Detection value exceedes is determined, according to the maximum
Smog decision threshold determines motor operation range;And/or
The corresponding relation of brightness decision threshold corresponding to the illumination operation range preserved and each illumination operation range is obtained, really
The high-high brightness decision threshold that the fixed brightness detected value exceedes, illumination work shelves are determined according to the high-high brightness decision threshold
Position.
In such scheme, the Second processing module, specifically for according to the motor operation range and/or illumination work
Gear generates the first work order, and first equipment is controlled according to first work order.
In such scheme, the sensor, in addition to combustible gas sensor;
Second receiving module, the fuel gas detected value obtained specifically for obtaining the combustible gas sensor
The Second processing module, specifically for according to the fuel gas detected value and preserve fuel gas threshold value,
Determine the operation range of gas valve.
In such scheme, the Second processing module, specifically for generating second according to the operation range of the gas valve
Work order, second equipment is controlled according to second work order.
The embodiment of the present invention also provides a kind of cigarette stove linkage processing unit, and described device includes:Processor and for storing
The memory for the computer program that can be run on a processor;
Wherein, when the processor is used to run the computer program, cigarette stove linkage processing method described above is performed
The step of;Or
When the processor is used to run the computer program, the step of cigarette stove linkage processing method described above is performed
Suddenly.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter
The step of calculation machine program realizes cigarette stove linkage processing method described above when being executed by processor;Or
The computer program realizes the step of cigarette stove linkage processing method described above when being executed by processor.
The embodiment of the present invention also provides a kind of cigarette machine, and the cigarette machine includes processor, is stored with and run by the processor
Executable program memory,
The step of processor performs cigarette stove linkage processing method described above when running the executable program;Or
Person,
The step of processor performs cigarette stove linkage processing method described above when running the executable program.
The embodiment of the present invention also provides a kind of kitchen range, and the cigarette machine includes processor, is stored with and run by the processor
Executable program memory,
The step of processor performs cigarette stove linkage processing method described above when running the executable program;Or
Person,
The step of processor performs cigarette stove linkage processing method described above when running the executable program.
Method, apparatus that the embodiment of the present invention is provided, computer-readable recording medium, work is determined according to input instruction
Gear;According to the operation range of preservation and the corresponding relation of decision threshold, decision threshold corresponding to the operation range is determined;Obtain
The detected value for taking at least one sensor to obtain;New decision threshold is generated according to the decision threshold of determination and the detected value
Value, update and preserve operation range and the corresponding relation of decision threshold.It is big without user's input in the scheme of the embodiment of the present invention
The configuration parameter of amount, by learning the use habit of user, according to the use habit adjusting parameter of user, avoid because immutable
The preset parameter of cigarette stove interlocking equipment and the problem of user's custom can not be adapted to, make that cigarette stove interlocking equipment is more intelligent, individual character
Change, customize, more customer-centric, lift Consumer's Experience.
Method, apparatus that the embodiment of the present invention is provided, computer-readable recording medium, obtain at least one sensor and obtain
The detected value arrived, determine operation range corresponding to the detected value;Work order is generated according to the operation range, according to described
Work order controls the working condition of the first equipment and the second equipment.In the scheme of the embodiment of the present invention, grasped without user
Make, the detected value that can be obtained according to each sensor controls cigarette stove interlocking equipment, is more convenient more intelligent, lifting Consumer's Experience.
In example IV, first equipment, it can also include:Temperature sensor, for detecting cooking range furnace end or pot
The change of interior temperature;
Second equipment, in addition to:Gas valve operational state detector.
Before the step 201, methods described also includes:
After first equipment obtains the temperature detection value that temperature sensor obtains, the temperature detection value is sent to institute
The second equipment is stated, second equipment obtains the temperature detection value;
Whether second equipment is in running order by gas valve operational state detector detection gas valve;
Second equipment determines that the temperature detection value exceedes temperature threshold, or determines that the gas valve is in work
During state, second equipment starts to obtain the detected value that luminance sensor obtains, according to brightness detected value and brightness decision threshold
The operation range of value control lighting apparatus.
It should be noted that first equipment or second equipment are with the cigarette stove linkage processing method shown in Fig. 1
When, first equipment or second equipment are in manual operation pattern, are operated according to the input instruction from user,
And the operation range and the corresponding relation of decision threshold pre-saved according to input instruction and detected value adjustment;First equipment
Or second equipment with cigarette stove linkage processing method shown in Fig. 2 when, first equipment or second equipment are in
Intelligent operation pattern, the first equipment is voluntarily controlled according to the corresponding relation of the operation range of preservation and decision threshold or second is set
It is standby.
User can voluntarily select first equipment or second equipment to be in manual operation pattern or intelligent operation
Pattern;Also mode of operation can be selected by first equipment or second equipment.
Here, first equipment or second equipment selection mode of operation, including:
First equipment or second equipment are under manual operation pattern, it is determined that being not detected by a preset time
Input instruction from user, or in user input instruction but when determining that the obtained detected value of sensor is invalid, described first
Equipment or second equipment automatically exit from manual operation pattern and enter intelligent operation pattern, the cigarette stove connection as shown in above-mentioned Fig. 2
Dynamic processing method controls first equipment or the second equipment;
First equipment or second equipment are under intelligent operation pattern, it is determined that receiving the work shelves of user's input
Position, then exit intelligent operation pattern, into manual operation pattern, operation range enters according to corresponding to the input instruction from user
Row work, and the use habit of the cigarette stove linkage processing method study user as shown in above-mentioned Fig. 1.
Fig. 3 is the unified structural representation of cigarette stove provided in an embodiment of the present invention linkage processing system;It is as shown in figure 3, described
Cigarette stove linkage processing system, including:Cigarette machine and kitchen range;
The cigarette machine, including:Cigarette machine processor, temperature sensor, Smoke Sensor, luminance sensor, fuel gas pass
Sensor, wireless communication module, motor control module, lighting control module;
The kitchen range, including:Kitchen range processor, wireless communication module, gas valve controller, the detection of gas valve working condition
Device;Wherein,
The cigarette machine processor, the detected value obtained for receiving each sensor monitor the detected value, and renewal judges
Threshold value, the input instruction from user is monitored, work is sent to motor control module, lighting control module, gas valve controller
Instruction etc.;
The kitchen range processor, for gathering the state of gas valve, pass through combustion after receiving the work order for gas valve
Air valve controller controls the gas valve of kitchen range;
Here, the cigarette machine processor and the kitchen range processor, pass through the wireless communication module of cigarette machine and the nothing of kitchen range
Line communication module is communicated;
The temperature sensor, for detecting furnace end of gas cooker or kettle temperature change, obtained temperature detection value can
, can be as the precondition of lighting apparatus unlatching for determining cigarette machine dormancy or standby;
The Smoke Sensor, for detecting the smog in kitchen;
The luminance sensor, for detecting the brightness of the kitchen range top;
Here, the detected value of Smoke Sensor and the luminance sensor collection, may be used as under intelligent operation pattern really
Determine motor operation range and illuminate the basis for estimation of operation range, cigarette stove linkage processing system study user can also be used as
The foundation of custom, it is also used as the basis for estimation that the cigarette stove linkage processing system exits manual operation pattern;
The combustible gas sensor, for detecting the concentration of kitchen fuel gas, the data foundation as alarm;
The motor control module, for the work order sent according to cigarette machine processor, control the motor work of cigarette machine
Gear;
The lighting control module, for the work order sent according to cigarette machine processor, control cigarette machine lighting apparatus
Illuminate operation range;
The gas valve controller, for receiving the work order of kitchen range processor transmission, control the work shape of gas valve
State;
The gas valve operational state detector, for detecting the working condition of Gas controller.
The above-described temperature sensor, the Smoke Sensor, the luminance sensor, the fuel gas pass
Sensor can be located at cigarette machine or, positioned at kitchen range, when the temperature sensor, the Smoke Sensor, the luminance sensor,
When the combustible gas sensor is located at kitchen range, as shown in Figure 4.
Above example is not the restriction to cigarette machine processor and kitchen range processor, can be connect by the kitchen range processor yet
The detected value that each sensor obtains is received, monitors the detected value, decision threshold is updated, monitors the input instruction from user,
Work order etc. is sent to motor control module, lighting control module, gas valve controller;And the state of gas valve is gathered, it is raw
The gas valve of kitchen range is controlled after into the work order of gas valve by gas valve controller.Correspondingly, the motor control module,
The lighting control module, the gas valve controller receive the work order that the cigarette stove processor is sent.
Fig. 5 is the structural representation of cigarette stove provided in an embodiment of the present invention linkage processing unit one;It is as shown in figure 5, described
Device includes:First receiving module and first processing module;Wherein,
First receiving module, the detected value obtained for obtaining at least one sensor;
The first processing module, for determining operation range according to input instruction;According to the operation range of preservation and sentence
Determine the corresponding relation of threshold value, determine decision threshold corresponding to the operation range;And
New decision threshold is generated according to the decision threshold of determination and the detected value, updates and preserves operation range
With the corresponding relation of decision threshold.
Specifically, the sensor, including at least one below:Smoke Sensor and luminance sensor;
First receiving module, is specifically used for:Obtain Smoke Detection value that the Smoke Sensor obtains and/or described
The brightness detected value that luminance sensor obtains.
Specifically, the first processing module, specifically for the motor operation range according to preservation and each motor work shelves
The corresponding relation of smog decision threshold corresponding to position, it is determined that the smog according to corresponding to the motor operation range that input instruction determines is sentenced
Determine threshold value;And/or
According to preservation illumination operation range and it is each illumination operation range corresponding to brightness decision threshold corresponding relation, really
Brightness decision threshold corresponding to the fixed illumination operation range determined according to input instruction.
Specifically, the first processing module, specifically for judging whether the detected value is effective, the detected value is determined
When effective, the decision threshold of the determination and the detected value are handled by preset strategy, generates new decision threshold;
The first processing module, the difference specifically for determining the detected value and the decision threshold of the determination, institute
State difference and be less than or equal to difference threshold, it is determined that the detected value is effective.
Fig. 6 is the structural representation of cigarette stove provided in an embodiment of the present invention linkage processing unit two;It is as shown in fig. 6, described
Device includes:Second receiving module and Second processing module;Wherein,
Second receiving module, the detected value obtained for obtaining at least one sensor;
The Second processing module, for determining operation range corresponding to the detected value;And according to the operation range
Work order is generated, the working condition of the first equipment and the second equipment is controlled according to the work order.
Specifically, the sensor, including at least one below:Smoke Sensor and luminance sensor;
Second receiving module, specifically for obtaining Smoke Detection value that the Smoke Sensor obtains and/or described
The brightness detected value that luminance sensor obtains;
The Second processing module, specifically for obtaining corresponding to the motor operation range preserved and each motor operation range
The corresponding relation of smog decision threshold, the maximum smog decision threshold that the Smoke Detection value exceedes is determined, according to the maximum
Smog decision threshold determines motor operation range;And/or
The corresponding relation of brightness decision threshold corresponding to the illumination operation range preserved and each illumination operation range is obtained, really
The high-high brightness decision threshold that the fixed brightness detected value exceedes, illumination work shelves are determined according to the high-high brightness decision threshold
Position.
Specifically, the Second processing module, specifically for according to the motor operation range and/or illumination operation range
The first work order is generated, first equipment is controlled according to first work order.
Specifically, the sensor, in addition to combustible gas sensor;
Second receiving module, the fuel gas detected value obtained specifically for obtaining the combustible gas sensor
The Second processing module, specifically for according to the fuel gas detected value and preserve fuel gas threshold value,
Determine the operation range of gas valve.
Specifically, the Second processing module, specifically for according to the work of the operation range of gas valve generation second
Instruction, second equipment is controlled according to second work order.
Fig. 7 is the schematic flow sheet of cigarette stove linkage processing method three provided in an embodiment of the present invention;It is as shown in fig. 7, described
Method is applied to cigarette machine, and methods described includes:
The initial database of step 701, structure.
The database, include the default initial values of one group of Default Value.
The default initial values include:Smog decision threshold corresponding to the motor operation range of acquiescence and each motor operation range
The relation of brightness decision threshold corresponding to the relation and illumination operation range of value and each illumination operation range.Such as:For illumination
Start gear one for operation range, when the detected value of brightness is between 0lx to 100lx, the detected value of brightness arrives in 100lx
Start gear two when between 200lx;Start gear three when the detected value of brightness is between 200lx to 300lx, brightness is more than
It is gear four during 300lx, i.e., does not turn on light;
For motor operation range, start gear one, smog inspection when Smoke Detection value is between 0ppm to 1000ppm
Measured value starts gear two between 1000-3000ppm, and Smoke Detection value starts gear three in more than 3000ppm.
Step 702, study user's use habit, optimize database.
Here, the detected value obtained according to sensor during user's input service gear, to sentencing corresponding to work at present gear
Determine threshold value to weight, produce new decision threshold, update and preserve operation range and the corresponding relation of decision threshold.Pass through user
The decision threshold that the detected value that the operation range and sensor inputted every time obtains preserves to database optimizes, and respectively work shelves
Practical operation of the decision threshold closer to user corresponding to position.
For example, Smoke Sensor detects that smokescope is 2000ppm, now cigarette machine is operated in gear two, but now has
User input instruction, motor operation range is adjusted to gear three, then cigarette machine enters manual operation pattern, record user's input
Operation range is gear three, and Smoke Sensor concentration is 2000ppm;2000ppm smog corresponding with operation range is judged into threshold
Value 3000ppm does weighting processing, such as does weighting processing as the following formula, 2000*0.6+3000*0.4=2400, result 2400 is preserved
For the new decision threshold of gear three.
Here, study user's use habit, optimizes database;Including:
The input instruction of the cigarette machine record user, operation range is determined according to input instruction, obtains what sensor obtained
Detected value;Judge whether the detected value is effective, when determining that the detected value is effective, according to the detected value and operation range pair
The decision threshold answered is weighted processing, obtains new decision threshold, so as to update the operation range in the database and sentence
Determine the corresponding relation of threshold value.
Under step 703, intelligent operation pattern, the detected value of sensor collection is obtained.
Here, the cigarette machine compares the detected value that sensor gathers with the decision threshold preserved, judges smokescope
Whether reach corresponding decision threshold with brightness;
If reaching decision threshold, into step 704, control Kitchen Ventilator and Cooking Stove enters to work corresponding to current decision threshold
State, if being not reaching to decision threshold, Kitchen Ventilator and Cooking Stove working condition is constant.
Step 704, operation range corresponding to the detected value is determined, Kitchen Ventilator and Cooking Stove is controlled according to the operation range.
Here, step 704 includes:
Cigarette machine processor determines the maximum smog decision threshold that the Smoke Detection value exceedes, and is sentenced according to the maximum smog
Determine threshold value and determine motor operation range, to work order corresponding to motor control module transmission, controlled by motor control module
Cigarette electromechanics machine enters different rotating speeds gear;And/or
Cigarette machine processor determines the high-high brightness decision threshold that the brightness detected value exceedes, and is sentenced according to the high-high brightness
Determine threshold value and determine illumination operation range corresponding to the illuminating lamp of cigarette machine processor, control illuminating lamp to send by lighting control module
Different brightness.
The step 704 also includes:
When cigarette machine processor determines that combustible gas sensor detects certain density fuel gas, cigarette machine processor is sent
Control send audible alarm, light warning, mobile terminal push, cigarette machine processor by wireless communication module send warning message or
Person's control instruction is to kitchen range communication module, after kitchen range processor receives warning message or the control instruction of kitchen range communication module,
Control gas valve controller closing gas valve.
Step 705, display current operating state and each sensor states.
Here, each working condition of cigarette stove linked system and action all prompt user in a manner of voice, display etc..Example
Such as:Smokescope, temperature, brightness, the information of gas valve of cigarette stove linked system are shown, and in state change, voice carries
Show current operating state.
Fig. 8 is the schematic flow sheet of cigarette stove linkage processing method four provided in an embodiment of the present invention;It is as shown in figure 8, described
Method is applied to cigarette machine, and methods described includes:
Step 801, the detected value for obtaining sensor;
Step 802, judge whether to receive the input instruction from user, receive the input instruction from user, then
Operation range is determined according to input instruction, and enters step 803, otherwise into step 807;
The detected value that step 803, record sensor obtain;
The decision threshold of step 804, the detected value obtained according to the sensor and preservation does weighting processing;
Here, specifically include:Obtain the corresponding relation of the operation range preserved and decision threshold;
Judge whether the detected value is effective, when determining that the detected value is effective, by the detected value and the work shelves
Decision threshold corresponding to position does weighting processing, generates new decision threshold and preservation.
The new decision threshold of step 804, generation, as current decision threshold;
Step 806, work certain time length by the operation range of user's input, and user does not operate dynamic in a preset time
Make, return to step 801;
Step 807, the detected value sent according to sensor and current decision threshold are compared, and determine work order;
Here, the step 807 includes:The corresponding relation of the operation range preserved and decision threshold is obtained, it is determined that described
Operation range corresponding to the maximum decision threshold that detected value exceedes, work order is generated according to the operation range of determination.
The step 807 specifically includes:Obtain smog corresponding to the motor operation range preserved and each motor operation range
The corresponding relation of decision threshold, the maximum smog decision threshold that the Smoke Detection value exceedes is determined, according to the maximum smog
Decision threshold determines motor operation range;And/or
The corresponding relation of brightness decision threshold corresponding to the illumination operation range preserved and each illumination operation range is obtained, really
The high-high brightness decision threshold that the fixed brightness detected value exceedes, illumination work shelves are determined according to the high-high brightness decision threshold
Position;
According at least one generation work order in the motor operation range and the illumination operation range, to control
Cigarette machine.
The step 807 also includes:Obtain the fuel gas detected value that the combustible gas sensor obtains;According to described
Fuel gas detected value and the fuel gas threshold value preserved, determine the operation range of gas valve;According to the work of the gas valve
Gear generates work order, to control kitchen range.
Step 808, according to work order control cigarette machine, kitchen range.
To realize the method for the embodiment of the present invention, the embodiment of the present invention provides a kind of cigarette stove linkage processing unit three, set
On cigarette machine or kitchen range, specifically, as shown in figure 9, the device 90 includes:
First processor 901 and first for storing the computer program that can be run on the first processor is deposited
Reservoir 902;Wherein,
When the first processor 901 is used to run the computer program, perform:
Operation range is determined according to input instruction;According to the operation range of preservation and the corresponding relation of decision threshold, it is determined that
Decision threshold corresponding to the operation range;Obtain the detected value that at least one sensor obtains;According to the judgement of determination
Threshold value and the detected value generate new decision threshold, update and preserve operation range and the corresponding relation of decision threshold.
In one embodiment, when the first processor 901 is used to run the computer program, perform:
Obtain the Smoke Detection value that the Smoke Sensor obtains and/or the brightness detection that the luminance sensor obtains
Value.
In one embodiment, when the first processor 901 is used to run the computer program, perform:
According to the corresponding relation of smog decision threshold corresponding to the motor operation range of preservation and each motor operation range, really
Smog decision threshold corresponding to the fixed motor operation range determined according to input instruction;And/or
According to preservation illumination operation range and it is each illumination operation range corresponding to brightness decision threshold corresponding relation, really
Brightness decision threshold corresponding to the fixed illumination operation range determined according to input instruction.
In one embodiment, when the first processor 901 is used to run the computer program, perform:
Judge whether the detected value is effective, when determining that the detected value is effective, the determination is handled by preset strategy
Decision threshold and the detected value, generate new decision threshold.
In one embodiment, when the first processor 901 is used to run the computer program, perform:
The difference of the detected value and the decision threshold of the determination is determined, the difference is less than or equal to difference threshold,
Then determine that the detected value is effective.
It should be noted that:Cigarette stove linkage processing unit and the cigarette stove linkage processing method embodiment that above-described embodiment provides
Belong to same design, its specific implementation process refers to embodiment of the method, repeats no more here.
Certainly, during practical application, as shown in figure 9, the device 90 can also include:At least one network interface 903.Device
Each component in 90 is coupled by bus system 904.It is understood that bus system 904 be used for realize these components it
Between connection communication.Bus system 904 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal
Bus.But for the sake of clear explanation, various buses are all designated as bus system 904 in figure 6.Wherein, the processor
904 number can be at least one.Network interface 903 is used for the logical of wired or wireless way between device 90 and other equipment
Letter.
Memory 902 in the embodiment of the present invention is used to store various types of data to support the operation of device 90.
The method that the embodiments of the present invention disclose can apply in first processor 901, or by first processor
901 realize.First processor 901 is probably a kind of IC chip, has the disposal ability of signal.In implementation process,
Each step of the above method can pass through the integrated logic circuit of the hardware in first processor 901 or the instruction of software form
Complete.Above-mentioned first processor 901 can be general processor, digital signal processor (DSP, Digital Signal
Processor), either other PLDs, discrete gate or transistor logic, discrete hardware components etc..The
Disclosed each method, step and logic diagram in the embodiment of the present invention can be realized or performed to one processor 901.General place
It can be microprocessor or any conventional processor etc. to manage device.The step of method with reference to disclosed in the embodiment of the present invention,
Hardware decoding processor can be embodied directly in and perform completion, or held with the hardware in decoding processor and software module combination
Row is completed.Software module can be located in storage medium, and the storage medium is located at first memory 902, and first processor 901 is read
Information in access to memory 902, with reference to the step of its hardware completion preceding method.
In the exemplary embodiment, device 90 can by one or more application specific integrated circuits (ASIC,
Application Specific Integrated Circuit), DSP, PLD (PLD, Programmable
Logic Device), CPLD (CPLD, ComplexProgrammable Logic Device), scene
Programmable gate array (FPGA, Field-Programmable Gate Array), general processor, controller, microcontroller
(MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronic components are realized, are used for
Perform preceding method.
To realize the method for the embodiment of the present invention, the embodiment of the present invention provides a kind of cigarette stove linkage processing unit four, set
On the server, specifically, as shown in figure 9,
Second processor 111 and the second memory for storing the computer program that can be run on the processor
112;Wherein,
When the second processor 111 is used to run the computer program, perform:
The detected value that at least one sensor obtains is obtained, determines operation range corresponding to the detected value;According to described
Operation range generates work order, and the working condition of the first equipment and the second equipment is controlled according to the work order.
In one embodiment, when the second processor 111 is used to run the computer program, perform:
Obtain the Smoke Detection value that the Smoke Sensor obtains and/or the brightness detection that the luminance sensor obtains
Value;
The corresponding relation of smog decision threshold corresponding to the motor operation range preserved and each motor operation range is obtained, really
The maximum smog decision threshold that the fixed Smoke Detection value exceedes, motor work shelves are determined according to the maximum smog decision threshold
Position;And/or
The corresponding relation of brightness decision threshold corresponding to the illumination operation range preserved and each illumination operation range is obtained, really
The high-high brightness decision threshold that the fixed brightness detected value exceedes, illumination work shelves are determined according to the high-high brightness decision threshold
Position.
In one embodiment, when the second processor 111 is used to run the computer program, perform:
First work order is generated according to the motor operation range and/or illumination operation range, according to first work
Make instruction and control first equipment.
In one embodiment, when the second processor 111 is used to run the computer program, perform:
Obtain the fuel gas detected value that the combustible gas sensor obtains;
According to the fuel gas detected value and the fuel gas threshold value preserved, the operation range of gas valve is determined.
In one embodiment, when the second processor 111 is used to run the computer program, perform:
Second work order is generated according to the operation range of the gas valve, according to second work order control
Second equipment.
It should be noted that:Cigarette stove linkage processing unit and the cigarette stove linkage processing method embodiment that above-described embodiment provides
Belong to same design, its specific implementation process refers to embodiment of the method, repeats no more here.
Certainly, during practical application, as shown in Figure 10, the device 11 can also include:At least one network interface 113.Dress
The each component put in 11 is coupled by bus system 114.It is understood that bus system 114 is used to realize these components
Between connection communication.Bus system 114 is in addition to including data/address bus, in addition to power bus, controlling bus and state letter
Number bus.But for the sake of clear explanation, various buses are all designated as bus system 114 in figure 6.Wherein, the processing
The number of device 114 can be at least one.Network interface 113 is used for wired or wireless way between device 10 and other equipment
Communication.
Memory 112 in the embodiment of the present invention is used to store various types of data to support the operation of device 10.
The method that the embodiments of the present invention disclose can apply in processor the 2nd 111, or by second processor
111 realize.Second processor 111 is probably a kind of IC chip, has the disposal ability of signal.In implementation process,
Each step of the above method can pass through the integrated logic circuit of the hardware in second processor 111 or the instruction of software form
Complete.Above-mentioned processor 111 can be general processor, digital signal processor (DSP, Digital Signal
Processor), either other PLDs, discrete gate or transistor logic, discrete hardware components etc..The
Disclosed each method, step and logic diagram in the embodiment of the present invention can be realized or performed to two processors 111.General place
It can be microprocessor or any conventional processor etc. to manage device.The step of method with reference to disclosed in the embodiment of the present invention,
Hardware decoding processor can be embodied directly in and perform completion, or held with the hardware in decoding processor and software module combination
Row is completed.Software module can be located in storage medium, and the storage medium is located at second memory 112, and second processor 111 is read
The information in second memory 112 is taken, with reference to the step of its hardware completion preceding method.
In the exemplary embodiment, device 11 can by one or more application specific integrated circuits (ASIC,
Application Specific Integrated Circuit), DSP, PLD (PLD, Programmable
Logic Device), CPLD (CPLD, Complex Programmable Logic Device), scene
Programmable gate array (FPGA, Field-Programmable Gate Array), general processor, controller, microcontroller
(MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronic components are realized, are used for
Perform preceding method.
Specifically, the embodiments of the invention provide a kind of computer-readable recording medium, computer program is stored thereon with,
When the computer program is run by processor, perform:
Operation range is determined according to input instruction;According to the operation range of preservation and the corresponding relation of decision threshold, it is determined that
Decision threshold corresponding to the operation range;Obtain the detected value that at least one sensor obtains;According to the judgement of determination
Threshold value and the detected value generate new decision threshold, update and preserve operation range and the corresponding relation of decision threshold.
In one embodiment, when the computer program is run by processor, perform:
Obtain the Smoke Detection value that the Smoke Sensor obtains and/or the brightness detection that the luminance sensor obtains
Value.
In one embodiment, when the computer program is run by processor, perform:
According to the corresponding relation of smog decision threshold corresponding to the motor operation range of preservation and each motor operation range, really
Smog decision threshold corresponding to the fixed motor operation range determined according to input instruction;And/or
According to preservation illumination operation range and it is each illumination operation range corresponding to brightness decision threshold corresponding relation, really
Brightness decision threshold corresponding to the fixed illumination operation range determined according to input instruction.
In one embodiment, when the computer program is run by processor, perform:
Judge whether the detected value is effective, when determining that the detected value is effective, the determination is handled by preset strategy
Decision threshold and the detected value, generate new decision threshold.
In one embodiment, when the computer program is run by processor, perform:
The difference of the detected value and the decision threshold of the determination is determined, the difference is less than or equal to difference threshold,
Then determine that the detected value is effective.
Specifically, the embodiments of the invention provide another computer-readable recording medium, it is stored thereon with computer journey
Sequence, when the computer program is run by processor, perform:
The detected value that at least one sensor obtains is obtained, determines operation range corresponding to the detected value;According to described
Operation range generates work order, and the working condition of the first equipment and the second equipment is controlled according to the work order.
In one embodiment, when the computer program is run by processor, perform:
Obtain the Smoke Detection value that the Smoke Sensor obtains and/or the brightness detection that the luminance sensor obtains
Value;
The corresponding relation of smog decision threshold corresponding to the motor operation range preserved and each motor operation range is obtained, really
The maximum smog decision threshold that the fixed Smoke Detection value exceedes, motor work shelves are determined according to the maximum smog decision threshold
Position;And/or
The corresponding relation of brightness decision threshold corresponding to the illumination operation range preserved and each illumination operation range is obtained, really
The high-high brightness decision threshold that the fixed brightness detected value exceedes, illumination work shelves are determined according to the high-high brightness decision threshold
Position.
In one embodiment, when the computer program is run by processor, perform:
First work order is generated according to the motor operation range and/or illumination operation range, according to first work
Make instruction and control first equipment.
In one embodiment, when the computer program is run by processor, perform:
Obtain the fuel gas detected value that the combustible gas sensor obtains;
According to the fuel gas detected value and the fuel gas threshold value preserved, the operation range of gas valve is determined.
In one embodiment, when the computer program is run by processor, perform:
Second work order is generated according to the operation range of the gas valve, according to second work order control
Second equipment.
It should be noted that:Computer-readable recording medium provided in an embodiment of the present invention can be FRAM, ROM, PROM,
The memory such as EPROM, EEPROM, Flash Memory, magnetic surface storage, CD or CD-ROM;Can also be include it is above-mentioned
The various equipment of one of memory or any combination.
The embodiment of the present invention additionally provides a kind of cigarette machine or kitchen range, including processor, is stored with and is run by the processor
Executable program memory;When the processor runs the executable program, perform:
Operation range is determined according to input instruction;According to the operation range of preservation and the corresponding relation of decision threshold, it is determined that
Decision threshold corresponding to the operation range;Obtain the detected value that at least one sensor obtains;According to the judgement of determination
Threshold value and the detected value generate new decision threshold, update and preserve operation range and the corresponding relation of decision threshold.
In one embodiment, when the computer program is run by processor, perform:
Obtain the Smoke Detection value that the Smoke Sensor obtains and/or the brightness detection that the luminance sensor obtains
Value.
In one embodiment, when the computer program is run by processor, perform:
According to the corresponding relation of smog decision threshold corresponding to the motor operation range of preservation and each motor operation range, really
Smog decision threshold corresponding to the fixed motor operation range determined according to input instruction;And/or
According to preservation illumination operation range and it is each illumination operation range corresponding to brightness decision threshold corresponding relation, really
Brightness decision threshold corresponding to the fixed illumination operation range determined according to input instruction.
In one embodiment, when the computer program is run by processor, perform:
Judge whether the detected value is effective, when determining that the detected value is effective, the determination is handled by preset strategy
Decision threshold and the detected value, generate new decision threshold.
In one embodiment, when the computer program is run by processor, perform:
The difference of the detected value and the decision threshold of the determination is determined, the difference is less than or equal to difference threshold,
Then determine that the detected value is effective.
The embodiment of the present invention additionally provides another cigarette machine or kitchen range, including processor, is stored with and is transported by the processor
The memory of capable executable program;When the processor runs the executable program, perform:
The detected value that at least one sensor obtains is obtained, determines operation range corresponding to the detected value;According to described
Operation range generates work order, and the working condition of the first equipment and the second equipment is controlled according to the work order.
In one embodiment, when the computer program is run by processor, perform:
Obtain the Smoke Detection value that the Smoke Sensor obtains and/or the brightness detection that the luminance sensor obtains
Value;
The corresponding relation of smog decision threshold corresponding to the motor operation range preserved and each motor operation range is obtained, really
The maximum smog decision threshold that the fixed Smoke Detection value exceedes, motor work shelves are determined according to the maximum smog decision threshold
Position;And/or
The corresponding relation of brightness decision threshold corresponding to the illumination operation range preserved and each illumination operation range is obtained, really
The high-high brightness decision threshold that the fixed brightness detected value exceedes, illumination work shelves are determined according to the high-high brightness decision threshold
Position.
In one embodiment, when the computer program is run by processor, perform:
First work order is generated according to the motor operation range and/or illumination operation range, according to first work
Make instruction and control first equipment.
In one embodiment, when the computer program is run by processor, perform:
Obtain the fuel gas detected value that the combustible gas sensor obtains;
According to the fuel gas detected value and the fuel gas threshold value preserved, the operation range of gas valve is determined.
In one embodiment, when the computer program is run by processor, perform:
Second work order is generated according to the operation range of the gas valve, according to second work order control
Second equipment.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all
All any modification, equivalent and improvement made within the spirit and principles in the present invention etc., it should be included in the protection of the present invention
Within the scope of.