CN105099702A - Safety certificate method and system for leasing of urban public bikes - Google Patents

Safety certificate method and system for leasing of urban public bikes Download PDF

Info

Publication number
CN105099702A
CN105099702A CN201510454066.2A CN201510454066A CN105099702A CN 105099702 A CN105099702 A CN 105099702A CN 201510454066 A CN201510454066 A CN 201510454066A CN 105099702 A CN105099702 A CN 105099702A
Authority
CN
China
Prior art keywords
card
certification
random number
safety
subscriber
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.)
Granted
Application number
CN201510454066.2A
Other languages
Chinese (zh)
Other versions
CN105099702B (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xingjian Bike Technology Development Co Ltd
Original Assignee
Shanghai Xingjian Bike Technology Development 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 Shanghai Xingjian Bike Technology Development Co Ltd filed Critical Shanghai Xingjian Bike Technology Development Co Ltd
Priority to CN201510454066.2A priority Critical patent/CN105099702B/en
Publication of CN105099702A publication Critical patent/CN105099702A/en
Application granted granted Critical
Publication of CN105099702B publication Critical patent/CN105099702B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a safety certificate method for the leasing of urban public bikes, and the method is used for achieving the safe, reliable, convenient and quick leasing of the urban public bikes. The method comprises the steps that a safety certificate subsystem initializes a PSAM card, and obtains the number of the PSAM card; the safety certificate subsystem initializes a to-be-certificate card, and judges the type of the to-be-certificate card; the safety certificate subsystem carries out the safety authentication of the to-be-certificate card according to the type of the to-be-certificate card, wherein the to-be-certificate card is a user card or a vehicle identification card. The invention also provides the safety certificate subsystem and a leasing and returning method for the urban public bikes. According to the embodiment of the invention, the method can reduce the cost to maximum degree on the basis of guaranteeing the safety and stability of data transmission, and facilitates the popularization of the leasing of the urban public bikes.

Description

A kind of safety certifying method of city public bicycle lease and system
Technical field
The present invention relates to city public bicycle lease field, particularly relate to a kind of city public bicycle lease safety certifying method and system.
Background technology
Along with the fast development of China's economy and the quickening of the level of urbanization, rapid growth and a large amount of population that must cause vehicles number pour in city, and the thing followed is the various urban issueses such as urban traffic blocking and tail gas pollution be serious.Greatly develop urban public transport and become a kind of important means solving above-mentioned urban issues.Beyond developing public transport, bicycle also can be used as a kind of important means of supplementing out economy solving urban transport problems.As the widely used running vehicle of one, its cheapness, health, energy-saving and environmental protection, easily feature make it fully develop talents in urban public transport field, and city public bicycle leasing system can effectively supplementing and extending as regular public traffic in addition.
European countries are proposed city public bicycle leasing system at first the seventies in last century, and existing more than 50 country provides public bicycles lease service for citizen so far.In China, Hangzhou took the lead in running public bike renting system the first half of the year in 2008, and intention allows slow-moving traffic and public transport realize " slitless connection ", cracks urban transportation end " last one kilometer " difficult problem.According to incompletely statistics, have the cities such as Zhuzhou, Hangzhou, Beijing, Hefei, Liuzhou, Yinchuan at present and build up public bike renting system, public bicycles lease will be popularized at home.
Public bike renting system is made up of the service management system on backstage and the site safety authentication subsystem of front end usually.Site safety authentication subsystem is positioned at the bottom of city public bicycle leasing system, direct user oriented, whether it is safe and reliable, rent is returned the car, and the whether convenient and swift meeting of mode directly affects the experience of user, and and then produces significant impact to the popularization of public bicycles lease.
Summary of the invention
The safety certifying method that the object of the invention is to provide a kind of city public bicycle to lease and system, realize safe and reliable, conveniently city public bicycle lease.
To achieve these goals, embodiments provide the safety certifying method of a kind of city public bicycle lease, comprising: certification subsystem initialization PSAM card, obtains the card number of described PSAM card; The card of safety certification is treated in described certification subsystem initialization, treats the type of the card of safety certification described in judgement; Described certification subsystem according to described in treat the type of the card of safety certification, treat that the card of safety certification carries out safety certification to described, described in treat that the card of safety certification is subscriber card or vehicles identifications card.
Preferably, in above-mentioned method, treat that the card of safety certification is subscriber card, certification subsystem carries out external authentication and internal authentication to described subscriber card.
Treat that the card of safety certification is vehicles identifications card, certification subsystem carries out safety certification to vehicles identifications card.
Preferably, certification subsystem carries out external authentication to subscriber card, comprising: receive the random number R 1 that described subscriber card produces; Described random number R 1 is sent to described PSAM card; Receive the random number ciphertext D that described PSAM card sends; Described random number ciphertext D1 is sent to described subscriber card, is verified according to described random number ciphertext D1 and described random number R 1 by described subscriber card; Receive the result that described subscriber card sends.
Certification subsystem carries out internal authentication to subscriber card, comprising: receive the random number R 2 that described PSAM card produces; Described random number R 2 is sent to described subscriber card; Receive the random number ciphertext D2 that described subscriber card sends; Described random number ciphertext D2 is sent to described PSAM card, is verified according to described random number ciphertext D2 and described random number R 2 by described PSAM card; Receive the result that described PSAM card sends.
Certification subsystem carries out safety certification to vehicles identifications card, comprising: the card number N1 receiving the described vehicles identifications card that described vehicles identifications card sends; The card number N1 of described vehicles identifications card is sent to described PSAM card; Receive the card number ciphertext ND1 that described PSAM card sends; Described card number ciphertext ND1 is sent to described vehicles identifications card, by card number ciphertext ND1 described in the comparison of described vehicles identifications card and the code data being kept at described vehicles identifications card inside; If equal, then the authentication success of described vehicles identifications card, if unequal, then the certification of described vehicles identifications card is unsuccessful.
In order to better realize above-mentioned purpose, the embodiment of the present invention additionally provides a kind of certification subsystem, for providing safety certification to city public bicycle lease, comprising: initialization unit, for initialization PSAM card, obtains the card number of described PSAM card; Judging unit, treats the card of safety certification for initialization, treat the type of the card of safety certification described in judgement; To described, safety certification unit, for treating the type of the card of safety certification described in basis, treats that the card of safety certification carries out safety certification, described in treat that the card of safety certification is subscriber card or vehicles identifications card.
The embodiment of the present invention additionally provides a kind of method of hiring a car of city public bicycle lease, comprising: detect that user swipes the card by means of car request at boundary member or service terminal, described card is subscriber card; Detect described subscriber card whether effectively and whether have enough remaining sums; If the information of hiring a car effectively and have enough remaining sums, is then inputted described subscriber card, and unlocks the bicycle of correspondence by described subscriber card; The described information of hiring a car is sent to background service management system, carries out timing and charging by described background service management system, described in the information of hiring a car comprise subscriber card information, hire a car time started and car status information.
The embodiment of the present invention additionally provides the returning method of a kind of city public bicycle lease, comprise: detect that bicycle enters the signal of boundary member, generation is returned the car information be sent to service terminal, described in the information of returning the car comprise subscriber card information, return the car time and boundary member numbering; The described information of returning the car is sent to background service management system by described service terminal; Described service terminal receives the rate of described background service management system transmission and points out user, and described rate is obtained according to Time Calculation of hiring a car and return the car by described background service management system; Described service terminal prompting user returns the car successfully, and is deducted from subscriber card by described rate by described background service management system when next time hires a car.
The embodiment of the present invention has following technique effect:
1) in the embodiment of the present invention, certification subsystem can read dissimilar card and carries out safety certification, on the basis of safety and stability that ensure that transfer of data, cost can be reduced to greatest extent, be conducive to the popularization of city public bicycle lease.Meanwhile, in the embodiment of the present invention, subscriber card is comprised to the two-way authentication of external authentication and internal authentication, further increase the reliability and stability of safety certification.
2) city public bicycle in the embodiment of the present invention is rented returning method and is possessed the advantage of not swiping the card and can return the car, more efficient, convenient compared with existing rent returning method, can bring better experience for user.
According to hereafter by reference to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
Hereinafter describe specific embodiments more of the present invention with reference to the accompanying drawings by way of example, and not by way of limitation in detail.Reference numeral identical in accompanying drawing denotes same or similar parts or part.It should be appreciated by those skilled in the art that these accompanying drawings may not be drawn in proportion.In accompanying drawing:
Fig. 1 is the logical construction schematic diagram of the city public bicycle leasing system of embodiment of the present invention institute foundation;
Fig. 2 is the logical construction schematic diagram of the multifunctional card reader that the embodiment of the present invention provides;
Fig. 3 is the schematic diagram of the city public bicycle lease safety certifying method that the embodiment of the present invention provides;
Fig. 4 is method schematic diagram subscriber card being carried out to external authentication that the embodiment of the present invention provides;
Fig. 5 is method schematic diagram subscriber card being carried out to internal authentication that the embodiment of the present invention provides;
Fig. 6 is schematic flow sheet subscriber card being carried out to two-way authentication that the embodiment of the present invention provides;
Fig. 7 is method schematic diagram vehicles identifications card being carried out to safety certification that the embodiment of the present invention provides;
Fig. 8 is schematic flow sheet vehicles identifications card being carried out to safety certification that the embodiment of the present invention provides;
Fig. 9 is the logical construction schematic diagram of the certification subsystem that the embodiment of the present invention provides;
Figure 10 is the schematic diagram of the method for hiring a car of the city public bicycle lease that the embodiment of the present invention provides;
Figure 11 is the schematic flow sheet of the method for hiring a car of the city public bicycle lease that the embodiment of the present invention provides;
Figure 12 is the schematic diagram of the returning method of the city public bicycle lease that the embodiment of the present invention provides;
Figure 13 is the schematic flow sheet of the returning method of the city public bicycle lease that the embodiment of the present invention provides.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.Below if no special instructions, the contactless card operation related in the embodiment of the present invention all performs according to the regulation of ISO14443A protocol specification; The operation of contact card performs according to the regulation of ISO7816 protocol specification.The NOT logic encrypted card (for M1 card) related in the embodiment of the present invention has 16 sectors, totally 64 blocks.
Fig. 1 is the logical construction schematic diagram of the city public bicycle leasing system of embodiment of the present invention institute foundation.City public bicycle leasing system as shown in Figure 1, is made up of background service management system 10 and lease site 11 two large divisions.Show 1 lease site 11 in Fig. 1 and 1 background service management system 10 corresponding, also can by more than the lease site 11 of 1 and 1 background service management system 10 corresponding.
Wherein, service management system 10 primarily of communication module, all kinds of server, warning system and monitoring software composition, the data analysis process being responsible for transmitting each lease site, display and preservation, and directly can carry out monitoring and controlling to each lease site.
Lease site 11 mainly comprises bicycle 12, boundary member 13 and service terminal 14.Wherein, bicycle 12 can be aim at the bicycle that public bicycles lease service customizes, it is provided with vehicles identifications card, by locking device, GPS (GlobalPositioningSystem, global positioning system), GPRS (GeneralPacketRadioService, general packet radio service technology) module and card reader.Wherein, vehicles identifications card is NOT logic encrypted card, carries No. ID of vehicle; Background service management system 11 is obtained from the positional information of driving by GPS, GPRS module, conveniently monitors location in real time to all vehicles; User can swipe the card to realize temporary parking on card reader.
Boundary member 13 is for carrying out locking to bicycle 12 and unlocking, by CAN (ControllerAreaNetwork, controller local area network) bus is connected with service terminal, receive the control command of self serving terminal 14 on the one hand, feed back the state information relevant with bicycle 12 to service terminal 14 on the other hand.User by boundary member carry out borrow, operation of returning the car.About city public bicycle lease by means of step of returning the car, will elaborate in subsequent embodiment.In addition, boundary member 13 also can be described as certification subsystem, and in order to hire a car, user provides safety certification.Boundary member 13 comprises communication module, multifunctional card reader 15 and electronic lock controlled device, it carries double antenna, CPU card can be read and can read NOT logic encrypted card again, and comprise PSAM (PurchaseSecureAccessModule, point of sales terminal secure access module) card security module, ensure by PSAM card security module the fail safe that card operates.Wherein, subscriber card is contactless CPU card, and PSAM card and contactless CPU card can form the dual safety mechanism of two-way authentication.About the step that certification subsystem carries out safety certification to the user that hires a car, will be described in detail in subsequent embodiment.
Service terminal 14 is the control and management center of lease site 11, is made up of built-in terminal, communication module and CPU card card reader.Service terminal 14 is the bridges between bicycle 12 and background service management system 10, and can directly and background service management system 10 mutual.User can do the distribution of inquiry lease site, obtains car status information, check city news, by means of operations such as cars on service terminal 14.The CPU card card reader that service terminal 14 is installed for reading subscriber card, and carries mobile communication module, communicates by mobile communications network when cable network goes wrong with background service management system 10.
Below the structure of the multifunctional card reader 15 in previous security authentication subsystem (boundary member 13) is introduced.Fig. 2 is the logical construction schematic diagram of the multifunctional card reader that the embodiment of the present invention provides.As shown in Figure 2, multifunctional card reader 15 is made up of microprocessor 18, card reader chip 19, PSAM card security module 20, M1 card antenna 21 and CPU card antenna 22.
PSAM card 20 possesses subscriber card function and computing function; built-in security encryption/decryption module; support DES (DataEncryptionStandard; data encryption standard), 3DES (TripleDataEncryptionAlgorithm; triple DEA) and the close SM1 algorithm of state, realize the safeguard protection to process of exchange.Microprocessor 18 1 aspect controls the transmitting-receiving of application data, realize with subscriber card 16 and vehicles identifications card 17 mutual; Carry out telecommunication management on the other hand, realize communicating with host computer.Card reader chip 19 can be the main flow card reader chip such as RC500, FM1702, utilizes advanced modulation and demodulation concept, fully-integrated all types of passive contactless communication mode and agreement at 13.56 mhz.
In conjunction with before the logical construction of disclosed city public bicycle leasing system and multifunctional card reader, below introduce the safety certifying method of city public bicycle lease disclosed in the embodiment of the present invention.Figure 3 shows that the schematic diagram of the safety certifying method of the city public bicycle lease that one embodiment of the invention provides.According to this figure, this safety certifying method comprises the following steps:
Step 301, certification subsystem initialization PSAM card, obtain the card number of described PSAM card;
Step 302, certification subsystem initialization treat the card of safety certification, treat the type of the card of safety certification described in judgement;
Wherein, certification subsystem can judge according to the feature field returned the type treating the card of safety certification.
Step 303, certification subsystem according to described in treat the type of the card of safety certification, treat that the card of safety certification carries out safety certification to described, described in treat that the card of safety certification is subscriber card or vehicles identifications card.
Wherein, subscriber card is contactless CPU card, and vehicles identifications card can be contactless CPU card, also can be NOT logic encrypted card.Certification subsystem in the embodiment of the present invention have employed double antenna technology, use single card reader chip can realize reading CPU card and NOT logic encrypted card, compared with prior art can reduce certain cost, and the PSAM card security module of carrying effectively ensure that the safety and stability of transfer of data.Structure and the effect of PSAM card are illustrated in the aforementioned embodiment, repeat no more herein.
Concerning subscriber card, PSAM card can with subscriber card formed two-way authentication dual safety mechanism.Two-way authentication had both included external authentication (card confirms the legitimacy of card-reading apparatus), also included internal authentication (card-reading apparatus confirms the legitimacy of card), introduced respectively below.
Figure 4 shows that method schematic diagram subscriber card being carried out to external authentication that one embodiment of the invention provides.By this figure, external authentication is carried out to subscriber card and comprises the following steps:
Step 401, certification subsystem receive the random number R 1 that described subscriber card produces;
Wherein, random number R 1 also can be kept in subscriber card simultaneously temporarily.
Described random number R 1 is sent to described PSAM card by step 402, certification subsystem;
Step 403, certification subsystem receive the random number ciphertext D1 that described PSAM card sends;
Wherein, random number ciphertext D1 to be encrypted random number R 1 by PSAM card and to obtain.
Described random number ciphertext D1 is sent to described subscriber card by step 404, certification subsystem, is verified according to described random number ciphertext D1 and random number R 1 by described subscriber card;
Concrete, the proof procedure in step 404 comprises:
Described random number ciphertext D1 deciphered by subscriber card, obtains random number plain text;
Judge that whether described random number plain text is equal with random number R 1;
If equal, then to the external authentication success of described subscriber card, if unequal, then unsuccessful to the external authentication of described subscriber card.
Step 405, certification subsystem receive the result that described subscriber card sends.
Figure 5 shows that method schematic diagram subscriber card being carried out to internal authentication that one embodiment of the invention provides.By this figure, internal authentication is carried out to subscriber card and comprises the following steps:
Step 501, certification subsystem receive the random number R 2 that described PSAM card produces;
Wherein, random number R 2 is kept in PSAM card simultaneously.
Described random number R 2 is sent to described subscriber card by step 502, certification subsystem;
Step 503, certification subsystem receive the random number ciphertext D2 that described subscriber card sends;
Wherein, random number ciphertext D2 to be encrypted random number R 2 by subscriber card and to obtain.
Described random number ciphertext D2 is sent to described PSAM card by step 504, certification subsystem, is verified according to described random number ciphertext D2 and random number R 2 by described PSAM card;
Wherein, the proof procedure in step 504 comprises:
PSAM card decrypted random number ciphertext D2, obtains random number plain text;
Judge that whether described random number plain text is equal with random number R 2;
If equal, then to the internal authentication success of described subscriber card, if unequal, then unsuccessful to the internal authentication of described subscriber card.
Step 505, certification subsystem receive the result that PSAM card sends.
Figure 6 shows that schematic flow sheet subscriber card being carried out to two-way authentication that one embodiment of the invention provides.Wherein, by dotted line frame go out for external authentication flow process, what solid box went out is internal authentication flow process.It should be noted that, below only with subscriber card external authentication formerly, internal authentication after be described the flow process of subscriber card two-way authentication, but do not represent that the external authentication of subscriber card and internal authentication must perform according to this order.
By this figure, the flow process of subscriber card external authentication comprises the following steps:
Step 601, subscriber card produce random number R 1 and send it to card reader, and subscriber card is simultaneously interim preserves the random number R 1 produced;
Random number R 1 is sent to PSAM card by step 602, card reader;
Step 603, PSAM card are encrypted random number R 1, obtain random number ciphertext D1 and send it to card reader;
Random number ciphertext D1 is sent to subscriber card by step 604, card reader;
Step 605, subscriber card decrypted random number ciphertext D1 obtain random number plain text, the random number R 1 temporarily deposited are compared in the random number plain text after deciphering and step 601, if equal, then represent external authentication success.
Same by Fig. 6, the flow process of subscriber card internal authentication comprises the following steps:
Step 601 ', PSAM card produces random number R 2 send it to card reader, PSAM card is interim random number R 2 of preserving generation simultaneously;
Step 602 ', random number R 2 is sent to subscriber card by card reader;
Step 603 ', subscriber card to random number R 2 encryption obtain random number ciphertext D2 and send it to card reader;
Step 604 ', random number ciphertext D2 is sent to PSAM card by card reader;
Step 605 ', PSAM card decrypted random number ciphertext D2 obtains random number plain text, and the random number R 2 temporarily deposited in the random number plain text after deciphering and step 606 is compared, if equal, then represents internal authentication success.
Certification subsystem in the embodiment of the present invention comprises PSAM card security module, can carry out outside and inner two-way authentication, effectively ensure that the safety and stability of transfer of data to subscriber card.
Introduce the safety certification of certification subsystem to vehicles identifications card below.In embodiments of the present invention, be external authentication to the safety certification of vehicles identifications card.
Figure 7 shows that method schematic diagram vehicles identifications card being carried out to safety certification that one embodiment of the invention provides.By this figure, comprise the following steps:
Step 701, certification subsystem receive the card number N1 of the described vehicles identifications card that described vehicles identifications card sends;
The card number N1 of described vehicles identifications card is sent to described PSAM card by step 702, certification subsystem;
Step 703, certification subsystem receive the card number ciphertext ND1 that described PSAM card sends;
Wherein, described card number ciphertext ND1 is encrypted by the card number N1 of described PSAM card to described vehicles identifications card and obtains.
Described card number ciphertext ND1 is sent to described vehicles identifications card by step 704, certification subsystem, by card number ciphertext ND1 described in the comparison of described vehicles identifications card and the code data being kept at described vehicles identifications card inside;
If equal, then the authentication success of described vehicles identifications card, if unequal, then the certification of described vehicles identifications card is unsuccessful.
Figure 8 shows that schematic flow sheet vehicles identifications card being carried out to safety certification that one embodiment of the invention provides.According to this figure, safety certification is carried out to vehicles identifications card and comprises the following steps:
Step 801, obtain vehicles identifications card card number N1 send it to card reader;
Vehicles identifications card card number N1 is sent to PSAM card by step 802, card reader;
Step 803, PSAM card obtain card number ciphertext ND1 to vehicles identifications card card number N1 encryption and send it to card reader;
It is inner card number ciphertext ND1 and the code data comparison deposited in vehicles identifications card sector that step 804, vehicles identifications are stuck in card, if equal, then represents external authentication success.
By the certification to vehicles identifications card, the safety that city public bicycle is leased can be ensured further and stablize.
Below introduce a kind of certification subsystem, for performing city public bicycle lease safety certifying method disclosed in previous embodiment.
Figure 9 shows that the logical construction schematic diagram of a kind of certification subsystem that one embodiment of the invention provides.According to this figure, each composition structure introducing certification subsystem is as follows:
Initialization unit 901, for initialization PSAM card, obtains the card number of described PSAM card;
Judging unit 902, treats the card of safety certification for initialization, treat the type of the card of safety certification described in judgement;
Wherein, judging unit 902 can judge the type of the card treating safety certification according to the feature field returned.
To described, safety certification unit 903, for treating the type of the card of safety certification described in basis, treats that the card of safety certification carries out safety certification, described in treat that the card of safety certification is subscriber card or vehicles identifications card.
Correspond respectively to subscriber card and vehicles identifications card, safety certification unit 903 comprises subscriber card certification subelement 931, for carrying out bidirectional safe certification to subscriber card; With vehicles identifications card certification subelement 932, for carrying out safety certification to vehicles identifications card.
Concrete, subscriber card certification subelement 931 carries out external authentication to described subscriber card, comprising: receive the random number R 1 that described subscriber card produces; Described random number R 1 is sent to described PSAM card; Receive the random number ciphertext D1 that described PSAM card sends; Described random number ciphertext D1 is sent to described subscriber card, is verified according to described random number ciphertext D1 and described random number R 1 by described subscriber card; Receive the result that described subscriber card sends.
Subscriber card certification subelement 931, for carrying out internal authentication to described subscriber card, comprising: receive the random number R 2 that described PSAM card produces; Described random number R 2 is sent to described subscriber card; Receive the random number ciphertext D2 that described subscriber card sends; Described random number ciphertext D2 is sent to described PSAM card, is verified according to described random number ciphertext D2 and described random number R 2 by described PSAM card; Receive the result that described PSAM card sends.
Vehicles identifications card certification subelement 932, carries out safety certification to described vehicles identifications card, comprising: the card number N1 receiving the described vehicles identifications card that described vehicles identifications card sends; The card number N1 of described vehicles identifications card is sent to described PSAM card; Receive the card number ciphertext ND1 that described PSAM card sends; Described card number ciphertext ND1 is sent to described vehicles identifications card, by card number ciphertext ND1 described in the comparison of described vehicles identifications card and the code data being kept at described vehicles identifications card inside; If equal, then the authentication success of described vehicles identifications card, if unequal, then the certification of described vehicles identifications card is unsuccessful.
In the embodiment of the present invention, certification subsystem can read dissimilar card and carries out safety certification, on the basis of safety and stability that ensure that transfer of data, can reduce cost to greatest extent, is conducive to the popularization of city public bicycle lease.Meanwhile, in the embodiment of the present invention, subscriber card carries out the two-way authentication comprising external authentication and internal authentication, further increases the reliability and stability of safety certification.
Based on city public bicycle lease safety certifying method and certification subsystem disclosed in above-described embodiment, one embodiment of the invention disclose the rent returning method that a kind of city public bicycle is leased.
Figure 10 shows that the schematic diagram of the method for hiring a car of a kind of city public bicycle lease that one embodiment of the invention provides.Each step is described in detail in detail as follows:
Step 1001, detect that user swipes the card by means of car request at boundary member or service terminal, described card is subscriber card;
Step 1002, whether detect described subscriber card effectively and whether have enough remaining sums;
If the information of hiring a car effectively and have enough remaining sums, is then inputted described subscriber card, and unlocks the bicycle of correspondence by the described subscriber card of step 1003;
Wherein, if described subscriber card is invalid, or described subscriber card Sorry, your ticket has not enough value, then to hire a car flow process described in stopping, and point out user.
Step 1004, the described information of hiring a car is sent to background service management system, carries out timing and charging by described background service management system, described in the information of hiring a car comprise described subscriber card information, hire a car time started and car status information.
Figure 11 shows that city public bicycle that one embodiment of the invention provides is hired a car the schematic flow sheet of method.Each step that this figure comprises is described in detail in detail as follows:
Step 1101, user swipe the card by means of car at boundary member or service terminal place;
Step 1102, boundary member or service terminal judge that whether subscriber card is legal and whether have enough remaining sums;
The failed then voice message user of step 1103, associated verification hires a car unsuccessfully this, and informs user's failure cause;
Step 1104, associated verification success information of then hiring a car writes subscriber card and unlocks corresponding bicycle;
After step 1105, user borrow car success, this information of lease is uploaded to background service management system by service terminal, and information of lease comprises subscriber card information, hire a car time started and car status information, and service management system performs relevant record and operation.The charge system of background service management system starts Fare determined by travel time simultaneously.
Figure 12 is the schematic diagram of the returning method of the city public bicycle lease that one embodiment of the invention provides.According to this figure, each step introducing returning method is as follows:
Step 1201, detect that bicycle enters the signal of boundary member, generate information of returning the car and be sent to service terminal, described in the information of returning the car comprise subscriber card information, return the car time and boundary member numbering;
The described information of returning the car is sent to background service management system by step 1202, described service terminal;
Step 1203, described service terminal receive the rate of described background service management system transmission and point out user;
Wherein, described rate is obtained according to Time Calculation of hiring a car and return the car by described background service management system.
Step 1204, described service terminal prompting user returns the car successfully, and is deducted from subscriber card by described rate by described background service management system when next time hires a car.
Figure 13 shows that the schematic flow sheet of the city public bicycle returning method that one embodiment of the invention provides.Each step that this figure comprises is described in detail in detail as follows:
Bicycle is pushed boundary member by step 1301, user, and the information such as subscriber card information, time of returning the car, boundary member numbering are sent to service terminal by boundary member;
What boundary member transmitted by step 1302, service terminal information of returning the car is sent to the service management system on backstage in wired or wireless manner;
Step 1303, charge system stop Fare determined by travel time and according to renting return the car Time Calculation time of chartering and the cost that produces;
Step 1304, service management system send rent to service terminal and to return the car information, at boundary member, user directly can see that rent is returned the car information, rent the information of returning the car and comprise rent and to return the car the information such as time, the cost produced, stroke;
Step 1305, returning the car successfully has corresponding light and voice message, and the cost produced will remove by bales catch when next time hires a car.
The city public bicycle that the embodiment of the present invention provides is rented returning method and is possessed the advantage of not swiping the card and can return the car, more efficient, convenient compared with existing rent returning method, can bring better experience for user.
So far, those skilled in the art will recognize that, although multiple exemplary embodiment of the present invention is illustrate and described herein detailed, but, without departing from the spirit and scope of the present invention, still can directly determine or derive other modification many or amendment of meeting the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.

