Door lock calibration method, calibration device, door lock and computer storage medium

By collecting and storing the magnetic field strength parameter set of magnetic induction door locks in different states, the detection error problem caused by the external magnetic field interference is solved, and the effect of simplifying calibration operations and improving user experience is achieved.

CN114235013BActive Publication Date: 2025-03-28SHENZHEN KAADAS INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111361395.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-17
Publication Date
2025-03-28
Estimated Expiration
2041-11-17

AI Technical Summary

Technical Problem

Magnetic induction door locks are easily disturbed by external magnetic fields, which makes it impossible to accurately detect whether the door is in a locked door state. The existing calibration methods are complex and difficult for non-professionals to operate.

Method used

The calibration of the door lock is achieved by collecting the magnetic field intensity parameter set of the door body in the state of the virtual cover, door opening and door locking, and storing its mapping relationship in the database.

Benefits of technology

Simplifies the door lock verification operation, improves the user experience, and ensures the accurate detection capability of the door lock.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114235013B_ABST
    Figure CN114235013B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a door lock calibration method, a verification device, a door lock and a computer storage medium, wherein the door lock calibration method comprises: collecting a first magnetic field strength parameter set at a corresponding position when the door body is in a half-closed state, a second magnetic field strength parameter set at a corresponding position when the door body is in an open state, and a third magnetic field strength parameter set at a corresponding position when the door body is in a locked state; transmitting a mapping relationship between the door body in a half-closed state and the first magnetic field strength parameter set, a mapping relationship between the door body in an open state and the second magnetic field strength parameter set, and a mapping relationship between the door body in a locked state and the third magnetic field strength parameter set to a database. Compared with the prior art, the present application greatly simplifies the door lock calibration operation and improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of door locks, and in particular to a door lock calibration method, a calibration device, a door lock and a computer storage medium. Background Art

[0002] A magnetic induction door lock refers to a smart door lock equipped with a geomagnetic sensor and a magnet installed on the door frame. When the door is opened, it can automatically detect the current open state of the door. When the door is closed, it can automatically detect whether the door is in a locked state.

[0003] Magnetic induction door locks are easily affected by various factors such as external magnetic fields. When automatically detecting the state of the door, they are easily disturbed by various factors such as external magnetic fields, and cannot accurately detect whether the door is in a locked state. At this time, the magnetic induction door lock needs to be recalibrated. At present, the means of calibrating magnetic induction door locks are relatively complicated, and it is difficult for non-professionals to calibrate magnetic induction door locks. Summary of the invention

[0004] One purpose of the present application is to provide a door lock calibration method, a verification device, a door lock and a computer storage medium to simplify the verification operation of the door lock and improve the user experience.

[0005] In a first aspect, an embodiment of the present application provides a door lock calibration method, comprising:

[0006] Collect a first magnetic field strength parameter set of a position corresponding to when the door is in a half-closed state, a second magnetic field strength parameter set of a position corresponding to when the door is in an open state, and a third magnetic field strength parameter set of a position corresponding to when the door is in a locked state;

[0007] The mapping relationship between the door body in the half-closed state and the first magnetic field strength parameter set, the mapping relationship between the door body in the open state and the second magnetic field strength parameter set, and the mapping relationship between the door body in the locked state and the third magnetic field strength parameter set are transmitted to the database.

[0008] Optionally, the first magnetic field strength parameter set includes at least one first magnetic field strength parameter, and each of the first magnetic field strength parameters corresponds to a half-closed position point of the door body when the door body is in a half-closed state;

[0009] The second magnetic field strength parameter set includes at least one second magnetic field strength parameter, each of which corresponds to an opening position point of the door body when the door is in an open state;

[0010] The third magnetic field strength parameter set includes at least one third magnetic field strength parameter, and each of the third magnetic field strength parameters corresponds to a door locking position point when the door body is in a locked state.

[0011] Optionally, the collecting of the first magnetic field strength parameter set at the corresponding position when the door body is in the half-closed state includes:

[0012] Collecting at least one virtual closing position point in the process from the first extreme position to the second extreme position when the door body is in the virtual closing state and a first magnetic field strength parameter corresponding to the virtual closing position point;

[0013] Recording a mapping relationship between the collected virtual mask position points and the collected first magnetic field intensity parameters;

[0014] Wherein, when the first limit position and the second limit position are the same virtual cover position point, the virtual cover state corresponds to only one virtual cover position point;

[0015] The second magnetic field strength parameter set corresponding to the position of the door body when the door is in the open state is collected, including:

[0016] Collecting multiple door opening position points in the process from the third extreme position to the fourth extreme position when the door body is in the door opening state and second magnetic field intensity parameters corresponding to the door opening position points;

[0017] Recording a mapping relationship between the collected door opening position point and the collected second magnetic field strength parameter;

[0018] The third magnetic field strength parameter set corresponding to the position of the door body in the locked state is collected, including:

[0019] Collecting at least one door locking position point in the process from the fifth extreme position to the sixth extreme position when the door body is in the door locking state and a third magnetic field strength parameter corresponding to the door locking position point;

[0020] Recording the mapping relationship between the collected door lock position point and the collected third magnetic field strength parameter;

[0021] Among them, when the fifth extreme position and the sixth extreme position are the same door locking position point, the half-closed state only corresponds to one door locking position point.

[0022] Optionally, the mapping relationship between the recorded collected virtual mask position points and the collected first magnetic field intensity parameters includes:

