CN110794394B - Door and window state detection method and device, server and storage medium - Google Patents

Door and window state detection method and device, server and storage medium Download PDF

Info

Publication number
CN110794394B
CN110794394B CN201911115545.6A CN201911115545A CN110794394B CN 110794394 B CN110794394 B CN 110794394B CN 201911115545 A CN201911115545 A CN 201911115545A CN 110794394 B CN110794394 B CN 110794394B
Authority
CN
China
Prior art keywords
room
door
millimeter wave
air conditioner
prompt information
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.)
Active
Application number
CN201911115545.6A
Other languages
Chinese (zh)
Other versions
CN110794394A (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.)
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Original Assignee
Aux Air Conditioning Co Ltd
Ningbo Aux Electric 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 Aux Air Conditioning Co Ltd, Ningbo Aux Electric Co Ltd filed Critical Aux Air Conditioning Co Ltd
Priority to CN201911115545.6A priority Critical patent/CN110794394B/en
Publication of CN110794394A publication Critical patent/CN110794394A/en
Application granted granted Critical
Publication of CN110794394B publication Critical patent/CN110794394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/42Simultaneous measurement of distance and other co-ordinates
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/41Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00 using analysis of echo signal for target characterisation; Target signature; Target cross-section
    • G01S7/411Identification of targets based on measurements of radar reflectivity

Abstract

The invention provides a door and window state detection method and device, a server and a storage medium, and relates to the technical field of air conditioners, wherein the door and window state detection method and device are applied to the server, the server is in communication connection with both an air conditioner and a terminal, the air conditioner is provided with a millimeter wave sensor, and the door and window state detection method comprises the following steps: receiving millimeter wave data sent by an air conditioner; determining the current void area of the room to be measured according to the millimeter wave data and the characteristic information of the room to be measured in advance; judging whether doors and windows of the room to be detected are in an open state or not based on the current empty area; when the door and window of the tested room is in an open state, prompt information is generated according to the current leakage area and is sent to the terminal. Therefore, the opened door or window can be found in time, the regulation and control effect of the air conditioner is guaranteed, energy is saved, and user experience is improved.

Description

