CN108154587A - A kind of method and system for switching bicycle lock - Google Patents

A kind of method and system for switching bicycle lock Download PDF

Info

Publication number
CN108154587A
CN108154587A CN201711457805.9A CN201711457805A CN108154587A CN 108154587 A CN108154587 A CN 108154587A CN 201711457805 A CN201711457805 A CN 201711457805A CN 108154587 A CN108154587 A CN 108154587A
Authority
CN
China
Prior art keywords
password
mobile terminal
rule
bicycle
server
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.)
Pending
Application number
CN201711457805.9A
Other languages
Chinese (zh)
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.)
Shenzhen Xiao Yi Lian Technology Co Ltd
Original Assignee
Shenzhen Xiao Yi Lian Technology Co Ltd
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 Shenzhen Xiao Yi Lian Technology Co Ltd filed Critical Shenzhen Xiao Yi Lian Technology Co Ltd
Priority to CN201711457805.9A priority Critical patent/CN108154587A/en
Publication of CN108154587A publication Critical patent/CN108154587A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • G07C2009/0042Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed
    • G07C2009/00476Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed dynamically
    • G07C2009/005Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed dynamically whereby the code is a random code
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • G07C2009/00825Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed remotely by lines or wireless communication
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • G07C2009/00841Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed by a portable device

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a kind of method and system for switching bicycle lock, include the following steps:Acquisition for mobile terminal bicycle lock mark;Judge the communications status of the mobile terminal and server;When being judged as off-line state, the mobile terminal is according to unlocking cipher create-rule and the lock mark generation unlocking cipher;The bicycle interlocking receives the unlocking cipher of connectionless input and unlocks after being proved to be successful;Detect when shutting operation that the bicycle lock shuts password according to shutting password create-rule and automatically generate;Password completion verification is shut described in the connectionless input of the mobile terminal reception and shuts password match and temporary recording data;State to be communicated is the mobile terminal upload data to server completion clearing after presence.It the problem of being the technical solution that connectionless switch lock can be also completed under off-line state by mobile terminal and server, excluding connection communication completely, can quick, the correct and completion switch lock stablized and charge accounting.

Description

