Embodiment
Below in conjunction with the accompanying drawings and embodiment describes the present invention in detail.
Fig. 1 is the composition frame chart of intelligent public transportation system provided by the invention.As shown in figure 1, intelligence provided by the invention is handed over
Way system(ITS)Including:Multiple intelligent bus station P1 ..., PM, multichannel are mounted with the bus B1 ..., BN of intelligent vehicle-mounted device
And the server S that bus station accuses center is arranged on, they are communicated by wireless network, and the wireless network includes moving
Dynamic data network, WIFI network, blueteeth network and 2.4G networks, wherein, intelligent bus station is arranged on such as public transit vehicle traveling
Road and parking lot near, it has multiple electronic direction boards, and each electronic direction board is shown i.e. to user by bus is prepared
Refer to by the position of the bus to arrive at a station, Customer information and the time about arrived at a station, and by the public transport train number to have arrived at a station to bus station
Report at control center;Car-mounted device is used to provide Traffic Information to driver and passenger, and in real time by the positional information of bus,
Customer information, information of vehicles are supplied to bus station to accuse the management server at center, are also carried with intelligent bus station to will reach
For positional information, passengers quantity and required time;Bus station accuses that the server at center receives intelligent bus station and vehicle-mounted dress
The information put, and command information and the communication information are provided to car-mounted device, provide transport information to intelligent bus station.
Car-mounted device is the offer device of Traffic Information, and car-mounted device constantly searches for the broadcast letter at intelligent bus station
Breath, when searching the information of relative bus station, the passenger data that will be ridden in bus station is supplied to bus
Driver;But also by bus number information(ID)(The bus number information is with bus way in association in public affairs
Hand over the registration of station charge center)Etc. being broadcasted.Intelligent bus station constantly searches for the broadcast message of intelligent vehicle-mounted device, works as search
To relative bus information when, arrive the number information ID of the bus of bus, position, Customer information and about
The time stood is shown that intelligent bus station also shows neighbouring bus station to the intelligent terminal of user on electronic direction board
Positional information is to guide user to find.When car-mounted device and the server of command centre of bus station establish communication linkage, it will receive
The dispatch command of command centre of bus station, and by the positional information of public transit vehicle, Customer information is supplied to command centre of bus station.
Fig. 2 is the composition frame chart at intelligent bus station provided by the invention, as shown in Fig. 2 intelligent bus provided by the invention
Stand including control unit 4, storage device 3, ROM5, RAM6, touch display screen 7, wireless communication unit(Including sending and receiving work(
Energy)1st, input block 8, WIFI module 9, bluetooth module 10 and/or 2.4G modules 39 and bus 2.
ROM 5 stores operating system (OS) required for the operational control at whole intelligent bus station, application program and each
Kind data, the application program include personnel's register information program to be multiplied and bus filter.
Control unit 4 is used for the operation for performing intelligent bus station, and it includes processor etc..RAM 6 is used as control unit 3
Working region.
Bus 2 is the transmission path for transmitting order and data between the components.
For input block 8 to input the information of personnel to be multiplied, it can be that Intelligent bus card presses close to circuit of swiping the card.User
When buying Intelligent bus card, the identity information of user and facial image information are also registered in association.Control is single
When member 4 detects the information of input block 8, the personnel's register information program to be multiplied stored in ROM is called, and guide user to input
Its Yao Chengmou roads bus, then control unit 4 personnel amount to be multiplied of the bus on corresponding road is added up,
Quantity information is then passed through into the first wireless communication unit(Including WIFI module 9, bluetooth module 10 and/or 2.4G modules 39)Extensively
Broadcast is gone, and is sent to management server by the second wireless communication unit 1.
The broadcast message of the car-mounted device of first wireless communication unit search public transit vehicle, when searching the wide of car-mounted device
When broadcasting information, control unit 4 calls bus filter, parsing car-mounted device ID(It is related to the circuit-switched data of bus
Connection), parsing is obtained bus ID and be compared one by one with bus ID in the storage device of bus station, if bus station pair
When answering bus, other data are further received, such as the current location information of bus, the temporal information that will be arrived at a station and public transport
Passengers quantity information on car etc., and display data content, otherwise return and re-search for.Second wireless communication unit 1 also passes through
ITS communication networks be connected to bus station accuse center management server, control unit 4 by the second wireless communication unit from
Broadcast message is received in management server, by received and storage into storage device 3, the broadcast message includes traffic and believed
Breath, Weather information etc..
Storage device 3 stores the coding information of multiple car-mounted devices(ID)And the positional information of bus station.Car-mounted device ID
It is the coding ID set for each car-mounted device, and qualification organization registers this ID with public transit vehicle in association.Vehicle-mounted dress
It is a kind of ID for identifying public transit vehicle to put ID, therefore, it is possible to obtain the information on public transit vehicle from car-mounted device ID.Intelligence
Energy bus station also has predetermined device numbering (ID), and when intelligent bus station broadcast message, while also by intelligent bus
Station equipment numbering (ID) is broadcasted.
Intelligent bus station is sent out the information and data of SSID (service set code) form successively in a broadcast manner
Information, the information of SSID forms are the route name information that control unit is sent to WIFI module, and it is following form:
Packet header+length+S/s+data+bag tail;
Data message is bus station's id information that control unit 4 is sent to WIFI module, and the form of data message is:
Packet header+length+P/p+data+bag tail
Wherein, the data in data message are packed using following manner:
The first step:The data transmitted will be needed to be defined to 32 bytes every time, data include the marking head and N words of M byte
The mark tail of section, the marking head of M byte can be the LOG information of company, and such as " bbtong ", its length parses bus station ID by public affairs
The length of the LOG information of department determines;It is also adjustable to identify the length N of tail;
Second step:Remove the marking head of M byte and the mark tail of N byte, each character to remaining 32-M-N byte
Distribute 6 positions, the corresponding 2 system numbers in each position, then share 6 ×(32-M-N)Position, corresponding 10 systems of front three of 6 positions
Ten, the individual position of rear three correspondences 10 system, then obtain a 10 system numbers;6 positions are converted into 1 64 system number, then
The concordance list of 64 systems is obtained, the present invention selects Arabic numerals 0 to 9, upper and lower case letter, sheer pole " _ " and cross bar "-"
Totally 64 characters are as 64 system numbers;
3rd step:Again to 6 ×(32-M-N)The corresponding storage content of bit allocation, the content stored include bus station
ID。
Car-mounted device ceaselessly searches for the broadcast message of bus station, and when searching the information of bus station's transmission, parsing is public
Station ID is handed over, and calls filter, parsing is obtained bus station ID in the storage device of bus station ID and car-mounted device and enters one by one
Row compares, if when car-mounted device corresponds to the bus station on road, further receives other data, and display data content, otherwise
Return re-searches for.Intelligent bus station also sends positional information in a broadcast manner, when user searches for certain on its intelligent terminal
During the bus of road, destination address of the intelligent terminal using the position at intelligent bus station as user, then user is guided to find intelligence
Bus station.
Fig. 3 is the composition frame chart of car-mounted device provided by the invention.As shown in figure 3, car-mounted device bag provided by the invention
Include control unit 13, storage device 12, ROM14, RAM15, display device 16, operating unit 17, navigation positioning unit 18, bus
Swipe the card unit 25, the front door display of unit 22, back door of swiping the card of interface 19, front door picture pick-up device 20, back door picture pick-up device 21, front door is single
Member 24, back door display unit 26, wireless communication unit(Including sending and receiving function)11st, WIFI module 40, bluetooth module 41
And/or 2.4G modules 42, bus 23.
ROM 14 stores operating system (OS) required for the operational control of whole car-mounted device, application program and each
Kind data.The application program includes time calculation procedure, accounting routine, Customer information program, bus station's filter etc..
Control unit 13 is used for the operation for performing car-mounted device, and it includes processor etc..RAM 15 is used as control unit 12
Working region.
Storage device 12 stores command information, broadcast message, the intelligent bus station ID received from bus station's charge center
Information and its positional information, car-mounted device ID etc..
System bus 23 is for interconnecting assembly and transmits the transmission path of order and data.
Navigation positioning unit 18 is used for the positional information for obtaining public transit vehicle in real time, and positional information is temporarily stored in
ROM, control unit 13 call time for storing in ROM14 to calculate application program, according to the current positional information of public transit vehicle, under
The positional information of one bus station and current traffic, which estimate, reaches the time that may need of the station, and by the temporal information
And the passengers quantity on public transit vehicle is packaged into data frame, then pass through the 3rd wireless communication unit(Including WIFI module 40, indigo plant
Tooth module 41 and/or 2.4G modules 42)Data frame is broadcasted.
Car-mounted device is sent out the information and data message of SSID forms, the letter of SSID forms successively in a broadcast manner
The route name information sent for control unit to WIFI module is ceased, it is following form:
Packet header+length+S/s+data+bag tail;
Data message is the car-mounted device id information that control unit is sent to WIFI module, and the form of data message is:
Packet header+length+P/p+data+bag tail
Wherein, the data in data message are packed using following manner:
The first step:The data transmitted will be needed to be defined to 32 bytes every time, data include the marking head and N words of M byte
The mark tail of section, the marking head of M byte can be the LOG information of company, such as " bbtong ";
Second step:Remove the marking head of M byte and the mark tail of N byte, each character to remaining 32-M-N byte
Distribute 6 positions, the corresponding 2 system numbers in each position, then share 6 ×(32-M-N)Position, corresponding 10 systems of front three of 6 positions
Ten, the individual position of rear three correspondences 10 system, then obtain a 10 system numbers;6 positions are converted into 1 64 system number, then
The concordance list of 64 systems is obtained, the present invention selects Arabic numerals 0 to 9, upper and lower case letter, sheer pole " _ " and cross bar "-"
Totally 64 characters are as 64 system numbers;
3rd step:Again to 6 ×(32-M-N)The corresponding storage content of bit allocation, the content stored include car-mounted device
ID.
The broadcast message of car-mounted device is ceaselessly searched for by bus station, when searching the information of car-mounted device transmission, public transport
The control unit parsing car-mounted device ID to stand, and bus filter is called, parsing is obtained car-mounted device ID and bus station
Storage device storage car-mounted device ID be compared one by one, if if when bus station corresponds to the car-mounted device on road, enter
One step receives other data, and display data content, otherwise returns and re-searches for.
EBI 19 is used to be connected with the bus of public transit vehicle, the information such as speed for obtaining public transit vehicle.
Unit 22 is swiped the card at front door and rear front door is swiped the card unit 25 records the website that passenger swipes the card for the first time by mass transit card,
The website that record passenger swipes the card for the second time, and the information is carried and is temporarily stored in ROM14, control unit 13 is called in ROM14
The billing application of storage, the expense paid according to required for the distance swiped the card secondary twice calculates passenger, then from card
Deduct, the expense and remaining expense that then control unit 13 is paid passenger are included at front door display unit 24 or back door
On display unit 26.Mass transit card also have recorded the identity information and facial image information of user in registration.
Front door picture pick-up device 20 is used to obtain the image information of passenger got on the bus from front door and the figure of in-car latter half
As information, and by image information storage into memory 12.Back door picture pick-up device 21 is used for the passenger's that acquisition is got on the bus from back door
The image information of image information and in-car first half, and by image information storage into memory 12.Control unit 13 is also
Image information is taken out from memory and display is shown in display device 16, to facilitate Bus driver to grasp the situation of vehicle.
Customer information program includes face recognition module, and the face recognition module is used for the face-image letter for identifying the passenger to get on the bus
Breath, control unit 13 is according to the facial image information identified and the passenger face stored from the mass transit card for record of swiping the card for the first time
Portion's image information is contrasted one by one, and if contrasting successful facial image information, then the passenger is sincere passenger, if than
To unsuccessful, then control unit 13 carries out card seeking operation using card seeking unit 28.Card seeking unit 28 is used to seek on public transit vehicle
Smart card is looked for, the smart card includes mass transit card, phonecard or China second-generation identity card etc., and will be recorded on searched out smart card
Passenger identity information swiped the card with first time record mass transit card on the identity information that stores be compared again, if right
Than successful, then it is " sincerity " passenger to record the passenger, if comparison is unsuccessful, records the passenger and " gets on the bus and do not swipe the card
Passenger " or " may be non-honest passenger ";Then control unit by the facial image information of the passenger with swiping the card for the second time(Under
Car is swiped the card)The passenger's facial image information stored on the mass transit card of record be compared and/or by the identity information of the passenger with
Swipe the card for the second time(Get off and swipe the card)The identity information stored on the mass transit card of record is compared, successful if contrasting, then
The passenger is " get on the bus the passenger not swiped the card ", and its riding fee is counted with from position during card seeking success and the position swiped the card for the second time
Calculate, if contrast is unsuccessful, the passenger is " non-honest passenger ", and second of unit 13 passes through the 4th wireless communication unit
The facial image information of the passenger and/or identity information are sent to management server by 11 by the 4th wireless communication unit 11.
Audio unit 27 accuses the public transport received the broadcast message of center reception, as transport information is handled then
Acoustic information is switched to by loudspeaker, it can carry out volume, the control of Jing Yin grade by operating unit 17.
Operating unit can be arranged on the button on car-mounted device.Operating unit 17 is based on the instruction life inputted by user
Into command input signals and input a signal into control unit 13.
It is used for the operation for controlling whole car-mounted device by CPU (CPU) composition controls unit 13.For example, car
The broadcast message put and also ceaselessly search for bus station is carried, when searching the information of bus station's transmission, parses bus station ID, and
Bus station's filter is called, parsing is obtained the bus station ID stored in the storage device of bus station ID and car-mounted device one by one
It is compared, if when car-mounted device corresponds to the bus station on road, further receives other data, and display data content, it is no
Then return and re-search for.
Read and be stored in memory cell 12 in a predefined order based on the command input signals for coming from operating unit 17
Command information, and transmit that information to audio unit 27.In addition, sounding can be exported stop signal by control unit 13
(such as reset signal) is sent to audio unit 27 (while does not have generation time to stop the output of the sounding of audio unit 27 immediately
Hysteresis).The command information read from storage device 12 can be deleted from memory cell 12 or is confirmed as unwanted instruction
Information.
Fig. 4 is the circuit diagram of card seeking unit provided by the invention.As shown in figure 4, card seeking unit includes card identification chip, day
Line and its filtering match circuit.Card identification chip uses MFRC522 chips.MFRC522 is connected by SPI modes with MCU, that is, is adopted
With 4 data lines, data wire MISO, data wire MOSI, clock line SCK, select lines NSS are connected.Supply voltage is 3.3 V,
So no longer needing the voltage conversion circuit of periphery, an external antenna and match circuit is simply filtered, you can realize and intelligence
The communication that can block.Filtering match circuit includes match circuit and EMC filter circuit.In transmitting portion, MFRC522 pin TX1
It is the 13.56 MHz carrier energies modulated by envelope signal with the signal sent on TX2, by L1, C8, L2 and C9 composition
The match circuit of filter circuit and C1, C6, C2 and C7 composition, so that it may be used directly to drive antenna L3.In receiving portion, make
With R1 and C10 to ensure that effect that the DC input voitage of Rx pins is maintained at VMID, R2 and C11 is to adjust exchanging for Rx pins
Input voltage.The RST ends of identity recognizer chip are connected to power supply VCC1 by resistance R4.
MCU receives MCU by the read-write to register in card identification chip come control card identification chip, ticket identifier chip
After the order sent, according to non-contact radio frequency cards protocol format, consolidated by antenna and its match circuit to nearby sending one group
The modulated signal (13.56 MHz) for determining frequency carries out card seeking, if with the presence of smart card, the LC resonance of smartcard internal in the range of this
Circuit (resonant frequency is identical with the wave frequency that identity recognizer is sent) produces resonance, in intelligence under the excitation of electromagnetic wave
It can constantly be charged in the presence of card internal voltage pump for the electric capacity of its other end, energy be obtained, when the capacitance voltage reaches 2 V
When, you can provide operating voltage as power supply for other circuits of smart card.
When there is smart card to be in the efficient working range of ticket identifier, MCU sends card seeking order to smart card, intelligence
Card will reply smartcard types, contacting for smart card and ticket identifier be established, if there is work of more sheet smart cards in antenna simultaneously
In the range of, identity recognizer selectes a sheet smart card by starting Anti-knocking mechanism according to smart card serial number, selected
Smart card carries out cryptographic check with identity recognizer again, it is ensured that identity recognizer has operating right and smart card to smart card
Legitimacy, and it is not selected, idle state is remained at, waits card seeking order next time.Password authentification is by afterwards, just
It the application operating such as can be written and read to smart card.
Card seeking unit also includes clock circuit, and stating clock circuit includes electric capacity C3, C4 and crystal oscillator Y1, wherein, C3
First end be connected with crystal oscillator Y1 first end and be connected to MCU XTAL2 pins, C3 the second end and the of C4
One end is connected, and is connected to ground;C4 the second end is connected with crystal oscillator Y1 the second end and is connected to MCU XTAL1
Pin.
Card seeking unit also includes reset circuit, and reset circuit includes electric capacity C5 and resistance R4, wherein, electric capacity C5 first end
Power supply VCC1 is met, electric capacity C5 the second end is connected to MCU RST reset terminals, is also grounded through resistance R4.
Fig. 5 is the composition frame chart of management server provided by the invention, as shown in figure 5, bus station's management server includes
Input block 37, output unit 38, wireless communication unit 31, control unit 33, storage device 32, ROM 34, RAM35, display
Unit 36 and system bus 39.
Input block 37 includes one or more keyboard, mouse, input interface etc. and inputs various data and refer to
Order.
Display device 36 is used for display data, message etc..Output unit 38 includes interface of connection printer etc..
Wireless communication unit 31 is connected to car-mounted device and intelligent bus on multiple buses by ITS communication networks
Stand, transport information, command information etc. are sent to intelligent bus station and intelligent bus, and it is public from intelligent bus station and intelligence
Hand over car receive information.
Storage device 32 includes the storage device of such as hard disk unit, and stores car-mounted device ID, intelligent bus station ID
And its they send transport information, personal information etc..Storage device 32 also store intelligent bus positional information and
Neighbouring geography information etc..
ROM 34 store various data required for the operational control of whole management server, operating system (0S) and
Operation sequence.RAM 35 is used as the working region of control unit 33.System bus 39 be used between the components transmission order and
The transmission path of data.
The management server provided in the present invention also includes the common communications network for passing through such as telephone wire and internet
Communication module with to be communicated with external equipment, to obtain various information.
Embodiments of the invention are only used for task of explanation, and do not limit the scope of the invention.It is for example, vehicle-mounted for operating
Device, bus station, the entirety of management server or a part of computer program can be stored in such as distribution
Storage card, CD-ROM, DVD, MO (magneto-optic disk) computer readable recording medium storing program for performing in, and computer program can be mounted separately
So that computer operation car-mounted device, bus station in outer computer.In addition, program, which can be stored in, is included in internet
On disk set etc. in, program is sent to the meter as car-mounted device, bus station by the way that program is superimposed upon on carrier wave
On calculation machine.
The present invention is described in detail above in association with accompanying drawing, but specification is only for explaining claims.But this
The protection domain of invention is not limited to specification.Technology of any one skilled in the art in present disclosure
In the range of, the change or replacement that can readily occur in, it should all be included within the scope of the present invention.Therefore, it is of the invention
Protection domain should be defined by the protection domain of claims.