CN107146311A - Shared bicycle lock - Google Patents

Shared bicycle lock Download PDF

Info

Publication number
CN107146311A
CN107146311A CN201710386553.9A CN201710386553A CN107146311A CN 107146311 A CN107146311 A CN 107146311A CN 201710386553 A CN201710386553 A CN 201710386553A CN 107146311 A CN107146311 A CN 107146311A
Authority
CN
China
Prior art keywords
shared bicycle
module
bicycle lock
subprogram
shared
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
CN201710386553.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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710386553.9A priority Critical patent/CN107146311A/en
Publication of CN107146311A publication Critical patent/CN107146311A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • 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

Abstract

The invention provides a kind of shared bicycle lock and control method, the shared bicycle lock includes lock body and electronic-controlled installation;Wherein electronic-controlled installation includes one-chip computer module, memory module, clock and watchdog module, state monitoring module, condition prompting module, status control module, satellite communication module, WIFI communication modules, IC-card module for reading and writing, power module, charging inlet module;The electronic control module is installed in shared bicycle lock body, realizes and the control for sharing bicycle is managed;The condition prompting module points out shared bicycle state with 3 color LEDs.In addition, the invention provides a kind of control method of shared bicycle lock;This method is by reading and writing IC card or receives the shared bicycle unlocking function of satellite communication content realization;This method sets prohibition parking area domain by satellite geographical coordinate, sets up and communicates with mobile communication equipment and the parking stake of shared bicycle by WIFI communication modules, realizes the parking management and maintenance management of shared bicycle.

Description

