Control method and system for intelligent lock of shared bicycle

By detecting the spatial distance between the smart lock and the user terminal, the smart lock is automatically controlled to enter the temporary lock state, which solves the problem of users forgetting to end their cycling and temporarily leaving the vehicle, and improves the user experience of the shared bicycle system.

CN119541085APending Publication Date: 2025-02-28朱旭文
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411655378.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the existing shared bicycle system, users are prone to forget to end the cycling operation, resulting in the vehicle being ridden by other users; when users temporarily leave the vehicle, they need to be forced to end the cycling, which affects the user experience.

Method used

By detecting the spatial distance between the smart lock and the user terminal, the smart lock is automatically controlled to enter the temporary lock state to prevent other users from riding, and allowing users to continue to occupy it after temporarily leaving the vehicle.

Benefits of technology

It effectively solves the troubles caused by users forgetting to end their cycling and temporarily leaving the vehicle, improves the user experience and is convenient to operate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119541085A_ABST
    Figure CN119541085A_ABST
Patent Text Reader

Abstract

The invention provides a control method and system for an intelligent lock of a shared bicycle. The method comprises the steps that the spatial distance between the intelligent lock of the shared bicycle in an unlocking state and a static state and a user terminal is obtained; judging whether the obtained space distance reaches a preset limited distance or not, and if yes, controlling the intelligent lock to be switched from an unlocking state to a temporary locking state; the temporary locking state means that the intelligent lock is in a physical locking state; meanwhile, the intelligent lock is continuously occupied by the current user terminal, and other user terminals do not have the permission to open the intelligent lock. According to the control method of the intelligent lock of the shared bicycle, the intelligent lock is controlled to enter the temporary locking state by detecting the distance between the intelligent lock and the user terminal, the trouble and inconvenience brought to the user due to the fact that the user forgets to end the riding operation and temporarily leaves the shared bicycle can be solved, operation is very convenient, and the user experience is improved. And the use experience of the user on the shared bicycle is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of smart lock control, and specifically relates to a control method and system for a shared bicycle smart lock. Background Art

[0002] With the popularization of the Internet and the rise of mobile payments, shared bicycles have evolved from the traditional docked bicycle model to the dockless bicycle model. The dockless bicycle model means that shared bicycles no longer rely on fixed parking piles, and users can borrow and return bicycles anytime and anywhere through mobile phone apps. The emergence of dockless shared bicycles has greatly facilitated users' travel and has become an indispensable service in the lives of the general public.

[0003] However, the existing shared bicycles have the following main shortcomings in use:

[0004] (1) The user forgets to end the riding operation:

[0005] After the user finishes riding a shared bicycle, the user must manually operate the mobile phone APP to complete the "end ride" operation. However, in actual applications, users often forget to perform the "end ride" operation, resulting in the shared bicycle still being unlocked, which is easy for other users to continue riding, causing more trouble and distress to the current user. Although some shared bicycle platform management centers have set a static lock time, when a shared bicycle that has not ended its ride continues to be in a static state and reaches the static lock time, the ride will automatically end and the bicycle will be automatically locked. However, this method still has major disadvantages. For example, in order to consider the user's temporary parking needs, the shared bicycle platform management center usually sets a longer static lock time, usually 30 minutes to 120 minutes. Therefore, it is still impossible to completely avoid the risk of users forgetting to end the ride operation.

[0006] (2) When a user temporarily leaves a shared bicycle:

[0007] When using a shared bicycle, if a user temporarily leaves the shared bicycle, for example, to go shopping at a supermarket near the road, the user usually has no choice but to end the current ride in order to avoid being ridden away by other users while the shared bicycle is unlocked and continue to be charged. When a user temporarily leaves a shared bicycle for a short period of time, the user is forced to end the current ride, which brings the following inconveniences to the user: 1. If there are few shared bicycles at the current location, the user cannot find an available shared bicycle in a short time, and thus cannot continue to ride the shared bicycle; 2. Even if the user finds an available shared bicycle when returning, he or she needs to start a new ride order, which reduces the user's experience.

[0008] Therefore, how to solve the above problems faced by users when riding shared bicycles and improve the user experience is an issue that urgently needs to be solved. Summary of the invention

[0009] In view of the defects of the prior art, the present invention provides a control method and system for a shared bicycle smart lock, which can effectively solve the above problems.

[0010] In order to achieve the above object, the present invention adopts the following technical solution:

[0011] The present invention provides a control method for a shared bicycle smart lock, comprising the following steps:

[0012] Obtain the spatial distance between the shared bicycle smart lock in an unlocked and stationary state and the user terminal;

[0013] Determine whether the acquired spatial distance reaches a preset limit distance. If so, control the smart lock to switch from an unlocked state to a temporarily locked state; the temporarily locked state means that the smart lock is in a physically closed state; at the same time, the smart lock continues to be occupied by the current user terminal, and other user terminals do not have the authority to open the smart lock.

[0014] Preferably, the spatial distance between the smart lock in an unlocked state and a stationary state and the user terminal is obtained through the user terminal or the smart lock.

[0015] Preferably, controlling the smart lock to switch from an unlocked state to a temporarily locked state is specifically as follows:

[0016] The user terminal sends a temporary locking instruction to the shared bicycle platform management center;

[0017] When the shared bicycle platform management center receives the temporary locking instruction, it performs a temporary locking operation, including: controlling the smart lock to perform a physical locking operation; at the same time, the shared bicycle platform management center records the smart lock as being in a temporarily locked state; therefore, when the shared bicycle platform management center receives an unlocking request from other user terminals for the smart lock in a temporarily locked state, it refuses to perform an unlocking operation on the smart lock in the temporarily locked state; at the same time, the user terminal continues to execute the current riding order information.

[0018] Preferably, controlling the smart lock to switch from an unlocked state to a temporarily locked state is specifically as follows:

