A smart home real-time alarm system and method based on face recognition
By introducing facial recognition technology into smart home systems, real-time comparison of visitors' facial information has been solved, and the existing system is difficult to provide appropriate protection for different visitors, achieving higher security performance and system perfection .
Patent Information
- Application Number
- CN202211313070.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-25
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-10-25
AI Technical Summary
The existing smart home systems are difficult to take different protective measures when dealing with different visitors, and the protection level is low, which has safety limitations.
Design a smart home real-time alarm system based on face recognition. Through communication between the detection unit and the lock body motion module, the visitor's face information is obtained and the reserved face features are compared. If matched, the pass is allowed. , if it does not match, it will be sent to the remote client for remote control, achieving dual guarantees.
It improves the security performance of the system and can make different protective measures for different visiting groups, which improves the perfection and security of the system.
Smart Images

Figure CN115775422B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to smart homes, and in particular to a smart home real-time alarm system and method based on face recognition. Background Art
[0002] Smart home, or smart residence, has similar meanings to home automation, electronic home, digital home, home network, network home, smart home / building. Smart home uses residence as a platform, combines construction, network communication, information appliances, equipment automation, and integrates system, structure, service, and management to create an efficient, comfortable, safe, convenient, and environmentally friendly living environment.
[0003] Smart home has developed very rapidly in recent years. After experiencing the transformation from single product intelligence to interactive intelligence, it has gradually penetrated into people's lives under the endless promotion of new products by major manufacturers, bringing great convenience to people's lives.
[0004] However, the existing smart homes are not very perfect. For example, when the owner is not at home and a visitor comes, it is difficult to take different measures for different types of visitors. The protection level is low and there are certain limitations. Summary of the invention
[0005] The purpose of the present invention is to provide a smart home real-time alarm system and method based on face recognition to solve the problems raised in the above background technology.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] A smart home real-time alarm system based on face recognition, comprising a detection unit, the detection unit establishes communication with a lock body motion module, and is used to detect whether there is a visitor. When the detection unit detects the presence of a visitor, the detection unit communicates with the lock body motion module and causes the lock body motion module to perform a protective action on the lock body before and after the visitor information is recognized;
[0008] The smart home real-time alarm system based on face recognition also includes:
[0009] An acquisition unit, used for acquiring facial information of a visitor;
[0010] A central processing unit establishes communication with the acquisition unit and receives the face information sent by the acquisition unit through a receiving module therein;
[0011] The comparison module establishes communication with the receiving unit and is used to extract the facial features reserved in the memory and compare them with the facial information sent by the receiving module. When the comparison result matches, passage is allowed. When the comparison result does not match, the facial information received by the receiving unit will be sent by the transmission module to the remote client and remotely controlled by the user.
[0012] As a further solution of the present invention: the facial features include multiple characteristic parts. When the facial information acquired by the acquisition unit matches at least two characteristic parts of the facial features, passage is allowed, and the facial information participating in the comparison is sent to the memory for storage.
[0013] As a further solution of the present invention: the lock body movement module includes a door panel and a shell detachably mounted on one side of the door panel, and further includes:
[0014] A photographing port and a password input port, a flip cover and a sliding cover are movably provided on a side of the door panel away from the shell, respectively used to switch the photographing port and the password input port between the conducting and closing states;
[0015] An assembly plate, fixed to the assembly plate on the side of the door plate facing the shell, a camera movably provided on the assembly plate, the camera connected to a transverse movement mechanism installed on the assembly plate, and the transverse movement mechanism cooperates with the flip cover and is connected to a two-way driving mechanism installed on the side of the door plate facing the shell;
[0016] A pulling mechanism is installed on the side of the door panel facing the shell and is connected to the two-way driving mechanism and the sliding cover. When the two-way driving mechanism works forward, it drives the transverse movement mechanism to drive the camera to collect the face, and the pulling mechanism is not triggered. If the face information collected by the camera is qualified, the two-way driving mechanism works in the reverse direction and triggers the pulling mechanism, so that the pulling mechanism drives the sliding cover to switch the password input port from a closed state to a conducting state.
[0017] As a further solution of the present invention: a guide plate is fixed on each side of the assembly plate, the transverse movement mechanism comprises a transverse movement plate slidably arranged between the two guide plates, two driving wheels rotatably mounted on the assembly plate, and a connecting member connecting the two driving wheels, a tilting rod is fixed on each side of the transverse movement plate, and a pulley that abuts against the flip cover is rotatably arranged at one end of the tilting rod away from the transverse movement plate;
[0018] Among them, a driven rod is fixed at the bottom of the transverse plate, a sliding groove is opened on the driven rod, and the connecting member is provided with a driving column that passes through the sliding groove and is slidably connected to the driven rod, one of the driving wheels is connected to the two-way driving mechanism, and the camera is connected to the transverse plate through two groups of elastic structures.
[0019] As a further solution of the present invention: the interior of the transverse moving plate is hollow, a telescopic plate is slidably provided in the transverse moving plate, the telescopic plate cooperates with a limit block fixed in the shooting port, the camera is rotatably mounted on the telescopic plate, and the rotation axis of the camera is connected to a geared trigger structure;
[0020] The elastic structure includes a straight rod fixed to the transverse plate by a protruding block, a slider slidably arranged on the straight rod and fixed to the telescopic plate, and a second cylindrical spring sleeved on the outer circumference of the straight rod, the two ends of the second cylindrical spring are respectively connected to the protruding block and the slider, and the transverse plate is also provided with a through groove for the slider to move.
[0021] As a further solution of the present invention: the meshing trigger structure includes a rack plate fixed on the transverse plate through a frame and a gear rotatably installed on the telescopic plate, the gear is meshed with the rack plate, and the rotating shaft of the gear is connected to the rotating shaft of the camera through a second transmission belt.
[0022] As a further solution of the present invention: the bidirectional driving mechanism comprises a driving motor installed in the housing and a ratchet wheel fixed on the output shaft of the driving motor, the output shaft of the driving motor being connected to the rotating shaft of one of the driving wheels through a first transmission belt and a bevel gear set;
[0023] Wherein, the ratchet is connected to the pulling mechanism, an upper part of which is provided with teeth, and the other part is provided without teeth.
[0024] As a further solution of the present invention: the sliding cover is fixedly connected to the lifting plate via two connecting columns, the two connecting columns penetrate the door panel, and the door panel is provided with a limiting groove for the connecting columns to move;
[0025] The pulling mechanism includes a cross bar movably arranged on the door panel facing the housing through an elastic sliding structure, a plurality of guide wheels rotatably mounted on the door panel, and a pulling rope connecting the cross bar and the lifting plate, wherein the pulling rope is partially relaxed and passes through the plurality of guide wheels in sequence and rolls with the guide wheels;
[0026] A limiting rod is also fixed on the side of the cross bar, and a roller abutting against the lifting plate is rotatably mounted on one end of the limiting rod away from the cross bar.
[0027] As a further solution of the present invention: the elastic sliding structure comprises two long rods fixed to the door panel via a mounting plate, a protrusion fixed to the cross bar and slidably connected to the two long rods, and a first cylindrical spring sleeved on the outer circumference of the long rods;
[0028] One end of the first cylindrical spring is connected to the mounting plate, and the other end is connected to the protruding portion. The bottom of the crossbar is equidistantly provided with a plurality of inclined grooves along its length direction, and a pawl cooperating with the ratchet is hinged in each of the inclined grooves.
[0029] A method for using the smart home real-time alarm system based on face recognition to generate an alarm comprises the following steps:
[0030] Step 1: The detection unit detects in real time whether there is a visitor. When there is a visitor, the detection unit communicates with the lock body motion module;
[0031] Step 2: the lock body movement module performs a protective action on the lock body before and after the visitor information is recognized, and the acquisition unit acquires the visitor's facial information;
[0032] Step 3: The facial information acquired by the acquisition unit is compared with the facial features reserved in the memory in the comparison module. If the comparison result matches, passage is allowed. If the comparison result does not match, the facial information acquired by the acquisition unit is sent to the remote client.
[0033] Step 4: The remote client is used to identify the received facial information and remotely send a permission or alarm instruction.
[0034] Compared with the prior art, the beneficial effects of the present invention are: the present invention is novel in design. When the detection unit detects the presence of a visitor, the facial information of the visitor will be compared with the facial features reserved in the memory. According to the comparison result, the door opening password can be directly provided to the visitor or used for remote control (allowing passage or alarm) by a remote device. Since the door opening password can only be obtained through facial recognition each time, and the password used for opening the door each time is different, double protection is effectively achieved, which can greatly improve the safety performance of the system. In actual use, the system is highly perfect, and different protective measures can be made for different groups of visitors, which is suitable for popularization and use. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 The present invention is a flowchart of an embodiment of a smart home real-time alarm system based on face recognition.
[0036] Figure 2 An axonometric diagram of an embodiment of a smart home real-time alarm system based on face recognition.
[0037] Figure 3 The present invention is a structural diagram of an embodiment of a smart home real-time alarm system based on face recognition.
[0038] Figure 4 The present invention is a structural schematic diagram of another angle of an embodiment of a smart home real-time alarm system based on face recognition.
[0039] Figure 5 The present invention is a structural diagram showing another angle of an embodiment of a smart home real-time alarm system based on face recognition.
[0040] Figure 6 The present invention is a structural diagram of another angle of an embodiment of a smart home real-time alarm system based on face recognition.
[0041] Figure 7 for Figure 4 A magnified view of the structure at center.
[0042] Figure 8 for Figure 5 A magnified view of the structure at point B.
[0043] Fig. 9 for Figure 6 Enlarged view of the structure at C in the middle.
[0044] Fig.10 for Figure 6 Enlarged view of the structure at D in the middle.
[0045] Fig.11 The present invention is a structural schematic diagram of a transverse movement mechanism in an embodiment of a smart home real-time alarm system based on face recognition.
[0046] Fig.12 The present invention is a schematic diagram of the connection status of a bidirectional driving mechanism and a transverse movement mechanism in an embodiment of a smart home real-time alarm system based on face recognition.
[0047] In the figure: 1. door panel; 2. shell; 3. handle; 4. infrared sensor; 5. camera; 6. flip cover; 7. slide cover; 8. drive motor; 9. ratchet; 10. cross bar; 1001. protrusion; 11. long rod; 12. first cylindrical spring; 13. first transmission belt; 14. bevel gear set; 15. drive wheel; 16. connecting piece; 17. drive column; 18. driven rod; 19. limit rod; 20. assembly plate; 21. lifting plate; 22. limit groove; 23. guide wheel; 24. pulling rope; 25. guide plate; 26. transverse plate; 27. telescopic plate; 28. tilt rod; 29. slider; 30. straight rod; 31. second cylindrical spring; 32. frame; 33. rack plate; 34. gear; 35. second transmission belt; 36. limit block. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] In addition, when an element in the present invention is referred to as being "fixed to" or "disposed on" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only and are not intended to be the only embodiment.
[0050] See also Figure 1 , a smart home real-time alarm system based on face recognition, comprising a detection unit, the detection unit establishes communication with a lock body motion module, and is used to detect whether there is a visitor. When the detection unit detects the presence of a visitor, the detection unit communicates with the lock body motion module and causes the lock body motion module to perform a protective action on the lock body before and after the visitor information is recognized;
[0051] The smart home real-time alarm system based on face recognition also includes:
[0052] An acquisition unit, used for acquiring facial information of a visitor;
[0053] A central processing unit establishes communication with the acquisition unit and receives the face information sent by the acquisition unit through a receiving module therein;
[0054] The comparison module establishes communication with the receiving unit and is used to extract the facial features reserved in the memory and compare them with the facial information sent by the receiving module. When the comparison result matches, passage is allowed. When the comparison result does not match, the facial information received by the receiving unit will be sent by the transmission module to the remote client and remotely controlled by the user.
[0055] Among them, it is necessary to explain:
[0056] Preferably, the acquisition unit adopts a camera 5, etc. The specific model of the camera 5 is not specifically limited in this application and can be selected according to actual needs;
[0057] Secondly, the central controller is a central processing unit whose model is PI C18F452.
[0058] The facial features include multiple characteristic parts. When the facial information acquired by the acquisition unit matches at least two characteristic parts of the facial features, passage is allowed, and the facial information participating in the comparison is sent to the memory for storage.
[0059] See also Figure 2-12 The lock body movement module includes a door panel 1 and a shell 2 detachably mounted on one side of the door panel 1, and also includes a photographing port and a password input port. A flip cover 6 and a slide cover 7 are movably provided on the side of the door panel 1 away from the shell 2, which are used to switch the photographing port and the password input port between the conducting and closing states, respectively. A screen for displaying the unlocking password generated by the system and a button for a visitor to input a password are provided in the password input port;
[0060] An assembly plate 20, fixed to the assembly plate 20 on the side of the door panel 1 facing the housing 2, a camera 5 is movably provided on the assembly plate 20, the camera 5 is connected to a transverse movement mechanism installed on the assembly plate 20, and the transverse movement mechanism cooperates with the flip cover 6 and is connected to a two-way driving mechanism installed on the side of the door panel 1 facing the housing 2;
[0061] The pulling mechanism is installed on the side of the door panel 1 facing the shell 2 and is connected to the two-way driving mechanism and the sliding cover 7. When the two-way driving mechanism works in the forward direction, it drives the transverse movement mechanism to drive the camera 5 to collect the face, and the pulling mechanism is not triggered. If the face information collected by the camera 5 is qualified, the two-way driving mechanism works in the reverse direction and triggers the pulling mechanism, so that the pulling mechanism drives the sliding cover 7 to switch the password input port from a closed state to a conducting state.
[0062] Among them, it should be additionally explained that a handle 3 and an infrared sensor 4 are provided on one side of the door panel 1. The infrared sensor 4 is used to sense whether there is someone in front of the door. When the infrared sensor 4 senses a certain distance, the two-way driving mechanism works to drive the sliding cover 7 to open, and the camera 5 recognizes the face.
[0063] Please refer again Fig.10 and Fig.12 A guide plate 25 is fixed on each side of the assembly plate 20, and the transverse movement mechanism includes a transverse movement plate 26 slidably arranged between the two guide plates 25, two driving wheels 15 rotatably mounted on the assembly plate 20, and a connecting member 16 connecting the two driving wheels 15. A tilting rod 28 is fixed on each side of the transverse movement plate 26, and the end of the tilting rod 28 away from the transverse movement plate 26 is rotatably provided with a pulley abutting against the flip cover 6.
[0064] Preferably, the connecting member 16 is a chain to ensure the stability of transmission between the components.
[0065] Among them, a driven rod 18 is fixed to the bottom of the transverse plate 26, a sliding groove is opened on the driven rod 18, and a driving column 17 is provided on the connecting member 16, which passes through the sliding groove and is slidably connected to the driven rod 18, one of the driving wheels 15 is connected to the two-way driving mechanism, and the camera 5 is connected to the transverse plate 26 through two sets of elastic structures.
[0066] The interior of the transverse plate 26 is hollow, and a telescopic plate 27 is slidably provided in the transverse plate 26. The telescopic plate 27 cooperates with a limit block 36 fixed in the shooting port, and the camera 5 is rotatably mounted on the telescopic plate 27, and the rotation axis of the camera 5 is connected to a gearing trigger structure;
[0067] The elastic structure includes a straight rod 30 fixed to the transverse plate 26 by a protrusion block, a slider 29 slidably arranged on the straight rod 30 and fixed to the telescopic plate 27, and a second cylindrical spring 31 sleeved on the outer periphery of the straight rod 30, the two ends of the second cylindrical spring 31 are respectively connected to the protrusion block and the slider 29, and the transverse plate 26 is also provided with a through groove for the slider 29 to move.
[0068] When the bidirectional driving mechanism works in the forward direction, it will drive the driving wheel 15 to rotate, and then the driving wheel 15 will drive the driving column 17 to move through the connecting piece 16, and the movement trajectory of the driving column 17 is consistent with the shape of the connecting piece 16, and under the guiding effect of the guide plate 25 on the transverse plate 26, the driving column 17 can drive the transverse plate 26 to slide back and forth on the two guide plates 25 through the driven rod 18. Accordingly, when the transverse plate 26 slides toward the shooting port, the pulley on the tilting rod 28 pushes the flip cover 6 to flip up and open, and when the telescopic plate 27 and the limit block are After the contact of the second spring 36, the driving column 17 will continue to drive the transverse plate 26 to slide a certain distance. During this process, the transverse plate 26 and the telescopic plate 27 will slide relative to each other, that is, the telescopic plate 27 remains stationary and gradually penetrates into the transverse plate 26. The slider 29 slides toward the protrusion on the straight rod 30, compressing the second cylindrical spring 31 and triggering the gearing trigger structure to move. Thus, the gearing trigger structure drives the camera 5 to deflect downward. In this way, for people of different heights, the camera 5 can be guaranteed to collect complete facial information, which is convenient for subsequent comparison.
[0069] In the first part of the travel of the transverse plate 26 sliding away from the shooting port, the second column spring 31 rebounds, causing the telescopic plate 27 to slide toward the outside of the transverse plate 26, and the gearing trigger structure moves in the opposite direction, driving the camera 5 to deflect upward and reset. Subsequently, the camera 5 is reset together with the transverse plate 26. After the end of the travel of the transverse plate 26, the tilting rod 28 and the pulley at its end are reset, and the flip cover 6 flips downward to close the shooting port again.
[0070] It should be noted that the purpose of setting the flip cover 6 is to have a sealing effect on the shooting port, thereby having a concealing effect on the camera 5. In this way, in actual use, compared with the camera 5 being directly exposed to the outside world, it can prevent damage by suspicious persons or lawless elements. At the same time, it can also prevent suspicious elements or lawless persons from taking measures to block or damage the camera 5 in advance, thereby evading the problem of the face recognition process;
[0071] The pulley at the end of the tilting rod 28 is close to the rotation axis of the flap 6. The purpose of this arrangement is to ensure that the pulley can fully open the flap 6 during the first stage of the movement of the transverse plate 26.
[0072] Preferably, in order to ensure the smooth resetting of the flip cover 6, a torsion spring is provided on the rotating shaft of the flip cover 6, thereby improving the smoothness of the sliding cooperation between the flip cover 6 and the pulley.
[0073] Please refer again Figure 7 The meshing trigger structure includes a rack plate 33 fixed on the transverse plate 26 through a frame 32 and a gear 34 rotatably mounted on the telescopic plate 27. The gear 34 meshes with the rack plate 33, and the rotating shaft of the gear 34 is connected to the rotating shaft of the camera 5 through a second transmission belt 35.
[0074] When the telescopic plate 27 gradually moves deeper into the transverse plate 26, the transverse plate 26 drives the rack plate 33 to move toward the camera 5 through the frame 32, so that the gear 34 can rotate, and the rotation axis of the gear 34 drives the camera 5 to deflect downward through the second transmission belt 35. Conversely, when the telescopic plate 27 slides out of the transverse plate 26, the rack plate 33 drives the gear 34 to reverse, and then the rotation axis of the gear 34 drives the camera 5 to deflect upward and reset through the second transmission belt 35. Therefore, when the camera 5 is outside the shooting port (i.e., the latter part of the movement of the transverse plate 26 toward the shooting port and the former part of the movement away from the shooting port), the camera 5 can nod once to ensure the comprehensiveness of face recognition.
[0075] Please refer again Fig. 9The bidirectional driving mechanism comprises a driving motor 8 installed in the housing 2 and a ratchet 9 fixed on the output shaft of the driving motor 8, and the output shaft of the driving motor 8 is connected to the rotating shaft of one of the driving wheels 15 through a first transmission belt 13 and a bevel gear set 14;
[0076] The ratchet 9 is connected to the pulling mechanism, with an upper portion having teeth and another portion having no teeth.
[0077] Furthermore, the bevel gear set 14 includes a bevel gear No. 1 rotatably mounted on the door panel 1 and a bevel gear No. 2 fixedly mounted coaxially with one of the driving wheels 15, the bevel gear No. 2 is meshed with the bevel gear No. 1, and the first transmission belt 13 is used to connect the output shaft of the driving motor 8 with the rotating shaft of the bevel gear No. 1.
[0078] Please refer again Figure 8 , Fig. 9 as well as Fig.12 The sliding cover 7 is fixedly connected to the lifting plate 21 through two connecting columns, the two connecting columns penetrate the door panel 1, and the door panel 1 is provided with a limiting groove 22 for the movement of the connecting columns;
[0079] The pulling mechanism includes a cross bar 10 movably arranged on the side of the door panel 1 facing the housing 2 through an elastic sliding structure, a plurality of guide wheels 23 rotatably mounted on the door panel 1, and a pulling rope 24 connecting the cross bar 10 and the lifting plate 21, wherein the pulling rope 24 is partially relaxed and passes through the plurality of guide wheels 23 in sequence and rolls with the guide wheels 23. A limiting rod 19 is also fixed to the side of the cross bar 10, and a roller abutting against the lifting plate 21 is rotatably mounted on one end of the limiting rod 19 away from the cross bar 10.
[0080] Preferably, the guide wheel 23 can be replaced by a sleeve, that is, the pulling rope 24 passes through multiple sleeves in sequence to connect to the lifting plate 21. Since the pulling rope 24 is partially loose, this arrangement can prevent the pulling rope 24 and the guide wheel 23 from slipping during the latter part of the reset of the cross bar 10.
[0081] The elastic sliding structure includes two long rods 11 fixed to the door panel 1 through a mounting plate, a protrusion 1001 fixed to the cross bar 10 and slidably connected to the two long rods 11, and a first cylindrical spring 12 sleeved on the outer periphery of the long rods 11;
[0082] Among them, one end of the first cylindrical spring 12 is connected to the mounting plate, and the other end is connected to the protrusion 1001. The bottom of the cross bar 10 is equidistantly provided with a plurality of inclined grooves along its length direction, and a pawl cooperating with the ratchet 9 is hinged in each of the inclined grooves.
[0083] During the working process, first, the face is recognized, and the driving motor 8 drives the ratchet 9 to rotate forward for one circle. During this process, when the toothed portion on the ratchet 9 contacts the pawl hinged at the bottom of the cross bar 10, the pawl will flip in the inclined groove at the bottom of the cross bar 10, so the cross bar 10 remains stationary. If the face information collected by the camera 5 passes, the driving motor 8 will drive the ratchet 9 to rotate backward for one circle. During this process, the inclined groove has a limiting effect on the pawl, and then the toothed portion on the ratchet 9 will be driven by the pawl. The cross bar 10 drives the protrusion 1001 to slide on the two long rods 11, and the first cylindrical spring 12 is compressed. Accordingly, in the first movement stroke of the cross bar 10, the limit rod 19 moves with the cross bar 10, and the cross bar 10 straightens the slack part of the pulling rope 24, and the roller on the limit rod 19 is separated from the lifting plate 21. Then, as the cross bar 10 continues to move, the lifting plate 21 and the sliding cover 7 can be pulled up by the pulling rope 24, so that the password input port can be leaked, so that the personnel can enter the password and open the door;
[0084] It should be emphasized that after the password input port is opened, the toothed portion of the ratchet 9 is in an engaged state with the pawl. At this time, the drive motor 8 will stop driving the ratchet 9 to rotate so that the password input port remains open and provides time for the person to enter the password. After this period of time, the drive motor 8 drives the ratchet 9 to continue rotating to complete one circle of rotation. As a result, in the latter part of the rotation of the ratchet 9, the toothed portion thereon will disengage from the pawl, and then the first column spring 12 will rebound, causing the lifting plate 21 and the sliding cover 7 to descend and reset, and the password input port is closed again.
[0085] Preferably, the pause time (i.e., the time provided for personnel to input a password) during the process in which the driving motor 8 drives the ratchet wheel 9 to reverse one circle is 30-40 seconds.
[0086] It should be noted that if the comparison result does not match, the transmission module will send the facial information that did not pass the match to the remote client (mobile phone APP), and the user can make a judgment based on the received facial information, and randomly generate a string of passwords at the password input port. The visitor can open the door by entering the password;
[0087] Since face recognition is required to obtain the door opening password each time, and the password used to open the door each time is different, double protection is effectively achieved, which can greatly improve the security performance of the system;
[0088] After the visitor opens the door, the remote user's mobile phone APP will automatically jump to the home surveillance, and the home broadcast unit will automatically prompt the visitor that he has entered the monitoring area. It has a certain restraining effect on unfamiliar visitors (maintenance personnel, deliverymen or couriers, etc.) after entering the room to avoid unnecessary trouble.
[0089] The facial features extracted by the comparison module from the memory each time include mouth, nose, ears, hairstyle, ears, eyes, etc., and in each comparison, only two of the features need to match, indicating that the comparison result passes;
[0090] Of course, in actual use, users can change the number of features that need to be met for each comparison to improve security performance. The facial features that are not matched and obtained by the partial acquisition unit will be sent to the memory for storage to realize automatic supplement of the information in the memory, so that when the user's appearance changes (such as hairstyle changes, wearing a hat or mask), the comparison module can still obtain accurate comparison results.
[0091] A method for using the smart home real-time alarm system based on face recognition to generate an alarm comprises the following steps:
[0092] Step 1: The detection unit detects in real time whether there is a visitor. When there is a visitor, the detection unit communicates with the lock body motion module;
[0093] Step 2: the lock body movement module performs a protective action on the lock body before and after the visitor information is recognized, and the acquisition unit acquires the visitor's facial information;
[0094] Step 3: The facial information acquired by the acquisition unit is compared with the facial features reserved in the memory in the comparison module. If the comparison result matches, passage is allowed. If the comparison result does not match, the facial information acquired by the acquisition unit is sent to the remote client.
[0095] Step 4: The remote client is used to identify the received facial information and remotely send a permission or alarm instruction.
[0096] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0097] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A smart home real-time alarm system based on face recognition, characterized in that: It includes a detection unit, which establishes communication with the lock body movement module to detect whether there is a visitor. When the detection unit detects the presence of a visitor, the detection unit communicates with the lock body movement module and enables the lock body movement module to perform a protective action on the lock body before and after the visitor information is identified; The smart home real-time alarm system based on face recognition also includes: An acquisition unit, used for acquiring facial information of a visitor; A central processing unit establishes communication with the acquisition unit and receives the face information sent by the acquisition unit through a receiving module therein; The comparison module establishes communication with the receiving module and is used to extract the facial features reserved in the memory and compare them with the facial information sent by the receiving module. When the comparison result matches, passage is allowed. When the comparison result does not match, the facial information received by the receiving module will be sent to the remote client by the transmission module and remotely controlled by the user; The lock body movement module comprises a door panel (1) and a housing (2) detachably mounted on one side of the door panel (1), and further comprises: A photographing port and a password input port, a side of the door panel (1) facing away from the housing (2) being movably provided with a flip cover (6) and a sliding cover (7) for switching between a conducting state and a closed state of the photographing port and the password input port respectively; an assembly plate (20) fixed to the side of the door panel (1) facing the shell (2), a camera (5) being movably provided on the assembly plate (20), the camera (5) being connected to a transverse movement mechanism installed on the assembly plate (20), the transverse movement mechanism cooperating with the flip cover (6) and connected to a bidirectional drive mechanism installed on the side of the door panel (1) facing the shell (2); a pulling mechanism, mounted on a side of the door panel (1) facing the housing (2) and connected to the bidirectional driving mechanism and the sliding cover (7); when the bidirectional driving mechanism works in the forward direction, it drives the transverse movement mechanism to drive the camera (5) to perform a face acquisition action, and the pulling mechanism is not triggered; if the face information acquired by the camera (5) is qualified, the bidirectional driving mechanism works in the reverse direction and triggers the pulling mechanism, so that the pulling mechanism drives the sliding cover (7) to switch the password input port from a closed state to a conducting state; Wherein, a guide plate (25) is fixed on each side of the assembly plate (20); the transverse movement mechanism comprises a transverse movement plate (26) slidably arranged between the two guide plates (25), two driving wheels (15) rotatably mounted on the assembly plate (20), and a connecting member (16) connecting the two driving wheels (15); a tilting rod (28) is fixed on each side of the transverse movement plate (26); and an end of the tilting rod (28) away from the transverse movement plate (26) is rotatably provided with a pulley abutting against the flip cover (6); A driven rod (18) is fixed to the bottom of the transverse plate (26), a sliding groove is provided on the driven rod (18), and a driving column (17) is provided on the connecting member (16) which passes through the sliding groove and is slidably connected to the driven rod (18), one of the driving wheels (15) is connected to the bidirectional driving mechanism, and the camera (5) is connected to the transverse plate (26) via two sets of elastic structures; The interior of the transverse moving plate (26) is hollow, a telescopic plate (27) is slidably provided in the transverse moving plate (26), the telescopic plate (27) cooperates with a limit block (36) fixed in the shooting port, the camera (5) is rotatably mounted on the telescopic plate (27), and the rotation axis of the camera (5) is connected to a gearing trigger structure; The elastic structure comprises a straight rod (30) fixed to the transverse plate (26) via a protruding block, a slider (29) slidably arranged on the straight rod (30) and fixed to the telescopic plate (27), and a second cylindrical spring (31) sleeved on the outer periphery of the straight rod (30), the two ends of the second cylindrical spring (31) respectively connecting the protruding block and the slider (29), and the transverse plate (26) is also provided with a through groove for the slider (29) to move; The meshing trigger structure comprises a rack plate (33) fixed on the transverse plate (26) via a frame (32) and a gear (34) rotatably mounted on the telescopic plate (27); the gear (34) meshes with the rack plate (33), and the rotation axis of the gear (34) is connected to the rotation axis of the camera (5) via a second transmission belt (35).
2. According to claim 1, a smart home real-time alarm system based on face recognition is characterized in that: The facial features include multiple characteristic parts. When the facial information acquired by the acquisition unit matches at least two characteristic parts of the facial features, passage is allowed, and the facial information participating in the comparison is sent to the memory for storage.
3. According to the face recognition-based smart home real-time alarm system of claim 1, it is characterized in that: The bidirectional driving mechanism comprises a driving motor (8) installed in the housing (2) and a ratchet (9) fixed on an output shaft of the driving motor (8), wherein the output shaft of the driving motor (8) is connected to a rotating shaft of one of the driving wheels (15) via a first transmission belt (13) and a bevel gear set (14); The ratchet (9) is connected to the pulling mechanism, with an upper portion having teeth and another portion having no teeth.
4. According to claim 3, a smart home real-time alarm system based on face recognition is characterized in that: The sliding cover (7) is fixedly connected to the lifting plate (21) via two connecting columns, the two connecting columns penetrate the door panel (1), and the door panel (1) is provided with a limiting groove (22) for the movement of the connecting columns; The pulling mechanism comprises a cross bar (10) movably arranged on the side of the door panel (1) facing the shell (2) through an elastic sliding structure, a plurality of guide wheels (23) rotatably mounted on the door panel (1), and a pulling rope (24) connecting the cross bar (10) and the lifting plate (21), wherein the pulling rope (24) is partially relaxed and passes through the plurality of guide wheels (23) in sequence and rolls with the guide wheels (23); A limiting rod (19) is also fixed to the side of the cross bar (10), and a roller abutting against the lifting plate (21) is rotatably mounted on one end of the limiting rod (19) away from the cross bar (10).
5. The smart home real-time alarm system based on face recognition according to claim 4 is characterized in that: The elastic sliding structure comprises two long rods (11) fixed to the door panel (1) via a mounting plate, a raised portion (1001) fixed to the cross bar (10) and slidably connected to the two long rods (11), and a first cylindrical spring (12) sleeved on the outer circumference of the long rods (11); One end of the first cylindrical spring (12) is connected to the mounting plate, and the other end is connected to the raised portion (1001); a plurality of inclined grooves are equidistantly provided at the bottom of the crossbar (10) along its length direction; a ratchet pawl cooperating with the ratchet wheel (9) is hinged in each of the inclined grooves.
6. A method for alarming using the smart home real-time alarm system as claimed in claim 1, characterized in that: The following steps are involved: Step 1: The detection unit detects in real time whether there is a visitor. When there is a visitor, the detection unit communicates with the lock body motion module; Step 2: the lock body movement module performs a protective action on the lock body before and after the visitor information is recognized, and the acquisition unit acquires the visitor's facial information; Step 3: The facial information acquired by the acquisition unit is compared with the facial features reserved in the memory in the comparison module. If the comparison result matches, passage is allowed. If the comparison result does not match, the facial information acquired by the acquisition unit is sent to the remote client. Step 4: The remote client is used to identify the received facial information and remotely send a permission or alarm instruction.
