Helmet lock, helmet lock control method and device

By designing a helmet lock that utilizes a detection device and a controller to ensure that the extension of the lock tongue is within the preset range before closing the lock, the problems of high hardware cost and low anti-deception in the existing technology are solved, and cost reduction is achieved. and safety improvement effects.

CN115538863BActive Publication Date: 2024-08-23BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111351864.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-06-29
Filing Date
2021-11-16
Publication Date
2024-08-23
Estimated Expiration
2041-11-16

AI Technical Summary

Technical Problem

Existing helmet lock technology uses methods such as radio frequency identification and Hall detection, which have high hardware costs, low maintainability, and limited anti-deception capabilities, making it difficult to effectively reduce the cost of helmet locks and improve safety.

Method used

A helmet lock is designed that uses simple components to realize the extension and retraction functions of the lock tongue. Through the cooperation of the detection device and the controller, it is ensured that the lock tongue can be successfully closed only when the extension amount is within the preset range, which reduces the cost. The lock is deceptive and the spring pushes the helmet to eject the lock to improve the user experience.

Benefits of technology

The realization of the helmet lock function reduces costs, improves anti-spoofing, and improves user experience and security through specific locking protocols and spring devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115538863B_ABST
    Figure CN115538863B_ABST
Patent Text Reader

Abstract

The present disclosure provides a helmet lock, a helmet lock control method and a device, wherein the helmet lock includes a first detection device, a lock tongue control device, and a lock tongue; the lock tongue is located at a first preset position when the helmet lock is unlocked; the first detection device is communicatively connected to the lock tongue control device; and the lock tongue control device is connected to the lock tongue. The first detection device can detect the lock control operation and feed back a lock signal to the lock tongue control device. The lock tongue control device can control the lock tongue to extend when receiving the lock signal; obtain the extension amount of the lock tongue, and when the extension amount is not within the first preset range, control the lock tongue to retract to the first preset position in the unlocked state, and send a lock failure signal to the remote device. It realizes the function of the helmet lock with simple components, reduces the cost of the helmet lock, and uses a specific lock protocol, that is, the lock can be successfully locked only when the extension amount is within the first preset range, effectively reducing the deceptiveness of the lock.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of helmet locks, and in particular to a helmet lock, a helmet lock control method and a helmet lock control device. Background Art

[0002] As people's awareness of traffic safety increases, in order to ensure cycling safety, most bicycles are equipped with helmets. However, in order to avoid the increase in helmet costs caused by the loss of helmets, helmet locks need to be set for helmets. Most of the helmet locks currently installed use technologies such as Radio Frequency Identification (RFID) and Hall detection. However, the solution of using RFID to identify helmets requires a built-in RFID chip and an RFID reader to be configured in the lock, which has high hardware costs and low maintainability, and will also increase additional structural design costs. In addition, the solution of using Hall to identify helmets is easily interfered with and has limited anti-deception capabilities. Summary of the invention

[0003] The embodiments of the present disclosure at least provide a helmet lock, a helmet lock control method and a helmet lock control device.

[0004] In a first aspect, an embodiment of the present disclosure provides a helmet lock, comprising a first detection device, a lock tongue control device, and a lock tongue; the lock tongue is located at a first preset position when the helmet lock is unlocked; the first detection device is communicatively connected to the lock tongue control device; the lock tongue control device is connected to the lock tongue;

[0005] The first detection device is configured to detect the locking control operation and feed back a locking signal to the lock tongue control device;

[0006] The lock tongue control device is configured to, upon receiving the locking signal, control the lock tongue to extend; obtain the extension amount of the lock tongue, and, if the extension amount is not within a first preset range, control the lock tongue to retract to a first preset position in an unlocked state, and send a locking failure signal to a remote device.

[0007] In an optional embodiment, the lock tongue control device includes a lock tongue drive device and a controller; the first detection device is communicatively connected to the controller; the controller is communicatively connected to the lock tongue drive device; the lock tongue drive device is connected to the lock tongue;

[0008] The first detection device is configured to feed back the locking signal to the controller;

[0009] The controller is configured to, upon receiving the locking signal, control the lock tongue driving device to drive the lock tongue to extend; and, obtain the extension amount of the lock tongue, and, when the extension amount is not within the first preset range, control the lock tongue driving device to drive the lock tongue to retract to the first preset position in the unlocked state.

[0010] In an optional embodiment, the bolt driving device includes a motor; the motor is communicatively connected to the controller;

[0011] The motor is configured to drive the lock tongue to extend under the control of the controller;

[0012] The controller is configured to obtain a first operating current value of the motor when driving the lock tongue to extend, and when the first operating current value is higher than or equal to a first preset threshold, control the lock tongue to stop moving through the lock tongue driving device and obtain the extension amount of the lock tongue.

[0013] In an optional embodiment, the motor is configured to drive the lock tongue to retract under the control of the controller;

[0014] The controller is configured to obtain a second operating current value of the motor when driving the lock tongue to retract, and control the lock tongue to stop moving through the lock tongue driving device when the second operating current value is higher than or equal to a second preset threshold.

[0015] In an optional embodiment, the bolt driving device further includes an actuator;

[0016] The motor is configured to drive the lock tongue to extend under the control of the pulse sent by the controller;

[0017] The controller is configured to determine an extension amount of the locking tongue based on the number of the pulses, a first driving parameter of the motor, and a second driving parameter of the actuator.

[0018] In an optional implementation, the motor is further configured to drive the lock tongue to extend or retract through the actuator.

