CN114747948A - Method, system, storage medium, and electronic apparatus for determining device status - Google Patents

Method, system, storage medium, and electronic apparatus for determining device status Download PDF

Info

Publication number
CN114747948A
CN114747948A CN202111679962.0A CN202111679962A CN114747948A CN 114747948 A CN114747948 A CN 114747948A CN 202111679962 A CN202111679962 A CN 202111679962A CN 114747948 A CN114747948 A CN 114747948A
Authority
CN
China
Prior art keywords
temperature range
temperature
determining
preset
statistical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111679962.0A
Other languages
Chinese (zh)
Other versions
CN114747948B (en
Inventor
王赟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Original Assignee
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd filed Critical Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority to CN202111679962.0A priority Critical patent/CN114747948B/en
Priority to PCT/IB2022/055477 priority patent/WO2023126694A1/en
Publication of CN114747948A publication Critical patent/CN114747948A/en
Application granted granted Critical
Publication of CN114747948B publication Critical patent/CN114747948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J36/00Parts, details or accessories of cooking-vessels
    • A47J36/32Time-controlled igniting mechanisms or alarm devices
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J36/00Parts, details or accessories of cooking-vessels
    • A47J36/06Lids or covers for cooking-vessels
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J36/00Parts, details or accessories of cooking-vessels
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K1/00Details of thermometers not specially adapted for particular types of thermometer
    • G01K1/02Means for indicating or recording specially adapted for thermometers
    • G01K1/024Means for indicating or recording specially adapted for thermometers for remote indication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K2207/00Application of thermometers in household appliances
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Food Science & Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Evolutionary Biology (AREA)
  • Algebra (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses a method and a system for judging equipment states, a storage medium and an electronic device. The method comprises the following steps: acquiring target data sent by the first wireless module through the second wireless module; setting a statistical time length, and counting the acquisition times of the target data in the statistical time length; when the acquisition times of the target data in the counting time length are larger than or equal to a first preset time, determining that the current state of the cover body is a cover closing state; when the acquisition times of the target data in the counting time length are less than or equal to a second preset time, determining that the current state of the cover body is an uncovering state; and when the acquisition times of the target data in the statistical time length are smaller than the first preset times and larger than the second preset times, determining that the current state of the cover body is the same as the state determined in the previous statistical time length. Through the application, the problem that a complex opening and closing cover detection mechanism needs to be arranged to detect the cover body state of the cooking equipment in the related art, and the detection result of the cover body state of the cooking equipment is inaccurate is solved.

Description

Method, system, storage medium, and electronic apparatus for determining device status
Technical Field
The present disclosure relates to the field of device status determination, and in particular, to a method, a system, a storage medium, and an electronic apparatus for determining a device status.
Background
In the cooking process by using the cooking equipment, whether the cooking equipment can keep a normal operation state or not is related to whether a cooking task can be smoothly completed or not, so that it is very important to accurately judge the operation state of the cooking equipment, and the judgment on the operation state of the cooking equipment comprises the judgment on the cover body state of the cooking equipment, such as whether an upper cover is tightly covered or not, whether a side door is tightly closed or not, and the judgment on the cover body state of the cooking equipment is untimely and inaccurate, so that the execution of the cooking task can be influenced, and even an accident can be caused.
In the related art, the manner of determining the state of the lid of the cooking device is as follows: cover detection mechanism through special opening and shutting and detect, for example, cover detection mechanism detects through the opening and shutting that contains the reed switch, but the cover detection mechanism structure that opens and shuts is complicated, and equipment live time can lead to connection structure ageing for a long time moreover, influences the accuracy that the cover detected that opens and shuts.
Aiming at the problems that a complex cover opening and closing detection mechanism needs to be arranged to detect the state of the cover body of the cooking equipment and the detection result of the state of the cover body of the cooking equipment is inaccurate in the related art, an effective solution is not provided at present.
Disclosure of Invention
The application provides a method and a system for judging equipment state, a storage medium and an electronic device, which are used for solving the problems that a complex cover opening and closing detection mechanism needs to be arranged to detect the cover body state of cooking equipment and the detection result of the cover body state of the cooking equipment is inaccurate in the related art.
According to one aspect of the application, a method for judging the state of equipment is provided. The method comprises the following steps: acquiring target data sent by a first wireless module through a second wireless module, wherein the second wireless module is arranged on a main body of target equipment, and the first wireless module is arranged on a cover body of the target equipment; setting a statistical time length, and counting the acquisition times of the target data in the statistical time length; when the acquisition times of the target data in the counting time length are larger than or equal to a first preset time, determining that the current state of the cover body is a cover closing state; when the acquisition times of the target data in the counting time length are less than or equal to a second preset time, determining that the current state of the cover body is an uncovering state, wherein the second preset time is less than the first preset time; and when the acquisition times of the target data in the statistical time length are smaller than the first preset times and larger than the second preset times, determining that the current state of the cover body is the same as the state determined in the previous statistical time length. The effect of simply and accurately determining the opening and closing state of the cover body of the target equipment is achieved.
Optionally, the setting the statistical duration includes: acquiring temperature data of target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different; when the temperature range corresponding to the temperature data is a first temperature range, determining the first time length as a statistical time length; when the temperature range corresponding to the temperature data is a second temperature range, determining a second time length as a statistical time length, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, and the second time length is greater than the first time length; and when the temperature range corresponding to the temperature data is a third temperature range, determining the third time length as the statistical time length, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the third time length is greater than the first time length, the second time length is different from the third time length, and the accuracy of judging the opening and closing states of the equipment cover body is improved by setting the opening and closing state judgment threshold values of the equipment cover body corresponding to different temperatures.
Optionally, when the number of times of acquiring the target data within the statistical duration is greater than or equal to a first preset number of times, before determining that the current state of the cover body is the cover closing state, the method further includes: acquiring temperature data of target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different; when the temperature range corresponding to the temperature data is a first temperature range, acquiring a first preset frequency and a second preset frequency determined in the first temperature range; when the temperature range corresponding to the temperature data is a second temperature range, acquiring a first preset number of times and a second preset number of times determined in the second temperature range, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, the first preset number of times determined in the second temperature range is smaller than the first preset number of times determined in the first temperature range, and the second preset number of times determined in the second temperature range is smaller than the second preset number of times determined in the first temperature range; and when the temperature range corresponding to the temperature data is a third temperature range, acquiring a first preset number of times and a second preset number of times determined in the third temperature range, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the first preset number of times determined in the third temperature range is smaller than the first preset number of times determined in the first temperature range, and the second preset number of times determined in the third temperature range is smaller than the second preset number of times determined in the first temperature range. The effect of more accurately judging the cover opening and closing state of the target equipment is achieved by adjusting the preset times at different temperatures.
Optionally, the counting the number of times of acquiring the target data within the counting time period includes: under the condition that the second wireless module receives a frame of target data, determining a time interval between the receiving time of the current frame of target data and the receiving time of the previous frame of target data; and under the condition that the time interval is smaller than the preset time interval, determining that the acquisition times of the target data in the statistical time interval are unchanged, and under the condition that the time interval is larger than or equal to the preset time interval, determining that the acquisition times of the target data in the statistical time interval are increased by one until the statistical time interval is reached, and outputting the acquisition times of the target data. By recording the effective acquisition times of the target data, the accuracy of judging the cover opening and closing state of the target equipment according to the acquisition times of the target data is improved.
According to another aspect of the present application, a method for determining a device status is provided. The method comprises the following steps: acquiring target data sent by a first wireless module through a second wireless module, wherein the second wireless module is arranged on a main body of target equipment, and the first wireless module is arranged on a cover body of the target equipment; setting preset acquisition times of target data; determining the statistical duration under the condition that the statistical acquisition times reach the preset acquisition times; determining the current state of the cover body as a cover closing state under the condition that the statistical time length is less than or equal to the first statistical time length; determining that the current state of the cover body is an uncovering state under the condition that the statistical time length is greater than or equal to the second statistical time length; and when the statistical duration is less than the second statistical duration and greater than the first statistical duration, determining that the current state of the cover body is the same as the state determined in the last statistical duration. By comparing the time required for acquiring the preset amount of target data with the time threshold, the effect of simply and accurately determining the opening and closing state of the cover body of the target equipment is achieved.
Optionally, the setting of the preset number of acquisition times of the target data includes: acquiring temperature data of target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different; when the temperature range corresponding to the temperature data is a first temperature range, determining the first acquisition times as preset acquisition times; when the temperature range corresponding to the temperature data is a second temperature range, determining second acquisition times as preset acquisition times, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, and the second acquisition times are smaller than the first acquisition times; and when the temperature range corresponding to the temperature data is a third temperature range, determining a third acquisition frequency as a preset acquisition frequency, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the third acquisition frequency is less than the first acquisition frequency, and the second acquisition frequency is different from the third acquisition frequency. The opening and closing state judgment threshold values of the equipment cover bodies corresponding to different temperatures are set, so that the accuracy of the opening and closing state judgment of the equipment cover bodies is improved.
Optionally, when the statistical duration is less than or equal to the first statistical duration, before determining that the current state of the cover body is the cover closing state, the method further includes: acquiring temperature data of target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different; when the temperature range corresponding to the temperature data is a first temperature range, acquiring a first statistical time length and a second statistical time length determined in the first temperature range; when the temperature range corresponding to the temperature data is a second temperature range, acquiring a first statistical duration and a second statistical duration determined in the second temperature range, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, the first statistical duration determined in the second temperature range is longer than the first statistical duration determined in the first temperature range, and the second statistical duration determined in the second temperature range is longer than the second statistical duration determined in the first temperature range; and when the temperature range corresponding to the temperature data is a third temperature range, acquiring a first statistical duration and a second statistical duration determined in the third temperature range, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the first statistical duration determined in the third temperature range is longer than the first statistical duration determined in the first temperature range, and the second statistical duration determined in the third temperature range is longer than the second statistical duration determined in the first temperature range. By adjusting the statistical duration at different temperatures, the effect of more accurately judging the cover opening and closing state of the target equipment is achieved.
Optionally, when the preset obtaining number is one, and when the counted obtaining number reaches the preset obtaining number, determining the counted duration includes: under the condition that the second wireless module receives a frame of target data, determining a time interval between the receiving time of the current frame of target data and the receiving time of the previous frame of target data, determining the obtained time interval as a statistical duration, and laying a foundation for accurately judging the opening and closing state of the cover body of the equipment by setting the statistical duration.
Optionally, when the preset obtaining number is greater than or equal to two times, and when the counted obtaining number reaches the preset obtaining number, determining the counted duration includes: under the condition that the second wireless module receives a frame of target data, determining a time interval between the receiving time of the current frame of target data and the receiving time of the previous frame of target data; and under the condition that the time interval is smaller than the preset time interval, determining that the acquisition times of the target data are unchanged, and under the condition that the time interval is greater than or equal to the preset time interval, determining that the acquisition times of the target data are increased by one until the acquisition times of the target data reach the preset acquisition times, and outputting the statistical duration corresponding to the preset acquisition times. By recording the effective acquisition times of the target data, the accuracy of judging the cover opening and closing state of the target equipment according to the acquisition times of the target data is improved.
According to one aspect of the application, a system for determining a device status is provided. The system comprises: the temperature detection device is arranged on a cover body of the target equipment and used for detecting the temperature in the target equipment to obtain temperature data and sending the temperature data to the first wireless module, wherein the target equipment comprises a cover body and a main body, and the cover body is used for sealing an opening of an accommodating cavity of the main body; the first wireless module is arranged on the cover body, is connected with the temperature detection device, and is used for receiving the temperature data sent by the temperature detection device and sending the temperature data to the second wireless module; the second wireless module is arranged on the main body and used for receiving the temperature data sent by the first wireless module and sending the temperature data to the controller; and the controller is connected with the second wireless module and used for receiving the temperature data sent by the second wireless module and judging the opening and closing state of the cover body according to the sending frequency of the temperature data. The temperature of the target equipment is detected through the temperature detection device, and the detected target temperature data is sent to the controller through the first wireless module and the second wireless module, so that the controller can judge the opening and closing state of the cover body more quickly and accurately.
Optionally, the second wireless module is further configured to transmit a signal with a preset resonant frequency to the first wireless module to obtain the temperature data sent by the first wireless module, adjust the resonant frequency of the sent signal under the condition that the resonant frequency of the first wireless module is different from the preset resonant frequency, and obtain the temperature data sent by the first wireless module under the condition that the resonant frequency of the adjusted signal is the same as the resonant frequency of the first wireless module, so that the effect of accurately obtaining the target temperature data sent by the first wireless module is achieved.
According to another aspect of the embodiments of the present invention, a computer storage medium is further provided, where the computer storage medium is used to store a program, and when the program runs, the apparatus in which the computer storage medium is located is controlled to execute a method for determining an apparatus state.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a processor and a memory; the memory stores computer readable instructions, and the processor is used for executing the computer readable instructions, wherein the computer readable instructions execute the method for judging the state of the equipment.
By the application, the following steps are adopted: acquiring target data sent by a first wireless module through a second wireless module, wherein the second wireless module is arranged on a main body of target equipment, and the first wireless module is arranged on a cover body of the target equipment; setting a statistical time length, and counting the acquisition times of the target data in the statistical time length; when the acquisition times of the target data in the counting time length are larger than or equal to a first preset time, determining that the current state of the cover body is a cover closing state; when the acquisition times of the target data in the counting time length are less than or equal to a second preset time, determining that the current state of the cover body is an uncovering state, wherein the second preset time is less than the first preset time; when the acquisition times of the target data in the statistical time length are smaller than the first preset times and larger than the second preset times, the current state of the cover body is determined to be the same as the state determined in the previous statistical time length, and the problems that a complex cover opening and closing detection mechanism needs to be arranged to detect the state of the cover body of the cooking equipment and the detection result of the state of the cover body of the cooking equipment is inaccurate in the related technology are solved. Through judging the number of times of receiving signals and judging the time two kinds of modes required by receiving the signals of the preset number of times in the preset time, the modification of the opening and closing judgment threshold value of the cover body of the cooking equipment is timely carried out under the condition of being influenced by the temperature, and the cover body state of the cooking equipment can be conveniently and accurately detected.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a method for determining a device status according to an embodiment of the present application;
fig. 2 is a flowchart of an alternative method for determining a device status according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another method for determining a device status according to an embodiment of the present application;
fig. 4 is a flowchart of another alternative device status determination method provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a system for determining a status of a device according to an embodiment of the present application;
fig. 6 is a schematic diagram of an apparatus for determining a device status according to an embodiment of the present application;
fig. 7 is a schematic diagram of another device status determination apparatus according to an embodiment of the present application.
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 embodiments with reference to the attached drawings.
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 obtained by a person of ordinary skill in the art based on the embodiments in the present application 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 such that embodiments of the application described herein may be used. 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.
According to an embodiment of the application, a method for judging a device state is provided.
Fig. 1 is a flowchart of a method for determining a device status according to an embodiment of the present disclosure. As shown in fig. 1, the method comprises the steps of:
step S102, obtaining target data sent by a first wireless module through a second wireless module, where the second wireless module is disposed on a main body of a target device, and the first wireless module is disposed on a cover of the target device.
Specifically, the second wireless module may be a reader, and specifically may be a Frequency sweep oscillator, and may be installed on a main body of the target device, the first wireless module may be a transponder whose resonant Frequency is a preset fixed value, the Frequency sweep oscillator and the transponder may communicate by using a Radio Frequency Identification (RFID) technology, the Frequency sweep oscillator may send a Radio Frequency signal having a Frequency within a certain range to the transponder through the inductance coil according to a preset Frequency (for example, sending the Radio Frequency signal every 200 ms), and when the resonant Frequency of the Radio Frequency signal sent by the Frequency sweep oscillator is the same as the preset resonant Frequency in the transponder, the Frequency sweep oscillator receives a target data signal sent in the transponder to obtain target data, thereby completing wireless acquisition of the target data.
And step S104, setting a statistical time length, and counting the acquisition times of the target data in the statistical time length.
Specifically, the set statistical duration may be any duration, and the number of times of acquiring the target data may be counted in the statistical duration, for example, the statistical duration may be set to 5s, and the number of times of acquiring the target data in 5s may be acquired.
And step S106, when the acquisition times of the target data in the statistical time length are more than or equal to a first preset time, determining that the current state of the cover body is the cover closing state.
Specifically, the time required for transmitting the target data is different between the cover opening state and the cover closing state, so that the times of acquiring the target data in the statistical duration can be recorded, and the opening and closing state of the cover body of the device can be judged according to the recorded acquisition times, wherein when the acquisition times are greater than or equal to a first preset time, the current state of the cover body can be determined to be the cover closing state. For example, the first preset number of times may be 5 times, and in a case that the number of times of acquiring the target data in the statistical time duration is 6 times, it may be determined that the current state of the cover body is the cover closing state.
And S108, when the acquisition times of the target data in the counting time length are less than or equal to a second preset time, determining that the current state of the cover body is an uncovering state, wherein the second preset time is less than the first preset time.
Specifically, the current state of the cover body may be determined to be the cover closing state when the number of times of acquisition is less than or equal to a second preset number of times. For example, the second preset number of times may be 2 times, and when the number of times of acquiring the target data in the statistical duration is 1 time, it may be determined that the current state of the lid body is the lid opening state.
Step S110, when the number of times of obtaining the target data in the statistical duration is smaller than the first preset number of times and larger than the second preset number of times, determining that the current state of the cover is the same as the state determined in the previous statistical duration.
Specifically, when the number of times of acquisition is greater than the second preset number of times and less than the first preset number of times, it may be determined that the current state of the lid is the same as the state determined within the last statistical time. For example, the first preset number of times may be 5 times, and the second preset number of times may be 2 times, and when the number of times of acquiring the target data in the statistical time duration is 4 times, it may be determined that the current state of the lid body is the same as the state determined in the previous statistical time duration, for example, the state determined in the previous statistical time duration is the lid opening, and the current state of the lid body determined in the present statistical period is also the lid opening.
According to the method for judging the equipment state provided by the embodiment of the application, target data sent by a first wireless module is obtained through a second wireless module, wherein the second wireless module is arranged on a main body of target equipment, and the first wireless module is arranged on a cover body of the target equipment; setting a statistical time length, and counting the acquisition times of the target data in the statistical time length; when the acquisition times of the target data in the counting time length are larger than or equal to a first preset time, determining that the current state of the cover body is a cover closing state; when the acquisition times of the target data in the counting time length are less than or equal to a second preset time, determining that the current state of the cover body is an uncovering state, wherein the second preset time is less than the first preset time; when the acquisition times of the target data in the statistical time length are smaller than the first preset times and larger than the second preset times, the current state of the cover body is determined to be the same as the state determined in the previous statistical time length, and the problems that a complex cover opening and closing detection mechanism needs to be arranged to detect the state of the cover body of the cooking equipment and the detection result of the state of the cover body of the cooking equipment is inaccurate in the related technology are solved. Through judging the number of times of receiving signals and judging the time two kinds of modes required by receiving the signals of the preset number of times in the preset time, the modification of the opening and closing judgment threshold value of the cover body of the cooking equipment is timely carried out under the condition of being influenced by the temperature, and the cover body state of the cooking equipment can be conveniently and accurately detected.
Optionally, in the method for determining a device status provided in the embodiment of the present application, the setting a statistical duration includes: acquiring temperature data of target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different; when the temperature range corresponding to the temperature data is a first temperature range, determining the first time length as a statistical time length; when the temperature range corresponding to the temperature data is a second temperature range, determining a second time length as a statistical time length, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, and the second time length is greater than the first time length; and when the temperature range corresponding to the temperature data is a third temperature range, determining a third time length as a statistical time length, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the third time length is greater than the first time length, and the second time length is different from the third time length.
Specifically, the resonant capacitance of the resonant circuit may change under different temperatures, which may cause a change in the passing frequency and a difference in the chip sweep time, so that the number of target data acquired within the statistical duration may change due to the temperature, which may cause an error in determining the open/close state of the target device. Therefore, the statistical time needs to be correspondingly adjusted according to different temperatures, so that the error judgment of the cover opening and closing state of the target equipment caused by detection errors caused by temperature factors is eliminated.
For example, the first temperature range may be a normal temperature environment, the temperature range may be set to-5 ℃ to 70 ℃, the second temperature range may be a high temperature environment, the temperature range may be greater than 75 ℃, the third temperature range may be a low temperature environment, the temperature range may be less than-5 ℃, the first duration may be set to 2s in the normal temperature environment, the second duration may be set to 4s in the high temperature environment, and the third duration may be set to 3s in the low temperature environment.
It should be noted that, when the temperature is at the critical value of the two temperature environments, the current environment needs to be determined as the abnormal temperature environment, and meanwhile, the statistical duration is adjusted accordingly, for example, when the current temperature is-5 ℃, it is determined that the current temperature is in the low temperature state, and at this time, the statistical duration needs to be set to 3 s; under the condition that the current temperature is 70 ℃, the current high-temperature state is judged, the counting time length needs to be set to 4s, the preset values at different temperatures are adjusted, and the effect of avoiding the temperature from influencing the judgment accuracy of the cover body state of the equipment is achieved.
Optionally, in the method for determining a device state provided in this embodiment of the present application, when the number of times of obtaining the target data in the statistical duration is greater than or equal to a first preset number of times, before determining that the current state of the cover body is the cover closing state, the method further includes: acquiring temperature data of target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different; when the temperature range corresponding to the temperature data is a first temperature range, acquiring a first preset frequency and a second preset frequency determined in the first temperature range; when the temperature range corresponding to the temperature data is a second temperature range, acquiring a first preset number of times and a second preset number of times determined in the second temperature range, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, the first preset number of times determined in the second temperature range is smaller than the first preset number of times determined in the first temperature range, and the second preset number of times determined in the second temperature range is smaller than the second preset number of times determined in the first temperature range; and when the temperature range corresponding to the temperature data is a third temperature range, acquiring a first preset number of times and a second preset number of times determined in the third temperature range, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the first preset number of times determined in the third temperature range is smaller than the first preset number of times determined in the first temperature range, and the second preset number of times determined in the third temperature range is smaller than the second preset number of times determined in the first temperature range.
Specifically, since the resonant capacitance of the resonant circuit changes under different temperatures, which may cause a change in the passing frequency, and the chip sweep times are different, the number of target data obtained within the statistical duration may change due to the temperature, which may cause an error in determining the state of the cover of the target device. Therefore, the first preset times and the second preset times under each statistical time length need to be correspondingly adjusted according to different temperatures, so that the condition that the cover opening and closing state of the target device is judged by mistake due to detection errors caused by temperature factors is eliminated.
For example, in the case of a normal temperature environment, the first preset number may be set to 7, and the second preset number may be 3; in a high-temperature environment, the first preset number of times can be set to 6, and the second preset number of times can be 2; in a low-temperature environment, the first preset number may be set to 5, and the second preset number may be 2.
It should be noted that when the temperature is at the critical value of the two temperature environments, the current environment needs to be determined as the abnormal temperature environment, and meanwhile, the statistical duration is correspondingly adjusted, for example, when the current temperature is-5 ℃, it is determined that the current temperature is in a low-temperature state, at this time, the first preset number needs to be set to 5, and the second preset number may be 2; under the condition that the current temperature is 70 ℃, the current state is judged to be the high-temperature state, at this time, the first preset times are required to be set to 6, and the second preset times can be 2.
Optionally, in the method for determining a device status provided in the embodiment of the present application, counting the number of times of obtaining target data within the counted duration includes: under the condition that the second wireless module receives a frame of target data, determining a time interval between the receiving time of the current frame of target data and the receiving time of the previous frame of target data; and under the condition that the time interval is smaller than the preset time interval, determining that the acquisition times of the target data in the statistical time interval are unchanged, and under the condition that the time interval is larger than or equal to the preset time interval, determining that the acquisition times of the target data in the statistical time interval are increased by one until the statistical time interval is reached, and outputting the acquisition times of the target data.
Specifically, when a certain frame of target data is received, the time interval between the receiving time of the current frame of target data and the receiving time of the previous frame of target data needs to be determined, whether the current frame of target data is the target data which is normally transmitted and received is judged through the time interval, and abnormal target data is not recorded, so that the influence of noise generated due to signal interference and the like on the counted target data is prevented, and the wrong judgment on the opening and closing state of the target device is avoided.
For example, the preset time interval may be 0.25s, when the current frame target data is acquired, the current record includes 3 times of target data, and when the time interval between the receiving time of the current frame target data and the receiving time of the previous frame target data is 0.3s, it is determined that the current frame target data is abnormal target data, and the target data is not recorded, and at this time, although 4 times of target data have been received, the current record still includes only frame number records corresponding to 3 times of target data; under the condition that the time interval between the receiving time of the current frame target data and the receiving time of the previous frame target data is 0.05s, if the current frame target data is an effective frame, recording the current frame target data, wherein the current record comprises frame number records corresponding to 4 times of target data, and acquiring the frame number of the current record under the condition that the statistical duration is reached, for example, under the condition that the statistical duration is 2s, if the effective frame number of the current record is 9 and is more than 7, determining that the current state of the target equipment is closed.
Fig. 2 is a flowchart of an alternative device status determination method according to an embodiment of the present application. As shown in fig. 2, the first time period is 2 seconds, the second time period is 4 seconds, the third time period is 3 seconds, the preset temperature range is-5 ℃ to 70 ℃, the first preset number of times is 7, the second preset number of times is 3, and in a high-temperature environment, the first preset number of times can be set to 6, and the second preset number of times can be 2; in a low-temperature environment, the first preset number may be set to 5, and the second preset number may be 2.
The device starts to work, and the initial cover body state of the current target device can be set to be the cover closing state. The swept-frequency oscillator starts to operate, and may transmit a radio frequency signal to the transponder at a preset frequency (e.g., data is transmitted every 200 ms), and receive target data when the resonant frequency of the radio frequency signal is the same as the resonant frequency of the transponder, where the target data may be target temperature data. And after the controller acquires the target temperature data, judging whether the target temperature data is in the range of-5-70 ℃.
When the target temperature data is in the range of-5 ℃ to 70 ℃, judging that the target equipment is in a normal temperature environment, counting the times of acquiring the target temperature data within 2 seconds, judging that the current state of the equipment is cover opening when the times are more than or equal to 7, judging that the current state of the equipment is cover opening when the times are less than or equal to 3, and judging that the current state of the equipment is the same as the state of the previous period and is cover closing when the times are more than 3 and less than 7.
When the target temperature data is higher than 70 ℃, the target equipment is judged to be in a high-temperature environment, the number of times of obtaining the target temperature data within 4 seconds is counted, the current state of the equipment is judged to be cover closing when the number of times is larger than or equal to 6, the current state of the equipment is judged to be cover opening when the number of times is smaller than or equal to 2, and the current state of the equipment is judged to be the same as the state of the previous period and is cover closing when the number of times is larger than 2 and smaller than 6.
When the target temperature data is less than-5 ℃, the target equipment is judged to be in a low-temperature environment, the number of times of obtaining the target temperature data within 3 seconds is counted, the current state of the equipment is judged to be cover closing under the condition that the number of times is more than or equal to 5, the current state of the equipment is judged to be cover opening under the condition that the number of times is less than or equal to 2, and the current state of the equipment is judged to be cover closing under the condition that the number of times is more than 2 and less than 5, so that the state judgment of opening and closing the cover of the target equipment under different temperatures is accurately judged.
According to an embodiment of the application, another method for judging the state of equipment is provided.
Fig. 3 is a flowchart of another method for determining a device status according to an embodiment of the present application. As shown in fig. 3, the method comprises the steps of:
step S302, obtain target data sent by a first wireless module through a second wireless module, where the second wireless module is disposed on a main body of a target device, and the first wireless module is disposed on a cover of the target device.
Specifically, the second wireless module may be a reader, specifically may be a swept-Frequency oscillator, and may be installed on a main body of the target device, the first wireless module may be a transponder whose resonant Frequency is a preset fixed value, the swept-Frequency oscillator and the transponder may communicate using an RFID (Radio Frequency Identification) technology, the swept-Frequency oscillator may send a Radio Frequency signal having a Frequency within a certain range to the transponder through the inductance coil according to a preset Frequency (for example, a Radio Frequency signal is sent every 200 ms), and when the resonant Frequency of the Radio Frequency signal sent by the swept-Frequency oscillator is the same as the preset resonant Frequency in the transponder, the swept-Frequency oscillator receives a target data signal sent in the transponder, obtains target data, and thereby completes wireless acquisition of the target data.
Step S304, setting a preset number of acquisition times of the target data.
Specifically, the preset number of times of acquiring the target data may be any value, for example, the preset number of times of acquiring the target data may be set to 4 times.
Step S306, determining the counting duration under the condition that the counted acquisition times reach the preset acquisition times.
Specifically, the statistical duration of the target data obtained for the preset obtaining times may be recorded, for example, the statistical time required for obtaining the target data for 4 times is recorded.
Step S308, under the condition that the statistical duration is less than or equal to the first statistical duration, determining that the current state of the cover body is the cover closing state.
Specifically, the time required for transmitting the target data is different between the cover opening state and the cover closing state, so that the statistical duration for obtaining the target data with the preset acquisition times can be recorded, and the opening and closing state of the cover body of the device can be judged according to the recorded statistical duration, wherein when the statistical duration is less than or equal to the first preset times, the current state of the cover body can be determined to be the cover closing state. For example, the first preset number of times may be 2s, and if the statistical duration is 1s, it may be determined that the current state of the cover body is the cover closing state.
And step S310, determining that the current state of the cover body is the uncovering state under the condition that the statistical time length is greater than or equal to the second statistical time length.
Specifically, when the counted time length is greater than or equal to the second preset number of times, it may be determined that the current state of the cover body is the uncovering state. For example, the second preset number of times may be 6s, and when the statistical duration is 7s, it may be determined that the current state of the lid is the uncapped state.
In step S312, when the statistical duration is smaller than the second statistical duration and greater than the first statistical duration, it is determined that the current state of the cover is the same as the state determined in the previous statistical duration.
Specifically, the current state of the cover body may be determined to be the same as the state determined in the previous statistical time period when the statistical time period is less than the second preset number of times and greater than the first preset number of times. For example, the first preset number of times may be 2s, the second preset number of times may be 6s, and when the statistical duration is 5s, it may be determined that the current state of the lid is the same as the state determined within the previous statistical duration, for example, if the state determined within the previous statistical duration is the lid opening, the current state of the lid determined within the current statistical period is the lid opening.
According to the method for judging the equipment state provided by the embodiment of the application, target data sent by a first wireless module is obtained through a second wireless module, wherein the second wireless module is arranged on a main body of target equipment, and the first wireless module is arranged on a cover body of the target equipment; setting preset acquisition times of target data; determining the statistical duration under the condition that the statistical acquisition times reach the preset acquisition times; determining the current state of the cover body as a cover closing state under the condition that the statistical time length is less than or equal to the first statistical time length; determining that the current state of the cover body is an uncovering state under the condition that the statistical time length is greater than or equal to the second statistical time length; and when the statistical duration is less than the second statistical duration and greater than the first statistical duration, determining that the current state of the cover body is the same as the state determined in the last statistical duration. The problem of need set up complicated lid detection mechanism that opens and shuts and detect cooking equipment lid state among the prior art to inaccurate to the testing result of cooking equipment lid state is solved. Through judging the number of times of receiving signals and judging the time two kinds of modes required by receiving the signals of the preset number of times in the preset time, the modification of the opening and closing judgment threshold value of the cover body of the cooking equipment is timely carried out under the condition of being influenced by the temperature, and the cover body state of the cooking equipment can be conveniently and accurately detected.
Optionally, in the method for determining a device status provided in the embodiment of the present application, the setting of the preset number of acquisition times of the target data includes: acquiring temperature data of target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different; when the temperature range corresponding to the temperature data is a first temperature range, determining the first acquisition times as preset acquisition times; when the temperature range corresponding to the temperature data is a second temperature range, determining the second acquisition times as preset acquisition times, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, and the second acquisition times are smaller than the first acquisition times; and when the temperature range corresponding to the temperature data is a third temperature range, determining a third acquisition frequency as a preset acquisition frequency, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the third acquisition frequency is less than the first acquisition frequency, and the second acquisition frequency is different from the third acquisition frequency.
Specifically, the resonant capacitance of the resonant circuit may change under different temperatures, which may cause a change in the passing frequency and a difference in the chip sweep time, so that the number of target data acquired within the statistical duration may change due to the temperature, which may cause an error in determining the open/close state of the target device. Therefore, the statistical time needs to be correspondingly adjusted according to different temperatures, so that the error judgment of the cover opening and closing state of the target equipment caused by detection errors caused by temperature factors is eliminated.
For example, the first temperature range may be a normal temperature environment, the temperature range may be set to-5 ℃ to 70 ℃, the second temperature range may be a high temperature environment, the temperature range may be greater than 75 ℃, the third temperature range may be a low temperature environment, the temperature range may be less than-5 ℃, in the normal temperature environment, the first acquisition number may be set to 4, and 4 may be determined to be the preset acquisition number, in the high temperature environment, the second acquisition number may be set to 2, and 2 may be determined to be the preset acquisition number, in the low temperature environment, the third acquisition number may be set to 3, and 3 may be determined to be the preset acquisition number.
It should be noted that when the temperature is at the critical value of the two temperature environments, the current environment needs to be determined as the abnormal temperature environment, and meanwhile, the statistical duration is correspondingly adjusted, for example, when the current temperature is-5 ℃, it is determined that the current state is a low temperature state, at this time, the third obtaining frequency needs to be set to 3 times, and 3 needs to be determined as the preset obtaining frequency; under the condition that the current temperature is 70 ℃, the current state is judged to be a high-temperature state, at this moment, the second acquisition times are required to be set to 2 times, and 2 is determined as the preset acquisition times, and the effect of avoiding the temperature from influencing the state judgment accuracy of the cover body of the equipment is achieved by adjusting the preset values at different temperatures in the embodiment.
Optionally, in the method for determining a device state provided in this embodiment of the present application, when the statistical duration is less than or equal to the first statistical duration, before determining that the current state of the cover is the cover closing state, the method further includes: acquiring temperature data of target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different; when the temperature range corresponding to the temperature data is a first temperature range, acquiring a first statistical time length and a second statistical time length determined in the first temperature range; when the temperature range corresponding to the temperature data is a second temperature range, acquiring a first statistical time length and a second statistical time length determined in the second temperature range, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, the first statistical time length determined in the second temperature range is longer than the first statistical time length determined in the first temperature range, and the second statistical time length determined in the second temperature range is longer than the second statistical time length determined in the first temperature range; and when the temperature range corresponding to the temperature data is a third temperature range, acquiring a first statistical duration and a second statistical duration determined in the third temperature range, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the first statistical duration determined in the third temperature range is longer than the first statistical duration determined in the first temperature range, and the second statistical duration determined in the third temperature range is longer than the second statistical duration determined in the first temperature range.
Specifically, since the resonant capacitance of the resonant circuit changes under different temperatures, which may cause a change in the passing frequency, and the chip sweep times are different, the number of target data obtained within the statistical duration may change due to the temperature, which may cause an error in determining the state of the cover of the target device. Therefore, the first preset times and the second preset times in each temperature environment need to be adjusted correspondingly according to different temperatures, so that the condition that the cover opening and closing state of the target device is judged by mistake due to detection errors caused by temperature factors is eliminated.
For example, in the case of a normal temperature environment, the first statistical duration may be set to 2s, and the second statistical duration may be set to 6 s; in a high-temperature environment, the first statistical duration may be set to 3s, and the second statistical duration may be set to 7 s; in a low-temperature environment, the first statistical duration may be set to 3s, and the second statistical duration may be set to 8 s.
It should be noted that when the temperature is at the critical value of the two temperature environments, the current environment needs to be determined as the abnormal temperature environment, and the statistical duration is adjusted accordingly, for example, when the current temperature is-5 ℃, it is determined that the current state is a low temperature state, at this time, the first statistical duration needs to be set to 3s, and the second statistical duration needs to be set to 8 s; and under the condition that the current temperature is 70 ℃, judging that the current state is a high-temperature state, wherein the first statistical time length needs to be set to be 3s, and the second statistical time length needs to be set to be 7 s.
Optionally, when the preset number of times of acquisition is one, and when the number of times of acquisition is counted to reach the preset number of times of acquisition, determining the counted duration includes: and under the condition that the second wireless module receives a frame of target data, determining a time interval between the receiving time of the current frame of target data and the receiving time of the previous frame of target data, and determining the obtained time interval as the statistical duration.
Specifically, when the preset number of times is set to one time, when the target data is received, the time interval between the receiving time of the target data of the current frame and the receiving time of the target data of the previous frame may be determined as the statistical duration, and the opening and closing state of the cover body of the device may be determined according to the statistical duration.
Optionally, in the method for determining a device status provided in this embodiment of the present application, when the preset number of times of acquisition is greater than or equal to two times, and when it is counted that the number of times of acquisition reaches the preset number of times of acquisition, determining a counted duration includes: under the condition that the second wireless module receives a frame of target data, determining a time interval between the receiving time of the current frame of target data and the receiving time of the previous frame of target data; and under the condition that the time interval is smaller than the preset time interval, determining that the acquisition times of the target data are unchanged, under the condition that the time interval is larger than or equal to the preset time interval, determining that the acquisition times of the target data are increased by one until the acquisition times of the target data reach the preset acquisition times, and outputting the statistical duration corresponding to the preset acquisition times.
Specifically, when a certain frame of target data is received, the time interval between the receiving time of the current frame of target data and the receiving time of the previous frame of target data can be determined, whether the current frame of target data is the target data which is normally transmitted and received is judged through the time interval, and abnormal target data is not recorded, so that the influence of noise generated due to signal interference and the like on the counted target data is prevented, and the wrong judgment on the cover opening and closing state of the target equipment is avoided.
For example, the preset time interval may be 0.25s, when current frame target data is obtained, the current record includes target data for 3 times, when the time interval between the receiving time of the current frame target data and the receiving time of the previous frame target data is 0.3s, it is determined that the current frame target data is abnormal target data at this time, and then the target data is not recorded, and at this time, although the target data has been received for 4 times, only frame number records corresponding to the target data for 3 times are still included in the current record; under the condition that the time interval between the receiving time of the current frame target data and the receiving time of the previous frame target data is 0.05s, if the current frame target data is an effective frame, recording the current frame target data, wherein the current record comprises frame number records corresponding to 4 times of target data, and acquiring the frame number of the current record under the condition of reaching the statistical duration.
Fig. 4 is a flowchart of another alternative device status determination method according to an embodiment of the present application. As shown in fig. 4, where the first obtaining number is 4, the second obtaining number is 2, and the third obtaining number is 3, in the case of a normal temperature environment, the first statistical duration may be set to be 2s, and the second statistical duration may be set to be 6 s; in a high-temperature environment, the first statistical duration may be set to 3s, and the second statistical duration may be set to 7 s; in a low-temperature environment, the first statistical time period may be set to 3s, and the second statistical time period may be set to 8 s.
The target device starts to work, and the initial cover body state of the current target device can be set to be the cover closing state. The swept-frequency oscillator starts to operate, and may transmit a radio frequency signal to the transponder at a preset frequency (e.g., data is transmitted every 200 ms), and receive target data when the resonant frequency of the radio frequency signal is the same as the resonant frequency of the transponder, where the target data may be target temperature data. And after acquiring the target temperature data, the controller judges whether the target temperature data is in the range of-5-70 ℃.
When the target temperature data is in the range of-5 ℃ to 70 ℃, judging that the target equipment is in a normal temperature environment, starting timing, stopping timing when the acquisition of the target data is completed for 4 times is recorded, confirming the time required for completing the acquisition of the target data for 4 times, judging that the current state of the equipment is the cover opening under the condition that the acquisition time is more than or equal to 6s, judging that the current state of the equipment is the cover closing under the condition that the acquisition time is less than or equal to 2s, and judging that the current state of the equipment is the same as the state of the previous period and is the cover closing under the condition that the acquisition time is more than 2s and less than 6 s.
When the target temperature data is more than 70 ℃, judging that the target equipment is in a high-temperature environment, starting timing, stopping timing when the acquisition of the target data is finished for 2 times is recorded, confirming the time required for finishing the acquisition of the target data for 2 times, judging that the current state of the equipment is the cover opening under the condition that the acquisition time is more than or equal to 7s, judging that the current state of the equipment is the cover closing under the condition that the acquisition time is less than or equal to 3s, and judging that the current state of the equipment is the same as the state of the previous period and is the cover closing under the condition that the acquisition time is more than 3s and less than 7 s.
When the target temperature data is less than-5 ℃, judging that the target equipment is in a low-temperature environment, starting timing, stopping timing when the acquisition of the target data is completed for 3 times is recorded, confirming the time required by the acquisition of the target data for 3 times, judging that the current state of the equipment is the cover opening under the condition that the acquisition time is more than or equal to 8s, judging that the current state of the equipment is the cover closing under the condition that the acquisition time is less than or equal to 3s, and judging that the current state of the equipment is the same as the state of the previous period and is the cover closing under the condition that the acquisition time is more than 3s and less than 8 s.
Fig. 5 is a schematic diagram of a system for determining a device status according to an embodiment of the present application. As shown in fig. 5, the system includes:
And the temperature detection device 51 is arranged on a cover body of the target equipment, and is used for detecting the temperature in the target equipment, obtaining temperature data and sending the temperature data to the first wireless module, wherein the target equipment comprises a cover body and a main body, and the cover body is used for sealing an opening of an accommodating cavity of the main body.
Specifically, the Temperature detecting means 51 may be a Temperature sensor, for example, an NTC (Negative Temperature Coefficient) Temperature sensor, the target device may be a cooking device, for example, a rice steaming machine, the Temperature sensor is installed inside an upper cover of the rice steaming machine, and the Temperature detecting means may detect the Temperature of an upper space inside the rice steaming machine when the rice steaming machine performs a rice steaming task and transmit Temperature data to the first wireless module 52.
And the first wireless module 52 is arranged on the cover body, connected with the temperature detection device, and used for receiving the temperature data sent by the temperature detection device and sending the temperature data to the second wireless module.
Specifically, the first wireless module 52 may be a transponder whose resonant frequency is a preset fixed value, may be connected to the temperature detection device 51 through a wire, and is mounted on the cover of the target device. The first wireless module 52 may acquire and store the target temperature data transmitted by the temperature detection device 51, and transmit the target temperature data to wait for the second wireless module 53 to receive.
And a second wireless module 53 disposed on the main body, for receiving the temperature data transmitted by the first wireless module and transmitting the temperature data to the controller.
Specifically, the second wireless module 53 may be a swept-frequency oscillator and is mounted on the main body of the target device. The Frequency sweep oscillator and the transponder can communicate by adopting a Radio Frequency Identification (RFID) technology, the Frequency sweep oscillator can transmit a Radio Frequency signal with a Frequency within a certain range to the reader through the inductance coil according to a preset Frequency (for example, a Radio Frequency signal is transmitted every 200 ms), and when the resonant Frequency of the transmitted Radio Frequency signal is the same as the preset resonant Frequency in the transponder, the Frequency sweep oscillator receives a target temperature data signal transmitted in the transponder to obtain target temperature data, and transmits the temperature data to the controller 54, thereby completing the wireless transmission of the temperature data.
And the controller 54 is connected with the second wireless module and is used for receiving the temperature data sent by the second wireless module and judging the opening and closing state of the cover body according to the sending frequency of the temperature data.
Specifically, the controller 54 may be a main control chip for determining the opening and closing of the cover of the target device, and is connected to the second wireless module 53 and installed on the main body of the target device. Since the target device cover body receives the target temperature data at different frequencies in the two states of opening and closing at different temperatures, the controller 54 can determine the opening and closing conditions of the device by the frequency of transmitting the target temperature data with the second wireless module 53, thereby improving the accuracy of the opening and closing condition determination.
The system for judging the state of the device provided by the embodiment of the application is arranged on a cover body of a target device through a temperature detection device 51, and is used for detecting the temperature in the target device, obtaining temperature data, and sending the temperature data to a first wireless module, wherein the target device comprises the cover body and a main body, and the cover body is used for sealing an opening of an accommodating cavity of the main body; the first wireless module 52 is arranged on the cover body, connected with the temperature detection device, and used for receiving the temperature data sent by the temperature detection device and sending the temperature data to the second wireless module; the second wireless module 53 is arranged on the main body and used for receiving the temperature data sent by the first wireless module and sending the temperature data to the controller; and the controller 54 is connected with the second wireless module and is used for receiving the temperature data sent by the second wireless module and judging the opening and closing state of the cover body according to the sending frequency of the temperature data. The problem of need set up complicated lid detection mechanism that opens and shuts and detect cooking equipment lid state among the prior art to inaccurate to the testing result of cooking equipment lid state is solved. Through judging the number of times of receiving signals and judging the time two kinds of modes required by receiving the signals of the preset number of times in the preset time, the modification of the opening and closing judgment threshold value of the cover body of the cooking equipment is timely carried out under the condition of being influenced by the temperature, and the cover body state of the cooking equipment can be conveniently and accurately detected.
Optionally, the second wireless module is further configured to transmit a signal with a preset resonant frequency to the first wireless module to obtain the temperature data sent by the first wireless module, adjust the resonant frequency of the sent signal under the condition that the resonant frequency of the first wireless module is different from the preset resonant frequency, and obtain the temperature data sent by the first wireless module under the condition that the resonant frequency of the adjusted signal is the same as the resonant frequency of the first wireless module, so that the effect of accurately obtaining the target temperature data sent by the first wireless module is achieved.
Specifically, the second wireless module 53 may be a swept-frequency oscillator and is mounted on the main body of the target device. The Frequency sweep oscillator and the transponder can communicate by adopting a Radio Frequency Identification (RFID) technology, the Frequency sweep oscillator can transmit a Radio Frequency signal with a Frequency within a certain range to the reader through the inductance coil according to a preset Frequency (for example, a Radio Frequency signal is transmitted every 200 ms), and when the resonant Frequency of the transmitted Radio Frequency signal is the same as the preset resonant Frequency in the transponder, the Frequency sweep oscillator receives a target temperature data signal transmitted in the transponder to obtain target temperature data, and transmits the temperature data to the controller 54, thereby completing the wireless transmission of the temperature data.
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.
The embodiment of the present application further provides a device for determining a device state, and it should be noted that the device for determining a device state of the embodiment of the present application may be used to execute the method for determining a device state provided in the embodiment of the present application. The following describes an apparatus for determining a device status according to an embodiment of the present application.
Fig. 6 is a schematic diagram of an apparatus for determining a device status according to an embodiment of the present application. As shown in fig. 6, the apparatus includes: a first acquiring unit 61, a counting unit 62, a first determining unit 63, a second determining unit 64, and a third determining unit 65.
The first obtaining unit 61 is configured to obtain target data sent by a first wireless module through a second wireless module, where the second wireless module is disposed on a main body of the target device, and the first wireless module is disposed on a cover of the target device.
The statistical unit 62 is configured to set a statistical duration, and count the number of times of acquiring the target data within the statistical duration.
The first determining unit 63 is configured to determine that the current state of the cover body is the cover closing state when the number of times of obtaining the target data in the statistical duration is greater than or equal to a first preset number of times.
The second determining unit 64 is configured to determine that the current state of the cover body is the uncovering state when the number of times of acquiring the target data within the statistical duration is smaller than or equal to a second preset number of times, where the second preset number of times is smaller than the first preset number of times.
The third determining unit 65 is configured to determine that the current state of the cover is the same as the state determined in the previous statistical duration when the number of times of obtaining the target data in the statistical duration is smaller than the first preset number of times and larger than the second preset number of times.
The device for determining the device status provided in the embodiment of the present application is configured to, through a first obtaining unit 61, obtain target data sent by a first wireless module through a second wireless module, where the second wireless module is disposed on a main body of a target device, and the first wireless module is disposed on a cover of the target device; a counting unit 62, configured to set a counting duration, and count the number of times of acquiring the target data within the counting duration; the first determining unit 63 is configured to determine that the current state of the cover body is the cover closing state when the number of times of acquiring the target data within the statistical duration is greater than or equal to a first preset number of times; the second determining unit 64 is configured to determine that the current state of the lid body is an uncapped state when the number of times of acquiring the target data within the statistical duration is less than or equal to a second preset number of times, where the second preset number of times is less than the first preset number of times; the third determining unit 65 is configured to determine that the current state of the cover is the same as the state determined in the previous statistical duration when the number of times of obtaining the target data in the statistical duration is smaller than the first preset number of times and larger than the second preset number of times. The problem of need set up complicated lid detection mechanism that opens and shuts and detect cooking equipment lid state among the prior art to inaccurate to the testing result of cooking equipment lid state is solved. Through judging the number of times of receiving signals and judging the time two kinds of modes required by receiving the signals of the preset number of times in the preset time, the modification of the opening and closing judgment threshold value of the cover body of the cooking equipment is timely carried out under the condition of being influenced by the temperature, and the cover body state of the cooking equipment can be conveniently and accurately detected.
Optionally, in the apparatus for determining a device status provided in the embodiment of the present application, the statistical unit 62 includes: the first acquisition module is used for acquiring temperature data of target equipment and determining a temperature range corresponding to the temperature data, wherein the frequencies of the second wireless module for acquiring the target data are different at different temperatures; the first determining module is used for determining the first time length as the statistical time length when the temperature range corresponding to the temperature data is the first temperature range; the second determining module is used for determining a second time length as a statistical time length when the temperature range corresponding to the temperature data is a second temperature range, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, and the second time length is greater than the first time length; and the third determining module is used for determining a third time length as the statistical time length when the temperature range corresponding to the temperature data is a third temperature range, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the third time length is greater than the first time length, and the second time length is different from the third time length.
Optionally, in the apparatus for determining a device state provided in this embodiment of the present application, the apparatus further includes: the second acquisition unit is used for acquiring temperature data of the target equipment and determining a temperature range corresponding to the temperature data, wherein the frequencies of the second wireless module for acquiring the target data at different temperatures are different; the third acquiring unit is used for acquiring the first preset times and the second preset times determined in the first temperature range when the temperature range corresponding to the temperature data is the first temperature range; a fourth obtaining unit, configured to obtain a first preset number of times and a second preset number of times that are determined within a second temperature range when the temperature range corresponding to the temperature data is the second temperature range, where a lower limit of the second temperature range is equal to an upper limit of the first temperature range, the first preset number of times that is determined within the second temperature range is smaller than the first preset number of times that is determined within the first temperature range, and the second preset number of times that is determined within the second temperature range is smaller than the second preset number of times that is determined within the first temperature range; and the fifth obtaining unit is used for obtaining a first preset number of times and a second preset number of times determined in a third temperature range when the temperature range corresponding to the temperature data is the third temperature range, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the first preset number of times determined in the third temperature range is smaller than the first preset number of times determined in the first temperature range, and the second preset number of times determined in the third temperature range is smaller than the second preset number of times determined in the first temperature range.
Optionally, in the apparatus for determining a device status provided in this embodiment of the present application, the statistical unit 62 includes: a fourth determining module, configured to determine, when the second wireless module receives a frame of target data, a time interval between a receiving time of a current frame of target data and a receiving time of a previous frame of target data; and the fifth determining module is used for determining that the acquisition times of the target data in the statistical time length are unchanged under the condition that the time interval is smaller than the preset time interval, and determining that the acquisition times of the target data in the statistical time length are increased by one under the condition that the time interval is larger than or equal to the preset time interval until the statistical time length is reached, and outputting the acquisition times of the target data.
Fig. 7 is a schematic diagram of another device status determination apparatus according to an embodiment of the present application. As shown in fig. 7, the apparatus includes: a sixth acquiring unit 71, a setting unit 72, a fourth determining unit 73, a fifth determining unit 74, a sixth determining unit 75, and a seventh determining unit 76.
A sixth acquiring unit 71, configured to acquire the target data sent by the first wireless module through the second wireless module, where the second wireless module is disposed on the main body of the target device, and the first wireless module is disposed on the cover of the target device.
A setting unit 72 for setting a preset number of acquisition times of the target data.
A fourth determining unit 73, configured to determine the statistical time length when the number of times of acquisition reaches the preset number of times of acquisition is counted.
A fifth determining unit 74, configured to determine that the current state of the cover body is the cover closing state when the statistical duration is less than or equal to the first statistical duration.
The sixth determining unit 75 is configured to determine that the current state of the lid is the uncapping state when the counted time length is greater than or equal to the second counted time length.
A seventh determining unit 76, configured to determine that the current state of the cover is the same as the state determined in the last statistical length when the statistical length is smaller than the second statistical length and larger than the first statistical length.
The device for determining the device status provided in the embodiment of the present application, through the sixth obtaining unit 71, is configured to obtain, through the second wireless module, the target data sent by the first wireless module, where the second wireless module is disposed on the main body of the target device, and the first wireless module is disposed on the cover body of the target device; a setting unit 72 for setting a preset number of acquisition times of the target data; a fourth determining unit 73, configured to determine a statistical duration when the number of acquisition times reaches a preset number of acquisition times; a fifth determining unit 74, configured to determine that the current state of the lid is the lid closing state when the statistical duration is less than or equal to the first statistical duration; a sixth determining unit 75, configured to determine that the current state of the lid is an uncapped state when the counted time length is greater than or equal to the second counted time length; a seventh determining unit 76, configured to determine that the current state of the cover is the same as the state determined in the last statistical length when the statistical length is smaller than the second statistical length and larger than the first statistical length. The problem of need set up complicated lid detection mechanism that opens and shuts and detect cooking equipment lid state among the prior art to inaccurate to the testing result of cooking equipment lid state is solved. Through judging the number of times of receiving signals and judging the time two kinds of modes required by receiving the signals of the preset number of times in the preset time, the modification of the opening and closing judgment threshold value of the cover body of the cooking equipment is timely carried out under the condition of being influenced by the temperature, and the cover body state of the cooking equipment can be conveniently and accurately detected.
Optionally, in the apparatus for determining a device status provided in the embodiment of the present application, the setting unit 72 includes: the second acquisition module is used for acquiring temperature data of the target equipment and determining a temperature range corresponding to the temperature data, wherein the frequencies of acquiring the target data by the second wireless module at different temperatures are different; the sixth determining module is used for determining the first obtaining times as the preset obtaining times when the temperature range corresponding to the temperature data is the first temperature range; the seventh determining module is configured to determine a second obtaining time as a preset obtaining time when the temperature range corresponding to the temperature data is a second temperature range, where a lower limit of the second temperature range is equal to an upper limit of the first temperature range, and the second obtaining time is smaller than the first obtaining time; and the eighth determining module is configured to determine the third obtaining times as preset obtaining times when the temperature range corresponding to the temperature data is a third temperature range, where an upper limit of the third temperature range is equal to a lower limit of the first temperature range, the third obtaining times are smaller than the first obtaining times, and the second obtaining times are different from the third obtaining times.
Optionally, in the apparatus for determining a device status provided in this embodiment of the present application, the apparatus further includes: the seventh acquiring unit is used for acquiring temperature data of the target equipment and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different; the eighth acquiring unit is used for acquiring the first statistical time length and the second statistical time length determined in the first temperature range when the temperature range corresponding to the temperature data is the first temperature range; a ninth obtaining unit, configured to obtain a first statistical duration and a second statistical duration determined in a second temperature range when the temperature range corresponding to the temperature data is the second temperature range, where a lower limit of the second temperature range is equal to an upper limit of the first temperature range, the first statistical duration determined in the second temperature range is longer than the first statistical duration determined in the first temperature range, and the second statistical duration determined in the second temperature range is longer than the second statistical duration determined in the first temperature range; a tenth obtaining unit, configured to obtain, when a temperature range corresponding to the temperature data is a third temperature range, a first statistical duration and a second statistical duration determined in the third temperature range, where an upper limit of the third temperature range is equal to a lower limit of the first temperature range, the first statistical duration determined in the third temperature range is longer than the first statistical duration determined in the first temperature range, and the second statistical duration determined in the third temperature range is longer than the second statistical duration determined in the first temperature range.
Optionally, in the apparatus for determining a device status provided in this embodiment of the application, when the preset number of times of obtaining is one, the fourth determining unit 73 includes: and the ninth determining module is configured to determine, when the second wireless module receives a frame of target data, a time interval between the receiving time of the current frame of target data and the receiving time of the previous frame of target data, and determine the obtained time interval as a statistical duration.
Optionally, in the apparatus for determining a device status provided in this embodiment of the application, when the preset number of times of obtaining is greater than or equal to two times, the fourth determining unit 73 includes: a tenth determining module, configured to determine, when the second wireless module receives a frame of target data, a time interval between a receiving time of a current frame of target data and a receiving time of a previous frame of target data; and the eleventh determining module is used for determining that the acquisition times of the target data are unchanged when the time interval is smaller than the preset time interval, and determining that the acquisition times of the target data are increased by one when the time interval is greater than or equal to the preset time interval until the acquisition times of the target data reach the preset acquisition times, and outputting the statistical duration corresponding to the preset acquisition times.
The device for determining the device status includes a processor and a memory, and the first acquiring unit 61, the statistical unit 62, the first determining unit 63, the second determining unit 64, the third determining unit 65, the sixth acquiring unit 71, the setting unit 72, the fourth determining unit 73, the fifth determining unit 74, the sixth determining unit 75, the seventh determining unit 76, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The inner core can be set to be one or more than one, and the problems that a complex cover opening and closing detection mechanism needs to be set to detect the cover body state of the cooking equipment and the detection result of the cover body state of the cooking equipment is inaccurate in the related art are solved by adjusting the inner core 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.
The embodiment of the application further provides a computer storage medium, and the computer storage medium is used for storing the program, wherein when the program runs, the device where the computer storage medium is located is controlled to execute the method for judging the device state.
The embodiment of the application also provides an electronic device, which comprises a processor and a memory; the memory stores computer readable instructions, and the processor is used for executing the computer readable instructions, wherein the computer readable instructions execute a method for judging the state of the equipment when running. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of 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). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (13)

1. A method for judging the state of equipment is characterized by comprising the following steps:
acquiring target data sent by a first wireless module through a second wireless module, wherein the second wireless module is arranged on a main body of target equipment, and the first wireless module is arranged on a cover body of the target equipment;
setting a statistical time length, and counting the acquisition times of the target data in the statistical time length;
when the acquisition times of the target data in the counting duration are greater than or equal to a first preset time, determining that the current state of the cover body is a cover closing state;
when the acquisition times of the target data in the counting duration are less than or equal to a second preset time, determining that the current state of the cover body is an uncovering state, wherein the second preset time is less than the first preset time;
and when the acquisition times of the target data in the statistical time length are smaller than the first preset times and larger than the second preset times, determining that the current state of the cover body is the same as the state determined in the last statistical time length.
2. The method of claim 1, wherein setting a statistical duration comprises:
acquiring temperature data of the target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different;
when the temperature range corresponding to the temperature data is a first temperature range, determining a first time length as the statistical time length;
when the temperature range corresponding to the temperature data is a second temperature range, determining a second time length as the statistical time length, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, and the second time length is longer than the first time length;
and when the temperature range corresponding to the temperature data is a third temperature range, determining a third time length as the statistical time length, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the third time length is longer than the first time length, and the second time length is different from the third time length.
3. The method according to claim 1, wherein when the number of times of obtaining the target data within the statistical duration is greater than or equal to a first preset number of times, before determining that the current state of the cover body is the cover closing state, the method further comprises:
Acquiring temperature data of the target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different;
when the temperature range corresponding to the temperature data is a first temperature range, acquiring the first preset times and the second preset times determined in the first temperature range;
when the temperature range corresponding to the temperature data is a second temperature range, acquiring the first preset times and the second preset times determined in the second temperature range, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, the first preset times determined in the second temperature range are smaller than the first preset times determined in the first temperature range, and the second preset times determined in the second temperature range are smaller than the second preset times determined in the first temperature range;
when the temperature range corresponding to the temperature data is a third temperature range, acquiring the first preset times and the second preset times determined in the third temperature range, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the first preset times determined in the third temperature range is smaller than the first preset times determined in the first temperature range, and the second preset times determined in the third temperature range is smaller than the second preset times determined in the first temperature range.
4. The method of claim 1, wherein counting the number of times the target data is acquired within the statistical duration comprises:
under the condition that the second wireless module receives a frame of the target data, determining a time interval between the receiving time of the target data of the current frame and the receiving time of the target data of the previous frame;
and under the condition that the time interval is smaller than a preset time interval, determining that the acquisition times of the target data in the statistical time length are unchanged, under the condition that the time interval is larger than or equal to the preset time interval, determining that the acquisition times of the target data in the statistical time length are increased by one until the statistical time length is reached, and outputting the acquisition times of the target data.
5. A method for judging the state of equipment is characterized by comprising the following steps:
acquiring target data sent by a first wireless module through a second wireless module, wherein the second wireless module is arranged on a main body of target equipment, and the first wireless module is arranged on a cover body of the target equipment;
setting preset acquisition times of the target data;
determining the statistical duration under the condition that the obtained times reach the preset obtained times through statistics;
Determining that the current state of the cover body is a cover closing state under the condition that the statistical time length is less than or equal to a first statistical time length;
determining that the current state of the cover body is an uncovering state under the condition that the statistical time length is greater than or equal to a second statistical time length, wherein the second statistical time length is greater than the first statistical time length;
and when the statistical duration is smaller than the second statistical duration and larger than the first statistical duration, determining that the current state of the cover body is the same as the state determined in the last statistical duration.
6. The method of claim 5, wherein setting the preset number of acquisition times of the target data comprises:
acquiring temperature data of the target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different;
when the temperature range corresponding to the temperature data is a first temperature range, determining the first acquisition times as the preset acquisition times;
when the temperature range corresponding to the temperature data is a second temperature range, determining a second acquisition frequency as the preset acquisition frequency, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, and the second acquisition frequency is smaller than the first acquisition frequency;
And when the temperature range corresponding to the temperature data is a third temperature range, determining a third acquisition frequency as the preset acquisition frequency, wherein the upper limit of the third temperature range is equal to the lower limit of the first temperature range, the third acquisition frequency is smaller than the first acquisition frequency, and the second acquisition frequency is different from the third acquisition frequency.
7. The method according to claim 5, wherein before determining that the current state of the cover is the closed state when the statistical duration is less than or equal to a first statistical duration, the method further comprises:
acquiring temperature data of the target equipment, and determining a temperature range corresponding to the temperature data, wherein the frequencies of the target data acquired by the second wireless module at different temperatures are different;
when the temperature range corresponding to the temperature data is a first temperature range, acquiring the first statistical time length and the second statistical time length determined in the first temperature range;
when the temperature range corresponding to the temperature data is a second temperature range, acquiring the first statistical duration and the second statistical duration determined in the second temperature range, wherein the lower limit of the second temperature range is equal to the upper limit of the first temperature range, the first statistical duration determined in the second temperature range is longer than the first statistical duration determined in the first temperature range, and the second statistical duration determined in the second temperature range is longer than the second statistical duration determined in the first temperature range;
When the temperature range corresponding to the temperature data is a third temperature range, obtaining the first statistical duration and the second statistical duration determined in the third temperature range, wherein an upper limit of the third temperature range is equal to a lower limit of the first temperature range, the first statistical duration determined in the third temperature range is longer than the first statistical duration determined in the first temperature range, and the second statistical duration determined in the third temperature range is longer than the second statistical duration determined in the first temperature range.
8. The method according to claim 5, wherein in a case where the preset number of times of acquisition is one, and in a case where the number of times of acquisition is counted to reach the preset number of times of acquisition, determining a counted duration includes:
and under the condition that the second wireless module receives a frame of the target data, determining a time interval between the receiving time of the target data of the current frame and the receiving time of the target data of the previous frame, and determining the obtained time interval as the statistical duration.
9. The method according to claim 5, wherein in a case that the preset number of times of acquisition is greater than or equal to two times, and in a case that the number of times of acquisition reaches the preset number of times of acquisition in a statistical manner, determining a statistical duration comprises:
Under the condition that the second wireless module receives a frame of the target data, determining a time interval between the receiving time of the target data of the current frame and the receiving time of the target data of the previous frame;
and under the condition that the time interval is smaller than a preset time interval, determining that the acquisition times of the target data are unchanged, under the condition that the time interval is greater than or equal to the preset time interval, determining that the acquisition times of the target data are increased by one until the acquisition times of the target data reach the preset acquisition times, and outputting the statistical duration corresponding to the preset acquisition times.
10. A system for determining a status of a device, comprising:
the temperature detection device is arranged on a cover body of target equipment and used for detecting the temperature in the target equipment to obtain temperature data and sending the temperature data to the first wireless module, wherein the target equipment comprises the cover body and a main body, and the cover body is used for sealing an opening of an accommodating cavity of the main body;
the first wireless module is arranged on the cover body, is connected with the temperature detection device, and is used for receiving the temperature data sent by the temperature detection device and sending the temperature data to the second wireless module;
The second wireless module is arranged on the main body and used for receiving the temperature data sent by the first wireless module and sending the temperature data to the controller;
the controller is connected with the second wireless module and used for receiving the temperature data sent by the second wireless module and judging the opening and closing state of the cover body according to the sending frequency of the temperature data.
11. The system of claim 10, wherein the second wireless module is further configured to transmit a signal with a preset resonant frequency to the first wireless module to obtain the temperature data transmitted by the first wireless module, adjust the resonant frequency of the transmitted signal if the resonant frequency of the first wireless module is different from the preset resonant frequency, and obtain the temperature data transmitted by the first wireless module if the resonant frequency of the adjusted signal is the same as the resonant frequency of the first wireless module.
12. A non-volatile storage medium, wherein the non-volatile storage medium is used for storing a program, and when the program runs, the program controls a device in which the non-volatile storage medium is located to execute the method for determining the device status according to any one of claims 1 to 4, or execute the method for determining the device status according to any one of claims 5 to 9.
13. An electronic device, comprising a processor and a memory, wherein the memory stores computer readable instructions, and the processor is configured to execute the computer readable instructions, wherein the computer readable instructions execute the method for determining the status of the device according to any one of claims 1 to 4, or the method for determining the status of the device according to any one of claims 5 to 9.
CN202111679962.0A 2021-12-31 2021-12-31 Method and system for judging equipment state, storage medium and electronic device Active CN114747948B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111679962.0A CN114747948B (en) 2021-12-31 2021-12-31 Method and system for judging equipment state, storage medium and electronic device
PCT/IB2022/055477 WO2023126694A1 (en) 2021-12-31 2022-06-14 A device state determination method, system, storage medium, and electronic means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111679962.0A CN114747948B (en) 2021-12-31 2021-12-31 Method and system for judging equipment state, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN114747948A true CN114747948A (en) 2022-07-15
CN114747948B CN114747948B (en) 2023-10-03

Family

ID=82325466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111679962.0A Active CN114747948B (en) 2021-12-31 2021-12-31 Method and system for judging equipment state, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN114747948B (en)
WO (1) WO2023126694A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201153209Y (en) * 2007-12-29 2008-11-19 *** Safety control apparatus for split type household appliance and split type household appliance using the same
CN106308466A (en) * 2015-07-03 2017-01-11 佛山市顺德区美的电热电器制造有限公司 Method for recognizing cooking type of electric cooker and electric cooker
CN209235764U (en) * 2018-11-06 2019-08-13 佛山市顺德区美的电热电器制造有限公司 For the detection device of cooking apparatus folding lid, upper cover, fuselage and cooking apparatus
CN111134525A (en) * 2018-11-06 2020-05-12 佛山市顺德区美的电热电器制造有限公司 Detection method and device for opening and closing cover of cooking appliance and cooking appliance
CN213488331U (en) * 2020-09-23 2021-06-22 佛山市顺德区博一电子科技有限公司 Kitchen appliance non-contact control device and kitchen appliance
CN213581370U (en) * 2020-11-30 2021-06-29 浙江绍兴苏泊尔生活电器有限公司 Pot cover state detection system and cooking utensil

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020191437A1 (en) * 2019-03-25 2020-10-01 Breville Pty Limited Kitchen device
KR20200144846A (en) * 2019-06-19 2020-12-30 삼성전자주식회사 Electronic device for determining location information of external device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201153209Y (en) * 2007-12-29 2008-11-19 *** Safety control apparatus for split type household appliance and split type household appliance using the same
CN106308466A (en) * 2015-07-03 2017-01-11 佛山市顺德区美的电热电器制造有限公司 Method for recognizing cooking type of electric cooker and electric cooker
CN209235764U (en) * 2018-11-06 2019-08-13 佛山市顺德区美的电热电器制造有限公司 For the detection device of cooking apparatus folding lid, upper cover, fuselage and cooking apparatus
CN111134525A (en) * 2018-11-06 2020-05-12 佛山市顺德区美的电热电器制造有限公司 Detection method and device for opening and closing cover of cooking appliance and cooking appliance
CN213488331U (en) * 2020-09-23 2021-06-22 佛山市顺德区博一电子科技有限公司 Kitchen appliance non-contact control device and kitchen appliance
CN213581370U (en) * 2020-11-30 2021-06-29 浙江绍兴苏泊尔生活电器有限公司 Pot cover state detection system and cooking utensil

Also Published As

Publication number Publication date
WO2023126694A1 (en) 2023-07-06
CN114747948B (en) 2023-10-03
WO2023126694A9 (en) 2023-09-07

Similar Documents

Publication Publication Date Title
CN109947079A (en) Region method for detecting abnormality and edge calculations equipment based on edge calculations
CN111710151B (en) Infrared emission intensity detection system, method and device, storage medium and processor
EP3477998A1 (en) Waveform model for detecting waveforms comprising a plurality of pulses
CN114747948B (en) Method and system for judging equipment state, storage medium and electronic device
WO2022089099A1 (en) Article quality assurance status checking method and system
CN114326676B (en) Intrusion detection method and device, storage medium and electronic equipment
EP3100021B1 (en) In-liquid detection
CN111181957B (en) Internet of things equipment security verification method and system and central control equipment
CN107623526B (en) A kind of method and communication terminal adjusting antenna receiving sensitivity
CN109996203A (en) Method, apparatus, electronic equipment and the computer readable storage medium of sensors configured
CN109405867B (en) Sensor detection control method and system for mobile robot
CN116406953A (en) Equipment state judging method and device, storage medium and electronic device
CN114809856A (en) Method and equipment for determining motion state of electric control door during opening and closing
EP3008473B1 (en) Device and method of identification and monitoring of a reagent kit of an analytical system
CN107888457B (en) Port packet loss detection method and device and communication equipment
CN116406952A (en) Equipment state judging method and device, storage medium and electronic device
CN115081562A (en) Method and device for judging equipment state, storage medium and electronic device
CN115242269B (en) Device communication method, device communication apparatus, storage medium, and electronic apparatus
CN111829583A (en) Robot testing method and device
CN112067159A (en) Temperature measuring device
US20200081813A1 (en) Sensor Reliability Determination
US20230033001A1 (en) Method for automatic and sterile-container-specific detection of sterilisation cycles carried out by a sterile container
CN116734782A (en) Cover body position processing method and cover body position processing system
CN112037489B (en) Method and device for detecting out-of-limit alarm function of terminal block temperature, terminal and medium
CN116090482A (en) Label information processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant