Interferent elimination method and device, electronic equipment and computer readable storage medium
By detecting the indoor gas concentration and processing interfering objects according to the scene type and number of users, the problem of non-portrait sensors misdetecting interfering objects when detecting indoor human bodies is solved, and the accuracy of detection is improved.
Patent Information
- Application Number
- CN202311103039.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2025-02-28
AI Technical Summary
When the prior art detects whether a human body exists in the room through non-portrait sensors, it is easy to cause incorrect detection of indoor interference objects (such as curtains, fans, green plants, etc.), resulting in a decrease in detection accuracy.
The scene type is determined by detecting the target gas concentration in the target chamber. If it is an unmanned scene, the regularly moving object is added as a distractor to the preset list and a prompt message for deleting the distractor is output. If it is a human scene, the number of users is determined based on the gas concentration, and the indoor interferers are eliminated based on the list of interferers and the number of users.
It effectively reduces the impact of interfering objects on indoor detection and improves the accuracy of detection, especially in unmanned scenarios to determine the accuracy of interfering objects, and directly eliminates interfering objects in human scenarios to improve detection accuracy.
Smart Images

Figure CN119541672A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to an interference elimination method, device, electronic device and computer-readable storage medium. Background Art
[0002] Non-portable sensors (such as radar) can detect whether there is a human body in the room, and output the sleeping user's breathing, body movement, and monitor the user's sleep status, and report it to the cloud for record storage. However, since indoor interference objects (such as curtains, fans, green plants, etc.) have a frequency similar to human breathing, when indoor detection is performed by non-portable sensors, these interference objects will be mistaken for human bodies, resulting in false detection, which in turn reduces the accuracy of indoor detection. Summary of the invention
[0003] The main purpose of this application is to provide an interference elimination method, device, electronic device and computer-readable storage medium, aiming to solve the technical problem of how to reduce the impact of interference and improve the accuracy of detection when performing indoor detection.
[0004] To achieve the above object, the present application provides a method for eliminating interferences, which comprises the following steps:
[0005] Detecting a target gas concentration in a target room, and determining a scene type in the target room according to the target gas concentration;
[0006] If the scene type is an unmanned scene, the regularly moving object in the target room is added as an interference object to a preset interference object list, and a prompt message for deleting the interference object is output, wherein the movement frequency corresponding to the regularly moving object is a stable frequency;
[0007] If the scene type is a occupied scene, the number of users in the target room is determined according to the target gas concentration, and interferences in the target room are eliminated according to a preset interference list and the number of users.
[0008] Optionally, the step of determining the scene type in the target room according to the target gas concentration includes:
[0009] Determine the historical gas concentration in the target room when no one is in the scene, and establish a gas concentration threshold value according to the historical gas concentration;
[0010] If the target gas concentration is greater than the gas concentration threshold, determining that the scene type in the target room is a human scene;
[0011] If the target gas concentration is less than or equal to the gas concentration threshold, it is determined that the scene type in the target room is an unmanned scene.
[0012] Optionally, the step of adding the regularly moving objects in the target room as interference objects to a preset interference object list includes:
[0013] Determine the position of the regularly moving object in the target room, the stable frequency generated when the regularly moving object moves, use the regularly moving object as an interference object, the position of the regularly moving object as the position of the interference object, and the stable frequency as the frequency corresponding to the interference object;
[0014] The interferer, the location of the interferer and the frequency corresponding to the interferer are added to a preset interferer list.
[0015] Optionally, the step of determining the number of users in the target room according to the target gas concentration includes:
[0016] Matching the target gas concentration with a preset concentration reference comparison table to obtain a matching concentration reference that matches the target gas concentration, wherein the concentration reference comparison table includes a corresponding relationship between the number of users and the concentration reference;
[0017] The number of users corresponding to the matching concentration benchmark is used as the number of users in the target room.
[0018] Optionally, the step of matching the target gas concentration with a preset concentration reference comparison table to obtain a matching concentration reference that matches the target gas concentration includes:
[0019] If the target gas concentration includes the gas concentration within a preset time period, clustering the gas concentration within the preset time period to obtain at least one actual concentration reference;
[0020] The actual concentration reference is matched with a preset concentration reference comparison table to obtain a matched concentration reference.
[0021] Optionally, the step of eliminating interferences in the target room according to a preset interference list and the number of users includes:
[0022] If the number of users is at least two users, the location of the interferer in the target room and the frequency corresponding to the interferer are deleted according to a preset interferer list.
[0023] Optionally, the step of eliminating interferences in the target room according to a preset interference list and the number of users includes:
[0024] If the number of users is one user, the location of the target indoor interferer is determined according to a preset interferer list, and the probability of the interferer appearing at the location of the interferer is reduced.
[0025] In addition, to achieve the above-mentioned purpose, the present application also provides an interference elimination device, which includes:
[0026] A detection module, used to detect the target gas concentration in the target room, and determine the scene type in the target room according to the target gas concentration;
[0027] an adding module, for adding the regularly moving object in the target room as an interference object to a preset interference object list if the scene type is an unmanned scene, and outputting a prompt message for deleting the interference object, wherein the movement frequency corresponding to the regularly moving object is a stable frequency;
[0028] The determination module is used to determine the number of users in the target room according to the target gas concentration if the scene type is a occupied scene, and to eliminate the interference objects in the target room according to a preset interference object list and the number of users.
[0029] In addition, to achieve the above-mentioned purpose, the present application also provides an air conditioner, including a processor, a memory, and an interference elimination program stored in the memory and executable by the processor, wherein when the interference elimination program is executed by the processor, the steps of the interference elimination method as described above are implemented.
[0030] The present application also provides a computer-readable storage medium, on which is stored an interference elimination program, wherein when the interference elimination program is executed by a processor, the steps of the interference elimination method as described above are implemented.
[0031] In the embodiment of the present application, after the target gas concentration in the target room is detected, if the scene type in the target room is determined to be an unmanned scene according to the target gas concentration, the regularly moving object in the target room is added as an interference to the interference list, and a prompt message for deleting the interference is output; thereby, the interference can be determined when the target room is in an unmanned scene, which improves the accuracy of determining the interference in the target room, and since the motion frequency corresponding to the regularly moving object is a stable frequency, after the interference in the target room is added to the interference list, a prompt message for deleting the interference is output, so as to avoid the reduction of the accuracy of indoor detection due to the motion frequency generated by the interference when monitoring the user in the target room, such as when monitoring the sleep situation. In addition, if the scene type in the target room is determined to be a manned scene according to the target gas concentration, the number of users in the target room is determined according to the target gas concentration, and the interference in the target room is excluded according to the interference list and the number of users, so that when the user in the target room is detected, the interference can be directly excluded, thereby reducing the impact of the interference and improving the accuracy of detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a flow chart of the first embodiment of the interference elimination method of the present application;
[0033] Figure 2 A schematic diagram of the gas concentration change trend and the corresponding relationship with the number of people in the interference elimination method of this application;
[0034] Figure 3 A schematic diagram of a scenario for the interference elimination method of this application;
[0035] Figure 4 This is a schematic diagram of the overall process of the interference elimination method of this application;
[0036] Figure 5 This is a flow chart of the second embodiment of the interference elimination method of the present application;
[0037] Figure 6 This is a schematic diagram of a device module of the interference removal device of the present application;
[0038] Figure 7 This is a schematic diagram of the device structure of the hardware operating environment involved in the electronic device in this application.
[0039] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0041] At present, when detecting whether there is a user in the room or detecting the user's sleep situation through a non-portable sensor, etc., the non-human interference objects (such as curtains, fans and green plants, etc.) in the room will produce a frequency similar to human breathing, which leads to low accuracy of indoor detection through non-portable sensors. Therefore, in the embodiment of the present application, in order to eliminate the influence of non-human interference objects (i.e. interference objects other than users), non-contact sleep sensors (such as radars for sleep monitoring) are used to actively exclude non-human interference objects such as curtains, fans and green plants to improve accuracy. And it is through the fusion of millimeter-wave radar detection of whether there is a user in the room, the user's breathing rate, and the indoor gas detected by gas sensors, such as carbon dioxide, TVOC (Total Volatile Organic Compounds, total volatile organic compounds), etc. It is achieved to accurately count the number of users in the indoor night sleep process and exclude non-human interference objects in the room, thereby improving the accuracy of indoor detection.
[0042] Furthermore, in the embodiment of the present application, the indoor environment can be detected by non-contact sensors (i.e., non-portable sensors) such as millimeter wave radar and carbon dioxide sensor. Optionally, the millimeter wave radar and carbon dioxide sensor can be integrated into the air conditioner, and the data detected by the millimeter wave radar and carbon dioxide sensor can be sent to a terminal that controls the air conditioner, such as a mobile phone, an air conditioner remote control, etc.
[0043] Optionally, the millimeter wave radar can detect whether there is a human body in the room, the target distance (such as the distance between the interference object and the millimeter wave radar), the human breathing rate and / or the confidence of the breathing rate, the human movement, etc. Optionally, the carbon dioxide sensor can detect the indoor concentration percentage (ppm) of nitrogen dioxide. Optionally, the interference of the indoor interference object is not continuous, but short-term.
[0044] Reference Figure 1 The present application provides a method for eliminating interference. In a first embodiment of the method for eliminating interference, the method for eliminating interference includes:
[0045] Step S10, detecting the target gas concentration in the target room, and determining the scene type in the target room according to the target gas concentration;
[0046] In this embodiment, the target room may be a room where a gas detection sensor and a non-portable sensor are installed, such as a bedroom. The gas detection sensor may be a carbon dioxide sensor. The non-portable sensor may be a millimeter wave radar.
[0047] Optionally, the target gas may be carbon dioxide or other gases used to detect the number of human bodies (i.e., the number of users). The target gas concentration may be the concentration of carbon dioxide or the concentration of TVOC. In this embodiment, only the concentration of carbon dioxide is used as an example. The scene type can be divided into unmanned scenes and manned scenes according to whether there are users in the target room. It can also be divided more finely according to user needs. For example, it can be divided into unmanned scenes, one-person scenes, and multi-person scenes. In this embodiment, only unmanned scenes and manned scenes are used as examples.
[0048] Optionally, indoor ventilation or air circulation is maintained in the target room during the day or before use, so that the concentration of the target gas (such as carbon dioxide) is kept below a standard value, such as below 500ppm, when no one is indoors. Optionally, it can be assumed that in the target room, after the user is ready to go to sleep and turns on the air conditioner, the room forms a nearly closed space, and the user falls asleep (such as with a stable breathing rate) through the millimeter wave radar. At this time, the concentration and equilibrium value of the target gas will have obvious differences with the change of the number of users. For example, when there are users in the room and the number of users remains unchanged within 1 hour, the concentration of the target gas in the target room will reach a relatively stable value, that is, the equilibrium value.
[0049] Optionally, when the target gas in the target room reaches a relatively balanced state, the concentration percentage of the target gas in the target room is detected to obtain the target gas concentration. Optionally, when obtaining the target gas concentration, the gas concentration in the target room over a period of time may be first collected, such as the gas concentration in the target room within a day, and then a trend graph of the gas concentration in the target room may be constructed based on the collected gas concentration and the collection time, and the gas concentration within a preset time period may be selected as the target gas concentration based on the trend graph, such as the gas concentration between 2 pm and 3 pm, or the gas concentration at a time point may be selected as the target gas concentration, such as the gas concentration at 9 pm. Optionally, the gas concentration in the target room may be collected in real time, and the real-time collected gas concentration may be used as the target gas concentration.
[0050] Optionally, the scene type in the target room is determined according to the concentration of the target gas, such as an unmanned scene or a manned scene.
[0051] Optionally, in a scenario, when determining the scene type in the target room, the scene type in the target room may also be determined in combination with the current time (such as day or night) and the size of the target gas concentration.
[0052] Step S20, if the scene type is an unmanned scene, the regularly moving object in the target room is added as an interference object to a preset interference object list, and a prompt message for deleting the interference object is output, wherein the motion frequency corresponding to the regularly moving object is a stable frequency;
[0053] Optionally, when it is determined that the scene type in the target room is an unmanned scene, the millimeter-wave radar can be used to perform frequency detection on the target room. If the detection finds that there is a relatively stable motion frequency in the target room, it can be determined that there is a regularly moving object in the target room. That is, the motion frequency detected by the millimeter-wave radar for the regularly moving object is a stable frequency. For example, under the condition of open windows for ventilation, the curtains swing regularly when no one is in the target room, and the curtains are determined to be regularly moving objects. For example, in a closed room, an electric fan that shakes its head determines that the electric fan is a regularly moving object. For example, in a closed room, curtains and green plants that swing due to the air conditioning wind are determined to be regularly moving objects.
[0054] Optionally, a list of distractors corresponding to the target room may be constructed in advance. Optionally, if there are multiple rooms (ie, multiple target rooms), a list of distractors corresponding to each room may be created.
[0055] Optionally, the regularly moving objects in the target room can be added as interferences to the interference list. Optionally, the regularly moving objects in the target room can be output first, such as displaying the regularly moving objects in the target room in the user's handheld terminal, or performing voice playback, etc. And when the user's confirmation interference information is detected, the regularly moving objects are added as interferences to the interference list. Optionally, after the regularly moving objects in the target room are added to the interference list, a prompt message for deleting the interference can be output, so that the user can delete the interference when operating to generate a sleep report in the target room, reduce the impact of the interference, avoid generating an erroneous sleep report, etc.
[0056] Step S30: If the scene type is a occupied scene, the number of users in the target room is determined according to the target gas concentration, and interferences in the target room are eliminated according to a preset interference list and the number of users.
[0057] Optionally, when it is determined that the scene type in the target room is a scene with people, the number of people in the target room, that is, the number of users, can be determined based on the target gas concentration in the target room. Optionally, the gas concentration within a certain period of time can be clustered using the KMeans algorithm (clustering algorithm) to obtain the gas concentration range corresponding to different numbers of people in the target room. The target gas concentration can also be clustered in the same way to obtain the number of users in the target room. For example, Figure 2 As shown in the figure, the number of people corresponding to different target gas concentrations is different. Figure 2 The target gas concentrations at different time points in the target room are shown in the figure, as well as the number of people corresponding to different gas concentrations, such as no one, 1 person, 2 people, and 3 people.
[0058] Optionally, when it is determined that there are multiple users and there are interferers in the interferer list, the interferers in the target room may be excluded, and only each user is monitored, such as sleep monitoring, to generate a corresponding sleep report.
[0059] Optionally, a list of interferences corresponding to the target room can be set in advance. And the long-term data at T0 time can be clustered by Kmeans algorithm to distinguish different concentration benchmarks, such as C0, C1, C2 and C3, and then a list of interferences can be constructed based on this. Optionally, the list of interferences for no one, 1 person, 2 people, and 3 people can be shown in Table 1 below.
[0060] Number of people Concentration standard Typical concentration (ppm) unmanned C0 400-600 1 person C1 1000±100 2 people C2 2000±200 3 people C3 3000±200
[0061] Table 1
[0062] In an unmanned scenario, the carbon dioxide concentration can be determined in the following way. When the gas detection sensor and the non-portable sensor are in operation, the target gas concentration data when no human body is present in the target room is selected by the millimeter-wave radar monitoring, such as the carbon dioxide concentration data Ct, and Ct needs to satisfy the gas concentration data variance during this period of time (i.e., the time period when there is no user in the target room) is less than the first threshold TH1. In an unmanned scenario, C0=mean(Ct)+3*std(Ct), t∈{T│Radar=Nobody&&std(Ct)<TH1}.
[0063] In a human-occupied scenario, the carbon dioxide concentration can be determined in the following way.
[0064] C i =Kmeans(Ct, 3), t∈{T│Radar=Exist&&std(Ct)<TH1}.
[0065] And, C i -C i-1 >300, otherwise, merge the categories and get C i .
[0066] Among them, i can be a natural number such as 1, 2, 3, etc. i It can represent the concentration benchmark in a manned scene. C0 can represent the concentration benchmark in an unmanned scene. mean can be the mean. std can be the variance. Radar can be the radar. Nobody can represent an unmanned scene, and Exist can represent a manned scene. TH1 can represent the gas concentration threshold. Kmeans can represent a K-means clustering algorithm.
[0067] In addition, to assist in understanding the interference elimination method in this embodiment, an example is given below.
[0068] For example, Figure 3 As shown, the device side is provided with S01 non-contact sleep detection module, such as millimeter wave radar, S02 environmental monitoring module (including carbon dioxide module, temperature and humidity module, PM2.5 module, TVOC module), data fusion module, main controller (MCU), S03 air conditioner (indoor unit, if equipped with fresh air function, fresh air volume information can be read), WIFI module. The server side connected to the device side includes APP side, loT server and algorithm server.
[0069] Optionally, the user places the Air Cube on the bedside table in the target room. At this time, the best human signal-to-noise ratio and the rate of increase of carbon dioxide concentration can be obtained. Since the Air Cube is closest to the human body, the gas concentration thresholds of scenes with people and scenes without people can be better distinguished. When there is outdoor wind or natural wind blowing the curtains, the radar will detect the presence of interference. In the unmanned scene, that is, when the carbon dioxide concentration in the target room is less than the gas concentration threshold, the movement frequency of the interference is locked and recorded in the interference list. The user is prompted in the APP whether it is an actual interference. If the user's confirmation information is detected, the frequency and position of the interference are deleted in the subsequent calculation to reduce false alarms.
[0070] In addition, refer to Figure 4 , the principle of the interference elimination process of the present application can be to count the CO2 concentration in the unmanned scene during the day and the CO2 concentration in the scene with people sleeping at night. For the unmanned scene, select the CO2 concentration that is 95% of the CO2 concentration in the unmanned scene to obtain the unmanned threshold C0. When there is no one and there is a regularly moving object, the regularly moving object is added as a target into the obstacle list, that is, the interference list. And prompt the user to delete it, so as to avoid recording the obstacle and generating an error report during the day. For the manned scene, Kmeans is used to classify the CO2 concentration in the manned scene to obtain C1, C2...; according to C0 and the manned threshold, the number of people in the room is judged. Among them, for 1 user, the probability of the target appearing at the obstacle position is reduced, and for 2 users, the target at D is deleted to improve the signal-to-noise ratio. Among them, the target at D can be the target at the obstacle position. The obstacle position can be the location of the interference. The target can be an interference.
[0071] In this embodiment, after detecting the target gas concentration in the target room, if the scene type in the target room is determined to be an unmanned scene according to the target gas concentration, the regularly moving object in the target room is added as an interference to the interference list, and a prompt message for deleting the interference is output; thereby, it is possible to determine the interference when the target room is in an unmanned scene, thereby improving the accuracy of determining the interference in the target room, and since the motion frequency corresponding to the regularly moving object is a stable frequency, after adding the interference in the target room to the interference list, a prompt message for deleting the interference is output, so as to avoid the reduction of the accuracy of indoor detection due to the motion frequency generated by the interference when monitoring the user in the target room, such as monitoring the sleep situation. In addition, if the scene type in the target room is determined to be a manned scene according to the target gas concentration, the number of users in the target room is determined according to the target gas concentration, and the interference in the target room is excluded according to the interference list and the number of users, thereby reducing the impact of the interference when detecting the user in the target room, thereby improving the accuracy of detection.
[0072] Further, based on the above-mentioned first embodiment of the present application, a second embodiment of the interference elimination method of the present application is proposed. In this embodiment, referring to Figure 5 The above step S10, the step of determining the scene type in the target room according to the target gas concentration, comprises:
[0073] Step a, determining the historical gas concentration in the target room when no one is in the scene, and establishing a gas concentration threshold value according to the historical gas concentration;
[0074] Step b, if the target gas concentration is greater than the gas concentration threshold, determining that the scene type in the target room is a human scene;
[0075] Step c: if the target gas concentration is less than or equal to the gas concentration threshold, determining that the scene type in the target room is an unmanned scene.
[0076] In this embodiment, the historical gas concentration can be tested or set by the user in advance, for example, when the target room is in an unmanned scene, the gas concentration is maintained below 500ppm. Then the historical gas concentration can be determined to be 500ppm. At this time, when constructing the gas concentration threshold, the historical gas concentration can be directly selected as the gas concentration threshold. Optionally, a certain proportion of the historical gas concentration can be selected as the gas concentration threshold, such as selecting 95% of the historical gas concentration as the gas concentration threshold.
[0077] Optionally, the target gas concentration is compared with a gas concentration threshold, and if the target gas concentration is greater than the gas concentration threshold, the scene type in the target room can be determined to be a human scene. If the target gas concentration is less than or equal to the gas concentration threshold, the scene type in the target room can be determined to be an unmanned scene.
[0078] Optionally, if the target room is a bedroom, in general, users only go to the bedroom to sleep at night and basically do not go to the bedroom during the day. In order to improve the accuracy of determining the scene type in the target room, it can be determined whether it is daytime or nighttime. If it is daytime and the target gas concentration is less than or equal to the gas concentration threshold, the scene type in the target room can be determined as an unmanned scene. If it is nighttime and the target gas concentration is greater than the gas concentration threshold, the scene type in the target room can be determined as a manned scene.
[0079] In this embodiment, a gas concentration threshold is set based on the historical gas concentration in an unmanned scene, and the scene type in the target room is determined to be a manned scene or an unmanned scene based on the comparison result between the target gas concentration and the gas concentration threshold, thereby ensuring the accuracy of determining the scene type in the target room.
[0080] Furthermore, the step of adding the regularly moving objects in the target room as interference objects to a preset interference object list includes:
[0081] Step d, determining the position of the regularly moving object in the target room, the stable frequency generated when the regularly moving object moves, taking the regularly moving object as an interference object, the position of the regularly moving object as the position of the interference object, and the stable frequency as the frequency corresponding to the interference object;
[0082] Step e: adding the interferer, the location of the interferer and the frequency corresponding to the interferer to a preset interferer list.
[0083] In this embodiment, the target room can be detected by millimeter wave radar, and when a target with a stable frequency is detected, it is regarded as a regularly moving object, and the position of the regularly moving object and the corresponding stable frequency are determined, and then output to the terminal held by the user. When the confirmation interference object information input by the user is received, the regularly moving object is regarded as an interference object, the position of the regularly moving object is regarded as the position of the interference object, and the stable frequency is regarded as the frequency corresponding to the interference object.
[0084] Optionally, since the amplitude of human motion is much larger than the amplitude of human breathing and the amplitude of curtain swinging, the radar can effectively identify the motion frequency and position of the interference object, and will not be confused with the accidental entry of the human body. The position Di and frequency Fi of the interference object can be determined by radar detection, that is: Di = Peak│(Ct≤C0), Fi = F(Di). Based on this method, after determining the position of the interference object in the target room (i.e., the location of the interference object) and the frequency corresponding to the interference object, the identifier corresponding to the interference object, the location of the interference object, and the frequency corresponding to the interference object can be added to the interference object list.
[0085] In this embodiment, the interference object, its location and the frequency corresponding to the interference object are determined according to the location of the regularly moving object in the target room and the corresponding stable frequency, and added to the interference object list, thereby ensuring the accuracy of determining the interference object in the target room.
[0086] Furthermore, the step of determining the number of users in the target room according to the target gas concentration includes:
[0087] Step f, matching the target gas concentration with a preset concentration reference comparison table to obtain a matching concentration reference that matches the target gas concentration, wherein the concentration reference comparison table includes a corresponding relationship between the number of users and the concentration reference;
[0088] Step g: taking the number of users corresponding to the matching concentration benchmark as the number of users in the target room.
[0089] In this embodiment, a concentration reference comparison table constructed in advance may be obtained first. For example, Table 1 in the above embodiment may be used as the concentration reference comparison table, and the number of people in Table 1 may be used as the number of users.
[0090] Optionally, the target gas concentration can be directly matched with the concentration typical value in the concentration benchmark comparison table to determine the concentration typical value that matches the target gas concentration, and the concentration benchmark corresponding to the matched concentration typical value in the concentration benchmark comparison table is used as the matching concentration benchmark. Then, the number of users corresponding to the matching concentration benchmark in the concentration benchmark comparison table is used as the number of users in the target room. For example, if the target gas concentration is 1000ppm, the matching concentration benchmark is determined to be C1 according to the concentration benchmark comparison table, and the number of users in the target room is 1 person.
[0091] In this embodiment, a matching concentration benchmark that matches the target gas concentration in the concentration benchmark comparison table is determined, and the number of users corresponding to the matching concentration benchmark is used as the number of users in the target room, thereby ensuring the accuracy of the determined number of users.
[0092] Furthermore, the step of matching the target gas concentration with a preset concentration reference comparison table to obtain a matching concentration reference that matches the target gas concentration includes:
[0093] Step h, if the target gas concentration includes the gas concentration within a preset time period, clustering the gas concentration within the preset time period to obtain at least one actual concentration reference;
[0094] Step i, matching the actual concentration reference with a preset concentration reference comparison table to obtain a matching concentration reference.
[0095] In this embodiment, if the target gas concentration is the gas concentration within a preset time period, such as the gas concentration from 9 pm to 10 pm, the gas concentration within the preset time period can be clustered, such as using a KMeans algorithm to cluster the gas concentration within the preset time period to obtain at least one actual concentration benchmark.
[0096] Optionally, the actual concentration benchmark is matched with the concentration benchmark comparison table. Optionally, the gas concentration value corresponding to the actual concentration benchmark can be compared with the concentration typical value corresponding to each concentration benchmark in the concentration benchmark comparison table, and the matching concentration typical value closest to the gas concentration value corresponding to the actual concentration benchmark is determined among the concentration typical values, and the concentration benchmark corresponding to the matching concentration typical value is used as the matching concentration benchmark, and the number of users corresponding to the matching concentration benchmark is used as the number of users in the target room.
[0097] Optionally, if the target gas concentration is the gas concentration at a certain time node, the target gas concentration can be directly compared with the typical concentration values in the concentration benchmark comparison table to determine the matching concentration typical value closest to the target gas concentration, and the concentration benchmark corresponding to the matching concentration typical value can be used as the matching concentration benchmark, and the number of users corresponding to the matching concentration benchmark can be used as the number of users in the target room.
[0098] In this embodiment, by performing clustering processing when determining the target gas concentration including the gas concentration in a preset time period, at least one actual concentration benchmark is obtained, and the actual concentration benchmark is matched with the concentration benchmark comparison table to obtain a matching concentration benchmark, thereby ensuring the accuracy of the determined matching concentration benchmark, and thereby ensuring the accuracy of the determined number of users in the target room.
[0099] Furthermore, the step of eliminating the interference objects in the target room according to the preset interference object list and the number of users includes:
[0100] Step j: if the number of users is at least two, deleting the location of the interferer in the target room and the frequency corresponding to the interferer according to a preset interferer list.
[0101] In this embodiment, if the number of users in the target room is determined to be at least two users based on the target gas concentration, that is, when there are multiple users in the target room, it can be determined whether there are interferers in the target room based on the interferer list. If there are interferers, the location of the interferers in the target room and the frequency corresponding to the interferers can be directly determined based on the interferer list, and when collecting the frequency in the target room through the radar, the location of the interferers in the target room and the frequency corresponding to the interferers at the location of the interferers are deleted. This reduces the interference of the interferers and improves the accuracy of the radar detection of the target room, such as improving the accuracy of the detection of the sleeping conditions of the users in the target room.
[0102] Furthermore, the step of eliminating the interference objects in the target room according to the preset interference object list and the number of users includes:
[0103] Step k: if the number of users is one, the location of the target indoor interferer is determined according to a preset interferer list, and the probability of the interferer appearing at the location of the interferer is reduced.
[0104] In this embodiment, if the number of users in the target room is determined to be one user based on the target gas concentration, it can be determined whether there is an interferer in the target room based on the interferer list. If there is an interferer, the location of the interferer in the target room and the frequency corresponding to the interferer can be directly determined based on the interferer list. The probability of the interferer appearing at the location of the interferer is reduced, and the probability of the interferer being selected at the location of the interferer is further reduced, so as to avoid the phenomenon of misjudging the user as an interferer.
[0105] Further, refer to Figure 6 The present application also provides an interference elimination device, the interference elimination device comprising:
[0106] A detection module A10, used to detect the target gas concentration in the target room, and determine the scene type in the target room according to the target gas concentration;
[0107] An adding module A20 is used for adding the regularly moving object in the target room as an interference object to a preset interference object list if the scene type is an unmanned scene, and outputting a prompt message for deleting the interference object, wherein the movement frequency corresponding to the regularly moving object is a stable frequency;
[0108] The determination module A30 is used to determine the number of users in the target room according to the target gas concentration if the scene type is a occupied scene, and eliminate the interferers in the target room according to a preset interferer list and the number of users.
[0109] Optionally, the detection module A10 is used to:
[0110] Determine the historical gas concentration in the target room when no one is in the scene, and establish a gas concentration threshold value according to the historical gas concentration;
[0111] If the target gas concentration is greater than the gas concentration threshold, determining that the scene type in the target room is a human scene;
[0112] If the target gas concentration is less than or equal to the gas concentration threshold, it is determined that the scene type in the target room is an unmanned scene.
[0113] Optionally, add module A20 for:
[0114] Determine the position of the regularly moving object in the target room, the stable frequency generated when the regularly moving object moves, use the regularly moving object as an interference object, the position of the regularly moving object as the position of the interference object, and the stable frequency as the frequency corresponding to the interference object;
[0115] The interferer, the location of the interferer and the frequency corresponding to the interferer are added to a preset interferer list.
[0116] Optionally, the determination module A30 is used to:
[0117] Matching the target gas concentration with a preset concentration reference comparison table to obtain a matching concentration reference that matches the target gas concentration, wherein the concentration reference comparison table includes a corresponding relationship between the number of users and the concentration reference;
[0118] The number of users corresponding to the matching concentration benchmark is used as the number of users in the target room.
[0119] Optionally, the determination module A30 is used to:
[0120] If the target gas concentration includes the gas concentration within a preset time period, clustering the gas concentration within the preset time period to obtain at least one actual concentration reference;
[0121] The actual concentration reference is matched with a preset concentration reference comparison table to obtain a matched concentration reference.
[0122] Optionally, the determination module A30 is used to:
[0123] If the number of users is at least two users, the location of the interferer in the target room and the frequency corresponding to the interferer are deleted according to a preset interferer list.
[0124] Optionally, the determination module A30 is used to:
[0125] If the number of users is one user, the location of the target indoor interferer is determined according to a preset interferer list, and the probability of the interferer appearing at the location of the interferer is reduced.
[0126] The specific implementation of the interference removal device of the present application is basically the same as the embodiments of the interference removal method described above, and will not be repeated here.
[0127] In addition, the present application also provides an electronic device, which includes a memory, a processor, and an interference elimination program stored in the memory and executable on the processor. When the interference elimination program is executed by the processor, the steps of the interference elimination method as described above are implemented.
[0128] Furthermore, in one embodiment, Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 7As shown, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services. The processor, network interface and memory can be interconnected through an internal bus, and the internal bus can be an ISA (Industry Standa rd Architecture, Industrial Standard Architecture) bus, a PCI (Peripheral Component Interconnect, Peripheral Component Interconnect Standard) bus or an EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus. The memory is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a shared resource access control device at the logical level. The processor executes the program stored in the memory and is specifically used to execute the steps of the above interference elimination method.
[0129] The specific implementation of the electronic device of the present application is basically the same as the embodiments of the above-mentioned interference elimination method, and will not be repeated here.
[0130] In addition, the present application also provides a computer-readable storage medium. The computer-readable storage medium of the present application stores an interference elimination program, wherein when the interference elimination program is executed by a processor, the steps of the interference elimination method as described above are implemented.
[0131] Among them, the method implemented when the interference elimination program is executed can refer to the various embodiments of the interference elimination method of the present application, and will not be repeated here.
[0132] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0133] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0134] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0135] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0136] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0137] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0138] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. All equivalent structural changes made by using the contents of the present application specification and drawings under the inventive concept of the present application, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for eliminating interferences, characterized in that: The interference elimination method comprises the following steps: Detecting a target gas concentration in a target room, and determining a scene type in the target room according to the target gas concentration; If the scene type is an unmanned scene, the regularly moving object in the target room is added as an interference object to a preset interference object list, and a prompt message for deleting the interference object is output, wherein the movement frequency corresponding to the regularly moving object is a stable frequency; If the scene type is a occupied scene, the number of users in the target room is determined according to the target gas concentration, and interferences in the target room are eliminated according to a preset interference list and the number of users.
2. The interference elimination method according to claim 1, characterized in that: The step of determining the scene type in the target room according to the target gas concentration includes: Determine the historical gas concentration in the target room when no one is in the scene, and establish a gas concentration threshold value according to the historical gas concentration; If the target gas concentration is greater than the gas concentration threshold, determining that the scene type in the target room is a human scene; If the target gas concentration is less than or equal to the gas concentration threshold, it is determined that the scene type in the target room is an unmanned scene.
3. The interference elimination method according to claim 1, characterized in that: The step of adding the regularly moving objects in the target room as interference objects to a preset interference object list includes: Determine the position of the regularly moving object in the target room, the stable frequency generated when the regularly moving object moves, use the regularly moving object as an interference object, the position of the regularly moving object as the position of the interference object, and the stable frequency as the frequency corresponding to the interference object; The interferer, the location of the interferer and the frequency corresponding to the interferer are added to a preset interferer list.
4. The interference elimination method according to claim 1, characterized in that: The step of determining the number of users in the target room according to the target gas concentration comprises: Matching the target gas concentration with a preset concentration reference comparison table to obtain a matching concentration reference that matches the target gas concentration, wherein the concentration reference comparison table includes a corresponding relationship between the number of users and the concentration reference; The number of users corresponding to the matching concentration benchmark is used as the number of users in the target room.
5. The interference elimination method according to claim 4, characterized in that: The step of matching the target gas concentration with a preset concentration reference comparison table to obtain a matching concentration reference that matches the target gas concentration includes: If the target gas concentration includes the gas concentration within a preset time period, clustering the gas concentration within the preset time period to obtain at least one actual concentration reference; The actual concentration reference is matched with a preset concentration reference comparison table to obtain a matched concentration reference.
6. The interference elimination method according to claim 1, characterized in that: The step of eliminating interferences in the target room according to the preset interference list and the number of users includes: If the number of users is at least two users, the location of the interferer in the target room and the frequency corresponding to the interferer are deleted according to a preset interferer list.
7. The interference elimination method according to claim 1, characterized in that: The step of eliminating interferences in the target room according to the preset interference list and the number of users includes: If the number of users is one user, the location of the target indoor interferer is determined according to a preset interferer list, and the probability of the interferer appearing at the location of the interferer is reduced.
8. An interference removal device, characterized in that: The interference removing device comprises: A detection module, used to detect the target gas concentration in the target room, and determine the scene type in the target room according to the target gas concentration; an adding module, for adding the regularly moving object in the target room as an interference object to a preset interference object list if the scene type is an unmanned scene, and outputting a prompt message for deleting the interference object, wherein the movement frequency corresponding to the regularly moving object is a stable frequency; The determination module is used to determine the number of users in the target room according to the target gas concentration if the scene type is a occupied scene, and to eliminate the interference objects in the target room according to a preset interference object list and the number of users.
9. An electronic device, characterized in that: The electronic device includes a processor, a memory, and an interference elimination program stored in the memory and executable by the processor, wherein when the interference elimination program is executed by the processor, the steps of the interference elimination method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an interference elimination program, wherein when the interference elimination program is executed by a processor, the steps of the interference elimination method according to any one of claims 1 to 7 are implemented.