[0019] In an optional implementation, the first detection device includes a pressure detection device.

[0020] In an optional embodiment, a second detection device is further included; the second detection device is configured to detect a first stop operation and feed back the first stop signal to the lock tongue control device; the first stop operation is a stop operation during the extension of the lock tongue;

[0021] The lock tongue control device is configured to control the lock tongue to stop extending and obtain the extension amount of the lock tongue when receiving the first stop signal.

[0022] In an optional embodiment, a third detection device is further included; the third detection device is configured to detect a second stop operation and feed back the second stop signal to the lock tongue control device; the second stop operation is a stop operation during the retraction process of the lock tongue;

[0023] The lock tongue control device is configured to control the lock tongue to stop retracting when receiving the second stop signal.

[0024] In an optional embodiment, it further includes a spring;

[0025] The spring is configured to push the helmet to pop out of the helmet lock when the helmet lock is unlocked.

[0026] In a second aspect, an embodiment of the present disclosure further provides a helmet lock control method, which is applied to a controller in a lock tongue control device of a helmet lock, and is characterized by comprising:

[0027] When receiving a lock signal transmitted by the first detection device, controlling the lock tongue to extend;

[0028] Obtaining the extension amount of the lock tongue;

[0029] When the extension amount is not within the first preset range, the lock tongue is controlled to retract to the first preset position in the unlocked state, and a locking failure signal is sent to a remote device.

[0030] In an optional embodiment, the lock tongue control device further includes a lock tongue driving device; the lock tongue driving device includes a motor;

[0031] The obtaining of the extension amount of the lock tongue comprises:

[0032] Acquire a first operating current value of the motor in a process of driving the lock tongue to extend;

[0033] When it is determined that the first operating current value is not within the second preset range, the lock tongue is controlled to stop moving by the lock tongue driving device, and the extension amount of the lock tongue is obtained.

[0034] In an optional implementation manner, before obtaining the extension amount of the lock tongue, the method further includes:

[0035] Acquire a second operating current value of the motor in a process of driving the lock tongue to retract;

[0036] When the second operating current value is not within the third preset range, the lock tongue driving device controls the lock tongue to stop moving.

[0037] In an optional embodiment, the bolt driving device further includes an actuator;

[0038] The obtaining of the extension amount of the lock tongue comprises:

[0039] Determining the number of pulses of the motor during the duration of driving the bolt to extend and stop moving;

[0040] The extension amount of the locking tongue is determined based on the number of the pulses, the first driving parameter of the motor and the second driving parameter of the actuator.

[0041] In an optional implementation, the helmet lock further includes a second detection device;

[0042] The obtaining of the extension amount of the lock tongue comprises:

[0043] When the first stop signal fed back by the second detection device is received, the lock tongue is controlled to stop moving, and the extension amount of the lock tongue is obtained.

[0044] In an optional implementation manner, after determining that the lock fails, the method further includes:

[0045] Determining the number of times the lock signal is received within a first preset time period;

[0046] When the number of times the locking signal is received is greater than a preset number, it is determined that the lock tongue is no longer controlled to extend within a second preset time period.

[0047] In an optional implementation manner, the method further includes:

[0048] When an unlocking signal is received, the lock tongue is controlled to retract to a first preset position in an unlocking state; the unlocking signal is an unlocking signal fed back by the client to the controller based on an unlocking control operation.

[0049] In an optional implementation, the helmet lock further includes a third detection device;

[0050] When receiving the unlock signal, controlling the lock tongue to retract to a first preset position in the unlock state comprises:

[0051] When receiving an unlocking signal sent by the client, controlling the lock tongue to retract;

[0052] When the second stop signal fed back by the third detection device is received, the lock tongue is controlled to stop at the first preset position in the unlocked state.

[0053] In a third aspect, an embodiment of the present disclosure further provides a helmet lock control device, which is applied to a controller in a lock tongue control device of a helmet lock, comprising:

[0054] A first control module, configured to control the lock tongue to extend when receiving a lock signal transmitted by the first detection device;

[0055] A first acquisition module, used to acquire the extension amount of the lock tongue;

[0056] The second control module is used for controlling the lock tongue to retract to the first preset position in the unlocked state when the extension amount is not within the first preset range, and sending a locking failure signal to the remote device.

[0057] In an optional embodiment, the lock tongue control device further includes a lock tongue driving device; the lock tongue driving device includes a motor;

[0058] The first acquisition module is used to obtain the first working current value of the motor when driving the lock tongue to extend; when it is determined that the first working current value is not within a second preset range, the lock tongue is controlled to stop moving through the lock tongue driving device, and the extension amount of the lock tongue is obtained.

[0059] In an optional embodiment, the device also includes a second acquisition module, which is used to obtain a second operating current value of the motor in the process of driving the lock tongue to retract before obtaining the extension amount of the lock tongue; when the second operating current value is not within a third preset range, the lock tongue is controlled to stop moving by the lock tongue driving device.

[0060] In an optional embodiment, the bolt driving device further includes an actuator;

[0061] The first acquisition module is used to determine the number of pulses of the motor during the time period of driving the lock tongue to extend and stop moving; and determine the extension amount of the lock tongue based on the number of pulses, the first driving parameter of the motor and the second driving parameter of the actuator.

[0062] In an optional implementation, the helmet lock further includes a second detection device;

[0063] The first acquisition module is used to control the lock tongue to stop moving and acquire the extension amount of the lock tongue when receiving the first stop signal fed back by the second detection device.

