Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of payment of the curb parking based on cell-phone customer terminal implementation method is provided, solve curb parking management and be subject to region limits and the high problem of implementation cost, also solved input telephone number and parking stall trombone simultaneously and be not easy to the problem of remembering.
The present invention solves its technical matters and takes following technical scheme to realize:
A curb parking payment implementation method based on cell-phone customer terminal, comprises the following steps:
(1) the transfer server that stops is set up parking interim data storehouse, specifically comprises the following steps:
1. in parking interim data storehouse, set up all parking lot informations in compass of competency, comprise the affiliated province in this parking lot, city, district, street, parking lot title, parking lot numbering;
Define respectively several test points 2. to each parking lot, and measure the DGPS positional information of these test points;
3. test point positional information is saved in to parking interim data storehouse, and by corresponding one by one to itself and affiliated parking lot;
4. obtain the position range in each parking lot, comprise longitude and latitude, locus coordinate range, this locus coordinate range is formed by the locus combinatorial coordinates of each test point;
5. the position range in each parking lot is saved in parking interim data storehouse;
6. for parking lot, independent error district, the corresponding unique parking lot of mobile phone position information, in its parking interim data storehouse, parking lot type should be labeled as self, and parking interim data storehouse is recorded as man-to-man relation;
7. for parking lot, combined error district, the corresponding parking lot of mobile phone position information quantity is multiple, and in its parking interim data storehouse, parking lot type should be labeled as mixed type, and parking interim data storehouse is recorded as the relation of one-to-many;
8. for parking lot, independent error district, car item allows to repeat between each parking bill payment server, and for parking lot, combined error district, the car item in each parking lot is unique;
(2) the payment mobile phone client software that stops is enabled on machine client foreground;
(3) cell-phone customer terminal backstage connects DGPS differential server request acquisition mobile phone position information;
(4) mobile phone position information is returned to cell-phone customer terminal backstage by DGPS differential server;
(5) by cell-phone customer terminal backstage, mobile phone position information is sent to parking transfer server;
(6) stop transfer server according to mobile phone position information retrieval parking interim data storehouse to determine the bill payment server that stops under this cell-phone customer terminal, and retrieve corresponding parking payment database-name and return to cell-phone customer terminal backstage;
Whether described parking payment database stores each parking space information in compass of competency, comprise car item, parking stall title, cell-phone number, payment date, deduct fees;
(7) on cell-phone customer terminal foreground, input parking stall cornet and backstage and connect parking bill payment server;
(8) the parking stall cornet that the bill payment server that stops sends according to cell-phone customer terminal foreground carries out the locking of target carriage item and location expression information, and using Query Result as needing the information that user confirms to return to cell-phone customer terminal backstage;
(9) cell-phone customer terminal backstage receives after the confirmation of parking bill payment server, calls short message interface, sends it to third party's mobile phone operators;
(10) third party's mobile phone operators sends to cell-phone customer terminal client foreground to confirm user's confirmation;
(11) receive after confirmation on cell-phone customer terminal foreground, parking bill payment server under confirmation is sent to;
(12) the bill payment server that stops is received after confirmation, carries out corresponding fee deduction.
And described car item is made up of ten above numerals, comprise province, city, district, street mark, parking stall mark.
Advantage of the present invention and good effect are:
1, this parking fare payment system, by third party DGPS differential server positioning function and cell-phone customer terminal payment software, only needs user simply to input parking stall cornet, can reach the object of succinct operation, High-effective Service.
2, this parking fare payment system is by third party DGPS differential server positioning function, the parking stall range of search of server end dropped to minimum, becomes wide area query and search into query and search among a small circle, thereby improved the reaction velocity of curb parking fare payment system.
3, this parking fare payment system does not need to use contactless card, has saved implementation cost and labor management expense.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is further described:
A kind of curb parking fare payment system based on cell-phone customer terminal, as shown in Figure 1, comprise cell-phone customer terminal, third party DGPS differential server, parking transfer server, parking bill payment server, cell-phone customer terminal and third party DGPS differential server, parking transfer server, parking bill payment server adopts wireless mode to communicate to confirm mobile phone position information, target parking lot information, target carriage item information, this wireless mode can adopt 3G communication mode to realize, cell-phone customer terminal is connected with third party's mobile phone operators server by calling the third-party interface of sending short messages, the form receiving with note is confirmed parking space information.
Below each ingredient of this curb parking fare payment system is described respectively:
The payment client software that stops is installed in cell-phone customer terminal, as shown in Figure 2, this parking payment client software is made up of contact bed, interface layer and logical layer three parts, and described contact bed comprises waits for linkage unit (initialization), input cornet unit, parking stall, confirmation information unit.Interface layer comprises connection DGPS server interface, connects parking transfer server interface, connects parking bill payment server interface, receive mobile phone position information interface, receiving target parking lot information interface, receive current parking space information interface, receive SMS confirmation information interface, send request positional information interface, send mobile phone position information interface, send parking stall cornet information interface, send and confirm short message interface.Business Logic comprises acquisition location information services logic, obtains affiliated parking lot service logic, obtains current parking stall service logic, calls third party's SMS service logic, confirms current car item service logic, thereby realizes the business function that connects DGPS server, connection parking transfer server, connects parking bill payment server; Realize the mobile phone position information that receives DGPS server and return, the business function such as current parking lot information, the parking stall confirmation that reception parking bill payment server returns that reception parking transfer server returns; Send mobile phone position information, send parking stall cornet information, send to third party the business function that short message interface sends calling interface information, sends user's confirmation to parking bill payment server to parking bill payment server to parking transfer server.
Parking transfer server, as shown in Figure 3, comprises parking interim data storehouse, test point position logging modle, parking lot position range acquisition module, transfer retrieval module.Described parking interim data storehouse is for storing longitude and latitude data and the locus scope in each parking lot in coverage; Described test point position logging modle, for several test points are divided in each parking lot, records respectively longitude and latitude data and the volume coordinate position of each test point with DGPS; Described parking lot position range acquisition module is for being combined into each number of test points certificate of same parking lot longitude and latitude data and the locus scope in this parking lot; Described transfer retrieval module is for retrieving the corresponding parking lot of the mobile phone position information of uploading.
The major function of parking transfer server is:
1, in parking interim data storehouse, set up all parking lot informations in compass of competency, comprise the affiliated province in this parking lot, city, district, street, parking lot title, parking lot numbering.
2, define respectively several test points to each parking lot, and measure the DGPS positional information of these test points.
3, test point positional information is saved in to parking interim data storehouse, and by corresponding one by one to itself and affiliated parking lot.
4, obtain the position range in each parking lot, comprise longitude and latitude, locus coordinate range, this locus coordinate range is formed by the locus combinatorial coordinates of each test point, for example, get rectangular four groups of apex coordinates (X1, Y1, Z1, X2, Y2, Z2, X3, Y3, Z3, X4, Y4, Z4).
5, the position range in each parking lot is saved in to parking interim data storehouse.
6, for parking lot, independent error district, the corresponding unique parking lot of mobile phone position information, in its parking interim data storehouse, parking lot type should be labeled as self, parking interim data storehouse is recorded as man-to-man relation, for example, retrieve in the position range which parking lot this positional information be included in, if belong to this parking lot position range according to cellphone subscriber's positional information, the information of returning to the current parking lot of cell-phone customer terminal, comprises title, numbering etc.
7, for parking lot, combined error district, regard the parking lot of the N in combined error district as a parking lot, be referred to as combined parking field, combined parking field position coordinates should be after the combination of N parking lot, to get extension N test point position coordinates as position range, now, the corresponding parking lot of mobile phone position information quantity is not 1 but N.
8, for parking lot, combined error district, in its parking interim data storehouse, parking lot type should be labeled as mixed type, and parking interim data storehouse is recorded as the relation of one-to-many.
Realize the foundation in parking interim data storehouse by above-mentioned steps.
9, the positional information of sending when cell-phone customer terminal is in the time mixing parking lot position range, and parking transfer server sends mobile phone position information the some sub-parking lot of mixing parking lot simultaneously.
The method that parking transfer server obtains position, parking lot as shown in Figure 4, comprises acquisition methods and the combined error district parking lot location method of position, parking lot, independent error district, describes respectively below:
The position range method of determining parking lot, independent error district, as shown in Figure 5, realizes by following steps: step 1, select rectangle A, B, C, tetra-test points of D; Step 2, Select Error scope are 10 meters; The position range on step 3, acquisition tetra-summits of DGPS is (xa+10, ya+10, za+10), (xb+10, yb+10, zb+10), (xc+10, yc+10, zc+10), (xd+10, yd+10, zd+10); Step 4, get the position range in Wei Gai parking lot, volume coordinate position, above four summits.
Determine combined error district parking lot location method, as shown in Figure 6, realize by following steps: step 1, select A, two parking lots of B, two parking lots are at a distance of 60 meters; Step 2, Select Error scope are 5O rice; Step 3, to get A parking lot A1, B1 be test point, and B parking lot A2, B2 are test point; Step 3, in the time that error range is 50 meters, there is common error district in two parking lots: M point had both dropped on A error band, also dropped on B error band; Step 4, get A1 locus, A parking lot coordinate respectively; B2 locus, B parking lot coordinate, C2 locus, C parking lot coordinate, D1 locus, D parking lot coordinate, as follows as the total position range in two parking lots: (xa1+10, ya1+10, za1+10), (xb2+10, yb2+10, zb2+10), (xc2+10, yc2+10, zc2+10), (xd1+10, yd1+10, zd1+10).
Parking bill payment server, as shown in Figure 7, comprises that the payment database that stops, payment retrieval module, user confirm module, data forwarding module.Wherein, described parking payment database is for storing each car item in current parking lot; Described payment retrieval module is for retrieving the corresponding relation of parking stall cornet and parking stall trombone; Described parking stall confirms that module is for storing the parking stall acknowledgement indicator that user returns, according to the management work of deducting fees accordingly of this mark; Described data forwarding module sends to payment user mobile phone number information etc. in vehicle administration office's server.
The function of parking bill payment server is:
1, in each parking space information in payment Database compass of competency of stopping, comprise car item, parking stall title, cell-phone number, payment date, whether deduct fees etc., wherein car item can be made up of ten above numerals, comprise province, city, district, street mark, parking stall mark, respectively account for as required 2 to 3 bit digital, wherein, the label in province, city, district, street must keep uniqueness between each parking bill payment server, can not have double sign to occur; The definition mode of car item is as follows: for parking lot, independent error district, car item can repeat between each parking bill payment server, for example, the car item in each parking lot can be 1 to No. 100, and the uniqueness that the uniqueness of its car item identifies with province, city, district, street above determines; And for parking lot, combined error district, the prerequisite of its definition is in same province, same city, same district, same street, their label is common like this, therefore, the car item in its each parking lot just must have uniqueness, and can not repeat, each parking position number should be defined according to order of seniority among cousins in an extended family order, ensure the uniqueness of the car item in each parking lot in mixed zone by the method.
2, set up the table of comparisons of above information, namely every group of Chinese descriptor that numeral is corresponding.
3, in traversal parking payment database, whether position, the end car item of all parking stalls is identical with the parking stall cornet of user's input, if so, and successful inquiring;
4, Query Result information is returned to cell-phone customer terminal, comprise positional information (current parking stall place province, city, district, street) and car item (parking stall trombone).
5, user's confirmation (be or no) is saved in to the payment database that stops.
6, the cell-phone number of confirming payment is forwarded to third party vehicle administration office server, carries out auto deduction by this server.
A curb parking payment implementation method based on cell-phone customer terminal, as shown in Figure 8, comprises the following steps:
(1) the payment mobile phone client software that stops is enabled on cell-phone customer terminal foreground;
(2) cell-phone customer terminal backstage connects DGPS differential server request acquisition mobile phone position information;
(3) mobile phone position information is returned to cell-phone customer terminal backstage by DGPS differential server;
(4) by cell-phone customer terminal backstage, mobile phone position information is sent to parking transfer server;
(5) stop transfer server according to mobile phone position information retrieval parking interim data storehouse to determine the bill payment server that stops under this cell-phone customer terminal, and retrieve corresponding parking payment database-name and return to cell-phone customer terminal backstage;
(6) on cell-phone customer terminal foreground, input parking stall cornet and backstage and connect parking bill payment server;
(7) the parking stall cornet that the bill payment server that stops sends according to cell-phone customer terminal foreground carries out the locking of target carriage item and location expression information, and using Query Result as needing the information that user confirms to return to cell-phone customer terminal backstage.
(8) cell-phone customer terminal backstage receives after the confirmation of parking bill payment server, calls short message interface, sends it to third party's mobile phone operators;
(9) third party's mobile phone operators sends to cell-phone customer terminal client foreground to confirm user's confirmation;
(10) receive after confirmation on cell-phone customer terminal foreground, parking bill payment server under confirmation is sent to;
(11) the bill payment server that stops is received after confirmation, carries out corresponding fee deduction.
As shown in Figure 9, the actual mechanical process of user in the time of bicycle parking comprises:
1, enter cell-phone customer terminal interface (requiring in advance parking payment mobile phone client software to be downloaded software to mobile phone);
2, the DGPS differential server to be connected such as, and automatically complete following processing procedure:
A, cell-phone customer terminal backstage connect the request of DGPS differential server and obtain mobile phone position information;
Mobile phone position information is returned to cell-phone customer terminal backstage by B, DGPS differential server;
C, by cell-phone customer terminal backstage, mobile phone position information is sent to parking transfer server;
D, parking transfer server, and retrieve corresponding parking payment database-name and return to cell-phone customer terminal backstage to determine the bill payment server that stops under this cell-phone customer terminal according to mobile phone position information retrieval parking interim data storehouse;
When after successful connection, mobile phone client software interface can point out user to input current parking stall cornet.
3, user inputs parking stall cornet, then between cell-phone customer terminal backstage and parking bill payment server, automatically carries out following work:
The parking stall cornet that A, parking bill payment server send according to cell-phone customer terminal foreground carries out the locking of target carriage item and location expression information, and using Query Result as needing the information that user confirms to return to cell-phone customer terminal backstage.
B, cell-phone customer terminal backstage receive after the confirmation of parking bill payment server, call third party's interface of sending short messages, and send it to third party's mobile phone operators;
User's confirmation is sent to cell-phone customer terminal foreground by C, third party's mobile phone operators;
4, cell-phone customer terminal obtains carrying out confirmation operation after the confirmation of parking stall, and cell-phone customer terminal backstage sends to confirmation affiliated parking bill payment server automatically; Parking bill payment server is received after confirmation, carries out corresponding fee deduction.
It is emphasized that; embodiment of the present invention is illustrative; instead of determinate; therefore the present invention is not limited to the embodiment described in embodiment; every other embodiments that drawn by those skilled in the art's technical scheme according to the present invention, belong to the scope of protection of the invention equally.