CN107993359B - Block chain-based end-to-end bicycle sharing system and method - Google Patents

Block chain-based end-to-end bicycle sharing system and method Download PDF

Info

Publication number
CN107993359B
CN107993359B CN201711182089.8A CN201711182089A CN107993359B CN 107993359 B CN107993359 B CN 107993359B CN 201711182089 A CN201711182089 A CN 201711182089A CN 107993359 B CN107993359 B CN 107993359B
Authority
CN
China
Prior art keywords
bicycle
user
account
block chain
chain network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711182089.8A
Other languages
Chinese (zh)
Other versions
CN107993359A (en
Inventor
贺诗波
孙羽羿
阿里别克·卡日别可夫
陈积明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201711182089.8A priority Critical patent/CN107993359B/en
Publication of CN107993359A publication Critical patent/CN107993359A/en
Application granted granted Critical
Publication of CN107993359B publication Critical patent/CN107993359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • G07F17/0057Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention discloses an end-to-end bicycle sharing system and method based on a block chain, wherein the system comprises a system administrator, a cloud server, a bicycle owner, a bicycle user and a block chain network; the block chain network comprises an account, a bicycle intelligent contract and a node; the bicycle user does not need to download a plurality of different application software any more, the bicycle deposit is paid to the bicycle intelligent contract after registration, the block chain network does not contain a third party, and the user only needs to apply for the bicycle intelligent contract when returning the deposit, so that the phenomenon that the deposit is difficult to return is effectively avoided; the payment process does not depend on third-party payment software any more, and the use commission is effectively reduced. The transaction information is jointly stored by the nodes in the block chain network, each node completely redundantly stores all transaction data in the network, and once the node is tampered with the data, other nodes propose objections, the safety of the whole database is high, and the privacy safety of bicycle users and all parties can be protected.

Description

Block chain-based end-to-end bicycle sharing system and method
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to an end-to-end bicycle sharing system and method based on block chains.
Background
The rapid development of the Internet of things brings efficient and convenient life for people, people no longer restrict private cars when going out, the outgoing efficiency of people is greatly improved due to the fact that the shared bicycle is used at any time and is stopped and placed immediately nowadays, and the existing shared bicycle is applied, such as ofo small yellow cars, and the Mobai bicycle and the like all appear like bamboo shoots after rain. The existing shared bicycle depends on a third-party application, people must download different application software clients when going out, and users who are used as ofo minibus and Mobai bicycle must download two mobile phone applications. After the bicycle security deposit is registered as a user, the user needs to pay a certain bicycle security deposit, the application security of a third party is low, and the security deposit is difficult to withdraw when the economic condition of the sharing bicycle company is in crisis, so that the loss of the user is caused. Secondly, the payment procedure of the shared bicycle depends on third-party payment software (such as payment treasure, WeChat payment and the like), and a user needs to pay certain procedure cost to the third-party payment software while using the shared bicycle, so that higher cost is caused.
Disclosure of Invention
The invention aims to introduce a block chain technology aiming at the defects of difficult refund of deposit, high procedure cost and low privacy security in the prior art, and provides an end-to-end bicycle sharing system and method based on a block chain.
The purpose of the invention is realized by the following technical scheme: a blockchain-based end-to-end bicycle sharing system, the system comprising: a system administrator, a cloud server, a bicycle owner, a bicycle user and a blockchain network;
a system administrator: the management cloud server is used for providing the bicycle body intelligent lock for all the parties of the bicycle;
all the directions of the bicycle are as follows: initiating a sharing request to a block chain network, and adding the block chain network into a sharing system;
block chain network: the block chain network comprises an account, a bicycle intelligent contract and a node; the accounts include a bicycle owner account and a bicycle user account; the bicycle user account is an account created by a block chain network for a user newly joining the sharing system and is responsible for paying a deposit and using cost; the bicycle owner account is an account created by the blockchain network for a bicycle newly added to the sharing system, and the account collects the use fee after the bicycle is used; when a new bicycle is added into the sharing system, a system administrator creates a corresponding bicycle intelligent contract for the newly added bicycle through the block chain network; the method comprises the steps that nodes in a block chain network store all bicycle position information, bicycle body intelligent lock state information and transaction information;
cloud server: acquiring bicycle information from a block chain network, wherein the bicycle information comprises bicycle position information and the on-off state of a bicycle body intelligent lock, synchronizing the bicycle position information within a certain range of a bicycle user to the bicycle user, and sending awakening information to the bicycle body intelligent lock corresponding to the bicycle selected by the bicycle user;
the bicycle uses the side: the bicycle position information issued by the cloud server is acquired, and the bicycle body intelligent lock is closed after the bicycle is used.
Further, the account in the blockchain network further includes a service account, and the service account is a system administrator account in the blockchain network and is responsible for charging transaction commission of the shared system.
Further, the bicycle intelligent contract stores the state information of the bicycle intelligent lock, and certain conditions in the intelligent contract are met to trigger certain functions in the contract, specifically:
if the bicycle user account sends a deposit to the bicycle intelligent contract and the bicycle intelligent contract is verified to be a legal account through the block chain network, the bicycle intelligent contract converts the bicycle body intelligent lock state into an open state; the cloud server sends a wake-up message to the intelligent bicycle body lock when detecting that the intelligent bicycle body lock in the intelligent bicycle contract is opened;
if the bicycle user finishes closing the bicycle intelligent lock after using the bicycle, the bicycle intelligent lock sends transaction information to a bicycle intelligent contract, the bicycle intelligent contract sends the transaction information to a bicycle user account, corresponding cost is deducted, and the state of the bicycle intelligent lock in the bicycle intelligent contract is changed into a closed state; if the bicycle breaks down, the bicycle user reports the bicycle to the bicycle intelligent contract through the bicycle user account.
Furthermore, after the system administrator sends a sharing request to the block chain network of all directions of the bicycle, the system administrator provides an intelligent bicycle body lock for all directions of the bicycle, creates a special intelligent contract for the bicycle in the block chain network, creates an account of all directions of the bicycle in the block chain network, and assigns a corresponding public key and a private key to the account of all directions of the bicycle, wherein the public key is an address of the account of all directions of the bicycle, and the account of all directions of the bicycle signs a transaction by using the private key to ensure the legality of the transaction in the block chain network; after the bicycle user side blockchain network sends a request for joining the sharing system, the blockchain network creates a bicycle user side account for a user newly joining the sharing system and designates a corresponding public key and a corresponding private key.
Further, the high in the clouds server periodically acquires the bicycle position, if someone wants to use the shared bicycle when the bicycle body intelligence lock is in the sleep state, the high in the clouds server awakens the bicycle body intelligence lock after obtaining the information of unblanking, revises the bicycle body intelligence lock state into the open mode in the bicycle intelligence contract.
Further, after a transaction is generated in the block chain network, the transaction is encrypted by a hash function, competing nodes in the block chain network pack the transaction within a certain time into a block, and random numbers are calculated in a workload proving mode until a certain hash character string condition is met; the block comprises a block height, a hash function encryption character string of transaction information, a timestamp, public keys of a bicycle user and a bicycle owner, a cost generated by transaction and a calculated random number; and broadcasting the block by the node with the fastest calculation, verifying the random number by other nodes, synchronizing the content of the block if the random number is legal, and eliminating one node by voting once the transaction information stored by all the nodes is the same.
A blockchain-based end-to-end bicycle sharing method, the method comprising the steps of:
(1) the method comprises the following steps that all directions of bicycles request an intelligent lock from a system administrator and idle bicycles are added into a sharing system;
(2) a system administrator creates a bicycle intelligent contract and a bicycle owner account corresponding to the newly added bicycle through a blockchain network;
(3) the bicycle user side block chain network sends a request for joining the sharing system, and the block chain network creates a bicycle user side account for a user newly joining the sharing system;
(4) the cloud server acquires bicycle position information from the block chain network, and synchronizes the bicycle position information within a certain range of a bicycle user to the bicycle user;
(5) after the bicycle user selects the bicycle, paying a deposit through the account of the bicycle user;
(6) after the block chain network verifies that the account of the bicycle user is legal, the cloud server sends awakening information to the bicycle body intelligent lock corresponding to the bicycle selected by the bicycle user;
(7) after the bicycle is used, a user of the bicycle closes the intelligent bicycle body lock, and all the bicycle accounts charge to complete end-to-end bicycle sharing.
Furthermore, all bicycle position information, bicycle body intelligent lock state information and transaction information are stored in nodes in the block chain network, the generation of transactions is maintained, and transactions in a certain time are packaged into blocks and stored in the block chain network.
Further, the in-process that the bicycle user used the bicycle, if the bicycle broke down, the bicycle user reported this bicycle to the bicycle intelligence contract through bicycle user account.
Further, if the bicycle user does not want to continue using the bicycles in the sharing system, the bicycle user account initiates a deposit withdrawal application to the bicycle intelligent contract, and the intelligent contract returns the deposit fee of the bicycle user account after the verification of the bicycle intelligent contract is passed.
The invention provides an end-to-end bicycle sharing system and method based on a block chain, users can share idle bicycles in the system, the cost required by transaction is reduced under the condition of ensuring safety, and the system and the method mainly have the following effects and advantages:
1. reduce the risk of the bicycle user. The bicycle user no longer needs to download a plurality of different application software clients, pays the bicycle deposit for the bicycle intelligent contract after the bicycle user registers, and the block chain network does not contain a third party, so that the user only needs to apply for the bicycle intelligent contract when returning the deposit, and the phenomenon that the deposit is difficult to return is effectively avoided.
2. Effectively reduces the handling fee of the bicycle. The payment process does not depend on third-party payment software any more, the use commission is effectively reduced, and the direct sharing of the end-to-end bicycle user and all parties going to the third party is realized.
3. The privacy and the safety of the bicycle user and all parties are protected. The transaction information is jointly stored by the nodes in the block chain network, all transaction data in the network are completely and redundantly stored by each node, once the data are tampered by the nodes, other nodes propose objections, the tampered nodes are voted and removed, the safety of the whole database is high, and the privacy safety of bicycle users and all parties can be protected.
Drawings
Fig. 1 is a block chain based end-to-end bicycle sharing system for collecting transaction commission.
Fig. 2 is a block chain based end-to-end bicycle sharing system without charging a transaction commission.
Detailed Description
In order to more specifically describe the present invention, the following detailed description is provided for the technical solution of the present invention with reference to the accompanying drawings and the specific embodiments.
The invention provides a block chain-based end-to-end bicycle sharing system, which comprises: a system administrator, a cloud server, a bicycle owner, a bicycle user and a blockchain network;
a system administrator: the management cloud server is used for providing the bicycle body intelligent lock for all the parties of the bicycle;
all the directions of the bicycle are as follows: initiating a sharing request to a block chain network, and adding the block chain network into a sharing system;
block chain network: the block chain network comprises an account, a bicycle intelligent contract and a node; the accounts include a bicycle owner account and a bicycle user account; the bicycle user account is an account created by a block chain network for a user newly joining the sharing system and is responsible for paying a deposit and using cost; the bicycle owner account is an account created by the blockchain network for a bicycle newly added to the sharing system, and the account collects the use fee after the bicycle is used; when a new bicycle is added into the sharing system, a system administrator creates a corresponding bicycle intelligent contract for the newly added bicycle through the block chain network; the method comprises the steps that nodes in a block chain network store all bicycle position information, bicycle body intelligent lock state information and transaction information;
cloud server: acquiring bicycle information from a block chain network, wherein the bicycle information comprises bicycle position information and the on-off state of a bicycle body intelligent lock, synchronizing the bicycle position information within a certain range of a bicycle user to the bicycle user, and sending awakening information to the bicycle body intelligent lock corresponding to the bicycle selected by the bicycle user;
the bicycle uses the side: the bicycle position information issued by the cloud server is acquired, and the bicycle body intelligent lock is closed after the bicycle is used.
Further, the account in the blockchain network further includes a service account, and the service account is a system administrator account in the blockchain network and is responsible for charging transaction commission of the shared system.
Further, the bicycle intelligent contract stores the state information of the bicycle intelligent lock, and certain conditions in the intelligent contract are met to trigger certain functions in the contract, specifically:
if the bicycle user account sends a deposit to the bicycle intelligent contract and the bicycle intelligent contract is verified to be a legal account through the block chain network, the bicycle intelligent contract converts the bicycle body intelligent lock state into an open state; the cloud server sends a wake-up message to the intelligent bicycle body lock when detecting that the intelligent bicycle body lock in the intelligent bicycle contract is opened;
if the bicycle user finishes closing the bicycle intelligent lock after using the bicycle, the bicycle intelligent lock sends transaction information to a bicycle intelligent contract, the bicycle intelligent contract sends the transaction information to a bicycle user account, corresponding cost is deducted, and the state of the bicycle intelligent lock in the bicycle intelligent contract is changed into a closed state; if the bicycle breaks down, the bicycle user reports the bicycle to the bicycle intelligent contract through the bicycle user account.
Furthermore, after the system administrator sends a sharing request to the block chain network of all directions of the bicycle, the system administrator provides an intelligent bicycle body lock for all directions of the bicycle, creates a special intelligent contract for the bicycle in the block chain network, creates an account of all directions of the bicycle in the block chain network, and assigns a corresponding public key and a private key to the account of all directions of the bicycle, wherein the public key is an address of the account of all directions of the bicycle, and the account of all directions of the bicycle signs a transaction by using the private key to ensure the legality of the transaction in the block chain network; after the bicycle user side blockchain network sends a request for joining the sharing system, the blockchain network creates a bicycle user side account for a user newly joining the sharing system and designates a corresponding public key and a corresponding private key.
Further, the high in the clouds server periodically acquires the bicycle position, if someone wants to use the shared bicycle when the bicycle body intelligence lock is in the sleep state, the high in the clouds server awakens the bicycle body intelligence lock after obtaining the information of unblanking, revises the bicycle body intelligence lock state into the open mode in the bicycle intelligence contract.
Further, after a transaction is generated in the block chain network, the transaction is encrypted by a hash function, competing nodes in the block chain network pack the transaction within a certain time into a block, and random numbers are calculated in a workload proving mode until a certain hash character string condition is met; the block contains the block height, i.e., the number of blocks where all stored exchanges are located during this time period; a hash function of the transaction information encrypts a hexadecimal string, such as 0x6323b6f1ac4c3726b0818fed0c36f9d7425df18a39b67c8c3f71c713fb8ef 254; time stamps, such as Oct-11-201705:26:58AM + UTC; bicycle user and bicycle owner public keys, such as 0x304cc179719bc5b05418d6f7f6783abe45d 83090; the cost incurred by the transaction, such as 0.00042Ether ($ 0.13); a calculated random number; and broadcasting the block by the node with the fastest calculation, verifying the random number by other nodes, synchronizing the content of the block if the random number is legal, and eliminating one node by voting once the transaction information stored by all the nodes is the same.
The invention provides an end-to-end bicycle sharing method based on a block chain, which can be realized on the bicycle sharing system, and comprises the following steps:
(1) the method comprises the following steps that all directions of bicycles request an intelligent lock from a system administrator and idle bicycles are added into a sharing system;
(2) a system administrator creates a bicycle intelligent contract and a bicycle owner account corresponding to the newly added bicycle through a blockchain network;
(3) the bicycle user side block chain network sends a request for joining the sharing system, and the block chain network creates a bicycle user side account for a user newly joining the sharing system;
(4) the cloud server acquires bicycle position information from the block chain network, and synchronizes the bicycle position information within a certain range of a bicycle user to the bicycle user;
(5) after the bicycle user selects the bicycle, paying a deposit through the account of the bicycle user;
(6) after the block chain network verifies that the account of the bicycle user is legal, the cloud server sends awakening information to the bicycle body intelligent lock corresponding to the bicycle selected by the bicycle user;
(7) after the bicycle is used, a user of the bicycle closes the intelligent bicycle body lock, and all the bicycle accounts charge to complete end-to-end bicycle sharing.
Furthermore, all bicycle position information, bicycle body intelligent lock state information and transaction information are stored in nodes in the block chain network, the generation of transactions is maintained, and transactions in a certain time are packaged into blocks and stored in the block chain network.
Further, the in-process that the bicycle user used the bicycle, if the bicycle broke down, the bicycle user reported this bicycle to the bicycle intelligence contract through bicycle user account.
Further, if the bicycle user does not want to continue using the bicycles in the sharing system, the bicycle user account initiates a deposit withdrawal application to the bicycle intelligent contract, and the intelligent contract returns the deposit fee of the bicycle user account after the verification of the bicycle intelligent contract is passed.
Example 1
When the block chain network of the sharing system contains a service account, the system benefits come from transaction commission charges collected by the service account, as shown in fig. 1, the cloud server matches a bicycle nearby according to the position of a bicycle user to the bicycle user, after the bicycle user selects the bicycle, the bicycle user pays a deposit to the bicycle intelligent contract through the bicycle user account, and after the block chain network verifies that the account is legal, the bicycle user starts to use the bicycle. After the use, the bicycle user closes the bicycle body intelligence lock of oneself, and the bicycle intelligence contract acquires bicycle positional information, bicycle body intelligence lock state and length of use, deducts bicycle user's cost of use, if ride in-process bicycle break down, the bicycle user reports to repair this bicycle to bicycle intelligence contract through bicycle user account. The bicycle intelligent contract sends the commission charge, the bicycle position information and the repair information to the service account, and the cloud server acquires the bicycle position information and the repair information through the service account.
Example 2
When the block chain network of the sharing system does not contain the service account, the system does not charge transaction handling fees and is a non-profit system, as shown in fig. 2, the cloud server matches nearby bicycles with the bicycle user according to the position of the bicycle user, the bicycle user selects the bicycle, then pays a deposit to the bicycle intelligent contract through the bicycle user account, and after the block chain network verifies that the account is legal, the bicycle user starts to use the bicycle. After the use, the bicycle user closes the bicycle body intelligence lock of oneself, and the bicycle intelligence contract acquires bicycle positional information, bicycle body intelligence lock state and length of use, deducts bicycle user's cost of use, if ride in-process bicycle break down, the bicycle user reports to repair this bicycle to bicycle intelligence contract through bicycle user account. The bicycle intelligent contract sends the state information and the repair information of the bicycle body intelligent lock to the cloud server, and the bicycle regularly sends position information to the cloud server.
The embodiments described above are presented to enable a person having ordinary skill in the art to make and use the invention. It will be readily apparent to those skilled in the art that various modifications to the above-described embodiments may be made, and the generic principles defined herein may be applied to other embodiments without the use of inventive faculty. Therefore, the present invention is not limited to the above embodiments, and those skilled in the art should make improvements and modifications to the present invention based on the disclosure of the present invention within the protection scope of the present invention.

Claims (6)

1. A blockchain-based end-to-end bicycle sharing system, the system comprising: a system administrator, a cloud server, a bicycle owner, a bicycle user and a blockchain network;
a system administrator: the management cloud server is used for providing the bicycle body intelligent lock for all the parties of the bicycle; the method comprises the steps that after a system administrator sends sharing requests to a block chain network of all directions of a bicycle, a bicycle body intelligent lock is provided for all the directions of the bicycle, a special intelligent contract is established for the bicycle in the block chain network, an account of all the directions of the bicycle is established in the block chain network, a corresponding public key and a corresponding private key are assigned to the account of all the directions of the bicycle, the public key is an address of the account of all the directions of the bicycle, the account of all the directions of the bicycle uses the private key to sign transactions, and the legality of the transactions in the block chain network is guaranteed; after the bicycle user side blockchain network sends a request for joining the sharing system, the blockchain network creates a bicycle user side account for a user newly joining the sharing system and designates a corresponding public key and a corresponding private key;
all the directions of the bicycle are as follows: initiating a sharing request to a block chain network, and adding the block chain network into a sharing system;
block chain network: the block chain network comprises an account, a bicycle intelligent contract and a node; the accounts include a bicycle owner account and a bicycle user account; the bicycle user account is an account created by a block chain network for a user newly joining the sharing system and is responsible for paying a deposit and using cost; the bicycle owner account is an account created by the blockchain network for a bicycle newly added to the sharing system, and the account collects the use fee after the bicycle is used; the account in the blockchain network also comprises a service account, wherein the service account is a system administrator account in the blockchain network and is responsible for collecting transaction commission of the sharing system; when a new bicycle is added into the sharing system, a system administrator creates a corresponding bicycle intelligent contract for the newly added bicycle through the block chain network; the intelligent contract stores state information of the intelligent lock of the self-propelled vehicle body, and certain functions in the contract are triggered if certain conditions in the intelligent contract are met, and the intelligent contract specifically comprises the following steps:
if the bicycle user account sends a deposit to the bicycle intelligent contract and the bicycle intelligent contract is verified to be a legal account through the block chain network, the bicycle intelligent contract converts the bicycle body intelligent lock state into an open state; the cloud server sends a wake-up message to the intelligent bicycle body lock when detecting that the intelligent bicycle body lock in the intelligent bicycle contract is opened; if the bicycle user finishes closing the bicycle intelligent lock after using the bicycle, the bicycle intelligent lock sends transaction information to a bicycle intelligent contract, the bicycle intelligent contract sends the transaction information to a bicycle user account, corresponding cost is deducted, and the state of the bicycle intelligent lock in the bicycle intelligent contract is changed into a closed state; if the bicycle is in failure, the bicycle user reports the bicycle to the intelligent contract of the bicycle through the account of the bicycle user; after a transaction is generated in the block chain network, the transaction is encrypted by a hash function, competing nodes in the block chain network pack the transaction within a certain time into a block, and random numbers are calculated in a workload proving mode until a certain hash character string condition is met; the block comprises a block height, a hash function encryption character string of transaction information, a timestamp, public keys of a bicycle user and a bicycle owner, a cost generated by transaction and a calculated random number; the fastest node is calculated to broadcast the block, the other nodes verify the random number, if the random number is legal, the content of the block is synchronized, the transaction information stored by all the nodes is the same, and once one node is tampered, the other nodes eliminate the node through voting;
the method comprises the steps that nodes in a block chain network store all bicycle position information, bicycle body intelligent lock state information and transaction information;
cloud server: acquiring bicycle information from a block chain network, wherein the bicycle information comprises bicycle position information and the on-off state of a bicycle body intelligent lock, the bicycle position information in a certain range of a bicycle user is synchronously transmitted to the bicycle user, a cloud server periodically acquires the bicycle position, and if the bicycle body intelligent lock is in a sleep state, a shared bicycle is required to be used, and awakening information is transmitted to the bicycle body intelligent lock corresponding to the bicycle selected by the bicycle user;
the bicycle uses the side: the bicycle position information issued by the cloud server is acquired, and the bicycle body intelligent lock is closed after the bicycle is used.
2. The blockchain-based end-to-end bicycle sharing system according to claim 1, wherein the cloud server wakes up the bicycle body intelligent lock after obtaining the unlocking information, and the bicycle body intelligent lock state is modified to the open state in the bicycle intelligent contract.
3. A bicycle sharing method of a blockchain based end-to-end bicycle sharing system according to claim 1, comprising the steps of:
(1) the method comprises the following steps that all directions of bicycles request an intelligent lock from a system administrator and idle bicycles are added into a sharing system;
(2) a system administrator creates a bicycle intelligent contract and a bicycle owner account corresponding to the newly added bicycle through a blockchain network;
(3) the bicycle user side block chain network sends a request for joining the sharing system, and the block chain network creates a bicycle user side account for a user newly joining the sharing system;
(4) the cloud server acquires bicycle position information from the block chain network, and synchronizes the bicycle position information within a certain range of a bicycle user to the bicycle user;
(5) after the bicycle user selects the bicycle, paying a deposit through the account of the bicycle user;
(6) after the block chain network verifies that the account of the bicycle user is legal, the cloud server sends awakening information to the bicycle body intelligent lock corresponding to the bicycle selected by the bicycle user;
(7) after the bicycle is used, a user of the bicycle closes the intelligent bicycle body lock, and all the bicycle accounts charge to complete end-to-end bicycle sharing.
4. The bicycle sharing method of claim 3, wherein the nodes in the blockchain network store all bicycle location information, bicycle body intelligent lock status information and transaction information, maintain the generation of transactions, pack transactions for a certain time into blocks and store in the blockchain network.
5. The bicycle sharing method as claimed in claim 3, wherein if the bicycle fails during the bicycle usage process, the bicycle user reports the bicycle intelligent contract to repair the bicycle through the bicycle user account.
6. The bicycle sharing method according to claim 3, wherein if the bicycle user does not want to continue using the bicycles in the sharing system, the bicycle user account initiates a deposit withdrawal application to the bicycle intelligent contract, and the intelligent contract returns the deposit fee to the bicycle user account after the bicycle user account is approved.
CN201711182089.8A 2017-11-23 2017-11-23 Block chain-based end-to-end bicycle sharing system and method Active CN107993359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711182089.8A CN107993359B (en) 2017-11-23 2017-11-23 Block chain-based end-to-end bicycle sharing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711182089.8A CN107993359B (en) 2017-11-23 2017-11-23 Block chain-based end-to-end bicycle sharing system and method

Publications (2)

Publication Number Publication Date
CN107993359A CN107993359A (en) 2018-05-04
CN107993359B true CN107993359B (en) 2021-01-19

Family

ID=62032644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711182089.8A Active CN107993359B (en) 2017-11-23 2017-11-23 Block chain-based end-to-end bicycle sharing system and method

Country Status (1)

Country Link
CN (1) CN107993359B (en)

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471449B (en) * 2018-05-07 2023-08-22 上海钧正网络科技有限公司 Auxiliary positioning system and auxiliary positioning method for sharing bicycle
CN108765064A (en) * 2018-05-14 2018-11-06 韩明 A kind of shared trip operation management method based on block chain technology
CN108694507A (en) * 2018-05-15 2018-10-23 北京首汽智行科技有限公司 A kind of shared automobile life cycle management system based on block chain technology
CN108805655A (en) * 2018-05-20 2018-11-13 深圳市图灵奇点智能科技有限公司 Vehicle timesharing Sharing Management method and service platform
WO2019227345A1 (en) * 2018-05-30 2019-12-05 深圳市元征科技股份有限公司 Method and system for managing maintenance and repair plant and data management server
CN108846720A (en) * 2018-05-31 2018-11-20 广东美的制冷设备有限公司 For usage record processing method, device, system and the equipment of shared air-conditioning
TW202004546A (en) * 2018-06-01 2020-01-16 鯨鏈科技股份有限公司 Method for managing a smart lock contract, system thereof, and a smart lock
CN108766020A (en) * 2018-06-04 2018-11-06 深圳拍物联科技有限公司 A kind of parking stall sharing method and system based on block chain
CN108615402A (en) * 2018-06-14 2018-10-02 山东交通学院 A kind of intelligent parking and parking stall shared system based on block chain technology
CN109035106B (en) * 2018-06-29 2021-04-27 深圳市元征科技股份有限公司 Waste recycling management method and device
CN108847046A (en) * 2018-07-03 2018-11-20 中钞信用卡产业发展有限公司杭州区块链技术研究院 Parking management method, equipment and medium based on block chain technology
CN109087455B (en) * 2018-07-09 2020-11-24 嵊州市万睿科技有限公司 Sharing electric power-assisted vehicle based on block chain
CN109064770B (en) * 2018-07-09 2021-08-27 深圳市星河智善科技有限公司 Intelligent parking space based on block chain
CN108898749B (en) * 2018-07-09 2020-09-25 上海旺链信息科技有限公司 Sharing bicycle based on block chain
CN108877070B (en) * 2018-07-09 2020-09-25 上海旺链信息科技有限公司 Sharing electric power-assisted vehicle based on block chain
CN109255892A (en) * 2018-07-13 2019-01-22 韩明 It is a kind of that vehicles operation income Sharing Management method is managed based on block chain technology
CN109005220B (en) * 2018-07-17 2022-01-25 中国联合网络通信集团有限公司 Service implementation method of Internet of things terminal and Internet of things access gateway
CN108985902A (en) * 2018-07-25 2018-12-11 佛山市高明曦逻科技有限公司 Unmanned automotive system is shared in decentralization
CN108961807A (en) * 2018-07-25 2018-12-07 佛山市高明曦逻科技有限公司 Pilotless automobile intelligent car position shared system
CN109146618A (en) * 2018-07-30 2019-01-04 杭州复杂美科技有限公司 A kind of collaborative share method and system, computer equipment and storage medium
CN109035849A (en) * 2018-08-03 2018-12-18 中国联合网络通信集团有限公司 Parking stall dispatching method, device, equipment and storage medium
CN109087176A (en) * 2018-08-15 2018-12-25 北京元链科技有限公司 A kind of shared bicycle usage record system based on block chain technology
CN109003169A (en) * 2018-08-20 2018-12-14 车未来(天津)网络信息技术有限公司 A kind of parking stall sharing method and device
WO2020051730A1 (en) * 2018-09-10 2020-03-19 Telefonaktiebolaget Lm Ericsson (Publ) Methods and devices for shared vehicle management
US10891823B2 (en) * 2018-09-13 2021-01-12 Jcm American Corporation Network architecture for gaming industry accounting
CN110009439A (en) * 2018-11-23 2019-07-12 阿里巴巴集团控股有限公司 A kind of taxi operational know-how and device based on block chain
CN111222935A (en) * 2018-11-26 2020-06-02 北京沃东天骏信息技术有限公司 Transportation means sharing method based on block chain network, terminal and storage medium
CN109783057A (en) * 2018-12-03 2019-05-21 北京建筑大学 Random digit generation method and device on a kind of block chain
CN109671193B (en) * 2018-12-13 2021-08-03 深圳市云歌人工智能技术有限公司 Method and device for granting and acquiring use right of electronic lock
CN109685504B (en) * 2018-12-20 2020-08-28 雄安新区智能城市创新联合会 Block chain-based shared economy accounting method
CN109508977A (en) * 2018-12-29 2019-03-22 杭州趣链科技有限公司 A kind of end-to-end Car sharing system and method based on block chain
TWI704793B (en) 2019-02-27 2020-09-11 財團法人工業技術研究院 Object sharing system and object sharing method
CN110458701A (en) * 2019-07-11 2019-11-15 深圳市元征科技股份有限公司 A kind of data processing method, device, block chain node device and medium
CN110852851A (en) * 2019-11-14 2020-02-28 腾讯科技(深圳)有限公司 Block chain-based vehicle sharing method and device and readable storage medium
CN111508161B (en) * 2020-04-08 2021-09-10 杭州左链科技有限公司 Locker application method, equipment and storage medium
CN113344563B (en) * 2021-05-26 2024-04-16 摩拜(北京)信息技术有限公司 Account management method, article server, blockchain cluster and system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004094699A (en) * 2002-09-02 2004-03-25 Tatsuya Sato Intermediation system for vehicle sharing
CN104139815B (en) * 2014-06-16 2017-01-18 漳浦桂宏工业有限公司 Intelligent energy-saving lamp for bicycle
US9919616B2 (en) * 2015-04-21 2018-03-20 Shimano Inc. Control system for bicycle
CN105205711A (en) * 2015-10-14 2015-12-30 上海工程技术大学 Bicycle interconnection and inter-borrowing system based on cloud service platform and bicycle borrowing and returning method
CN105243755A (en) * 2015-11-16 2016-01-13 谢瑞初 Bicycle with magnetic sensors
CN105956923B (en) * 2016-04-20 2022-04-29 上海如鸽投资有限公司 Asset transaction system and digital authentication and transaction method of assets
CN106100847B (en) * 2016-06-14 2021-10-26 惠众商务顾问(北京)有限公司 Method and device for verifying identity information of asymmetric encryption block chain
CN106897902A (en) * 2017-02-21 2017-06-27 中链科技有限公司 Service transacting method, system and trading server based on block chain technology
CN107195107A (en) * 2017-03-31 2017-09-22 芜湖泰领信息科技有限公司 Bicycle sharing method and system
CN107122838B (en) * 2017-04-21 2021-06-25 杭州趣链科技有限公司 Intelligent network car booking system and method based on block chain technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于区块链生态系统的充电桩共享经济模式;齐林海 等;《电力建设》;20170901;第38卷(第9期);第1-7页 *

Also Published As

Publication number Publication date
CN107993359A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN107993359B (en) Block chain-based end-to-end bicycle sharing system and method
CN107886388B (en) Transportation credit and safety service platform for realizing polycentricity based on alliance chain and operation method thereof
CN109272606B (en) Intelligent lock supervision equipment and method based on block chain and storage medium
CN109741039A (en) Bookkeeping methods, terminal device, digs mine node and mine pond at mine pool server
CN106713431B (en) A kind of control method and system that vehicle is unlocked/shut
CN110958110B (en) Block chain private data management method and system based on zero knowledge proof
Kim et al. Mobile charger billing system using lightweight Blockchain
CN109711836A (en) A kind of storage method of transaction, storage network and electronic equipment
CN108881167A (en) A kind of intelligent contract of finite field block catenary system
CN107947928B (en) Intelligent community management method and system based on Internet of things
CN103312691A (en) Method and system for authenticating and accessing cloud platform
CN109146483B (en) Credit recording method and system based on block chain network
CN109508977A (en) A kind of end-to-end Car sharing system and method based on block chain
CN109274496A (en) A kind of electronic passenger ticket storage system and electronic passenger ticket storage method based on block chain
CN109348479A (en) Data communications method, device, equipment and the system of electric power system
CN109951490A (en) Webpage integrity assurance, system and electronic equipment based on block chain
CN112561706A (en) Charging pile service information processing method and system based on block chain
CN101930516B (en) Method for using license of embedded equipment
CN102377573A (en) Double-factor authentication method capable of securely updating password
CN110930153A (en) Block chain privacy data management method and system based on hidden third-party account
CN104125230A (en) Short message authentication service system and authentication method
CN116506854A (en) Encryption communication system and method for Beidou short message
CN109347865A (en) A kind of user data authentication based on block chain technology deposits the method and system of card
CN103312672A (en) Identity authentication method and system
CN110852851A (en) Block chain-based vehicle sharing method and device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: He Shibo

Inventor after: Sun Yuyi

Inventor after: Alibek Kazbekov

Inventor after: Chen Jiming

Inventor before: Alibek Kazbekov

Inventor before: Sun Yuyi

Inventor before: He Shibo

Inventor before: Chen Jiming

GR01 Patent grant
GR01 Patent grant