[0019] The user terminal sends a temporary locking instruction to the smart lock;

[0020] When the smart lock receives the temporary locking instruction, it checks whether the user terminal has the authority to send the temporary locking instruction. If the check is passed, the temporary locking operation is performed, including: performing a physical locking operation; when the smart lock is in the temporary locked state, when receiving the instruction to query the smart lock status issued by the shared bicycle platform management center, the smart lock reports to the shared bicycle platform management center that the smart lock is in an unlocked state. Therefore, the shared bicycle platform management center rejects unlocking requests from other user terminals for the smart lock reported as unlocked; at the same time, the user terminal continues to execute the current riding order information.

[0021] Preferably, when the smart lock receives the temporary locking instruction, it checks whether the user terminal has the authority to send the temporary locking instruction, specifically:

[0022] The smart lock parses the received temporary locking instruction and obtains the identity feature information of the user terminal that sends the temporary locking instruction, thereby determining whether the user terminal is the user terminal currently occupying the smart lock based on the identity feature information.

[0023] Preferably, the identity feature information of the user terminal is the mobile phone number, Bluetooth physical address, agreed one-time random key or fixed key of the user terminal;

[0024] If it is a fixed key, the implementation method is as follows: the shared bicycle platform management center regularly allocates a fixed key uniquely corresponding to each smart lock, and sends it to the corresponding smart lock; when the smart lock is unlocked by the user terminal, the smart lock sends the fixed key to the user terminal, so as to identify the identity characteristics of the user terminal;

[0025] If it is a one-time random key, when the smart lock is unlocked by the user terminal, the smart lock generates a one-time random key and sends it to the user terminal, so as to be used for identifying the identity characteristics of the user terminal.

[0026] Preferably, the process further includes: a process in which the smart lock switches from a temporarily locked state to an unlocked state, specifically:

[0027] When the smart lock is in a temporarily locked state, timing is performed synchronously. If, within a preset limited time period, it is detected that the spatial distance between the user terminal and the smart lock is less than the preset limited distance, the smart lock releases the temporary locked state and returns to an unlocked state.

[0028] Preferably, the smart lock releases the temporary locked state and returns to the unlocked state, specifically:

[0029] The user terminal sends a smart lock temporary unlocking instruction to the shared bicycle platform management center;

[0030] When the shared bicycle platform management center receives the smart lock temporary unlocking instruction, the shared bicycle platform management center performs the smart lock temporary unlocking operation, including: controlling the smart lock to perform a physical unlocking operation; at the same time, the shared bicycle platform management center records that the smart lock is in an unlocked state;

[0031] or

[0032] The user terminal sends a smart lock temporary unlocking instruction to the smart lock;

[0033] When the smart lock receives the smart lock temporary unlocking instruction, it checks whether the user terminal has the authority to send the smart lock temporary unlocking instruction. If the check passes, the smart lock temporary unlocking operation is executed, including: the smart lock executes the physical unlocking operation; at the same time, the smart lock records that the smart lock is in the unlocked state.

[0034] Preferably, the process further includes: a process in which the smart lock switches from a temporary locked state to a locked state, specifically:

[0035] When the smart lock is switched to a temporarily locked state, timing is performed synchronously. If it is not detected that the spatial distance between the user terminal and the smart lock is less than the preset limited distance within the preset limited time, the smart lock is switched to the locked state;

[0036] or

[0037] At any time when the smart lock is in a temporarily locked state, the user terminal is operated to actively send a smart lock locking instruction to the shared bicycle platform management center; the shared bicycle platform management center executes the smart lock locking instruction and controls the smart lock to switch to the locked state;

[0038] Among them: the smart lock switching to the locked state means that the smart lock performs a physical locking operation and simultaneously ends the riding order of the user terminal.

[0039] The present invention also provides a system for controlling a shared bicycle smart lock, comprising:

[0040] A spatial distance acquisition module is used to obtain the spatial distance between the smart lock in the unlocked state and the stationary state and the user terminal;

[0041] A spatial distance determination module, used to determine whether the spatial distance acquired by the spatial distance acquisition module reaches a preset limit distance, and if so, execute a state switching module;

[0042] The state switching module is used to realize the state switching between unlocking and temporarily locking. Specifically, it is used to control the smart lock to switch from the unlocking state to the temporarily locked state according to the judgment result of the spatial distance judgment module; the temporarily locked state means that: the smart lock is in a physically closed state; at the same time, the smart lock continues to be occupied by the current user terminal, and other user terminals do not have the authority to open the smart lock.

[0043] The control method and system of a shared bicycle smart lock provided by the present invention have the following advantages:

[0044] The present invention provides a control method for a shared bicycle smart lock, which controls the smart lock to enter a temporary locked state by detecting the distance from the smart lock to the user terminal. This can solve the troubles and inconveniences caused to users by forgetting to end the riding operation and temporarily leaving the shared bicycle. The operation is very convenient, which greatly improves the user experience of the shared bicycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A flow chart of a control method for a shared bicycle smart lock provided by the present invention;

[0046] Figure 2 The internal structure of the smart lock provided by the embodiment of the present invention and the communication connection diagram with the user terminal and the shared bicycle platform management center;

[0047] Figure 3 A diagram of a switching mechanism of the smart lock provided by the present invention from a locked state to an unlocked state;

[0048] Figure 4 A diagram of the switching mechanism of the three states of the smart lock provided in the first embodiment of the present invention;

[0049] Figure 5 A diagram of the switching mechanism of the three states of the smart lock provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0050] In order to make the technical problems, technical solutions and beneficial effects solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0051] See also Figure 1 The present invention provides a control method for a shared bicycle smart lock, comprising the following steps:

[0052] Obtain the spatial distance between the shared bicycle smart lock in an unlocked and stationary state and the user terminal;