[0064] In an optional embodiment, the device also includes a third control module, which, after determining that the locking has failed, determines the number of times the locking signal is received within a first preset time period; if the number of times the locking signal is received is greater than the preset number, determines that the lock tongue will no longer be controlled to extend within a second preset time period.

[0065] In an optional embodiment, the second control module is also used to control the lock tongue to retract to a first preset position in the unlocked state when an unlocking signal is received; the unlocking signal is an unlocking signal that the client feeds back to the controller based on the unlocking control operation.

[0066] In an optional implementation, the helmet lock further includes a third detection device;

[0067] The second control module is further used to control the lock tongue to retract when receiving an unlocking signal sent by the client; and to control the lock tongue to stop at the first preset position in the unlocking state when receiving a second stop signal fed back by the third detection device.

[0068] For a description of the effects of the above-mentioned helmet lock control method and device, please refer to the description of the above-mentioned helmet lock, which will not be repeated here.

[0069] The embodiments of the present disclosure provide a helmet lock, a helmet lock control method and a device, wherein the helmet lock includes a first detection device, a lock tongue control device, and a lock tongue; the lock tongue is located at a first preset position when the helmet lock is unlocked; the first detection device is connected to the lock tongue control device in communication; and the lock tongue control device is connected to the lock tongue. The first detection device can detect the lock control operation and feedback the lock signal to the lock tongue control device. The lock tongue control device can control the lock tongue to extend when receiving the lock signal; then, the extension amount of the lock tongue is obtained, and when the extension amount is not within the first preset range, the lock tongue is controlled to retract to the first preset position in the unlocked state, and a lock failure signal is sent to the remote device. Compared with the technology with high hardware cost in the prior art, it realizes the function of the helmet lock with simple components, reduces the cost of the helmet lock, and uses a specific lock protocol, that is, the lock can be successfully locked only when the extension amount is within the first preset range, effectively reducing the deception of the lock.

[0070] Furthermore, the helmet lock provided in the embodiment of the present disclosure further includes a spring, which pushes the helmet to pop out of the helmet lock when the helmet lock is unlocked. Here, when the helmet is borrowed, the helmet is ejected by the spring, which can improve the user's borrowing experience and also remind the user that the helmet lock is opened.

[0071] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0073] Figure 1 A schematic diagram of the structure of a helmet lock provided by an embodiment of the present disclosure is shown;

[0074] Figure 2 A schematic diagram showing the internal structure of a helmet lock provided by an embodiment of the present disclosure;

[0075] Figure 3 A flowchart of a helmet lock control method provided by an embodiment of the present disclosure is shown;

[0076] Figure 4 A schematic diagram of a helmet lock control device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0077] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0078] In addition, the terms "first", "second", etc. in the description and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein.

[0079] The "multiple or several" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0080] Research has found that as people's awareness of traffic safety increases, in order to ensure cycling safety, most bicycles are equipped with helmets. However, in order to avoid the increase in helmet costs caused by the loss of helmets, helmet locks need to be set for helmets. Most of the helmet locks currently installed use technologies such as Radio Frequency Identification (RFID) and Hall detection. However, the solution of using RFID to identify helmets requires a built-in RFID chip and an RFID reader to be configured in the lock, which has high hardware costs and low maintainability, and will also increase additional structural design costs. In addition, the solution of using Hall to identify helmets is easily interfered with and has limited anti-deception capabilities.

[0081] Based on the above research, the present disclosure provides a helmet lock, a helmet lock control method, a device, an equipment, a medium and a product, which achieve the function of the helmet lock by using simple components, reduce the cost of the helmet lock, and at the same time use a specific locking protocol, that is, the lock can only be successfully locked when the extension amount is within a first preset range, effectively reducing the deceptiveness of the lock.

[0082] The defects existing in the above solutions are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present disclosure for the above problems below should be the contributions made by the inventor to the present disclosure during the disclosure process.

[0083] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0084] To facilitate understanding of this embodiment, a helmet lock disclosed in the embodiment of the present disclosure is first introduced. The helmet lock provided by the embodiment of the present invention can be applied to shared bicycles, shared electric motorcycles, bicycles, electric motorcycles, bicycles, motorcycles and other transportation vehicles. Figure 1 As shown, it is a schematic diagram of the structure of the helmet lock, which includes a first detection device 11, a lock tongue control device 12, and a lock tongue 13. The lock tongue control device 12 is connected to the lock tongue 13, and the lock tongue control device 12 can control the lock tongue 13 to extend or retract.

[0085] The lock tongue 13 is located at a first preset position when the helmet lock is unlocked. Figure 1 Reference numeral 14 indicates a first preset position, i.e., the position where the lock tongue stops when the helmet lock is unlocked.

[0086] The first detection device 11 is in communication connection with the lock tongue control device 12. In some embodiments, the first detection device feeds back a signal to the lock tongue control device, and the signal may be a lock signal, i.e., a signal for closing the helmet lock.

[0087] The first detection device 11 is configured to detect the locking control operation and feed back a locking signal to the deadbolt control device.

[0088] Exemplarily, the first detection device may be a pressure detection device, and the lock control operation may be an operation in which the user linearly presses the helmet. Here, the pressure detection device detects the lock control operation by detecting the pressure. When the pressure detection device detects the lock control operation, a lock signal may be fed back to the lock tongue control device, i.e., a signal for closing the helmet lock.

[0089] Exemplarily, the first detection device may also be other sensors capable of detecting locking control operations, such as an infrared sensor or a photoelectric sensor.

