News Navi
Current Location

Parking Management System Design and Optimization

Release time:2006.09.23 News sources:RFID (China) information technolege Co., Ltd Views:
Parking Management System
     Contactless IC card management system for the car park is a fast and efficient, fair and accurate scientific and economic means to manage the parking lot, parking for vehicles is both active and passive management integrated; from the user's point of view, its highly efficient service to close Costs transparent, accurate; from the manager's point of view, easy to operate to maintain its high degree of automation, reduce labor intensity of the managers, fundamentally put an end to the phenomenon of the loss of ticketed for speeding up settlement of the current difficulties facing the parking The issue has been very positive.

     Parking Structure Management System 1.1

     The system is non-contact IC card reading and writing equipment, special equipment and car park management car park management system software. Non-contact IC card reading and writing equipment and car park management component of special equipment management system on the basis of the underlying hardware. Parking Management System software to achieve a state detection equipment, vehicle control and data processing functions. Car park management system structure shown in Figure 1.



Figure 1 car park management system chart

     1.2 The working principle

     Parking management software using WINDOWS operating platform, management systems through the addition to the system controller in charge of import and export with the reader and card-issuing machine communications, at the same time, is also responsible for the collection and processing on-site parking spaces, as well as on the electronic screen in charge of issuing the corresponding The signal control, in charge of the statements issued by the printer control signals, data acquisition car at the same time to download, print query statements, statistical analysis, system maintenance and fixed-function cards available for sale, and so on. The system software can automatically will be acceptable to the data collated, sorted and reasonable; to facilitate the functions of inquiry. Managers can query the functioning of the parking lot, receivables, fixed number of cards in and out, time and card balance, and so on.

     Its working principle is the use of contactless IC card in the vehicle and when they go out into the records of the time difference, calculated the cost of parking at a cost of formula: (time to go into a time) × price the cost of a receivable. Including the basic functions of the unit to fill in information, user fees and types of settings, set the type of vehicle, the owner file management, set up road junction, the chart shows, and statements and print functions.

     1.3 system development environment and tools

     The system is used in the system development environment and tools for Delphi 7.0 and MS SQL Server 2000. MS SQL Server2000 databases and development tools Delphi 7.0 provides a stored procedure, in which the database server-side processing records, and then return the results to the client. By using stored procedures, on the one hand, the server can use the powerful computing power and speed, on the other hand, to avoid a large amount of data downloaded from the server to the client to reduce the transmission network, the server will only result to the client, the A lot of efficiency.

     2 workflow system design

     Admission is 2.1 workflow design

     2.1.1 of the provisional admission card workflow

     ① user driving a vehicle into the parking lot, stopped at the entrance to card-issuing machine Department. Card check by the driver button, the entrance to the access control card detection signal to the computer terminal fee check card issued an order, access to a computer, after the entrance to the card-issuing an order issued by the card-issuing machines, card-issuing machine will issue a card user.
     ② Office users to wait for the reader IC card reader to read the user's card number and send it to the computer.
     ③ charges of computer terminals to confirm the effective user IC card number, video capture card to capture control of the vehicle at the time of admission image, charging through the computer terminal controller to control the import of electric fence up, the user drive into the parking lot.
     ④ user driving a vehicle into the parking lot after the electric fence will be put down automatically. Charges of computer terminals to receive electric fence down the movement of information, confirmed the admission process has been completed. As a result the number of users before the admission time and admission to the preservation of images in the database, and admission to increase the number of vehicles 1, to complete the admission process.

     2.1.2 long-card entry workflow

     And the temporary admission card is basically similar to the process, the user only when no admission from the entrance check card issuing machine, as long as they have to apply for long-term users of the cards in non-contact IC card reader with the card readers within the framework of an effective Antennas across the , The reader will read the card number to the user, a computer terminal to verify charges by the IC card number can be effective after the admission.

     2.2 out workflow design

     Under normal circumstances, the functions of the parking fee with the exit of all people on duty, faced special circumstances, can be dealt with man-made, so the car park management system in the vehicle out in the process of the main consideration is how to make the charges more quickly , And more accurate and can be effective in preventing vehicle theft.

     3 system to optimize the design

     3.1 Admission is designed to optimize workflow

     Admission to the vehicle, should focus on the prevention of non-contact Ic card and the loss of normal non-issue to prevent the unauthorized use of cards Ic. Therefore, the system in order to optimize the admission process:

     (1) set up the "export": the right to set different reader controller to control the relay, the use of the system more flexible and convenient, but also conducive to future expansion.
     (2) Add "card is opened," the judge: No. 1 is to distinguish in the car park management system has enabled card; No. 2 is to prevent other owners take the carpark over the use of the card.
     (3) Add the "statute of limitations to determine card" in order to improve the procedures for the processing speed, and when the card-issuing machines to prevent damage to the temporary card has been issued to users, resulting in user access card, the card reader can not, can not enter the parking Field, and once again could not take cards.
     (4) added, "whether or not to be valid" in order to determine the effective control of the user of the card is valid, not the life Ic card issued by the loss recorded in the black card to prevent theft.
     (5) to add "anti-inversion" in order to determine the realization of "one car a card", that is, when the user holds the card from the standard approach, if it is not out will not be able to once again approach, which would prevent certain users from the standard approach after To the back of the card owner, this time by adding black card to prevent theft. Optimization flow chart in Figure 2.