[0053] Determine whether the acquired spatial distance reaches a preset limit distance. If so, control the smart lock to switch from an unlocked state to a temporarily locked state; the temporarily locked state means that the smart lock is in a physically closed state; at the same time, the smart lock continues to be occupied by the current user terminal, and other user terminals do not have the authority to open the smart lock.

[0054] It can be seen that in the prior art, the shared bicycle smart lock has only two states: unlocked state and locked state; while the control method of the shared bicycle smart lock provided by the present invention has not only unlocked state and locked state, but also a temporary locked state. By detecting the distance between the smart lock and the user terminal, the smart lock is controlled to enter the temporary locked state, which can achieve the following advantages:

[0055] When the distance between the user terminal and the smart lock reaches a preset limit distance, the smart lock switches to a temporarily locked state. The temporarily locked state has two characteristics: Feature 1: the smart lock is in a physically closed state; Feature 2: the smart lock continues to be occupied by the current user terminal, and other user terminals do not have permission to open the smart lock.

[0056] Therefore, the present invention sets the smart lock in a temporary locked state, which is different from the conventional unlocked state. Since it is a physically closed state, it solves the problem of other users continuing to ride a shared bicycle in an unlocked state because the user forgets to end the riding operation.

[0057] The present invention sets the smart lock in a temporary locked state, which is different from the conventional locked state. Since the smart lock is still occupied by the current user terminal, other user terminals do not have the authority to open the smart lock. Therefore, it is convenient for users to temporarily leave the shared bicycle and then return to continue using the same shared bicycle, solving the problem of users being forced to end the current riding operation due to temporary leaving the shared bicycle.

[0058] Therefore, the control method of a shared bicycle smart lock provided by the present invention controls the smart lock to enter a temporarily locked state by detecting the distance from the smart lock to the user terminal. This can solve the troubles and inconveniences caused to users by users forgetting to end the riding operation and users temporarily leaving the shared bicycle. The operation is very convenient, which greatly improves the user experience of the shared bicycle.

[0059] In actual applications, the control method of the shared bicycle smart lock provided by the present invention mainly involves three parties: the shared bicycle smart lock, the user terminal and the shared bicycle platform management center; the present invention does not limit the execution subject of realizing the above functions, for example, detecting the state of the shared bicycle smart lock, detecting the spatial distance between the shared bicycle smart lock in the unlocked and stationary state and the user terminal, and controlling the smart lock to switch from the unlocked state to the temporarily locked state, etc., and can be any one of the shared bicycle smart lock, the user terminal and the shared bicycle platform management center, or two of the subjects cooperate to realize it, or three of the subjects cooperate to realize it, etc. As long as the above functions can be realized, any implementation method is within the protection scope of the present invention.

[0060] To facilitate understanding of the present invention, the following description is only a partial implementation method:

[0061] As a specific embodiment, the spatial distance between the shared bicycle smart lock in the unlocked and stationary state and the user terminal is obtained, which can be obtained through the user terminal or the smart lock detection:

[0062] For example, Figure 2 As shown in the figure, it is a diagram of the internal structure of the smart lock and the communication connection diagram with the user terminal and the shared bicycle platform management center. The smart lock is equipped with a physical lock module, a motion sensing module, a short-range communication module, a spatial distance measurement module and a main control module; the motion sensing module can be a gyroscope or a gravity sensor, which is used to detect the state of the smart lock, including the motion state and the static state, and transmit it to the main control module in real time; the short-range communication module can be Bluetooth, Star Flash or Zigbee, which is used to achieve short-range communication with the user terminal; the spatial distance measurement module is used to measure the spatial distance between the smart lock and the user terminal, and its implementation method can be: the spatial distance measurement module analyzes the communication signal strength and / or signal delay data between the user terminal to obtain the real-time spatial distance between the smart lock and the user terminal, and uploads it to the main control module, so that the main control module can obtain the state of the shared bicycle smart lock in real time. When the shared bicycle smart lock is in the unlocked state and static state, the spatial distance between the smart lock and the user terminal is obtained in real time through the spatial distance measurement module.

[0063] Based on similar principles, the user terminal is installed with a user terminal short-range communication module, a user terminal spatial distance measurement module and a user terminal main control module. The user terminal communicates with the smart lock through the user terminal short-range communication module, so as to obtain the motion or static state of the smart lock; through the user terminal spatial distance measurement module, the spatial distance between the user terminal and the smart lock can be detected in real time, so that the user terminal main control module can obtain the state of the shared bicycle smart lock in real time. When the shared bicycle smart lock is in an unlocked state and a static state, the spatial distance between the smart lock and the user terminal is obtained in real time through the user terminal spatial distance measurement module.

[0064] Based on similar principles, the smart lock can be configured with a remote communication module and a positioning module for communicating with the shared bicycle platform management center; for example, the remote communication module is a 2G / 3G / 4G communication module; the positioning module is GPS / Beidou / communication assisted positioning, etc.; the user terminal is configured with a user terminal remote communication module and a user terminal positioning module for communicating with the shared bicycle platform management center; therefore, the shared bicycle platform management center can obtain the spatial distance between the smart lock and the user terminal in real time through the smart lock position and user terminal positioning, and determine whether it is in a stationary state through the smart lock position, so as to obtain the spatial distance between the shared bicycle smart lock in an unlocked and stationary state and the user terminal, and send the obtained spatial distance to the user terminal or the smart lock.

[0065] In the present invention, the smart lock has three states: an unlocked state, a temporarily locked state and a locked state. Between the three states, the present invention can realize five switching modes: switching from the unlocked state to the temporarily locked state, switching from the temporarily locked state to the unlocked state, switching from the temporarily locked state to the locked state, switching from the unlocked state to the locked state, and switching from the locked state to the unlocked state.