[0090] The lock tongue control device 12 is configured to control the lock tongue to extend when receiving a lock signal; obtain the extension amount of the lock tongue, and when the extension amount is not within a first preset range, control the lock tongue to retract to a first preset position in an unlocked state, and send a lock failure signal to a remote device.

[0091] Here, the first preset range belongs to a specific locking protocol of the helmet lock, which is a protocol set by the developer to prevent users from cheating in locking. That is, when the lock tongue stops, if the extension is within the first preset range, it indicates that the locking is successful; otherwise, the locking fails. It should be noted that the first preset range includes the maximum value and the minimum value of the range. Exemplarily, the first preset range can be 24mm to 26mm, including the minimum value of 24mm and the maximum value of 26mm in the range.

[0092] The above-mentioned first preset range can also select a suitable range according to the specific application scenario, and the embodiment of the present disclosure does not limit this. Without departing from the scope of the present disclosure, those skilled in the art can make various modifications to the specific range of the first preset range, and these modifications should fall within the scope of the present disclosure.

[0093] Here, when the lock signal sent by the first detection device is received, the lock tongue is controlled to extend, and in one possible implementation, when the lock tongue stops moving, the extension amount of the lock tongue is obtained. In another possible implementation, during the movement of the lock tongue, the extension amount of the lock tongue is determined in real time, and when the extension amount of the lock tongue exceeds the maximum value of the first preset range, the lock tongue is directly controlled to retract to the first preset position in the unlocked state without waiting for the lock tongue to stop, and a lock failure signal is sent to the remote device.

[0094] Exemplarily, the remote device includes a user terminal or a cloud server of the helmet lock. The lock failure signal can be used to prompt the user and / or the cloud server that the lock has failed this time; the user can determine the current lock failure through the lock failure information, and can continue to perform the lock operation until the helmet lock is successfully locked. The cloud server can determine the number of lock failures of the current user by recording the lock failure information, or determine whether the helmet theft has occurred based on the user order information and the lock failure information. Specifically, when the cloud server detects that the order information of the current user indicates that the order is completed, but the helmet lock fails to be locked this time, it can be considered that the current user has stolen the helmet, and the user is prompted to return the helmet as soon as possible.

[0095] See also Figure 2 As shown, it is a schematic diagram of the internal structure of the helmet lock. The lock tongue control device 12 includes a lock tongue drive device 121 and a controller 122; the lock tongue drive device 121 includes a motor 1211 and an actuator 1212. Here, the first detection device 11 is connected to the controller 122 for communication; the lock tongue drive device 121 is connected to the controller 122 for communication, and specifically, the motor 1211 in the lock tongue drive device 121 is connected to the controller 122 for communication.

[0096] The lock tongue control device 12 is connected to the lock tongue 13 . Specifically, the lock tongue 13 is connected to the actuator 1212 , the actuator 1212 is connected to the motor 1211 , and the motor 1211 is communicatively connected to the controller 122 .

[0097] Here, the motor 1211 can drive the locking tongue 13 to extend or retract through the actuator 1212 .

[0098] The first detection device 11 is configured to feed back a locking signal to the controller.

[0099] The controller 122 is configured to, upon receiving a lock signal, control the lock tongue drive device to drive the lock tongue to extend; and, obtain the extension amount of the lock tongue, and when the extension amount is not within a first preset range, control the lock tongue drive device to drive the lock tongue to retract to a first preset position in an unlocked state.

[0100] Here, the motor can drive the lock tongue to extend under the control of the controller. Specifically, the controller sends a forward pulse to the motor, and the motor drives the lock tongue to extend through the actuator.

[0101] Continuing with the above, when the lock tongue stops moving, the extension amount of the lock tongue is obtained. In specific implementation, the controller can obtain the first working current value of the motor in the process of driving the lock tongue to extend, and when the first working current value is higher than or equal to the first preset threshold, the lock tongue is controlled to stop moving through the lock tongue driving device, and the extension amount of the lock tongue is obtained.

[0102] Here, the way in which the controller obtains the first working current value of the motor includes: the motor can send the first working current value of the motor when the lock tongue is extended to the controller, or it can be based on the current detection device that detects the motor current value, and the first working current value of the motor when the lock tongue is extended is fed back to the controller. It should be noted that the way in which the controller involved in the embodiments of the present disclosure obtains the first working current value includes but is not limited to the above two methods, and other sensors that can obtain the motor current value can also be used to feed back the current value to the controller, which is not limited in the embodiments of the present disclosure and will not be listed one by one.

[0103] Here, there is a large difference between the working current value of the motor when it is working normally and the working current value when the rotation is blocked. Therefore, it can be judged whether the lock tongue needs to stop moving according to the working current value of the motor.

[0104] After obtaining the first working current value, the controller determines whether the first working current value is higher than or equal to the first preset threshold value. After comparison, if the first working current value is higher than or equal to the first preset threshold value, it can be determined that the current lock tongue is blocked by external force and the lock tongue needs to be controlled to stop moving. Then, the extension amount of the lock tongue is determined. Exemplarily, the first preset threshold value can be the stall current of the motor, such as 0.6A. The normal working current value of the motor in the working state can be the rated current of the motor under normal operation, such as 0.16A.

[0105] Here, the reason why the first working current value is higher than or equal to the first preset threshold value includes that the lock tongue encounters an external force when extending, and the blocking external force can be an external force blocked by a baffle in the helmet groove, in which case it is a normal locked state; it can also be an external force blocked by a user, in which case it is an abnormal locked state.