[0023] When the first limit position and the second limit position are different virtual cover position points, comparing the first magnetic field intensity parameter of the collected virtual cover position point with the first virtual cover position point collected last;

[0024] If the difference between the first magnetic field strength parameter of the virtual mask position point collected this time and the virtual mask position point collected last time is less than the first threshold, the virtual mask position point collected this time and the first magnetic field strength parameter collected this time are screened out;

[0025] If the change of the first magnetic field strength parameter between the virtual mask position point collected by the magnetic field and the virtual mask position point collected last is greater than the second threshold, the virtual mask position point collected this time is compared with the virtual mask position point collected previously, and the change results are obtained respectively. If there is a change result less than the first threshold, the virtual mask position point collected this time and the first magnetic field strength parameter collected this time are screened out;

[0026] The mapping relationship between the recorded and collected door opening position point and the collected second magnetic field strength parameter includes:

[0027] Comparing the second magnetic field strength parameter of the acquired door opening position point with the last acquired door opening position point;

[0028] If the change in the second magnetic field strength parameter between the door opening position point collected this time and the door opening position point collected last time is less than the third threshold, the door opening position point collected this time and the second magnetic field strength parameter collected this time are screened out;

[0029] If the change in the second magnetic field strength parameter between the door opening position point collected by the magnetic field and the door opening position point collected last is greater than the fourth threshold, the door opening position point collected this time is compared with the door opening position point collected previously, and the change results are obtained respectively. If there is a change result less than the third threshold, the door opening position point collected this time and the second magnetic field strength parameter collected this time are screened out;

[0030] When the fifth limit position and the sixth limit position are different door locking position points, comparing the third magnetic field strength parameter of the collected door locking position point with the last collected door locking position point;

[0031] If the change in the third magnetic field strength parameter between the door lock position point collected this time and the door lock position point collected last time is less than the fifth threshold, the door lock position point collected this time and the third magnetic field strength parameter collected this time are screened out;

[0032] If the change in the third magnetic field strength parameter between the door lock position point collected by the magnetic field and the last collected door lock position point is greater than the sixth threshold, the door lock position point collected this time is compared with the previously collected door lock position point, and the change results are obtained respectively. If there is a change result less than the fifth threshold, the door lock position point collected this time and the third magnetic field strength parameter collected this time are screened out.

[0033] Optionally, the first magnetic field intensity parameter includes a first direction parameter, a second direction parameter and a third direction parameter;

[0034] The second magnetic field intensity parameter includes a fourth direction parameter, a fifth direction parameter and a sixth direction parameter;

[0035] The third magnetic field intensity parameter includes a seventh direction parameter, an eighth direction parameter and a ninth direction parameter.

[0036] Optionally, the mapping relationship between the recorded collected virtual mask position points and the collected first magnetic field intensity parameters includes:

[0037] Obtaining a change trend of a first magnetic field intensity parameter in a process in which the door body moves from a first extreme position to a second extreme position;

[0038] When collecting pseudo-mask position points, if two or more of the first direction parameter, the second direction parameter and the third direction parameter of the first magnetic field intensity parameter corresponding to the pseudo-mask position point do not conform to the trend of the change of the first magnetic field intensity parameter, the pseudo-mask position points collected this time and the first magnetic field intensity parameter collected this time are screened out;

[0039] The mapping relationship between the recorded and collected door opening position point and the collected second magnetic field strength parameter includes:

[0040] Obtaining a change trend of the second magnetic field intensity parameter when the door body moves from the third limit position to the fourth limit position;

[0041] When collecting the door opening position point, if two or more of the fourth direction parameter, the fifth direction parameter and the sixth direction parameter of the second magnetic field strength parameter corresponding to the door opening position point do not conform to the change trend of the second magnetic field strength parameter, the door opening position point collected this time and the second magnetic field strength parameter collected this time are screened out;

[0042] The mapping relationship between the recorded and collected door lock position point and the collected third magnetic field strength parameter includes:

[0043] Obtaining a change trend of the third magnetic field intensity parameter in a process in which the door body moves from the fifth extreme position to the sixth extreme position;

[0044] When collecting the door locking position point, if two or more of the seventh direction parameter, the eighth direction parameter and the ninth direction parameter of the third magnetic field strength parameter corresponding to the door locking position point do not conform to the trend of the change of the third magnetic field strength parameter, the door locking position point and the third magnetic field strength parameter collected this time are screened out.

[0045] Optionally, the method further comprises the steps of:

[0046] When the door body is in a half-closed state, obtaining a first verification magnetic field strength parameter corresponding to the position of the door body;

[0047] Determine whether the first verification magnetic field strength parameter is within the interval between the first magnetic field strength parameter with the smallest value and the first magnetic field strength parameter with the largest value in the first magnetic field strength parameter set; if not, collect the first verification magnetic field strength parameters corresponding to a plurality of positions of the door body when the door body is in a half-closed state, compare the first verification magnetic field strength parameters corresponding to the plurality of positions with each of the first magnetic field strength parameters, determine a first deviation value, and readjust each of the first magnetic field strength parameters in the first magnetic field strength parameter set according to the first deviation value;

[0048] When the door body is in an open state, obtaining a second verification magnetic field strength parameter corresponding to the position of the door body;

[0049] Determine whether the second verification magnetic field strength parameter is within the interval between the second magnetic field strength parameter with the smallest value and the second magnetic field strength parameter with the largest value in the second magnetic field strength parameter set; if not, collect the second verification magnetic field strength parameters corresponding to several positions of the door body when the door is in the open state, compare the second verification magnetic field strength parameters corresponding to the several positions with each of the second magnetic field strength parameters, determine a second deviation value, and readjust each of the second magnetic field strength parameters in the second magnetic field strength parameter set according to the deviation value;

[0050] When the door body is in a locked state, obtaining a third verification magnetic field strength parameter corresponding to the position of the door body;

[0051] Determine whether the third verification magnetic field strength parameter is within the interval between the third magnetic field strength parameter with the smallest value and the largest third magnetic field strength parameter in the third magnetic field strength parameter set; if not, collect the third verification magnetic field strength parameters corresponding to several positions of the door body when it is in a locked state, compare the third verification magnetic field strength parameters corresponding to the several positions with each of the third magnetic field strength parameters, determine a third deviation value, and readjust each third magnetic field strength parameter in the third magnetic field strength parameter set according to the third deviation value.

[0052] In a second aspect, an embodiment of the present application provides a verification device, including:

[0053] A magnetic sensor is used to collect a first magnetic field strength parameter set of a position corresponding to a door body in a half-closed state, a second magnetic field strength parameter set of a position corresponding to a door body in an open state, and a third magnetic field strength parameter set of a position corresponding to a door body in a locked state;

[0054] A conveyor is used to convey the mapping relationship between the door body in a half-closed state and the first magnetic field strength parameter set, the mapping relationship between the door body in an open state and the second magnetic field strength parameter set, and the mapping relationship between the door body in a locked state and the third magnetic field strength parameter set to a database.

[0055] In a third aspect, an embodiment of the present application provides a door lock having a verification device as described above.

[0056] In a fourth aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores computer instructions, and the computer instructions implement the method described above when executed by a processor.

[0057] The embodiment of the present application collects a first magnetic field strength parameter set for the corresponding position when the door body is in a half-closed state, a second magnetic field strength parameter set for the corresponding position when the door body is in an open state, and a third magnetic field strength parameter set for the corresponding position when the door body is in a locked state; so that a mapping relationship exists between the door body in the half-closed state and the first magnetic field strength parameter set, a mapping relationship exists between the door body in the open state and the second magnetic field strength parameter set, and a mapping relationship exists between the door body in the locked state and the third magnetic field strength parameter set, thereby realizing door lock calibration. Compared with the prior art, the door lock calibration operation is greatly simplified and the user experience is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0059] Figure 1 is a flow chart of a door lock calibration method provided in an embodiment of the present application;

[0060] Figure 2 It is a broken line view of the magnetic field intensity parameters of the door body from the first extreme position to the sixth extreme position on the X-axis, Y-axis and Z-axis collected by the magnetic sensor provided by the implementation of the present application;

[0061] Figure 3 It is a broken line view of the magnetic field intensity parameters of the X-axis, Y-axis and Z-axis when the door body is disturbed by the external magnetic field from the first extreme position to the sixth extreme position collected by the magnetic sensor provided by the implementation of the present application;

[0062] Figure 4 It is a structural block diagram of the verification device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0063] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application.

[0064] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0065] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0066] Magnetic induction door locks are easily affected by various factors such as external magnetic fields. When automatically detecting the state of the door, they are easily disturbed by various factors such as external magnetic fields, and cannot accurately detect whether the door is in a locked state. At this time, the magnetic induction door lock needs to be recalibrated. At present, the means of calibrating magnetic induction door locks are relatively complicated, and it is difficult for non-professionals to calibrate magnetic induction door locks.

[0067] This application provides a door lock calibration method, see Figure 1 , the method includes but is limited to steps S1-S2.

[0068] S1, collecting a first magnetic field strength parameter set of a position corresponding to when the door is in a half-closed state, a second magnetic field strength parameter set of a position corresponding to when the door is in an open state, and a third magnetic field strength parameter set of a position corresponding to when the door is in a locked state;

[0069] The door lock calibration method provided in the present application is used to calibrate a magnetic door lock, which includes a strong magnet and a magnetic sensor 110. The strong magnet can be installed on a door frame, and the magnetic sensor 110 can be installed on a door. The strong magnet can provide a magnetic field, and the magnetic sensor 110 can sense the change in magnetic field strength during the process of opening and closing the door.

[0070] In the embodiment provided in the present application, the states of the door body are divided into three types, namely, a half-closed state, an open state and a locked state. The half-closed state refers to the state of the door body between the locked state and the open state.

[0071] When the door body is in a half-closed state, the magnetic sensor 110 can collect a first magnetic field strength parameter set corresponding to the position of the door body in the half-closed state; the first magnetic field strength parameter set can include only one first magnetic field strength parameter, or can include multiple first magnetic field strength parameters, wherein each first magnetic field strength parameter corresponds to a half-closed position point of the door body when it is in the half-closed state.

[0072] When the door body is in the open state, the magnetic sensor 110 can collect a second magnetic field strength parameter set corresponding to the position of the door body in the open state; the second magnetic field strength parameter set can include multiple second magnetic field strength parameters, each second magnetic field strength parameter corresponds to an open position point of the door body when it is in the open state.