[0066] The implementation of the five switching modes is described below. It should be emphasized that the five switching logics and implementation modes described below are only a specific implementation mode and are not intended to limit the present invention.

[0067] (I) Switching from unlocked state to temporarily locked state

[0068] Controlling the smart lock to switch from an unlocked state to a temporarily locked state includes but is not limited to the following two methods:

[0069] Method 1:

[0070] The user terminal sends a temporary locking instruction to the shared bicycle platform management center;

[0071] When the shared bicycle platform management center receives the temporary locking instruction, it performs a temporary locking operation, including: controlling the smart lock to perform a physical locking operation; at the same time, the shared bicycle platform management center records the smart lock as being in a temporarily locked state; therefore, when the shared bicycle platform management center receives an unlocking request from other user terminals for the smart lock in a temporarily locked state, it refuses to perform an unlocking operation on the smart lock in the temporarily locked state; at the same time, the user terminal continues to execute the current riding order information.

[0072] Method 2:

[0073] The user terminal sends a temporary locking instruction to the smart lock;

[0074] When the smart lock receives the temporary locking instruction, it checks whether the user terminal has the authority to send the temporary locking instruction. If the check is passed, the temporary locking operation is performed, including: performing a physical locking operation; when the smart lock is in the temporary locked state, when receiving the instruction to query the smart lock status issued by the shared bicycle platform management center, the smart lock reports to the shared bicycle platform management center that the smart lock is in an unlocked state. Therefore, the shared bicycle platform management center rejects unlocking requests from other user terminals for the smart lock reported as unlocked; at the same time, the user terminal continues to execute the current riding order information.

[0075] In this manner, when the smart lock receives the temporary locking instruction, it verifies whether the user terminal has the authority to send the temporary locking instruction, which can be specifically achieved in the following manner:

[0076] The smart lock parses the received temporary lock instruction and obtains the identity feature information of the user terminal that sent the temporary lock instruction, thereby determining whether the user terminal is the user terminal currently occupying the smart lock according to the identity feature information. The identity feature information of the user terminal is the mobile phone number, Bluetooth physical address, agreed one-time random key or fixed key of the user terminal;

[0077] If it is a fixed key, the implementation method is as follows: the shared bicycle platform management center regularly allocates a fixed key uniquely corresponding to each smart lock, and sends it to the corresponding smart lock; when the smart lock is unlocked by the user terminal, the smart lock sends the fixed key to the user terminal, so as to identify the identity characteristics of the user terminal;

[0078] If it is a one-time random key, when the smart lock is unlocked by the user terminal, the smart lock generates a one-time random key and sends it to the user terminal, so as to be used for identifying the identity characteristics of the user terminal.

[0079] (II) Switching from temporary locked state to unlocked state

[0080] Controlling the smart lock to switch from a temporarily locked state to an unlocked state includes but is not limited to the following two methods:

[0081] When the smart lock is in a temporarily locked state, timing is performed synchronously. If, within a preset limited time period, it is detected that the spatial distance between the user terminal and the smart lock is less than the preset limited distance, the smart lock releases the temporary locked state and returns to an unlocked state.

[0082] The smart lock cancels the temporary locked state and returns to the unlocked state. The specific implementation method is as follows:

[0083] Method 1:

[0084] The user terminal sends a smart lock temporary unlocking instruction to the shared bicycle platform management center;

[0085] When the shared bicycle platform management center receives the smart lock temporary unlocking instruction, the shared bicycle platform management center performs the smart lock temporary unlocking operation, including: controlling the smart lock to perform a physical unlocking operation; at the same time, the shared bicycle platform management center records that the smart lock is in an unlocked state;

[0086] Method 2:

[0087] The user terminal sends a smart lock temporary unlocking instruction to the smart lock;

[0088] When the smart lock receives the smart lock temporary unlocking instruction, it checks whether the user terminal has the authority to send the smart lock temporary unlocking instruction. If the check passes, the smart lock temporary unlocking operation is executed, including: the smart lock executes the physical unlocking operation; at the same time, the smart lock records that the smart lock is in the unlocked state.

[0089] (III) Switching from temporary locked state to locked state

[0090] Controlling the smart lock to switch from a temporary locked state to a locked state includes but is not limited to the following two methods:

[0091] Method 1:

[0092] When the smart lock is switched to a temporarily locked state, timing is performed synchronously. If it is not detected that the spatial distance between the user terminal and the smart lock is less than the preset limited distance within the preset limited time, the smart lock is switched to the locked state;

[0093] Method 2:

[0094] At any time when the smart lock is in a temporarily locked state, the user terminal is operated to actively send a smart lock locking instruction to the shared bicycle platform management center; the shared bicycle platform management center executes the smart lock locking instruction and controls the smart lock to switch to the locked state;

[0095] Among them: the smart lock switching to the locked state means that the smart lock performs a physical locking operation and simultaneously ends the riding order of the user terminal.

[0096] (iv) Switching between unlocked and locked states, including: switching from locked state to unlocked state, and switching from unlocked state to locked state

[0097] The switching method from the locked state to the unlocked state is as follows: Figure 3 As shown, it can be:

[0098] 1. The user obtains the ID of the shared bicycle by scanning the QR code on the shared bicycle with a mobile phone or other user terminal. Each shared bicycle has a unique ID. This step completes the information pairing between the user terminal and the shared bicycle;

[0099] 2. The user terminal uploads an unlocking application to the shared bicycle platform management center through the mobile communication network. The unlocking application includes the user's identity information and the shared bicycle's identity number ID;

[0100] 3. The shared bicycle platform management center automatically retrieves the user registration information and vehicle registration information to confirm whether the user is a legally registered user of the platform and whether the vehicle is an available idle vehicle on the platform. After confirmation, the unlocking command is issued through two paths: the first path: directly issuing the unlocking command to the shared bicycle smart lock; the second path: issuing the unlocking command to the user terminal, which is then forwarded to the shared bicycle smart lock via Bluetooth connection.