[0106] If the first working current value is within the range of the normal working current value, it is determined that the lock tongue is not blocked by external force and can continue to extend. Exemplarily, the normal working current value may be within the range of 0.15 to 0.17A.

[0107] The range of the above-mentioned normal operating current value and the first preset threshold value can also be determined based on empirical values, and are not specifically limited in the embodiments of the present disclosure.

[0108] In a possible implementation, the controller determines the current extension amount of the lock tongue. Specifically, the controller is configured to determine the extension amount of the lock tongue based on the number of pulses, the first driving parameter of the motor, and the second driving parameter of the actuator.

[0109] Exemplarily, the motor can be a stepper motor. Specifically, the first driving parameters of the motor include the step angle θ of the stepper motor and the subdivision number C of the stepper motor driver; when the actuator is a screw nut, the second driving parameters of the actuator include the pitch P and the number of thread heads n of the screw; when the actuator is a rack and pinion, the second driving parameters of the actuator include the module m and the number of teeth z of the gear.

[0110] Continuing with the above example, taking the actuator as a lead screw nut, when the step angle θ, the lead screw pitch P and the number of thread starts n are known, first determine the number of pulses per rotation of the stepper motor, that is, Afterwards, the number of pulses per rotation of the stepper motor is determined based on the subdivision number C, that is, After that, the length l1 of one revolution of the stepper motor is determined, i.e. l1 = P × n, and the linear displacement of one pulse is determined. Afterwards, the controller determines the number of pulses N within a period of time from the extension of the lock tongue to the stop of the lock tongue based on the recorded number of pulses sent to the stepper motor, and determines the extension amount f of the lock tongue based on the number of pulses N, that is, f=N×x1.

[0111] Continuing with the above example, taking the actuator as a gear rack, given the step angle θ, the gear module m, the number of teeth z, and the number of pulses per rotation of the stepper motor, that is, And based on the subdivision number C, determine the number of pulses of the stepper motor for one rotation, that is, In the case of , determine the length l2 of one revolution of the stepper motor, that is, l2 = m × z, and then determine the linear displacement of one pulse Afterwards, the controller determines the number of pulses N within a period of time from the extension of the lock tongue to the stop of the lock tongue based on the recorded number of pulses sent to the stepper motor, and determines the extension amount f of the lock tongue based on the number of pulses N, that is, f=N×x2.

[0112] With respect to the above-mentioned embodiment, that is, in the case where the extension amount of the lock tongue is determined in real time during the movement of the lock tongue, the extension amount of the lock tongue can be determined in real time by the above-mentioned method of determining the extension amount of the lock tongue. When the extension amount of the lock tongue is less than the minimum value of the first preset range and the lock tongue is not in a stopped state, the lock tongue is controlled to continue to extend; when the extension amount of the lock tongue is greater than the maximum value of the first preset range and the lock tongue is not in a stopped state, the lock tongue is controlled to continue to retract to the first preset position in the unlocked state.

[0113] In a possible implementation, the helmet lock further includes a second detection device 15, which can be used to detect whether the currently extended lock tongue needs to stop extending.

[0114] The second detection device 15 is configured to detect a first stop operation and feed back a first stop signal to the lock tongue control device; the first stop operation is a stop operation during the process of the lock tongue extending.

[0115] The lock tongue control device 12 is configured to control the lock tongue to stop extending and obtain the extension amount of the lock tongue when receiving the first stop signal.

[0116] Here, the second detection device can be a pressure detection device, and the first stop operation can be an operation in which the lock tongue is blocked when it is extended. Exemplarily, the first stop operation can include an operation in which the user blocks the lock tongue from continuing to extend, an operation in which the lock tongue is blocked from extending by a foreign object, an operation in which a baffle in the helmet groove blocks the lock tongue from continuing to extend, etc.

[0117] The pressure detection device detects the pressure and then detects the first stop operation. When the second detection device detects the first stop operation, a stop signal, i.e., a first stop signal, can be fed back to the lock tongue control device. When the controller receives the first stop signal, the motor is controlled to stop rotating, and then the lock tongue is controlled to stop extending, and then the extension amount of the lock tongue from the beginning to the stopping of the extension is obtained. Here, the method of obtaining the extension amount can refer to the method of determining the extension amount of the lock tongue mentioned above, and the repeated parts will not be repeated.

[0118] After the lock tongue stops extending, it is determined that the extension amount of the lock tongue is not within the first preset range, and the controller controls the lock tongue to retract to the first preset position in the unlocked state. Here, during the retraction process of the lock tongue, the configuration of the motor and the controller includes:

[0119] The motor 1211 is configured to drive the locking tongue to retract under the control of the controller.

[0120] The controller 122 is configured to obtain a second operating current value of the motor during the process of driving the lock tongue to retract, and control the lock tongue to stop moving through the lock tongue driving device when the second operating current value is higher than or equal to a second preset threshold.

[0121] Exemplarily, during the bolt retraction process, the controller may send a reverse pulse to the motor, and the motor drives the bolt to retract via the actuator.

[0122] Here, the controller obtains the second working current value of the motor in the following ways: the motor can send the second working current value when retracted to the controller, or the second working current value of the motor when retracted can be fed back to the controller by a current detection device based on detecting the motor current value.

