Intelligent door control method and system
By monitoring the situation of people inside and outside the smart door in real time, using face recognition and height and weight analysis technology, the problem of invalid alarm and insufficient security of the smart door is solved, and more efficient door control and security guarantee is achieved.
Patent Information
- Application Number
- CN202411739042.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Smart doors are prone to invalid alarms during use, which affects the user experience, and has insufficient security, making it difficult to effectively monitor the personnel situation inside and outside the room.
By acquiring the door usage status and recognizing it, combining face recognition technology and height and weight analysis technology, the situation of people inside and outside the door is monitored in real time, and corresponding alarms or safety signals are output to achieve automatic control of the door.
It improves the use effect of smart doors, enhances the monitoring capabilities of people inside and outside the door, reduces invalid alarms, and improves user experience and security.
Smart Images

Figure CN119516653A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of door control technology, and in particular to an intelligent door control method and system. Background Art
[0002] Smart doors are new security doors that integrate intelligent locks, security systems, alarm systems, etc. on the basis of traditional security doors through emerging technologies and the concept of the Internet of Things, and are linked to smart homes through access to the Internet. Smart doors usually have multiple unlocking methods, real-time video monitoring, and interconnection with smart home devices, which can provide more advanced security and convenient user experience than traditional security doors.
[0003] In the related art, the alarm system of the smart door includes a normally open alarm function, that is, when it is detected that the door is in an open state for a long time, it can be determined that the user has forgotten to close the door. At this time, a corresponding alarm signal will be output to be transmitted to the electronic devices that are electrically connected to each other, and the alarm device installed on the door will be controlled to emit an alarm sound so that the user can be informed of the situation in time.
[0004] In the above-mentioned related technologies, when the odor in the room is serious (for example, eating hot pot in the room), the user may open the door to increase the air circulation channel in order to speed up the dissipation of the odor in the room. At this time, the door will alarm after being opened for a period of time. This alarm is an invalid alarm. The alarm sound emitted by the alarm device will cause certain interference to the user. If the alarm system is turned off, since the user cannot continuously monitor whether someone enters the room, outsiders may enter the room, resulting in lower security. Therefore, the overall use effect of the current smart door is poor during use, and there is still room for improvement. Summary of the invention
[0005] In order to improve the overall use effect of smart doors, the present application provides a smart door control method and system.
[0006] In a first aspect, the present application provides a smart door control method, which adopts the following technical solution:
[0007] An intelligent door control method, comprising:
[0008] Get the door usage status;
[0009] When the door usage status is consistent with the preset opening status, the preset opening time is controlled to count down, and when the opening time returns to zero, an opening signal is output to obtain the identification status of the person inside the door;
[0010] Determine whether the identification status of the person inside the door is consistent with the preset successful identification status;
[0011] If the identification status of the person inside the door is inconsistent with the successful identification status, an alarm signal is output;
[0012] If the identification status of the person inside the door is consistent with the successful identification status, the detection device of the preset detection area is activated, and the area identification status of the detection area is obtained in real time according to the detection device, wherein the detection area is at a position corresponding to the front of the door;
[0013] Determine whether the area recognition state is consistent with the preset existence recognition state;
[0014] If the area recognition state is consistent with the existence recognition state, an alarm signal is output;
[0015] If the area recognition state is inconsistent with the existence recognition state, a safety signal is output.
[0016] Optionally, the steps of obtaining the identification status of the person inside the door include:
[0017] Establishing an identification interval with the current time point as the end point and a width of the preset identification time length on the preset time axis, wherein the identification time length is less than the opening time length;
[0018] Acquire the spatial image of the gate at each time point in the recognition interval;
[0019] Perform feature recognition in the image of the space inside the door to determine the facial features of the person;
[0020] Determining whether there is at least one facial feature of a person in a preset authorized person feature set;
[0021] If there is not at least one person's facial feature in the authorized person feature set, the preset unrecognizable state is determined as the person recognition state inside the door;
[0022] If there is at least one facial feature of a person in the authorized person feature set, the preset successful recognition state is determined as the person recognition state inside the door.
[0023] Optionally, if the area recognition state is consistent with the existence recognition state, the intelligent door control method further includes:
[0024] Acquire detected facial features of a person in the detection area;
[0025] A statistical interval with a preset statistical duration is established on the time axis with the current time point as the rear end point, and the facial features of each person are counted in the statistical interval to determine the number of statistical occurrences;
[0026] Calculate the occurrence ratio of a single entity based on the number of occurrences and the preset overall number of statistics;
[0027] The facial features of the person whose single-unit appearance ratio is greater than the preset benchmark ratio are defined as authorized qualified features, and all authorized qualified features are combined to construct a qualified feature set;
[0028] Determine whether the detected facial features are within the qualified feature set;
[0029] If the detected facial features are within the qualified feature set, a safety signal is output;
[0030] If the detected facial features are not within the qualified feature set, an alarm signal is output.
[0031] Optionally, if the detected facial features are within the qualified feature set, the intelligent door control method further includes:
[0032] Obtain the current height and weight of the current person in the detection area;
[0033] In the statistical interval, a time point at which the detected facial feature appears is defined as an existence time point, and an existence time point closest to the current time point is defined as an analysis time point;
[0034] According to the analysis time point, the historical height and historical weight of the current personnel are obtained;
[0035] The height deviation value is determined by performing a difference calculation based on the current height of the person and the historical height of the person, and the weight deviation value is determined by performing a difference calculation based on the current weight of the person and the historical weight of the person;
[0036] Determine whether the height deviation value is less than the preset height allowable deviation value and whether the weight deviation value is less than the preset weight allowable deviation value;
[0037] If the height deviation value is less than the height allowable deviation value and the weight deviation value is less than the weight allowable deviation value, a safety signal is output;
[0038] If the height deviation value is not less than the allowable height deviation value or the weight deviation value is not less than the allowable weight deviation value, an alarm signal is output.
[0039] Optionally, after the opening time is returned to zero, the intelligent door control method further includes:
[0040] In the statistical interval, the output starting point of each opening signal is obtained, and the single opening duration is determined according to the output starting point;
[0041] Randomly select a single opening duration from all single opening durations as the standard opening duration, and define the remaining single opening durations as comparative opening durations;
[0042] Calculate based on the standard opening time and all the comparative opening times to determine the duration representative value;
[0043] The duration representative value with the largest value is determined according to the preset sorting rules, and the standard opening duration corresponding to the duration representative value is defined as the current opening duration. After the current opening signal outputs the current opening duration, the door is automatically controlled to adjust to the preset closed state.
[0044] Optionally, after the output starting point is determined, the intelligent door control method further includes:
[0045] Determine the current existence time of the first person according to the current image of the space inside the door, and determine the existence time of the second person according to the image of the space inside the door at the output starting point;
[0046] Calculate the difference based on the existence time of the first person and the existence time of the second person to determine the existence difference time;
[0047] When the difference duration is less than the preset equal duration, the single opening duration is determined according to the corresponding output starting point.
[0048] Optionally, after the duration representative value is determined, the intelligent door control method further includes:
[0049] Determine whether there are at least two standard opening durations with the same duration representative value and the largest one;
[0050] If there are not at least two duration representative values that are the same and the largest standard opening duration, the standard opening duration corresponding to the largest duration representative value is defined as the current opening duration;
[0051] If there are at least two standard opening durations with the same duration representative values and the largest standard opening duration, the standard opening duration corresponding to the largest duration representative value is defined as the candidate opening duration;
[0052] Determine an alternative duration combination according to any two alternative opening durations, and perform a difference calculation according to two alternative opening durations in the alternative duration combination to determine an alternative difference duration, and define the alternative duration combination corresponding to the alternative difference duration being less than a preset allowable difference duration as a valid duration combination;
[0053] Counting the valid duration combinations corresponding to the alternative opening durations to determine the valid quantity, and determining the valid quantity with the largest value according to the sorting rule, and defining the valid duration combination containing the alternative opening duration corresponding to the largest valid quantity as the usage duration combination;
[0054] The current opening duration is determined by averaging the alternative opening durations within all usage duration combinations.
[0055] In a second aspect, the present application provides an intelligent door control system, which adopts the following technical solution:
[0056] An intelligent door control system, comprising:
[0057] An acquisition module is used to obtain the door usage status;
[0058] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;
[0059] A judgment module, connected with the acquisition module and the processing module, for judging the information;
[0060] When the judging module judges that the door usage state is consistent with the preset opening state, the processing module controls the preset opening time to count down, and makes the obtaining module output an opening signal to obtain the identification state of the person inside the door when the opening time returns to zero;
[0061] The judging module judges whether the identification status of the person inside the door is consistent with the preset successful identification status;
[0062] If the judgment module determines that the identification status of the person inside the door is inconsistent with the successful identification status, the processing module outputs an alarm signal;
[0063] If the judging module judges that the identification state of the person inside the door is consistent with the successful identification state, the processing module activates the detection device of the preset detection area, and obtains the area identification state of the detection area in real time according to the detection device, wherein the detection area is at the position corresponding to the front of the door;
[0064] The judging module judges whether the area recognition state is consistent with the preset existence recognition state;
[0065] If the determination module determines that the area identification state is consistent with the existence identification state, the processing module outputs an alarm signal;
[0066] If the determination module determines that the area identification state is inconsistent with the existence identification state, the processing module outputs a safety signal.
[0067] In summary, the present application includes at least one of the following beneficial technical effects:
[0068] 1. When the door is open, the entry of people can be monitored by identifying the people inside and outside the door, which leads to a better overall use effect of the smart door;
[0069] 2. When identifying people, we use facial recognition technology and height and weight analysis technology to make identification more accurate;
[0070] 3. When performing air odor dissipation treatment, you can set a suitable time for the gas to be diffused, so that the door can be automatically closed when the gas is diffused, improving convenience and safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 It is a flow chart of the intelligent door control method.
[0072] Figure 2 It is a module flow chart of the intelligent door control method. DETAILED DESCRIPTION
[0073] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-Figure 2 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.
[0074] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0075] The present application embodiment discloses a smart door control method, referring to Figure 1 , the method flow of the intelligent door control method includes the following steps:
[0076] Step S100: Obtain the door usage status.
[0077] The door usage status, i.e., the door opening and closing status, can be determined by the matching of the keyhole and the lock core.
[0078] Step S101: When the door usage state is consistent with the preset opening state, the preset opening time is controlled to count down, and when the opening time returns to zero, an opening signal is output to obtain the identification state of the person inside the door.
[0079] The open state is the state of the door set by the staff when it is open, and the open time is the minimum time set by the staff to be recognized as being in the normally open state. When the open time returns to zero, it means that the current door is in the normally open state, that is, at this time, someone may have forgotten to close the door or opened the door to spread the odor, which requires further analysis; the recognition state of people inside the door, that is, whether there is a person recognized inside the room, can be obtained through the Internet of Things with the camera installed in the room.
[0080] Step S102: Determine whether the identification status of the person inside the door is consistent with the preset successful identification status.
[0081] The successful identification state is the door person identification state when a person is identified in the room interior detection set by the staff. The purpose of the judgment is to know whether there is a person in the current room.
[0082] Step S1021: If the identification status of the person inside the door is inconsistent with the successful identification status, an alarm signal is output.
[0083] When the identification status of people inside the door is inconsistent with the successful identification status, it means that there is no person inside the room, that is, the person forgot to close the door after going out, so the corresponding alarm signal is output so that the user can know the situation in time, where the alarm signal includes the door itself outputting a sound alarm and transmitting the information that the door is not closed to the connected mobile device.
[0084] Step S1022: If the identification status of the person inside the door is consistent with the successful identification status, the detection device of the preset detection area is activated, and the area identification status of the detection area is obtained in real time according to the detection device, where the detection area is at a position corresponding to the front of the door.
[0085] When the person identification status inside the door is consistent with the successful identification status, it means that there is a person inside the room. The door is not closed at this time because the user needs to disperse the smell in the room, so the door needs to be in a normally open state; the detection area is the area that a person in front of the door must pass through to enter the door. The detection device is an infrared rangefinder installed directly above the detection area and facing downward, and a weight sensor installed at the location of the detection area; the area identification status is the status of whether there is a person entering the detection area, which can be obtained by monitoring the changes in the weight value detected by the weight sensor.
[0086] Step S103: Determine whether the area recognition state is consistent with the preset existence recognition state.
[0087] The existence recognition state is the area recognition state that can be obtained when a person enters the detection area. The purpose of the judgment is to know whether a person has entered the detection area.
[0088] Step S1031: If the area recognition state is consistent with the existence recognition state, an alarm signal is output.
[0089] When the area recognition status is consistent with the existence recognition status, it means that someone has entered the detection area, that is, someone needs to enter the room through the door. At this time, an alarm signal is output so that the people in the room can be informed of the situation in time to improve safety.
[0090] Step S1032: If the area recognition state is inconsistent with the existence recognition state, a safety signal is output.
[0091] When the area identification status is inconsistent with the existence identification status, it means that no one needs to enter the room. At this time, a safety signal can be output to identify the situation.
[0092] The steps to obtain the status of personnel identification inside the door include:
[0093] Step S200: establishing an identification interval on a preset time axis with the current time point as the rear end point and a width of a preset identification duration, wherein the identification duration is less than the activation duration.
[0094] The time axis is a coordinate axis formed by the combination of various time points. The time points that have passed in the coordinate axis are on the left side of the coordinate axis, and the time points that have not yet arrived are on the right side of the coordinate axis. The recognition time is a fixed time set by the staff that is less than the opening time. An identification interval is established to facilitate the acquisition and analysis of data within the recognition time.
[0095] Step S201: acquiring the image of the space inside the door at each time point in the recognition interval.
[0096] The image of the space inside the door is the image obtained by the camera installed inside the room at each time point in the recognition interval.
[0097] Step S202: performing feature recognition in the image of the space inside the door to determine the facial features of the person.
[0098] The facial features of the person are the facial features of the person detected in the image of the space inside the door. When no person is detected, the corresponding facial features of the person are empty.
[0099] Step S203: Determine whether there is at least one facial feature of a person in the preset authorized person feature set.
[0100] The authorized person feature set is the facial features of the persons allowed to appear in the room set by the user on a daily basis. The purpose of the judgment is to know whether there are persons allowed to appear in the room.
[0101] Step S2031: If there is not at least one facial feature of a person in the authorized person feature set, the preset unrecognizable state is determined as the person recognition state inside the door.
[0102] When there is not at least one facial feature of a person in the authorized person feature set, it means that no person is allowed to appear in the room. At this time, the unrecognizable state can be determined as the person recognition state inside the door, where the unrecognizable state is the state when no person is allowed to appear in the room.
[0103] Step S2032: If there is at least one person's facial feature in the authorized person feature set, the preset successful recognition state is determined as the person inside the door recognition state.
[0104] When there is at least one facial feature of a person in the authorized person feature set, it means that there is a person allowed to appear in the room. At this time, the corresponding successful recognition state can be determined as the person recognition state inside the door.
[0105] If the area recognition state is consistent with the existence recognition state, the intelligent door control method further includes:
[0106] Step S300: Acquire the detected facial features of a person in the detection area.
[0107] The detected facial features are the facial features of the person detected in the detection area, and can be obtained by performing image recognition through a camera installed at the door position.
[0108] Step S301: A statistical interval with a width of a preset statistical duration is established on the time axis with the current time point as the rear end point, and the facial features of each person are counted in the statistical interval to determine the number of statistical occurrences.
[0109] The statistical duration is a duration set by the staff that is much longer than the opening duration and can be used to collect data on the historical entry of people, such as half a year. A statistical interval is established to facilitate the acquisition of data within the statistical duration; the number of statistical appearances is the number of times a single person appears in the room within the statistical interval, which can be obtained by counting the acquired facial features of the person.
[0110] Step S302: Calculate the occurrence ratio of a single entity according to the statistical occurrence times and the preset statistical overall times.
[0111] The overall statistical number is the calculation base of the statistical interval set by the staff. The single occurrence ratio reflects the frequency ratio of the person's appearance, which is determined by dividing the statistical occurrence number by the overall statistical number.
[0112] Step S303: defining facial features of a person whose single-unit appearance ratio is greater than a preset reference ratio as authorized qualified features, and combining all authorized qualified features to construct a qualified feature set.
[0113] The benchmark ratio is the single-unit appearance ratio set by the staff to identify people who frequently enter and exit the room. Authorized qualified features are defined to distinguish the facial features of different people for subsequent analysis; the qualified feature set is a feature set that includes all authorized qualified features.
[0114] Step S304: Determine whether the detected facial features are within the qualified feature set.
[0115] The purpose of the judgment is to know whether the person who currently needs to enter the room is an authorized person, that is, to judge whether the person is a stranger.
[0116] Step S3041: If the detected facial features are within the qualified feature set, a safety signal is output.
[0117] When the detected facial features are within the qualified feature set, it means that the person who is about to enter the room is an authorized person. There is no danger at this time, and a safety signal can be output.
[0118] Step S3042: If the detected facial features are not within the qualified feature set, an alarm signal is output.
[0119] When the detected facial features are not within the qualified feature set, it indicates that a stranger has broken in, and an alarm signal is normally output at this time.
[0120] If the detected facial features are within the qualified feature set, the intelligent door control method further includes:
[0121] Step S400: obtaining the current height and weight of the current person in the detection area.
[0122] When the detected facial features are in the qualified feature set, there may be a situation where a stranger has stolen the facial features, which requires further analysis; the person's current height is the height value of the person in the detection area, and the person's current weight is the weight value of the person in the detection area, and the data can be acquired through the detection device.
[0123] Step S401: defining a time point at which a detected facial feature appears in a statistical interval as an existing time point, and defining an existing time point closest to a current time point as an analysis time point.
[0124] Define the existence time points and analysis time points to distinguish different time points and facilitate subsequent analysis.
[0125] Step S402: Obtain the historical height and weight of the current person according to the analysis time point.
[0126] The historical height of a person is the height value collected when the person last entered through the gate, and the historical weight of a person is the weight value collected when the person last entered through the gate. Both data can be obtained by analyzing the time point.
[0127] Step S403: Calculate the difference between the current height of the person and the historical height of the person to determine the height deviation value, and calculate the difference between the current weight of the person and the historical weight of the person to determine the weight deviation value.
[0128] The height deviation value is the difference between the person's current height and the person's historical height, which is an absolute value. The weight deviation value is the difference between the person's current weight and the person's historical weight, which is also an absolute value.
[0129] Step S404: Determine whether the height deviation value is less than a preset height allowable deviation value and whether the weight deviation value is less than a preset weight allowable deviation value.
[0130] The allowable height deviation value is the maximum height deviation value allowed when the person is identified as the same person, as set by the staff. The allowable weight deviation value is the maximum weight deviation value allowed when the person is identified as the same person, as set by the staff. The purpose of the judgment is to find out whether there is any facial feature theft.
[0131] Step S4041: If the height deviation value is less than the height allowable deviation value and the weight deviation value is less than the weight allowable deviation value, a safety signal is output.
[0132] When the height deviation value is less than the allowable height deviation value and the weight deviation value is less than the allowable weight deviation value, it means that there is a high probability that the facial features are not stolen, and a safety signal is output at this time.
[0133] Step S4042: If the height deviation value is not less than the height allowable deviation value or the weight deviation value is not less than the weight allowable deviation value, an alarm signal is output.
[0134] When the height deviation value is not less than the allowable height deviation value or the weight deviation value is not less than the allowable weight deviation value, it indicates that the facial features may be stolen. At this time, an alarm signal is output so that people in the room can be informed of the situation in time.
[0135] After the opening time is returned to zero, the intelligent door control method further includes:
[0136] Step S500: obtaining the output starting point of each opening signal in the statistical interval, and determining a single opening duration according to the output starting point.
[0137] The output starting point is the time point corresponding to the output of the open signal, and the single open duration is the duration of the open signal maintained after the open signal is output.
[0138] Step S501: randomly selecting a single opening time length from all single opening time lengths as a standard opening time length, and defining the remaining single opening time lengths as comparative opening time lengths.
[0139] Define standard opening time and compare opening time to distinguish different single opening times for subsequent analysis.
[0140] Step S502: Calculate based on the standard opening time and all the comparison opening time to determine the time representative value.
[0141] The duration representative value is a value that reflects the distance between the standard opening duration and the other comparative opening durations, that is, whether the current standard opening duration can represent the value of the other comparative opening durations. The larger the value, the closer the standard opening duration is to the other comparative opening durations, that is, the more representative it is of the other comparative opening durations. The calculation formula is: Where δ is the representative value of duration, α is the fixed parameter value used for calculation, T P is the standard opening time, T Bi is the opening duration of the ith comparison, and n is the total number of opening durations of all comparisons.
[0142] Step S503: Determine the duration representative value with the largest value according to the preset sorting rule, and define the standard opening duration corresponding to the duration representative value as the current opening duration, and automatically control the door to adjust to the preset closed state after the current opening signal outputs the current opening duration.
[0143] The sorting rule is a method set by the staff to sort the size of values, such as the bubble method. The sorting rule can be used to determine the representative value of the duration with the largest value, that is, the corresponding standard opening duration at this time can best represent all single opening durations, that is, the standard opening duration is the duration that the door needs to be opened when the odor in the room can be effectively dissipated. At this time, it is defined as the current opening duration to distinguish between different standard opening durations, and control the door to close after the current opening duration to realize automatic closing of the door, thereby improving convenience and safety.
[0144] After the output starting point is determined, the intelligent door control method further includes:
[0145] Step S600: determining the current existence time of the first person according to the current image of the space inside the door, and determining the existence time of the second person according to the image of the space inside the door at the output starting point.
[0146] The first person presence duration is the duration during which people are continuously detected in the room before the current time point. When no person is detected in the room for one hour, it means that there is no person in the room. Similarly, the second person presence duration is the duration during which people are continuously detected in the room before the output starting point.
[0147] Step S601: Calculate the difference based on the presence time of the first person and the presence time of the second person to determine the presence difference time.
[0148] The difference duration is the difference between the presence duration of the first person and the presence duration of the second person. The difference is an absolute value, which reflects the presence of people in the room at two time points, thereby determining the specific air conditions that need to be deodorized.
[0149] Step S602: when the difference duration is less than the preset equal duration, determining the single opening duration according to the corresponding output starting point.
[0150] The equal duration is the maximum difference duration that can be achieved when the existence time of people in the room is relatively the same, as set by the staff. When the difference duration is less than the equal duration, it means that before the user performs the door open processing at two time points, the length of time the user stays in the room is similar, that is, the way of odor dispersion treatment is relatively the same at this time. At this time, the single opening duration is determined only based on the output starting point, so that the determined data has a higher reference value and improves the accuracy of data analysis.
[0151] After the duration representative value is determined, the intelligent door control method further includes:
[0152] Step S700: Determine whether there are at least two standard opening time lengths with the same duration representative values and the largest value.
[0153] The purpose of the judgment is to find out whether there are multiple standard opening durations that meet the requirements, so as to determine the unique opening duration for this time.
[0154] Step S7001: If there are not at least two standard opening time lengths with the same duration representative values and the largest standard opening time length, the standard opening time length corresponding to the largest duration representative value is defined as the current opening time length.
[0155] When there are not at least two standard opening durations with the same duration representative values and the largest value, it means that there is only one standard opening duration that meets the requirements. In this case, the current opening duration can be determined based on the standard opening duration.
[0156] Step S7002: If there are at least two standard opening time lengths with the same duration representative values and the largest one, the standard opening time length corresponding to the largest duration representative value is defined as the candidate opening time length.
[0157] When there are at least two standard opening durations with the same duration representative values and the largest value, it means that there are multiple standard opening durations that meet the requirements. In this case, they are defined as alternative opening durations for further analysis.
[0158] Step S701: determine an alternative duration combination based on any two alternative opening durations, and perform a difference calculation based on two alternative opening durations in the alternative duration combination to determine an alternative difference duration, and define the alternative duration combination corresponding to the alternative difference duration being less than a preset allowable difference duration as a valid duration combination.
[0159] The alternative duration combination is a combination of two alternative opening durations. The alternative difference duration is the difference between the two alternative opening durations in the alternative duration combination, which is an absolute value. The permitted difference duration is the maximum alternative difference duration allowed when the two alternative opening durations in the recognized alternative duration combination are not much different, as set by the staff. The effective duration combination is defined to distinguish different alternative duration combinations for subsequent analysis.
[0160] Step S702: Count the valid duration combinations corresponding to each alternative opening duration to determine the valid number, and determine the valid number with the largest value according to the sorting rules, and define the valid duration combination containing the alternative opening duration corresponding to the largest valid number as the usage duration combination.
[0161] The effective number is the total number of effective duration combinations determined by a single alternative opening duration. The effective number with the largest value can be determined through the sorting rules, that is, the corresponding alternative opening duration at this time is relatively close to the other alternative opening durations. At this time, the duration combination is defined to distinguish different effective duration combinations, which is convenient for subsequent analysis.
[0162] Step S703: Calculate the average of the candidate opening durations in all the usage duration combinations to determine the current opening duration.
[0163] By calculating the average of the alternative opening time in all usage time combinations, a more accurate opening time for this time can be obtained, so that the overall odor removal effect of the room is better.
[0164] Reference Figure 2 Based on the same inventive concept, an embodiment of the present invention provides an intelligent door control system, including:
[0165] An acquisition module is used to obtain the door usage status;
[0166] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;
[0167] A judgment module, connected with the acquisition module and the processing module, for judging the information;
[0168] When the judging module judges that the door usage state is consistent with the preset opening state, the processing module controls the preset opening time to count down, and makes the obtaining module output an opening signal to obtain the identification state of the person inside the door when the opening time returns to zero;
[0169] The judging module judges whether the identification status of the person inside the door is consistent with the preset successful identification status;
[0170] If the judgment module determines that the identification status of the person inside the door is inconsistent with the successful identification status, the processing module outputs an alarm signal;
[0171] If the judging module judges that the identification state of the person inside the door is consistent with the successful identification state, the processing module activates the detection device of the preset detection area, and obtains the area identification state of the detection area in real time according to the detection device, wherein the detection area is at the position corresponding to the front of the door;
[0172] The judging module judges whether the area recognition state is consistent with the preset existence recognition state;
[0173] If the determination module determines that the area identification state is consistent with the existence identification state, the processing module outputs an alarm signal;
[0174] If the judging module determines that the area recognition state is inconsistent with the existence recognition state, the processing module outputs a safety signal;
[0175] The module for determining the status of identification of persons inside the door is used to determine the status of identification of persons inside the door more accurately;
[0176] Personnel authorization situation analysis module, used to analyze and process the specific authorization situation of personnel outside the door;
[0177] Height and weight analysis module, used to analyze the parameters of people who meet the face recognition requirements;
[0178] The door closing control module is used to control the automatic closing of the door when the odor dispersion is completed;
[0179] Similar situation screening module, used to screen similar situations in historical situations to improve the accuracy of data analysis;
[0180] The standard opening time screening module is used to screen multiple standard opening time that meet the requirements.
[0181] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
Claims
1. A smart door control method, characterized in that: include: Get the door usage status; When the door usage status is consistent with the preset opening status, the preset opening time is controlled to count down, and when the opening time returns to zero, an opening signal is output to obtain the identification status of the person inside the door; Determine whether the identification status of the person inside the door is consistent with the preset successful identification status; If the identification status of the person inside the door is inconsistent with the successful identification status, an alarm signal is output; If the identification status of the person inside the door is consistent with the successful identification status, the detection device of the preset detection area is activated, and the area identification status of the detection area is obtained in real time according to the detection device, wherein the detection area is at a position corresponding to the front of the door; Determine whether the area recognition state is consistent with the preset existence recognition state; If the area recognition state is consistent with the existence recognition state, an alarm signal is output; If the area recognition state is inconsistent with the existence recognition state, a safety signal is output.
2. The intelligent door control method according to claim 1, characterized in that: The steps to obtain the status of personnel identification inside the door include: Establishing an identification interval with the current time point as the end point and a width of the preset identification time length on the preset time axis, wherein the identification time length is less than the opening time length; Acquire the spatial image of the gate at each time point in the recognition interval; Perform feature recognition in the image of the space inside the door to determine the facial features of the person; Determining whether there is at least one facial feature of a person in a preset authorized person feature set; If there is not at least one person's facial feature in the authorized person feature set, the preset unrecognizable state is determined as the person recognition state inside the door; If there is at least one facial feature of a person in the authorized person feature set, the preset successful recognition state is determined as the person recognition state inside the door.
3. The intelligent door control method according to claim 2, characterized in that: If the area recognition state is consistent with the existence recognition state, the intelligent door control method further includes: Acquire detected facial features of a person in the detection area; A statistical interval with a preset statistical duration is established on the time axis with the current time point as the rear end point, and the facial features of each person are counted in the statistical interval to determine the number of statistical occurrences; Calculate the occurrence ratio of a single entity based on the number of occurrences and the preset overall number of statistics; The facial features of the person whose single-unit appearance ratio is greater than the preset benchmark ratio are defined as authorized qualified features, and all authorized qualified features are combined to construct a qualified feature set; Determine whether the detected facial features are within the qualified feature set; If the detected facial features are within the qualified feature set, a safety signal is output; If the detected facial features are not within the qualified feature set, an alarm signal is output.
4. The intelligent door control method according to claim 3, characterized in that: If the detected facial features are within the qualified feature set, the intelligent door control method further includes: Obtain the current height and weight of the current person in the detection area; In the statistical interval, a time point at which the detected facial feature appears is defined as an existence time point, and an existence time point closest to the current time point is defined as an analysis time point; According to the analysis time point, the historical height and historical weight of the current personnel are obtained; The height deviation value is determined by performing a difference calculation based on the current height of the person and the historical height of the person, and the weight deviation value is determined by performing a difference calculation based on the current weight of the person and the historical weight of the person; Determine whether the height deviation value is less than the preset height allowable deviation value and whether the weight deviation value is less than the preset weight allowable deviation value; If the height deviation value is less than the height allowable deviation value and the weight deviation value is less than the weight allowable deviation value, a safety signal is output; If the height deviation value is not less than the allowable height deviation value or the weight deviation value is not less than the allowable weight deviation value, an alarm signal is output.
5. The intelligent door control method according to claim 3, characterized in that: After the opening time is returned to zero, the intelligent door control method further includes: In the statistical interval, the output starting point of each opening signal is obtained, and the single opening duration is determined according to the output starting point; Randomly select a single opening duration from all single opening durations as the standard opening duration, and define the remaining single opening durations as comparative opening durations; Calculate based on the standard opening time and all the comparative opening times to determine the duration representative value; The duration representative value with the largest value is determined according to the preset sorting rules, and the standard opening duration corresponding to the duration representative value is defined as the current opening duration. After the current opening signal outputs the current opening duration, the door is automatically controlled to adjust to the preset closed state.
6. The intelligent door control method according to claim 5, characterized in that: After the output starting point is determined, the intelligent door control method further includes: Determine the current existence time of the first person according to the current image of the space inside the door, and determine the existence time of the second person according to the image of the space inside the door at the output starting point; Calculate the difference based on the existence time of the first person and the existence time of the second person to determine the existence difference time; When the difference duration is less than the preset equal duration, the single opening duration is determined according to the corresponding output starting point.
7. The intelligent door control method according to claim 5, characterized in that: After the duration representative value is determined, the intelligent door control method further includes: Determine whether there are at least two standard opening durations with the same duration representative value and the largest one; If there are not at least two duration representative values that are the same and the largest standard opening duration, the standard opening duration corresponding to the largest duration representative value is defined as the current opening duration; If there are at least two standard opening durations with the same duration representative values and the largest standard opening duration, the standard opening duration corresponding to the largest duration representative value is defined as the candidate opening duration; Determine an alternative duration combination according to any two alternative opening durations, and perform a difference calculation according to two alternative opening durations in the alternative duration combination to determine an alternative difference duration, and define the alternative duration combination corresponding to the alternative difference duration being less than a preset allowable difference duration as a valid duration combination; Counting the valid duration combinations corresponding to the alternative opening durations to determine the valid quantity, and determining the valid quantity with the largest value according to the sorting rule, and defining the valid duration combination containing the alternative opening duration corresponding to the largest valid quantity as the usage duration combination; The current opening duration is determined by averaging the alternative opening durations within all usage duration combinations.
8. An intelligent door control system, characterized in that: include: An acquisition module is used to obtain the door usage status; A processing module, connected to the acquisition module and the judgment module, for storing and processing information; A judgment module, connected with the acquisition module and the processing module, for judging the information; When the judging module judges that the door usage state is consistent with the preset opening state, the processing module controls the preset opening time to count down, and makes the obtaining module output an opening signal to obtain the identification state of the person inside the door when the opening time returns to zero; The judging module judges whether the identification status of the person inside the door is consistent with the preset successful identification status; If the judgment module determines that the identification status of the person inside the door is inconsistent with the successful identification status, the processing module outputs an alarm signal; If the judging module judges that the identification state of the person inside the door is consistent with the successful identification state, the processing module activates the detection device of the preset detection area, and obtains the area identification state of the detection area in real time according to the detection device, wherein the detection area is at the position corresponding to the front of the door; The judging module judges whether the area recognition state is consistent with the preset existence recognition state; If the determination module determines that the area identification state is consistent with the existence identification state, the processing module outputs an alarm signal; If the determination module determines that the area identification state is inconsistent with the existence identification state, the processing module outputs a safety signal.