CN117500033A - Control method, device, medium and system of temperature sensor for fire disaster early warning - Google Patents

Control method, device, medium and system of temperature sensor for fire disaster early warning Download PDF

Info

Publication number
CN117500033A
CN117500033A CN202311854759.1A CN202311854759A CN117500033A CN 117500033 A CN117500033 A CN 117500033A CN 202311854759 A CN202311854759 A CN 202311854759A CN 117500033 A CN117500033 A CN 117500033A
Authority
CN
China
Prior art keywords
temperature sensor
processing mode
early warning
current
day
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
CN202311854759.1A
Other languages
Chinese (zh)
Other versions
CN117500033B (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311854759.1A priority Critical patent/CN117500033B/en
Publication of CN117500033A publication Critical patent/CN117500033A/en
Application granted granted Critical
Publication of CN117500033B publication Critical patent/CN117500033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Fire Alarms (AREA)
  • Fire-Detection Mechanisms (AREA)

Abstract

The application provides a control method, a device, a medium and a system of a temperature sensor for fire early warning, the method obtains and determines the time of the current shift by calculating the difference between the time of the current shift and the time of the current shift, and takes the time of the current shift as the judgment basis for controlling the temperature sensor for fire early warning, thereby controlling the temperature sensor for fire early warning to enter a dormant state or according to the current weather condition, the acquisition frequency of the temperature sensor for fire early warning at the current moment is correspondingly adjusted, so that the pressure of the temperature sensor for fire early warning is relieved and adjusted, the service life of the temperature sensor for fire early warning is prolonged, the energy consumption is reduced, and the problem that the temperature sensor for fire early warning in the existing scheme always needs to keep in a continuous monitoring state at a higher acquisition frequency, and the higher energy consumption is caused is solved.

Description

Control method, device, medium and system of temperature sensor for fire disaster early warning
Technical Field
The application relates to the technical field of sensors, in particular to a control method, a device, a medium and a system of a temperature sensor for fire early warning.
Background
In conventional sensor technology, the sensor often needs to be kept in a continuously monitored state, resulting in high energy consumption. This is a serious problem for wireless sensor networks that rely on battery power. Therefore, how to reduce energy consumption while maintaining accurate monitoring has been a problem to be solved.
For the fire disaster early warning temperature sensor of the existing scheme, the state of continuous monitoring at a higher acquisition frequency is always required to be kept, so that higher energy consumption is caused.
Disclosure of Invention
The main purpose of the application is to provide a control method, a device, a medium and a system of a temperature sensor for fire early warning, so as to at least solve the problem that the temperature sensor for fire early warning in the existing scheme always needs to keep a continuous monitoring state at a higher acquisition frequency, resulting in higher energy consumption.
In order to achieve the above object, according to one aspect of the present application, there is provided a control method of a temperature sensor for fire early warning, the method comprising: acquiring the time of the user going to work and the time of the user going to home on the same day, and acquiring the outdoor weather condition of the position of a fire early-warning temperature sensor at the current time, wherein the current weather condition is a rainy day or a non-rainy day, and the fire early-warning temperature sensor is arranged in a living place of the user; calculating the difference between the moment of going to home from the work on the same day and the moment of going to the work on the same day, and obtaining and determining the time of going to work on the same day; and executing a first processing mode or a second processing mode according to at least the range of the time length of the day on duty, wherein the first processing mode is to control the temperature sensor for fire early warning to enter a dormant state and wake up the temperature sensor for fire early warning after a preset time, and the second processing mode is to adjust the acquisition frequency of the temperature sensor for fire early warning at the current moment to a corresponding preset acquisition frequency according to the current weather condition.
Optionally, executing the first processing mode or the second processing mode at least according to the range of the time of day, including: executing the second processing mode under the condition that the time-to-duty time length is greater than or equal to a time-to-duty time length threshold; and executing the first processing mode under the condition that the working time length of the same day is smaller than the working time length threshold value.
Optionally, executing the first processing mode or the second processing mode at least according to the range of the time of day, including: and executing a first processing mode or a second processing mode according to the range of the time of day and the current weather condition.
Optionally, executing the first processing mode or the second processing mode according to the range of the time of day and the current weather condition, including: executing the second processing mode under the condition that the current weather condition is rainy days; and executing the first processing mode under the condition that the time length of the current working day is smaller than the threshold value of the time length of the working day and the current weather condition is a non-rainy day.
Optionally, the second processing mode is executed, including: under the condition that the current weather condition is a rainy day, the acquisition frequency of the temperature sensor for fire early warning at the current moment is adjusted to be a first preset acquisition frequency; and under the condition that the current weather condition is a non-rainy day, adjusting the acquisition frequency of the temperature sensor for fire early warning at the current moment to a second preset acquisition frequency, wherein the second preset acquisition frequency is smaller than the first preset acquisition frequency.
Optionally, after performing the first processing mode or the second processing mode, the method further includes: acquiring the indoor temperature at the current moment acquired by the temperature sensor for fire early warning to obtain the current indoor temperature; according to the range of the current indoor temperature, one of the following is executed: a third treatment mode, a fourth treatment mode and a fifth treatment mode; the third processing mode is to acquire the indoor temperature acquired by the temperature sensor for fire disaster early warning at the current moment again, the fourth processing mode is to control an alarm to alarm, the fifth processing mode is to broadcast the information of fire disaster happening in the indoor environment where the user is located in a voice mode, please carry out refuge on the user, and meanwhile call a fire alarm phone to alarm.
Optionally, according to the range in which the current indoor temperature is located, one of the following is performed: the third, fourth, and fifth treatment modes include: executing the third processing mode under the condition that the current indoor temperature is smaller than a first temperature threshold value; executing the fourth processing mode when the current indoor temperature is greater than or equal to the first temperature threshold and the current indoor temperature is less than a second temperature threshold, the second temperature threshold being greater than the first temperature threshold; and executing the fifth processing mode when the current indoor temperature is greater than or equal to the second temperature threshold.
According to another aspect of the present application, there is provided a control device of a temperature sensor for fire early warning, the device including:
the first acquisition unit is used for acquiring the time of the user going to work and the time of the user going to home on the same day, acquiring the outdoor weather condition of the position of the temperature sensor for fire early warning at the current time, and acquiring the current weather condition, wherein the current weather condition is a rainy day or a non-rainy day, and the temperature sensor for fire early warning is arranged in a living place of the user;
the determining unit is used for calculating the difference between the moment of going to the home from the working day and the moment of going to the working day from the working day to obtain the time length of going to the working day;
the first processing unit is used for executing a first processing mode or a second processing mode according to at least the range of the time length of the day on duty, wherein the first processing mode is used for controlling the temperature sensor for fire early warning to enter a dormant state and waking up the temperature sensor for fire early warning after preset time, and the second processing mode is used for adjusting the acquisition frequency of the temperature sensor for fire early warning at the current moment to the corresponding preset acquisition frequency according to the current weather condition.
According to another aspect of the present application, there is provided a computer-readable storage medium including a stored program, wherein the program, when executed, controls a device in which the computer-readable storage medium is located to execute any one of the control methods of the temperature sensor for fire early warning.
According to another aspect of the present application, there is provided a control system of a temperature sensor for fire early warning, the control system of the temperature sensor for fire early warning including: the system comprises one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs comprise a control method for executing any one of the temperature sensors for fire early warning.
By means of the technical scheme, the difference between the moment of going home from the work on the same day and the moment of going out from the work on the same day is calculated, the time of going to the work on the same day is determined, the time of going to the work on the same day is used as the judgment basis for controlling the temperature sensor for fire early warning, so that the temperature sensor for fire early warning is controlled to enter a dormant state, or the acquisition frequency of the temperature sensor for fire early warning at the current moment is correspondingly regulated according to the current weather condition, the pressure of the temperature sensor for fire early warning is relieved and regulated, the service life of the temperature sensor for fire early warning is prolonged, the energy consumption is reduced, and the problem that the temperature sensor for fire early warning in the prior scheme always needs to be kept in a continuous monitoring state with a higher acquisition frequency is solved, and the higher energy consumption is caused.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and 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 do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a schematic flow chart of a control method of a temperature sensor for fire early warning according to an embodiment of the present application;
fig. 2 is a schematic flow chart of another control method of a temperature sensor for fire early warning according to an embodiment of the present application;
fig. 3 shows a block diagram of a control device of a temperature sensor for fire early warning according to an embodiment of the present application.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As described in the background, in conventional sensor technology, the sensor often needs to be kept in a continuously monitored state, resulting in high energy consumption. This is a serious problem for wireless sensor networks that rely on battery power. Therefore, how to keep accurate monitoring and reduce energy consumption is always a problem to be solved, and in order to solve the problem that the temperature sensor for fire early warning in the existing scheme always needs to keep a state of continuous monitoring at a higher acquisition frequency, which results in higher energy consumption, the embodiment of the application provides a control method, a device, a medium and a system of the temperature sensor for fire early warning.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In the present embodiment, a control method of a temperature sensor for fire early warning is provided, and it is to be noted that the steps shown in the flowchart of the drawing may be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown or described herein.
Fig. 1 is a flow chart of a control method of a temperature sensor for fire disaster early warning according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, acquiring the time of going to work and the time of going to home from work on the same day, acquiring the outdoor weather condition of the position of a fire early-warning temperature sensor at the current time, and acquiring the current weather condition, wherein the current weather condition is a rainy day or a non-rainy day, and the fire early-warning temperature sensor is arranged in a living place of the user;
Specifically, the living place may be an apartment where a user is living, the fire disaster early warning temperature sensor is installed on a wall of a living room of the apartment, when the current weather is rainy, fire disaster is easily caused by lightning, and the user may input the time of going to work on the day when going out and the time of going to home on the day when returning to the apartment.
Step S102, calculating the difference between the moment when the person leaves the shift and the moment when the person leaves the shift on the same day, and obtaining and determining the time when the person leaves the shift on the same day;
and step S103, executing a first processing mode or a second processing mode according to at least the range of the time period of the shift on the day, wherein the first processing mode is to control the temperature sensor for fire early warning to enter a dormant state, wake up the temperature sensor for fire early warning after the preset time, and the second processing mode is to adjust the acquisition frequency of the temperature sensor for fire early warning at the current moment to a corresponding preset acquisition frequency according to the current weather condition.
Specifically, the preset time can be 30min, namely, when the temperature sensor for fire disaster early warning is controlled to enter a dormant state, the temperature sensor for fire disaster early warning is closed and does not collect temperature any more, the temperature sensor for fire disaster early warning is automatically awakened after 30min, the temperature sensor for fire disaster early warning is restarted to collect, and the total energy consumption of the temperature sensor for fire disaster early warning in one day is reduced.
In the above steps, the difference between the moment when the person goes from the sky to the home and the moment when the person goes from the sky to the gate is calculated to obtain the determined time when the person goes from the sky to the gate, and the time when the person goes from the sky is used as the judging basis for controlling the temperature sensor for fire early warning, so that the temperature sensor for fire early warning is controlled to enter a dormant state, or the acquisition frequency of the temperature sensor for fire early warning at the current moment is correspondingly regulated according to the current weather condition, thereby relieving and regulating the pressure of the temperature sensor for fire early warning, prolonging the service life of the temperature sensor for fire early warning, reducing the energy consumption, and further solving the problem that the temperature sensor for fire early warning in the prior scheme always needs to keep a continuous monitoring state with a higher acquisition frequency, thereby leading to higher energy consumption.
In step S103, the first processing manner or the second processing manner is executed at least according to the range of the time of day, and there are two specific embodiments:
first embodiment: executing the second processing mode under the condition that the time on duty is greater than or equal to the time on duty threshold; and executing the first processing mode under the condition that the time period of the shift on the day is smaller than the threshold value of the time period of the shift on the day.
Second embodiment: and executing a first processing mode or a second processing mode according to the range of the time of day and the current weather condition.
Specifically, in the case where the current weather condition is a rainy day, since the rainy day is prone to lightning to cause a fire, the second processing method is performed, that is, it is necessary to keep the temperature sensor for fire early warning continuously running; and when the time length of the on-duty is smaller than the threshold value of the time length of the on-duty and the current weather condition is a non-rainy day, the life rule of the user on the same day is recognized as early-coming and early-returning type, and the user is better than the mental state of early-coming and late-returning, so that the situation that the temperature sensor for fire disaster early-warning is closed can be considered, namely the first processing mode is executed.
The second processing method executed in step S103 includes: under the condition that the current weather condition is a rainy day, the acquisition frequency of the temperature sensor for fire early warning at the current moment is adjusted to be a first preset acquisition frequency; and under the condition that the current weather condition is a non-rainy day, adjusting the acquisition frequency of the temperature sensor for fire early warning at the current moment to a second preset acquisition frequency, wherein the second preset acquisition frequency is smaller than the first preset acquisition frequency.
Specifically, in the case that the current weather condition is a rainy day, since a fire disaster is easily caused by lightning strike in the rainy day, the temperature sensor for fire disaster early warning needs to be required to collect temperature at a higher collection frequency while keeping the temperature sensor for fire disaster early warning continuously running, that is, the collection frequency of the temperature sensor for fire disaster early warning at the current time needs to be adjusted to a first preset collection frequency; under the condition that the current weather condition is non-rainy days, fire disaster is not easy to cause, and when the continuous operation of the temperature sensor for fire disaster early warning is kept, the temperature sensor for fire disaster early warning needs to be collected at a lower collection frequency, namely, the collection frequency of the temperature sensor for fire disaster early warning at the current moment needs to be adjusted to a second preset collection frequency.
After step S103, i.e. after executing the first processing mode or the second processing mode, the method further comprises: acquiring the indoor temperature at the current moment acquired by the temperature sensor for fire early warning to obtain the current indoor temperature; according to the range of the current indoor temperature, one of the following is executed: a third treatment mode, a fourth treatment mode and a fifth treatment mode; the third processing mode is to acquire the indoor temperature at the current moment acquired by the temperature sensor for fire disaster early warning again, the fourth processing mode is to control an alarm to alarm, the fifth processing mode is to broadcast the information of evacuation of the user by voice and dial a fire alarm phone to alarm when the fire disaster happens in the indoor environment where the user is located.
Specifically, the third processing mode is executed when the current indoor temperature is smaller than a first temperature threshold; executing the fourth processing mode when the current indoor temperature is greater than or equal to the first temperature threshold and the current indoor temperature is less than a second temperature threshold, the second temperature threshold being greater than the first temperature threshold; and executing the fifth processing mode when the current indoor temperature is greater than or equal to the second temperature threshold.
When the current indoor temperature is smaller than a first temperature threshold, the situation that a fire disaster does not occur at the moment is indicated, the indoor temperature acquired by the temperature sensor for fire disaster early warning is continuously allowed to be in the current moment, when the current indoor temperature is larger than or equal to the first temperature threshold and the current indoor temperature is smaller than a second temperature threshold, the situation that the fire disaster occurs at the moment is indicated, but still in a user controllable range, only the alarm is controlled to alarm, when a user only hears the alarm sound of the alarm, the corresponding fire extinguishing equipment is used for extinguishing a fire source, when the current indoor temperature is larger than or equal to the second temperature threshold, the situation that the fire disaster occurs at the moment is indicated, and the fire disaster is not in the user controllable range, the indoor environment where the user is located needs to be broadcasted in a voice mode, the user is requested to carry out the information of evacuation, the user is indicated to alarm, and the user can quickly escape from a living place after hearing the broadcasted information, so that the safety of the user is ensured.
In order to enable those skilled in the art to more clearly understand the technical solutions of the present application, the implementation process of the control method of the temperature sensor for fire warning of the present application will be described in detail below with reference to specific embodiments.
The embodiment relates to a specific control method of a temperature sensor for fire early warning, as shown in fig. 2, comprising the following steps:
step S1: acquiring the time of the user going to work and the time of the user going to home on the same day, acquiring the outdoor weather condition of the position of the temperature sensor for fire early warning at the current time, and acquiring the current weather condition, wherein the current weather condition is rainy or non-rainy, and the temperature sensor for fire early warning is arranged in the living place of the user;
step S2: calculating a difference value between the moment of going to home from the shift on the day and the moment of going to the gate from the shift on the day, and obtaining and determining the time length of going to the shift on the day;
step S3: executing a second processing mode under the condition that the current weather condition is rainy days; executing a first processing mode when the on-duty time length of the same day is smaller than the on-duty time length threshold value and the current weather condition is a non-rainy day, wherein the first processing mode is to control the temperature sensor for fire early warning to enter a dormant state and wake the temperature sensor for fire early warning after the preset time, and the second processing mode is to adjust the acquisition frequency of the temperature sensor for fire early warning at the current moment to be a first preset acquisition frequency when the current weather condition is a rainy day; under the condition that the current weather condition is a non-rainy day, the acquisition frequency of the temperature sensor for fire early warning at the current moment is adjusted to be a second preset acquisition frequency, and the second preset acquisition frequency is smaller than the first preset acquisition frequency;
Step S4: acquiring the indoor temperature at the current moment acquired by a temperature sensor for fire early warning to obtain the current indoor temperature; executing a third processing mode under the condition that the current indoor temperature is smaller than the first temperature threshold value; executing a fourth processing mode when the current indoor temperature is greater than or equal to a first temperature threshold and the current indoor temperature is less than a second temperature threshold, wherein the second temperature threshold is greater than the first temperature threshold; executing a fifth processing mode under the condition that the current indoor temperature is greater than or equal to the second temperature threshold value; the third processing mode is to acquire the indoor temperature acquired by the temperature sensor for fire early warning at the current moment again, the fourth processing mode is to control the alarm to alarm, the fifth processing mode is to broadcast the indoor environment where the user is located in a voice mode to generate fire disaster, ask the user to carry out refuge information, and dial a fire alarm phone to alarm at the same time.
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 other than that illustrated herein.
The embodiment of the application also provides a control device of the temperature sensor for fire disaster early warning, and it should be noted that the control device of the temperature sensor for fire disaster early warning of the application embodiment can be used for executing the control method for the temperature sensor for fire disaster early warning provided by the application embodiment. The device is used for realizing the above embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The following describes a control device of a temperature sensor for fire disaster early warning provided in the embodiment of the present application.
Fig. 3 is a block diagram of a control device of a temperature sensor for fire early warning according to an embodiment of the present application. As shown in fig. 3, the apparatus includes:
a first obtaining unit 31, configured to obtain a time when a user goes on and off the day and a time when the user goes to the home from the shift on the day and a time when the user goes to the shift off the shift on the day, and obtain an outdoor weather condition of a current time when a temperature sensor for fire early warning is located, where the current weather condition is a rainy day or a non-rainy day, where the temperature sensor for fire early warning is installed in a living place of the user;
A determining unit 32, configured to calculate a difference between the time when the day goes to work and the time when the day goes to work, so as to determine a time when the day goes to work;
the first processing unit 33 is configured to execute a first processing mode or a second processing mode according to at least a range of the time of day, where the first processing mode is to control the temperature sensor for fire early warning to enter a sleep state, wake up the temperature sensor for fire early warning after a preset time, and the second processing mode is to adjust an acquisition frequency of the temperature sensor for fire early warning at a current time to a corresponding preset acquisition frequency according to the current weather condition.
According to the device, the time when the person goes to home from the sky and the time when the person goes to the office from the sky are calculated, the time when the person goes to the sky is determined, the time when the person goes to the sky is used as a judging basis for controlling the temperature sensor for fire early warning, and accordingly the temperature sensor for fire early warning is controlled to enter a dormant state, or the acquisition frequency of the temperature sensor for fire early warning at the current moment is correspondingly regulated according to the current weather condition, so that the pressure of the temperature sensor for fire early warning is relieved and regulated, the service life of the temperature sensor for fire early warning is prolonged, the energy consumption is reduced, and the problem that the temperature sensor for fire early warning in the existing scheme always needs to keep a continuous monitoring state with a higher acquisition frequency, and the higher energy consumption is caused is solved.
In an embodiment of the present application, the first processing unit includes a first processing module and a second processing module, where the first processing module is configured to execute the second processing manner when the on-duty duration of the day is greater than or equal to the on-duty duration threshold; and the second processing module is used for executing the first processing mode under the condition that the working time of the day is smaller than the working time threshold value.
In an embodiment of the present application, the first processing unit includes a third processing module, where the third processing module is configured to execute the first processing mode or the second processing mode according to a range where the time of day is located and the current weather condition.
In an embodiment of the present application, the third processing module includes a first processing sub-module and a second processing sub-module, where the first processing sub-module is configured to execute the second processing mode when the current weather condition is a rainy day; the second processing sub-module is used for executing the first processing mode under the condition that the working time length of the day is smaller than the working time length threshold value and the current weather condition is a non-rainy day.
In an embodiment of the present application, the first processing unit includes a fourth processing module and a fifth processing module, where the fourth processing module is configured to adjust, when the current weather condition is a rainy day, an acquisition frequency of the temperature sensor for fire early warning at a current time to a first preset acquisition frequency; the fifth processing module is configured to adjust an acquisition frequency of the temperature sensor for fire early warning at a current time to a second preset acquisition frequency when the current weather condition is a non-rainy day, where the second preset acquisition frequency is smaller than the first preset acquisition frequency.
In an embodiment of the present application, the apparatus further includes a second obtaining unit and a second processing unit, where after the first processing mode or the second processing mode is executed, the second obtaining unit is configured to obtain the indoor temperature at the current time acquired by the temperature sensor for fire early warning, so as to obtain the current indoor temperature; the second processing unit is used for executing one of the following according to the range of the current indoor temperature: a third treatment mode, a fourth treatment mode and a fifth treatment mode; the third processing mode is to acquire the indoor temperature at the current moment acquired by the temperature sensor for fire disaster early warning again, the fourth processing mode is to control an alarm to alarm, the fifth processing mode is to broadcast the information of evacuation of the user by voice and dial a fire alarm phone to alarm when the fire disaster happens in the indoor environment where the user is located.
In an embodiment of the present application, the second processing unit includes a sixth processing module, a seventh processing module, and an eighth processing module, where the sixth processing module is configured to execute the third processing mode when the current indoor temperature is less than the first temperature threshold; the seventh processing module is configured to execute the fourth processing mode when the current indoor temperature is greater than or equal to the first temperature threshold and the current indoor temperature is less than a second temperature threshold, where the second temperature threshold is greater than the first temperature threshold; the eighth processing module is configured to execute the fifth processing mode when the current indoor temperature is greater than or equal to the second temperature threshold.
The control device of the temperature sensor for fire early warning comprises a processor and a memory, wherein the first acquisition unit, the determination unit, the first processing unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions. The modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The inner core can be provided with one or more than one, and the problem of high energy consumption caused by the fact that the temperature sensor for fire early warning in the existing scheme always needs to keep in a continuous monitoring state at a high acquisition frequency is solved by adjusting the inner core parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, which comprises a stored program, wherein the program is used for controlling equipment where the computer readable storage medium is located to execute a control method of the temperature sensor for fire disaster early warning.
The embodiment of the invention provides a processor which is used for running a program, wherein the control method of the temperature sensor for fire early warning is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes at least the following steps when executing the program: acquiring the time of the user going to work and the time of the user going to home on the same day, acquiring the outdoor weather condition of the position of a fire early-warning temperature sensor at the current time, and acquiring the current weather condition, wherein the current weather condition is a rainy day or a non-rainy day, and the fire early-warning temperature sensor is arranged in a living place of the user; calculating the difference between the moment when the person leaves the shift to the home and the moment when the person leaves the shift to the gate on the same day, and obtaining the time when the person leaves the shift on the same day; and executing a first processing mode or a second processing mode according to at least the range of the time length of the day, wherein the first processing mode is to control the temperature sensor for fire early warning to enter a dormant state, wake up the temperature sensor for fire early warning after a preset time, and the second processing mode is to adjust the acquisition frequency of the temperature sensor for fire early warning at the current moment to a corresponding preset acquisition frequency according to the current weather condition. The device herein may be a server, PC, PAD, cell phone, etc.
Optionally, the first processing mode or the second processing mode is executed at least according to the range where the time period of the shift on the day is located, including: executing the second processing mode under the condition that the time on duty is greater than or equal to the time on duty threshold; and executing the first processing mode under the condition that the time period of the shift on the day is smaller than the threshold value of the time period of the shift on the day.
Optionally, the first processing mode or the second processing mode is executed at least according to the range where the time period of the shift on the day is located, including: and executing a first processing mode or a second processing mode according to the range of the time of day and the current weather condition.
Optionally, executing the first processing mode or the second processing mode according to the range of the time of day and the current weather condition, including: executing the second processing mode under the condition that the current weather condition is rainy days; and executing the first processing mode under the condition that the time length of the on-duty is smaller than the threshold value of the time length of the on-duty and the current weather condition is a non-rainy day.
Optionally, the second processing mode is executed, including: under the condition that the current weather condition is a rainy day, the acquisition frequency of the temperature sensor for fire early warning at the current moment is adjusted to be a first preset acquisition frequency; and under the condition that the current weather condition is a non-rainy day, adjusting the acquisition frequency of the temperature sensor for fire early warning at the current moment to a second preset acquisition frequency, wherein the second preset acquisition frequency is smaller than the first preset acquisition frequency.
Optionally, after executing the first processing mode or the second processing mode, the method further includes: acquiring the indoor temperature at the current moment acquired by the temperature sensor for fire early warning to obtain the current indoor temperature; according to the range of the current indoor temperature, one of the following is executed: a third treatment mode, a fourth treatment mode and a fifth treatment mode; the third processing mode is to acquire the indoor temperature at the current moment acquired by the temperature sensor for fire disaster early warning again, the fourth processing mode is to control an alarm to alarm, the fifth processing mode is to broadcast the information of evacuation of the user by voice and dial a fire alarm phone to alarm when the fire disaster happens in the indoor environment where the user is located.
Optionally, according to the range in which the current indoor temperature is located, one of the following is performed: the third, fourth, and fifth treatment modes include: executing the third processing mode under the condition that the current indoor temperature is smaller than a first temperature threshold value; executing the fourth processing mode when the current indoor temperature is greater than or equal to the first temperature threshold and the current indoor temperature is less than a second temperature threshold, the second temperature threshold being greater than the first temperature threshold; and executing the fifth processing mode when the current indoor temperature is greater than or equal to the second temperature threshold.
The present application also provides a computer program product adapted to perform a program initialized with at least the following method steps when executed on a data processing device: acquiring the time of the user going to work and the time of the user going to home on the same day, acquiring the outdoor weather condition of the position of a fire early-warning temperature sensor at the current time, and acquiring the current weather condition, wherein the current weather condition is a rainy day or a non-rainy day, and the fire early-warning temperature sensor is arranged in a living place of the user; calculating the difference between the moment when the person leaves the shift to the home and the moment when the person leaves the shift to the gate on the same day, and obtaining the time when the person leaves the shift on the same day; and executing a first processing mode or a second processing mode according to at least the range of the time length of the day, wherein the first processing mode is to control the temperature sensor for fire early warning to enter a dormant state, wake up the temperature sensor for fire early warning after a preset time, and the second processing mode is to adjust the acquisition frequency of the temperature sensor for fire early warning at the current moment to a corresponding preset acquisition frequency according to the current weather condition.
Optionally, the first processing mode or the second processing mode is executed at least according to the range where the time period of the shift on the day is located, including: executing the second processing mode under the condition that the time on duty is greater than or equal to the time on duty threshold; and executing the first processing mode under the condition that the time period of the shift on the day is smaller than the threshold value of the time period of the shift on the day.
Optionally, the first processing mode or the second processing mode is executed at least according to the range where the time period of the shift on the day is located, including: and executing a first processing mode or a second processing mode according to the range of the time of day and the current weather condition.
Optionally, executing the first processing mode or the second processing mode according to the range of the time of day and the current weather condition, including: executing the second processing mode under the condition that the current weather condition is rainy days; and executing the first processing mode under the condition that the time length of the on-duty is smaller than the threshold value of the time length of the on-duty and the current weather condition is a non-rainy day.
Optionally, the second processing mode is executed, including: under the condition that the current weather condition is a rainy day, the acquisition frequency of the temperature sensor for fire early warning at the current moment is adjusted to be a first preset acquisition frequency; and under the condition that the current weather condition is a non-rainy day, adjusting the acquisition frequency of the temperature sensor for fire early warning at the current moment to a second preset acquisition frequency, wherein the second preset acquisition frequency is smaller than the first preset acquisition frequency.
Optionally, after executing the first processing mode or the second processing mode, the method further includes: acquiring the indoor temperature at the current moment acquired by the temperature sensor for fire early warning to obtain the current indoor temperature; according to the range of the current indoor temperature, one of the following is executed: a third treatment mode, a fourth treatment mode and a fifth treatment mode; the third processing mode is to acquire the indoor temperature at the current moment acquired by the temperature sensor for fire disaster early warning again, the fourth processing mode is to control an alarm to alarm, the fifth processing mode is to broadcast the information of evacuation of the user by voice and dial a fire alarm phone to alarm when the fire disaster happens in the indoor environment where the user is located.
Optionally, according to the range in which the current indoor temperature is located, one of the following is performed: the third, fourth, and fifth treatment modes include: executing the third processing mode under the condition that the current indoor temperature is smaller than a first temperature threshold value; executing the fourth processing mode when the current indoor temperature is greater than or equal to the first temperature threshold and the current indoor temperature is less than a second temperature threshold, the second temperature threshold being greater than the first temperature threshold; and executing the fifth processing mode when the current indoor temperature is greater than or equal to the second temperature threshold.
The application also provides a temperature sensor's control system for fire early warning, and temperature sensor's control system for fire early warning includes: the system comprises one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs comprise a control method for executing any one of the temperature sensors for fire early warning. The difference between the moment when the person leaves the shift and the moment when the person leaves the shift is calculated to obtain the moment when the person leaves the shift and the moment when the person leaves the shift, the moment when the person leaves the shift is used as the judging basis for controlling the temperature sensor for fire early warning, so that the temperature sensor for fire early warning is controlled to enter a dormant state, or the acquisition frequency of the temperature sensor for fire early warning at the current moment is correspondingly regulated according to the current weather condition, the pressure of the temperature sensor for fire early warning is relieved and regulated, the service life of the temperature sensor for fire early warning is prolonged, the energy consumption is reduced, and the problem that the temperature sensor for fire early warning in the prior scheme always needs to keep a higher acquisition frequency to continuously monitor the state is solved, and the higher energy consumption is caused.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. 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 storage media for a computer 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, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1) According to the control method of the temperature sensor for fire early warning, the difference between the moment when the day arrives from home and the moment when the day arrives from home is calculated, the time when the day arrives from home is determined, the time when the day arrives from home is used as the judgment basis for controlling the temperature sensor for fire early warning, so that the temperature sensor for fire early warning is controlled to enter a dormant state, or the acquisition frequency of the temperature sensor for fire early warning at the current moment is correspondingly regulated according to the current weather condition, the pressure of the temperature sensor for fire early warning is relieved and regulated, the service life of the temperature sensor for fire early warning is prolonged, the energy consumption is reduced, and the problem that the temperature sensor for fire early warning in the prior scheme always needs to keep a state continuously monitored with a higher acquisition frequency, so that the energy consumption is higher is solved.
2) According to the control device of the temperature sensor for fire early warning, the difference between the moment when the day arrives from home and the moment when the day arrives from home is calculated, the time when the day arrives from home is determined, the time when the day arrives from home is used as the judgment basis for controlling the temperature sensor for fire early warning, so that the temperature sensor for fire early warning is controlled to enter a dormant state, or the acquisition frequency of the temperature sensor for fire early warning at the current moment is correspondingly regulated according to the current weather condition, the pressure of the temperature sensor for fire early warning is relieved and regulated, the service life of the temperature sensor for fire early warning is prolonged, the energy consumption is reduced, and the problem that the temperature sensor for fire early warning in the prior scheme always needs to keep in a continuous monitoring state with a higher acquisition frequency, so that the energy consumption is higher is solved.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A control method of a temperature sensor for fire early warning, comprising:
acquiring the time of the user going to work and the time of the user going to home on the same day, and acquiring the outdoor weather condition of the position of a fire early-warning temperature sensor at the current time, wherein the current weather condition is a rainy day or a non-rainy day, and the fire early-warning temperature sensor is arranged in a living place of the user;
calculating the difference between the moment of going to home from the work on the same day and the moment of going to the work on the same day, and obtaining and determining the time of going to work on the same day;
and executing a first processing mode or a second processing mode according to at least the range of the time length of the day on duty, wherein the first processing mode is to control the temperature sensor for fire early warning to enter a dormant state and wake up the temperature sensor for fire early warning after a preset time, and the second processing mode is to adjust the acquisition frequency of the temperature sensor for fire early warning at the current moment to a corresponding preset acquisition frequency according to the current weather condition.
2. The method of claim 1, wherein performing the first processing mode or the second processing mode at least according to a range in which the time-to-day is located, comprises:
Executing the second processing mode under the condition that the time-to-duty time length is greater than or equal to a time-to-duty time length threshold;
and executing the first processing mode under the condition that the working time length of the same day is smaller than the working time length threshold value.
3. The method of claim 1, wherein performing the first processing mode or the second processing mode at least according to a range in which the time-to-day is located, comprises:
and executing a first processing mode or a second processing mode according to the range of the time of day and the current weather condition.
4. The method of claim 3, wherein executing the first processing mode or the second processing mode according to the range of the time of day and the current weather condition comprises:
executing the second processing mode under the condition that the current weather condition is rainy days;
and executing the first processing mode under the condition that the time length of the current working day is smaller than the threshold value of the time length of the working day and the current weather condition is a non-rainy day.
5. The method of claim 1, wherein performing the second processing means comprises:
Under the condition that the current weather condition is a rainy day, the acquisition frequency of the temperature sensor for fire early warning at the current moment is adjusted to be a first preset acquisition frequency;
and under the condition that the current weather condition is a non-rainy day, adjusting the acquisition frequency of the temperature sensor for fire early warning at the current moment to a second preset acquisition frequency, wherein the second preset acquisition frequency is smaller than the first preset acquisition frequency.
6. The method of claim 1, wherein after performing the first processing mode or the second processing mode, the method further comprises:
acquiring the indoor temperature at the current moment acquired by the temperature sensor for fire early warning to obtain the current indoor temperature;
according to the range of the current indoor temperature, one of the following is executed: a third treatment mode, a fourth treatment mode and a fifth treatment mode;
the third processing mode is to acquire the indoor temperature acquired by the temperature sensor for fire disaster early warning at the current moment again, the fourth processing mode is to control an alarm to alarm, the fifth processing mode is to broadcast the information of fire disaster happening in the indoor environment where the user is located in a voice mode, please carry out refuge on the user, and meanwhile call a fire alarm phone to alarm.
7. The method of claim 6, wherein one of the following is performed according to a range in which the current indoor temperature is located: the third, fourth, and fifth treatment modes include:
executing the third processing mode under the condition that the current indoor temperature is smaller than a first temperature threshold value;
executing the fourth processing mode when the current indoor temperature is greater than or equal to the first temperature threshold and the current indoor temperature is less than a second temperature threshold, the second temperature threshold being greater than the first temperature threshold;
and executing the fifth processing mode when the current indoor temperature is greater than or equal to the second temperature threshold.
8. A control device for a temperature sensor for fire early warning, comprising:
the first acquisition unit is used for acquiring the time of the user going to work and the time of the user going to home on the same day, acquiring the outdoor weather condition of the position of the temperature sensor for fire early warning at the current time, and acquiring the current weather condition, wherein the current weather condition is a rainy day or a non-rainy day, and the temperature sensor for fire early warning is arranged in a living place of the user;
The determining unit is used for calculating the difference between the moment of going to the home from the working day and the moment of going to the working day from the working day to obtain the time length of going to the working day;
the first processing unit is used for executing a first processing mode or a second processing mode according to at least the range of the time length of the day on duty, wherein the first processing mode is used for controlling the temperature sensor for fire early warning to enter a dormant state and waking up the temperature sensor for fire early warning after preset time, and the second processing mode is used for adjusting the acquisition frequency of the temperature sensor for fire early warning at the current moment to the corresponding preset acquisition frequency according to the current weather condition.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein the program, when run, controls a device in which the computer-readable storage medium is located to execute the control method of the temperature sensor for fire early warning of any one of claims 1 to 7.
10. A control system for a temperature sensor for fire early warning, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a control method for executing the temperature sensor for fire early warning of any one of claims 1 to 7.
CN202311854759.1A 2023-12-29 2023-12-29 Control method, device, medium and system of temperature sensor for fire disaster early warning Active CN117500033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311854759.1A CN117500033B (en) 2023-12-29 2023-12-29 Control method, device, medium and system of temperature sensor for fire disaster early warning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311854759.1A CN117500033B (en) 2023-12-29 2023-12-29 Control method, device, medium and system of temperature sensor for fire disaster early warning