[0123] After obtaining the second working current value, the controller determines whether the second working current value is higher than or equal to the second preset threshold value. After comparison, if the second working current value is higher than or equal to the second preset threshold value, it can be determined that the current lock tongue is blocked by external force and the lock tongue needs to be controlled to stop moving. Exemplarily, the second preset threshold value can be the stall current of the motor, such as 0.6A.

[0124] Here, the reason why the second working current value is higher than or equal to the second preset threshold value includes that the lock tongue encounters an external force when it is retracted, and the external force may be a force blocked by a baffle in the helmet lock groove.

[0125] If the second operating current value is within the range of the normal operating current value, it is determined that the current lock tongue is not blocked by external force and can continue to retract.

[0126] The above-mentioned second preset threshold value can also be determined based on an empirical value, and the embodiment of the present disclosure does not specifically limit it.

[0127] In a possible implementation, the helmet lock further includes a third detection device 16, which can be used to detect whether the currently retracted lock tongue needs to stop retracting.

[0128] The third detection device 16 is configured to detect a second stop operation and feed back a second stop signal to the lock tongue control device; the second stop operation is a stop operation during the retraction process of the lock tongue;

[0129] The lock tongue control device 12 is configured to control the lock tongue to stop retracting when receiving the second stop signal.

[0130] Here, the third detection device may be a pressure detection device, and the second stop operation may be an operation in which the lock tongue is blocked when retracting. Exemplarily, the second stop operation may include an operation in which a baffle in the helmet lock groove blocks the lock tongue from continuing to retract.

[0131] The pressure detection device detects the pressure and then detects the second stop operation. When the second detection device detects the second stop operation, a stop signal, i.e., a second stop signal, can be fed back to the lock tongue control device. When the controller receives the second stop signal, the motor is controlled to stop rotating, thereby controlling the lock tongue to stop retracting.

[0132] Here, the third detection device can be installed at the target position, at which the third detection device can detect that the lock tongue is retracted and is in the first preset position. Therefore, the controller can stop the lock tongue at the first preset position by receiving the second stop signal.

[0133] In a possible implementation, the helmet lock further includes a spring 17, which can be used to push the helmet in the unlocked state out of the helmet lock. Specifically, the spring 17 is configured to push the helmet out of the helmet lock when the helmet lock is unlocked.

[0134] Here, when the helmet is borrowed, the helmet is ejected using a spring, which can enhance the user's borrowing experience and also remind the user that the helmet lock has been opened.

[0135] The above-mentioned helmet lock realizes the function of the helmet lock by using only a simple device, which reduces the cost of the helmet lock. At the same time, it uses a specific locking protocol, that is, the extension amount is satisfied within the first preset range, which effectively reduces the deceptiveness of the locking by external conditions.

[0136] In order to further understand the embodiments of the present disclosure, the helmet lock control method provided by the embodiments of the present disclosure is described below by taking the execution subject as a controller as an example.

[0137] See also Figure 3 FIG. 1 is a flowchart of a helmet lock control method provided by an embodiment of the present disclosure, the method comprising steps S301 to S303, wherein:

[0138] S301: When receiving a lock signal transmitted by the first detection device, controlling the lock tongue to extend;

[0139] S302: Obtaining the extension amount of the lock tongue;

[0140] S303: When the extension amount is not within the first preset range, the lock tongue is controlled to retract to the first preset position in the unlocked state, and a locking failure signal is sent to the remote device.

[0141] In a possible implementation, the lock tongue control device also includes a lock tongue driving device; the lock tongue driving device includes a motor; for S302, during the specific implementation, a first operating current value of the motor in the process of driving the lock tongue to extend is obtained; when it is determined that the first operating current value is not within a second preset range, the lock tongue driving device is used to control the lock tongue to stop moving, and the extension amount of the lock tongue is obtained.

[0142] In a possible implementation manner, before obtaining the extension amount of the lock tongue, the method further includes:

[0143] Acquire a second operating current value of the motor in a process of driving the lock tongue to retract;

[0144] When the second operating current value is not within the third preset range, the lock tongue driving device controls the lock tongue to stop moving.

[0145] In a possible implementation, the bolt drive device further includes an actuator;

[0146] The obtaining of the extension amount of the lock tongue comprises:

[0147] Determining the number of pulses of the motor during the duration of driving the bolt to extend and stop moving;

[0148] The extension amount of the locking tongue is determined based on the number of the pulses, the first driving parameter of the motor and the second driving parameter of the actuator.

[0149] In a possible implementation manner, the helmet lock further includes a second detection device;

[0150] The obtaining of the extension amount of the lock tongue comprises:

[0151] When the first stop signal fed back by the second detection device is received, the lock tongue is controlled to stop moving, and the extension amount of the lock tongue is obtained.

[0152] In a possible implementation manner, the helmet lock further includes a third detection device;

[0153] When receiving the unlock signal, controlling the lock tongue to retract to a first preset position in the unlock state comprises:

[0154] When receiving an unlocking signal sent by the client, controlling the lock tongue to retract;

[0155] When the second stop signal fed back by the third detection device is received, the lock tongue is controlled to stop at the first preset position in the unlocked state.

[0156] For each of the above possible implementations, reference can be made to the relevant descriptions in the above helmet lock, and the repeated parts will not be repeated here.

[0157] In a possible implementation, in order to prevent the user from frequently performing locking control operations within a period of time, a lock tongue locking mechanism may be provided, that is, the lock tongue is no longer controlled to extend within a second preset time period.

[0158] In specific implementation, after determining that the lock has failed, the number of times the lock signal is received within a first preset time period is determined; when the number of times the lock signal is received is greater than the preset number, it is determined that the lock tongue will no longer be controlled to extend within a second preset time period.