A kind of method and system for switching bicycle lock
Technical field
The present invention relates to bicycle lock technology field more particularly to a kind of method and system for switching bicycle lock.
Background technology
Now share bicycle lock switch lock scheme be both needed to rely on and communication between mobile phone or server complete unlocking charging or Clearing are shut, the mode of communication includes:Bluetooth and general packet radio service technology (General Packet Radio Service, GPRS).
In Bluetooth communication scheme:
It unlocks:Bicycle lock carries out linking communications by bluetooth and cell phone application, when user is unlocked using cell phone application, mobile phone APP to server request data, feeds back to cell phone application, APP leads to first by cell phone network after server confirmation form lock information It crosses bluetooth to lock transmission unlocking order to bicycle and report current phone GPS location, bicycle lock completes unlocking simultaneously after receiving APP orders Start charging, user rides beginning;
It shuts:After user shuts manually, bicycle lock actively communicates with cell phone application, and notice cell phone application bicycle lock has closed It closes, cell phone application completes reporting position, disbursement and sattlement of riding etc. with server communication again, and user rides end.
Place one's entire reliance upon Bluetooth communication in above-mentioned Bluetooth communication scheme, based on each Bluetooth of mobile phone hardware difference, each version of Android The compatibling problem of the difference of this system software and each cell phone application, the Bluetooth communication problem of each mobile phone can lead to very poor user Experience due to can not find bicycle lock bluetooth and while needing to shut after can not unlocking or unlocking can not terminate stroke, can not be completed to tie It calculates.
In GPRS communication plans:
It unlocks:Bicycle lock keeps heartbeat connection communication by GPRS and server, when user is unlocked using cell phone application, hand Machine APP first by cell phone network to server request data, confirmation form lock and server communication it is normal after, cell phone application to Server sends order of unlocking, and unlocking order is sent to bicycle by GPRS network again and locked by server, and bicycle interlocking receives clothes It completes to unlock after business device order and starts charging, user rides beginning;
It shuts:After user shuts manually, bicycle lock is actively communicated by GPRS network with server, notifies server Bicycle lock is turned off, and server is completed to ride disbursement and sattlement etc. with cell phone application communication again, and user rides end after clearing.Wherein Location information is preferentially positioned using mobile phone, GPS positioning is locked using bicycle when searching vehicle location, by reporting position when bicycle locks Vehicle location is used for server.
The GPRS network that places one's entire reliance upon in above-mentioned GPRS communication plans communicates, when in network signal difference or without network signal Environment when, will appear the situation about can not be settled accounts to no network area that can not unlock or ride after unlocking.
Invention content
The technical problem to be solved in the present invention is, for bluetooth in the relevant technologies and the equal heavy dependence of GPRS communication plans In communication, hardware and the defects of environment, a kind of method and system for switching bicycle lock are provided.
The technical solution adopted by the present invention to solve the technical problems is:A kind of method for switching bicycle lock is constructed, including Following steps:
S1. acquisition for mobile terminal bicycle lock mark;
S2. judge the communications status of the mobile terminal and server;
S3. when being judged as off-line state, the mobile terminal is according to unlocking cipher create-rule and the lock mark generation Unlocking cipher;
S4. the bicycle interlocking receives the unlocking cipher of connectionless input and unlocks after being proved to be successful;
S5. detect when shutting operation that the bicycle lock shuts password according to shutting password create-rule and automatically generate;
S6. the mobile terminal receive connectionless input it is described shut password and complete verification shut password match and interim Record data;
S7. after state to be communicated is presence, the mobile terminal uploads the data and completes to tie to the server It calculates.
Preferably, in the method for switch bicycle lock of the present invention, the lock mark includes ID, the step S1 into One step includes:
Mobile terminal locks Quick Response Code acquisition ID by scanning bicycle.
Preferably, in the method for switch bicycle lock of the present invention, the unlocking cipher create-rule and the pass Lock cipher create-rule is based on pact private key rivest, shamir, adelman.
Preferably, in the method for switch bicycle lock of the present invention, the step S4 further comprises:
The unlocking cipher that the bicycle interlocking receives key-press input shows on a display screen and is opened after being proved to be successful Lock.
Preferably, in the method for switch bicycle lock of the present invention, the step S5 further comprises:
It detects manually when shutting operation, the bicycle lock shuts password simultaneously according to shutting password create-rule and automatically generate Display is on a display screen.
Preferably, in the method for switch bicycle lock of the present invention, the step S6 further comprises:
Mobile terminal reception be manually entered it is described shut password and complete verification shut password match and blotter This data of riding.
Preferably, it is further comprising the steps of in the method for switch bicycle lock of the present invention:
S8. when being judged as presence, the mobile terminal sends request of unlocking to the server;
S9. the server according to the unlocking cipher create-rule and the lock mark generation unlocking cipher and is sent to The mobile terminal;
S10. the unlocking cipher of the bicycle interlocking receipts key-press input shows on a display screen and is proved to be successful laggard Row is unlocked;
S11. detect that the bicycle lock shuts password create-rule according to and automatically generates pass when shutting operation manually Lock cipher is simultaneously shown on a display screen;
What S12. mobile terminal reception was manually entered described shut password and is uploaded to the server;
S13. the server is completed to verify and shuts password match and settle accounts.
The present invention also constructs a kind of system for switching bicycle lock, including:
Bicycle is locked, and is provided with the dress that unlocking instruction is sent for connectionless reception unlocking cipher and after being proved to be successful It puts and for shutting the device of password according to shutting password create-rule and automatically generate;
Mobile terminal, it is under off-line state, according to unlocking cipher create-rule and list with server to be provided with It the device of lock mark generation unlocking cipher and shuts password for connectionless reception and completes verification and shut password match and interim Record the device of data.
Preferably, it in the system of switch bicycle lock of the present invention, further includes:
Server when being provided with for being presence with the mobile terminal, receives opening for the mobile terminal Lock request device, for according to the unlocking cipher create-rule and it is described lock mark generation unlocking cipher device, be used for Send unlocking cipher to the mobile terminal device, receive that the mobile terminal sends over shut password and data of riding Device and for complete verification shut password match and settle accounts device.
Preferably, in the system of switch bicycle lock of the present invention, the bicycle lock includes:For showing password Display screen and the physical button for inputting unlocking cipher;Connectionless reception in the bicycle lock includes key-press input, described The connectionless input of mobile terminal includes being manually entered;The unlocking cipher create-rule and the password create-rule that shuts are bases In public, private key rivest, shamir, adelman.
Implement the method and system of present invention switch bicycle lock, have the advantages that:
By implementing bicycle lock and mobile terminal or server without communicating to connect and mobile terminal with server is offline Also the technical solution of connectionless switch lock can be completed under state, excludes bicycle lock and mobile terminal or server connection communication completely The factors of instability, completion switch lock that all can be quick, correct and stable under which kind of environment and charge accounting, correctly User is responded, user experience is improved, solves the problems, such as not unlocking and shut and can not settle accounts due to connection communication connectivity problem, Bring stablize ride income while, save maintenance cost.
Description of the drawings
Below in conjunction with accompanying drawings and embodiments, the invention will be further described, in attached drawing:
Fig. 1 is a kind of method flow diagram for switching bicycle lock of the present invention;
Fig. 2 is a kind of system module figure for switching bicycle lock of the present invention;
Fig. 3 is a kind of bicycle lock hardware structure diagram for switching bicycle lock of the present invention.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, now control attached drawing is described in detail The specific embodiment of the present invention.
In the following description, it is only citing to scan the two-dimensional code, including but not limited to the mode scanned the two-dimensional code, Ke Yishi The mobile terminals such as image identification number and the connectionless mode for obtaining bicycle lock ID of bicycle lock;ID only be citing, comprising but it is unlimited Can be the unique marks such as title, symbol in ID;Key-press input is only citing, can including but not limited to the mode of key-press input To be the input modes such as touch screen input, if the mode of touch screen input, user needs to touch manually when inputting unlocking cipher It touches screen wake-up screen and then inputs unlocking cipher, touch screen does not detect that touch data will stop automatically in setting time Dormancy state, bicycle lock detect that touch screen will be automatically waken up, and input mode on the touchscreen can be by shutting operation The mode or other input modes of analogue-key input;Display screen is only citing, can including but not limited to display screen To be in a manner of voice broadcast etc. knows password;It is only citing to be manually entered, can be with including but not limited to the mode being manually entered It is the mode that the mobile terminals such as image identification shut password with the connectionless acquisition of bicycle lock.
The method of present invention switch bicycle lock includes the following steps:
S1. acquisition for mobile terminal bicycle lock mark;
S2. judge the communications status of mobile terminal and server;
S3. when being judged as off-line state, mobile terminal is according to unlocking cipher create-rule and lock mark generation unlocking cipher;
S4. bicycle interlocking receives the unlocking cipher of connectionless input and unlocks after being proved to be successful;
S5. detect when shutting operation that bicycle lock shuts password according to shutting password create-rule and automatically generate;
S6. the password completion verification that shuts of the connectionless input of mobile terminal reception shuts password match and blotter number According to;
S7. after state to be communicated is presence, mobile terminal uploads data and completes to settle accounts to server.
In the method for present invention switch bicycle lock, lock mark includes ID, and step S1 further comprises:Mobile terminal passes through It scans bicycle lock Quick Response Code and obtains ID.
In the method for present invention switch bicycle lock, unlocking cipher create-rule is based on public affairs with password create-rule is shut About private key rivest, shamir, adelman.
In the method for present invention switch bicycle lock, step S4 further comprises:Bicycle interlocking receives the unlocking of key-press input Password shows on a display screen and unlocks after being proved to be successful.
In the method for present invention switch bicycle lock, step S5 further comprises:It detects manually when shutting operation, bicycle Lock according to shut password create-rule automatically generate shut password and show on a display screen.
In the method for present invention switch bicycle lock, step S6 further comprises:The pass that mobile terminal reception is manually entered Lock cipher completes verification and shuts password match and blotter this data of riding.
It is further comprising the steps of in the method for present invention switch bicycle lock:
S8. when being judged as presence, mobile terminal sends request of unlocking to server;
S9. server according to unlocking cipher create-rule and lock mark generation unlocking cipher and is sent to mobile terminal;
S10. the unlocking cipher of bicycle interlocking receipts key-press input shows on a display screen and unlocks after being proved to be successful;
S11. it detects manually when shutting operation, bicycle lock shuts password simultaneously according to shutting password create-rule and automatically generate Display is on a display screen;
What S12. mobile terminal reception was manually entered shuts password and is uploaded to server;
S13. server is completed to verify and shuts password match and settle accounts.
In some embodiments of the invention, the operating process of switch bicycle lock includes:
The first situation:Cell phone application and server keep communication connection, that is, in the case of having communication connection:
It unlocks:When user is unlocked using cell phone application barcode scanning, scanning car Quick Response Code obtains lock ID, and two-dimensional code scanning, which has, to be opened Source library, it is integrated to support transcoding, server support is not needed to, in the case where mobile phone has network condition, corresponding lock is asked to server Unlocking cipher, lock and server need to arrange in advance, using the form of public, private key asymmetric encryption, while by unlocking times It adds in unlocking cipher create-rule, server is sent to APP by the unlocking cipher of agreement generation lock, and user uses the password pair Lock carries out button unlock, and the operation that display screen now functions as button unlock is shown.
It shuts:User rides after end shuts manually, locks to automatically generate by agreement and shuts password and show from display screen, lock It need to arrange in advance with server, pass also added in using public, private key asymmetric encryption form, while by unlocking times, unlocking cipher In lock cipher create-rule, which is manually entered APP by user, and passes through APP and password and data of riding are reported to service Device after server authentication shuts password match, is completed to calculate and be deducted fees, and pass through APP and user is notified to complete this time to ride.
The second situation:Cell phone application and server are without communication connection, that is, in the case of not communicating to connect:
Mobile phone is offline, unlocking cipher generation can be completed by APP oneself and verification shut password match, and APP is used and above-mentioned The consistent unlocking cipher create-rule of server completes unlocking cipher generation instead of server and verification shuts password match, faces Shi Jilu data until the normal rear reported data of networking and are completed to settle accounts, had last time not settle accounts if APP is locally recorded by server Offline stroke, then refuse user and reuse to ride offline.
APP can still be stored on the server with server interaction, the relevant database of main users.During off-line state APP gets along well server communication, and local blotter switchs lock information, when having network and can submit this automatically after being connected to server Information, server computational costs simultaneously update the data library.
Specifically, Fig. 1 is a kind of method flow diagram for switching bicycle lock of the present invention, as shown in Figure 1:
S1. mobile terminal locks Quick Response Code acquisition ID by scanning bicycle, and two-dimensional code scanning has library of increasing income, integrated to prop up Transcoding is held, does not need to server support;
S2. judge whether mobile terminal is in off-line state with server, if so then execute step S3, if otherwise performing step Rapid S8;
S3. mobile terminal is according to unlocking cipher create-rule and lock mark generation unlocking cipher, unlocking cipher generation rule It is then that bicycle lock is arranged in advance with mobile terminal, using the form of public, private key asymmetric encryption, while by unlocking times It is added in the unlocking cipher create-rule;
S4. the unlocking cipher of bicycle interlocking receipts key-press input is shown on a display screen and according to scheduled unlocking proof rule It unlocks after being proved to be successful, unlocking proof rule is arranged in advance using bicycle lock and mobile terminal in above-mentioned steps S3 With a pair of public, private key;
S5. it detects manually when shutting operation, bicycle lock shuts password simultaneously according to shutting password create-rule and automatically generate On a display screen, it is that bicycle lock is arranged in advance with mobile terminal to shut password create-rule, non-using public, private key for display The form of symmetric cryptography, while unlocking times and unlocking cipher addition are shut in password create-rule;
S6. mobile terminal reception be manually entered shut password according to it is scheduled shut proof rule complete verification shut it is close Code matches simultaneously this data of riding of blotter, and it is using bicycle lock and mobile terminal in above-mentioned steps S5 to shut proof rule Same a pair of of the public, private key arranged in advance;
S7. after the communications status of standby communication terminal and server is presence, mobile terminal uploads this data of riding It completes to settle accounts and update the data library to server, user is prompted to complete this time to ride.
S8. mobile terminal sends request of unlocking to server;
S9. server according to unlocking cipher create-rule and lock mark generation unlocking cipher and is sent to mobile terminal, opens Lock cipher create-rule is that bicycle lock is arranged in advance with server, using the form of public, private key asymmetric encryption, simultaneously will Unlocking times are also added in the unlocking cipher create-rule.
S10. the unlocking cipher of bicycle interlocking receipts key-press input is shown on a display screen and according to scheduled verification rule of unlocking It unlocks after being then proved to be successful, scheduled rule is same using arranging in advance with above-mentioned steps S8 bicycles lock and server A pair of of public, private key;
S11. it detects manually when shutting operation, bicycle lock shuts password simultaneously according to shutting password create-rule and automatically generate On a display screen, it is that bicycle lock is arranged in advance with server to shut password create-rule, non-right using public, private key for display Claim encrypted form, while unlocking times and unlocking cipher addition are shut in password create-rule.
What S12. mobile terminal reception was manually entered shut password and uploads and shuts password and data of riding are to server;
S13. server according to it is scheduled shut proof rule complete verification shut password match, complete this clearing of riding And update the data library, user is prompted to complete this time to ride, shut proof rule be using bicycle lock in above-mentioned steps S11 and Same a pair of of public, private key that server is arranged in advance.
Fig. 2 is a kind of system module figure for switching bicycle lock of the present invention, and Fig. 3 is a kind of bicycle for switching bicycle lock of the present invention Hardware structure diagram is locked, as shown in Figures 2 and 3:
A kind of system for switching bicycle lock of present invention construction, including:
Bicycle is locked, and is provided with the dress that unlocking instruction is sent for connectionless reception unlocking cipher and after being proved to be successful It puts and for shutting the device of password according to shutting password create-rule and automatically generate;
Specifically, bicycle is locked, and the unlocking cipher for receiving key-press input is shown on a display screen, and is opened according to scheduled Unlock after lock proof rule verification unlocking cipher success and detect shut operation manually when, according to shutting password Create-rule, which automatically generates, to be shut password and shows on a display screen;
Mobile terminal, it is under off-line state, according to unlocking cipher create-rule and list with server to be provided with The device of lock mark generation unlocking cipher and connectionless reception shut password completion verification and shut password match and blotter The device of data.
Specifically, mobile terminal is under off-line state for the communications status with server, is generated and advised according to unlocking cipher Then and the password that shuts that is manually entered of bicycle lock mark generation unlocking cipher and receiving to shut proof rule complete according to scheduled Password match and blotter this data of riding are shut into verification;
In the system of present invention switch bicycle lock, further include:
Server when being provided with for being presence with mobile terminal, receives the unlocking request of mobile terminal Device, for according to unlocking cipher create-rule and lock mark generation unlocking cipher device, for send unlocking cipher to move The device for shutting password and data of riding and closed for completing verification that device, the reception mobile terminal of dynamic terminal send over The device that lock cipher is matched and settled accounts.
Server when being additionally operable to switch to presence by off-line state with the communications status of mobile terminal, only receives movement Data that terminal sended over ride complete charge accounting and simultaneously update the data library.
Wherein unlocking cipher create-rule is that bicycle lock is arranged in advance with mobile terminal, is added using public, private key is asymmetric Close form, while unlocking times are also added in the unlocking cipher create-rule;Unlocking proof rule is to use and unlock Password create-rule is the same as a pair of public, private key.
Lock cipher create-rule is that bicycle lock is arranged in advance with mobile terminal, uses the shape of public, private key asymmetric encryption Formula, while unlocking times and unlocking cipher addition are shut in password create-rule;Shut proof rule be use and shut it is close Code create-rule is the same as a pair of public, private key.
In the system of present invention switch bicycle lock, bicycle lock includes:For the display screen for showing password and for inputting The physical button of unlocking cipher;Connectionless reception in bicycle lock includes key-press input, and the connectionless input of mobile terminal includes hand Dynamic input;Unlocking cipher create-rule with password create-rule is shut is calculated based on public, private key asymmetric encryption.
By implementing bicycle lock and mobile terminal or server without communicating to connect and mobile terminal with server is offline Also the technical solution of connectionless switch lock can be completed under state, excludes bicycle lock and mobile terminal or server connection communication completely The factors of instability, completion switch lock that all can be quick, correct and stable under which kind of environment and charge accounting, correctly User is responded, user experience is improved, solves the problems, such as not unlocking and shut and can not settle accounts due to connection communication connectivity problem, Bring stablize ride income while, save maintenance cost.
The present invention is illustrated by specific embodiment, it will be appreciated by those skilled in the art that, do not departing from this hair In the case of bright range, various transformation and equivalent substitute can also be carried out to the present invention.In addition, for particular condition or specific feelings Condition can do various modifications, without departing from the scope of the present invention to the present invention.Therefore, the present invention is not limited to disclosed tool Body embodiment, and the whole embodiments fallen within the scope of the appended claims should be included.