Publications (2)

Publication Number Publication Date
CN117500033A true CN117500033A (en) 2024-02-02
CN117500033B CN117500033B (en) 2024-04-02

Family

ID=89683303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311854759.1A Active CN117500033B (en) 2023-12-29 2023-12-29 Control method, device, medium and system of temperature sensor for fire disaster early warning

Country Status (1)

Country Link
CN (1) CN117500033B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110194471A1 (en) * 2007-12-17 2011-08-11 Ji-Eun Kim Wake-up apparatus and wake-up method for low power sensor node
CN106652308A (en) * 2016-12-15 2017-05-10 吉林大学 Fire hazard signal monitoring system based on zigbee and android
CN116734432A (en) * 2023-05-16 2023-09-12 青岛海尔空调器有限总公司 Smart home system, control method thereof and computer readable storage medium
CN116867038A (en) * 2023-06-15 2023-10-10 广东新电电力科技有限公司 Management system and method for low-power consumption microclimate sensor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110194471A1 (en) * 2007-12-17 2011-08-11 Ji-Eun Kim Wake-up apparatus and wake-up method for low power sensor node
CN106652308A (en) * 2016-12-15 2017-05-10 吉林大学 Fire hazard signal monitoring system based on zigbee and android
CN116734432A (en) * 2023-05-16 2023-09-12 青岛海尔空调器有限总公司 Smart home system, control method thereof and computer readable storage medium
CN116867038A (en) * 2023-06-15 2023-10-10 广东新电电力科技有限公司 Management system and method for low-power consumption microclimate sensor