[0159] Here, the lock signal is the signal for closing the helmet lock fed back by the first detection device to the controller. Since the first detection device feeds back the lock signal to the controller by detecting the lock control operation, but the lock control operation includes misoperation or deceptive operation, therefore, within a short period of time, that is, within the first preset time, the first detection device may detect the lock control operation multiple times. In this case, the controller needs to determine the number of times the lock signal is received within the first preset time. If the number of lock signals received is greater than the preset number, the positive pulse may no longer be sent to the motor within the second preset time, that is, the lock tongue is kept in a stationary state at the first preset position within the second preset time.

[0160] In a possible implementation, when a user borrows a helmet, the user-side client can also be used to send an unlock signal to the controller. After that, upon receiving the unlock signal, the controller controls the lock tongue to retract to the first preset position in the unlocked state.

[0161] Here, the unlocking signal is an unlocking signal fed back by the client to the controller based on the unlocking control operation.

[0162] Exemplarily, the unlocking control operation may be an operation in which the user clicks an unlocking button on the helmet in the client.

[0163] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0164] Based on the same inventive concept, a helmet lock control device corresponding to the helmet lock control method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the helmet lock control device in the embodiment of the present disclosure is similar to the above-mentioned helmet lock control method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0165] Reference Figure 4 , which is a schematic diagram of a helmet lock control device provided by an embodiment of the present disclosure, the helmet lock control device is applied to a controller in a lock tongue control device of a helmet lock, and the device comprises: a first control module 401, a first acquisition module 402 and a second control module 403; wherein,

[0166] The first control module 401 is used to control the lock tongue to extend when receiving a lock signal transmitted by the first detection device;

[0167] A first acquisition module 402 is used to acquire the extension amount of the lock tongue;

[0168] The second control module 403 is used for controlling the lock tongue to retract to the first preset position in the unlocked state when the extension amount is not within the first preset range, and sending a locking failure signal to the remote device.

[0169] In an optional embodiment, the lock tongue control device further includes a lock tongue driving device; the lock tongue driving device includes a motor;

[0170] The first acquisition module 402 is used to obtain the first working current value of the motor when driving the lock tongue to extend; when it is determined that the first working current value is not within a second preset range, the lock tongue is controlled to stop moving through the lock tongue driving device, and the extension amount of the lock tongue is obtained.

[0171] In an optional embodiment, the device also includes a second acquisition module 404, which is used to obtain a second operating current value of the motor in the process of driving the lock tongue to retract before obtaining the extension amount of the lock tongue; when the second operating current value is not within a third preset range, the lock tongue is controlled to stop moving by the lock tongue driving device.

[0172] In an optional embodiment, the bolt driving device further includes an actuator;

[0173] The first acquisition module 402 is used to determine the number of pulses of the motor during the time period of driving the lock tongue to extend and stop moving; and determine the extension amount of the lock tongue based on the number of pulses, the first driving parameter of the motor and the second driving parameter of the actuator.

[0174] In an optional implementation, the helmet lock further includes a second detection device;

[0175] The first acquisition module 402 is used to control the lock tongue to stop moving and acquire the extension amount of the lock tongue when receiving the first stop signal fed back by the second detection device.

[0176] In an optional embodiment, the device also includes a third control module 405, which, after determining that the locking has failed, determines the number of times the locking signal is received within a first preset time period; if the number of times the locking signal is received is greater than the preset number, determines that the lock tongue will no longer be controlled to extend within a second preset time period.

[0177] In an optional embodiment, the second control module 403 is also used to control the lock tongue to retract to a first preset position in the unlocked state when an unlocking signal is received; the unlocking signal is an unlocking signal that the client feeds back to the controller based on the unlocking control operation.

[0178] In an optional implementation, the helmet lock further includes a third detection device;

[0179] The second control module 403 is further used to control the lock tongue to retract when receiving an unlocking signal sent by the client; and to control the lock tongue to stop at the first preset position in the unlocking state when receiving a second stop signal fed back by the third detection device.

[0180] For the description of the processing flow of each module in the helmet lock control device and the interaction flow between each module, reference may be made to the relevant description in the above-mentioned helmet lock control method embodiment, which will not be described in detail here.

Claims

1. A helmet lock, characterized in that: It includes a first detection device, a lock tongue control device, and a lock tongue; the lock tongue is located at a first preset position when the helmet lock is unlocked; the first detection device is communicatively connected with the lock tongue control device; the lock tongue control device is connected with the lock tongue; The first detection device is configured to detect the locking control operation and feed back a locking signal to the lock tongue control device. The method comprises: detecting whether the helmet is located within the specified position range of the helmet lock, and if so, feeding back the locking signal; The lock tongue control device is configured to control the lock tongue to extend when receiving the lock signal; The extension amount of the lock tongue is obtained, and when the extension amount is not within a first preset range, the lock tongue is controlled to retract to a first preset position in an unlocked state, and a locking failure signal is sent to a remote device.

2. The helmet lock according to claim 1, characterized in that: The lock tongue control device includes a lock tongue driving device and a controller; the first detection device is connected to the controller in communication; the controller is connected to the lock tongue driving device in communication; the lock tongue driving device is connected to the lock tongue; The first detection device is configured to feed back the locking signal to the controller; The controller is configured to control the lock tongue driving device to drive the lock tongue to extend when receiving the lock signal; And, obtaining the extension amount of the lock tongue, and when the extension amount is not within the first preset range, controlling the lock tongue driving device to drive the lock tongue to retract to the first preset position in the unlocked state.