Claims (10)

  1. A kind of 1. method for switching bicycle lock, which is characterized in that include the following steps:
    S1. acquisition for mobile terminal bicycle lock mark;
    S2. judge the communications status of the mobile terminal and server;
    S3. when being judged as off-line state, the mobile terminal is unlocked according to unlocking cipher create-rule and the lock mark generation Password;
    S4. the bicycle interlocking receives the unlocking cipher of connectionless input and unlocks after being proved to be successful;
    S5. detect when shutting operation that the bicycle lock shuts password according to shutting password create-rule and automatically generate;
    S6. the mobile terminal receive connectionless input it is described shut password and complete verification shut password match and blotter Data;
    S7. after state to be communicated is presence, the mobile terminal uploads the data and completes to settle accounts to the server.
  2. 2. the method for switch bicycle lock according to claim 1, which is characterized in that the lock mark includes ID, the step Rapid S1 further comprises:
    Mobile terminal locks Quick Response Code acquisition ID by scanning bicycle.
  3. 3. the method for switch bicycle lock according to claim 2, which is characterized in that the unlocking cipher create-rule and institute It is based on public, private key rivest, shamir, adelman to state and shut password create-rule.
  4. 4. the method for switch bicycle lock according to claim 3, which is characterized in that the step S4 further comprises:
    The unlocking cipher that the bicycle interlocking receives key-press input shows on a display screen and unlocks after being proved to be successful.
  5. 5. the method for switch bicycle lock according to claim 4, which is characterized in that the step S5 further comprises:
    It detects manually when shutting operation, the bicycle lock shuts password and shows according to shutting password create-rule and automatically generate On a display screen.
  6. 6. the method for switch bicycle lock according to claim 5, which is characterized in that the step S6 further comprises:
    Mobile terminal reception be manually entered it is described shut password complete verification shut password match and blotter this It rides data.
  7. 7. the method for switch bicycle lock according to claim 1, which is characterized in that further comprising the steps of:
    S8. when being judged as presence, the mobile terminal sends request of unlocking to the server;
    S9. the server is according to the unlocking cipher create-rule and the lock mark generation unlocking cipher and described in being sent to Mobile terminal;
    S10. the unlocking cipher of the bicycle interlocking receipts key-press input shows on a display screen and is opened after being proved to be successful Lock;
    S11. detect manually when shutting operation, the bicycle lock shut according to password create-rule automatically generate shut it is close Code is simultaneously shown on a display screen;
    What S12. mobile terminal reception was manually entered described shut password and is uploaded to the server;
    S13. the server is completed to verify and shuts password match and settle accounts.
  8. 8. a kind of system for switching bicycle lock, which is characterized in that including:
    Bicycle is locked, be provided with device that unlocking instruction is sent for connectionless reception unlocking cipher and after being proved to be successful and For shutting the device of password according to shutting password create-rule and automatically generate;
    Mobile terminal is provided with for being under off-line state with server, is locked according to unlocking cipher create-rule and bicycle Mark, which generates the device of unlocking cipher and shuts password completion verification for connectionless reception, shuts password match and blotter The device of data.
  9. 9. the system of switch bicycle lock according to claim 8, which is characterized in that further include:
    Server, when being provided with for being presence with the mobile terminal, the unlocking for receiving the mobile terminal please The device asked, for according to the device of the unlocking cipher create-rule and the lock mark generation unlocking cipher, for sending The dress for shutting password and data of riding that device, the reception mobile terminal of unlocking cipher to the mobile terminal send over It puts and shuts password match and the device settled accounts for completing verification.
  10. 10. the system of switch bicycle lock according to claim 9, which is characterized in that the bicycle lock includes:For showing The display screen of password and the physical button for inputting unlocking cipher;It is defeated that connectionless reception in the bicycle lock includes button Enter, the connectionless input of the mobile terminal includes being manually entered;The unlocking cipher create-rule and the password that shuts generate Rule is based on public, private key rivest, shamir, adelman.