Door and window state detection method and device, server and storage medium
Technical Field
The invention relates to the technical field of air conditioners, in particular to a door and window state detection method and device, a server and a storage medium.
Background
In the process of adjusting the indoor temperature by using the air conditioner, the indoor window is generally required to be kept in a closed state, so that the air conditioner can adjust the indoor temperature more quickly, and the energy consumption is low. However, sometimes, when the user opens the air conditioner, the user forgets to close the window or is blocked by the curtain and does not find that the window is not closed or is not completely closed. When a user finds that the cooling effect is not good for inspection or looks again later, much electricity is wasted, and the regulation effect of the air conditioner is influenced.
Disclosure of Invention
The invention solves the problems of poor regulation and control effect and energy waste of the air conditioner due to unclosed or incompletely closed doors and windows.
In order to solve the above problems, the present invention provides a door and window state detection method, which is applied to a server, wherein the server is in communication connection with both an air conditioner and a terminal, the air conditioner is provided with a millimeter wave sensor, and the door and window state detection method comprises: receiving millimeter wave data sent by the air conditioner, wherein the millimeter wave data is generated according to electromagnetic waves transmitted and received to a room to be tested by the millimeter wave sensor; determining the current void area of the room to be measured according to the millimeter wave data and the characteristic information of the room to be measured in advance; judging whether doors and windows of the room to be detected are in an open state or not based on the current empty leaking area; and when the door and window of the tested room is in an open state, generating prompt information according to the current leakage area and sending the prompt information to the terminal.
Compared with the prior art, the door and window state detection method has the following advantages: installing a millimeter wave sensor in the air conditioner, and transmitting and receiving electromagnetic waves to a room to be measured through the millimeter wave sensor to obtain millimeter wave data; and then, determining the current leakage area of the room to be detected based on the millimeter wave data, and generating prompt information and sending the prompt information to the terminal when judging that the door and window of the room to be detected is in an open state according to the current leakage area. That is, this application can be based on whether the door and window in the room of being surveyed is in the open mode by the millimeter wave data detection of the millimeter wave sensor collection of installation in the air conditioner to can in time discover the door or the window of opening, and then guarantee the regulation and control effect and the energy saving of air conditioner, improve user experience.
Further, the characteristic information comprises the size and the outline of the room to be measured; the step of determining the current leakage area of the room to be tested according to the millimeter wave data and the pre-stored characteristic information of the room to be tested comprises the following steps: analyzing the millimeter wave data to obtain the distance and the angle of each target in the room to be tested relative to the air conditioner; positioning each empty leakage vertex of the room to be measured according to the distance and the angle of each target relative to the air conditioner and the size and the outline of the room to be measured; and calculating the current void area of the room to be detected according to each void vertex.
Further, the characteristic information comprises the minimum leakage area of the tested room; the step of judging whether the door and window of the tested room is in an open state or not based on the current leakage area comprises the following steps: comparing the current leakage area with the minimum leakage area; when the current void leakage area is smaller than or equal to the minimum void leakage area, judging that a door and a window of the tested room are in a closed state; and when the current void area is larger than the minimum void area, judging that the door and the window of the tested room are in an open state.
Further, the characteristic information comprises the maximum leakage area of the tested room; the step of generating prompt information according to the current void area and sending the prompt information to the terminal comprises the following steps: calculating the difference value between the current leakage area and the minimum leakage area to obtain the current adjustable leakage area; acquiring the maximum adjustable leakage area of the tested room, wherein the maximum adjustable leakage area is the difference value between the maximum leakage area and the minimum leakage area; and comparing the current adjustable void area with the maximum adjustable void area, generating prompt information and sending the prompt information to the terminal.
Further, the step of comparing the current adjustable void area with the maximum adjustable void area, generating prompt information and sending the prompt information to the terminal includes: calculating the ratio of the current adjustable leakage area to the maximum adjustable leakage area to obtain a first ratio; when the first ratio is smaller than or equal to a first preset threshold value, generating first prompt information and sending the first prompt information to the terminal, wherein the first prompt information is used for prompting that the door and window are not tightly closed; when the first ratio is larger than the first preset threshold and smaller than or equal to a second preset threshold, generating second prompt information and sending the second prompt information to the terminal, wherein the first prompt information is used for prompting that the door and the window are not closed; when the first ratio is larger than the second preset threshold and smaller than or equal to a third preset threshold, generating third prompt information and sending the third prompt information to the terminal, wherein the third prompt information is used for prompting that the door and window is opened greatly; and when the first ratio is larger than the third preset threshold, generating fourth prompt information and sending the fourth prompt information to the terminal, wherein the fourth prompt information is used for prompting detection abnormity.
Further, the characteristic information of the room to be tested comprises the size and the outline of the room to be tested, the minimum leakage area and the maximum leakage area; the measuring process of the characteristic information comprises the following steps: controlling a millimeter wave sensor installed in the air conditioner to detect the room to be detected, and obtaining an initial imaging of the room to be detected, wherein the initial imaging comprises the size and the outline of the room to be detected; sending closing prompt information to the terminal, wherein the closing prompt information is used for prompting to close all doors and windows of the tested room; when all doors and windows of the room to be tested are in a closed state, perfecting the initial imaging through the millimeter wave sensor, and determining the minimum leakage area of the room to be tested; sending opening prompt information to the terminal, wherein the opening prompt information is used for prompting the opening of all doors and windows of the tested room; and when all doors and windows of the room to be detected are in an open state, perfecting the initial imaging again through the millimeter wave sensor, and determining the maximum leakage area of the room to be detected.
Further, before the step of receiving millimeter wave data sent by the air conditioner, the door and window state detection method further includes: and controlling a millimeter wave sensor installed in the air conditioner to emit electromagnetic waves at preset time intervals, and detecting the room to be detected through the emitted electromagnetic waves.
Further, before the step of receiving millimeter wave data sent by the air conditioner, the door and window state detection method further includes: and when a detection request sent by the terminal is received, controlling a millimeter wave sensor installed in the air conditioner to emit electromagnetic waves, and detecting the room to be detected through the emitted electromagnetic waves.
The invention also provides a door and window state detection device, which is applied to a server, wherein the server is in communication connection with both an air conditioner and a terminal, the air conditioner is provided with a millimeter wave sensor, and the door and window state detection device comprises: the receiving module is used for receiving millimeter wave data sent by the air conditioner, wherein the millimeter wave data is generated according to electromagnetic waves which are sent and received to a room to be tested by the millimeter wave sensor; the determining module is used for determining the current void area of the room to be measured according to the millimeter wave data and the characteristic information of the room to be measured in advance; the judging module is used for judging whether doors and windows of the room to be detected are in an open state or not based on the current leakage area; and the sending module is used for generating prompt information according to the current leakage area and sending the prompt information to the terminal when the door and window of the tested room is in an open state.
The invention also provides a server, the server is connected with the air conditioner and the terminal in a communication way, the air conditioner is provided with a millimeter wave sensor, and the air conditioner comprises: one or more processors; a memory for storing one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the above-described door and window state detection method.
The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described door and window state detection method.
Drawings
Fig. 1 is a schematic view of an application scenario of the door and window state detection method provided by the invention.
Fig. 2 is a block diagram of a server according to the present invention.
Fig. 3 is a schematic flow chart of the door and window state detection method provided by the invention.
Fig. 4 is a detection example diagram of the millimeter wave sensor provided by the present invention.
Fig. 5 is a schematic flow chart of a characteristic information measurement process provided by the present invention.
Fig. 6 is a flowchart illustrating the step S120 in the door/window state detecting method shown in fig. 3.
FIG. 7 is a diagram illustrating an exemplary positioning of a leaky vertex provided by the present invention.
Fig. 8 is a flowchart illustrating the step S130 in the door/window state detecting method shown in fig. 3.
Fig. 9 is a flowchart illustrating the step S140 in the door/window state detecting method shown in fig. 3.
Fig. 10 is another schematic flow chart of the door/window state detection method provided by the present invention.
Fig. 11 is another schematic flow chart of the door/window state detection method provided by the present invention.
Fig. 12 is a schematic view of functional modules of the door/window state detection device according to the present invention.
Description of reference numerals:
10-an air conditioner; 20-a server; 30-a terminal; 21-a processor; 22-a memory; 23-a bus; 100-door and window state detection device; 110-a receiving module; 120-a determination module; 130-a judgment module; 140-a sending module; 150-processing module.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, an application scenario diagram of the door and window state detection method provided by the present invention includes an air conditioner 10, a server 20, and a terminal 30, where the server 20 is connected to the air conditioner 10 and the terminal 30 through a communication network, and the terminal 30 is connected to the air conditioner 10 through the communication network, where the communication network may be a wired network or a wireless network.
The server 20 may be a web (website) server, and the server 20 is configured to determine a current void area of the room to be tested according to the millimeter wave data acquired by the millimeter wave sensor in the air conditioner 10, determine whether doors and windows of the room to be tested are in an open state based on the current void area, and generate prompt information and send the prompt information to the terminal 30 when it is determined that the doors and windows of the room to be tested are in the open state according to the current void area. Meanwhile, the server 20 can also control the millimeter wave sensor installed in the air conditioner 10 to detect the room to be measured, thereby measuring the characteristic information of the room to be measured.
The terminal 30 may be, but is not limited to, a smart phone, a Personal Computer (PC), a tablet PC, a wearable mobile terminal, a Personal Digital Assistant (PDA), and the like. The operating system of the terminal 30 may be, but is not limited to, an Android system, an ios (internet operating system) system, a Windows phone system, a Windows system, and the like.
The Application program (APP) is installed in the terminal 30, and a user can interact with the server 20 through the APP, specifically, when the user needs to detect whether doors and windows of a room are closed, a detection request can be sent to the server 20 through the APP of the terminal 30, and after receiving the detection request, the server 20 controls the millimeter wave sensor installed in the air conditioner 10 to emit electromagnetic waves, and detects the room through the emitted electromagnetic waves. Meanwhile, when the server 20 detects that the doors and windows of the room are in an open state, prompt information is generated according to the current empty area of the room to prompt the user in a grading mode. In addition, the user may also remotely turn on the air conditioner 10 through the application of the terminal 30 or transmit a detection request of the door and window state of the room to the server 20 through the application of the terminal 30.
A millimeter wave sensor is mounted on a panel of the air conditioner 10, and the millimeter wave sensor includes analog components such as a signal sending module, a signal receiving module, and a clock, and digital components such as an analog-to-digital converter, a microcontroller unit, and a digital signal processor. The distance, angle, different materials, etc. can be measured according to the time difference between the electromagnetic wave transmitted by the signal transmission module of the millimeter wave sensor and the electromagnetic wave received by the signal reception module, and the amplitude of the received reflected wave.
Referring to fig. 2, which is a block diagram of a server 20 according to the present invention, the server 20 includes a processor 21, a memory 22 and a bus 23, and the processor 21 and the memory 22 are connected by the bus 23.
The memory 22 is used for storing a program, such as the door and window state detecting device 100 shown in fig. 12. The door and window state detecting apparatus 100 includes at least one software function module which may be stored in the memory 22 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the server 20. After receiving the execution instruction, the processor 21 executes the program to implement the door/window state detection method disclosed by the present invention.
The processor 21 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 21. The Processor 21 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
On the basis of the server 20 shown in fig. 2, a possible implementation manner of a door and window state detection method is given below, specifically, fig. 3 is a schematic flow chart of the door and window state detection method provided by the present invention, please refer to fig. 3, where the door and window state detection method includes:
and step S110, receiving millimeter wave data sent by the air conditioner, wherein the millimeter wave data is generated according to the electromagnetic waves sent and received by the millimeter wave sensor to the room to be tested.
In the present embodiment, when it is required to detect the door/window state of the room to be detected, the signal transmitting module in the millimeter wave sensor installed in the air conditioner 10 may be controlled to transmit the electromagnetic wave, and the reflected electromagnetic wave received by the signal receiving module in the millimeter wave sensor, where the transmitted electromagnetic wave and the received reflected electromagnetic wave constitute millimeter wave data, that is, the millimeter wave data includes the transmission time and the waveform amplitude of the transmitted electromagnetic wave, and the reception time and the waveform amplitude of the received reflected electromagnetic wave.
Different objects (e.g., walls, glass, air, etc.) in a room reflect electromagnetic waves to different degrees, for example, referring to fig. 4, a wall may emit a large amount of electromagnetic waves transmitted by the millimeter wave sensor, glass of a window may emit a part of the electromagnetic waves transmitted by the millimeter wave sensor, air may emit a small amount of electromagnetic waves transmitted by the millimeter wave sensor, and so on. Therefore, the server 20 can detect the door/window state of the room to be tested according to the millimeter wave data transmitted by the air conditioner 10, that is, the door/window state of the room to be tested according to the transmission time and the waveform amplitude of the transmitted electromagnetic wave and the reception time and the waveform amplitude of the received reflected electromagnetic wave.
And step S120, determining the current void area of the room to be measured according to the millimeter wave data and the characteristic information of the room to be measured in advance.
In this embodiment, the millimeter wave data sent by the air conditioner 10 may be analyzed to determine whether a door or window in the room to be tested is in an open state, and when it is determined that a door or window in the room to be tested is in an open state, the current leakage area of the room to be tested is determined by combining the millimeter wave data and the feature information of the room to be tested measured in advance. Specifically, the one-way distance of the target to the millimeter wave sensor, that is, R ═ C Δ t/2, can be calculated from the time difference of the transmitted and received electromagnetic waves, where R is the one-way distance of the target to the millimeter wave sensor, Δ t is the time difference of the transmitted and received electromagnetic waves, and C is the propagation rate of the electromagnetic waves; if the calculated one-way distance R is obviously larger than the size of a room or the reflected electromagnetic waves are not received, measuring and calculating the angle from a target to the millimeter wave sensor according to the waveform amplitude of the transmitted and received electromagnetic waves; positioning each hollow vertex according to the one-way distance R and the angle from the target to the millimeter wave sensor; and finally, calculating the current void area of the room to be detected according to the positioned void vertices.
The following describes a measurement process of characteristic information of a room to be measured, where the characteristic information of the room to be measured includes a size and a contour of the room to be measured, a minimum leak area of the room to be measured, and a maximum leak area of the room to be measured, and referring to fig. 5, the measurement process of the characteristic information may include:
and step S210, controlling a millimeter wave sensor installed in the air conditioner to detect the room to be detected, and obtaining an initial imaging of the room to be detected, wherein the initial imaging comprises the size and the outline of the room to be detected.
In this embodiment, when measuring the characteristic information of the room to be measured, first, the millimeter wave sensor installed in the air conditioner 10 is controlled to detect the room to be measured, that is, the signal sending module in the millimeter wave sensor installed in the air conditioner 10 is controlled to send electromagnetic waves, the reflected electromagnetic waves received by the signal receiving module in the millimeter wave sensor are used, the distance and the angle between each target in the room to be measured and the millimeter wave sensor are measured according to the sent electromagnetic waves and the received electromagnetic waves, and then the size and the shape of the whole room to be measured are obtained according to the distance and the angle between each target and the millimeter wave sensor; meanwhile, judging blocks with larger material and distance difference according to the received different electromagnetic waves, and further roughly judging the door and window positions of the room to be detected; and combining the size and the shape of the whole room to be measured and the door and window positions of the room to be measured to obtain the size and the outline of the room to be measured.
And step S220, sending closing prompt information to the terminal, wherein the closing prompt information is used for prompting to close all doors and windows of the tested room.
In this embodiment, after obtaining the initial imaging of the room under test, the server 20 sends a closing prompt message to the terminal 30 to prompt the user to close all doors and windows of the room under test, that is, prompt the user to close all doors and windows of the room under test through the application program of the terminal 30.
And step S230, when all doors and windows of the room to be detected are in a closed state, perfecting initial imaging through the millimeter wave sensor, and determining the minimum leakage area of the room to be detected.
In this embodiment, the server 20 prompts the user to close all doors and windows of the room to be tested through the application program of the terminal 30, and then controls the millimeter wave sensor installed in the air conditioner 10 to detect the room to be tested again, so as to perfect the initial imaging of the room to be tested, and calculate the area of the room to be tested after all doors and windows are closed, for example, the area of the door gap, the hole, and the like, that is, the minimum area of the room to be tested.
And step S240, sending opening prompt information to the terminal, wherein the opening prompt information is used for prompting to open all doors and windows of the tested room.
In this embodiment, after the server 20 measures the minimum void area of the room to be tested, it sends an opening prompt message to the terminal 30 to prompt the user to open all doors and windows of the room to be tested, that is, the application program of the terminal 30 prompts the user to open all doors and windows of the room to be tested.
And step S250, when all doors and windows of the room to be detected are in an open state, perfecting the initial imaging again through the millimeter wave sensor, and determining the maximum void area of the room to be detected.
In this embodiment, after the server 20 prompts the user to open all the doors and windows of the room to be tested through the application program of the terminal 30, the millimeter wave sensor installed in the air conditioner 10 is controlled again to detect the room to be tested, so that the initial imaging of the room to be tested is completed again, and the leak area of the room to be tested after all the doors and windows are opened, that is, the maximum leak area of the room to be tested, is calculated.
As an embodiment, referring to fig. 6 on the basis of fig. 3, step S120 may include:
and a substep S1201, analyzing the millimeter wave data to obtain the distance and the angle of each target in the room to be tested relative to the air conditioner.
In the present embodiment, the one-way distance of the target to the millimeter wave sensor, that is, R ═ C Δ t)/2, can be calculated from the time difference of the transmitted and received electromagnetic waves, where R is the one-way distance of the target to the millimeter wave sensor, Δ t is the time difference of the transmitted and received electromagnetic waves, and C is the propagation rate of the electromagnetic wave; if the calculated one-way distance R is significantly larger than the size of the room or the reflected electromagnetic wave is not received, then the angle from the target to the millimeter wave sensor is measured according to the waveform amplitude of the transmitted and received electromagnetic wave, for example, please refer to fig. 7, a spatial rectangular coordinate system O-xyz is established with the millimeter wave sensor as the origin, and the angle from the target to the millimeter wave sensor includes an angle with the x-axis, an angle with the y-axis, and an angle with the z-axis.
And a substep S1202, positioning each void vertex of the tested room according to the distance and the angle of each target relative to the air conditioner and the size and the outline of the tested room.
In this embodiment, after obtaining the distance and angle of each target relative to the air conditioner, each of the leaky vertices of the room to be tested, for example, A, B, C, D four leaky vertices in fig. 7, may be located according to the distance and angle of each target relative to the air conditioner. Meanwhile, the size and the contour of the room to be detected can be combined to judge each positioned leaky hollow vertex and delete the wrong leaky hollow vertex, for example, the leaky hollow vertex is deleted when the size and the contour of the room to be detected are combined to judge that a certain leaky hollow vertex corresponds to the wall of the room to be detected.
And a substep S1203, calculating the current void area of the room to be detected according to each void vertex.
In the present embodiment, after each missing vertex of the room to be tested is located, for example, at point A, B, C, D in fig. 7, the current missing area of the room to be tested is calculated according to each missing vertex, that is, the area of the closed figure formed by each missing vertex, for example, the area S of the quadrangle formed by point A, B, C, D in fig. 7 is calculatedABCDNamely the current leakage area of the room to be tested.
And step S130, judging whether the doors and windows of the detected room are in an open state or not based on the current leakage area.
In this embodiment, after the server 20 determines the current void area of the room to be tested according to the millimeter wave data collected by the millimeter wave sensor in the air conditioner 10, it may determine whether the door and window of the room to be tested are in the open state according to the current void area, the minimum void area, and the maximum void area of the room to be tested. Referring to fig. 8, based on fig. 3, step S130 may include:
and a substep S1301, comparing the current leakage area with the minimum leakage area.
And a substep S1302, when the current leakage area is less than or equal to the minimum leakage area, determining that the door and the window of the tested room are in a closed state.
In this embodiment, the minimum leak area is measured after prompting the user to close all doors and windows of the room to be tested, and therefore, if the current leak area is less than or equal to the minimum leak area, it can be considered that the doors and windows of the room to be tested are in a closed state.
And a substep S1303, when the current void area is larger than the minimum void area, judging that the door and the window of the tested room are in an open state.
In this embodiment, if the current void area is larger than the minimum void area, the door and window of the room to be tested may be considered to be in the open state.
And step S140, when the door and window of the tested room is in an open state, generating prompt information according to the current leakage area and sending the prompt information to the terminal.
In this embodiment, when the server 20 determines that the doors and windows of the room to be tested are in the open state based on the current empty area of the room to be tested, the server 20 may prompt information according to the current empty area rating of the room to be tested to prompt the user.
As an embodiment, referring to fig. 9 on the basis of fig. 3, step S140 may include:
and a substep S1401, calculating the difference value between the current leakage area and the minimum leakage area to obtain the current adjustable leakage area.
In this embodiment, the current adjustable miss area is equal to the current miss area minus the minimum miss area.
And a substep S1402, obtaining the maximum adjustable leakage area of the tested room, wherein the maximum adjustable leakage area is the difference value between the maximum leakage area and the minimum leakage area.
In this embodiment, since the minimum miss area is measured after prompting the user to close all the doors and windows of the room to be tested, and the maximum miss area is measured after prompting the user to open all the doors and windows of the room to be tested, the maximum adjustable miss area is equal to a value obtained by subtracting the minimum miss area from the maximum miss area.
And a substep S1403, comparing the current adjustable leakage area with the maximum adjustable leakage area, generating prompt information and sending the prompt information to the terminal.
In this embodiment, after the current adjustable void area and the maximum adjustable void area are obtained, the current adjustable void area and the maximum adjustable void area may be compared, and the user is prompted according to the ratio of the current adjustable void area to the maximum adjustable void area, for example:
if the current adjustable void area is less than 10% of the maximum adjustable void area, prompting a user that a door and a window of a user are not closed tightly;
if the current adjustable void area is 10% < 50% of the maximum adjustable void area, prompting a user that the door and the window of the user are likely to forget to close, and marking with a yellow exclamation mark;
if 50% < the current adjustable void area is equal to 100% of the maximum adjustable void area, prompting a user to check whether a door window is large, timely closing the door window in order to not influence the air conditioning effect, and marking with a red exclamation mark;
if the current adjustable void area is larger than 100% of the maximum adjustable void area, prompting a user to detect that the void area is too large and the function setting is abnormal possibly, and please reset.
As an implementation manner, the manner of comparing the current adjustable void area with the maximum adjustable void area, generating the prompt information, and sending the prompt information to the terminal may include:
firstly, calculating the ratio of the current adjustable void area to the maximum adjustable void area to obtain a first ratio; the first ratio may be equal to a value obtained by dividing the current adjustable void area by the maximum adjustable void area, for example, the first ratio is the current adjustable void area/the maximum adjustable void area.
Then, when the first ratio is smaller than or equal to a first preset threshold value, generating first prompt information and sending the first prompt information to the terminal, wherein the first prompt information is used for prompting that the door and window are not tightly closed; the first preset threshold may be 5% to 15%, for example, 10%; the server 20 may send the first prompt message to the terminal 30, and prompt the user that the door and window are not closed tightly through the application program of the terminal 30, for example, an application program of the terminal 30 displays "your door and window may not be closed tightly".
When the first ratio is larger than a first preset threshold and smaller than or equal to a second preset threshold, generating second prompt information and sending the second prompt information to the terminal, wherein the first prompt information is used for prompting that the door and the window are not closed; the second preset threshold may be 45% to 55%, e.g., 50%; the server 20 may send the second prompting message to the terminal 30, and prompt the user to forget to close the door and window through the application program of the terminal 30, for example, display "your door and window may forget to close" through the application program of the terminal 30 and mark with a yellow exclamation mark.
When the first ratio is greater than the second preset threshold and less than or equal to a third preset threshold, generating third prompt information and sending the third prompt information to the terminal, wherein the third prompt information is used for prompting the door and window to be opened greatly; the third preset threshold may be 100%, the server 20 may send a third prompt message to the terminal 30, and prompt the user that the door and window are wide open through the application program of the terminal 30, for example, an application program of the terminal 30 displays "please check whether the door and window are wide open, please close the door and window in time so as not to affect the air conditioning effect," and the application program is marked with a red exclamation mark.
When the first ratio is larger than a third preset threshold value, generating fourth prompt information and sending the fourth prompt information to the terminal, wherein the fourth prompt information is used for prompting detection abnormity; the server 20 may send a third prompt message to the terminal 30, and prompt the user to detect an abnormality through the application program of the terminal 30, for example, an application program of the terminal 30 displays "detect that the vacant area is too large, and may be abnormal in function setting, please reset".
In a possible situation, the door/window state detection of the room may be automatically performed after the air conditioner 10 is turned on, and the detection may be performed according to a preset time interval, for example, the detection is performed every 1 minute, so on the basis of fig. 3, fig. 10 is another schematic flow chart of the door/window state detection method provided by the present invention, please refer to fig. 10, before step S110, the door/window state detection method further includes:
and step S101, controlling a millimeter wave sensor installed in the air conditioner to emit electromagnetic waves according to a preset time interval, and detecting the room to be detected through the emitted electromagnetic waves.
In this embodiment, after the server 20 measures and stores the characteristic information of the room to be detected through the millimeter wave sensor installed in the air conditioner 10, the detection of the door and window state of the room to be detected may be automatically performed when the user turns on the air conditioner 10, and the detection may be performed at a preset time interval, for example, once every 1 minute, and the like, and the specific time interval for performing the detection may be flexibly set by the user according to actual needs, which is not limited herein.
In a possible situation, the user may need to manually trigger the server 20 to perform the function of detecting the door and window state of the room, for example, before the user remotely turns on the air conditioner 10 through the application program of the terminal 30, it needs to detect whether the door and window of the room to be detected are closed, so on the basis of fig. 3, fig. 11 is another flow chart of the method for detecting the door and window state provided by the present invention, please refer to fig. 11, before step S110, the method for detecting the door and window state further includes:
and step S102, when receiving a detection request sent by the terminal, controlling a millimeter wave sensor installed in the air conditioner to emit electromagnetic waves, and detecting the room to be detected through the emitted electromagnetic waves.
In this embodiment, the detection request may be a room door and window state detection request sent by the user through the application program of the terminal 30, and the detection request may be sent when the user needs to manually trigger a door and window state detection function of the room, for example, the user does not need to turn on the air conditioner 10 in rainy days but needs to detect the door and window state of the room, or before the user turns on the air conditioner 10 remotely through the application program of the terminal 30, the user needs to detect whether the door and window of the room to be detected are closed or not.
Compared with the prior art, the embodiment has the following beneficial effects:
firstly, whether doors and windows of a detected room are in an open state or not is detected based on a millimeter wave sensor in the air conditioner 10, so that the opened doors or windows can be found in time, the regulation and control effect of the air conditioner is ensured, and energy is saved;
secondly, the user can detect the door and window state of the room without opening the air conditioner 10, for example, in rainy days or before remotely opening the air conditioner 10, and the like, so that the user experience is improved.
In order to perform the corresponding steps in the above embodiments and various possible embodiments, an implementation of the door and window state detecting device is given below. Fig. 12 is a schematic functional block diagram of the door/window state detecting device 100 according to the present invention. It should be noted that the basic principle and the technical effects of the door/window state detecting device 100 according to the embodiment of the present invention are the same as those of the foregoing method embodiment, and for a brief description, reference may be made to the corresponding contents of the foregoing method embodiment for a part not mentioned in the present embodiment. The door/window state detecting device 100 is applied to the server 20, and the door/window state detecting device 100 is described below with reference to fig. 3 to 11, where the door/window state detecting device 100 includes: a receiving module 110, a determining module 120, a judging module 130 and a sending module 140.
And the receiving module 110 is configured to receive millimeter wave data sent by the air conditioner, where the millimeter wave data is generated according to electromagnetic waves transmitted and received by the millimeter wave sensor to the room to be tested.
And the determining module 120 is configured to determine a current void area of the room to be measured according to the millimeter wave data and the feature information of the room to be measured, which is measured in advance.
Optionally, the characteristic information includes a size and a contour of the room to be measured; the determining module 120 is specifically configured to: analyzing the millimeter wave data to obtain the distance and angle of each target in the room to be tested relative to the air conditioner; positioning each hollow vertex of the room to be measured according to the distance and the angle of each target relative to the air conditioner and the size and the outline of the room to be measured; and calculating the current void area of the room to be detected according to each void vertex.
And the judging module 130 is configured to judge whether a door or a window of the room to be tested is in an open state based on the current void area.
Optionally, the characteristic information includes a minimum void area of the room to be tested; the determining module 130 is specifically configured to: comparing the current leakage area with the minimum leakage area; when the current void leakage area is smaller than or equal to the minimum void leakage area, judging that the door and the window of the tested room are in a closed state; and when the current leakage area is larger than the minimum leakage area, judging that the door and the window of the tested room are in an open state.
And the sending module 140 is configured to generate a prompt message according to the current void area and send the prompt message to the terminal when the door and window of the room to be tested is in an open state.
Optionally, the characteristic information includes a maximum void area of the room to be tested; the sending module 140 is specifically configured to: calculating the difference value between the current leakage area and the minimum leakage area to obtain the current adjustable leakage area; acquiring the maximum adjustable leakage area of the tested room, wherein the maximum adjustable leakage area is the difference value between the maximum leakage area and the minimum leakage area; and comparing the current adjustable leakage area with the maximum adjustable leakage area, generating prompt information and sending the prompt information to the terminal.
Optionally, the sending module 140 executes a mode of comparing the current adjustable void area with the maximum adjustable void area, generating the prompt message, and sending the prompt message to the terminal, where the mode includes: calculating the ratio of the current adjustable void area to the maximum adjustable void area to obtain a first ratio; when the first ratio is smaller than or equal to a first preset threshold value, generating first prompt information and sending the first prompt information to the terminal, wherein the first prompt information is used for prompting that the door and window are not closed tightly; when the first ratio is larger than a first preset threshold and smaller than or equal to a second preset threshold, generating second prompt information and sending the second prompt information to the terminal, wherein the first prompt information is used for prompting that the door and the window are not closed; when the first ratio is greater than the second preset threshold and less than or equal to a third preset threshold, generating third prompt information and sending the third prompt information to the terminal, wherein the third prompt information is used for prompting the door and window to be opened greatly; and when the first ratio is larger than a third preset threshold value, generating fourth prompt information and sending the fourth prompt information to the terminal, wherein the fourth prompt information is used for prompting detection abnormity.
Optionally, the door/window state detecting device 100 further includes a processing module 150, and the processing module 150 is configured to: and controlling a millimeter wave sensor installed in the air conditioner to emit electromagnetic waves at preset time intervals, and detecting the room to be detected through the emitted electromagnetic waves.
Optionally, the processing module 150 is further configured to: when a detection request sent by a terminal is received, a millimeter wave sensor installed in the air conditioner is controlled to emit electromagnetic waves, and the room to be detected is detected through the emitted electromagnetic waves.
Optionally, the characteristic information of the room to be tested includes the size and the contour of the room to be tested, the minimum leakage area and the maximum leakage area; the processing module 150 is further configured to measure characteristic information of the room under test, and the measuring process of the characteristic information may include: controlling a millimeter wave sensor installed in an air conditioner to detect a room to be detected to obtain initial imaging of the room to be detected, wherein the initial imaging comprises the size and the outline of the room to be detected; sending closing prompt information to the terminal, wherein the closing prompt information is used for prompting the closing of all doors and windows of the tested room; when all doors and windows of the room to be detected are in a closed state, perfecting initial imaging through the millimeter wave sensor, and determining the minimum leakage area of the room to be detected; sending opening prompt information to the terminal, wherein the opening prompt information is used for prompting the opening of all doors and windows of the tested room; and when all doors and windows of the room to be detected are in an open state, the initial imaging is perfected again through the millimeter wave sensor, and the maximum leakage area of the room to be detected is determined.
In summary, the door and window state detection method and apparatus, the server and the storage medium provided by the present invention are applied to the server, the server is in communication connection with both the air conditioner and the terminal, the air conditioner is equipped with the millimeter wave sensor, and the door and window state detection method includes: receiving millimeter wave data sent by an air conditioner, wherein the millimeter wave data is generated according to electromagnetic waves transmitted and received to a room to be tested by a millimeter wave sensor; determining the current void area of the room to be measured according to the millimeter wave data and the characteristic information of the room to be measured in advance; judging whether doors and windows of the room to be detected are in an open state or not based on the current empty area; when the door and window of the tested room is in an open state, prompt information is generated according to the current leakage area and is sent to the terminal. That is, this application can be based on whether the door and window in the room of being surveyed is in the open mode by the millimeter wave data detection of millimeter wave sensor collection in the air conditioner to can in time discover the door or the window of opening, and then guarantee the regulation and control effect and the energy saving of air conditioner, improve user experience.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. The door and window state detection method is applied to a server (20), the server (20) is in communication connection with an air conditioner (10) and a terminal (30), the air conditioner (10) is provided with a millimeter wave sensor, and the door and window state detection method comprises the following steps:
receiving millimeter wave data sent by the air conditioner (10), wherein the millimeter wave data is generated according to electromagnetic waves transmitted and received to a room to be tested by the millimeter wave sensor;
determining the current void area of the room to be measured according to the millimeter wave data and the characteristic information of the room to be measured in advance;
judging whether doors and windows of the room to be detected are in an open state or not based on the current empty leaking area;
when the door and window of the tested room is in an open state, generating prompt information according to the current empty leakage area and sending the prompt information to the terminal (30);
the characteristic information comprises the size and the outline of the tested room;
the step of determining the current leakage area of the room to be measured according to the millimeter wave data and the pre-measured characteristic information of the room to be measured comprises the following steps:
analyzing the millimeter wave data to obtain the distance and the angle of each target in the room to be measured relative to the air conditioner (10);
positioning each empty vertex of the room to be measured according to the distance and the angle of each target relative to the air conditioner (10) and the size and the outline of the room to be measured;
and calculating the current void area of the room to be detected according to each void vertex.
2. The door and window state detection method according to claim 1, wherein the characteristic information includes a minimum void area of the room under test;
the step of judging whether the door and window of the tested room is in an open state or not based on the current leakage area comprises the following steps:
comparing the current leakage area with the minimum leakage area;
when the current void leakage area is smaller than or equal to the minimum void leakage area, judging that a door and a window of the tested room are in a closed state;
and when the current void area is larger than the minimum void area, judging that the door and the window of the tested room are in an open state.
3. The door and window state detection method according to claim 2, wherein the characteristic information includes a maximum void area of the room to be detected;
the step of generating prompt information according to the current void area and sending the prompt information to the terminal (30) comprises the following steps:
calculating the difference value between the current leakage area and the minimum leakage area to obtain the current adjustable leakage area;
acquiring the maximum adjustable leakage area of the tested room, wherein the maximum adjustable leakage area is the difference value between the maximum leakage area and the minimum leakage area;
and comparing the current adjustable void area with the maximum adjustable void area, generating prompt information and sending the prompt information to the terminal (30).
4. The door and window state detection method according to claim 3, wherein the step of comparing the current adjustable void area with the maximum adjustable void area, generating prompt information and sending the prompt information to the terminal (30) comprises:
calculating the ratio of the current adjustable leakage area to the maximum adjustable leakage area to obtain a first ratio;
when the first ratio is smaller than or equal to a first preset threshold value, generating first prompt information and sending the first prompt information to the terminal (30), wherein the first prompt information is used for prompting that the door and window are not tightly closed;
when the first ratio is larger than the first preset threshold and smaller than or equal to a second preset threshold, second prompt information is generated and sent to the terminal (30), and the first prompt information is used for prompting that the door and the window are forgotten to be closed; when the first ratio is larger than the second preset threshold and smaller than or equal to a third preset threshold, third prompt information is generated and sent to the terminal (30), and the third prompt information is used for prompting that the door and window is opened greatly; and when the first ratio is larger than the third preset threshold, generating fourth prompt information and sending the fourth prompt information to the terminal (30), wherein the fourth prompt information is used for prompting detection abnormity.
5. The door and window state detection method according to claim 1, wherein the characteristic information of the room to be detected comprises a size and an outline of the room to be detected, a minimum leakage area and a maximum leakage area; the measuring process of the characteristic information comprises the following steps:
controlling a millimeter wave sensor installed in the air conditioner (10) to detect the room to be detected, and obtaining an initial imaging of the room to be detected, wherein the initial imaging comprises the size and the outline of the room to be detected; sending closing prompt information to the terminal (30), wherein the closing prompt information is used for prompting to close all doors and windows of the tested room;
when all doors and windows of the room to be tested are in a closed state, perfecting the initial imaging through the millimeter wave sensor, and determining the minimum leakage area of the room to be tested;
sending opening prompt information to the terminal (30), wherein the opening prompt information is used for prompting the opening of all doors and windows of the room to be tested;
and when all doors and windows of the room to be detected are in an open state, perfecting the initial imaging again through the millimeter wave sensor, and determining the maximum leakage area of the room to be detected.
6. The door and window state detection method according to claim 1, wherein before the step of receiving millimeter wave data transmitted by the air conditioner (10), the door and window state detection method further comprises:
and controlling a millimeter wave sensor installed in the air conditioner (10) to emit electromagnetic waves at preset time intervals, and detecting the room to be detected through the emitted electromagnetic waves.
7. The door and window state detection method according to claim 1, wherein before the step of receiving millimeter wave data transmitted by the air conditioner (10), the door and window state detection method further comprises:
when receiving a detection request sent by the terminal (30), controlling a millimeter wave sensor installed in the air conditioner (10) to emit electromagnetic waves, and detecting the room to be detected through the emitted electromagnetic waves.
8. The utility model provides a door and window state detection device, its characterized in that is applied to server (20), server (20) and air conditioner (10) and the equal communication connection of terminal (30), millimeter wave sensor is installed in air conditioner (10), door and window state detection device (100) include:
the receiving module (110) is used for receiving millimeter wave data sent by the air conditioner (10), wherein the millimeter wave data is generated according to electromagnetic waves transmitted and received to a room to be tested by the millimeter wave sensor; the determining module (120) is used for determining the current leakage area of the room to be measured according to the millimeter wave data and the characteristic information of the room to be measured in advance;
the judging module (130) is used for judging whether doors and windows of the tested room are in an open state or not based on the current empty area;
the sending module (140) is used for generating prompt information according to the current empty leakage area and sending the prompt information to the terminal (30) when a door and a window of the tested room are in an open state;
the characteristic information comprises the size and the outline of the tested room; the determination module (120) is specifically configured to: analyzing the millimeter wave data to obtain the distance and the angle of each target in the room to be measured relative to the air conditioner (10);
positioning each empty vertex of the room to be measured according to the distance and the angle of each target relative to the air conditioner (10) and the size and the outline of the room to be measured;
and calculating the current void area of the room to be detected according to each void vertex.
9. A server, characterized in that the server (20) is in communication connection with both an air conditioner (10) and a terminal (30), the air conditioner (10) is mounted with a millimeter wave sensor, the air conditioner (10) comprises:
one or more processors (21);
memory (22) for storing one or more programs which, when executed by the one or more processors (21), cause the one or more processors to implement the door and window state detection method according to any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor (21), carries out the door and window state detection method according to any one of claims 1 to 7.
CN201911115545.6A 2019-11-14 2019-11-14 Door and window state detection method and device, server and storage medium Active CN110794394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911115545.6A CN110794394B (en) 2019-11-14 2019-11-14 Door and window state detection method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911115545.6A CN110794394B (en) 2019-11-14 2019-11-14 Door and window state detection method and device, server and storage medium