[0073] When the door body is in the locked state, the magnetic sensor 110 can collect the third magnetic field strength parameter set corresponding to the position of the door body in the locked state; the third magnetic field strength parameter set can include only one third magnetic field strength parameter, or can include multiple third magnetic field strength parameters, wherein each third magnetic field strength parameter corresponds to a locked position point when the door body is in the locked state.

[0074] S2, conveying the mapping relationship between the door body in the half-closed state and the first magnetic field strength parameter set, the mapping relationship between the door body in the open state and the second magnetic field strength parameter set, and the mapping relationship between the door body in the locked state and the third magnetic field strength parameter set to the database.

[0075] In the above, it is mentioned that each first magnetic field strength parameter corresponds to a half-closed position point of the door body when it is in a half-closed state, each second magnetic field strength parameter corresponds to an open door position point of the door body when it is in an open door state, and each third magnetic field strength parameter corresponds to a locked door position point of the door body when it is in a locked door state. It can be understood that there is a mapping relationship between the door body in the half-closed state and the first magnetic field strength parameter set, a mapping relationship between the door body in the open door state and the second magnetic field strength parameter set, and a mapping relationship between the door body in the locked door state and the third magnetic field strength parameter set.

[0076] In the embodiment provided in the present application, the mapping relationship between the door body in a half-closed state and the first magnetic field strength parameter set, the mapping relationship between the door body in an open state and the second magnetic field strength parameter set, and the mapping relationship between the door body in a locked state and the third magnetic field strength parameter set are stored in a database. When judging the state of the door body, the magnetic field strength parameters of the door body's location are obtained by the magnetic sensor 110 and compared with the first magnetic field strength parameter set, the second magnetic field strength parameter set, and the third magnetic field strength parameter set stored in the database. The approximate location of the door body can be determined, and then it can be determined whether the door body is in the half-closed state, the open state, or the locked state.

[0077] The first magnetic field strength parameter set corresponding to the position of the acquisition door body in the half-closed state includes:

[0078] Collecting at least one virtual closing position point in the process from the first extreme position to the second extreme position when the door body is in the virtual closing state and a first magnetic field strength parameter corresponding to the virtual closing position point;

[0079] Recording a mapping relationship between the collected virtual mask position points and the collected first magnetic field intensity parameters;

[0080] Wherein, when the first limit position and the second limit position are the same virtual cover position point, the virtual cover state corresponds to only one virtual cover position point;

[0081] The second magnetic field strength parameter set corresponding to the position of the door body when the door is in the open state is collected, including:

[0082] Collecting multiple door opening position points in the process from the third extreme position to the fourth extreme position when the door body is in the door opening state and second magnetic field intensity parameters corresponding to the door opening position points;

[0083] Recording a mapping relationship between the collected door opening position point and the collected second magnetic field strength parameter;

[0084] The third magnetic field strength parameter set corresponding to the position of the door body in the locked state is collected, including:

[0085] Collecting at least one door locking position point in the process from the fifth extreme position to the sixth extreme position when the door body is in the door locking state and a third magnetic field strength parameter corresponding to the door locking position point;

[0086] Recording the mapping relationship between the collected door lock position point and the collected third magnetic field strength parameter;

[0087] Among them, when the fifth extreme position and the sixth extreme position are the same door locking position point, the half-closed state only corresponds to one door locking position point.

[0088] In the embodiment provided by the present application, the mapping relationship between the recorded and collected virtual mask position points and the collected first magnetic field intensity parameters includes:

[0089] When the first limit position and the second limit position are different virtual cover position points, comparing the first magnetic field intensity parameter of the collected virtual cover position point with the first virtual cover position point collected last;

[0090] If the difference between the first magnetic field strength parameter of the virtual mask position point collected this time and the virtual mask position point collected last time is less than the first threshold, the virtual mask position point collected this time and the first magnetic field strength parameter collected this time are screened out;

[0091] If the change in the first magnetic field strength parameter between the virtual mask position point collected by the magnetic field and the virtual mask position point collected last is greater than the second threshold, the virtual mask position point collected this time is compared with the virtual mask position point collected previously, and the change results are obtained respectively. If there is a change result less than the first threshold, the virtual mask position point collected this time and the first magnetic field strength parameter collected this time are screened out.

[0092] In the embodiment provided in the present application, the first extreme position and the second extreme position may be the same virtual cover position point. When collecting the first magnetic field strength parameter set of the corresponding position when the door body is in the virtual cover state, the door body is moved from the first extreme position to the second extreme position, and the first magnetic field strength parameters of each virtual cover position point when the door body moves from the first extreme position to the second extreme position are collected. In order to avoid the collected virtual cover position points being too concentrated, the present application compares the collected virtual cover position points with the first magnetic field strength parameters of the last collected virtual cover position, and obtains the change result. If the change result is less than the first threshold value, the virtual cover position points collected this time and the first magnetic field strength parameters collected this time are screened out.

[0093] The mapping relationship between the recorded and collected door opening position point and the collected second magnetic field strength parameter includes:

[0094] Comparing the second magnetic field strength parameter of the acquired door opening position point with the last acquired door opening position point;

[0095] If the change in the second magnetic field strength parameter between the door opening position point collected this time and the door opening position point collected last time is less than the third threshold, the door opening position point collected this time and the second magnetic field strength parameter collected this time are screened out;

[0096] If the change in the second magnetic field strength parameter between the door opening position point collected by the magnetic field and the last collected door opening position point is greater than the fourth threshold, the door opening position point collected this time is compared with the door opening position point collected previously, and the change results are obtained respectively. If there is a change result less than the third threshold, the door opening position point collected this time and the second magnetic field strength parameter collected this time are screened out.