CN201711457805.9A 2017-12-28 2017-12-28 A kind of method and system for switching bicycle lock Pending CN108154587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711457805.9A CN108154587A (en) 2017-12-28 2017-12-28 A kind of method and system for switching bicycle lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711457805.9A CN108154587A (en) 2017-12-28 2017-12-28 A kind of method and system for switching bicycle lock

Publications (1)

Publication Number Publication Date
CN108154587A true CN108154587A (en) 2018-06-12

Family

ID=62462606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711457805.9A Pending CN108154587A (en) 2017-12-28 2017-12-28 A kind of method and system for switching bicycle lock

Country Status (1)

Country Link
CN (1) CN108154587A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109584429A (en) * 2019-01-18 2019-04-05 广东省安心加科技有限公司 Control method, device, computer equipment and the storage medium of wireless entrance guard equipment
CN109639644A (en) * 2018-11-13 2019-04-16 东软集团股份有限公司 Authority checking method, apparatus, storage medium and electronic equipment
CN109727354A (en) * 2018-12-27 2019-05-07 北京摩拜科技有限公司 A kind of control method and system of vehicle
CN109993925A (en) * 2019-03-29 2019-07-09 深圳市搜电科技发展有限公司 A kind of shared mobile power source system and its encryption management method
CN110049101A (en) * 2019-03-12 2019-07-23 广州启程科技有限公司 A kind of position sharing method, system and storage medium based on web technology
CN110276868A (en) * 2019-06-18 2019-09-24 深圳市小兔充充科技有限公司 Method for unlocking, device, charging cabinet and storage medium based on dynamic password
WO2020063967A1 (en) * 2018-09-30 2020-04-02 Beijing Youshan Information Technology Co., Ltd. Systems and methods for controlling a lock of a vehicle
CN111325917A (en) * 2020-02-27 2020-06-23 上海钧正网络科技有限公司 Using method and device of sharing equipment, storage medium and equipment
CN111599048A (en) * 2020-05-31 2020-08-28 西安亿力通网络科技有限公司 Dynamic coded lock with multiple unlocking modes and management system
CN111951435A (en) * 2020-07-17 2020-11-17 北京骑胜科技有限公司 Vehicle unlocking method and device, vehicle and storage medium
CN112466047A (en) * 2020-10-26 2021-03-09 深圳市云伽智能技术有限公司 Dual offline vehicle management method and related device
EP3828841A4 (en) * 2018-07-25 2021-09-08 Yunding Network Technology (Beijing) Co., Ltd. Smart device control method and system
CN113538740A (en) * 2021-06-10 2021-10-22 深圳市宏智智能装备有限公司 Off-line control method of intelligent lock and intelligent lock thereof
CN114049716A (en) * 2021-11-23 2022-02-15 四川卡雷拉科技有限公司 Offline unlocking method, device, system and medium based on user terminal
US11989989B2 (en) 2018-07-25 2024-05-21 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device
CN118379813A (en) * 2024-04-09 2024-07-23 烟台新韦达智慧科技有限公司 Self-service reservation access electronic lock device based on router in lock and use method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016029569A (en) * 2014-07-20 2016-03-03 横浜特殊船舶株式会社 Rental product lending and return system
CN105696870A (en) * 2016-03-27 2016-06-22 华北理工大学 Dynamic coded lock applying Bluetooth technology
CN106355772A (en) * 2016-10-12 2017-01-25 杭州行我行网络有限公司 Smart coded lock and system for bicycle and operation method thereof
CN106548568A (en) * 2016-12-12 2017-03-29 江门市雷特诺克物联网科技有限公司 Intelligent cipher lock, the car rental system based on cloud service and method
CN106713431A (en) * 2016-12-13 2017-05-24 上海众人网络安全技术有限公司 Unlocking/locking control method and system for vehicle
CN106918829A (en) * 2017-03-13 2017-07-04 上海动联信息技术股份有限公司 A kind of shared bicycle localization method based on Bluetooth Low Energy equipment and mobile terminal
EP3188141A1 (en) * 2015-12-30 2017-07-05 Clear Channel Jolly Pubblicita' S.p.A. Public electric bike sharing system provided with an automatic electronic system for remotely managing the electric supply for the bikes and relative operating method
CN107301697A (en) * 2017-05-09 2017-10-27 南昌大学 The dynamic encryption and localization method of a kind of electronic lock

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016029569A (en) * 2014-07-20 2016-03-03 横浜特殊船舶株式会社 Rental product lending and return system
EP3188141A1 (en) * 2015-12-30 2017-07-05 Clear Channel Jolly Pubblicita' S.p.A. Public electric bike sharing system provided with an automatic electronic system for remotely managing the electric supply for the bikes and relative operating method
CN105696870A (en) * 2016-03-27 2016-06-22 华北理工大学 Dynamic coded lock applying Bluetooth technology
CN106355772A (en) * 2016-10-12 2017-01-25 杭州行我行网络有限公司 Smart coded lock and system for bicycle and operation method thereof
CN106548568A (en) * 2016-12-12 2017-03-29 江门市雷特诺克物联网科技有限公司 Intelligent cipher lock, the car rental system based on cloud service and method
CN106713431A (en) * 2016-12-13 2017-05-24 上海众人网络安全技术有限公司 Unlocking/locking control method and system for vehicle
CN106918829A (en) * 2017-03-13 2017-07-04 上海动联信息技术股份有限公司 A kind of shared bicycle localization method based on Bluetooth Low Energy equipment and mobile terminal
CN107301697A (en) * 2017-05-09 2017-10-27 南昌大学 The dynamic encryption and localization method of a kind of electronic lock

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张涛: "《电力信息网络安全》", 31 March 2016 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11423721B2 (en) 2018-07-25 2022-08-23 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device
US11989989B2 (en) 2018-07-25 2024-05-21 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device
EP3828841A4 (en) * 2018-07-25 2021-09-08 Yunding Network Technology (Beijing) Co., Ltd. Smart device control method and system
US11383675B2 (en) 2018-09-30 2022-07-12 Beijing Qisheng Science And Technology Co., Ltd. Systems and methods for controlling a lock of a vehicle
WO2020063967A1 (en) * 2018-09-30 2020-04-02 Beijing Youshan Information Technology Co., Ltd. Systems and methods for controlling a lock of a vehicle
CN109639644A (en) * 2018-11-13 2019-04-16 东软集团股份有限公司 Authority checking method, apparatus, storage medium and electronic equipment
CN109639644B (en) * 2018-11-13 2021-06-25 东软集团股份有限公司 Authorization verification method and device, storage medium and electronic equipment
CN109727354A (en) * 2018-12-27 2019-05-07 北京摩拜科技有限公司 A kind of control method and system of vehicle
CN109584429A (en) * 2019-01-18 2019-04-05 广东省安心加科技有限公司 Control method, device, computer equipment and the storage medium of wireless entrance guard equipment
CN110049101A (en) * 2019-03-12 2019-07-23 广州启程科技有限公司 A kind of position sharing method, system and storage medium based on web technology
CN109993925A (en) * 2019-03-29 2019-07-09 深圳市搜电科技发展有限公司 A kind of shared mobile power source system and its encryption management method
CN110276868B (en) * 2019-06-18 2021-05-25 深圳市小兔充充科技有限公司 Unlocking method and device based on dynamic password, charging cabinet and storage medium
CN110276868A (en) * 2019-06-18 2019-09-24 深圳市小兔充充科技有限公司 Method for unlocking, device, charging cabinet and storage medium based on dynamic password
CN111325917A (en) * 2020-02-27 2020-06-23 上海钧正网络科技有限公司 Using method and device of sharing equipment, storage medium and equipment
CN111599048A (en) * 2020-05-31 2020-08-28 西安亿力通网络科技有限公司 Dynamic coded lock with multiple unlocking modes and management system
CN111951435A (en) * 2020-07-17 2020-11-17 北京骑胜科技有限公司 Vehicle unlocking method and device, vehicle and storage medium
CN112466047A (en) * 2020-10-26 2021-03-09 深圳市云伽智能技术有限公司 Dual offline vehicle management method and related device
CN113538740A (en) * 2021-06-10 2021-10-22 深圳市宏智智能装备有限公司 Off-line control method of intelligent lock and intelligent lock thereof
CN114049716A (en) * 2021-11-23 2022-02-15 四川卡雷拉科技有限公司 Offline unlocking method, device, system and medium based on user terminal
CN118379813A (en) * 2024-04-09 2024-07-23 烟台新韦达智慧科技有限公司 Self-service reservation access electronic lock device based on router in lock and use method