[0101] After the shared bicycle smart lock receives the unlocking command, it performs the physical unlocking operation, and the user can start using the shared bicycle.

[0102] Switching from unlocked state to locked state:

[0103] For a shared bicycle smart lock in the unlocked state, the user terminal can switch from the unlocked state to the locked state at any time. The specific implementation method is as follows:

[0104] The user manually operates the user terminal and clicks the "End Ride" button on the interface of the user terminal's application APP or WeChat applet. The user terminal then sends an end-of-ride application to the shared bicycle platform management center. The shared bicycle platform management center queries the current parking location and status of the vehicle through the mobile communication network to see if it meets the requirements. If so, it issues a lock command to the shared bicycle smart lock and ends the ride order. This completes a complete ride process.

[0105] To facilitate further understanding of the present invention, two embodiments are described below:

[0106] Embodiment 1:

[0107] By upgrading the user terminal and the shared bicycle platform management center, the smart lock is not upgraded, so as to realize the switching of the smart lock between the unlocked state, the temporarily locked state and the locked state;

[0108] In this embodiment, the smart lock itself does not distinguish between a temporarily locked state and a locked state, and the working state of the smart lock still has only two states: unlocked and locked. Both temporarily locked and locked belong to the locked state.

[0109] The temporary lock state is mainly realized by the cooperation between the user terminal and the shared bicycle platform management center. The switching mechanism of various states is as follows: Figure 4 shown.

[0110] In this embodiment, the mutual switching mechanism between the unlocked state and the locked state is combined with the above Figure 3 The described process is the same and will not be repeated here.

[0111] The switch from the unlocked state to the temporarily locked state, the switch from the temporarily locked state to the unlocked state, and the switch from the temporarily locked state to the locked state are realized by the following steps:

[0112] Step A1: when the smart lock installed on the shared bicycle is in an unlocked state and in a stationary state, the user terminal detects the spatial distance between the user terminal and the smart lock;

[0113] For example, the user terminal measures the spatial distance from the user terminal to the smart lock through the communication signal between the user terminal and the smart lock.

[0114] Step A2, the user terminal determines whether the spatial distance between the user terminal and the smart lock reaches a preset limit distance. If so, the user terminal automatically sends a temporary lock instruction to the shared bicycle platform management center;

[0115] Step A3, when the shared bicycle platform management center receives the temporary locking instruction, it performs a temporary locking operation, including: controlling the smart lock to perform a physical locking operation; at the same time, the shared bicycle platform management center records the smart lock as being in a temporarily locked state; therefore, when the shared bicycle platform management center receives an unlocking request from other user terminals for the smart lock in a temporarily locked state, it refuses to perform the unlocking operation on the smart lock in the temporarily locked state, thereby achieving the function that the shared bicycle continues to be occupied by the current user terminal and other user terminals do not have the authority to open the smart lock.

[0116] The shared bicycle platform management center returns a notification message of successful temporary locking to the user terminal;

[0117] In this step, the shared bicycle platform management center controls the smart lock to perform a physical locking operation, which can be achieved in two ways: the first is to directly issue a locking instruction to the shared bicycle smart lock; the second is to issue a locking instruction to the user terminal, which is then forwarded to the shared bicycle smart lock via Bluetooth connection. Therefore, after receiving the locking instruction, the shared bicycle smart lock performs a physical locking operation.

[0118] Therefore, through steps A1 to A3, the switch from the unlocked state to the temporarily locked state is achieved.

[0119] Step A4: when the user terminal receives a notification message of successful temporary locking, the user terminal synchronously performs timing. If the user terminal detects that the spatial distance between the user terminal and the smart lock is less than the preset limited distance within the preset limited time, step A5 is executed; otherwise, step A6 is executed;

[0120] Step A5: the user terminal sends an instruction to release the temporary lock of the smart lock to the shared bicycle platform management center;

[0121] When the shared bicycle platform management center receives the instruction to release the temporary lock of the smart lock, the shared bicycle platform management center performs the operation of releasing the temporary lock of the smart lock, including: controlling the smart lock to perform a physical unlocking operation; at the same time, the shared bicycle platform management center records that the smart lock is in the unlocked state;

[0122] Step A6: the user terminal automatically sends a smart lock lock instruction to the shared bicycle platform management center;

[0123] When the shared bicycle platform management center receives the smart lock locking instruction, it executes the locking operation of switching the smart lock from a temporary locked state to a locked state, including: recording that the smart lock is in a locked state and ending the riding order of the user terminal.

[0124] In this embodiment, at any time when the smart lock is in the temporarily locked state, the user terminal is operated to actively send a smart lock locking instruction to the shared bicycle platform management center; the shared bicycle platform management center executes the corresponding smart lock locking operation to switch the temporary locked state to the locked state.

[0125] Therefore, through steps A4 to A6, the switching from the temporarily locked state to the unlocked state and the switching from the temporarily locked state to the locked state are realized.

[0126] In general, for a smart lock that is in a temporarily locked state, it can be switched from the temporary locked state to the locked state by manual control by the user, or automatically controlled according to the spatial distance between the user terminal and the smart lock within a limited time.

[0127] Similarly, it can also be manually controlled by the user, or automatically controlled according to the spatial distance between the user terminal and the smart lock within a limited time, to achieve switching from a temporary locked state to an unlocked state.

