Summary of the invention
The present invention seeks to provides a kind of inquiring system for car that waits simply and easily to bus passenger.The user who waits for bus AT STATION, even the user is not AT STATION as long as send the public transport train number that will take by SMS to certain service centre, (most of public transport are same routes to this bus travel direction, come and go and to travel, public transport for one-way line, travel direction is a redundant information), the station of desiring to get on the bus, will be very fast the accurate answer of acquisition service centre, this answer comprises the temporal information that exist in service centre from the station information of the firm process of the nearest public transport of passenger and this information this moment at least, this time means that this public transport just passed through the time at station in the return information concerning the user.Thus, the passenger can probably predict the time of advent of public transport, considers the factor that public transport has traffic congestion to incur loss through delay, and the passenger also can repeatedly inquire about if needed, to obtain the state of current public transport.
The system constructing cost of this invention is low, and very big actual application value is arranged, the life that can greatly be convenient for people to, and outstanding behaviours exists:
A) can greatly alleviate the irritable psychology that the passenger waits for bus
B) people can more reasonably arrange the travel time by this inquiry
C), provide rational basis for whether changing the vehicles in some urgent occasion
D) provide certain normative reference for the public transit system scheduling
E) need not any location technology, cost reduces greatly.The positional information of returning is unit with the station, but by returning the information life period of service centre, can improve position precision.
F) to the user, the method for use is a SMS, so this application can be suitable for all cellphone subscribers, service centre also can support a spot of manual telephone system inquiry certainly.
E) because the route of people's daily routines is often identical, want information inquiring identical at every turn, can in mobile phone, store the message template of an inquiry, realize key inquiry.
To achieve these goals, concrete steps of the present invention are as follows:
The first step: easy vehicle-mounted module is installed on bus;
The public transport in current most cities has had the function of calling out the stops, and the realization of this function is realized by manual trigger switch that by driver or crew the liquid crystal display screen in the car shows corresponding station and is broadcast to passenger in the car then; The public transport in most of cities has also had Wireless Telecom Equipments such as GPS, radiovision.Based on present situation as above, only need carry out very small-sized function and embed, just can pass to service centre to the information that current public transport arrives a certain station by wireless network, for inquiry.Even function can not realize embedding, an independent information sending module cost is also very low.
Second step: obtain the support of wireless carriers, realize message transmitting procedure;
The each information data amount that produces of vehicle-mounted module is very little, and for a public transport, transmission of Information is not ceaselessly to carry out, and transmission primaries just after only need arriving at a station is so require lower to the bandwidth of network etc.Current wireless communication technology is very ripe, and each mobile operator can both provide this service.
Third step: service centre is to the processing of data message;
Bus information by wireless network transmissions is aggregated into service centre, and service centre safeguards that according to certain algorithm a real-time database stores the positional information of all public transport, inquires about for user terminal.
The 4th step: user mobile phone terminal provides specific Query Information;
The mobile phone terminal platform is not had specific (special) requirements, and it is just passable to possess SMS.The information that only needs the user time to provide in inquiry comprises public transport train number, the station of target, bus travel direction such as desire and get final product, and its inquiry concrete form is not fixed, and the back will be done further explanation to this.
Embodiment
Below the invention will be further described:
1. public transport vehicle-mounted unit
Board units is exactly the hardware module that realization information transmits in each public transport, and should there be following function each car-mounted terminal unit:
A) the route site information of local in store this public transport muchly, each website all corresponding a unique ID, be exactly the sequence number of station board bus loading zone.The station ID of certainly, different public bus networks can be identical.
B) travel direction of public transport record this moment because most of public transport is same line to be come and gone and travel, having only minority is one-way line, for those one-way lines certainly its direction be a definite value.Like this when public transport is arrived at a station, pass information by driver or crew's trigger switch to service centre, just can comprise correct site information.
C) has the function that initiatively sends current location information to service centre.Initiatively so-called, can be when public transport is arrived at a station, cause information initiatively to mail to service centre by driver or crew's manual trigger switch, the function of board units also can initiatively be inquired by service centre in addition.Consider that in fact a public transport can be inquired about by many people in the short period of time, do not advise using passively proposing inquiry by service centre.
D) public transport vehicle-mounted unit is as information source, and the information of its generation must comprise public transport running number, travel direction, the station information of process just, the license plate number of public transport.Positional information refers to the station of the firm process of this public transport, is to be unit with the station, and in order to improve precision, service centre is writing down the time span that this station has been passed through in this public transport.
When e) information that produces when board units can not send by the existing wireless device of public transport, board units must use independent information sending module, has had little, low in energy consumption, the cheap hardware product of volume to realize this function on the current market.
F) consider the situation that has minority wrong report station, this situation often service centre can contrast the information record that once produces before this car and infers out, send customizing messages to board units then, board units should have certain prompt facility to come the affirmation at respond services center, as flashing light or LCDs, point out the public transport crew so that error message is corrected.
2. wireless network transmissions
Because each public transport vehicle-mounted unit wants data quantity transmitted less, and just when arriving at a station, send positional information, so bandwidth requirement is very low.Can adopt that rate are low, the mobile phone wireless mobile network of wide coverage, the user can use Short Message Service with communicating by letter of service centre, and board units can be determined on a case-by-case basis with communicating by letter of service centre.
3. service centre
Service centre is exactly a database that focuses on the public transport positional information of entire city, its every record comprises numbering ID, train number NO, the travel direction DI RECTI ON of each public transport, interchange of position information LOCATION and time span TIME, the license plate number NUMBER PLATE of this public transport that this information has existed in service centre of firm process that originally is recorded in the database, and is as follows:
ID |
NO |
DIRECTION |
LOCATION |
TIME |
NUMBER?PLATE |
2451 |
361 |
1 |
8 |
00:03:24 |
XXX |
The implication of its expression is that this record is the 2451st record in the database from left to right successively, train number is 361 bus, direction 1 expression forward, promptly travel to Wangjing science and technology undertaking area by the Ba Gou village, just through station, Da Zhongsi (Station XXX ID is 8), just through station, Da Zhongsi 3 minutes and 24 seconds, this information was sent by license plate number XXX public transport.
Attribute DIRECTION represents the travel direction of this public transport, and the forward here, oppositely can to define from the direction of sending out the terminus of standing be forward, otherwise be oppositely, 1 expression forward, and-1 expression is reverse; Attribute LOCATION represents the numeral number at station.
After receiving the information of public transport vehicle-mounted unit, service centre will handle parsing to information earlier, and purpose is to extract Useful Information, because the inquiry form of user's input is not unique (as following as described in the user terminal).Handle storage according to certain algorithm again.Maintenance algorithm is that after the information that receives certain public transport transmission, its record in the generation of last station of deletion earlier adds the information of this generation in the database to then.Delete the record that last station produces, can search for by the number-plate number and carry out deletion action again.
The query requests of response user mobile phone terminal, according to train number, travel direction information, target station information in the request, search database is returned from the nearest recorded information in target station.Searching method is, be as the criterion with Station XXX, the direction that increases from the target station by distance is as the criterion, search successively, up to qualified record is arranged, for example certain user plans at the station, Da Zhongsi 361 tunnel public transport that (corresponding station ID is 8) takes forward travel, whether have in the so first search database that train number is 361, travel direction is 1, Station XXX is 7 record, if do not have, whether search has that train number is 361 again, travel direction is 1, Station XXX is 6 record, this process is inquired about after revising querying condition exactly again, up to there being qualified record to return.Qualified record may more than one, then selects to be no more than 3, record that TIME is bigger and returns to user mobile phone terminal.And when sending Query Result, the station full name of Station XXX LOCATION correspondence is also sent to the user in the lump in service centre.In addition, the Query Result that returns can also comprise other supplementarys, and for example current public transport infers that according to the speed that this public transport is travelled at last station this public transport arrives the possibility time at target station from the distance at target station.
In view of the function of service centre, necessarily require the very strong stability that has of service centre, can bear a large amount of concurrent visits.
4. user terminal
User terminal is intended to provide a convenience, simple inquiry mode to the user, and the available mobile phone of popularizing is very much made in user terminal, the station information that user terminal should provide train number, travel direction, the desire of inquiry public transport to ride in once asking.The present invention is based on the method for short message service, its advantage is: at first, most mobile phones are all supported SMS, so this realization has generally supportive, and the resulting result of some GPS location technology is on terminal during display result, the mobile phone software and hardware is had certain requirement, and city map is presented at the user experience that mobile phone screen does not often reach expection, positioning accuracy is also very big to cost impact; In addition, use way of short messages, make that the cost of inquiry system is lower.
Below the method based on short message service is further described, is intended to allow the user easy to use, simple, and the suction parameter of inquiry is provided to service centre.Basic process is to send to the service specified center by writing note, obtains the message reply of service centre then.
At first, the destination address of note is the number of service centre, and this informs the user by propaganda in advance; Secondly, the train number that input is desired to take in note is such as No. 361 automobiles.
Then, input direction information.The travel direction of public transport that the user waits can with+,-represent respectively to travel forward or backwards, perhaps represent forward, oppositely respectively with 1 ,-1, as long as appoint, with other easily symbol also be fine.The travel direction of this station public transport of arrow visible marking all can be arranged on the general public transport stop board, can define like this, if the direction that the direction of arrow and Station XXX increase be in the same way just think forward, oppositely then think oppositely.
At last, the input user desires at which station to get on the bus.For convenience, can import the numbering ID of station on station board, also can import the name full name at station.
Above narration is a fundamental method, for example waits 361 the road to go to Wang Heqiao (station ID of correspondence is 22) at Bei Taipingqiaoxi (corresponding station ID is 12), its short message enquiry can for: 361+ Bei Taipingqiaoxi also can be 361+12.For top example for convenience, such as certain user also in office, it wonders the current location that oneself will be taken pubic transport, it perhaps must not remember the ID or the direction arrow of station board bus loading zone, so when inquiry, can import 361 Bei Taipingqiaoxi fully and hope and bridge, also can import 3611222, can obtain correct answer equally.The improvement of these specific implementations only need be done some simply perfect getting final product to the processing resolution rules of service centre.
The content that is not described in detail in this specification belongs to this area professional and technical personnel's known prior art.
The above only is preferable enforcement of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.