Also Published As

Publication number Publication date
CN117500033B (en) 2024-04-02

Similar Documents

Publication Publication Date Title
US10420501B2 (en) Sleep monitoring
CN106557135B (en) processor temperature regulation and control method and device
CN108700926B (en) Waking computing device based on ambient noise
CN114172563B (en) Communication satellite dormancy control method, heaven-earth integrated communication network and storage medium
US11480355B2 (en) Space conditioning based on weather information
US20180033420A1 (en) Method and apparatus for controlling earphone noise reduction
CN106792166B (en) The control method and system of playback equipment
CN111077785A (en) Awakening method, awakening device, terminal and storage medium
CN111405604A (en) Monitoring and early warning method and device based on network traffic
CN117500033B (en) Control method, device, medium and system of temperature sensor for fire disaster early warning
CN112446983A (en) Intelligent door lock control method and device
CN117492380B (en) Control method and control device of central control system of intelligent home
CN113028612B (en) Control method and device of air conditioner, storage medium and processor
CN106912091B (en) Control method and device and electronic equipment
CN112947651A (en) Laboratory environment parameter control method
CN113728294B (en) Power consumption control and scheme generation method, device, system and storage medium
CN110736224A (en) Control method and device of intelligent household equipment, storage medium and processor
CN112073814B (en) Standby mode control method, smart television and computer readable storage medium
CN114500143A (en) Method and device for controlling equipment based on knowledge graph
CN109764475B (en) Air treatment equipment, control method and device thereof, and computer readable storage medium
CN110736242B (en) Control method and device of air conditioner, storage medium and processor
CN111381617A (en) Control method and device for cavity temperature of photovoltaic building, storage medium and processor
CN109298774B (en) Adjusting method and device
CN112856777A (en) Fresh air system control method and device and computer readable storage medium
CN115802555A (en) Control method and device of light-emitting equipment, storage medium and processor

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