Claims (15)

1. a safety certifying method for city public bicycle lease, is characterized in that, comprising:
Certification subsystem initialization PSAM card, obtains the card number of described PSAM card;
The card of safety certification is treated in described certification subsystem initialization, treats the type of the card of safety certification described in judgement;
Described certification subsystem according to described in treat the type of the card of safety certification, treat that the card of safety certification carries out safety certification to described, described in treat that the card of safety certification is subscriber card or vehicles identifications card.
2. safety certifying method according to claim 1, is characterized in that, described in treat that the card of safety certification is subscriber card;
Described certification subsystem according to described in treat the type of the card of safety certification, treat that the card of safety certification carries out safety certification to described, comprising: described certification subsystem carries out external authentication and internal authentication to described subscriber card.
3. safety certifying method according to claim 2, is characterized in that, described certification subsystem carries out external authentication to described subscriber card, comprising:
Described certification subsystem receives the random number R 1 that described subscriber card produces;
Described random number R 1 is sent to described PSAM card by described certification subsystem;
Described certification subsystem receives the random number ciphertext D1 that described PSAM card sends;
Described random number ciphertext D1 is sent to described subscriber card by described certification subsystem, is verified according to described random number ciphertext D1 and described random number R 1 by described subscriber card;
Described certification subsystem receives the result that described subscriber card sends.
4. safety certifying method according to claim 3, is characterized in that, is verified, comprising by described subscriber card according to described random number ciphertext D1 and described random number R 1:
Described random number ciphertext D1 deciphered by described subscriber card, obtains random number plain text;
Judge that whether described random number plain text is equal with described random number R 1;
If equal, then to the external authentication success of described subscriber card, if unequal, then unsuccessful to the external authentication of described subscriber card.
5. safety certifying method according to claim 2, is characterized in that, described certification subsystem carries out internal authentication to described subscriber card, comprising:
Described certification subsystem receives the random number R 2 that described PSAM card produces;
Described random number R 2 is sent to described subscriber card by described certification subsystem;
Described certification subsystem receives the random number ciphertext D2 that described subscriber card sends;
Described random number ciphertext D2 is sent to described PSAM card by described certification subsystem, is verified according to described random number ciphertext D2 and described random number R 2 by described PSAM card;
Described certification subsystem receives the result that described PSAM card sends.
6. safety certifying method according to claim 5, is characterized in that, is verified, comprising by described PSAM card according to described random number ciphertext D2 and described random number R 2:
The described random number ciphertext D2 of described PSAM card deciphering, obtains random number plain text;
Judge that whether described random number plain text is equal with described random number R 2;
If equal, then to the internal authentication success of described subscriber card, if unequal, then unsuccessful to the internal authentication of described subscriber card.
7. safety certifying method according to claim 1, is characterized in that, described in treat that the card of safety certification is vehicles identifications card;
Described certification subsystem according to described in treat the type of the card of safety certification, treat that the card of safety certification carries out safety certification to described, comprising:
Described certification subsystem receives the card number N1 of the described vehicles identifications card that described vehicles identifications card sends;
The card number N1 of described vehicles identifications card is sent to described PSAM card by described certification subsystem;
Described certification subsystem receives the card number ciphertext ND1 that described PSAM card sends;
Described card number ciphertext ND1 is sent to described vehicles identifications card by described certification subsystem, by card number ciphertext ND1 described in the comparison of described vehicles identifications card and the code data being kept at described vehicles identifications card inside;
If equal, then the authentication success of described vehicles identifications card, if unequal, then the certification of described vehicles identifications card is unsuccessful.
8. a method of hiring a car for city public bicycle lease, is characterized in that, comprising:
Detect that user swipes the card by means of car request at boundary member or service terminal, described card is subscriber card;
Detect described subscriber card whether effectively and whether have enough remaining sums;
If the information of hiring a car effectively and have enough remaining sums, is then inputted described subscriber card, and unlocks the bicycle of correspondence by described subscriber card;
The described information of hiring a car is sent to background service management system, carries out timing and charging by described background service management system, described in the information of hiring a car comprise subscriber card information, hire a car time started and car status information.
9. a returning method for city public bicycle lease, is characterized in that, comprising:
Detect that bicycle enters the signal of boundary member, generate the information be sent to service terminal of returning the car, described in the information of returning the car comprise subscriber card information, return the car time and boundary member numbering;
The described information of returning the car is sent to background service management system by described service terminal;
Described service terminal receives the rate of described background service management system transmission and points out user;
Described service terminal prompting user returns the car successfully, and is deducted from subscriber card by described rate by described background service management system when next time hires a car.
10. a certification subsystem, for providing safety certification to city public bicycle lease, is characterized in that, comprising:
Initialization unit, for initialization PSAM card, obtains the card number of described PSAM card;
Judging unit, treats the card of safety certification for initialization, treat the type of the card of safety certification described in judgement;
To described, safety certification unit, for treating the type of the card of safety certification described in basis, treats that the card of safety certification carries out safety certification, described in treat that the card of safety certification is subscriber card or vehicles identifications card.
11. certification subsystem according to claim 10, is characterized in that, described in treat that the card of safety certification is subscriber card;
Described safety certification unit comprises subscriber card certification subelement, for carrying out external authentication and internal authentication to described subscriber card.
12. certification subsystem according to claim 11, is characterized in that, described subscriber card certification subelement is used for carrying out external authentication to described subscriber card, comprising:
Receive the random number R 1 that described subscriber card produces;
Described random number R 1 is sent to described PSAM card;
Receive the random number ciphertext D1 that described PSAM card sends;
Described random number ciphertext D1 is sent to described subscriber card, is verified according to described random number ciphertext D1 and described random number R 1 by described subscriber card;
Receive the result that described subscriber card sends.
13. certification subsystem according to claim 11, is characterized in that, described subscriber card certification subelement is used for carrying out internal authentication to described subscriber card, comprising:
Receive the random number R 2 that described PSAM card produces;
Described random number R 2 is sent to described subscriber card;
Receive the random number ciphertext D2 that described subscriber card sends;
Described random number ciphertext D2 is sent to described PSAM card, is verified according to described random number ciphertext D2 and described random number R 2 by described PSAM card;
Receive the result that described PSAM card sends.
14. certification subsystem according to claim 10, is characterized in that, described in treat that the card of safety certification is vehicles identifications card;
Described safety certification unit also comprises vehicles identifications card certification subelement, for carrying out safety certification to described vehicles identifications card.
15. certification subsystem according to claim 14, is characterized in that, described vehicles identifications card certification subelement, for carrying out safety certification to described vehicles identifications card, comprising:
Receive the card number N1 of the described vehicles identifications card that described vehicles identifications card sends;
The card number N1 of described vehicles identifications card is sent to described PSAM card;
Receive the card number ciphertext ND1 that described PSAM card sends;
Described card number ciphertext ND1 is sent to described vehicles identifications card, by card number ciphertext ND1 described in the comparison of described vehicles identifications card and the code data being kept at described vehicles identifications card inside;
If equal, then the authentication success of described vehicles identifications card, if unequal, then the certification of described vehicles identifications card is unsuccessful.
CN201510454066.2A 2015-07-28 2015-07-28 A kind of safety certifying method and system of city public bicycle lease Expired - Fee Related CN105099702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510454066.2A CN105099702B (en) 2015-07-28 2015-07-28 A kind of safety certifying method and system of city public bicycle lease

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510454066.2A CN105099702B (en) 2015-07-28 2015-07-28 A kind of safety certifying method and system of city public bicycle lease