[0128] Therefore, in this embodiment, for the smart lock, there are only two execution states: unlock and lock. The smart lock does not understand the difference between "temporary lock" and normal "lock". This embodiment is mainly used to improve the shared bicycle platform management center. The shared bicycle platform management center divides the shared bicycle status into three types: unlock state, lock state and temporary lock state. For shared bicycles in the locked state, other users are allowed to scan the code to use; and for shared bicycles in the temporary lock state, when other users scan the code to apply for a vehicle, the vehicle application will not be approved, but the "vehicle in use" information will be returned to the applicant user, so as to achieve the current user terminal to continue to occupy the shared bicycle. At the same time, the riding order information can be retained in the user terminal application APP, including the vehicle identification ID information. At the same time, the user terminal will try to maintain or promptly restore the communication connection with the shared bicycle when the communication conditions permit, so as to timely measure the spatial distance between the user terminal and the shared bicycle.

[0129] Embodiment 2:

[0130] In this embodiment, the shared bicycle platform management center does not distinguish between the unlocked and temporarily locked states, and uniformly registers them as unlocked states, that is, they are both considered to be in the normal riding process of the vehicle. The identification and switching of the unlocked and temporarily locked states are completed by the smart lock and the user terminal application. When the shared bicycle platform management center inquires about the vehicle status, the unlocked and temporarily locked states are both considered to be unlocked states.

[0131] The switching mechanisms of various states are as follows Figure 5 shown.

[0132] In this embodiment, the mutual switching mechanism between the unlocked state and the locked state is combined with the above Figure 3 The described process is the same and will not be repeated here.

[0133] The switch from the unlocked state to the temporarily locked state, the switch from the temporarily locked state to the unlocked state, and the switch from the temporarily locked state to the locked state are realized by the following steps:

[0134] Step B1, when the smart lock installed on the shared bicycle is in an unlocked state and in a stationary state, the user terminal detects the spatial distance between the user terminal and the smart lock;

[0135] For example, the user terminal measures the spatial distance from the user terminal to the smart lock through the communication signal between the user terminal and the smart lock.

[0136] Step B2, the user terminal determines whether the spatial distance between the user terminal and the smart lock reaches a preset limit distance, and if so, the user terminal automatically sends a temporary lock instruction to the smart lock;

[0137] Step B3, when the smart lock receives the temporary locking instruction, it performs a temporary locking operation, including: performing a physical locking operation; at the same time, the smart lock or the user terminal stores a temporary key of the smart lock for releasing the temporary locking;

[0138] When the smart lock is in a temporarily locked state, upon receiving the instruction to query the smart lock state issued by the shared bicycle platform management center, the smart lock reports to the shared bicycle platform management center that the smart lock is in an unlocked state. Therefore, the shared bicycle platform management center rejects the unlocking request of other user terminals for the smart lock reported as unlocked. This allows the shared bicycle to continue to be occupied by the current user terminal, and other user terminals do not have the authority to open the smart lock. At the same time, the user terminal continues to execute the current riding order information, including retaining the vehicle's identity ID information and / or the secret key information for releasing the temporary locked state. At the same time, the user terminal will try to maintain or promptly restore the communication connection with the vehicle if communication conditions permit, so as to timely measure the spatial distance between the user terminal and the vehicle.

[0139] The smart lock returns a notification message of successful temporary locking to the user terminal;

[0140] Therefore, through steps B1 to B3, the switch from the unlocked state to the temporarily locked state is achieved.

[0141] Step B4: when the user terminal receives a notification message of successful temporary locking, the user terminal performs timing synchronously. If the user terminal detects that the spatial distance between the user terminal and the smart lock is less than the preset limited distance within the preset limited time, step B5 is executed; otherwise, step B6 is executed;

[0142] Step B5, the user terminal automatically sends an instruction to the smart lock to release the temporary lock;

[0143] When the smart lock receives the instruction to release the temporary lock of the smart lock, the smart lock performs the operation of releasing the temporary lock, including: the smart lock performs the physical unlocking operation; at the same time, the smart lock is recorded as being in the unlocked state;

[0144] Step B6, the user terminal automatically sends a smart lock lock instruction to the shared bicycle platform management center;

[0145] When the shared bicycle platform management center receives the smart lock locking instruction, it controls the smart lock locking operation to switch the smart lock from a temporary locked state to a locked state, and at the same time ends the riding order of the user terminal; wherein: controlling the smart lock locking operation includes: the smart lock performs a physical locking operation, records its own state as a locked state, and disconnects the connection with the user terminal, and if a temporary secret key of the smart lock is stored, it is cleared.

[0146] In this embodiment, at any time when the smart lock is in the temporarily locked state, the user terminal is operated to actively send a smart lock locking instruction to the shared bicycle platform management center; when the shared bicycle platform management center receives the smart lock locking instruction, it executes the smart lock locking operation to realize the switching of the smart lock from the temporarily locked state to the locked state.

[0147] Therefore, through steps B4 to B6, the switching from the temporary locked state to the unlocked state and the switching from the temporary locked state to the locked state are realized.

[0148] In general, for a smart lock that is in a temporarily locked state, it can be switched from the temporary locked state to the locked state by manual control by the user, or automatically controlled according to the spatial distance between the user terminal and the smart lock within a limited time.

[0149] Similarly, it can also be manually controlled by the user, or automatically controlled according to the spatial distance between the user terminal and the smart lock within a limited time, to achieve switching from a temporary locked state to an unlocked state.

[0150] In this embodiment, for the shared bicycle platform management center, there are only two smart lock states: unlocked and locked. This embodiment is mainly used to improve the smart lock. The smart lock divides the smart lock states into three types, namely: unlocked state, locked state and temporarily locked state. In addition, both the unlocked state and the temporarily locked state are reported to the shared bicycle platform management center as unlocked state, so as to achieve the continued occupation of the shared bicycle in the temporarily locked state.

[0151] The present invention also provides a system for implementing a control method for a shared bicycle smart lock, comprising:

[0152] A spatial distance acquisition module is used to obtain the spatial distance between the smart lock in the unlocked state and the stationary state and the user terminal;

[0153] A spatial distance determination module, used to determine whether the spatial distance acquired by the spatial distance acquisition module reaches a preset limit distance, and if so, execute a state switching module;