Figure 2 admission parking optimization process map

3.2 out of work to optimize the design process

     Parking Management System export managers charge fees in order to ensure the accuracy and the prevention of vehicle thefts, carried out the following process optimization. Optimization process shown in Figure 3.



Figure 3 car park management system diagram optimized flow out

     (1) added, "has admitted" to determine the appearance, to determine whether the approach has been, if there is no standard approach there is no need to deal with the other, the procedure to save processing time.
     (2) add "type vehicles" in order to judge the distinction belongs to the large-scale car or small truck, as different models of the occupied parking space are different, their charges should also be different, to distinguish between different charges.
     (3) Add the "image contrast" to determine the vehicle out into the image contrast, the effective prevention of vehicle thefts.
     (4) added, "Currently, the types of charges," judge, that is, the charging system is confirmed, according to the appropriate mode for charging.
     (5) to add "free of charge time" to judge: There are a number of car parks if owners may want to stop just a few minutes, do not want to charge, can be related settings, if you want to cancel this function can be removed.
     (6), add "stored-value customers," judge, that is recognized as stored-value customers, the total direct parking, car owners in the recharge card, the card automatically every time the consumer Koufei.
     (7), add "balance of less" determine, that is recognized as "stored-value customers," card balance is low or "temporary user" automatically pop-up window charges.

     3.3 running code optimization

     Delphi 7.0 with the preparation of the code, the code should be optimized so as to enhance the management system software running speed and reduce system resource consumption and enhance the stability of the system.

     Optimized code: to make full use of 32-bit variable; as far as possible not to use the type of sub-domain; too complicated Expression will prevent the automatic compiler optimization, this time to consider the introduction of temporary variables to simplify the expression; extended a large (10 bytes If there are 12 bytes of code alignment), read and write operations are slow, is the enemy of optimization, and extended to the Delphi code has aligned bug. As a result, unless it is absolutely essential, do not use extended; the process of local calls will bring additional stack operation. It is therefore necessary to move forward the process of local, and then use the parameters need to pass the variable; make full use of the process or function, reduce duplication of the preparation of the code. As far as possible to reduce the use of unnecessary procedures, can be shared as far as possible to share.

     Artificial image contrast with the 3.4 image database technology

     Artificial image contrast features parking lot is the use of computer graphics technology to the user database and card number corresponds to the user when the vehicle admission snap image files stored in the database system, so that when they played in the manual for more than a technology. The use of artificial image contrast features of the significance of this function is to ensure that the charging of vehicles between the media and can only correspond to the formation of the relationship between the prevention of vehicle theft in car parks so as to improve the management of the parking lot security level of the mouth.

     In a large number of traffic or parking lots, day in and out of the parking lot of vehicles may be as many as several hundred or even thousands of vehicles, if the person does not keep a database of vehicle information in a picture processing, database will be changed Very large, open the database will lead to slow down when, at the same time the process will slow processing speed. So people keep the database table format is a JPG picture format, each about the size of the average picture for the 6 ~ 9 kB, if the picture quality better BMP format, each image the size of the average of at least 100 kB, respectively, and out of each vehicle Need to save two pictures, add up to at least 200 kB, as long as 6 out of the vehicle, the database will increase to about 1M. Jpeg files to access the database, and in dbimage in qrdbimage can not show the normal jpeg files, for the borland restrictions, although the use of section 3 components to be able to meet the requirement, in jpeg files DELPHI access to the database, to Jpeg file storage, but also in the image display, but access to a db-type image on the display components will not work, we can jpeg files into the database before into bmp file, and then deposited into your database. Running environment delphi7.0 + ado + SQL Server database storage picture field for the type of image.

     4 Conclusion

     Using structured system development methods, object-oriented programming for ways to build a prototype system, and then carry out needs analysis, and improving constantly, until the formation of a viable system. The security system has a user login module, a convenient user interface, easy-to-use features of the module. After the test run and to prove that the car park management system is simple, user-friendly, better security, in line with the basic needs of users, to different users in accordance with the authority to complete the admission of vehicles, vehicle information inquiries, add , Modify, print statements, system maintenance and sale of fixed-card functions, and basically meet the needs of the car park management system. In order to prevent non-IC card theft and loss of normal use, in order to guarantee exports accuracy of management fees and prevention of vehicle thefts in the design of the system software on a system of admission processes have been optimized, such as add anti-reverse, Whether the statute of limitations for the card and the card is valid, such as whether the judge.