Publications (2)

Publication Number Publication Date
CN105099702A true CN105099702A (en) 2015-11-25
CN105099702B CN105099702B (en) 2019-03-19

Family

ID=54579334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510454066.2A Expired - Fee Related CN105099702B (en) 2015-07-28 2015-07-28 A kind of safety certifying method and system of city public bicycle lease

Country Status (1)

Country Link
CN (1) CN105099702B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105761371A (en) * 2016-02-04 2016-07-13 常州永安公共自行车系统股份有限公司 Utility car leasing system and encryption and decryption device and method thereof
CN107154116A (en) * 2017-05-19 2017-09-12 杭州排山信息科技有限公司 Bicycle leasing system and its control method and device
CN107274570A (en) * 2017-05-05 2017-10-20 北京摩拜科技有限公司 Vehicles management method, the management equipment on vehicle and vehicle
CN107358696A (en) * 2017-07-11 2017-11-17 上海与德科技有限公司 A kind of unlocking method of shared bicycle
CN107833380A (en) * 2017-09-30 2018-03-23 杭州金通公共自行车科技股份有限公司 Dodged based on Unionpay and pay hire a car system and its control method and device
CN109345659A (en) * 2018-08-08 2019-02-15 深圳信息职业技术学院 A kind of smart lock, shared bicycle and shared system
CN111582422A (en) * 2020-04-10 2020-08-25 全景智联(武汉)科技有限公司 CPU card anti-copy encryption method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201562320U (en) * 2009-08-11 2010-08-25 北京握奇数据系统有限公司 Wireless inductive parking control card, parking device and parking system
CN102110313A (en) * 2009-12-24 2011-06-29 黔东南(控股)有限公司 Automobile automatic toll paying system applied in certifying license plate driver ID in Qiandongnan Prefecture
CN103152174A (en) * 2013-01-28 2013-06-12 深圳市捷顺科技实业股份有限公司 Data processing method, device and parking lot management system applied to parking lot
CN103336977A (en) * 2013-05-24 2013-10-02 天津广行科技有限公司 Vehicle electronic information card safety protection system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201562320U (en) * 2009-08-11 2010-08-25 北京握奇数据系统有限公司 Wireless inductive parking control card, parking device and parking system
CN102110313A (en) * 2009-12-24 2011-06-29 黔东南(控股)有限公司 Automobile automatic toll paying system applied in certifying license plate driver ID in Qiandongnan Prefecture
CN103152174A (en) * 2013-01-28 2013-06-12 深圳市捷顺科技实业股份有限公司 Data processing method, device and parking lot management system applied to parking lot
CN103336977A (en) * 2013-05-24 2013-10-02 天津广行科技有限公司 Vehicle electronic information card safety protection system and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105761371A (en) * 2016-02-04 2016-07-13 常州永安公共自行车系统股份有限公司 Utility car leasing system and encryption and decryption device and method thereof
CN107274570A (en) * 2017-05-05 2017-10-20 北京摩拜科技有限公司 Vehicles management method, the management equipment on vehicle and vehicle
CN107274570B (en) * 2017-05-05 2018-03-06 北京摩拜科技有限公司 Vehicles management method, the management equipment on vehicle and vehicle
CN107154116A (en) * 2017-05-19 2017-09-12 杭州排山信息科技有限公司 Bicycle leasing system and its control method and device
CN107358696A (en) * 2017-07-11 2017-11-17 上海与德科技有限公司 A kind of unlocking method of shared bicycle
CN107833380A (en) * 2017-09-30 2018-03-23 杭州金通公共自行车科技股份有限公司 Dodged based on Unionpay and pay hire a car system and its control method and device
CN109345659A (en) * 2018-08-08 2019-02-15 深圳信息职业技术学院 A kind of smart lock, shared bicycle and shared system
CN111582422A (en) * 2020-04-10 2020-08-25 全景智联(武汉)科技有限公司 CPU card anti-copy encryption method