[0097] In the embodiment provided in the present application, the door body has a third extreme position and a fourth extreme position when it is in the open state. Generally speaking, the third extreme position and the fourth extreme position are different position points, and the third extreme position can be the same position point as the second extreme position when the door body is in the half-closed state.

[0098] When collecting the various door opening position points when the door body is in the open state, the door body is slowly moved from the third extreme position to the fourth extreme position. During the movement of the door body, the magnetic sensor 110 collects the door opening position point to which the door body moves and the second magnetic field strength parameter corresponding to the door opening position point.

[0099] In the process of the door body slowly moving from the third extreme position to the fourth extreme position, in order to avoid the recorded door opening position points being too concentrated, the collected door opening position points are compared with the previously collected door opening position points. If the second magnetic field strength parameter corresponding to the door opening position point collected this time is compared with the previously collected door opening position point, if the change result is less than the third threshold value, the door opening position point collected this time and the second magnetic field strength parameter corresponding to the door opening position point collected this time will be screened out.

[0100] In the embodiment provided in the present application, the door body may swing back in the process of slowly moving from the third extreme position to the fourth extreme position, which will cause the door body position sensed by the magnetic sensor 110 to be repeated. If the amplitude of the door body swinging back is very small, the magnetic sensor 110 collects the door opening position point of the door body swinging back and the second magnetic field strength parameter corresponding to the door opening position point. Since the amplitude of the door body swinging back is very small, the door opening position point collected this time is close to the previous door opening position point collected before the swing, and the change result of the second magnetic field strength parameter corresponding to the door opening position point of the swinging back and the second magnetic field strength parameter corresponding to the previous door opening position point collected before the swing will be relatively small and will be screened out. The amplitude of the door body swinging back is relatively large. Compare the door opening position point collected this time with all the door opening position points collected previously. If there is a door opening position point among all the door opening position points collected previously that is close to the door opening position point collected this time, the door opening position point collected this time and the second magnetic field strength parameter corresponding to the door opening position point will be screened out.

[0101] When the fifth limit position and the sixth limit position are different door locking position points, comparing the third magnetic field strength parameter of the collected door locking position point with the last collected door locking position point;

[0102] If the change in the third magnetic field strength parameter between the door lock position point collected this time and the door lock position point collected last time is less than the fifth threshold, the door lock position point collected this time and the third magnetic field strength parameter collected this time are screened out;

[0103] If the change in the third magnetic field strength parameter between the door lock position point collected by the magnetic field and the last collected door lock position point is greater than the sixth threshold, the door lock position point collected this time is compared with the previously collected door lock position point, and the change results are obtained respectively. If there is a change result less than the fifth threshold, the door lock position point collected this time and the third magnetic field strength parameter collected this time are screened out.

[0104] In the embodiment provided in the present application, the fifth extreme position and the sixth extreme position may be different door locking position points, or may be the same door locking position points.

[0105] The fifth limit position and the sixth limit position may be different door locking position points, and when the door body is moved from the fifth limit position to the sixth limit position, the magnetic sensor 110 collects various door locking position points of the door body in the door locking state.

[0106] The process of collecting various door lock position points of the door body in the locked state through the magnetic sensor 110 is similar to the process of collecting various door open position points of the door body in the open state through the magnetic sensor 110, and this application will not repeat them one by one.

[0107] The first magnetic field intensity parameter includes a first direction parameter, a second direction parameter and a third direction parameter;

[0108] The second magnetic field intensity parameter includes a fourth direction parameter, a fifth direction parameter and a sixth direction parameter;

[0109] The third magnetic field intensity parameter includes a seventh direction parameter, an eighth direction parameter and a ninth direction parameter.

[0110] In the embodiments provided in the present application, the first direction parameter, the second direction parameter and the third direction parameter of the first magnetic field intensity parameter can specify directions through the X-axis, the Y-axis and the Z-axis. Exemplarily, the X-axis, the Y-axis and the Z-axis correspond to the first direction parameter, the second direction parameter and the third direction parameter, respectively.

[0111] The fourth direction parameter, the fifth direction parameter and the sixth direction parameter of the second magnetic field intensity parameter can be specified by the X-axis, the Y-axis and the Z-axis. For example, the X-axis, the Y-axis and the Z-axis correspond to the fourth direction parameter, the fifth direction parameter and the sixth direction parameter, respectively.

[0112] The seventh direction parameter, the eighth direction parameter and the ninth direction parameter of the third magnetic field intensity parameter can specify directions through the X-axis, the Y-axis and the Z-axis. Exemplarily, the X-axis, the Y-axis and the Z-axis correspond to the seventh direction parameter, the eighth direction parameter and the ninth direction parameter, respectively.

[0113] See Figure 2 , Figure 2 The schematic diagram is a broken line diagram of the magnetic field strength parameters collected by the magnetic sensor 110 in the three directions of the X-axis, Y-axis and Z-axis of the door body from the first extreme position to the sixth extreme position.

[0114] The mapping relationship between the recorded collected virtual mask position points and the collected first magnetic field intensity parameters includes:

[0115] Obtaining a change trend of a first magnetic field intensity parameter in a process in which the door body moves from a first extreme position to a second extreme position;

