Full-automatic intelligent lock for household
Technical Field
The invention belongs to the field of intelligent locks, and particularly relates to a full-automatic intelligent lock for families.
Background
The intelligent lock is different from a traditional mechanical lock, and is a lock which is more intelligent in the aspects of user identification, safety and manageability. The intelligent lock is an execution component for locking a door in an access control system, the intelligent lock in China just starts at present and is mainly concentrated in some high-end places, but the intelligent lock can become a representative of a mechanical lock, a coded lock and an induction lock, and the intelligent lock is naturally popularized and developed. No matter from its security performance or the change of people's quality of life, current tool to lock must be replaced to the intelligence lock.
The existing intelligent locks have a plurality of types, but still have the following limitations,
1. the degree of automation is not high, manual password input or manual unlocking is needed in the unlocking process, the unlocking process is complicated, and simple and automatic unlocking cannot be realized;
2. the invalid unlocking can not be fed back, and the owner can be informed in time.
Disclosure of Invention
The present invention is to solve the above problems, and therefore the present invention provides a full-automatic intelligent lock for home use, which comprises: a central control system, which comprises a central control system,
the Bluetooth control module is used for establishing wireless connection with a plurality of Bluetooth terminals, a user information storage matrix P (P1, P2.. Pn) is arranged in the Bluetooth control module, wherein P1 represents a first identification user information group, P2 represents a second identification user information group, and.. Pn represents an nth identification user information group, and the Bluetooth control module is used for controlling information interaction between the user Bluetooth terminals and the central control system;
the mobile terminal control module is used for establishing connection with a mobile phone terminal of a user, a mobile terminal user storage matrix U (U1, U2... Un) is arranged in the mobile terminal control module, wherein U1 represents first user mobile phone terminal information, U2 represents second user mobile phone terminal information.. Un represents nth user mobile phone terminal information, and a network connection unit is arranged in the mobile terminal control module and is used for enabling the mobile terminal control module to establish network connection with a mobile phone application program and controlling network data interaction between the mobile terminal control module and the mobile phone terminal;
the camera module is connected with a camera arranged on the intelligent lock and used for exchanging data with the camera, and a user shape information matrix W (W1, W2.. Wn) is arranged in the camera module, wherein W1 represents first outdoor shape information, and W2 represents second outdoor shape information.. Wn represents nth user shape information; the camera module judges the shape of a user in real time according to the information sent by the camera and uploads the judged information to the central control system;
an information processing module, connected to the lock cylinder, for receiving the determination information sent by the bluetooth control module, the mobile terminal control module, and the camera module, and controlling the opening and closing of the lock cylinder according to the determination information, wherein the information processing module is preset with an i-th user information determination matrix Yi (Y1, Y2, Y3) i =1,2,3.. n, wherein Y1 represents the i-th user bluetooth control module determination information, Y1 is equal to 1 when the information processing module receives the i-th user bluetooth detection qualified information, Y1 is equal to 0 when not received, Y2 represents the i-th user mobile terminal control module determination information, Y2=1 when the information processing module receives the mobile terminal detection qualified information, Y2 is equal to 0 when not received, Y3 represents the camera module determination information matrix Y3(Y31, y32), wherein Y31 represents ith user face recognition decision information, Y32 represents ith user appearance detection decision information, Y31 is equal to 1 when the information processing module receives the ith user face recognition decision-qualified information, Y31 is equal to 0 when not received, Y32 is equal to 1 when the information processing module receives the ith user appearance detection decision information, Y32 is equal to 0 when not received, and the information processing module stores the received information in the ith user information decision matrix Yi (Y1, Y2, Y3).
Further, when the bluetooth control module controls the information interaction between the user bluetooth terminal and the central control system, the method includes:
matching a Bluetooth terminal held by a user with the Bluetooth control module, inputting matching information into the Bluetooth control module, storing the matching information into the user information storage matrix P (P1, P2.. Pn), storing the user Bluetooth terminal information into a first identification user information group P1 after matching the Bluetooth terminal held by a first user, storing the user Bluetooth terminal information into a second identification user information group P2 after matching the Bluetooth terminal held by a second user, and storing the user Bluetooth terminal information into Pn after matching the Bluetooth terminal held by an nth user;
step two, the Bluetooth control module searches a Bluetooth terminal signal in real time, and when the Bluetooth control module does not start a multi-user control mode, the Bluetooth terminal signal is compared with information in the user information storage matrix P (P1, P2.. Pn);
if the searched Bluetooth terminal signals are matched with the Bluetooth terminal information stored in the user information storage matrix P (P1, P2.. Pn), connection is established with the corresponding Bluetooth equipment;
step three, the Bluetooth control module sends voice prompt information to the Bluetooth equipment which establishes the connection in the step two;
and step four, for the Bluetooth equipment which has received the voice prompt sent by the Bluetooth control module, when the Bluetooth equipment presses any key, the Bluetooth control module sends the Bluetooth detection qualified information of the Bluetooth equipment corresponding to the ith user to the information processing module according to the key feedback information.
Further, when the mobile terminal control module controls the mobile terminal control module to interact with the network data of the mobile phone terminal, the method includes:
step one, under the condition that the mobile terminal control module and a mobile phone terminal are in the same Wifi network, the mobile phone terminal is in first network connection with the mobile terminal control module through a mobile phone application program;
secondly, for the mobile terminal which establishes network connection with the mobile terminal control module, inputting user information into the mobile terminal user storage matrix U (U1, U2... Un) through a mobile phone application program, and acquiring the GPS positioning authority of the mobile terminal of the user;
step three, the mobile terminal control module acquires the positioning information of the user in a mobile terminal user storage matrix U (U1, U2... Un) in real time to record;
and step four, the mobile terminal receives the positioning information of the user recorded in the user storage matrix U (U1, U2... Un), and for any user recorded in the user storage matrix U (U1, U2... Un), when the position represented by the positioning information of the user is in a preset range L0, the mobile terminal control module sends the mobile terminal passing information of the ith user to the information processing module.
Further, when the camera module controls the camera to interact with the central control system, the method includes:
step one, entering a user shape information entry mode through a control button, entering user information, sending a voice prompt by the intelligent lock when entering the user shape information entry mode, prompting a user to carry out video shooting, and controlling the camera to shoot a facial image, a front standing posture, a side standing posture and a back standing posture of the user by the camera shooting module; and the shape of the shot picture is processed, during the processing, a coordinate system is established by the center of the shot person on the picture, and the detection area is divided into a first detection area, a second detection area and a third detection area,
for the detection area, acquiring the maximum X-axis coordinate X11, the minimum X-axis coordinate X12, the maximum Y-axis coordinate Y11 and the minimum X-axis coordinate Y12 of the human body image in the area, and calculating the maximum X-axis maximum difference S11 and the maximum Y-axis maximum difference S12 of the first detection area, wherein S11= X11-X12, S12= Y11-Y12,
for the second detection area, acquiring a maximum X-axis coordinate X21, a minimum X-axis coordinate X22, a maximum Y-axis coordinate Y21 and a minimum Y-axis coordinate Y22 of the human body image in the area, and calculating a maximum X-axis difference S21 and a maximum Y-axis difference S22 of the second detection area, S21= X21-X22, S22= Y21-Y22 of the second detection area;
for the third detection area, acquiring the maximum Y-axis coordinate Y31 and the minimum Y-axis coordinate Y32 of the human body image in the area, and calculating the maximum Y-axis difference S32 of the second detection area, wherein S32= Y31-Y32; recording the processed information into a user profile information matrix W (W1, W2.. Wn);
step two, when a person is in front of the camera, the camera module controls the camera to quickly shoot a preset number of X0 photos;
and step three, the camera module processes the pictures shot in the step two, firstly, the facial area of the human body in the pictures is intercepted for carrying out face recognition judgment on any picture in the pictures, and when any picture in the pictures is judged through face recognition, the control module sends face recognition detection qualified information of the picture corresponding to the ith user to the central control module.
Further, in the third step, when all the photos do not pass the face recognition determination, the shape processing is performed on any one of the photos, the processed result is compared with all the photo data in the user shape information matrix W (W1, W2.. Wn), and any one of the photos is compared
When the maximum difference value S11 in the X-axis direction and the maximum difference value S12 in the Y-axis direction of the first detection area are compared with the maximum difference value S11 in the X-axis direction and the maximum difference value S12 in the Y-axis direction of the first detection area of the photo of any user in the user profile information matrix W (W1, W2.. Wn), and the error is smaller than the preset difference value D1, the photographing module determines that the first detection area of the photo is qualified for detection;
when the maximum difference value S21 in the X-axis direction of the second detection area and the maximum difference value S22 in the Y-axis direction of the first detection area are compared with the maximum difference value S21 in the X-axis direction of the second detection area and the maximum difference value S22 in the Y-axis direction of the second detection area of the photo of any user in the user profile information matrix W (W1, W2.. Wn), and then the error is smaller than the preset difference value D1, the shooting module determines that the detection of the second detection area of the photo is qualified;
when the maximum difference value S31 in the X-axis direction of the third detection area and the maximum difference value S32 in the Y-axis direction of the first detection area are compared with the maximum difference value S31 in the X-axis direction of the third detection area and the maximum difference value S32 in the Y-axis direction of the third detection area of the photo of any user in the user profile information matrix W (W1, W2.. Wn), and then the error is smaller than the preset difference value D1, the shooting module determines that the detection of the third detection area of the photo is qualified; and when the camera module detects that the first detection area, the second detection area and the third detection area of the picture are all qualified, judging that the picture is qualified, and when any one of the X0 pictures shot in the step two in the preset number is qualified, sending shape detection qualified information of the ith user corresponding to the picture to the information processing module.
Further, when the information processing module controls the opening and closing of the lock cylinder, the method includes:
the method comprises the steps that firstly, the face recognition judgment information Y31 of the ith user in the ith user information judgment matrix Y (Y1, Y2 and Y3) is detected, when Y31 is equal to 1, the information processing module judges that an unlocking condition is met, the lock cylinder is directly controlled to be opened, unlocking is completed, and when Y31 is equal to 0, the information processing module carries out the second-step detection.
Further, when the information processing module controls the opening and closing of the lock cylinder to perform the second step of detection, the i-th user bluetooth control module determination information Y1 is detected and the mobile terminal control module determination information Y2 is detected at the same time, when the i-th user bluetooth control module determination information Y1 is equal to 1 and the i-th user mobile terminal control module determination information Y2 is equal to 1, the information processing module determines that the unlocking condition is satisfied, the lock cylinder is controlled to be opened, when the i-th user bluetooth control module determination information Y1 is equal to 0 and the i-th user mobile terminal control module determination information Y2 is equal to 0, the i-th user bluetooth control module determines that the unlocking condition is not satisfied, the lock cylinder continues to be locked, when the i-th user bluetooth control module determination information Y1 is equal to 1 and the i-th user mobile terminal control module determination information Y2 is equal to 0 or the i-th user bluetooth control module determination information Y1 is equal to 0 Equal to 0 and the ith ue control module determines that information Y2 is equal to 1, the information processing module performs the third step of detection.
Further, when the information processing module controls the opening and closing of the lock cylinder to perform the third step of detection, the ith user shape detection judgment information Y32 is judged, and when the ith user shape detection judgment information Y32=1, the information processing module judges that the unlocking condition is met and controls the lock cylinder to be opened; when the ith user shape detection judgment information Y32=0, if the ith user judgment information Y1 of the Bluetooth control module is equal to 1 and the ith user mobile terminal control module judgment information Y2 is equal to 0 in the second step, the information processing module judges that unlocking is abnormal and sends unlocking abnormal information to the mobile terminal control module, the mobile terminal control module sends the Bluetooth unlocking abnormal information to the user mobile phone terminal after receiving the unlocking abnormal information, if the ith user Bluetooth control module judgment information Y1 is equal to 0 and the ith user mobile terminal control module judgment information Y2 is equal to 1 in the second step, the information processing module judges that the unlocking condition is not met, and the information processing module continues to lock the lock cylinder.
Further, an emergency password unlocking unit is further arranged in the information processing module and connected with the key input area and used for receiving information input by the key input area and carrying out unlocking judgment, when a user inputs a password through the key input area, the emergency password unlocking unit judges a preset password, and if the preset password is the same as the input password, the emergency password unlocking unit judges that an unlocking condition is met and controls the lock cylinder to unlock.
Compared with the prior art, the intelligent lock central control system has the technical effects that the intelligent lock central control system comprises a Bluetooth control module, a mobile terminal control module, a camera module and an information processing module, the Bluetooth control module realizes information interaction between the Bluetooth of a user and the intelligent lock central control system, the Bluetooth control is added into the judgment condition of unlocking of the intelligent lock, and the intelligent lock judgment mode is increased to improve the simplicity of unlocking of the intelligent lock; the mobile terminal control module realizes the information interaction between a mobile phone end and a central control system, detects the position information of a user in real time, the camera module is added with a face recognition function and a shape recognition function, judges unlocking conditions by face recognition, is more accurate and safe, provides an auxiliary shape judgment function when the face information shot by the camera is incomplete, simplifies the problem that a user needs to align the face for many times in the face recognition process, combines the judgment information of other modules, adopts different detection sequences and priority levels to the judgment information, comprehensively judges whether the unlocking conditions are met or not, and comprehensively judges the judgment conditions sent by the camera module through the Bluetooth control module, the mobile terminal control module and the camera module so that the judgment result is more accurate, stable and quick, and can still carry out judgment under the condition that one module judges the information is abnormal, the reliability and the stability of the intelligent lock are improved, and then, the intelligent lock can be automatically controlled to be unlocked only by simple operation of a user under the common condition, and the automatic unlocking can be realized without manually inputting a password or pressing a fingerprint.
Particularly, the Bluetooth control module realizes information interaction between the user Bluetooth and the intelligent lock central control system, the user information storage matrix P (P1, P2.. Pn) is arranged to realize the input of the Bluetooth information of a plurality of people in a family, the input of the Bluetooth signals is used as one of unlocking judgment conditions, the unlocking judgment is quick and convenient, the judgment mode is safe and reliable, the automatic access of the Bluetooth signals does not need the user to carry out complex operation, the automation of the intelligent lock is realized, and meanwhile, the user Bluetooth terminals are convenient to carry, so that the use experience of the user is improved.
Particularly, according to the mobile terminal control module, a mobile terminal user storage matrix U (U1, U2... Un) of the mobile terminal control module inputs information through an internet computer program, so that the use of family members is convenient and quick, meanwhile, the mobile terminal control module realizes information interaction between a mobile phone terminal and a central control system, the real-time feedback of unlocking conditions is realized, the user can know the real-time unlocking conditions conveniently, the user does not need to perform any operation by detecting the position information of the user, the intelligent lock can be controlled to realize automatic unlocking by combining judgment information of other modules, and the automation degree of the intelligent lock is improved.
In particular, the camera module of the invention realizes the information interaction between the camera and the central control system, can realize the face recognition function and the shape recognition function, uses the face recognition function as one of the judgment conditions, utilizes the rapidness and accuracy of the face recognition to improve the safety and the reliability of the intelligent lock, simultaneously can automatically unlock the intelligent lock after the face recognition is finished without any operation judgment of a user, improves the user experience, simultaneously, has the shape recognition function to make up the problem that the face information obtained by the camera is incomplete sometimes, processes the picture after the shape recognition is shot for a plurality of times, simultaneously divides the detection area, detects the maximum axial coordinate and the minimum axial coordinate of the detection area so as to judge the shape of the user, judges the picture is qualified when all three detection areas of the same picture are judged to be qualified, and is more convenient and quicker, the method is easy to realize, and has certain reliability in combination with the judgment information of other modules.
Particularly, the information processing module of the invention is combined with the Bluetooth control module, the mobile terminal control module and the judgment information sent by the camera module to judge the unlocking condition, is safe and reliable, adopts different detection sequences and priority levels for the judgment information, can carry out judgment under the condition that the judgment information of one module is abnormal, improves the reliability and stability of the intelligent lock, and then can realize automatic control unlocking only by simple operation of a user under the normal condition of the intelligent lock, does not need to manually input a password or press a fingerprint, and realizes automatic unlocking of the intelligent lock.
Drawings
Fig. 1 is a functional block diagram of a household central control system of a full-automatic intelligent lock according to an embodiment of the present invention;
fig. 2 is a structural diagram of a household full-automatic intelligent lock according to an embodiment of the present invention.
Detailed Description
The above and further features and advantages of the present invention are described in more detail below with reference to the accompanying drawings.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that in the description of the present invention, the terms of direction or positional relationship indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, which are only for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1, a functional block diagram of a home-use fully-automatic intelligent lock central control system according to an embodiment of the present invention is shown, where the home-use fully-automatic intelligent lock provided in this embodiment includes a central control system, and the central control system includes:
the central control system is in wireless connection with the plurality of Bluetooth terminals through the Bluetooth control module, a user information storage matrix P (P1, P2.. Pn) is arranged in the central control system, wherein P1 represents a first identification user information group, P2 represents a second identification user information group, and.. Pn represents an nth identification user information group, and the Bluetooth control module is used for controlling information interaction between the user Bluetooth terminals and the central control system;
the system comprises a mobile terminal control module, a central control system and a mobile phone terminal, wherein the central control system is connected with the mobile phone terminal of a user through the mobile terminal control module, a mobile terminal user storage matrix U (U1, U2... Un) is arranged in the mobile terminal control module, U1 represents first user mobile phone terminal information, U2 represents second user mobile phone terminal information.. Un represents nth user mobile phone terminal information, and a network connection unit is arranged in the mobile terminal control module and used for enabling the mobile terminal control module to establish network connection with a mobile phone application program and controlling network data interaction between the mobile terminal control module and the mobile phone terminal;
the camera module is connected with a camera arranged on the intelligent lock and used for exchanging data with the camera, and a user shape information matrix W (W1, W2.. Wn) is arranged in the camera module, wherein W1 represents first outdoor shape information, and W2 represents second outdoor shape information.. Wn represents nth user shape information; the camera module judges the shape of a user in real time according to the information sent by the camera and uploads the judged information to the central control system;
an information processing module, connected to the lock cylinder, for receiving the judgment information from the bluetooth control module, the mobile terminal control module, and the camera module, and controlling the opening and closing of the lock cylinder according to the judgment information, wherein the information processing module is preset with an information judgment matrix Y (Y1, Y2, Y3), wherein Y1 represents the judgment information of the bluetooth control module, Y1 is equal to 1 when the information processing module receives the qualified bluetooth detection information, Y1 is equal to 0 when not received, Y2 represents the judgment information of the mobile terminal control module, Y2=1 when the information processing module receives the qualified bluetooth detection information, Y2 is equal to 0 when not received, Y3 represents the camera module judgment information matrix Y3(Y31, Y32), wherein Y31 represents the human face identification judgment information, Y32 represents the appearance detection judgment information, y31 is equal to 1 when the face recognition determination-eligible information is received by the information processing module, Y31 is equal to 0 when not received, Y32 is equal to 1 when the outer shape detection determination information is received by the information processing module, and Y32 is equal to 0 when not received.
Specifically, referring to fig. 2, which is a structural diagram of a full-automatic intelligent lock for home use according to an embodiment of the present invention, the intelligent lock body 1 has a rectangular structure, and includes a camera 3, a display screen 2, and a key input area 4, the display screen 2 is disposed on an upper side of the intelligent lock body 1, the key input area 4 is disposed on a lower side of the display screen 2, and the camera 3 is disposed on one side of the display screen 2.
Specifically, the bluetooth control module, the central control system establishes wireless connection with a plurality of bluetooth terminals through the bluetooth control module, and a user information storage matrix P (P1, P2.. Pn) is arranged in the central control system, wherein P1 represents a first identified user information group, P2 represents a second identified user information group, and.. Pn represents an nth identified user information group, and the bluetooth control module is used for controlling information interaction between the user bluetooth terminals and the central control system, and the control method comprises:
matching a Bluetooth terminal held by a user with the Bluetooth control module, inputting matching information into the Bluetooth control module, storing the matching information into the user information storage matrix P (P1, P2.. Pn), storing the user Bluetooth terminal information into a first identification user information group P1 after matching the Bluetooth terminal held by a first user, storing the user Bluetooth terminal information into a second identification user information group P2 after matching the Bluetooth terminal held by a second user, and storing the user Bluetooth terminal information into Pn after matching the Bluetooth terminal held by an nth user;
step two, the Bluetooth control module searches a Bluetooth terminal signal in real time, and when the Bluetooth control module does not start a multi-user control mode, the Bluetooth terminal signal is compared with information in the user information storage matrix P (P1, P2.. Pn);
if the searched Bluetooth terminal signals are matched with the Bluetooth terminal information stored in the user information storage matrix P (P1, P2.. Pn), connection is established with the corresponding Bluetooth equipment;
step three, the Bluetooth control module sends voice prompt information to the Bluetooth equipment which establishes the connection in the step two;
and step four, for the Bluetooth equipment which has received the voice prompt sent by the Bluetooth control module, when the Bluetooth equipment presses any key, the Bluetooth control module sends the Bluetooth detection qualified information of the Bluetooth equipment corresponding to the ith user to the information processing module according to the key feedback information.
Specifically, the mobile terminal control module, the central control system establishes connection with a user mobile phone terminal through the mobile terminal control module, a mobile terminal user storage matrix U (U1, U2... Un) is arranged in the mobile terminal control module, wherein U1 represents first user mobile phone terminal information, U2 represents second user mobile phone terminal information,. Un represents nth user mobile phone terminal information, and a network connection unit is arranged in the mobile terminal control module and is used for enabling the mobile terminal control module to establish network connection with a mobile phone application program so as to control network data interaction between the mobile terminal control module and the mobile phone terminal;
step one, under the condition that the mobile terminal control module and a mobile phone terminal are in the same Wifi network, the mobile phone terminal is in first network connection with the mobile terminal control module through a mobile phone application program;
secondly, for the mobile terminal which establishes network connection with the mobile terminal control module, inputting user information into the mobile terminal user storage matrix U (U1, U2... Un) through a mobile phone application program, and acquiring the GPS positioning authority of the mobile terminal of the user;
and step three, the mobile terminal control module acquires user positioning information sent by the mobile phone terminal recorded in a mobile terminal user storage matrix U (U1, U2... Un) in real time.
And step four, the mobile terminal judges the user positioning information after receiving the user positioning information, and the mobile terminal control module sends mobile terminal passing information to the central control system when the user position represented by the user positioning information is in a preset range L0.
Specifically, the camera module is connected with a camera arranged on the intelligent lock and used for exchanging data with the camera, and a user shape information matrix W (W1, W2.. Wn) is arranged in the camera module, wherein W1 represents first user shape information, and W2 represents second user shape information.. Wn represents nth user shape information; the camera module judges the shape of a user in real time according to the information sent by the camera and uploads the judged information to the central control system, and when the camera module judges, the camera module comprises the following steps,
step one, entering a user shape information entry mode through a control button, entering user information, sending a voice prompt by the intelligent lock when entering the user shape information entry mode, prompting a user to carry out video shooting, and controlling the camera to shoot a facial image, a front standing posture, a side standing posture and a back standing posture of the user by the camera shooting module; and the shape of the shot picture is processed, during the processing, a coordinate system is established by the center of the shot person on the picture, and the detection area is divided into a first detection area, a second detection area and a third detection area,
for the detection area, acquiring the maximum X-axis coordinate X11, the minimum X-axis coordinate X12, the maximum Y-axis coordinate Y11 and the minimum X-axis coordinate Y12 of the human body image in the area, and calculating the maximum X-axis maximum difference S11 and the maximum Y-axis maximum difference S12 of the first detection area, wherein S11= X11-X12, S12= Y11-Y12,
for the second detection area, acquiring a maximum X-axis coordinate X21, a minimum X-axis coordinate X22, a maximum Y-axis coordinate Y21 and a minimum Y-axis coordinate Y22 of the human body image in the area, and calculating a maximum X-axis difference S21 and a maximum Y-axis difference S22 of the second detection area, S21= X21-X22, S22= Y21-Y22 of the second detection area;
for the third detection area, acquiring the maximum Y-axis coordinate Y31 and the minimum Y-axis coordinate Y32 of the human body image in the area, and calculating the maximum Y-axis difference S32 of the second detection area, wherein S32= Y31-Y32; recording the processed information into a user profile information matrix W (W1, W2.. Wn);
step two, when a person is in front of the camera, the camera module controls the camera to quickly shoot a preset number of X0 photos;
thirdly, the camera module processes the photos shot in the second step, firstly cuts out the facial area of the human body in the photos for face recognition judgment for any photo in the photos,
when any photo in the photos is judged through face recognition, the control module sends qualified information of face recognition detection to the central control module,
when all the photos do not pass the face recognition judgment, the shape processing is carried out on any one of the photos, the processed result is compared with all the photo data in the user shape information matrix W (W1, W2.. Wn), and any one of the photos is subjected to comparison
When the maximum difference value S11 in the X-axis direction and the maximum difference value S12 in the Y-axis direction of the first detection area are compared with the maximum difference value S11 in the X-axis direction and the maximum difference value S12 in the Y-axis direction of the first detection area of the photo of any user in the user profile information matrix W (W1, W2.. Wn), and the error is smaller than the preset difference value D1, the photographing module determines that the first detection area of the photo is qualified for detection;
when the maximum difference value S21 in the X-axis direction of the second detection area and the maximum difference value S22 in the Y-axis direction of the first detection area are compared with the maximum difference value S21 in the X-axis direction of the second detection area and the maximum difference value S22 in the Y-axis direction of the second detection area of the photo of any user in the user profile information matrix W (W1, W2.. Wn), and then the error is smaller than the preset difference value D1, the shooting module determines that the detection of the second detection area of the photo is qualified;
when the maximum difference value S31 in the X-axis direction of the third detection area and the maximum difference value S32 in the Y-axis direction of the first detection area are compared with the maximum difference value S31 in the X-axis direction of the third detection area and the maximum difference value S32 in the Y-axis direction of the third detection area of the photo of any user in the user profile information matrix W (W1, W2.. Wn), and then the error is smaller than the preset difference value D1, the shooting module determines that the detection of the third detection area of the photo is qualified;
and when the camera module detects that the first detection area, the second detection area and the third detection area of the picture are all qualified, judging that the picture is qualified, and when any one picture in the X0 pictures shot in the step two in the preset number is qualified, sending qualified shape detection information to the camera module.
Specifically, the center control system is provided with an information processing module, the information processing module is connected with a lock cylinder, the information processing module is used for receiving the judgment information sent by the Bluetooth control module, the mobile terminal control module and the camera module, and controlling the opening and closing of the lock cylinder according to the judgment information, the information processing module is preset with an information judgment matrix Y (Y1, Y2, Y3), wherein Y1 represents the judgment information of the Bluetooth control module, Y1 is equal to 1 when the information processing module receives the qualified Bluetooth detection information, Y1 is equal to 0 when not receiving the Bluetooth detection information, Y2 represents the judgment information of the mobile terminal control module, Y2=1 when the information processing module receives the qualified Bluetooth detection information, Y2 is equal to 0 when not receiving the Bluetooth detection information, Y3 represents the camera module judgment information matrix Y3(Y31, Y32), wherein Y31 represents the judgment information of human face identification, y32 represents shape detection determination information, Y31 is equal to 1 when the face recognition determination-eligible information is received by the information processing module, Y31 is equal to 0 when not received, Y32 is equal to 1 when the shape detection determination information is received by the information processing module, and Y32 is equal to 0 when not received;
when the information processing module controls the opening and closing of the lock cylinder,
the first step is to detect the face recognition judgment information Y31 of the ith user in the judgment matrix Y (Y1, Y2, Y3) of the ith user information, when Y31 is equal to 1, the information processing module judges that the unlocking condition is met, directly controls the lock cylinder to be opened to finish unlocking, when Y31 is equal to 0, the information processing module carries out the second step of detection,
a second step of detecting the i-th user Bluetooth control module determination information Y1 and the MT control module determination information Y2 simultaneously, wherein when the i-th user Bluetooth control module determination information Y1 is equal to 1 and the i-th user MT determination information Y2 is equal to 1, the information processing module determines that the unlocking condition is satisfied, the lock cylinder is controlled to be opened, when the i-th user Bluetooth control module determination information Y1 is equal to 0 and the i-th user MT control module determination information Y2 is equal to 0, the i-th user control module determines that the unlocking condition is not satisfied, the lock cylinder is continuously locked, and when the i-th user Bluetooth control module determination information Y1 is equal to 1 and the i-th user MT control module determination information Y2 is equal to 0 or the i-th user Bluetooth control module determination information Y1 is equal to 0 and the i-th user MT control module determination information Y2 is equal to 1 And the information processing module carries out the third step of detection.
Thirdly, judging the ith user shape detection judgment information Y32, and when the ith user shape detection judgment information Y32=1, judging that an unlocking condition is met by the information processing module and controlling the lock cylinder to be opened; when the ith user shape detection judgment information Y32=0, if the ith user judgment information Y1 of the Bluetooth control module is equal to 1 and the ith user mobile terminal control module judgment information Y2 is equal to 0 in the second step, the information processing module judges that unlocking is abnormal and sends unlocking abnormal information to the mobile terminal control module, the mobile terminal control module sends the Bluetooth unlocking abnormal information to the user mobile phone terminal after receiving the unlocking abnormal information, if the ith user Bluetooth control module judgment information Y1 is equal to 0 and the ith user mobile terminal control module judgment information Y2 is equal to 1 in the second step, the information processing module judges that the unlocking condition is not met, and the information processing module continues to lock the lock cylinder.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.