Summary 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 smoke machine.
The technical scheme of the present invention is realized as follows:
The embodiment of the present invention provides a kind of cigarette stove linkage processing method, which comprises
It is instructed according to input and determines operation range;
According to the corresponding relationship of the operation range of preservation and decision threshold, the corresponding decision threshold of the operation range is determined
Value;
Obtain the detected value that at least one sensor obtains;
New decision threshold is generated according to the determining decision threshold and the detected value, updates and saves operation range
With the corresponding relationship of decision threshold.
In above scheme, the sensor includes at least following one: smoke sensor device and luminance sensor;
The detected value for obtaining at least one sensor and obtaining, comprising:
Obtain the Smoke Detection value that the smoke sensor device obtains and/or the brightness that the luminance sensor obtains detection
Value.
It is described according to the operation range of preservation and the corresponding relationship of decision threshold in above scheme, determine the work shelves
The corresponding decision threshold in position, comprising:
According to the corresponding relationship of the motor operation range of preservation and the corresponding smog decision threshold of each motor operation range, really
The fixed motor operation range corresponding smog decision threshold determining according to input instruction;And/or
According to the corresponding relationship of the illumination operation range of preservation and the corresponding brightness decision threshold of each illumination operation range, really
The fixed illumination operation range corresponding brightness decision threshold determining according to input instruction.
It is described that new decision threshold is generated according to determining decision threshold and the detected value in above scheme, comprising:
Judge whether the detected value is effective, when determining that the detected value is effective, handles the determination by preset strategy
Decision threshold and the detected value, generate new decision threshold;
It is described to judge whether the detected value is effective, comprising:
Determine that the difference of the decision threshold of the detected value and the determination, the difference are 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, which comprises
The detected value that at least one sensor obtains is obtained, determines the corresponding operation range of 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 above scheme, the sensor includes at least following one: smoke sensor device and luminance sensor;
The detected value for obtaining at least one sensor and obtaining, determines the corresponding operation range of the detected value, comprising:
Obtain the Smoke Detection value that the smoke sensor device obtains and/or the brightness that the luminance sensor obtains detection
Value;
The corresponding relationship of the motor operation range and the corresponding smog decision threshold of each motor operation range that save is obtained, really
The maximum smog decision threshold that the fixed Smoke Detection value is more than determines motor work shelves according to the maximum smog decision threshold
Position;And/or
The corresponding relationship of the illumination operation range saved and the corresponding brightness decision threshold of each illumination operation range is obtained, really
The maximum brightness decision threshold that the fixed brightness detected value is more than determines illumination work shelves according to the maximum brightness decision threshold
Position.
It is described that work order is generated according to the operation range in above scheme, according to work order control first
Equipment, comprising:
The first work order is generated according to the motor operation range and/or illumination operation range, according to first work
Make instruction and controls first equipment.
In above scheme, the sensor further includes combustible gas sensor;
The detected value for obtaining at least one sensor and obtaining, determines the corresponding operation range of the detected value, also wraps
It includes:
Obtain the fuel gas detected value that the combustible gas sensor obtains;
According to the fuel gas threshold value of the fuel gas detected value and preservation, the operation range of gas valve is determined.
It is described that work order is generated according to the operation range in above scheme, according to work order control second
Equipment, comprising:
The 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: the first receiving module, first
Processing module;Wherein,
First receiving module, the detected value obtained for obtaining at least one sensor;
The first processing module determines operation range for instructing according to input;According to the operation range of preservation and sentence
The corresponding relationship for determining threshold value determines the corresponding decision threshold of the operation range;And
New decision threshold is generated according to the determining decision threshold and the detected value, updates and saves operation range
With the corresponding relationship of decision threshold.
In above scheme, the sensor includes at least following one: smoke sensor device and luminance sensor;
First receiving module, is specifically used for: obtaining Smoke Detection value that the smoke sensor device obtains and/or described
The brightness detected value that luminance sensor obtains.
In above scheme, the first processing module, specifically for according to preservation motor operation range and each motor work
Make the corresponding relationship of the corresponding smog decision threshold of gear, determines the motor operation range corresponding cigarette determining according to input instruction
Mist decision threshold;And/or
According to the corresponding relationship of the illumination operation range of preservation and the corresponding brightness decision threshold of each illumination operation range, really
The fixed illumination operation range corresponding brightness decision threshold determining according to input instruction.
In above scheme, the first processing module is specifically used for judging whether the detected value is effective, determines the inspection
When measured value is effective, the decision threshold and the detected value of the determination are handled by preset strategy, generates new decision threshold;
The first processing module, specifically for the difference of the determination detected value and the decision threshold of the determination, institute
Difference is stated 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, comprising: the second receiving module, the
Two processing modules;Wherein,
Second receiving module, the detected value obtained for obtaining at least one sensor;
The Second processing module, for determining the corresponding operation range of 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 above scheme, the sensor includes at least following one: smoke sensor device and luminance sensor;
Second receiving module, specifically for obtaining Smoke Detection value that the smoke sensor device obtains and/or described
The brightness detected value that luminance sensor obtains;
The Second processing module, it is corresponding specifically for obtaining the motor operation range saved and each motor operation range
The corresponding relationship of smog decision threshold determines the maximum smog decision threshold that the Smoke Detection value is more than, according to the maximum
Smog decision threshold determines motor operation range;And/or
The corresponding relationship of the illumination operation range saved and the corresponding brightness decision threshold of each illumination operation range is obtained, really
The maximum brightness decision threshold that the fixed brightness detected value is more than determines illumination work shelves according to the maximum brightness decision threshold
Position.
In above scheme, the Second processing module is specifically used for according to the motor operation range and/or illumination work
Gear generates the first work order, controls first equipment according to first work order.
In above scheme, the sensor further includes 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 the fuel gas threshold value according to the fuel gas detected value and preservation,
Determine the operation range of gas valve.
In above scheme, the Second processing module, specifically for generating second according to the operation range of the gas valve
Work order controls second equipment 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, the processor is for executing cigarette stove linkage processing method described above when running the computer program
The step of;Alternatively,
The processor is for executing the step of cigarette stove linkage processing method described above when running the computer program
Suddenly.
The embodiment of the present invention also provides a kind of computer readable storage 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;Alternatively,
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 smoke machine, and the smoke machine includes processor, is stored with and run by the processor
Executable program memory,
The step of processor executes cigarette stove linkage processing method described above when running the executable program;Or
Person,
The step of processor executes 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 smoke machine includes processor, is stored with and run by the processor
Executable program memory,
The step of processor executes cigarette stove linkage processing method described above when running the executable program;Or
Person,
The step of processor executes cigarette stove linkage processing method described above when running the executable program.
Method, apparatus, computer readable storage medium provided by the embodiment of the present invention instruct according to input and determine work
Gear;According to the corresponding relationship of the operation range of preservation and decision threshold, the corresponding decision threshold of the operation range is determined;It obtains
The detected value for taking at least one sensor to obtain;New decision threshold is generated according to the determining decision threshold and the detected value
Value, updates and saves the corresponding relationship of operation range and decision threshold.It is big without user's input in the scheme of the embodiment of the present invention
The configuration parameter of amount, the use habit by learning user are avoided according to the use habit adjusting parameter of user because immutable
The preset parameter of cigarette stove interlocking equipment and the problem of user's habit can not be adapted to, make that cigarette stove interlocking equipment is more intelligent, individual character
Change, customize, more customer-centric, promotes user experience.
Method, apparatus, computer readable storage medium provided by the embodiment of the present invention obtain at least one sensor and obtain
The detected value arrived determines the corresponding operation range of the detected value;Work order is generated according to the operation range, according to described
The working condition of work order control 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, promotion user experience.
In example IV, first equipment can also include: temperature sensor, for detecting cooking range furnace end or pot
The variation of interior temperature;
Second equipment, further includes: gas valve operational state detector.
Before the step 201, the method 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 is more than temperature threshold, or determines that the gas valve is in work
When 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 use cigarette stove linkage processing method shown in FIG. 1
When, first equipment or second equipment are in manual operation mode, it is worked according to input from the user instruction,
And the corresponding relationship of the operation range and decision threshold pre-saved according to input instruction and detected value adjustment;First equipment
Or second equipment use cigarette stove linkage processing method shown in Fig. 2 when, first equipment or second equipment are in
Intelligent operation mode voluntarily controls the first equipment according to the corresponding relationship of the operation range of preservation and decision threshold or second sets
It is standby.
User can voluntarily select first equipment or second equipment to be in manual operation mode or intelligent operation
Mode;Operating mode can also be selected by first equipment or second equipment.
Here, first equipment or second equipment select operating mode, comprising:
Under manual operation mode, determination is not detected in a preset time for first equipment or second equipment
Input from the user instruction, or in user input instruction but the invalid detected value that determines that sensor obtains, described first
Equipment or second equipment automatically exit from manual operation mode and enter intelligent operation mode, join by above-mentioned cigarette stove shown in Fig. 2
Dynamic processing method controls first equipment or the second equipment;
First equipment or second equipment determine the work shelves for receiving user's input under intelligent operation mode
Position, then exit intelligent operation mode, into manual operation mode, according to the corresponding operation range of input from the user instruction into
Row work, and by the use habit of above-mentioned cigarette stove linkage processing method study user shown in FIG. 1.
Fig. 3 is the unified structural schematic diagram of cigarette stove provided in an embodiment of the present invention linkage processing system;As shown in figure 3, described
Cigarette stove linkage processing system, comprising: smoke machine and kitchen range;
The smoke machine, comprising: smoke machine processor, temperature sensor, smoke sensor device, luminance sensor, fuel gas pass
Sensor, wireless communication module, motor control module, lighting control module;
The kitchen range, comprising: kitchen range processor, wireless communication module, gas valve controller, the detection of gas valve working condition
Device;Wherein,
The smoke machine processor, the detected value obtained for receiving each sensor monitor the detected value, update and determine
Threshold value, monitors input instruction from the user, sends work to motor control module, lighting control module, gas valve controller
Instruction etc.;
The kitchen range processor passes through combustion after receiving the work order for gas valve for acquiring the state of gas valve
The gas valve of air valve controller control kitchen range;
Here, the smoke machine processor and the kitchen range processor, pass through the wireless communication module of smoke 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 variation, obtained temperature detection value can
For determining smoke machine suspend mode or standby, the precondition of lighting apparatus unlatching can be used as;
The smoke sensor device, for detecting the smog in kitchen;
The luminance sensor, for detecting the brightness of hearth;
Here, the detected value of the smoke sensor device and luminance sensor acquisition may be used as under intelligent operation mode really
Determine motor operation range and illuminate the judgment basis of operation range, can also be used as the cigarette stove linkage processing system study user
The foundation of habit is also used as the judgment basis that the cigarette stove linkage processing system exits manual operation mode;
The combustible gas sensor, the data foundation for detecting the concentration of kitchen fuel gas, as alarm;
The motor control module, the work order for being sent according to smoke machine processor control the motor work of smoke machine
Gear;
The lighting control module, the work order for being sent according to smoke machine processor, control smoke machine lighting apparatus
Illuminate operation range;
The gas valve controller controls the work shape of gas valve for receiving the work order of kitchen range processor transmission
State;
The gas valve operational state detector, for detecting the working condition of Gas controller.
The above-described temperature sensor, the smoke sensor device, the luminance sensor, the fuel gas pass
Sensor can be located at smoke machine alternatively, be located at kitchen range, when the temperature sensor, the smoke sensor device, the luminance sensor,
When the combustible gas sensor is located at kitchen range, as shown in Figure 4.
Above embodiments are not the restriction to smoke machine processor and kitchen range processor, can also be connect by the kitchen range processor
The detected value that each sensor obtains is received, the detected value is monitored, updates decision threshold, monitors input instruction from the user,
Work order etc. is sent to motor control module, lighting control module, gas valve controller;And the state of gas valve is acquired, it is raw
At the gas valve for controlling kitchen range after 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 schematic diagram of cigarette stove provided in an embodiment of the present invention linkage processing unit one;As shown in figure 5, described
Device includes: the 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 determines operation range for instructing according to input;According to the operation range of preservation and sentence
The corresponding relationship for determining threshold value determines the corresponding decision threshold of the operation range;And
New decision threshold is generated according to the determining decision threshold and the detected value, updates and saves operation range
With the corresponding relationship of decision threshold.
Specifically, the sensor includes at least following one: smoke sensor device and luminance sensor;
First receiving module, is specifically used for: obtaining Smoke Detection value that the smoke sensor device obtains and/or described
The brightness detected value that luminance sensor obtains.
Specifically, the first processing module, specifically for according to the motor operation range of preservation and each motor work shelves
The corresponding relationship of the corresponding smog decision threshold in position determines and is sentenced according to the determining corresponding smog of motor operation range of input instruction
Determine threshold value;And/or
According to the corresponding relationship of the illumination operation range of preservation and the corresponding brightness decision threshold of each illumination operation range, really
The fixed illumination operation range corresponding brightness decision threshold determining according to input instruction.
Specifically, the first processing module is specifically used for judging whether the detected value is effective, determines the detected value
When effective, the decision threshold and the detected value of the determination are handled by preset strategy, generates new decision threshold;
The first processing module, specifically for the difference of the determination detected value and the decision threshold of the determination, institute
Difference is stated less than or equal to difference threshold, it is determined that the detected value is effective.
Fig. 6 is the structural schematic diagram of cigarette stove provided in an embodiment of the present invention linkage processing unit two;As shown in fig. 6, described
Device includes: the 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 the corresponding operation range of 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 includes at least following one: smoke sensor device and luminance sensor;
Second receiving module, specifically for obtaining Smoke Detection value that the smoke sensor device obtains and/or described
The brightness detected value that luminance sensor obtains;
The Second processing module, it is corresponding specifically for obtaining the motor operation range saved and each motor operation range
The corresponding relationship of smog decision threshold determines the maximum smog decision threshold that the Smoke Detection value is more than, according to the maximum
Smog decision threshold determines motor operation range;And/or
The corresponding relationship of the illumination operation range saved and the corresponding brightness decision threshold of each illumination operation range is obtained, really
The maximum brightness decision threshold that the fixed brightness detected value is more than determines illumination work shelves according to the maximum brightness decision threshold
Position.
Specifically, the Second processing module is specifically used 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 further includes 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 the fuel gas threshold value according to the fuel gas detected value and preservation,
Determine the operation range of gas valve.
Specifically, the Second processing module, specifically for generating the second work according to the operation range of the gas valve
Instruction controls second equipment according to second work order.
Fig. 7 is the flow diagram of cigarette stove linkage processing method three provided in an embodiment of the present invention;As shown in fig. 7, described
Method is applied to smoke machine, which comprises
The initial database of step 701, building.
The database, the default initial values including one group of default setting.
The default initial values include: the motor operation range and the corresponding smog decision threshold of each motor operation range of default
The relationship of relationship and illumination operation range the brightness decision threshold corresponding with each illumination operation range of value.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 is arrived in 100lx
Start gear two when between 200lx;Start gear three when the detected value of brightness is between 200lx to 300lx, brightness is greater than
It is gear four when 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 3000ppm or more.
Step 702, study user's use habit, optimize database.
Here, the detected value obtained according to sensor when user's input service gear, it is corresponding to work at present gear to sentence
Determine threshold value to weight, produce new decision threshold, updates and save the corresponding relationship of operation range and decision threshold.Pass through user
The decision threshold that the detected value that the operation range and sensor inputted every time obtains saves database optimizes, and respectively work shelves
Practical operation of the corresponding decision threshold in position closer to user.
For example, smoke sensor device detects that smokescope is 2000ppm, smoke machine work at this time has in gear two, but at this time
Motor operation range is adjusted to gear three by user input instruction, then smoke machine enters manual operation mode, record user's input
Operation range is gear three, and smoke sensor device 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 saves result 2400
For the new decision threshold of gear three.
Here, study user's use habit optimizes database;Include:
The input instruction of the smoke machine record user, instructs according to input and determines operation range, 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, to update the operation range in the database and sentence
Determine the corresponding relationship of threshold value.
Under step 703, intelligent operation mode, the detected value of sensor acquisition is obtained.
Here, the smoke machine compares the decision threshold of detected value and preservation that sensor acquires, judges smokescope
Whether reach corresponding decision threshold with brightness;
If reaching decision threshold, 704 are entered step, control Kitchen Ventilator and Cooking Stove enters the corresponding work of current decision threshold
State, if not reaching decision threshold, Kitchen Ventilator and Cooking Stove working condition is constant.
Step 704 determines the corresponding operation range of the detected value, controls Kitchen Ventilator and Cooking Stove according to the operation range.
Here, step 704 includes:
Smoke machine processor determines the maximum smog decision threshold that the Smoke Detection value is more than, and is sentenced according to the maximum smog
Determine threshold value and determine motor operation range, sends corresponding work order to motor control module, controlled by motor control module
Smoke machine motor enters different rotating speeds gear;And/or
Smoke machine processor determines the maximum brightness decision threshold that the brightness detected value is more than, and is sentenced according to the maximum brightness
Determine threshold value and determine the corresponding illumination operation range of the headlamp of smoke machine processor, headlamp is controlled by lighting control module and is issued
Different brightness.
The step 704 further include:
When smoke machine processor determines that combustible gas sensor detects certain density fuel gas, smoke machine processor is sent
Control make a sound alarm, light warning, mobile terminal push, smoke 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 working status and each sensor states.
Here, each working condition of cigarette stove linked system and movement all prompt user in a manner of voice, display etc..Example
Such as: the display smokescope of cigarette stove linked system, temperature, brightness, gas valve information, and in state change, voice is mentioned
Show current working status.
Fig. 8 is the flow diagram of cigarette stove linkage processing method four provided in an embodiment of the present invention;As shown in figure 8, described
Method is applied to smoke machine, which comprises
Step 801, the detected value for obtaining sensor;
Step 802 judges whether to receive input instruction from the user, receives input from the user and instruct, then
It is instructed according to input and determines operation range, and enter step 803, otherwise enter 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, it specifically includes: obtaining the operation range of preservation and the corresponding relationship of 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
The corresponding decision threshold in position does weighting processing, generates new decision threshold and preservation.
Step 804 generates new decision threshold, 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 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 include: obtain save operation range and decision threshold corresponding relationship, determine described in
The corresponding operation range of maximum decision threshold that detected value is more than generates work order according to determining operation range.
The step 807 specifically includes: obtaining the motor operation range and the corresponding smog of each motor operation range of preservation
The corresponding relationship of decision threshold determines the maximum smog decision threshold that the Smoke Detection value is more than, according to the maximum smog
Decision threshold determines motor operation range;And/or
The corresponding relationship of the illumination operation range saved and the corresponding brightness decision threshold of each illumination operation range is obtained, really
The maximum brightness decision threshold that the fixed brightness detected value is more than determines illumination work shelves according to the maximum brightness decision threshold
Position;
Work order is generated according at least one of the motor operation range and the illumination operation range, to control
Cigarette machine.
The step 807 further include: obtain the fuel gas detected value that the combustible gas sensor obtains;According to described
The fuel gas threshold value of fuel gas detected value and preservation, determines the operation range of gas valve;According to the work of the gas valve
Gear generates work order, to control kitchen range.
Step 808 controls smoke machine, kitchen range according to work order.
The method of embodiment to realize the present invention, the embodiment of the present invention provide a kind of cigarette stove linkage processing unit three, setting
On smoke machine or kitchen range, specifically, as shown in figure 9, the device 90 includes:
First processor 901 and first depositing for storing the computer program that can be run on the first processor
Reservoir 902;Wherein,
The first processor 901 is for executing when running the computer program:
It is instructed according to input and determines operation range;According to the corresponding relationship of the operation range of preservation and decision threshold, determine
The corresponding decision threshold of the operation range;Obtain the detected value that at least one sensor obtains;According to the determining judgement
Threshold value and the detected value generate new decision threshold, update and save the corresponding relationship of operation range and decision threshold.
In one embodiment, the first processor 901 is for executing when running the computer program:
Obtain the Smoke Detection value that the smoke sensor device obtains and/or the brightness that the luminance sensor obtains detection
Value.
In one embodiment, the first processor 901 is for executing when running the computer program:
According to the corresponding relationship of the motor operation range of preservation and the corresponding smog decision threshold of each motor operation range, really
The fixed motor operation range corresponding smog decision threshold determining according to input instruction;And/or
According to the corresponding relationship of the illumination operation range of preservation and the corresponding brightness decision threshold of each illumination operation range, really
The fixed illumination operation range corresponding brightness decision threshold determining according to input instruction.
In one embodiment, the first processor 901 is for executing when running the computer program:
Judge whether the detected value is effective, when determining that the detected value is effective, handles the determination by preset strategy
Decision threshold and the detected value, generate new decision threshold.
In one embodiment, the first processor 901 is for executing when running the computer program:
Determine that the difference of the decision threshold of the detected value and the determination, the difference are less than or equal to difference threshold,
Then determine that the detected value is effective.
It should be understood that cigarette stove linkage processing unit provided by the above embodiment and cigarette stove linkage processing method embodiment
Belong to same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Certainly, when practical application, as shown in figure 9, the device 90 can also include: at least one network interface 903.Device
Various components in 90 are coupled by bus system 904.It is understood that bus system 904 for realizing these components it
Between connection communication.Bus system 904 further includes power bus, control bus and status signal in addition to including data/address bus
Bus.But for the sake of clear explanation, various buses are all designated as bus system 904 in Fig. 6.Wherein, the processor
904 number can be at least one.Network interface 903 between device 90 and other equipment wired or wireless way it is logical
Letter.
Memory 902 in the embodiment of the present invention is for storing various types of data to support the operation of device 90.
The method that the embodiments of the present invention disclose can be applied in first processor 901, or by first processor
901 realize.First processor 901 may be a kind of IC chip, the processing capacity with signal.During realization,
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
It completes.Above-mentioned first processor 901 can be general processor, digital signal processor (DSP, Digital Signal
Processor) either other programmable logic device, discrete gate or transistor logic, discrete hardware components etc..The
One processor 901 may be implemented or execute disclosed each method, step and logic diagram in the embodiment of the present invention.General place
Reason device can be microprocessor or any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention,
Hardware decoding processor can be embodied directly in and execute completion, or in decoding processor hardware and software module combination hold
Row is completed.Software module can be located in storage medium, which is located at first memory 902, and first processor 901 is read
Information in access to memory 902, in conjunction with the step of its hardware completion preceding method.
In the exemplary embodiment, device 90 can by one or more application specific integrated circuit (ASIC,
Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable
Logic Device), Complex Programmable Logic Devices (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
Execute preceding method.
The method of embodiment to realize the present invention, the embodiment of the present invention provide a kind of cigarette stove linkage processing unit four, setting
On the server, specifically, as shown in figure 9,
Second processor 111 and second memory for storing the computer program that can be run on the processor
112;Wherein,
The second processor 111 is for executing when running the computer program:
The detected value that at least one sensor obtains is obtained, determines the corresponding operation range of 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, the second processor 111 is for executing when running the computer program:
Obtain the Smoke Detection value that the smoke sensor device obtains and/or the brightness that the luminance sensor obtains detection
Value;
The corresponding relationship of the motor operation range and the corresponding smog decision threshold of each motor operation range that save is obtained, really
The maximum smog decision threshold that the fixed Smoke Detection value is more than determines motor work shelves according to the maximum smog decision threshold
Position;And/or
The corresponding relationship of the illumination operation range saved and the corresponding brightness decision threshold of each illumination operation range is obtained, really
The maximum brightness decision threshold that the fixed brightness detected value is more than determines illumination work shelves according to the maximum brightness decision threshold
Position.
In one embodiment, the second processor 111 is for executing when running the computer program:
The first work order is generated according to the motor operation range and/or illumination operation range, according to first work
Make instruction and controls first equipment.
In one embodiment, the second processor 111 is for executing when running the computer program:
Obtain the fuel gas detected value that the combustible gas sensor obtains;
According to the fuel gas threshold value of the fuel gas detected value and preservation, the operation range of gas valve is determined.
In one embodiment, the second processor 111 is for executing when running the computer program:
The 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 understood that cigarette stove linkage processing unit provided by the above embodiment and cigarette stove linkage processing method embodiment
Belong to same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Certainly, when practical application, as shown in Figure 10, which can also include: at least one network interface 113.Dress
The various components set in 11 are coupled by bus system 114.It is understood that bus system 114 is for realizing these components
Between connection communication.Bus system 114 further includes power bus, control bus and state letter in addition to including data/address bus
Number bus.But for the sake of clear explanation, various buses are all designated as bus system 114 in Fig. 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 for storing various types of data to support the operation of device 10.
The method that the embodiments of the present invention disclose can be applied in processor the 2nd 111, or by second processor
111 realize.Second processor 111 may be a kind of IC chip, the processing capacity with signal.During realization,
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
It completes.Above-mentioned processor 111 can be general processor, digital signal processor (DSP, Digital Signal
Processor) either other programmable logic device, discrete gate or transistor logic, discrete hardware components etc..The
Two processors 111 may be implemented or execute disclosed each method, step and logic diagram in the embodiment of the present invention.General place
Reason device can be microprocessor or any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention,
Hardware decoding processor can be embodied directly in and execute completion, or in decoding processor hardware and software module combination hold
Row is completed.Software module can be located in storage medium, which is located at second memory 112, and second processor 111 is read
The step of taking the information in second memory 112, completing preceding method in conjunction with its hardware.
In the exemplary embodiment, device 11 can by one or more application specific integrated circuit (ASIC,
Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable
Logic Device), Complex Programmable Logic Devices (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
Execute preceding method.
Specifically, the embodiment of the invention provides a kind of computer readable storage medium, it is stored thereon with computer program,
When the computer program is run by processor, execute:
It is instructed according to input and determines operation range;According to the corresponding relationship of the operation range of preservation and decision threshold, determine
The corresponding decision threshold of the operation range;Obtain the detected value that at least one sensor obtains;According to the determining judgement
Threshold value and the detected value generate new decision threshold, update and save the corresponding relationship of operation range and decision threshold.
In one embodiment, it when the computer program is run by processor, executes:
Obtain the Smoke Detection value that the smoke sensor device obtains and/or the brightness that the luminance sensor obtains detection
Value.
In one embodiment, it when the computer program is run by processor, executes:
According to the corresponding relationship of the motor operation range of preservation and the corresponding smog decision threshold of each motor operation range, really
The fixed motor operation range corresponding smog decision threshold determining according to input instruction;And/or
According to the corresponding relationship of the illumination operation range of preservation and the corresponding brightness decision threshold of each illumination operation range, really
The fixed illumination operation range corresponding brightness decision threshold determining according to input instruction.
In one embodiment, it when the computer program is run by processor, executes:
Judge whether the detected value is effective, when determining that the detected value is effective, handles the determination by preset strategy
Decision threshold and the detected value, generate new decision threshold.
In one embodiment, it when the computer program is run by processor, executes:
Determine that the difference of the decision threshold of the detected value and the determination, the difference are less than or equal to difference threshold,
Then determine that the detected value is effective.
Specifically, the embodiment of the invention provides another computer readable storage mediums, are stored thereon with computer journey
Sequence when the computer program is run by processor, executes:
The detected value that at least one sensor obtains is obtained, determines the corresponding operation range of 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, it when the computer program is run by processor, executes:
Obtain the Smoke Detection value that the smoke sensor device obtains and/or the brightness that the luminance sensor obtains detection
Value;
The corresponding relationship of the motor operation range and the corresponding smog decision threshold of each motor operation range that save is obtained, really
The maximum smog decision threshold that the fixed Smoke Detection value is more than determines motor work shelves according to the maximum smog decision threshold
Position;And/or
The corresponding relationship of the illumination operation range saved and the corresponding brightness decision threshold of each illumination operation range is obtained, really
The maximum brightness decision threshold that the fixed brightness detected value is more than determines illumination work shelves according to the maximum brightness decision threshold
Position.
In one embodiment, it when the computer program is run by processor, executes:
The first work order is generated according to the motor operation range and/or illumination operation range, according to first work
Make instruction and controls first equipment.
In one embodiment, it when the computer program is run by processor, executes:
Obtain the fuel gas detected value that the combustible gas sensor obtains;
According to the fuel gas threshold value of the fuel gas detected value and preservation, the operation range of gas valve is determined.
In one embodiment, it when the computer program is run by processor, executes:
The 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 understood that computer readable storage medium provided in an embodiment of the present invention can be FRAM, ROM, PROM,
The memories such as EPROM, EEPROM, Flash Memory, magnetic surface storage, CD or CD-ROM;It is also possible to include above-mentioned
The various equipment of one of memory or any combination.
The embodiment of the invention also provides a kind of smoke machine or kitchen range, including processor, it is stored with and is run by the processor
Executable program memory;When the processor runs the executable program, execute:
It is instructed according to input and determines operation range;According to the corresponding relationship of the operation range of preservation and decision threshold, determine
The corresponding decision threshold of the operation range;Obtain the detected value that at least one sensor obtains;According to the determining judgement
Threshold value and the detected value generate new decision threshold, update and save the corresponding relationship of operation range and decision threshold.
In one embodiment, it when the computer program is run by processor, executes:
Obtain the Smoke Detection value that the smoke sensor device obtains and/or the brightness that the luminance sensor obtains detection
Value.
In one embodiment, it when the computer program is run by processor, executes:
According to the corresponding relationship of the motor operation range of preservation and the corresponding smog decision threshold of each motor operation range, really
The fixed motor operation range corresponding smog decision threshold determining according to input instruction;And/or
According to the corresponding relationship of the illumination operation range of preservation and the corresponding brightness decision threshold of each illumination operation range, really
The fixed illumination operation range corresponding brightness decision threshold determining according to input instruction.
In one embodiment, it when the computer program is run by processor, executes:
Judge whether the detected value is effective, when determining that the detected value is effective, handles the determination by preset strategy
Decision threshold and the detected value, generate new decision threshold.
In one embodiment, it when the computer program is run by processor, executes:
Determine that the difference of the decision threshold of the detected value and the determination, the difference are less than or equal to difference threshold,
Then determine that the detected value is effective.
The embodiment of the invention also provides another smoke machine or kitchen range, including processor, it is stored with and is transported by the processor
The memory of capable executable program;When the processor runs the executable program, execute:
The detected value that at least one sensor obtains is obtained, determines the corresponding operation range of 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, it when the computer program is run by processor, executes:
Obtain the Smoke Detection value that the smoke sensor device obtains and/or the brightness that the luminance sensor obtains detection
Value;
The corresponding relationship of the motor operation range and the corresponding smog decision threshold of each motor operation range that save is obtained, really
The maximum smog decision threshold that the fixed Smoke Detection value is more than determines motor work shelves according to the maximum smog decision threshold
Position;And/or
The corresponding relationship of the illumination operation range saved and the corresponding brightness decision threshold of each illumination operation range is obtained, really
The maximum brightness decision threshold that the fixed brightness detected value is more than determines illumination work shelves according to the maximum brightness decision threshold
Position.
In one embodiment, it when the computer program is run by processor, executes:
The first work order is generated according to the motor operation range and/or illumination operation range, according to first work
Make instruction and controls first equipment.
In one embodiment, it when the computer program is run by processor, executes:
Obtain the fuel gas detected value that the combustible gas sensor obtains;
According to the fuel gas threshold value of the fuel gas detected value and preservation, the operation range of gas valve is determined.
In one embodiment, it when the computer program is run by processor, executes:
The 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
Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention, should be included in protection of the invention
Within the scope of.