Publications (2)

Publication Number Publication Date
CN110794394A CN110794394A (en) 2020-02-14
CN110794394B true CN110794394B (en) 2021-10-19

Family

ID=69444566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911115545.6A Active CN110794394B (en) 2019-11-14 2019-11-14 Door and window state detection method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN110794394B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394692A (en) * 2020-11-06 2021-02-23 珠海格力电器股份有限公司 Door and window state identification method and device, intelligent air conditioner, equipment and storage medium
CN112815497B (en) * 2021-01-14 2022-04-22 珠海格力电器股份有限公司 Air conditioner control method and device, storage medium and air conditioner

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201381735Y (en) * 2009-03-25 2010-01-13 汕头市龙湖区金珠小学 Door/window status monitoring device
US9804607B1 (en) * 2011-11-16 2017-10-31 Zane Coleman Fluid transfer systems, devices, components, and methods of manufacture
CN104676844B (en) * 2015-03-17 2017-06-06 广东美的暖通设备有限公司 Air conditioning control method and device
CN106123228A (en) * 2016-06-30 2016-11-16 珠海格力电器股份有限公司 The control device of air-conditioner and the method for door and window state-detection, device and air-conditioner
CN107120794B (en) * 2017-05-12 2019-12-31 青岛海尔空调器有限总公司 Air conditioner operation condition adjusting method and air conditioner
CN208239033U (en) * 2018-05-16 2018-12-14 珠海格力电器股份有限公司 The sealing state detection system and device of air-conditioning duct
CN109489187B (en) * 2018-09-25 2020-08-21 珠海格力电器股份有限公司 Control method and device and air conditioning device
CN109974215A (en) * 2019-03-12 2019-07-05 广东美的制冷设备有限公司 Progress control method, device, air conditioner and computer readable storage medium

