Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances in order to facilitate the description of the embodiments of the application herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As mentioned in the background art, in the prior art, the construction of a debugging site and the setting of debugging parameters of a cooking device are cumbersome, and in order to solve the above problems, a typical embodiment of the present application provides a debugging method, a debugging apparatus, a processor, and a debugging system for a cooking device.
According to an embodiment of the application, a commissioning method of a cooking apparatus is provided.
Fig. 1 is a flowchart of a commissioning method of a cooking apparatus according to an embodiment of the present application. As shown in fig. 1, the debugging method includes the following steps:
step S101, a generating step, namely generating a first control instruction according to an obtained target cooking mode and preset parameters of the cooking device, wherein the preset parameters are debugging parameters of the device to be tested for adjusting a target function, and the first control instruction is used for controlling the device to be tested to execute the target function;
a step S102 of sending the first control command to a controller, so that the controller controls the device under test to execute the first control command;
step S103, a determining step, namely determining the real-time temperature of the tested device at least according to the execution result information sent by the controller, and determining a second control instruction of the cooking equipment at least according to the real-time temperature;
and S104, repeating the step of sending and the step of determining until the current operation time of the cooking equipment reaches the target operation time or a debugging stopping instruction is received, determining a real-time temperature curve of the tested device according to a plurality of real-time temperatures, and adjusting the preset parameters under the condition that the real-time temperature curve is not matched with the target temperature curve.
In the debugging method of the cooking equipment, firstly, a target cooking mode and preset parameters of the cooking equipment are obtained, and a first control instruction is generated according to the target cooking mode and the preset parameters; then, sending the first control instruction to a controller, so that the controller controls the device under test to execute the first control instruction; then, receiving execution result information sent by the controller, determining the real-time temperature of the tested device according to the execution result information at least, and determining a second control instruction of the cooking equipment according to the real-time temperature at least; and finally, repeating the sending step and the determining step, namely sending the second control instruction to the controller and receiving the execution result information sent by the controller again until the current operation time of the cooking equipment reaches the target operation time or a debugging stopping instruction is obtained, determining a real-time temperature curve of the tested device according to a plurality of real-time temperatures, and adjusting the preset parameters under the condition that the real-time temperature curve is not matched with the target temperature curve. In the scheme, a first control instruction is generated only according to a target cooking mode and preset parameters of the cooking equipment, the controller controls the tested device to execute the first control instruction, then the real-time temperature and a second control instruction of the tested device are determined according to execution result information sent by the controller, the controller controls the tested device to continuously execute the second control instruction, and in the operation process of the cooking equipment, the real-time temperatures of a plurality of tested devices can be obtained, and then the real-time temperature curve of the tested device is determined according to the real-time temperatures. And finally, debugging the tested device of the cooking equipment according to the real-time temperature curve and the target temperature curve. In the whole debugging process, only the target cooking mode of the cooking equipment and the preset parameters of the tested device need to be obtained, so that the debugging site of the cooking equipment can be set up quickly and simply. In addition, the real-time temperature curve is automatically generated by the system, data do not need to be recorded manually, error loss caused by human errors in data transmission can be reduced, and the cooking equipment can be debugged relatively simply, so that the development time of the cooking equipment is shortened, the development cost of the cooking equipment is reduced, and the problems that in the prior art, the debugging site of the cooking equipment is built and the debugging parameters are set relatively fussy are solved.
Specifically, the debugging method can be applied to debugging software running on an upper computer, wherein the debugging software is provided with a first interface and a second interface. In the first interface, a target cooking mode of the cooking device can be determined in a selection mode, and after the target cooking mode is selected, the debugging software can automatically recognize a target temperature and a target running time corresponding to the target cooking mode. In the second interface, a plurality of preset parameters of the device under test may be set. Because a plurality of preset parameters can be set on the second interface, developers can set a plurality of preset parameters of the tested device more intuitively and clearly, and the problem that the preset parameters are more complicated to set in the process of debugging the cooking equipment in the prior art is solved. Subsequently, after the target cooking mode and the preset parameters are set in the first interface and the second interface, the starting button is clicked in the first interface, so that a first control instruction can be generated according to the target cooking mode and the preset parameters and sent to the controller, and therefore the cooking equipment is debugged. In addition, whether the preheating function is needed or not can be selected in the first interface according to debugging requirements.
Specifically, the debugging software can debug any stage in the development process of the cooking equipment. In the process of debugging any stage in the development environment of the cooking equipment, as only the target cooking mode needs to be set in the first interface and the preset parameters need to be set in the second interface, the debugging site for debugging the cooking equipment can be quickly set up, and the problem that the debugging site for setting up the cooking equipment in the prior art is complex is solved. Secondly, because above-mentioned debugging software can debug arbitrary development stage of cooking equipment, debug cooking equipment through same debugging software like this, still guaranteed to be comparatively reliable to cooking equipment's debugging result to avoided among the prior art through different debugging platforms, debugged cooking equipment, lead to debugging the result inconsistent, and unreliable problem.
Specifically, the preset parameters may be parameters shown in table one.
Watch 1
Specifically, the controller may be a controller that integrates multiple debugging functions. Of course, the controller may also be a controller in the cooking apparatus.
Specifically, the target operation time period is an operation time period of the cooking apparatus corresponding to the target cooking mode.
Specifically, for the repeated step, that is, after determining the second control instruction of the cooking device according to at least the real-time temperature, the second control instruction is sent to the controller again, so that the controller controls the device to be tested to execute the second control instruction.
In a specific embodiment of the present application, the cooking device may be a steam oven. In a case where the cooking apparatus is a steam oven, the target cooking mode may include at least one of: baking mode, steaming mode, cleaning mode and descaling mode.
In an actual application process, after the cooking device executes the first control instruction, the humidity and the rotating speed of the cooking device can be acquired at regular time. Of course, the humidity and the rotating speed of the cooking device are not limited to be collected at regular time, and other information in the operation process of the cooking device can be collected.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In order to determine the real-time temperature of the device under test corresponding to the execution result information more easily, in an embodiment of the present application, the execution result information includes a target resolution of the device under test, and determining the real-time temperature of the device under test at least according to the execution result information sent by the controller includes: calculating the resistance value of the device to be tested by adopting a formula Rt = [ Vcc- (ADC/1024) xVcc ] ÷ R, wherein Rt is the resistance value, vcc is the power supply voltage of the cooking equipment, ADC is the target resolution, and R is the resistance value of a divider resistor of the cooking equipment; and determining the real-time temperature of the device under test according to the resistance value and a preset corresponding relation, wherein the preset corresponding relation is the corresponding relation between the resistance value of the device under test and the real-time temperature.
Specifically, the devices to be tested of different manufacturers or different models may have different corresponding relationships between the resistance values and the real-time temperatures. That is, devices under test of different manufacturers or different models may have different preset corresponding relationships.
Specifically, the target resolution may be a frequency at which the corresponding sensor converts the acquired analog signal into a digital signal.
In another embodiment of the application, the determining the second control instruction of the cooking device according to at least the real-time temperature includes: determining a target temperature corresponding to the target cooking mode according to the target cooking mode of the cooking device; determining the second control command as the heating stop command when the real-time temperature is greater than or equal to the target temperature; and determining that the second control command is the temperature increase control command when the real-time temperature is lower than the target temperature. In this embodiment, the implementation temperature is compared with the target temperature, so that whether the second control instruction is the heating stop instruction or the heating control instruction can be determined relatively simply, the detected device can be controlled relatively reasonably to operate, and the cooking equipment is further ensured to be relatively safe.
In order to further reasonably control the cooking device, in another embodiment of the present application, the determining the second control instruction as the temperature-increasing control instruction when the real-time temperature is lower than the target temperature includes: determining the temperature-rise control instruction as the interval heating instruction when the real-time temperature is greater than or equal to a preset temperature; and determining the temperature rise control command as the continuous heating command under the condition that the real-time temperature is less than the preset temperature.
Specifically, the preset temperature may be a defined temperature rise/maintenance temperature value shown in table one.
In another embodiment of the application, after determining that the temperature-increasing control instruction is the interval heating instruction when the real-time temperature is greater than or equal to a preset temperature, the debugging method further includes: determining a target time interval according to the real-time temperature, the target temperature and the preset parameters of the device under test; and sending the target time interval to the controller so that the controller controls the device under test not to execute the interval heating instruction within the target time interval. Specifically, under the condition that the cooking device is in the temperature maintenance mode (that is, the second control instruction is the interval heating instruction), the target time interval is determined according to the real-time temperature, the target temperature and the preset parameter, and the cooking device is controlled not to execute the interval heating instruction within the target time interval, so that the control on the cooking device is further ensured to be reasonable.
In a specific embodiment of the present application, the formula optinc = ((KP + KI + KD) × (targ et _ t-Current) - (KP +2 × KD) × (targ et _ t-Last) + KD × (targ et _ t-Before))/100 may be used to calculate the target time interval. Wherein optinc is a target time interval; KP, KI and KD are PID parameters of control temperature shown in the table I, t arg et _ t is target temperature, current is real-time temperature, last is Last real-time temperature, and Before is Last real-time temperature.
In order to facilitate subsequent analysis of a debugging result of the cooking device, in an embodiment of the present application, the debugging method further includes: and printing the first control instruction and the second control instruction in the operation process of the cooking equipment.
In an actual application process, the debugging software may further have a third interface, and the first control instruction and the second control instruction in the operation process of the cooking device may be printed on the third interface. In addition, in the application, the first control instruction and the second control instruction in the operation process of the cooking device are not limited to be printed, and other control instructions in the operation process of the cooking device can be printed.
In order to avoid that the controller fails to receive the first control instruction in time due to the communication problem, in another embodiment of the present application, after the first control instruction is sent to the controller, so that the controller controls the device under test to execute the first control instruction, the debugging method further includes: and repeating the transmitting step until the execution result information is received or the debugging stop command is received, in the case that the execution result information transmitted by the controller is not received.
Specifically, in the process of debugging the cooking device, the lighting lamp on the first interface can be clicked to turn on or turn off the lighting control of the cooking chamber (cooking space).
The embodiment of the present application further provides a debugging device of a cooking device, and it should be noted that the debugging device of the cooking device according to the embodiment of the present application can be used to execute the debugging method for the cooking device provided in the embodiment of the present application. The debugging device of the cooking device provided by the embodiment of the application is introduced as follows.
Fig. 2 is a schematic structural diagram of a commissioning device of a cooking apparatus according to an embodiment of the present application. As shown in fig. 2, the debugging apparatus includes:
a generating unit 10, configured to generate a first control instruction according to an obtained target cooking mode of the cooking apparatus and a preset parameter, where the preset parameter is a debugging parameter of the device under test for adjusting a target function, and the first control instruction is used to control the device under test to execute the target function;
a first sending unit 20, configured to send the first control instruction to a controller, so that the controller controls the device under test to execute the first control instruction;
a first determining unit 30, configured to determine a step of determining a real-time temperature of the device under test at least according to execution result information sent by the controller, and determine a second control instruction of the cooking apparatus at least according to the real-time temperature;
a first repeating unit 40, configured to repeat the sending step and the determining step until the current operating time of the cooking apparatus reaches a target operating time or a debugging stopping instruction is received, determine a real-time temperature curve of the device under test according to a plurality of real-time temperatures, and adjust the preset parameter when the real-time temperature curve does not match the target temperature curve.
In the adjusting and measuring device, a generating unit acquires a target cooking mode and preset parameters of cooking equipment and generates a first control instruction according to the target cooking mode and the preset parameters; the first sending unit is used for sending the first control instruction to a controller so that the controller controls the device under test to execute the first control instruction; the first determining unit receives execution result information sent by the controller, determines the real-time temperature of a tested device according to the execution result information at least, and determines a second control instruction of the cooking equipment according to the real-time temperature at least; and the first repeating unit repeats the sending step and the determining step, namely the second control instruction is sent to the controller and the execution result information sent by the controller is received again until the current operation time of the cooking equipment reaches the target operation time or a debugging stopping instruction is obtained, a real-time temperature curve of the tested device is determined according to a plurality of real-time temperatures, and the preset parameters are adjusted under the condition that the real-time temperature curve is not matched with the target temperature curve. In the scheme, a first control instruction is generated only according to a target cooking mode and preset parameters of the cooking equipment, the controller controls the tested device to execute the first control instruction, then the real-time temperature and a second control instruction of the tested device are determined according to execution result information sent by the controller, the controller controls the tested device to continuously execute the second control instruction, and in the operation process of the cooking equipment, the real-time temperatures of a plurality of tested devices can be obtained, and then the real-time temperature curve of the tested device is determined according to the real-time temperatures. And finally, debugging the tested device of the cooking equipment according to the real-time temperature curve and the target temperature curve. In the whole debugging process, only the target cooking mode of the cooking equipment and the preset parameters of the tested device need to be acquired, so that the debugging site of the cooking equipment can be built quickly and simply. In addition, the real-time temperature curve is automatically generated by the system, data do not need to be recorded manually, error loss caused by human errors in data transmission can be reduced, and the cooking equipment can be debugged relatively simply, so that the development time of the cooking equipment is shortened, the development cost of the cooking equipment is reduced, and the problems that in the prior art, the debugging site of the cooking equipment is built and the debugging parameters are set relatively fussy are solved.
Specifically, the debugging method can be applied to debugging software running on an upper computer, and the debugging software is provided with a first interface and a second interface. In the first interface, a target cooking mode of the cooking device can be determined in a selection mode, and after the target cooking mode is selected, the debugging software can automatically recognize a target temperature and a target running time corresponding to the target cooking mode. In the second interface, a plurality of preset parameters of the device under test may be set. Because a plurality of preset parameters can be set on the second interface, developers can set a plurality of preset parameters of the tested device more intuitively and clearly, and the problem that the preset parameters are more complicated to set in the process of debugging cooking equipment in the prior art is solved. Subsequently, after the target cooking mode and the preset parameters are set in the first interface and the second interface, the starting button is clicked in the first interface, so that a first control instruction can be generated according to the target cooking mode and the preset parameters and sent to the controller, and therefore the cooking equipment is debugged. In addition, whether the preheating function is needed or not can be selected in the first interface according to debugging requirements.
Specifically, the debugging software can debug any stage in the development process of the cooking equipment. In the process of debugging any stage in the development environment of the cooking equipment, as only a target cooking mode needs to be set in the first interface and the equipment preset parameters need to be set in the second interface, the debugging site for debugging the cooking equipment can be quickly set up, and the problem that the debugging site for setting up the cooking equipment in the prior art is complex is solved. Secondly, because above-mentioned debugging software can debug arbitrary development stage of cooking equipment, debug cooking equipment through same debugging software like this, still guaranteed to be comparatively reliable to cooking equipment's debugging result to avoided among the prior art through different debugging platforms, debugged cooking equipment, lead to debugging the result inconsistent, and unreliable problem.
Specifically, the preset parameters may be parameters shown in table one.
Specifically, the controller may be a controller that integrates multiple debugging functions. Of course, the controller may also be a controller in the cooking apparatus.
Specifically, the target operation time period is an operation time period of the cooking apparatus corresponding to the target cooking mode.
Specifically, for the repeated step, that is, after determining the second control instruction of the cooking device according to at least the real-time temperature, the second control instruction is sent to the controller again, so that the controller controls the device to be tested to execute the second control instruction.
In a specific embodiment of the present application, the cooking device may be a steam oven. In a case where the cooking apparatus is a steam oven, the target cooking mode may include at least one of: baking mode, steaming mode, cleaning mode and descaling mode.
In an actual application process, after the cooking equipment executes the first control instruction, the humidity and the rotating speed of the cooking equipment can be acquired at regular time. Of course, the humidity and the rotating speed of the cooking equipment are not limited to be collected at regular time, and other information in the operation process of the cooking equipment can be collected.
In order to determine the real-time temperature of the device under test corresponding to the execution result information more simply, in an embodiment of the present application, the execution result information includes a target resolution of the device under test, and the first determining unit includes a calculating module and a first determining module, wherein the calculating module is configured to calculate a resistance value of the device under test by using a formula Rt = [ Vcc- (ADC/1024) × Vcc ] ÷ R, where Rt is the resistance value, vcc is a supply voltage of the cooking appliance, ADC is the target resolution, and R is a resistance value of a voltage dividing resistor of the cooking appliance; the first determining module is configured to determine the real-time temperature of the device under test according to the resistance value and a preset corresponding relationship, where the preset corresponding relationship is a corresponding relationship between the resistance value and the real-time temperature of the device under test.
Specifically, devices under test of different manufacturers or different models may have different corresponding relationships between the resistance value and the real-time temperature. That is, devices under test of different manufacturers or different models may have different preset corresponding relationships.
Specifically, the target resolution may be a frequency at which the corresponding sensor converts the acquired analog signal into a digital signal.
In another embodiment of the application, the second control instruction includes a heating stop instruction and a heating control instruction, and the determining module further includes a second determining module, a third determining module and a fourth determining module, where the second determining module is configured to determine a target temperature corresponding to the target cooking mode according to the target cooking mode of the cooking device; the third determining module is configured to determine that the second control instruction is the heating stop instruction when the real-time temperature is greater than or equal to the target temperature; the fourth determining module is configured to determine that the second control instruction is the temperature increase control instruction when the real-time temperature is lower than the target temperature. In this embodiment, the implementation temperature is compared with the target temperature, so that whether the second control instruction is the heating stop instruction or the heating control instruction can be determined relatively easily, the detected device can be controlled relatively reasonably to operate, and the cooking equipment is further ensured to be relatively safe.
In order to further reasonably control the cooking device, in another embodiment of the present application, the temperature-increasing control instruction includes a continuous heating instruction and an interval heating instruction, and the fourth determining module includes a first determining submodule and a second determining submodule, where the first determining submodule is configured to determine that the temperature-increasing control instruction is the interval heating instruction when the real-time temperature is greater than or equal to a preset temperature; the second determining submodule is configured to determine that the temperature increase control instruction is the continuous heating instruction when the real-time temperature is lower than the preset temperature.
Specifically, the preset temperature may be a defined temperature rise/maintenance temperature value shown in table one.
In yet another embodiment of the present application, the debugging apparatus further includes a second determining unit and a second sending unit, wherein the second determining unit is configured to determine, after determining that the temperature-increasing control command is the interval heating command, a target time interval according to the real-time temperature, the target temperature, and the preset parameter of the device under test when the real-time temperature is greater than or equal to a preset temperature; the second sending unit is configured to send the target time interval to the controller, so that the controller controls the device under test not to execute the interval heating instruction within the target time interval. Specifically, under the condition that the cooking device is in the temperature maintenance mode (that is, the second control instruction is the interval heating instruction), the target time interval is determined according to the real-time temperature, the target temperature and the preset parameter, and the cooking device is controlled not to execute the interval heating instruction within the target time interval, so that the control on the cooking device is further ensured to be reasonable.
In a specific embodiment of the present application, the target time interval can be calculated by using the formula optinc = ((KP + KI + KD) × (targ et _ t-Current) - (KP +2 × KD) × (targ et _ t-Last) + KD × (targ et _ t-Before))/100. Wherein optinc is a target time interval; KP, KI and KD are PID parameters of control temperature shown in the table I, t arg et _ t is target temperature, current is real-time temperature, last is Last real-time temperature, and Before is Last real-time temperature.
In order to facilitate subsequent analysis of the debugging result of the cooking device, in an embodiment of the present application, the debugging apparatus further includes a printing unit, configured to print the first control instruction and the second control instruction during the operation of the cooking device.
In an actual application process, the debugging software may further have a third interface, and the first control instruction and the second control instruction in the operation process of the cooking device may be printed on the third interface. In addition, in the application, the first control instruction and the second control instruction in the operation process of the cooking device are not limited to be printed, and other control instructions in the operation process of the cooking device can be printed.
In order to avoid that the controller fails to receive the first control command in time due to a communication problem, in another embodiment of the present application, the debugging apparatus further includes a second repeating unit, configured to repeat the sending step until the execution result information is received or the debugging stop command is received, when the execution result information sent by the controller is not received after the first control command is sent to the controller so that the controller controls the device under test to execute the first control command.
Specifically, in the process of debugging the cooking device, the lighting lamp on the first interface can be clicked to turn on or turn off the lighting control of the cooking chamber (cooking space).
The debugging device of the cooking equipment comprises a processor and a memory, wherein the generating unit, the first sending unit, the first determining unit, the first repeating unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to one or more than one, and the problems that in the prior art, the debugging site of the cooking equipment is built and the setting of the debugging parameters is complicated are solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), including at least one memory chip.
An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon, where the program is executed by a processor to implement the debugging method of the cooking apparatus.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes the debugging method of the cooking equipment when running.
In an exemplary embodiment of the present application, a debugging system is further provided, where the debugging system includes an upper computer, a controller, and the above cooking apparatus with a device under test, where the upper computer is configured to execute any of the above debugging methods.
The debugging system comprises an upper computer, a controller and cooking equipment with a tested device, wherein the upper computer can execute any one of the debugging methods, in the debugging method, a first control instruction is generated only according to a target cooking mode and preset parameters of the cooking equipment, the controller controls the tested device to execute the first control instruction, then the real-time temperature and a second control instruction of the tested device are determined according to execution result information sent by the controller, the controller controls the tested device to continuously execute the second control instruction, the real-time temperatures of a plurality of tested devices can be obtained in the running process of the cooking equipment, and then the real-time temperature curve of the tested device is determined according to the real-time temperatures. And finally, debugging the tested device of the cooking equipment according to the real-time temperature curve and the target temperature curve. In the whole debugging process, only the target cooking mode of the cooking equipment and the preset parameters of the tested device need to be acquired, so that the debugging site of the cooking equipment can be built quickly and simply. In addition, the real-time temperature curve is automatically generated by the system, data do not need to be recorded manually, error loss caused by human errors in data transmission can be reduced, and the cooking equipment can be debugged relatively simply, so that the development time of the cooking equipment is shortened, the development cost of the cooking equipment is reduced, and the problems that in the prior art, the debugging site of the cooking equipment is built and the debugging parameters are set relatively fussy are solved.
Specifically, the upper computer and the controller may communicate through an RS232 communication interface.
An embodiment of the present invention provides an apparatus, where the apparatus includes a processor, a memory, and a program that is stored in the memory and is executable on the processor, and when the processor executes the program, at least the following steps are implemented:
step S101, a generating step, namely generating a first control instruction according to an obtained target cooking mode and preset parameters of the cooking device, wherein the preset parameters are debugging parameters of the device to be tested for adjusting a target function, and the first control instruction is used for controlling the device to be tested to execute the target function;
step S102, a sending step of sending the first control command to a controller, so that the controller controls the device under test to execute the first control command;
step S103, a determining step, namely determining the real-time temperature of the tested device at least according to the execution result information sent by the controller, and determining a second control instruction of the cooking equipment at least according to the real-time temperature;
and S104, repeating the step of sending and the step of determining until the current operation time of the cooking equipment reaches the target operation time or a debugging stopping instruction is received, determining a real-time temperature curve of the tested device according to a plurality of real-time temperatures, and adjusting the preset parameters under the condition that the real-time temperature curve is not matched with the target temperature curve.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program of initializing at least the following method steps when executed on a data processing device:
step S101, a generating step, namely generating a first control instruction according to the obtained target cooking mode and preset parameters of the cooking device, wherein the preset parameters are debugging parameters of the device under test for adjusting a target function, and the first control instruction is used for controlling the device under test to execute the target function;
step S102, a sending step of sending the first control command to a controller, so that the controller controls the device under test to execute the first control command;
step S103, a determining step, namely determining the real-time temperature of the tested device at least according to the execution result information sent by the controller, and determining a second control instruction of the cooking equipment at least according to the real-time temperature;
and S104, repeating the step of sending and the step of determining until the current operation time of the cooking equipment reaches the target operation time or a debugging stopping instruction is received, determining a real-time temperature curve of the tested device according to a plurality of real-time temperatures, and adjusting the preset parameters under the condition that the real-time temperature curve is not matched with the target temperature curve.
In order to make the technical solutions of the present application more clearly understood by those skilled in the art, the technical solutions and technical effects of the present application will be described below with reference to specific embodiments.
Examples
As shown in fig. 3, the above cooking apparatus includes a heater 100, a steam generator 101, a radiator 102, an illumination lamp 103, a pump water controller 104, a top bulb 105, a bottom bulb 106, and a steam bulb 107. Any of the devices described above may be the devices under test described above in this application. The upper computer 108 communicates with the controller 109 through an RS232 communication interface, the controller 109 can control any one of the above devices and the cooking space 110 of the cooking apparatus, and the controller 109 and the power supply 112 are connected to the upper computer 108 and the local area network 111. After the upper computer 108, the controller 109 and the cooking equipment are connected according to the connection relationship shown in fig. 3, the cooking equipment can be measured.
Specifically, as shown in fig. 4, the debugging software on the upper computer obtains a target cooking mode and preset parameters of the cooking device, and when receiving a start debugging instruction, the debugging software may generate a first control instruction according to the target cooking mode and the preset parameters, and send the first control instruction to the controller. And after receiving the first control instruction, the controller controls the tested device to execute the first control instruction. And under the condition that the debugging software on the upper computer receives the execution result information sent by the controller, determining the real-time temperature according to the execution result information. Under the condition that the debugging software on the upper computer does not receive the debugging stopping instruction or the current operation time of the cooking equipment does not reach the target operation time (namely, whether the completion is yes shown in figure 4), a second control instruction is generated at least according to the real-time temperature, and the second control instruction is sent to the controller again, so that the controller controls the tested device to execute the second control instruction again until the debugging stopping instruction is received or the current operation time of the cooking equipment reaches the target operation time (namely, whether the completion is yes shown in figure 4). And under the condition that the debugging software on the upper computer does not receive the execution result information sent by the controller, the debugging software continues to send the first control instruction to the controller until the execution result information is received or a debugging stopping instruction is received. And in the process that the cooking equipment executes the first control instruction and the second control instruction, acquiring the humidity and the rotating speed of the cooking equipment at regular time. And finally, in the process of controlling the cooking equipment, a plurality of real-time temperatures can be obtained, and a real-time temperature curve is determined according to the plurality of real-time temperatures. And under the condition that the real-time temperature curve is not matched with the target temperature curve, adjusting the preset parameters, and printing a first control instruction and a second control instruction of the cooking equipment in the operation process.
In the above embodiments of the present invention, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described in detail in a certain embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other manners. The above-described apparatus embodiments are merely illustrative, and for example, the division of the above-described units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be an indirect coupling or communication connection through some interfaces, units or modules, and may be electrical or in other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
From the above description, it can be seen that the above-described embodiments of the present application achieve the following technical effects:
1) According to the debugging method of the cooking equipment, firstly, a target cooking mode and preset parameters of the cooking equipment are obtained, and a first control instruction is generated according to the target cooking mode and the preset parameters; then, sending the first control instruction to a controller, so that the controller controls the device under test to execute the first control instruction; then, receiving execution result information sent by the controller, determining the real-time temperature of the tested device according to the execution result information at least, and determining a second control instruction of the cooking equipment according to the real-time temperature at least; and finally, repeating the sending step and the determining step, namely sending the second control instruction to the controller and receiving the execution result information sent by the controller again until the current operation time of the cooking equipment reaches the target operation time or a debugging stopping instruction is obtained, determining a real-time temperature curve of the tested device according to a plurality of real-time temperatures, and adjusting the preset parameters under the condition that the real-time temperature curve is not matched with the target temperature curve. In the scheme, a first control instruction is generated only according to a target cooking mode and preset parameters of the cooking equipment, the controller controls the tested device to execute the first control instruction, then the real-time temperature and a second control instruction of the tested device are determined according to execution result information sent by the controller, the controller controls the tested device to continuously execute the second control instruction, and in the operation process of the cooking equipment, the real-time temperatures of a plurality of tested devices can be obtained, and then the real-time temperature curve of the tested device is determined according to the real-time temperatures. And finally, debugging the tested device of the cooking equipment according to the real-time temperature curve and the target temperature curve. In the whole debugging process, only the target cooking mode of the cooking equipment and the preset parameters of the tested device need to be acquired, so that the debugging site of the cooking equipment can be built quickly and simply. In addition, the real-time temperature curve is automatically generated by the system, data do not need to be recorded manually, error loss caused by human errors in data transmission can be reduced, and the cooking equipment can be debugged relatively simply, so that the development time of the cooking equipment is shortened, the development cost of the cooking equipment is reduced, and the problems that in the prior art, the debugging site of the cooking equipment is built and the debugging parameters are set relatively fussy are solved.
2) In the adjusting and measuring device, a generating unit acquires a target cooking mode and preset parameters of cooking equipment and generates a first control instruction according to the target cooking mode and the preset parameters; the first sending unit is used for sending the first control instruction to a controller so that the controller controls the device under test to execute the first control instruction; the first determining unit receives execution result information sent by the controller, determines the real-time temperature of a tested device according to the execution result information at least, and determines a second control instruction of the cooking equipment according to the real-time temperature at least; and the first repeating unit repeats the sending step and the determining step, namely the second control instruction is sent to the controller and the execution result information sent by the controller is received again until the current operation time of the cooking equipment reaches the target operation time or a debugging stopping instruction is obtained, a real-time temperature curve of the tested device is determined according to a plurality of real-time temperatures, and the preset parameters are adjusted under the condition that the real-time temperature curve is not matched with the target temperature curve. In the scheme, a first control instruction is generated only according to a target cooking mode and preset parameters of the cooking equipment, the controller controls the tested device to execute the first control instruction, then the real-time temperature and a second control instruction of the tested device are determined according to execution result information sent by the controller, the controller controls the tested device to continuously execute the second control instruction, and in the operation process of the cooking equipment, the real-time temperatures of a plurality of tested devices can be obtained, and then the real-time temperature curve of the tested device is determined according to the real-time temperatures. And finally, debugging the tested device of the cooking equipment according to the real-time temperature curve and the target temperature curve. In the whole debugging process, only the target cooking mode of the cooking equipment and the preset parameters of the tested device need to be obtained, so that the debugging site of the cooking equipment can be set up quickly and simply. In addition, the real-time temperature curve is automatically generated by the system, data do not need to be recorded manually, error loss caused by human errors in data transmission can be reduced, and the cooking equipment can be debugged relatively simply, so that the development time of the cooking equipment is shortened, the development cost of the cooking equipment is reduced, and the problems that in the prior art, the debugging site of the cooking equipment is built and the debugging parameters are set relatively fussy are solved.
3) The debugging system comprises an upper computer, a controller and cooking equipment with a tested device, wherein the upper computer can execute any one of the debugging methods, in the debugging method, a first control instruction is generated only according to a target cooking mode and preset parameters of the cooking equipment, the controller controls the tested device to execute the first control instruction, then the real-time temperature and a second control instruction of the tested device are determined according to execution result information sent by the controller, the controller controls the tested device to continue executing the second control instruction, in the running process of the cooking equipment, the real-time temperatures of a plurality of tested devices can be obtained, and then the real-time temperature curve of the tested device is determined according to the real-time temperatures. And finally, debugging the tested device of the cooking equipment according to the real-time temperature curve and the target temperature curve. In the whole debugging process, only the target cooking mode of the cooking equipment and the preset parameters of the tested device need to be acquired, so that the debugging site of the cooking equipment can be built quickly and simply. In addition, the real-time temperature curve is automatically generated by the system, data do not need to be recorded manually, error loss caused by human errors in data transmission can be reduced, and the cooking equipment can be debugged relatively simply, so that the development time of the cooking equipment is shortened, the development cost of the cooking equipment is reduced, and the problems that in the prior art, the debugging site of the cooking equipment is built and the debugging parameters are set relatively fussy are solved.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.