[summary of the invention]
Purpose of the present invention is exactly in order to solve the problem that prior art exists, to have proposed a kind of method and system of deducting fees automatically based on the segmentation that takes bus of bluetooth and RFID.
RFID of the present invention refers to passive RFID, and the mode of its induction can be multiple, and its frequency of operation also can be multiple, but preferably is not close with the frequency of operation of bluetooth.
Concrete technical scheme of the present invention is as follows:
The invention provides the method that a kind of segmentation that takes bus is deducted fees automatically, it is characterized in that, this method comprises:
Obtain bus geographical position coordinates at any one time;
The on-vehicle Bluetooth equipment that is positioned at signal on the bus and covers whole compartment is searched for the bluetooth module of its signal cover, and obtains the bluetooth recognition sign indicating number of this bluetooth module;
Obtain the moment that on-vehicle Bluetooth equipment searches the moment of a bluetooth module for the first time and searches this bluetooth module for the last time;
Calculate the distance that on-vehicle Bluetooth equipment travels to interior bus of last search same bluetooth module time period for the first time;
Bluetooth recognition sign indicating number and this bluetooth module of the bluetooth module that searches are sent to remote server with the distance that bus travels;
Find out the account of deducting fees of the representative passenger identity of binding mutually with described bluetooth recognition sign indicating number;
The distance of travelling with bus according to bluetooth module is calculated with this apart from corresponding riding fee usefulness, and deducts fees from the account corresponding with the bluetooth recognition sign indicating number of this bluetooth module.
On-vehicle Bluetooth equipment on each bus has a unique device address, and this method further comprises:
The distance that the bluetooth recognition sign indicating number of bluetooth module, this bluetooth module are travelled with bus and the device address of the on-vehicle Bluetooth equipment on this bus send to remote server;
Distance and the device address of travelling according to described bluetooth recognition sign indicating number, bus calculate riding fee usefulness.
This method further comprises:
Legal RFID label and bluetooth module are coupled together by electrical number and be packaged together;
The bluetooth recognition sign indicating number of this bluetooth module is bound mutually with the account of deducting fees that represents passenger identity;
By the RFID reader legitimacy of RFID label is verified, and made indication by sound or visual signal.
This method further comprises:
Only when bluetooth module was opened, the RFID label could pass through the legitimate verification of RFID reader;
Described bluetooth module passes through a button by artificial unlatching.
On-vehicle Bluetooth equipment sends paging instructions to bluetooth module, when bluetooth module is not received the paging instructions of on-vehicle Bluetooth equipment transmission above the regular hour, closes bluetooth module.
Read the bluetooth recognition sign indicating number of storing in the RFID label by the RFID reader;
Whether the bluetooth recognition sign indicating number that comparison RFID reader reads is identical with the bluetooth recognition sign indicating number that on-vehicle Bluetooth equipment searches;
Calculate on-vehicle Bluetooth equipment for the first time to searching the distance that interior bus of bluetooth module time period with bluetooth recognition sign indicating number that the RFID reader reads travels for the last time.
This mass transit card bluetooth module bluetooth recognition sign indicating number is sent to the accounts information of the blue identification code correspondence of this bluetooth module of remote server verification;
Remote server sends the accounts information of described bluetooth module correspondence to the onboard wireless telecommunication equipment;
By on-vehicle Bluetooth equipment the accounts information of described bluetooth module correspondence is sent to bluetooth module;
The accounts information of bluetooth module correspondence is stored in the RFID label for vehicle-mounted RFID reader next time the legitimacy of the accounts information of the bluetooth module correspondence of storing in the RFID label is verified.
The system that the present invention also provides a kind of segmentation that takes bus to deduct fees automatically is characterized in that, this system comprises:
Be the entrained bluetooth module of passenger;
Be arranged at the GPS locating device on the bus, be used for obtaining the geographical position coordinates of bus at any one time the time;
Be arranged on the bus and cover whole compartment on-vehicle Bluetooth equipment, be used for the bluetooth module in its signal cover, and obtain the bluetooth recognition sign indicating number of this bluetooth module;
Be arranged at the time set on the bus, be used for obtaining the moment that on-vehicle Bluetooth equipment searches the moment of a bluetooth module for the first time and searches this bluetooth module for the last time;
Be arranged at the treating apparatus on the bus, be used for calculating the distance that on-vehicle Bluetooth equipment travels to interior bus of last search same bluetooth module time period for the first time;
Be arranged at the wireless signal transmission on the bus, the bluetooth recognition sign indicating number and this bluetooth module that are used for the bluetooth module that will search send to remote server with the distance that bus travels;
Remote server, be used for finding out the account of deducting fees of the representative passenger identity of binding mutually with described bluetooth recognition sign indicating number, and calculate with this apart from corresponding riding fee usefulness according to the distance that bluetooth module travels with bus, and from the account corresponding with the bluetooth recognition sign indicating number of this bluetooth module, deduct fees.
The distance that the bluetooth recognition sign indicating number of bluetooth module, this bluetooth module are travelled with bus and the device address of the on-vehicle Bluetooth equipment on this bus send to remote server;
Distance and the device address of travelling according to described bluetooth recognition sign indicating number, bus calculate riding fee usefulness.
This system also comprises:
Be positioned at the RFID reader on the bus;
Be the entrained RFID label of passenger, described RFID label and bluetooth module couple together by electrical number and are packaged together;
Described RFID reader reads the data in the RFID label and the legitimacy of RFID label is verified, and makes indication by sound or visual signal.
Described RFID label is connected a control chip jointly with bluetooth module, and bluetooth module also is connected with a supply module, and control chip, supply module and RFID label, bluetooth module are packaged together
One button is set on the described mass transit card, is used for opening bluetooth module;
Described mass transit card also comprises control chip, described on-vehicle Bluetooth equipment also sends paging instructions to bluetooth module, control chip obtains bluetooth module and receives paging instructions and analysis, when bluetooth module was not received the paging instructions of on-vehicle Bluetooth equipment transmission above the regular hour, control chip control supply module stopped to power to bluetooth module.
Read the bluetooth recognition sign indicating number of storing in the RFID label by the RFID reader;
Whether the bluetooth recognition sign indicating number that comparison RFID reader reads is identical with the bluetooth recognition sign indicating number that on-vehicle Bluetooth equipment searches;
Calculate on-vehicle Bluetooth equipment for the first time to searching the distance that interior bus of bluetooth module time period with bluetooth recognition sign indicating number that the RFID reader reads travels for the last time.
Wireless signal transmission sends to this mass transit card bluetooth module bluetooth recognition sign indicating number the accounts information of the blue identification code correspondence of this bluetooth module of remote server verification;
Remote server sends the accounts information of described bluetooth module correspondence to the onboard wireless telecommunication equipment;
By on-vehicle Bluetooth equipment the accounts information of described bluetooth module correspondence is sent to bluetooth module;
Control chip is stored in the RFID label accounts information of bluetooth module correspondence for vehicle-mounted RFID reader next time the legitimacy of the accounts information of the bluetooth module correspondence of storing in the RFID label is verified.
Beneficial technical effects of the present invention is:
Compared to prior art, the present invention with registered bluetooth module as legal bluetooth module, when the passenger carries legal bluetooth module when getting on the bus, legal bluetooth module namely can be used as the instrument of passenger identity identification, Bluetooth signal covers whole compartment simultaneously, enter the compartment and can recognize passenger loading when the passenger carries bluetooth module like this, and when can recognizing the passenger during less than the Bluetooth signal of bluetooth module, the on-vehicle Bluetooth Equipment Inspection got off, calculate passenger loading and can carry out sectional fare to the passenger with the distance that interior vehicle of this time period of getting off is advanced, and whole process, the passenger need not to brush twice rfid card very much can realize sectional fare, easy to use, shortened time of passenger getting on/off simultaneously.
By long-range server calculate riding fee can make things convenient for the user by internet or other long-range modes to the account of deducting fees supplement with money, inquiry and data modification, can save the ride handling cost of RFID mass transit card and the operation cost of the whole segmentation bales catch charge system that takes bus of later stage.
By being set, RFID reader pair verifies with the RFID label of passenger identity binding, and the RFID reader is arranged at the doorway at bus Qianmen, in passenger loading, by being pressed close to the RFID reader, the RFID label identifies, thereby can judge the passenger accurately and whether carry legal bluetooth module, the phenomenon of avoiding the passenger to steal a ride occurs.Brushing the RFID mass transit card simultaneously gets on the bus and becomes the custom that passenger's riding public transportation means is swiped the card, though the present invention has used the function that the RFID label exercises supervision and identifies the passenger, but deducting fees of its essence is to realize by binding the bluetooth recognition sign indicating number of identifying bluetooth module, on the basis of the use habit that does not change people, automatically forming segmentation deducts fees, so the present invention is the upgrading to a RFID mass transit card of existing brush, under the situation that does not change passenger's use habit, it is simple to have upgrading, the advantage that upgrade cost is lower.
With RFID label and bluetooth module binding, its common control chip that connects, behind the paging signal that the bluetooth module detection is sent less than on-vehicle Bluetooth equipment, close bluetooth module, made things convenient for bluetooth module has been managed, avoid the passenger after getting on the bus, bluetooth module to be carried out the problem of manual-lock bluetooth module, can save simultaneously the power consumption of bluetooth module, and only when bluetooth module is opened, the RFID label could pass through the legitimate verification of RFID reader, can impel the passenger to pass through button manual unlocking bluetooth module before by bus.
RFID label and bluetooth are bound together, make the RFID reader to identify the bluetooth recognition sign indicating number of bluetooth module by identification RFID label, thereby can identify legal passenger fast and accurately, prevent that the problem that the passenger steals a ride from occurring, and recognition speed is fast, the efficient height.
Directly be stored in the RFID label by the bluetooth recognition sign indicating number with bluetooth module, directly read the bluetooth recognition sign indicating number of bluetooth module by on-vehicle Bluetooth equipment, identify the real entrained bluetooth module of user for taking bus, the problem that the mistake of avoiding is chargeed, also reduce simultaneously the task amount of vehicle-mounted treating apparatus deal with data, saved the wireless signal transmission data traffic.
Quick recognition capability by RFID, can identify the legitimacy of the entrained car card of passenger fast, accounts information with the bluetooth recognition sign indicating number correspondence of bluetooth module is written in the RFID label simultaneously, can be very fast go out legitimacy (arrearage such as the whether) information of passenger's the account of deducting fees by bus by the RFID reader identification, avoided passing through transmitted data on network, and cause identifying too slow problem, made things convenient for the speed of passenger loading.
[embodiment]
For the purpose, technical scheme and the advantage that make invention is clearer, below in conjunction with accompanying drawing and optimum embodiment, the present invention is further elaborated.Should be appreciated that the embodiment of optimum described herein only in order to explain the present invention, is not used for limiting the present invention.
Embodiment 1
Principle of the present invention is as follows:
At bus on-vehicle Bluetooth equipment is set, this on-vehicle Bluetooth equipment regularly or the bluetooth module in its Bluetooth signal scope of search of not timing (situation of not timing is that this on-vehicle Bluetooth equipment described below can carry out the adjustment of search rate according to the gait of march of bus) and obtains the bluetooth recognition sign indicating number of this bluetooth module.
The time interval of described on-vehicle Bluetooth equipment timing search bluetooth module is 3s in the present embodiment, in fact can be set in 1s~60s, the burden of the too high meeting of the frequency of search increasing system, and the underfrequency of search can cause the accuracy rate of timing to descend.
By adopting suitable antenna and suitable Bluetooth signal emissive power, the Bluetooth signal of on-vehicle Bluetooth equipment can be covered whole compartment.Because Bluetooth signal is non-directional, and unsettled phenomenon can occur, thus can allow the Bluetooth signal of part to leak outside the compartment of bus, but can not be too much.
At bus the GPS navigation device is set, be used for obtaining each information of the geographical position coordinates of bus constantly, one time set also is set on bus, this time set is used for obtaining on-vehicle Bluetooth equipment and searches bluetooth module (for example mobile phone that the actual passenger of this bluetooth module carries that a passenger carries for the first time, bluetooth earphone, bluetooth module in the bluetooth equipments such as bluetooth key) the moment, and obtain the geographical position coordinates information of the bus corresponding with this moment from the GPS navigation device, in the passenger takes bus the process of constantly advancing with bus, on-vehicle Bluetooth equipment is constantly searched for the bluetooth module in its range of signal, because the passenger is always on bus, so it can search bluetooth module (except the temporary transient interruption of signal) always, carrying bluetooth module up to the passenger gets off, leave the signal cover of on-vehicle Bluetooth equipment, then on-vehicle Bluetooth equipment no longer inquires the bluetooth recognition sign indicating number of bluetooth module, when on-vehicle Bluetooth equipment no longer inquires the bluetooth recognition sign indicating number of bluetooth module, think that then the passenger carries bluetooth module and gets off, calculate the search of on-vehicle Bluetooth equipment less than the moment of bluetooth module by time set, this be can be regarded as the moment that the passenger gets off constantly, perhaps will search during less than bluetooth module on once (for the last time) search the moment that moment of bluetooth module gets off as the passenger, from the GPS navigation device, obtain the geographical position coordinates information of the bus corresponding with this moment by this moment.
Interrupt causing searching for the problem that causes the on-vehicle Bluetooth Device Errors to be judged less than also being positioned at the bluetooth module on the car for the Bluetooth signal that prevents on-vehicle Bluetooth equipment is temporary transient, on-vehicle Bluetooth equipment need be set when the bluetooth module that continuous 3 times (other number of times also can) search is carried less than the passenger, think that namely this passenger carries bluetooth module and gets off, at this moment, on-vehicle Bluetooth equipment being searched for the last time the moment that moment of the bluetooth module that the passenger carries gets off as the passenger is more accurately.
Also be provided with treating apparatus on bus, described treating apparatus be used for to calculate on-vehicle Bluetooth equipment and searches bluetooth module that the passenger carries for the first time to searching the distance that interior bus of bluetooth module time period that the passenger carries travels for the last time.
Because bus travels according to permanent haulage line, so geographical position coordinates according to bus, be easy to calculate the station number that bus travelled, thereby can know the distance that bus travels easily, simultaneously, bus only just can stop when arriving at a station, so the residing geographical position coordinates of bus when searching the bluetooth module that the passenger carries for the last time according to on-vehicle Bluetooth equipment readily appreciates that the passenger at which station gets off.
Also be provided with wireless signal transmission on the bus, be used for bluetooth recognition sign indicating number and this bluetooth module of bluetooth module are sent to remote server with the distance that bus travels.Described wireless signal transmission can have multiple, as transmission of wireless signals such as WLAN, WIFI, can also be by GSM communication signal or the transmission of 3G communication signal, certain development along with the 3G mechanics of communication, it is with low cost to adopt 3G transmission of wireless signals data to have, the advantage that message transmission rate is fast.
Each bluetooth recognition sign indicating number all is that registration in advance is good and offer the deduct fees account corresponding with this bluetooth recognition sign indicating number, the bluetooth recognition sign indicating number of bluetooth module can be differentiated passenger's identity by the bluetooth recognition sign indicating number of bluetooth module in fact with regard to the passenger identity identification code.The bluetooth recognition sign indicating number of a bluetooth module can only corresponding account of deducting fees, and the account of deducting fees can corresponding a plurality of bluetooth modules.
The distance that remote server travels with bus according to bluetooth module is calculated with this apart from corresponding riding fee usefulness, and takes off corresponding expense with this distance from the account corresponding with the bluetooth recognition sign indicating number of this bluetooth module.In fact the distance that bus travels is exactly the quantity that equals the station that bus travelled.
Can realize the passenger is deducted fees by bus automatically by above-mentioned method, under the ideal situation, if each people who takes bus carries the bluetooth module that represents its identity, and in whole process, keep bluetooth module to be in opening always, can make that then the passenger does not need mass transit card is taken out in the process of getting on or off the bus, also need not to get on the bus from the Qianmen of bus, the passenger directly gets on the bus and gets off and can realize deducting fees automatically, thereby need not the steward passenger is carried out sectional fare, and the speed of getting on or off the bus accelerates greatly, improved the road speed of bus.
But in the real life, can not each passenger all can carry the bluetooth module that represents its identity (might leave behind, or deliberately be not with), do not carry the passenger of bluetooth module to being difficult to its charge, do not carry the bluetooth module that represents its identity if can not accurately distinguish which passenger, who passenger does not carry, and serious and the unfair irrational problem of charging then can occur stealing a ride.Another situation is, the passenger carries the device that for example bluetooth cellular phone, bluetooth earphone, bluetooth key etc. comprise bluetooth module, but the bluetooth recognition sign indicating number of the bluetooth module of these devices is not registered at server, with the bluetooth module of the account binding of deducting fees, can not deduct fees to it.Also have a kind of situation to be, if bluetooth module is arbitrarily opening and closing of passenger, the passenger who then has can be after getting on the bus soon, with closing of bluetooth module, cause the on-vehicle Bluetooth Equipment Inspection less than the Bluetooth signal of bluetooth module, then can cause system to think that the passenger gets off by mistake, will occur taking the problem that the distant passenger of distance deducts fees less like this.
Address the above problem, just need judge each passenger who has just got on the bus accurately and whether carry legal bluetooth module, the present invention proposes the principle of closely identifying in conjunction with existing RFID technology, the bluetooth module that each passenger who has just got on the bus carries is identified, and its legitimacy is verified.Concrete:
At the Qianmen of bus (in fact, it is also passable to be arranged on the back door, being arranged on the Qianmen is for convenience of the driver passenger to be brushed the RFID label to exercise supervision, if the back door also arranges, just needing to increase the steward exercises supervision, will increase human cost like this, but, if the passenger is more conscious or the passenger supervises mutually, then need not increase carry out steward supervision also can) the RFID reader is set, the passenger carries legal RFID label, this legal RFID label can carry out legitimate verification by the RFID reader, whether legal in order to identify the RFID label that the passenger carries fast, can only verify by the RFID reader of itself on the bus, the ID in the RFID label can not be sent to server and verify, so need verify by suitable cryptographic algorithm, this recognition technology is very ripe in existing RFID technology, does not repeat them here.
After the RFID label identified, if bluetooth module and RFID label are bound, can be by the legitimate verification of RFID label being verified the legitimacy of bluetooth module, for fear of the passenger bluetooth module and RFID label are separated, bluetooth module and RFID label need be electrically connected, simultaneously physical package together, when the passenger separates bluetooth module with the RFID label, the RFID tag damage can be caused, the checking of legitimacy can't be obtained.Certainly, the bluetooth recognition sign indicating number of the bluetooth module that is packaged together with the RFID label need be bound mutually with the account of deducting fees that represents passenger identity, so could realize deducting fees automatically by the bluetooth recognition sign indicating number of identification bluetooth module.
Because bluetooth module need of work power supply is powered to it, so also need power module (mainly adopting powered battery) and RFID label, bluetooth module are packaged together, be made into a mass transit card, the size of this mass transit card is identical with existing I.D. size, but thickness is thicker slightly than certificate card, and purpose is in order to hold the battery of model.
For convenience of people's carrying mass transit card, avoid the mass transit card water inlet and cause bluetooth module and RFID tag damage, need be with bluetooth module, power module and RFID label are sealed in the plastic casing, the interface that power module is charged is not set, so in order to guarantee the power-on time of electric power source pair of module bluetooth module, just need to adopt corresponding power-saving technique, bluetooth module of the present invention adopts ultra low power bluetooth module (Wibree), simultaneously, described RFID label is connected a control chip jointly with bluetooth module, after on-vehicle Bluetooth equipment searches bluetooth module, change paging state over to from query State immediately, on-vehicle Bluetooth equipment regularly (more excellent is designed to 1~3 minute) sends paging instructions to bluetooth module, when bluetooth module was not received the paging instructions of on-vehicle Bluetooth equipment transmission above the regular hour (more excellent design is 5~10 minutes), control chip control power module stopped to power to bluetooth module.
So design, the signal cover that makes bluetooth module be positioned at on-vehicle Bluetooth equipment just can be opened, and be the passenger RFID label just can be opened when the RFID reader, that is to say when having only real passenger to ride and just can open bluetooth module, and when not riding, bluetooth module can not opened, and has so just saved power supply greatly, has prolonged the serviceable life of power supply.
Closing of bluetooth module can be finished automatically, can not manually finish, and the unlatching of bluetooth module can be by manually finishing, for example can one button be set at mass transit card, this button is for generation of the trigger pip of opening bluetooth module, the passenger opened bluetooth module by pressing keys earlier before getting on the bus, deliberately do not open the problem of bluetooth module for fear of the passenger, so need design only after bluetooth module is opened, the RFID label could pass through the legitimate verification of RFID reader, after bluetooth module was opened, on-vehicle Bluetooth equipment namely can search the Bluetooth signal of this bluetooth module.
Because the non-directional and signal intensity instability of Bluetooth signal, the Bluetooth signal of on-vehicle Bluetooth equipment can not fully only be present in the compartment of bus, and it inevitably can leak into outside the bus, such situation may occur in actual operation:
A kind of people of being carry bluetooth cellular phone and drive to go together after certain distance with bus, because on-vehicle Bluetooth equipment can search the Bluetooth signal of bluetooth cellular phone, even bluetooth cellular phone is not on bus, but native system also can be identified as bluetooth cellular phone to be positioned on the bus and with bus and together to advance, native system will calculate the distance that bluetooth cellular phone is advanced with bus, and send it to long-range server, even the bluetooth recognition sign indicating number of bluetooth cellular phone is not registered in server, the problem that can not cause mistake to deduct fees, but so but can waste the flow of wireless signal transmission and remote server communication, increase the burden of the deal with data of system simultaneously.
On-vehicle Bluetooth recognition of devices on the bus also stores the bluetooth recognition sign indicating number of bluetooth module to the identification code of the bluetooth module of non-registered mistake in the described RFID label; The RFID reader reads the bluetooth recognition sign indicating number of storing in the RFID label and sends to treating apparatus; The bluetooth recognition sign indicating number that the bluetooth recognition sign indicating number that treating apparatus searches on-vehicle Bluetooth equipment and RFID reader read compares; The identical bluetooth recognition sign indicating number of the bluetooth recognition sign indicating number that reads with the RFID reader of finding out that on-vehicle Bluetooth equipment searches out, the residing geographic position of bus when the bluetooth module that calculating has this bluetooth recognition sign indicating number is searched for the first time by on-vehicle Bluetooth equipment, obtain this bluetooth module simultaneously and searched the residing geographic position of bus for the last time by on-vehicle Bluetooth equipment, further calculate bluetooth module with bluetooth recognition sign indicating number that the RFID reader reads by the on-vehicle Bluetooth equipment distance that bus travels in the time period that searches for the last time for the first time.
Checking to the legitimacy of described RFID label not only comprises the information of verifying label, whether by legal registration, comprise that also whether the bluetooth recognition sign indicating number of checking and the bluetooth module of this RFID label binding is by legal registration, whether the corresponding account of this bluetooth recognition sign indicating number is in normal condition (comprising situations such as whether expired and arrearage), and owing to the corresponding accounts information of bluetooth recognition sign indicating number that is arranged at the bluetooth module in the mass transit card is stored in the remote server, if so be transferred on the bus by the accounts information of network with this bluetooth recognition sign indicating number correspondence, obviously the slow excessively situation of speed can occur, be unfavorable for identifying fast and accurately the legal user who rides.So need the accounts information of bluetooth recognition sign indicating number correspondence be transferred to bluetooth module by wireless signal transmission and Bluetooth signal, and it is stored in the RFID label, could realize quick and precisely identifying the legal user who rides, avoid the problem that occurs stealing a ride.
Be dependent on above-mentioned principle, as shown in Figure 1, the present invention proposes the method that a kind of segmentation that takes bus is deducted fees automatically, this method comprises:
S1: legal RFID label and bluetooth module are coupled together by electrical number and be packaged together;
S2: bluetooth recognition sign indicating number and the account of deducting fees that represents passenger identity of bluetooth module are bound mutually;
S3: the button that obtains on the mass transit card is pressed signal, and the control bluetooth module is opened;
S4: by the RFID reader legitimacy of RFID label is verified, and made indication by sound or visual signal;
S5: obtain bus geographical position coordinates at any one time;
S6: search for the bluetooth module in the on-vehicle Bluetooth device signal coverage, and obtain the bluetooth recognition sign indicating number of bluetooth module;
S7: the bluetooth recognition sign indicating number that reads the bluetooth module of storing in the RFID label by the RFID reader;
S8: the accounts information that this mass transit card bluetooth module bluetooth recognition sign indicating number is sent to the blue identification code correspondence of this bluetooth module of server authentication;
S9: remote server sends the accounts information of described bluetooth module correspondence to the onboard wireless telecommunication equipment;
S10: the accounts information of described bluetooth module correspondence is sent to bluetooth module by on-vehicle Bluetooth equipment;
S11: with the accounts information of bluetooth module correspondence be stored in the RFID label for next time vehicle-mounted RFID reader the legitimacy of RFID label is verified;
S12: the bluetooth recognition sign indicating number that the bluetooth recognition sign indicating number that on-vehicle Bluetooth equipment is got access to and RFID reader read compares;
S13: the identical bluetooth recognition sign indicating number of the bluetooth recognition sign indicating number that reads with the RFID reader of finding out that on-vehicle Bluetooth equipment searches out;
S14: obtain the moment that bluetooth module with this bluetooth recognition sign indicating number is searched for the first time by on-vehicle Bluetooth equipment;
S15: on-vehicle Bluetooth equipment sends paging instructions to bluetooth module, and bluetooth module obtains to send after the paging instructions that on-vehicle Bluetooth equipment sends replys instruction;
S16: obtain the moment that bluetooth module with this bluetooth recognition sign indicating number is searched for the last time by on-vehicle Bluetooth equipment;
S17: calculate the distance that on-vehicle Bluetooth equipment travels to interior bus of the time period that searches this bluetooth module for the last time for the first time;
S18: the bluetooth recognition sign indicating number of this bluetooth module, device address and this bluetooth module of on-vehicle Bluetooth equipment are sent to remote server with the distance that bus travels;
S19: the device address of the distance of travelling with bus according to bluetooth module, the on-vehicle Bluetooth equipment on the bus and the bluetooth recognition yardage of bluetooth module are calculated with this apart from corresponding riding fee usefulness, and deduct fees from the account of binding mutually with the bluetooth recognition sign indicating number of this bluetooth module;
In the reality operation, anti-problem might appear sitting by bus in the passenger, the problem that perhaps occurs getting the station wrong and sat car or got off in advance, and when this thing happens, the passenger has to reselect an other bus and takes, for this situation, need carry out mark to each bus of each bar public bus network, and be provided with at least one on-vehicle Bluetooth equipment on each car, which bus what know namely that this passenger takes by the device address of analyzing on-vehicle Bluetooth equipment is, reselect another bus and judge whether the passenger sits anti-car by analyzing circuit that each bus advances and passenger again, the situation of sitting car or getting off in advance, and can deduct fees according to passenger's final distance of advancing (namely from the initial starting station to final docking station) that takes bus, the situation that can avoid the passenger to be treated unjustly deducting fees takes place.
So need carry out mark to the bus that the passenger takes, time of pausing between the other bus is transferred to the passenger in the device address of on-vehicle Bluetooth equipment and alternate distance is uploaded to server, by server passenger's situation is by bus analyzed, thereby calculated corresponding expense.
S20: when bluetooth module is not received the paging instructions of on-vehicle Bluetooth equipment transmission above the regular hour, close bluetooth module.
Equally, be dependent on above-mentioned principle, as shown in Figure 2, the invention provides the system that a kind of segmentation that takes bus is deducted fees automatically, this system comprises:
Mass transit card 21 in passenger's hand, the control chip 213 that this mass transit card comprises RFID label 211, bluetooth module 212, be connected with bluetooth module 212 with the RFID label, to the power module 214 of bluetooth module and control chip power supply and trigger the button 215 that bluetooth module is opened, control chip 213 obtains the signal of pressing of button 215, thereby control power module 214 is to the power supply of bluetooth module 212;
Be positioned at the RFID reader 22 on the bus, be used for reading the data of RFID label and the legitimacy of RFID label being verified, and make indication by sound or visual signal;
Be arranged at the GPS locating device 23 on the bus, be used for obtaining bus geographical position coordinates at any one time;
Be arranged at the on-vehicle Bluetooth equipment 24 on the bus, be used for the bluetooth module in the timing search on-vehicle Bluetooth device signal coverage, and obtain the bluetooth recognition sign indicating number of bluetooth module;
Be arranged at the time set 25 on the bus, be used for obtaining the moment that on-vehicle Bluetooth equipment searches the moment of legal bluetooth module for the first time and searches this bluetooth module for the last time;
Be arranged at the treating apparatus 26 on the bus, be used for calculating the distance that on-vehicle Bluetooth equipment travels to interior bus of the time period that searches same legal bluetooth module for the last time for the first time;
Be arranged at the wireless signal transmission 27 on the bus, be used for the bluetooth recognition sign indicating number of legal bluetooth module, device address and this bluetooth module of on-vehicle Bluetooth equipment are sent to remote server with the distance that bus travels;
Remote server 28, the bluetooth recognition yardage of the distance that is used for travelling with bus according to bluetooth module, the device address of the on-vehicle Bluetooth equipment on the bus and bluetooth module is calculated with this apart from corresponding riding fee usefulness, and deducts fees from the account of binding mutually with the bluetooth recognition sign indicating number of this bluetooth module; Described remote server also is used for the bluetooth recognition sign indicating number of bluetooth module is bound mutually with the account of deducting fees that the passenger rides, and the bluetooth module after the binding is legal bluetooth module.
Also store the bluetooth recognition sign indicating number of bluetooth module in the described RFID label 211; RFID reader 22 reads the bluetooth recognition sign indicating number of storing in the RFID label and sends to treating apparatus 25; The bluetooth recognition sign indicating number that the bluetooth recognition sign indicating number that treating apparatus 25 searches on-vehicle Bluetooth equipment 24 and RFID reader 22 read compares; Find out the identical bluetooth recognition sign indicating number of the on-vehicle Bluetooth equipment 24 bluetooth recognition sign indicating number that reads with RFID reader 22 that search out, the residing geographic position of bus when the bluetooth module that calculating has this bluetooth recognition sign indicating number is searched for the first time by on-vehicle Bluetooth equipment, obtain this bluetooth module 212 simultaneously and searched the residing geographic position of bus for the last time by on-vehicle Bluetooth equipment 24, further calculate bluetooth module 212 with bluetooth recognition sign indicating number that RFID reader 22 reads by the on-vehicle Bluetooth equipment distance that bus travels in the time period that searches for the last time for the first time.
On-vehicle Bluetooth equipment 24 sends paging instructions to bluetooth module 212, when bluetooth module 212 is not received the paging instructions of on-vehicle Bluetooth equipment 24 transmissions above the regular hour, closes bluetooth module 212.
Described vehicle-mounted RFID reader 22 comprises audio-video signal indicating device 221, and after the legitimacy of vehicle-mounted RFID reader 22 checking RFID labels, described audio-video signal indicating device 221 provides corresponding audio-video signal.
Onboard wireless telecommunication equipment 25 sends to this mass transit card bluetooth module bluetooth recognition sign indicating number the accounts information of the blue identification code correspondence of remote server 30 these bluetooth modules of checking;
Remote server 30 sends the accounts information of described bluetooth module correspondence to onboard wireless telecommunication equipment 25;
By on-vehicle Bluetooth equipment 24 accounts information of described bluetooth module correspondence is sent to bluetooth module 12;
The control module 13 of mass transit card with the accounts information of bluetooth module 12 correspondences be stored in the RFID label 11 for next time vehicle-mounted RFID reader the legitimacy of RFID label is verified.
In order to make the power in bluetooth module when work littler, the antenna of on-vehicle Bluetooth equipment can rationally be set in the compartment, make that the distance of bluetooth module that the passenger is entrained and on-vehicle Bluetooth equipment is nearer, make that bluetooth module emissive power when work is lower, like this then make supply module longer service life to the bluetooth module power supply, under normal operating position, can reach 5 years serviceable life, makes that commercialization prospect of the present invention is more wide.
In a word, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.