[0154] The state switching module is used to realize the state switching between unlocking and temporarily locking. Specifically, it is used to control the smart lock to switch from the unlocking state to the temporarily locked state according to the judgment result of the spatial distance judgment module; the temporarily locked state means that: the smart lock is in a physically closed state; at the same time, the smart lock continues to be occupied by the current user terminal, and other user terminals do not have the authority to open the smart lock.

[0155] The present invention provides a control method and system for a shared bicycle smart lock, which innovatively proposes a technical solution of controlling the vehicle to enter or release a temporary lock state by using distance, and solves three problems in the current use of shared bicycles at a very low cost, thereby greatly improving the user experience:

[0156] 1. It realizes the safe automatic locking function: the bike locks when the user leaves, reducing the risks for users and shared bike operating companies;

[0157] 2. It meets the user's needs for temporary parking and is easy to operate;

[0158] 3. Automatic return function is realized: users can set the temporary parking time according to their own usage habits. When the temporary parking time is set to be very short, the temporary locking function is equivalent to the automatic return function; even if the temporary parking time is set to be longer, it will only increase part of the riding charge and will not cause other risks;

[0159] The present invention provides a control method and system for a shared bicycle smart lock, which has the following characteristics and protection points:

[0160] 1. A control method and system for a shared bicycle smart lock, comprising a shared bicycle, a smart lock, a user terminal, a control program running on the user terminal, and a shared bicycle platform management center;

[0161] The smart lock includes a main control module, a physical lock module, a motion sensing module, a short-range communication module, and a long-range communication module; the smart lock has three working states: unlock, lock, and temporarily lock;

[0162] The control program and / or smart lock running on the user terminal includes a spatial distance measurement module; the spatial distance measurement module obtains the current spatial distance between the smart lock and the user terminal by analyzing the communication signal strength and / or signal delay data. When the current spatial distance between the smart lock and the user terminal is greater than the preset limit distance and the shared bicycle is in a stationary state, the physical locking module is controlled to perform a temporary locking operation, and the working state of the smart lock is switched from an unlocked state to a temporarily locked state; in the temporarily locked state, the shared bicycle platform management center records the status information of the vehicle as an unlocked state or a temporarily locked state, and the control program running on the user terminal stores the identity identification information of the shared bicycle.

[0163] 2. The instruction for the smart lock master control module to control the physical lock module to perform the locking operation comes from the control program running on the user terminal and / or the shared bicycle platform management center;

[0164] When the current spatial distance between the smart lock and the user terminal is greater than the specified distance and the shared bicycle is in a stationary state, the control program running on the user terminal sends a temporary locking instruction to the smart lock and / or the shared bicycle platform management center. The smart lock main control module receives the temporary locking instruction from the user terminal and / or the shared bicycle platform management center, controls the physical locking module to perform the locking operation, and the working state of the smart lock is switched from the unlocked state to the temporarily locked state;

[0165] 3. The smart lock in the temporary locked state stores the key information for releasing the temporary locked state. The key information includes but is not limited to the user terminal Bluetooth physical address, the user terminal telephone number, and the one-time random key agreed upon by the user terminal and the smart lock.

[0166] 4. When in a temporarily locked state, the user terminal control program stores the secret key information for releasing the temporarily locked state.

[0167] 5. When a smart lock in a temporarily locked state needs to report the shared bicycle status to the shared bicycle platform management center, the reported status is "temporarily locked state" or "unlocked state"

[0168] 6. After the smart lock enters the temporary lock state, the user terminal maintains or restores the communication connection with the smart lock if the communication conditions permit; the distance measurement module measures the current spatial distance between the smart lock and the user terminal. When the current spatial distance between the smart lock and the user terminal is less than the preset limit distance, the user terminal sends a temporary unlock command to the smart lock and / or the shared bicycle platform management center; after receiving the temporary unlock command from the user terminal and / or the shared bicycle platform management center, the smart lock main control module controls the physical lock module to perform the unlock operation, and the working state of the smart lock switches from the temporary lock state to the unlock state.

[0169] 7. A smart lock in a temporarily locked state can receive a lock command from a user terminal. After receiving the lock command, the smart lock main control module disconnects the communication connection with the user terminal and no longer automatically recovers. The smart lock state switches from a temporarily locked state to a locked state.

[0170] 8. A smart lock in a temporarily locked state can receive a lock command from the shared bicycle platform management center. After receiving the lock command, the smart lock main control module disconnects the communication connection with the user terminal and no longer automatically recovers. The working state of the smart lock switches from a temporarily locked state to a locked state.

[0171] 9. When the smart lock is in the temporary locked state, the user terminal control program starts the timing function. When the temporary locking time reaches the preset time, the user terminal automatically sends a locking instruction to the shared bicycle smart lock and / or the shared bicycle platform management center.

[0172] 10. The user terminal control program provides an option of whether to use the "automatic locking" function. The user can choose to use the "automatic locking" function or not.

[0173] 11. The user terminal control program provides the function of setting the "temporary lock" time. Users can set the "temporary lock" time within the range allowed by the system according to their riding habits.

[0174] The present invention provides a control method for a shared bicycle smart lock, which controls the smart lock to enter a temporary locked state by detecting the distance from the smart lock to the user terminal. This can solve the troubles and inconveniences caused to users by forgetting to end the riding operation and temporarily leaving the shared bicycle. The operation is very convenient, which greatly improves the user experience of the shared bicycle.

[0175] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be considered as the scope of protection of the present invention.

Claims

1. A control method for a shared bicycle smart lock, characterized in that: The following steps are involved: Obtain the spatial distance between the shared bicycle smart lock in an unlocked and stationary state and the user terminal; Determine whether the acquired spatial distance reaches a preset limit distance, and if so, control the smart lock to switch from an unlocked state to a temporarily locked state; The temporary locked state means that the smart lock is in a physically closed state; at the same time, the smart lock continues to be occupied by the current user terminal, and other user terminals do not have the authority to open the smart lock.