3. The helmet lock according to claim 2, characterized in that: The bolt drive device comprises a motor; the motor is in communication connection with the controller; The motor is configured to drive the lock tongue to extend under the control of the controller; The controller is configured to obtain a first operating current value of the motor when driving the lock tongue to extend, and when the first operating current value is higher than or equal to a first preset threshold, control the lock tongue to stop moving through the lock tongue driving device and obtain the extension amount of the lock tongue.

4. The helmet lock according to claim 3, characterized in that: The motor is configured to drive the lock tongue to retract under the control of the controller; The controller is configured to obtain a second operating current value of the motor when driving the lock tongue to retract, and control the lock tongue to stop moving through the lock tongue driving device when the second operating current value is higher than or equal to a second preset threshold.

5. The helmet lock according to claim 3, characterized in that: The bolt drive device also includes an actuator; The motor is configured to drive the lock tongue to extend under the control of the pulse sent by the controller; The controller is configured to determine an extension amount of the locking tongue based on the number of the pulses, a first driving parameter of the motor, and a second driving parameter of the actuator.

6. The helmet lock according to claim 5, characterized in that: The motor is further configured to drive the locking tongue to extend or retract through the actuator.

7. The helmet lock according to claim 1, characterized in that: The first detection device comprises a pressure detection device.

8. The helmet lock according to claim 1, characterized in that: It also includes a second detection device; the second detection device is configured to detect a first stop operation and feed back a first stop signal to the lock tongue control device; the first stop operation is a stop operation during the extension of the lock tongue; The lock tongue control device is configured to control the lock tongue to stop extending and obtain the extension amount of the lock tongue when receiving the first stop signal.

9. The helmet lock according to claim 1, characterized in that: It also includes a third detection device; the third detection device is configured to detect a second stop operation and feed back a second stop signal to the lock tongue control device; the second stop operation is a stop operation during the retraction process of the lock tongue; The lock tongue control device is configured to control the lock tongue to stop retracting when receiving the second stop signal.

10. The helmet lock according to claim 1, characterized in that: Also includes springs; The spring is configured to push the helmet to pop out of the helmet lock when the helmet lock is unlocked.

11. A helmet lock control method, applied to a controller in a lock tongue control device of a helmet lock, characterized in that: include: Detecting whether the helmet is located within the specified position range of the helmet lock, if so, the first detection device transmits a lock signal; When receiving the locking signal transmitted by the first detection device, controlling the lock tongue to extend; Obtaining the extension amount of the lock tongue; When the extension amount is not within the first preset range, the lock tongue is controlled to retract to the first preset position in the unlocked state, and a locking failure signal is sent to a remote device.

12. The method according to claim 11, characterized in that The lock tongue control device also includes a lock tongue driving device; the lock tongue driving device includes a motor; The obtaining of the extension amount of the lock tongue comprises: Acquire a first operating current value of the motor in a process of driving the lock tongue to extend; When it is determined that the first operating current value is not within the second preset range, the lock tongue is controlled to stop moving by the lock tongue driving device, and the extension amount of the lock tongue is obtained.

13. The method according to claim 12, characterized in that Before obtaining the extension amount of the lock tongue, the method further includes: Acquire a second operating current value of the motor in a process of driving the lock tongue to retract; When the second operating current value is not within the third preset range, the lock tongue driving device controls the lock tongue to stop moving.

14. The method according to claim 12, characterized in that The bolt drive device also includes an actuator; The obtaining of the extension amount of the lock tongue comprises: Determining the number of pulses of the motor during the duration of driving the bolt to extend and stop moving; The extension amount of the locking tongue is determined based on the number of the pulses, the first driving parameter of the motor and the second driving parameter of the actuator.

15. The method according to claim 11, characterized in that The helmet lock also includes a second detection device; The obtaining of the extension amount of the lock tongue comprises: When the first stop signal fed back by the second detection device is received, the lock tongue is controlled to stop moving, and the extension amount of the lock tongue is obtained.

16. The method according to claim 11, characterized in that After determining that the lock has failed, the following also applies: Determining the number of times the lock signal is received within a first preset time period; When the number of times the locking signal is received is greater than a preset number, it is determined that the lock tongue is no longer controlled to extend within a second preset time period.

17. The method according to claim 11, characterized in that The method further comprises: When an unlocking signal is received, the lock tongue is controlled to retract to a first preset position in an unlocking state; the unlocking signal is an unlocking signal fed back by the client to the controller based on an unlocking control operation.

18. The method according to claim 11, characterized in that The helmet lock also includes a third detection device; When receiving the unlock signal, controlling the lock tongue to retract to a first preset position in the unlock state comprises: When receiving an unlocking signal sent by the client, controlling the lock tongue to retract; When the second stop signal fed back by the third detection device is received, the lock tongue is controlled to stop at the first preset position in the unlocked state.

19. A helmet lock control device, used as a controller in a lock tongue control device of a helmet lock, characterized in that: include: A first control module, used for detecting whether the helmet is located within the specified position range of the helmet lock, and if so, the first detection device transmits a lock signal; It is also used to control the lock tongue to extend when receiving the locking signal transmitted by the first detection device; A first acquisition module, used to acquire the extension amount of the lock tongue; The second control module is used for controlling the lock tongue to retract to the first preset position in the unlocked state when the extension amount is not within the first preset range, and sending a locking failure signal to the remote device.