A shared bicycle unlocking method, device and storage medium
Through the fingerprint unlocking equipment and blockchain technology of shared bicycles, the inconvenience problem in the unlocking process of shared bicycles is solved, the unlocking process without mobile device scanning is realized, and the user experience and management security are improved.
Patent Information
- Application Number
- CN202110217446.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-26
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-02-26
AI Technical Summary
When using a shared bicycle, you need to scan a code to unlock it with a mobile device, which causes inconvenience. Different types of shared bicycles require different software to be installed, which increases the user's operational complexity.
Receive the user's fingerprint information through the fingerprint unlocking device of the shared bicycle, use the pre-generated blockchain to determine the user's identity and riding conditions, and send unlocking instructions to the shared bicycle when the match is successful, achieving non-tamperable unlocking based on the blockchain , simplifying user operations and improving the convenience and security of user management.
It realizes that shared bicycles can be unlocked without the need for mobile devices to scan codes, which improves the user experience, simplifies the riding process, and enhances the convenience and security of shared bicycle management by matching user recharge information with shared bicycle categories.
Smart Images

Figure CN113034740B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of shared bicycles, and in particular to a method, device and storage medium for unlocking a shared bicycle. Background Art
[0002] As an emerging economic form, the sharing economy is gradually integrating into our daily lives.
[0003] Currently, shared bicycles are a popular mode of transportation for many people. Users usually use their mobile devices to scan the QR code installed on the shared bicycles to unlock them.
[0004] However, when using shared bicycles, users must use a mobile device to scan the code to ride, and different types of shared bicycles require the installation of different software, which causes inconvenience to users. Summary of the invention
[0005] The embodiments of the present application provide a shared bicycle unlocking method, device and storage medium, which are used to solve the following technical problems in the prior art: when using a shared bicycle, it is inconvenient for the user because of the need to scan a code to ride.
[0006] The present application embodiment adopts the following technical solutions:
[0007] On the one hand, an embodiment of the present application provides a method for unlocking a shared bicycle, the method comprising: receiving fingerprint information sent by a user through a fingerprint unlocking device of a shared bicycle; determining the identity information of the user in a pre-generated blockchain based on the fingerprint information; determining, based on the identity information, that the user meets the riding conditions; determining, based on the identity information, the recharge information corresponding to the user in the blockchain, and sending an unlocking instruction to the shared bicycle when the recharge information matches the category of the shared bicycle.
[0008] In one example, after sending an unlock instruction to a shared bicycle, the method also includes: receiving unlock feedback information sent by the shared bicycle; if it is determined based on the unlock feedback information that the shared bicycle is not unlocked, searching for other shared bicycles of the same category as the shared bicycle within the vicinity of the shared bicycle's geographic location; and sending the geographic location information of the other shared bicycles to the shared bicycle so that the shared bicycle prompts the user.
[0009] In one example, after finding other shared bicycles of the same category as the shared bicycle, the method also includes: determining the geographical area category where the other shared bicycles are located; and determining the shared bicycle to prompt the user among the other shared bicycles based on the passenger flow level corresponding to the geographical area category and the distance between the other shared bicycles.
[0010] In one example, other shared bicycles are equipped with temperature detection devices and heating devices; after the shared bicycle prompts the user, the method also includes: obtaining the temperature of the environment where the other shared bicycles are located according to the temperature detection device; when the temperature is lower than a preset temperature threshold, heating the fingerprint unlocking devices of other shared bicycles through the heating device.
[0011] In one example, the recharge information corresponding to the user is determined in the blockchain based on the identity information, specifically including: determining the user's account in the blockchain based on the identity information; determining in the account the multiple categories of shared bicycles that the user has recharged; and determining the balances of the multiple categories of shared bicycles.
[0012] In one example, when the recharge information matches the category of a shared bicycle, an unlocking instruction is sent to the shared bicycle, specifically including: matching the category of the shared bicycle based on multiple categories of shared bicycles; when the match is successful, checking the balance of the shared bicycle category; determining that the balance is greater than the preset payment threshold of the shared bicycle; and sending an unlocking instruction to the shared bicycle.
[0013] In one example, when determining the preset payment threshold, it specifically includes: determining the historical track information of the shared bicycle in the blockchain based on the geographic location information of the shared bicycle; and determining the preset payment threshold of the shared bicycle through pricing rules based on the historical track information.
[0014] In one example, determining whether a user meets riding conditions based on identity information specifically includes: determining the user's age information based on the identity information; and determining that the user meets the riding conditions when the age information is greater than an age threshold for riding.
[0015] On the other hand, an embodiment of the present application provides a shared bicycle unlocking device, which includes a processor, a memory, and execution instructions stored in the aforementioned memory, and the aforementioned execution instructions are configured to enable the aforementioned device to execute any one of the above-mentioned technical solutions when executed by the aforementioned processor.
[0016] On the other hand, an embodiment of the present application provides a storage medium storing execution instructions, wherein the execution instructions are configured to enable the electronic device to execute any of the above-mentioned technical solutions when executed by a processor of the electronic device.
[0017] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0018] The embodiment of the present application realizes the immutability based on blockchain through the fingerprint unlocking device of the shared bicycle and the pre-generated blockchain. By obtaining the fingerprint information of the user in the blockchain, the shared bicycle is unlocked only when the user meets the riding conditions, which not only brings convenience to the user, but also improves the convenience and security of user management of riding shared bicycles. Furthermore, by matching the user's recharge information with the category of the shared bicycle, it is possible to screen users who can ride the shared bicycle category, and then send the unlocking instruction to the shared bicycle, which improves the convenience and security of shared bicycle management. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solution of the present application, some embodiments of the present application will be described in detail below in conjunction with the accompanying drawings, in which:
[0020] Figure 1 A schematic diagram of a flow chart of a shared bicycle unlocking method provided in an embodiment of the present application;
[0021] Figure 2 A schematic diagram of the structure of a shared bicycle unlocking device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0023] Some embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0024] Figure 1 A flow chart of a shared bicycle unlocking method provided in an embodiment of the present application may specifically include:
[0025] Step S101: The server receives fingerprint information sent by the user through the fingerprint unlocking device of the shared bicycle.
[0026] Among them, shared bicycles are pre-installed with fingerprint unlocking devices.
[0027] In one embodiment, when a user uses a shared bicycle, a fingerprint is used for verification, and the server recognizes the fingerprint information and matches it in a pre-stored fingerprint library. When the match is successful, step S102 is executed.
[0028] Among them, the fingerprint information in the embodiment of the present application is the fingerprint feature value.
[0029] It should be noted that when users ride shared bicycles, the use of fingerprint unlocking devices of various brands of shared bicycles must first be authorized by the user. After authorization, the user can be verified through the fingerprint unlocking device of the shared bicycle.
[0030] In addition, the way users authorize shared bicycles of various brands includes: users pre-enter fingerprints on the corresponding system, and store fingerprint information in the fingerprint library through fingerprint recognition algorithms. For example, users can enter fingerprints through an APP pre-installed on a mobile device, generate fingerprint information, and then save it in the fingerprint library to complete the user's authorization process.
[0031] In the embodiment of the present application, users no longer need to use mobile devices to scan codes and decode shared bicycles, which brings great convenience to users.
[0032] Step S102: Determine the user's identity information in a pre-generated blockchain based on the fingerprint information.
[0033] In one embodiment, when obtaining a pre-generated blockchain, the process specifically includes:
[0034] The server binds the fingerprint information entered by the user with the user's identity information, then encrypts the identity information bound to the fingerprint information, and finally writes the encrypted user's identity information into the blockchain for storage.
[0035] Among them, the user's identity information includes user ID and age information.
[0036] Furthermore, the server determines the user account through the user ID, and then encrypts the different categories of shared bicycles recharged by the user and the balance of each shared bicycle category, and writes them into the blockchain.
[0037] It can be understood by those skilled in the art that, since fingerprint information is unique, the correctness of the user's identity information can be ensured, and the user's identity information can be written into the blockchain, thereby making it possible to manage users riding shared bicycles by utilizing the tamper-proof nature of the blockchain when there are a large number of users.
[0038] In other words, the server matches the corresponding user's identity information in the pre-generated blockchain through the user's fingerprint information.
[0039] Step S103: Determine whether the user meets the riding conditions based on the identity information.
[0040] In one embodiment, the server obtains the user's age information through the user's identity information, and then when the user's age information is greater than the riding age threshold, the user meets the riding conditions. If the user's age information is less than the riding age threshold, the server feedbacks the unlocking failure to the user.
[0041] Among them, the server can provide feedback to the shared bicycle, or to the mobile device carried by the user with the shared bicycle software installed, or to the shared bicycle and the mobile device with the shared bicycle software installed at the same time.
[0042] It can be understood by those skilled in the art that the embodiments of the present application obtain the user's fingerprint information in the pre-generated blockchain and unlock the shared bicycle only when the user meets the riding conditions, thereby improving the convenience and security of user management of shared bicycles.
[0043] Furthermore, by restricting the user's age information, for users who are not qualified to ride shared bicycles, especially children, the danger of riding shared bicycles is reduced because they cannot pass fingerprint verification.
[0044] Step S104: According to the identity information, the recharge information corresponding to the user is determined in the blockchain, and when the recharge information matches the category of the shared bicycle, an unlocking instruction is sent to the shared bicycle.
[0045] In one embodiment, the server determines the user account through the user ID, and then obtains the corresponding recharge information of the user, wherein the recharge information of the user includes the multiple categories of shared bicycles that the user has recharged and the balances of the multiple categories of shared bicycles.
[0046] Furthermore, the server matches the category of the shared bicycle from multiple categories of shared bicycles, and then when the match is successful, checks the balance of the shared bicycle category, and when it is determined that the balance is greater than the preset payment threshold of the shared bicycle, sends an unlocking instruction to the shared bicycle.
[0047] That is to say, the server first determines whether the multiple categories of shared bicycles that the user has recharged on the blockchain include the category of the shared bicycle currently to be unlocked. If so, it determines whether the balance of the shared bicycle category is sufficient to unlock it. If so, it sends an unlocking instruction to the shared bicycle to be unlocked.
[0048] The embodiment of the present application matches the user's recharge information with the category of the shared bicycle, thereby screening the users who can ride the shared bicycle category, and then sending an unlocking instruction to the shared bicycle, thereby improving the convenience and safety of shared bicycle management.
[0049] Among them, the server determines the historical track information of the shared bicycle in the blockchain through the geographic location information of the shared bicycle, and then determines the preset payment threshold of the shared bicycle through pricing rules based on the historical track information.
[0050] Since the surrounding activity trajectories are similar in a specific environment, the user's riding distance is estimated by referring to the historical trajectory of the shared bicycle, so as to determine the preset payment threshold of the shared bicycle, which is closer to the cost of the user riding the shared bicycle to be unlocked.
[0051] For example, near a subway, there is a shopping mall with a high flow of people. If the distance is appropriate, users will usually choose shared bicycles to reach the mall.
[0052] In one embodiment, after sending an unlock instruction to a shared bicycle, the server receives unlock feedback information sent by the shared bicycle. If the unlock feedback information indicates that the bicycle is not unlocked, the server searches for other shared bicycles of the same category as the shared bicycle in the vicinity of the shared bicycle's geographic location, and then sends the geographic location information of the other shared bicycles to the shared bicycle, so that the shared bicycle prompts the user.
[0053] Among them, the geographical location range of the shared bicycle refers to the area formed by taking the geographical location of the shared bicycle as the center and the preset distance threshold as the radius.
[0054] Since the user may not carry a mobile device, if the shared bicycle to be unlocked cannot be unlocked for some reason and there are no more shared bicycles in the current area, the shared bicycle to be unlocked can prompt the user with the geographic location information of other shared bicycles of the same category in a certain way, so that the user can learn the geographic location information of other shared bicycles even if he cannot find other shared bicycles through mobile devices, thereby meeting the user's needs at this time.
[0055] Furthermore, other shared bicycles are equipped with temperature detection devices and heating devices. After the server determines the shared bicycle recommended to the user, it obtains the temperature of the environment through the temperature detection devices installed on other shared bicycles. When the temperature is lower than the preset temperature threshold, the fingerprint unlocking device is heated by the heating devices installed on other shared bicycles.
[0056] Due to the cold weather, the fingerprint unlocking device may make the user feel uncomfortable when the user uses the fingerprint for verification. Therefore, the embodiment of the present application heats the fingerprint unlocking device to give the user a good usage experience.
[0057] Furthermore, after searching for other shared bicycles of the same category as the shared bicycle, the server first obtains the geographical area category of the other shared bicycles through the geographical location information of the other shared bicycles. And through the flow level corresponding to the geographical area category of the other shared bicycles and the distance between the other shared bicycles, the server determines the shared bicycle to be prompted to the user among the other shared bicycles.
[0058] Among them, the geographical area categories where other shared bicycles are located refer to areas with different uses, such as residential areas, shopping malls, subway stations, bus stations, etc. In addition, the level of passenger flow refers to the three levels of low, medium and high passenger flow.
[0059] That is to say, after obtaining the geographical area categories of other shared bicycles, the server will refer to the corresponding traffic levels of other shared bicycles and the distances between other shared bicycles and the current shared bicycle to be unlocked, and filter out the shared bicycles to prompt the user.
[0060] It is understandable to those skilled in the art that it takes a certain amount of time for a user to reach the geographical location of other shared bicycles from the geographical location of the currently unlocked shared bicycle. If some of the other shared bicycles are located in an area with dense traffic, but there are not many shared bicycles in the area, then when the user arrives at the area, the shared bicycles in the area may have been occupied by other users. Therefore, the embodiment of the present application selects a suitable shared bicycle from other shared bicycles and then prompts the user.
[0061] In one embodiment, after the user unlocks the car, the user's unlocking time, riding traces, and balance deduction information are written into the blockchain, and the user can view the relevant information of this ride in the system on the mobile device.
[0062] like Figure 2 As shown, the present application also provides a shared bicycle unlocking device. The device includes a processor at the hardware level, and optionally also includes a memory and a bus. In addition, the device is also allowed to include hardware required by other services.
[0063] The memory is used to store execution instructions, which are specifically executable computer programs. Further, the memory may include a memory and a non-volatile memory, and provide execution instructions and data to the processor. Exemplarily, the memory may be a high-speed random access memory (RAM), and the non-volatile memory may be at least one disk storage.
[0064] The bus is used to connect the processor, memory and network interface to each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Although only one bidirectional arrow is used in the diagram, this does not mean that there is only one bus or only one type of bus.
[0065] In a feasible implementation of the above device, the processor may first read the corresponding execution instruction from the non-volatile memory into the memory and then run it, or may first obtain the corresponding execution instruction from other devices and then run it. When the processor executes the execution instruction stored in the memory, it can implement the method in any of the above method embodiments of the present application.
[0066] It will be understood by those skilled in the art that the above method can be applied to a processor or implemented with the aid of a processor. Exemplarily, a processor is an integrated circuit chip having the ability to process signals. In the process of the processor executing the above method, each step of the above method can be completed by an integrated logic circuit in the form of hardware or an instruction in the form of software in the processor. Further, the above processor can be a general-purpose processor, such as a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, microprocessors, and any other conventional processors.
[0067] Those skilled in the art can also understand that the steps of the method embodiment of the present application can be executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Among them, the software module can be located in a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, register, and other mature storage media in the field. The storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the execution of the steps in the above method embodiment.
[0068] Although not shown in the figure, the present application also proposes a storage medium, which stores execution instructions. When the stored execution instructions are executed by a processor of an electronic device, the electronic device can execute a method in any of the above method embodiments of the present application.
[0069] Those skilled in the art will appreciate that the electronic device described in the above embodiments of the present application may be a computer.
[0070] So far, the description of the technical solution of the present application has been completed with reference to the accompanying drawings and in combination with the above embodiments.
[0071] Those skilled in the art will appreciate that the above method embodiments of the present application can be presented in the form of methods or computer program products. Therefore, the technical solution of the present application can be implemented in the form of all hardware, all software, or a combination of software and hardware.
[0072] It should be noted that, in order to highlight the differences between the above-mentioned multiple embodiments of the present application, the above-mentioned multiple embodiments of the present application are arranged and described in a parallel manner and / or a progressive manner, and the following embodiments only focus on the differences between them and other embodiments, and the same or similar parts between the various embodiments can be referenced to each other. In particular, for the device and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0073] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the technical principle of the present application should all fall within the protection scope of the present application.
Claims
1. A shared bicycle unlocking method, characterized in that: The method comprises: Receive fingerprint information sent by the user through the fingerprint unlocking device of the shared bicycle; Determining the identity information of the user in a pre-generated blockchain according to the fingerprint information; Determining, based on the identity information, that the user meets the riding conditions; According to the identity information, determining the recharge information corresponding to the user in the blockchain, and sending an unlocking instruction to the shared bicycle when the recharge information matches the category of the shared bicycle; Determining, based on the identity information, that the user meets the riding condition specifically includes: Determining the age information of the user according to the identity information; When the age information is greater than the age threshold for riding, determining that the user meets the riding condition; Determining the recharge information corresponding to the user in the blockchain according to the identity information specifically includes: Determining the user's account in the blockchain based on the identity information; Determining in the account the multiple categories of shared bicycles that the user has recharged; and Determining the balance of the plurality of categories of shared bicycles; When the recharge information matches the category of the shared bicycle, sending an unlock instruction to the shared bicycle specifically includes: According to the multiple categories of shared bicycles, matching the categories of the shared bicycles; When the match is successful, check the balance of the shared bicycle category; Determining that the balance is greater than a preset payment threshold of the shared bicycle; Sending an unlocking instruction to the shared bicycle; When determining the preset payment threshold, it specifically includes: According to the geographic location information of the shared bicycle, determining the historical track information of the shared bicycle in the blockchain; According to the historical trajectory information, a preset payment threshold of the shared bicycle is determined through pricing rules.
2. The method according to claim 1, characterized in that After sending the unlock instruction to the shared bicycle, the method further includes: Receiving unlocking feedback information sent by the shared bicycle; If it is determined according to the unlocking feedback information that the shared bicycle is not unlocked, searching for other shared bicycles of the same category as the shared bicycle within the vicinity of the geographical location of the shared bicycle; The geographical location information of the other shared bicycles is sent to the shared bicycle, so that the shared bicycle prompts the user.
3. The method according to claim 2, characterized in that After searching for other shared bicycles of the same category as the shared bicycle, the method further includes: Determine the category of the geographical area where the other shared bicycles are located; According to the passenger flow level corresponding to the geographical area category and the distance between the other shared bicycles and the shared bicycle, a shared bicycle to be prompted to the user is determined among the other shared bicycles.
4. The method according to claim 2, characterized in that: The other shared bicycles are equipped with temperature detection equipment and heating equipment; After the shared bicycle prompts the user, the method further includes: According to the temperature detection device, obtaining the temperature of the environment where the other shared bicycles are located; When the temperature is lower than a preset temperature threshold, the fingerprint unlocking devices of the other shared bicycles are heated by the heating device.
5. A shared bicycle unlocking device, characterized in that: The device comprises a processor, a memory and execution instructions stored in the memory, wherein the execution instructions are configured to enable the device to perform the method of any one of claims 1 to 4 when executed by the processor.
6. A storage medium, characterized in that: The storage medium stores execution instructions, and the execution instructions are configured to enable the electronic device to execute the method of any one of claims 1 to 4 when executed by a processor of the electronic device.