Similar Documents

Publication Publication Date Title
CN108154587A (en) A kind of method and system for switching bicycle lock
JP5818563B2 (en) Charging system for electric mobile object, charging device for electric mobile object, portable communication terminal and server device included therein, and charging method for electric mobile object
CN108055235B (en) Control method of intelligent lock, related equipment and system
CN100541366C (en) Vehicle information rewriting system
CN106447328A (en) Electronic payment method, bus electronic payment system, and metro electronic payment system
CN107508619B (en) Mobile power based on Bluetooth technology rents self-help serving system
CN108022341A (en) A kind of shared bicycle method for unlocking and system
CN105578400B (en) The rental management method of utility car under a kind of off-line case
CN104660719A (en) Electronic lock system and intelligent management achieving implementation method thereof
CN103563474B (en) Radio communication device, information processor, communication system and communication means
CN111585971A (en) Identity confirmation method and system supporting offline battery replacement
JP2013255415A (en) Charging station for mobile electronic devices, and associated system and method
US9208455B2 (en) Wireless terminal device, communication system, and control method of wireless terminal device
CN107819572A (en) Order transmission method, device and electronic equipment
JP6092529B2 (en) Charging system for electric mobile body and server device included therein
CN101810017B (en) Selective security termination in next generation mobile networks
JP5960512B2 (en) Charging system for electric mobile object, charging device for electric mobile object, portable communication terminal and server device included therein, and charging method for electric mobile object
JP5643860B2 (en) Vehicle management system, vehicle management device, vehicle management method, and program
EP3244359A1 (en) Protection method and apparatus of mobile payment information, and mobile payment system
CN108022349A (en) Information input method, equipment, smart lock and storage medium
KR100859172B1 (en) Unmmaned rfid bicycle rental system using mobile phone authentication and method thereof
CN107492169A (en) Trigger the method, apparatus and system of smart lock work
CN100561914C (en) Obtain the method for key
WO2010102483A1 (en) Method and system for registering subscriber identity
CN111833485B (en) Unlocking method and device for vehicle, electronic equipment and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180612

RJ01 Rejection of invention patent application after publication