Also Published As

Publication number Publication date
CN110794394A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110794394B (en) Door and window state detection method and device, server and storage medium
US9870690B2 (en) Methods and systems for a universal wireless platform for asset monitoring
CN108983213B (en) Method, device and equipment for determining static state of obstacle and storage medium
CN106907836B (en) A kind of energy-saving control system and control method, air-conditioning system of air-conditioning equipment
CN110850378B (en) Automatic calibration method and device for roadside radar equipment
TW201826232A (en) Parking space detection method and device
CN104517178B (en) Method and system for dynamic workflow prioritization and task allocation
US20190220268A1 (en) Gateway device, firmware update method, and computer readable medium
WO2020062066A1 (en) Estimation method, monitoring device and computer-readable storage medium
CN111383435B (en) Induction method, equipment and device based on infrared signals
CN112818281A (en) Method and equipment for calculating pollutant release rate of interior decoration material
CN114554503A (en) Method and device for confirming networking information and user equipment
WO2017211023A1 (en) Rapid confirmation method and device for antenna efficiency rf anechoic chamber test
CN108762468B (en) Low-power consumption control method and device
CN114689901A (en) Accelerometer on-site calibration method and device
CN106776330A (en) Application testing method and device and electronic equipment
CN109920199B (en) Radiation equipment alarm system based on parameter extraction
US20200065207A1 (en) System and method for analyzing power usage of an energy-aware computing system
CN111291239A (en) Unit testing method, device, equipment and storage medium
US20210270486A1 (en) Air Conditioner Control Method and Device and Air Conditioner
CN105628010A (en) Terminal compass calibrating method and system
US20190001497A1 (en) Robotic system and method of assembling an apparatus
JP7179230B1 (en) Modification of transmit and/or receive characteristics to detect events other than human presence
US20180018911A1 (en) Sensor information processing apparatus, sensor information processing method, and sensor information processing program
CN115760993A (en) Calibration parameter generation method, device, equipment and storage medium

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