[0116] When collecting pseudo-mask position points, if two or more of the first direction parameter, the second direction parameter and the third direction parameter of the first magnetic field intensity parameter corresponding to the pseudo-mask position point do not conform to the trend of the change of the first magnetic field intensity parameter, the pseudo-mask position points collected this time and the first magnetic field intensity parameter collected this time are screened out;

[0117] The mapping relationship between the recorded and collected door opening position point and the collected second magnetic field strength parameter includes:

[0118] Obtaining a change trend of the second magnetic field intensity parameter when the door body moves from the third limit position to the fourth limit position;

[0119] When collecting the door opening position point, if two or more of the fourth direction parameter, the fifth direction parameter and the sixth direction parameter of the second magnetic field strength parameter corresponding to the door opening position point do not conform to the change trend of the second magnetic field strength parameter, the door opening position point collected this time and the second magnetic field strength parameter collected this time are screened out;

[0120] The mapping relationship between the recorded and collected door lock position point and the collected third magnetic field strength parameter includes:

[0121] Obtaining a change trend of the third magnetic field intensity parameter in a process in which the door body moves from the fifth extreme position to the sixth extreme position;

[0122] When collecting the door locking position point, if two or more of the seventh direction parameter, the eighth direction parameter and the ninth direction parameter of the third magnetic field strength parameter corresponding to the door locking position point do not conform to the trend of the change of the third magnetic field strength parameter, the door locking position point and the third magnetic field strength parameter collected this time are screened out.

[0123] In the embodiment provided in the present application, before collecting the corresponding position points of the door body in the half-open state, the door open state, and the door locked state, the corresponding position points of the door body in the half-open state, the door open state, and the door locked state can be pre-collected to roughly determine the two end values ​​of the first magnetic field strength parameter when the door body is in the half-open state (the first extreme position and the second extreme position are different positions), and roughly determine the two end values ​​of the second magnetic field strength parameter when the door body is in the open state, and roughly determine the two end values ​​of the third magnetic field strength parameter when the door body is in the locked state (the fifth extreme position and the sixth extreme position are different positions), and then determine the changing trend of the first magnetic field strength parameter of the door body from the first extreme position to the second extreme position, the changing trend of the second magnetic field strength parameter from the third extreme position to the fourth extreme position, and the changing trend of the third magnetic field strength parameter from the fifth extreme position to the sixth extreme position.

[0124] Specifically, when the first magnetic field strength parameter of the door body in the half-closed state is collected by the magnetic sensor 110, it can be determined whether the first direction parameter, the second direction parameter and the third direction parameter of the half-closed position point collected in real time conform to the change trend of the first magnetic field strength parameter of the door body from the first extreme position to the second extreme position.

[0125] Similarly, when the second magnetic field strength parameter of the door body in the open state is collected by the magnetic sensor 110, it can be determined whether the fourth direction parameter, the fifth direction parameter and the sixth direction parameter of the real-time collected door opening position point are consistent with the change trend of the second magnetic field strength parameter of the door body from the third extreme position to the fourth extreme position.

[0126] Similarly, when the magnetic sensor 110 collects the third magnetic field strength parameter of the door body in the locked state, it can be determined whether the seventh direction parameter, the eighth direction parameter and the ninth direction parameter of the locked door position point collected in real time are consistent with the change trend of the third magnetic field strength parameter of the door body from the fifth extreme position to the sixth extreme position.

[0127] The method further comprises the steps of:

[0128] When the door body is in a half-closed state, obtaining a first verification magnetic field strength parameter corresponding to the position of the door body;

[0129] Determine whether the first verification magnetic field strength parameter is within the interval between the first magnetic field strength parameter with the smallest value and the first magnetic field strength parameter with the largest value in the first magnetic field strength parameter set; if not, collect the first verification magnetic field strength parameters corresponding to a plurality of positions of the door body when the door body is in a half-closed state, compare the first verification magnetic field strength parameters corresponding to the plurality of positions with each of the first magnetic field strength parameters, determine a first deviation value, and readjust each of the first magnetic field strength parameters in the first magnetic field strength parameter set according to the first deviation value;

[0130] When the door body is in an open state, obtaining a second verification magnetic field strength parameter corresponding to the position of the door body;

[0131] Determine whether the second verification magnetic field strength parameter is within the interval between the second magnetic field strength parameter with the smallest value and the second magnetic field strength parameter with the largest value in the second magnetic field strength parameter set; if not, collect the second verification magnetic field strength parameters corresponding to several positions of the door body when the door is in the open state, compare the second verification magnetic field strength parameters corresponding to the several positions with each of the second magnetic field strength parameters, determine a second deviation value, and readjust each of the second magnetic field strength parameters in the second magnetic field strength parameter set according to the deviation value;

[0132] When the door body is in a locked state, obtaining a third verification magnetic field strength parameter corresponding to the position of the door body;

[0133] Determine whether the third verification magnetic field strength parameter is within the interval between the third magnetic field strength parameter with the smallest value and the largest third magnetic field strength parameter in the third magnetic field strength parameter set; if not, collect the third verification magnetic field strength parameters corresponding to several positions of the door body when it is in a locked state, compare the third verification magnetic field strength parameters corresponding to the several positions with each of the third magnetic field strength parameters, determine a third deviation value, and readjust each third magnetic field strength parameter in the third magnetic field strength parameter set according to the third deviation value.