Also Published As

Publication number Publication date
CN105099702B (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN105099702A (en) Safety certificate method and system for leasing of urban public bikes
CN105847282B (en) Vehicle control method, server and system
CN108569250B (en) Automatic authorization method of Bluetooth key based on shared automobile
CN203386245U (en) Electronic toll collection (ETC) on board unit on-line issuing system combining mobile terminal
CN108234517A (en) A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method
CN104794640B (en) Vehicle management method based on cloud server side and cloud server thereof
CN103035078B (en) Payment security monitoring method based on position
CN103778667B (en) The self-service publishing system of electronic tag and distributing method
CN105404907B (en) RFID electronic license plates generate system, method and Vehicle License Plate Recognition System, method
CN103150771B (en) Track PSAM card and the using method thereof of charge is freely flowed for city road and bridge
CN202815938U (en) Electronic toll collection system (ETC), free flow system and monitor center, and DSRC device
CN101833826A (en) Vehicle rental system and vehicle rental method thereof
US11716194B2 (en) Vehicle communication for authorized entry
WO2020051730A1 (en) Methods and devices for shared vehicle management
CN103150770A (en) On board unit embedded secure access module (ESAM) for free stream toll collection and use method thereof
KR102077659B1 (en) Wireless lan apparatus and vehicle authentiction method using the wireless lan apparatus
CN109242645A (en) A kind of shared bicycle charging method based on precise positioning and safe barcode scanning
CN105303623A (en) Intelligent parking lot inquiring and charging system based on identification and method thereof
CN107248212A (en) A kind of intelligent lock system and its method for unlocking based on NFC
CN105160715A (en) Variable-permission parking lot management system based on radio frequency identification technology
CN110060361A (en) Vehicle consumption and payment method and its system based on RFID
CN107527265A (en) A kind of check-out method
CN110930211A (en) Sharing management system, method and application
CN106296839A (en) The safety certifying method of a kind of anti-pintle hook lock and ETC system
CN110197537B (en) Electronic identification charging system compatible with ETC high-speed charging

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 201700 Shanghai City Industrial Park, Qingpu District, Industrial Zone No. 73 building 3 K zone 1 room 140

Applicant after: Shanghai practice public bicycle Co., Ltd.

Address before: 201700 Shanghai City Industrial Park, Qingpu District, Industrial Zone No. 73 building 3 K zone 1 room 140

Applicant before: SHANGHAI XINGJIAN BIKE TECHNOLOGY DEVELOPMENT CO., LTD.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190319

Termination date: 20190728

CF01 Termination of patent right due to non-payment of annual fee