2. The control method of a shared bicycle smart lock according to claim 1, characterized in that: The spatial distance between the smart lock in an unlocked state and a stationary state and the user terminal is obtained through the user terminal or the smart lock.

3. The control method of a shared bicycle smart lock according to claim 1, characterized in that: Control the smart lock to switch from an unlocked state to a temporarily locked state, specifically: The user terminal sends a temporary locking instruction to the shared bicycle platform management center; When the shared bicycle platform management center receives the temporary locking instruction, it performs a temporary locking operation, including: controlling the smart lock to perform a physical locking operation; at the same time, the shared bicycle platform management center records the smart lock as being in a temporarily locked state; therefore, when the shared bicycle platform management center receives an unlocking request from other user terminals for the smart lock in a temporarily locked state, it refuses to perform an unlocking operation on the smart lock in the temporarily locked state; at the same time, the user terminal continues to execute the current riding order information.

4. The control method of a shared bicycle smart lock according to claim 1, characterized in that: Control the smart lock to switch from an unlocked state to a temporarily locked state, specifically: The user terminal sends a temporary locking instruction to the smart lock; When the smart lock receives the temporary locking instruction, it checks whether the user terminal has the authority to send the temporary locking instruction. If the check is passed, the temporary locking operation is performed, including: performing a physical locking operation; when the smart lock is in the temporary locked state, when receiving the instruction to query the smart lock status issued by the shared bicycle platform management center, the smart lock reports to the shared bicycle platform management center that the smart lock is in an unlocked state. Therefore, the shared bicycle platform management center rejects unlocking requests from other user terminals for the smart lock reported as unlocked; at the same time, the user terminal continues to execute the current riding order information.

5. The control method of a shared bicycle smart lock according to claim 4, characterized in that: When the smart lock receives the temporary locking instruction, it checks whether the user terminal has the authority to send the temporary locking instruction, specifically: The smart lock parses the received temporary locking instruction and obtains the identity feature information of the user terminal that sends the temporary locking instruction, thereby determining whether the user terminal is the user terminal currently occupying the smart lock based on the identity feature information.

6. The control method of a shared bicycle smart lock according to claim 5, characterized in that: The identity feature information of the user terminal is the mobile phone number, Bluetooth physical address, agreed one-time random key or fixed key of the user terminal; If it is a fixed key, the implementation method is as follows: the shared bicycle platform management center regularly allocates a fixed key uniquely corresponding to each smart lock, and sends it to the corresponding smart lock; when the smart lock is unlocked by the user terminal, the smart lock sends the fixed key to the user terminal, so as to identify the identity characteristics of the user terminal; If it is a one-time random key, when the smart lock is unlocked by the user terminal, the smart lock generates a one-time random key and sends it to the user terminal, so as to be used for identifying the identity characteristics of the user terminal.

7. The control method of a shared bicycle smart lock according to claim 1, characterized in that: Also includes: The process of the smart lock switching from the temporary locked state to the unlocked state is as follows: When the smart lock is in a temporarily locked state, timing is performed synchronously. If, within a preset limited time period, it is detected that the spatial distance between the user terminal and the smart lock is less than the preset limited distance, the smart lock releases the temporary locked state and returns to an unlocked state.

8. The control method of a shared bicycle smart lock according to claim 7, characterized in that: The smart lock releases the temporary locked state and returns to the unlocked state, specifically: The user terminal sends a smart lock temporary unlocking instruction to the shared bicycle platform management center; When the shared bicycle platform management center receives the smart lock temporary unlocking instruction, the shared bicycle platform management center performs the smart lock temporary unlocking operation, including: controlling the smart lock to perform a physical unlocking operation; at the same time, the shared bicycle platform management center records that the smart lock is in an unlocked state; or The user terminal sends a smart lock temporary unlocking instruction to the smart lock; When the smart lock receives the smart lock temporary unlocking instruction, it checks whether the user terminal has the authority to send the smart lock temporary unlocking instruction. If the check passes, the smart lock temporary unlocking operation is executed, including: the smart lock executes the physical unlocking operation; at the same time, the smart lock records that the smart lock is in the unlocked state.

9. The control method of a shared bicycle smart lock according to claim 1, characterized in that: Also includes: The process of the smart lock switching from the temporary locked state to the locked state is as follows: When the smart lock is switched to a temporarily locked state, timing is performed synchronously. If it is not detected that the spatial distance between the user terminal and the smart lock is less than the preset limited distance within the preset limited time, the smart lock is switched to the locked state; or At any time when the smart lock is in a temporarily locked state, the user terminal is operated to actively send a smart lock locking instruction to the shared bicycle platform management center; the shared bicycle platform management center executes the smart lock locking instruction and controls the smart lock to switch to the locked state; Among them: the smart lock switching to the locked state means that the smart lock performs a physical locking operation and simultaneously ends the riding order of the user terminal.

10. A system for controlling a shared bicycle smart lock according to any one of claims 1 to 9, characterized in that: include: A spatial distance acquisition module is used to obtain the spatial distance between the smart lock in the unlocked state and the stationary state and the user terminal; A spatial distance determination module, used to determine whether the spatial distance acquired by the spatial distance acquisition module reaches a preset limit distance, and if so, execute a state switching module; The state switching module is used to realize the state switching between unlocking and temporarily locking. Specifically, it is used to control the smart lock to switch from the unlocking state to the temporarily locked state according to the judgment result of the spatial distance judgment module; the temporarily locked state means that: the smart lock is in a physically closed state; at the same time, the smart lock continues to be occupied by the current user terminal, and other user terminals do not have the authority to open the smart lock.