Shared bicycle lock
Technical field
The invention belongs to bicycle traffic management information application service field, more particularly to a kind of shared bicycle lock and control Method.
Background technology
With internet deep development and generation information technology with innovation 2.0 interactive evolution promoted share through The development of Ji.
Shared economy, also referred to as sharing economy, refer to allow commodity, service, data(Resource)And(People's)Ability etc. has The economic society system of shared channel.
The instrument that bicycle is gone on a journey as people's short distance, is widely used, and the release of shared bicycle is to solve city to go out The effective ways of row last one kilometer traffic, this " no stake " theory taken and stopped at any time brings great convenience to citizen While, also cause " random road occupying " phenomenon of " small screw oil expeller " and " little Huang cars " more universal, it is beautiful to city space management and city The problem of change brings new, bicycle distribution face ambassador is shared in addition and is safeguarded becomes more difficult, and which increases operation cost.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of shared bicycle lock and control method, it is intended to solve currently known Various shared bicycles, which park unordered, difficult in maintenance and city bus card, can not share the problem of using.
The embodiment of the present invention is achieved in that a kind of shared bicycle lock, and the shared bicycle lock includes shared bicycle lock body And electronic-controlled installation;Electronic-controlled installation is installed in shared bicycle lock body;Wherein electronic-controlled installation includes single-chip microcomputer mould Block, memory module, clock and watchdog module, IC-card module for reading and writing, charging inlet module, power module, satellite communication module, WIFI communication modules, state monitoring module, state indicator module, unlocking control module;
One-chip computer module, with memory module, clock and watchdog module, state monitoring module, state indicator module, control of unlocking Module, satellite communication module, WIFI communication modules, IC-card module for reading and writing, power module, the connection of charging inlet module, for compiling Whole control program is write, the management control of shared bicycle lock is realized;
Memory module, is connected with single-chip microcomputer, for recording shared bicycle lock use information;
Clock and watchdog module, are connected with single-chip microcomputer, using collect house dog, three kinds of functions of voltage monitoring and serial E2PROM in Integral programmable circuit X5045, for anti-locking system be disturbed and make program lose or come into endless loop, cause system in case of system halt and Voltage is less than the malfunction monitoring of threshold value;
State monitoring module, is connected with single-chip microcomputer, for monitoring shared bicycle lock unlatching, closing position, running status, parking area Domain, fault self-checking;
State indicator module, is connected with single-chip microcomputer, using sound and light alarm, by red, green, yellow Tricolor LED, loudspeaker and Drive circuit is constituted, for pointing out shared bicycle to be in usable, unusable, non-normal use, pause, in prohibition parking area Domain, send dimension, maintenance, using eight kinds of states;
Unlocking control module, is connected with single-chip microcomputer, and the unlatching control of shared bicycle dead bolt is completed for receiving control signal;
Satellite communication module, is connected with single-chip microcomputer, and during for clock pair, position coordinates, unlocking short message, shared bicycle information receives Hair;
WIFI communication modules, are connected with single-chip microcomputer, and data communication is carried out for same mobile communication equipment or the parking stake of shared bicycle;
IC-card module for reading and writing, is connected with single-chip microcomputer, for being written and read to IC-card class user profile, it is determined that shared bicycle IC-card class User's use, charging, prestige state;
Power module, is each module for power supply of electronic-controlled installation using main and auxiliary two groups of rechargeable batteries;
Charging inlet module, is connected with power module, can use external AC charger, solar panel, bicycle autogenous grinding Electric organ is charged.
Further, mobile device user can be realized by satellite communication module, WIFI communication modules and IC-card module for reading and writing The shared bicycle management of leasing of shared bicycle multiple types of users and shared bicycle maintenance management are completed with IC-card user.
Further, satellite communication module provide during for clock pair, position coordinates, unlocking short message, shared bicycle information Transmitting-receiving.
Further, state monitoring module by the shared bicycle of monitoring lock unlatching, closing position, running status, parking area, Fault self-checking is configured to shared bicycle lock user profile flag bit and shared bicycle lock status Information sign position.
Further, state indicator module locks user profile flag bit and shared bicycle lock status information mark according to shared bicycle Will position, is combined by the red, green, yellow three-color LED indicator lamp of state indicator module, points out eight kinds of shared bicycle states.
Further, charging inlet module, can be generated electricity using external AC charger, solar panel, bicycle autogenous grinding Device is charged.
The another object of the embodiment of the present invention is a kind of control method of shared bicycle lock of offer, shared bicycle lock Control method includes:Shared bicycle lock user is shared single to open using shared bicycle by mobile device, IC-card application Lock, shared bicycle lock user is locked by mobile device, IC-card application using shared bicycle to open shared bicycle, is shared Bicycle lock determines that user is in use, failure and shares bicycle report dimension, event according to user type, wish and shared bicycle state The shared bicycle of barrier send dimension, shared bicycle to safeguard state;Control system is recorded simultaneously according to user's usage behavior to user's prestige Reward is carried out in charging to penalize with button;The parking standardized administration for realizing shared bicycle is set by prohibition parking area domain flag bit;It is overall Function passes through main program, state detection subprogram, state instruction subprogram, satellite communication subprogram, WIFI communication subprogram, IC Card read-write subprogram, output control subprogram, which coordinate, to be realized;
Main program passes through state detection subprogram, state instruction subprogram, satellite communication subprogram, WIFI communication subprogram, IC Card read-write subprogram, output control subprogram realize the operation management of the management of leasing and shared bicycle of shared bicycle user;Shape State detects that subprogram locks user profile flag bit and shared bicycle lock status information mark by state detection module to shared bicycle Will position is configured;State instruction subprogram locks user profile flag bit and shared bicycle lock status information mark according to shared bicycle Will position, is combined by the red, green, yellow three-color LED indicator lamp of state indicator module, points out eight kinds of shared bicycle states;Satellite communication Subprogram passes through clock, position coordinates, unlocking short message, shared bicycle information during satellite communication module transmitting-receiving pair;WIFI communication Program carries out data communication by WIFI communication module with mobile communication equipment or the parking stake of shared bicycle;IC-card reads and writes subprogram IC-card class user profile is written and read by IC-card module for reading and writing, it is determined that shared bicycle IC-card class user use, charging, prestige State;Output control subprogram receives the unlatching control that control signal completes shared bicycle dead bolt by unlocking control module;It is main In program, after sharing bicycle user using giving back, it will be used by APP application software or satellite communication subprogram according to user type Family and shared bicycle information upload user control centre, if being parked in shared bicycle parking stake, system can pass through WIFI communicators The shared bicycle parking stake of program connection, upload user and shared bicycle information, realize remote management and the maintenance of shared bicycle.
Further, status monitoring subprogram confirms according to System self-test, satellite communication subprogram, user's report dimension, report dimension, realizes altogether Enjoy the status monitoring function of bicycle lock;Specifically include:
Step 1:Judge that bicycle battery electric quantity is less than threshold value, put shared bicycle lock status Information sign position the 7th, 6,5 be 100, Put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 2:Judge that electronic-controlled installation breaks down, put shared bicycle lock status Information sign position the 7th, 6,5 be 110, Put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 3:Judge satellite communication failure, put shared bicycle lock status Information sign position the 7th, 6,5 be 010, put shared single Lock user profile flag bit 7,6 be 11, go to step 9;
Step 4:Judge WIFI communication failures, put shared bicycle lock status Information sign position the 7th, 6,5 be 011, put shared single Lock user profile flag bit 7,6 be 11, go to step 9;
Step 5:Inquiring about the shared bicycle control centre by satellite communication subprogram has report to tie up information and confirms as car body failure, Put shared bicycle lock status Information sign position the 7th, 6,5 be 110, put shared bicycle lock user profile flag bit 7,6 be 11, Go to step 9;
Step 6:Inquiring about the shared bicycle control centre by satellite communication subprogram has report dimension information, puts shared bicycle lock status Information sign position the 7th, 6,5 be 001, put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 7:The shared bicycle latch bolt position failure of detection, put shared bicycle lock status Information sign position the 7th, 6,5 be 101, Put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 8:Put shared bicycle lock status Information sign position the 7th, 6,5 be 000, put shared bicycle lock user profile flag bit 7th, 6 are 00;
Step 9:Shared bicycle positional information is read by satellite communication subprogram;
Step 10:It is to be in halted state to judge shared bicycle, and it is 0 to put shared bicycle lock status Information sign position the 1st, turns step Rapid 12;
Step 11:It is 1 to put shared bicycle lock status Information sign position the 1st;
Step 12:It is to be in prohibition parking area domain to judge shared bicycle, and it is 0 to put shared bicycle lock status Information sign position the 4th, turns step Rapid 14;
Step 13:It is 1 to put shared bicycle lock status Information sign position the 4th;
Step 14:Subprogram is returned.
Further, state instruction subprogram locks user profile flag bit and shared bicycle lock status information according to shared bicycle Flag bit, realizes the state-indicating function of shared bicycle lock;Mark place value Φ Φ Φ represent that three non-concurrent are 0, × represent 0,1 Arbitrary value, is specifically included:
Step 1:Read shared bicycle lock user profile flag bit and shared bicycle lock status Information sign position;
Step 2:Judge that shared bicycle lock user profile flag bit is 00000000 and shared bicycle lock status Information sign position is 000 ××× 00, then light red LED indicator lamp, represents that shared bicycle is upstate, goes to step 10;
Step 3:It is 00 ×× 111 × and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For 0001 ×× 0 ×, then put shiny red, green LED indicator lamp, represent that shared bicycle is halted state, go to step 10;
Step 4:It is 00 ×× 111 × and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For 0000 ×× 0 ×, then put bright green, yellow led indicator lamp, represent that shared bicycle is prohibition parking area domain, go to step 10;
Step 5:It is 00 ×× 111 × and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For 000 ××× 11, then green LED indicator lamp is lighted, represent that shared bicycle is use state, go to step 10;
Step 6:It is 01 ×× 0111 and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For Φ Φ Φ ××××s 1, then shiny red, yellow led indicator lamp are put, represent that shared bicycle is to send dimension state, go to step 10;
Step 7:Judge that shared bicycle lock user profile flag bit is 10000001 and shared bicycle lock status Information sign position is Φ Φ Φ ××× ××s, then light yellow led indicator lamp, represents that shared bicycle is maintenance state, goes to step 10;
Step 8:Judge that shared bicycle lock user profile flag bit is 11000000 and shared bicycle lock status Information sign position is Φ Φ Φ ×××s 00, then close red, green, yellow led indicator lamp, represents that shared bicycle is down state, goes to step 10;
Step 9:Point shiny red, green, yellow led indicator lamp, represent that shared bicycle is non-normal operating condition;
Step 10:Subprogram is returned.
Further, it is real by setting shared bicycle to lock user profile flag bit and shared bicycle lock status Information sign position The parking area of bicycle, shared bicycle is now shared to safeguard, share user's prestige, the management of shared bicycle lease that bicycle is used.
Shared bicycle lock and control method that the present invention is provided, shared bicycle maintenance activities is independently participated in by user and is stopped Car district management and user's Prestige Management, it is achieved thereby that the Normalization rule of shared bicycle, reduces operation cost, reach green The purpose of trip.
Brief description of the drawings
Fig. 1 is shared bicycle lock system structural representation provided in an embodiment of the present invention;
In figure:101 shared bicycle lock bodies;102 electronic-controlled installations;200 one-chip computer modules;201 memory modules;202 clocks and Watchdog module;203IC card module for reading and writing;204 charging inlet modules;205 power modules;206 satellite communication modules; 207WIFI communication modules;208 state monitoring modules;209 state indicator modules;210 unlocking control modules;
Fig. 2 is shared bicycle lock control system method flow diagram provided in an embodiment of the present invention;
Fig. 3 is shared bicycle lock status detection subprogram block diagram provided in an embodiment of the present invention;
Fig. 4 is that shared bicycle lock status provided in an embodiment of the present invention indicates subprogram block diagram;
Fig. 5 is shared bicycle lock user profile flag bit schematic diagram provided in an embodiment of the present invention;
Fig. 6 is shared bicycle lock status Information sign position schematic diagram provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to embodiments, to the present invention It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to Limit the present invention.
Below in conjunction with the accompanying drawings and specific embodiment to the present invention application principle be further described.
As shown in figure 1, the shared bicycle lock construction schematic diagram of the embodiment of the present invention.Including shared bicycle lock body 101 and electricity Sub- control device 102;Electronic-controlled installation 102 is installed in shared bicycle lock body 101;Wherein electronic-controlled installation 102 includes One-chip computer module 200, memory module 201, clock and watchdog module 202, IC-card module for reading and writing 203, charging inlet module 204th, power module 205, satellite communication module 206, WIFI communication modules 207, state monitoring module 208, state indicator module 209th, unlocking control module 210;
One-chip computer module 200, with memory module 201, clock and watchdog module 202, state monitoring module 208, state instruction Module 209, unlocking control module 210, satellite communication module 206, WIFI communication modules 207, IC-card module for reading and writing 203, power supply Module 205, charging inlet module 204 are connected, the complete control program for writing, and realize the management control of shared bicycle lock;
Memory module 201,200 are connected with single-chip microcomputer, for recording shared bicycle lock use information;
Clock and watchdog module 202, are connected with single-chip microcomputer 200, using three kinds of collection house dog, voltage monitoring and serial E2PROM Function is disturbed for anti-locking system in integral programmable circuit X5045 and loses program or come into endless loop, cause system Crash and be less than the malfunction monitoring of threshold value with voltage;
State monitoring module 208, is connected with single-chip microcomputer 200, for monitor the unlatching of shared bicycle lock, closing position, running status, Parking area, fault self-checking;
State indicator module 209, is connected with single-chip microcomputer 200, using sound and light alarm, by red, green, yellow Tricolor LED, raises Sound device and drive circuit composition, for pointing out shared bicycle to be in usable, unusable, non-normal use, pause, in taboo Stop region, send dimension, maintenance, using eight kinds of states;
Unlocking control module 210,200 are connected with single-chip microcomputer, and the unlatching control of shared bicycle dead bolt is completed for receiving control signal System;
Satellite communication module 206, is connected with single-chip microcomputer 200, when the present embodiment realizes clock pair using Beidou communication module, position Coordinate, unlocking short message, the transmitting-receiving of shared bicycle information;
WIFI communication modules 207, are connected with single-chip microcomputer 200, and line number is entered for same mobile communication equipment or the parking stake of shared bicycle According to communication;
IC-card module for reading and writing 203, is connected with single-chip microcomputer, for being written and read to IC-card class user profile, it is determined that shared bicycle IC Card class user use, charging, prestige state;
Power module 205, is each module for power supply of electronic-controlled installation 102 using active and standby two groups of rechargeable batteries;
Charging inlet module 204, is connected with power module 205, can be using external AC charger, solar panel, voluntarily Car autogenous grinding electric organ is charged.
As shown in Fig. 2 the shared bicycle lock control system method flow diagram of the embodiment of the present invention:Shared bicycle lock user Locked by mobile device, IC-card application using shared bicycle to open shared bicycle, share bicycle lock according to user type, meaning It is willing to and shared bicycle state, determines that user ties up in use, the shared bicycle report of failure, failure shares bicycle and send dimension, shares list Car safeguards state;Control system is recorded to user's prestige according to user's usage behavior and is rewarded and detained in charging Penalize;The parking standardized administration for realizing shared bicycle is set by prohibition parking area domain flag bit;Allomeric function is examined by main program, state Survey subprogram, state instruction subprogram, satellite communication subprogram, WIFI communication subprogram, IC-card read-write subprogram, output control Subprogram, which coordinates, to be realized;
Main program passes through state detection subprogram, state instruction subprogram, satellite communication subprogram, WIFI communication subprogram, IC Card read-write subprogram, output control subprogram realize the operation management of the management of leasing and shared bicycle of shared bicycle user;Shape State detects that subprogram locks user profile flag bit and shared bicycle lock status information mark by state detection module to shared bicycle Will position is configured;State instruction subprogram locks user profile flag bit and shared bicycle lock status information mark according to shared bicycle Will position, is combined by the red, green, yellow three-color LED indicator lamp of state indicator module, points out eight kinds of shared bicycle states;Satellite communication Subprogram passes through clock, position coordinates, unlocking short message, shared bicycle information during satellite communication module transmitting-receiving pair;WIFI communication Program carries out data communication by WIFI communication module with mobile communication equipment or the parking stake of shared bicycle;IC-card reads and writes subprogram IC-card class user profile is written and read by IC-card module for reading and writing, it is determined that shared bicycle IC-card class user use, charging, prestige State;Output control subprogram receives the unlatching control that control signal completes shared bicycle dead bolt by unlocking control module;It is main In program, after sharing bicycle user using giving back, it will be used by APP application software or satellite communication subprogram according to user type Family and shared bicycle information upload user control centre, if being parked in shared bicycle parking stake, system can pass through WIFI communicators The shared bicycle parking stake of program connection, upload user and shared bicycle information, realize remote management and the maintenance of shared bicycle;
By setting shared bicycle to lock user profile flag bit and shared bicycle lock status Information sign position in program, realize shared The parking area of bicycle, user's prestige that shared bicycle is safeguarded, shared bicycle is used, the management of shared bicycle lease.
As shown in figure 3, the shared bicycle lock status detection subprogram block diagram of the embodiment of the present invention:Status monitoring subprogram Confirmed according to System self-test, satellite communication subprogram, user's report dimension, report dimension, realize the status monitoring function of shared bicycle lock;Tool Body includes:
Step 1:Judge that bicycle battery electric quantity is less than threshold value, put shared bicycle lock status Information sign position the 7th, 6,5 be 100, Put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 2:Judge that electronic-controlled installation breaks down, put shared bicycle lock status Information sign position the 7th, 6,5 be 110, Put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 3:Judge satellite communication failure, put shared bicycle lock status Information sign position the 7th, 6,5 be 010, put shared single Lock user profile flag bit 7,6 be 11, go to step 9;
Step 4:Judge WIFI communication failures, put shared bicycle lock status Information sign position the 7th, 6,5 be 011, put shared single Lock user profile flag bit 7,6 be 11, go to step 9;
Step 5:Inquiring about the shared bicycle control centre by satellite communication subprogram has report to tie up information and confirms as car body failure, Put shared bicycle lock status Information sign position the 7th, 6,5 be 110, put shared bicycle lock user profile flag bit 7,6 be 11, Go to step 9;
Step 6:Inquiring about the shared bicycle control centre by satellite communication subprogram has report dimension information, puts shared bicycle lock status Information sign position the 7th, 6,5 be 001, put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 7:The shared bicycle latch bolt position failure of detection, put shared bicycle lock status Information sign position the 7th, 6,5 be 101, Put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 8:Put shared bicycle lock status Information sign position the 7th, 6,5 be 000, put shared bicycle lock user profile flag bit 7th, 6 are 00;
Step 9:Shared bicycle positional information is read by satellite communication subprogram;
Step 10:It is to be in halted state to judge shared bicycle, and it is 0 to put shared bicycle lock status Information sign position the 1st, turns step Rapid 12;
Step 11:It is 1 to put shared bicycle lock status Information sign position the 1st;
Step 12:It is to be in prohibition parking area domain to judge shared bicycle, and it is 0 to put shared bicycle lock status Information sign position the 4th, turns step Rapid 14;
Step 13:It is 1 to put shared bicycle lock status Information sign position the 4th;
Step 14:Subprogram is returned.
It is that shared bicycle lock status indicates subprogram block diagram as shown in Figure 4.State instruction subprogram is according to shared bicycle User profile flag bit and shared bicycle lock status Information sign position are locked, the state-indicating function of shared bicycle lock is realized;Mark Place value Φ Φ Φ represent that three non-concurrent are 0, × 0,1 arbitrary value is represented, specifically include:
Step 1:Read shared bicycle lock user profile flag bit and shared bicycle lock status Information sign position;
Step 2:Judge that shared bicycle lock user profile flag bit is 00000000 and shared bicycle lock status Information sign position is 000 ××× 00, then light red LED indicator lamp, represents that shared bicycle is upstate, goes to step 10;
Step 3:It is 00 ×× 111 × and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For 0001 ×× 0 ×, then put shiny red, green LED indicator lamp, represent that shared bicycle is halted state, go to step 10;
Step 4:It is 00 ×× 111 × and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For 0000 ×× 0 ×, then put bright green, yellow led indicator lamp, represent that shared bicycle is prohibition parking area domain, go to step 10;
Step 5:It is 00 ×× 111 × and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For 000 ××× 11, then green LED indicator lamp is lighted, represent that shared bicycle is use state, go to step 10;
Step 6:It is 01 ×× 0111 and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For Φ Φ Φ ××××s 1, then shiny red, yellow led indicator lamp are put, represent that shared bicycle is to send dimension state, go to step 10;
Step 7:Judge that shared bicycle lock user profile flag bit is 10000001 and shared bicycle lock status Information sign position is Φ Φ Φ ××× ××s, then light yellow led indicator lamp, represents that shared bicycle is maintenance state, goes to step 10;
Step 8:Judge that shared bicycle lock user profile flag bit is 11000000 and shared bicycle lock status Information sign position is Φ Φ Φ ×××s 00, then close red, green, yellow led indicator lamp, represents that shared bicycle is down state, goes to step 10;
Step 9:Point shiny red, green, yellow led indicator lamp, represent that shared bicycle is non-normal operating condition;
Step 10:Subprogram is returned.
As shown in figure 5, the shared bicycle lock user profile flag bit schematic diagram of the embodiment of the present invention.Shared bicycle lock user Information sign position includes:Vehicle-state, prestige state, charging state, user type, correspondence are defined as:
0th, 1 user type position:The mobile device user of 00 no user 01 maintenance user 10IC card users 11
2nd, 3 charging mode bit:00 penalizes 11 chargings without the button of the reward of charging 01 10
4th, 5 prestige mode bit:00 normal 01 report dimension send dimension 10 to disobey to stop 11 and report and submit
6th, 7 vehicle-states position:00 fault-free 01 report dimension 10 safeguards 11 failures.
As shown in fig. 6, the shared bicycle lock status Information sign position schematic diagram of the embodiment of the present invention.Shared bicycle lock status Information sign position includes:Latch bolt position, running status, communications status, parking area, fault type, correspondence are defined as:
0 latch bolt position:0 locking 1 is unlocked
1 running status:0 bicycle stops 1 solo running
2nd, 3 communications status:00 without the parking stake communication of 01 satellite communication 10WIFI of communication communications 11
4 parking areas:0 prohibition parking area domain 1 can stop region
5th, 6,7 fault type:The user of the 000 fault-free 001 report dimension battery of 010 satellite communication failure 011WIFI communication failures 100 The low car body failure of 101 latch bolt position failure, 110 electronic-controlled installation failure 110 of electricity.
The shared bicycle lock and control method of the present invention makes shared parking for bicycle obtain effective specification, is easy to government real Parking area management is applied, the city management problem for disorderly stopping to leave about is solved.The maintenance of shared bicycle is participated in by mobile device user Work, makes shared bicycle reduce operation cost, improves operational efficiency.It is effective with city bus card using IC-card read-write equipment Docking, makes last one kilometer traffic throughout huge numbers of families.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. a kind of shared bicycle lock, it is characterised in that the shared bicycle lock includes shared bicycle lock body and electronic-controlled installation;Electricity Sub- control device is installed in shared bicycle lock body;Wherein electronic-controlled installation include one-chip computer module, memory module, clock and Watchdog module, IC-card module for reading and writing, charging inlet module, power module, satellite communication module, WIFI communication modules, state Monitoring modular, state indicator module, unlocking control module;
One-chip computer module, with memory module, clock and watchdog module, state monitoring module, state indicator module, control of unlocking Module, satellite communication module, WIFI communication modules, IC-card module for reading and writing, power module, the connection of charging inlet module, for compiling Whole control program is write, the management control of shared bicycle lock is realized;
Memory module, is connected with single-chip microcomputer, for recording shared bicycle lock use information;
Clock and watchdog module, are connected with single-chip microcomputer, using collect house dog, three kinds of functions of voltage monitoring and serial E2PROM in Integral programmable circuit X5045, for anti-locking system be disturbed and make program lose or come into endless loop, cause system in case of system halt and Voltage is less than the malfunction monitoring of threshold value;
State monitoring module, is connected with single-chip microcomputer, for monitoring shared bicycle lock unlatching, closing position, running status, parking area Domain, fault self-checking;
State indicator module, is connected with single-chip microcomputer, using sound and light alarm, by red, green, yellow Tricolor LED, loudspeaker and Drive circuit is constituted, for pointing out shared bicycle to be in usable, unusable, non-normal use, pause, in prohibition parking area Domain, send dimension, maintenance, using eight kinds of states;
Unlocking control module, is connected with single-chip microcomputer, and the unlatching control of shared bicycle dead bolt is completed for receiving control signal;
Satellite communication module, is connected with single-chip microcomputer, and during for clock pair, position coordinates, unlocking short message, shared bicycle information receives Hair;
WIFI communication modules, are connected with single-chip microcomputer, and data communication is carried out for same mobile communication equipment or the parking stake of shared bicycle;
IC-card module for reading and writing, is connected with single-chip microcomputer, for being written and read to IC-card class user profile, it is determined that shared bicycle IC-card class User's use, charging, prestige state;
Power module, is each module for power supply of electronic-controlled installation using active and standby two groups of rechargeable batteries;
Charging inlet module, is connected with power module, can use external AC charger, solar panel, bicycle autogenous grinding Electric organ is charged.
2. shared bicycle lock as claimed in claim 1, it is characterised in that by satellite communication module, WIFI communication modules and IC-card module for reading and writing can realize that mobile device user and IC-card user complete the shared bicycle lease of shared bicycle multiple types of users Management and shared bicycle maintenance management.
3. shared bicycle lock as claimed in claim 1, it is characterised in that when satellite communication module is provided for clock pair, position Put coordinate, unlocking short message, the transmitting-receiving of shared bicycle information.
4. shared bicycle is locked as claimed in claim 1, it is characterised in that state monitoring module is opened by the shared bicycle lock of monitoring Conjunction position, running status, parking area, fault self-checking are opened and closed to shared bicycle lock user profile flag bit and shared bicycle lock Status information flag bit is configured.
5. shared bicycle is locked as claimed in claim 1, it is characterised in that state indicator module is locked user according to shared bicycle and believed Flag bit and shared bicycle lock status Information sign position are ceased, is combined by the red, green, yellow three-color LED indicator lamp of state indicator module, Point out eight kinds of shared bicycle states.
6. shared bicycle is locked as claimed in claim 1, it is characterised in that charging inlet module, external AC charging can be used Device, solar panel, bicycle autogenous grinding electric organ are charged.
7. a kind of control method of shared bicycle lock, it is characterised in that the control method of the shared bicycle lock includes:Shared bicycle Lock user is locked by mobile device, IC-card application using shared bicycle to open shared bicycle, share bicycle lock according to Family type, wish and shared bicycle state, determine that user shares the shared bicycle of bicycle report dimension, failure in use, failure and sent Dimension, shared bicycle safeguard state;Control system is recorded to user's prestige according to user's usage behavior and carried out in charging Reward is penalized with button;The parking standardized administration for realizing shared bicycle is set by prohibition parking area domain flag bit;Allomeric function passes through main journey Sequence, state detection subprogram, state instruction subprogram, satellite communication subprogram, WIFI communication subprogram, IC-card read and write sub- journey Sequence, output control subprogram, which coordinate, to be realized;
Main program passes through state detection subprogram, state instruction subprogram, satellite communication subprogram, WIFI communication subprogram, IC Card read-write subprogram, output control subprogram realize the operation management of the management of leasing and shared bicycle of shared bicycle user;Shape State detects that subprogram locks user profile flag bit and shared bicycle lock status information mark by state detection module to shared bicycle Will position is configured;State instruction subprogram locks user profile flag bit and shared bicycle lock status information mark according to shared bicycle Will position, is combined by the red, green, yellow three-color LED indicator lamp of state indicator module, points out eight kinds of shared bicycle states;Satellite communication Subprogram passes through clock, position coordinates, unlocking short message, shared bicycle information during satellite communication module transmitting-receiving pair;WIFI communication Program carries out data communication by WIFI communication module with mobile communication equipment or the parking stake of shared bicycle;IC-card reads and writes subprogram IC-card class user profile is written and read by IC-card module for reading and writing, it is determined that shared bicycle IC-card class user use, charging, prestige State;Output control subprogram receives the unlatching control that control signal completes shared bicycle dead bolt by unlocking control module;It is main In program, after sharing bicycle user using giving back, it will be used by APP application software or satellite communication subprogram according to user type Family and shared bicycle information upload user control centre, if being parked in shared bicycle parking stake, system can pass through WIFI communicators The shared bicycle parking stake of program connection, upload user and shared bicycle information, realize remote management and the maintenance of shared bicycle.
8. shared bicycle lock control method as claimed in claim 7, it is characterised in that status monitoring subprogram according to system from Inspection, satellite communication subprogram, user's report dimension, report dimension confirm, realize the status monitoring function of shared bicycle lock;Specifically include:
Step 1:Judge that bicycle battery electric quantity is less than threshold value, put shared bicycle lock status Information sign position the 7th, 6,5 be 100, Put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 2:Judge that electronic-controlled installation breaks down, put shared bicycle lock status Information sign position the 7th, 6,5 be 110, Put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 3:Judge satellite communication failure, put shared bicycle lock status Information sign position the 7th, 6,5 be 010, put shared single Lock user profile flag bit 7,6 be 11, go to step 9;
Step 4:Judge WIFI communication failures, put shared bicycle lock status Information sign position the 7th, 6,5 be 011, put shared single Lock user profile flag bit 7,6 be 11, go to step 9;
Step 5:Inquiring about the shared bicycle control centre by satellite communication subprogram has report to tie up information and confirms as car body failure, Put shared bicycle lock status Information sign position the 7th, 6,5 be 110, put shared bicycle lock user profile flag bit 7,6 be 11, Go to step 9;
Step 6:Inquiring about the shared bicycle control centre by satellite communication subprogram has report dimension information, puts shared bicycle lock status Information sign position the 7th, 6,5 be 001, put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 7:The shared bicycle latch bolt position failure of detection, put shared bicycle lock status Information sign position the 7th, 6,5 be 101, Put shared bicycle lock user profile flag bit 7,6 be 11, go to step 9;
Step 8:Put shared bicycle lock status Information sign position the 7th, 6,5 be 000, put shared bicycle lock user profile flag bit 7th, 6 are 00;
Step 9:Shared bicycle positional information is read by satellite communication subprogram;
Step 10:It is to be in halted state to judge shared bicycle, and it is 0 to put shared bicycle lock status Information sign position the 1st, turns step Rapid 12;
Step 11:It is 1 to put shared bicycle lock status Information sign position the 1st;
Step 12:It is to be in prohibition parking area domain to judge shared bicycle, and it is 0 to put shared bicycle lock status Information sign position the 4th, turns step Rapid 14;
Step 13:It is 1 to put shared bicycle lock status Information sign position the 4th;
Step 14:Subprogram is returned.
9. bicycle lock control method is shared as claimed in claim 7, it is characterised in that state instruction subprogram is according to shared single Lock user profile flag bit and shared bicycle lock status Information sign position, realize the state-indicating function of shared bicycle lock;Mark Will place value Φ Φ Φ represent that three non-concurrent are 0, × 0,1 arbitrary value is represented, specifically include:
Step 1:Read shared bicycle lock user profile flag bit and shared bicycle lock status Information sign position;
Step 2:Judge that shared bicycle lock user profile flag bit is 00000000 and shared bicycle lock status Information sign position is 000 ××× 00, then light red LED indicator lamp, represents that shared bicycle is upstate, goes to step 10;
Step 3:It is 00 ×× 111 × and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For 0001 ×× 0 ×, then put shiny red, green LED indicator lamp, represent that shared bicycle is halted state, go to step 10;
Step 4:It is 00 ×× 111 × and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For 0000 ×× 0 ×, then put bright green, yellow led indicator lamp, represent that shared bicycle is prohibition parking area domain, go to step 10;
Step 5:It is 00 ×× 111 × and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For 000 ××× 11, then green LED indicator lamp is lighted, represent that shared bicycle is use state, go to step 10;
Step 6:It is 01 ×× 0111 and shared bicycle lock status Information sign position to judge shared bicycle lock user profile flag bit For Φ Φ Φ ××××s 1, then shiny red, yellow led indicator lamp are put, represent that shared bicycle is to send dimension state, go to step 10;
Step 7:Judge that shared bicycle lock user profile flag bit is 10000001 and shared bicycle lock status Information sign position is Φ Φ Φ ××× ××s, then light yellow led indicator lamp, represents that shared bicycle is maintenance state, goes to step 10;
Step 8:Judge that shared bicycle lock user profile flag bit is 11000000 and shared bicycle lock status Information sign position is Φ Φ Φ ×××s 00, then close red, green, yellow led indicator lamp, represents that shared bicycle is down state, goes to step 10;
Step 9:Point shiny red, green, yellow led indicator lamp, represent that shared bicycle is non-normal operating condition;
Step 10:Subprogram is returned.
10. bicycle lock control method is shared as claimed in claim 7, it is characterised in that is passed through and is set shared bicycle to lock user Information sign position and shared bicycle lock status Information sign, realize that the parking area of shared bicycle, shared bicycle are safeguarded, shared User's prestige that bicycle is used, the management of shared bicycle lease.
CN201710386553.9A 2017-05-26 2017-05-26 Shared bicycle lock Pending CN107146311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710386553.9A CN107146311A (en) 2017-05-26 2017-05-26 Shared bicycle lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710386553.9A CN107146311A (en) 2017-05-26 2017-05-26 Shared bicycle lock

Publications (1)

Publication Number Publication Date
CN107146311A true CN107146311A (en) 2017-09-08

Family

ID=59780807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710386553.9A Pending CN107146311A (en) 2017-05-26 2017-05-26 Shared bicycle lock

Country Status (1)

Country Link
CN (1) CN107146311A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107452204A (en) * 2017-09-17 2017-12-08 兰州工业学院 A kind of shared bicycle parks guiding system
CN107767783A (en) * 2017-11-01 2018-03-06 佛山科学技术学院 A kind of shared bicycle information display system based on electronic ink screen
CN107945406A (en) * 2017-11-20 2018-04-20 捷德(中国)信息科技有限公司 Vehicles management method and application server
CN108122317A (en) * 2017-12-22 2018-06-05 中国人民解放军战略支援部队信息工程大学 A kind of vehicle locking method and relevant apparatus
CN109754092A (en) * 2017-11-01 2019-05-14 北大方正集团有限公司 Identify equipment, fault recognition method, shared terminal and storage medium
CN110077495A (en) * 2019-04-23 2019-08-02 东南大学 A kind of bicycle unlocking method, electronic lock and solution lock control system
CN110304179A (en) * 2019-07-01 2019-10-08 华南理工大学 A kind of shared bicycle indicator lamp system for stopping timely feedbacking for failure and taboo
CN110610567A (en) * 2019-09-07 2019-12-24 励金友 Sharing bicycle capable of judging whether occupied or not through color change, tracking method and device
CN111953045A (en) * 2020-08-11 2020-11-17 上海钧正网络科技有限公司 Emergency power supply method, device, medium and electronic equipment for shared vehicle

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107452204A (en) * 2017-09-17 2017-12-08 兰州工业学院 A kind of shared bicycle parks guiding system
CN107767783A (en) * 2017-11-01 2018-03-06 佛山科学技术学院 A kind of shared bicycle information display system based on electronic ink screen
CN109754092A (en) * 2017-11-01 2019-05-14 北大方正集团有限公司 Identify equipment, fault recognition method, shared terminal and storage medium
CN107945406A (en) * 2017-11-20 2018-04-20 捷德(中国)信息科技有限公司 Vehicles management method and application server
CN107945406B (en) * 2017-11-20 2021-02-19 捷德(中国)科技有限公司 Vehicle management method and application server
CN108122317A (en) * 2017-12-22 2018-06-05 中国人民解放军战略支援部队信息工程大学 A kind of vehicle locking method and relevant apparatus
CN110077495A (en) * 2019-04-23 2019-08-02 东南大学 A kind of bicycle unlocking method, electronic lock and solution lock control system
CN110304179A (en) * 2019-07-01 2019-10-08 华南理工大学 A kind of shared bicycle indicator lamp system for stopping timely feedbacking for failure and taboo
CN110610567A (en) * 2019-09-07 2019-12-24 励金友 Sharing bicycle capable of judging whether occupied or not through color change, tracking method and device
CN111953045A (en) * 2020-08-11 2020-11-17 上海钧正网络科技有限公司 Emergency power supply method, device, medium and electronic equipment for shared vehicle

Similar Documents

Publication Publication Date Title
CN107146311A (en) Shared bicycle lock
CN103377520B (en) A kind of public bicycles distributed intelligence lease management system
CN101938146B (en) Intelligent power grid group charging electric source induced supply system
Sun et al. Battery-based energy storage transportation for enhancing power system economics and security
ES2754303T3 (en) Apparatus, method and article for the physical security of energy storage devices in vehicles
CN102169611B (en) Large self-service intelligent network group charging equipment and guide system for building parking lot
ES2720202T3 (en) Apparatus, method and article for an energy storage device compartment
CN101937593A (en) Information-inducing self-service multi-control cluster-charge intelligent charge server
CN101887985A (en) Digital cell network
CN107578315A (en) Shared bicycle control system and device and management method
CN204270285U (en) A kind of error proof locking system of microcomputer being applied to transformer station
CN202997642U (en) Automatic electric vehicle power changing system
CN102096969B (en) Public electric bicycle system and bicycle borrowing and returning method thereof
CN205354197U (en) Electric automobile charging data management system
Bracco et al. Optimization model for the design of a smart energy infrastructure with electric mobility
CN108510345A (en) No stake formula intelligence public bike renting system and rent are with method
CN206863095U (en) Anti-electricity-theft electric energy meter case and anti-theft control system based on Quick Response Code system for unlocking
CN108749961A (en) A kind of short distance vehicle operation system and method
Gao et al. The internet of things for electric vehicles: Wide area charging-swap information perception, transmission and application
CN104504816A (en) Charge management system of rechargeable bicycles for renting in public places
CN102881084B (en) Smart card reader of wireless integrated circuit (IC) card
CN104505914A (en) Parking lot
CN208283984U (en) A kind of wisdom shutdown system of unattended operation
TWM563039U (en) Bicycle power supply feedback module and system thereof
Shen et al. e-CNY Vehicle-to-Grid Real-time Settlement System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170908

WD01 Invention patent application deemed withdrawn after publication