[0134] In the embodiment provided in the present application, the magnetic sensor 110 is easily interfered by the external magnetic field, which may easily lead to misjudgment when judging the state of the door body. Figure 3 , is a broken line view of the magnetic field strength parameters of the X-axis, Y-axis and Z-axis when the door body is disturbed by the external magnetic field from the first extreme position to the sixth extreme position, which are collected by the magnetic sensor 110 provided in the implementation of the present application; when the magnetic sensor 110 is disturbed by the external magnetic field, several position points are collected when the door body is in a half-closed state, an open state and a locked state, and the interference law is converted to obtain the first magnetic field strength parameter set, and the second magnetic field strength parameter set and the third magnetic field strength parameter set are updated according to the interference law.

[0135] In the embodiment provided in the present application, after obtaining the interference law, before updating the first magnetic field strength parameter set, the second magnetic field strength parameter set and the third magnetic field strength parameter set according to the interference law, the position points of several door bodies can also be collected to verify the interference law. If the verification is successful, the first magnetic field strength parameter set, the second magnetic field strength parameter set and the third magnetic field strength parameter set are updated according to the interference law.

[0136] The present application also provides a verification device, see Figure 4 , the verification device 100 comprises:

[0137] The magnetic sensor 110 is used to collect a first magnetic field strength parameter set of a position corresponding to when the door is in a half-closed state, a second magnetic field strength parameter set of a position corresponding to when the door is in an open state, and a third magnetic field strength parameter set of a position corresponding to when the door is in a locked state;

[0138] The conveyor 120 is used to convey the mapping relationship between the door body in the half-closed state and the first magnetic field strength parameter set, the mapping relationship between the door body in the open state and the second magnetic field strength parameter set, and the mapping relationship between the door body in the locked state and the third magnetic field strength parameter set to the database.

[0139] The embodiment of the present application also provides a door lock, which has the above-mentioned verification device 100.

[0140] The embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores computer instructions, and the computer instructions implement the above method when executed by a processor.

[0141] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A door lock calibration method, characterized in that: include: Collect a first magnetic field strength parameter set of a position corresponding to when the door is in a half-closed state, a second magnetic field strength parameter set of a position corresponding to when the door is in an open state, and a third magnetic field strength parameter set of a position corresponding to when the door is in a locked state; Transmitting the mapping relationship between the door body in a half-closed state and the first magnetic field strength parameter set, the mapping relationship between the door body in an open state and the second magnetic field strength parameter set, and the mapping relationship between the door body in a locked state and the third magnetic field strength parameter set to a database; The first magnetic field strength parameter set includes at least one first magnetic field strength parameter, each of the first magnetic field strength parameters corresponds to a half-closed position point of the door body when the door body is in a half-closed state; The second magnetic field strength parameter set includes at least one second magnetic field strength parameter, each of which corresponds to an opening position point of the door body when the door is in an open state; The third magnetic field strength parameter set includes at least one third magnetic field strength parameter, each of which corresponds to a door lock position point when the door body is in a locked state; When the door body is in a half-closed state, obtaining a first verification magnetic field strength parameter corresponding to the position of the door body; Determine whether the first verification magnetic field strength parameter is within the interval between the first magnetic field strength parameter with the smallest value and the first magnetic field strength parameter with the largest value in the first magnetic field strength parameter set; if not, collect the first verification magnetic field strength parameters corresponding to a plurality of positions of the door body when the door body is in a half-closed state, compare the first verification magnetic field strength parameters corresponding to the plurality of positions with each of the first magnetic field strength parameters, determine a first deviation value, and readjust each of the first magnetic field strength parameters in the first magnetic field strength parameter set according to the first deviation value; When the door body is in an open state, obtaining a second verification magnetic field strength parameter corresponding to the position of the door body; Determine whether the second verification magnetic field strength parameter is within the interval between the second magnetic field strength parameter with the smallest value and the second magnetic field strength parameter with the largest value in the second magnetic field strength parameter set; if not, collect the second verification magnetic field strength parameters corresponding to several positions of the door body when the door is in the open state, compare the second verification magnetic field strength parameters corresponding to the several positions with each of the second magnetic field strength parameters, determine a second deviation value, and readjust each of the second magnetic field strength parameters in the second magnetic field strength parameter set according to the deviation value; When the door body is in a locked state, obtaining a third verification magnetic field strength parameter corresponding to the position of the door body; Determine whether the third verification magnetic field strength parameter is within the interval between the third magnetic field strength parameter with the smallest value and the largest third magnetic field strength parameter in the third magnetic field strength parameter set; if not, collect the third verification magnetic field strength parameters corresponding to several positions of the door body when it is in a locked state, compare the third verification magnetic field strength parameters corresponding to the several positions with each of the third magnetic field strength parameters, determine a third deviation value, and readjust each third magnetic field strength parameter in the third magnetic field strength parameter set according to the third deviation value.

