A kind of electric bicycle theftproof system and its unlocking method and theft preventing methodTechnical field
The present invention relates to electric bicycle field, refer in particular to a kind of electric bicycle theftproof system and its unlocking method and antitheftMethod.
Background technology
With the popularization of electric bicycle, the steal phenomenon of electric motor car also gets more and more.The start and stop of existing electric motor car are allControlled by key, this safety of structure is poor, keyhole is easily opened by thin thing, and be difficult after key loss to configure.PeopleSecurity performance in order to improve electric bicycle, often install many theftproof locks additional.Increased carrying amount and the unlocking of keyTrouble.Increased the cost of theftproof lock simultaneously.Anti-theft effect is also inconspicuous.
Content of the invention
It is an object of the invention to: for above-mentioned problem, provide a kind of electric bicycle theftproof system and its solutionLocking method and theft preventing method, this electric bicycle theftproof system can effectively improve the anti-theft capability of electric bicycle, reducesThe carrying amount of key, can be automatically positioned to vehicle and burglar alarm.
The technical solution used in the present invention is as follows:
A kind of electric bicycle theftproof system, it includes onboard system and mobile terminal, and described onboard system includes main controller, instituteState and Quick Response Code terminal, antitheft detection module, locating module, motor unlocked state, alarm module and electricity are connected with main controllerSource module;Quick Response Code memory module, positional information memory module and warning message memory module are equiped with described main controller;InstituteState mobile terminal and include mobile terminal main controller, described mobile terminal main controller is connected with mobile terminal display screen;Described shiftingMobile terminal Quick Response Code memory module, location information of mobile terminal memory module and mobile terminal are equiped with dynamic terminal main controllerWarning message memory module;Described main controller is connected by wireless communication module with mobile terminal main controller.
Further, described Quick Response Code terminal is arranged at handlebar of moped, and described Quick Response Code terminal is equiped withUser interface, two-dimension code generator and Quick Response Code that Data Enter can be carried out read photographic head;Described user interface includes showingDisplay screen and the button group that user's typing personal information can be supplied.
Further, described antitheft detection module includes acceleration detection sensor and vibration detection sensor, described plusSpeed detection sensor and vibration detection sensor are arranged on electric bicycle and install on front-wheel and/or the bracing frame of trailing wheel.
Further, described alarm module includes alarm lamp and buzzer.
Further, described locating module is gps or the Big Dipper.
Further, described power module includes battery of electric bicycle, and described battery of electric bicycle is by pressure regulation electricityRoad is connected with main controller;Described power module also includes the small battery being directly connected with main controller.
Further, described main controller is equiped with usb interface, this interface is used for mobile terminal main controller and charges, and movesCarry out data transmission between dynamic terminal main controller and main controller.
A kind of unlocking method of electric bicycle theftproof system, the step of described unlocking method is as follows:
Step 1: by the user interface typing personal information in Quick Response Code terminal, with button group typing as personal information bodyPart card number, telephone number and/or No. qq, and personal information is shown by display screen;
Step 2: after the personal information of two-dimension code generator receive user interface typing, personal information is converted into after Quick Response Code sending outGive main controller, 2 D code information is stored in Quick Response Code memory module main controller;
Step 3: after 2 D code information is stored in Quick Response Code memory module, this 2 D code information is passed through wireless by main controllerCommunication module is sent to mobile terminal main controller, and mobile terminal main controller stores it in mobile whole after receiving this 2 D code informationIn the Quick Response Code memory module of end, and this 2 D code information is shown by mobile terminal display screen;
Step 4: the Quick Response Code that the Quick Response Code showing on mobile terminal display screen letter information is taken Quick Response Code terminal reads shootingAt head, Quick Response Code reads photographic head and reads 2 D code information and this 2 D code information is sent to main controller;
Step 5: main controller receives Quick Response Code and reads the 2 D code information that photographic head reads, and this information is stored with Quick Response Code2 D code information in module is compared, if two Quick Response Codes are consistent, main controller sends unlocking information and unlocks to motorModule, allows motor to unlock;If two Quick Response Codes are inconsistent, main controller does not send unlocking information to motor unlocked state,Motor is appointed and is so in the lock state.
A kind of theft preventing method of electric bicycle theftproof system, the step of described theft preventing method is as follows:
Step 1: when electric bicycle stops, motor unlocked state does not receive unblock fresh information, and motor is in lockingState, antitheft detection module is started working, when acceleration detection sensor detects when wheel has acceleration to produce and/or vibrationsWhen detection sensor detects vehicle body and has vibrations to produce, main controller receives the acceleration information that transmits of acceleration detection sensorAnd/or after the vibration information that transmits of vibration detection sensor, main controller sends warning message to alarm lamp and buzzer, makesAlarm lamp flashes, and buzzer sends chimes of doom;
Step 2: after main controller alert, and warning message is stored the warning message memory module on main controllerIn, warning message is sent to mobile terminal main controller by wireless communication module by main controller again, and mobile terminal main controller receivesAfter warning message, this warning message is shown by mobile terminal display screen and reminds car owner, simultaneously by this warning messageStore in mobile terminal warning message memory module;
Step 3: when electric bicycle stops, motor unlocked state does not receive unblock fresh information, and motor is in lockingState, locating module is started working, and locating module carries out an electric bicycle positioning at interval of 1 ~ 5min, and locating module will be readThe electric bicycle positional information got is sent to main controller, and this positional information is stored positional information memory module by main controllerIn, then this positional information is sent to mobile terminal main controller, mobile terminal master control by wireless communication module by main controller againAfter device receiving position information, this positional information is shown by mobile terminal display screen, and this positional information is storedIn location information of mobile terminal memory module;
Step 4: mobile terminal main controller again receiving position information when can be with the position in location information of mobile terminal memory moduleConfidence breath is compared, if positional information is inconsistent, mobile terminal display screen can change warning message to carry in display locationAwake car owner, and change in location warning message is stored in mobile terminal warning message memory module, mobile terminal master control simultaneouslyDevice passes through wireless communication module and sends change in location warning message to main controller;
Step 5: after main controller receives warning message, main controller sends control information to locating module, makes locating module at interval of 1~ 10s carries out one-time positioning;
Step 6;When Quick Response Code reads the Quick Response Code that photographic head again reads off display on mobile terminal display screen, and mate consistentAfterwards, alarm lamp and buzzer quit work, and mobile terminal display screen stops display All Alerts information.
In sum, due to employing technique scheme, the invention has the beneficial effects as follows:
The mobile carrying amount that can occasionally reduce key of the present invention, can be positioned to the position of vehicle and be monitored.Can be effectiveRaising anti-theft effect.Giving for change after facilitating vehicle stolen.This burglary-resisting system structure is simple, it is easy to accomplish and promote.
Brief description
Fig. 1 is the System Computer composition of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings, the present invention is described in detail.
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, rightThe present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, andIt is not used in the restriction present invention.
A kind of electric bicycle theftproof system, it includes onboard system and mobile terminal, and described onboard system includes master controlDevice, described main controller is connected with Quick Response Code terminal, antitheft detection module, locating module, motor unlocked state, alarm moduleAnd power module;Quick Response Code memory module, positional information memory module and warning message storage mould are equiped with described main controllerBlock;Described mobile terminal includes mobile terminal main controller, and described mobile terminal main controller is connected with mobile terminal display screen;InstituteState and mobile terminal Quick Response Code memory module, location information of mobile terminal memory module and movement are equiped with mobile terminal main controllerTerminal alarms information storage module;Described main controller is connected by wireless communication module with mobile terminal main controller.
Described mobile terminal is mobile phone or panel computer, due to mobile phone small volume, easy to carry, therefore in present embodimentMobile terminal adopt mobile phone.In the present invention, onboard system is equivalent to " lock ", and mobile terminal is equivalent to " key ", by movementTerminal can very easily control the unblock of electric motor car, and safe and reliable.
Described Quick Response Code terminal is arranged at handlebar of moped, described Quick Response Code terminal is equiped with and can carry out letterThe user interface of breath typing, two-dimension code generator and Quick Response Code read photographic head;Described user interface includes display screen and permissibleButton group for user's typing personal information.
Described antitheft detection module includes acceleration detection sensor and vibration detection sensor, and described acceleration detection passesSensor and vibration detection sensor are arranged on electric bicycle and install on front-wheel and/or the bracing frame of trailing wheel.
Described alarm module includes alarm lamp and buzzer.
Described locating module is gps or the Big Dipper.
Described power module includes battery of electric bicycle, and described battery of electric bicycle passes through regulating circuit and main controllerIt is connected;Described power module also includes the small battery being directly connected with main controller.Due to the presence of small battery, canIn the case of ensureing that battery of electric bicycle does not have electricity, still can occasionally carry out antitheft.
Usb interface is equiped with described main controller, this interface is used for mobile terminal main controller and charges, and mobile terminal master controlCarry out data transmission between device and main controller.
A kind of unlocking method of electric bicycle theftproof system, the step of described unlocking method is as follows:
Step 1: by the user interface typing personal information in Quick Response Code terminal, with button group typing as personal information bodyPart card number, telephone number and/or No. qq, and personal information is shown by display screen;
Step 2: after the personal information of two-dimension code generator receive user interface typing, personal information is converted into after Quick Response Code sending outGive main controller, 2 D code information is stored in Quick Response Code memory module main controller;
Step 3: after 2 D code information is stored in Quick Response Code memory module, this 2 D code information is passed through wireless by main controllerCommunication module is sent to mobile terminal main controller, and mobile terminal main controller stores it in mobile whole after receiving this 2 D code informationIn the Quick Response Code memory module of end, and this 2 D code information is shown by mobile terminal display screen;
Step 4: the Quick Response Code that the Quick Response Code showing on mobile terminal display screen letter information is taken Quick Response Code terminal reads shootingAt head, Quick Response Code reads photographic head and reads 2 D code information and this 2 D code information is sent to main controller;
Step 5: main controller receives Quick Response Code and reads the 2 D code information that photographic head reads, and this information is stored with Quick Response Code2 D code information in module is compared, if two Quick Response Codes are consistent, main controller sends unlocking information and unlocks to motorModule, allows motor to unlock;If two Quick Response Codes are inconsistent, main controller does not send unlocking information to motor unlocked state,Motor is appointed and is so in the lock state.
A kind of theft preventing method of electric bicycle theftproof system, the step of described theft preventing method is as follows:
Step 1: when electric bicycle stops, motor unlocked state does not receive unblock fresh information, and motor is in lockingState, antitheft detection module is started working, when acceleration detection sensor detects when wheel has acceleration to produce and/or vibrationsWhen detection sensor detects vehicle body and has vibrations to produce, main controller receives the acceleration information that transmits of acceleration detection sensorAnd/or after the vibration information that transmits of vibration detection sensor, main controller sends warning message to alarm lamp and buzzer, makesAlarm lamp flashes, and buzzer sends chimes of doom;
Step 2: after main controller alert, and warning message is stored the warning message memory module on main controllerIn, warning message is sent to mobile terminal main controller by wireless communication module by main controller again, and mobile terminal main controller receivesAfter warning message, this warning message is shown by mobile terminal display screen and reminds car owner, simultaneously by this warning messageStore in mobile terminal warning message memory module;
Step 3: when electric bicycle stops, motor unlocked state does not receive unblock fresh information, and motor is in lockingState, locating module is started working, and locating module carries out an electric bicycle positioning at interval of 1 ~ 5min, and locating module will be readThe electric bicycle positional information got is sent to main controller, and this positional information is stored positional information memory module by main controllerIn, then this positional information is sent to mobile terminal main controller, mobile terminal master control by wireless communication module by main controller againAfter device receiving position information, this positional information is shown by mobile terminal display screen, and this positional information is storedIn location information of mobile terminal memory module;
Step 4: mobile terminal main controller again receiving position information when can be with the position in location information of mobile terminal memory moduleConfidence breath is compared, if positional information is inconsistent, mobile terminal display screen can change warning message to carry in display locationAwake car owner, and change in location warning message is stored in mobile terminal warning message memory module, mobile terminal master control simultaneouslyDevice passes through wireless communication module and sends change in location warning message to main controller;
Step 5: after main controller receives warning message, main controller sends control information to locating module, makes locating module at interval of 1~ 10s carries out one-time positioning;
Step 6;When Quick Response Code reads the Quick Response Code that photographic head again reads off display on mobile terminal display screen, and mate consistentAfterwards, alarm lamp and buzzer quit work, and mobile terminal display screen stops display All Alerts information.
The burglar alarm of electric motor car can effectively be realized by said method, and after electric motor car loss, due to positioning systemThe presence of system, is sent to the signal on mobile phone by alignment system, can very easily find and electric motor car is carried out positioning give for change.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present inventionAny modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.