2. The door lock calibration method according to claim 1, characterized in that: The first magnetic field strength parameter set corresponding to the position of the acquisition door body in the half-closed state includes: Collecting at least one virtual closing position point in the process from the first extreme position to the second extreme position when the door body is in the virtual closing state and a first magnetic field intensity parameter corresponding to the virtual closing position point; Recording a mapping relationship between the collected virtual mask position points and the collected first magnetic field intensity parameters; Wherein, when the first limit position and the second limit position are the same virtual cover position point, the virtual cover state corresponds to only one virtual cover position point; The second magnetic field strength parameter set corresponding to the position of the door body when the door is in the open state is collected, including: Collecting multiple door opening position points in the process from the third extreme position to the fourth extreme position when the door body is in the door opening state and second magnetic field intensity parameters corresponding to the door opening position points; Recording a mapping relationship between the collected door opening position point and the collected second magnetic field strength parameter; The third magnetic field strength parameter set corresponding to the position of the door body in the locked state is collected, including: Collecting at least one door locking position point in the process from the fifth extreme position to the sixth extreme position when the door body is in the door locking state and a third magnetic field strength parameter corresponding to the door locking position point; Recording the mapping relationship between the collected door lock position point and the collected third magnetic field strength parameter; Among them, when the fifth extreme position and the sixth extreme position are the same door locking position point, the door locking state corresponds to only one door locking position point.

3. The door lock calibration method according to claim 2, characterized in that: The mapping relationship between the recorded collected virtual mask position points and the collected first magnetic field intensity parameters includes: When the first limit position and the second limit position are different virtual cover position points, compare the collected virtual cover position point with the last collected virtual cover position point. The first magnetic field strength parameter of the point; If the difference between the first magnetic field strength parameter of the virtual mask position point collected this time and the virtual mask position point collected last time is less than the first threshold, the virtual mask position point collected this time and the first magnetic field strength parameter collected this time are screened out; If the change of the first magnetic field strength parameter between the virtual mask position point collected by the magnetic field and the virtual mask position point collected last is greater than the second threshold, the virtual mask position point collected this time is compared with the virtual mask position point collected previously, and the change results are obtained respectively. If there is a change result less than the first threshold, the virtual mask position point collected this time and the first magnetic field strength parameter collected this time are screened out; The mapping relationship between the recorded and collected door opening position point and the collected second magnetic field strength parameter includes: Comparing the second magnetic field strength parameter of the acquired door opening position point with the last acquired door opening position point; If the change in the second magnetic field strength parameter between the door opening position point collected this time and the door opening position point collected last time is less than the third threshold, the door opening position point collected this time and the second magnetic field strength parameter collected this time are screened out; If the change in the second magnetic field strength parameter between the door opening position point collected by the magnetic field and the door opening position point collected last is greater than the fourth threshold, the door opening position point collected this time is compared with the door opening position point collected previously, and the change results are obtained respectively. If there is a change result less than the third threshold, the door opening position point collected this time and the second magnetic field strength parameter collected this time are screened out; When the fifth limit position and the sixth limit position are different door locking position points, comparing the third magnetic field strength parameter of the collected door locking position point with the last collected door locking position point; If the change in the third magnetic field strength parameter between the door lock position point collected this time and the door lock position point collected last time is less than the fifth threshold, the door lock position point collected this time and the third magnetic field strength parameter collected this time are screened out; If the change in the third magnetic field strength parameter between the door lock position point collected by the magnetic field and the last collected door lock position point is greater than the sixth threshold, the door lock position point collected this time is compared with the previously collected door lock position point, and the change results are obtained respectively. If there is a change result less than the fifth threshold, the door lock position point collected this time and the third magnetic field strength parameter collected this time are screened out.

4. The door lock calibration method according to claim 3, characterized in that: The first magnetic field intensity parameter includes a first direction parameter, a second direction parameter and a third direction parameter; The second magnetic field intensity parameter includes a fourth direction parameter, a fifth direction parameter and a sixth direction parameter; The third magnetic field intensity parameter includes a seventh direction parameter, an eighth direction parameter and a ninth direction parameter.

5. The door lock calibration method according to claim 4, characterized in that: The mapping relationship between the recorded collected virtual mask position points and the collected first magnetic field intensity parameters includes: Obtaining a change trend of a first magnetic field intensity parameter in a process in which the door body moves from a first extreme position to a second extreme position; When collecting pseudo-mask position points, if two or more of the first direction parameter, the second direction parameter and the third direction parameter of the first magnetic field intensity parameter corresponding to the pseudo-mask position point do not conform to the trend of the change of the first magnetic field intensity parameter, the pseudo-mask position points collected this time and the first magnetic field intensity parameter collected this time are screened out; The mapping relationship between the recorded and collected door opening position point and the collected second magnetic field strength parameter includes: Obtaining a change trend of the second magnetic field intensity parameter in a process in which the door body moves from the third extreme position to the fourth extreme position; When collecting the door opening position point, if two or more of the fourth direction parameter, the fifth direction parameter and the sixth direction parameter of the second magnetic field strength parameter corresponding to the door opening position point do not conform to the change trend of the second magnetic field strength parameter, the door opening position point collected this time and the second magnetic field strength parameter collected this time are screened out; The mapping relationship between the recorded and collected door lock position point and the collected third magnetic field strength parameter includes: Obtaining a change trend of the third magnetic field intensity parameter in a process in which the door body moves from the fifth extreme position to the sixth extreme position; When collecting the door locking position point, if two or more of the seventh direction parameter, the eighth direction parameter and the ninth direction parameter of the third magnetic field strength parameter corresponding to the door locking position point do not conform to the trend of the change of the third magnetic field strength parameter, the door locking position point and the third magnetic field strength parameter collected this time are screened out.

6. A verification device, characterized in that: The verification device executes the method according to any one of claims 1-5.

7. A door lock, characterized in that: The door lock has a verification device as claimed in claim 6.

8. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Door latch actuation means

    WO2019121715A1