1. Consumption: including restaurant meal consumption, bathhouse bath consumption, supermarket consumption, infirmary, stadium charges and so on.
2, identification category: new student registration (digital orientation), book lending, dormitory and teaching building access control and attendance recognition.
And the use of campus cards are mostly mifare cards, according to the information stored in the card is divided into ic card and id card:
1, IC card is an integrated circuit card, through the integrated circuit in the card to store the information, this type of card stored in a variety of personnel information and account information, and the application of the terminal (consumer, attendance machine) interaction needs to be uploaded to the database in the table of information about the personnel, making the database synchronized with the card, interacting with the database. The database is synchronized with the card, and the interaction with the database is not timely enough to batch upload data.
2, ID card is an identification card, the card only stores an account information, each interaction with the application terminal needs to interact with the database, the application terminal of this type of card must be real-time networking, write the campus card design, recommend this card. Database to build a set of interrelated tables, making it possible to store complete personnel information, personnel information, the main fields since the less include: name, student number, class information, card number, account amount (consumption amount), consumption of a variety of state information (), the type of authority (attendance authority, cafeteria consumption authority, bath consumption authority, access control card privileges), etc., the consumption record table, including the transaction flow, the time of the transaction, transaction location, transaction amount, etc..
Card record table includes transaction flow, transaction time, transaction place, transaction amount, etc.
Card and consumption terminal interaction process:
1. Authentication: According to the category of the application terminal, the interaction database takes out the account authority category and judges whether it is qualified.
2. If the authentication passes, upload the consumption amount entered on the consumption terminal, and the platform compares the uploaded amount with the account balance extracted from the database to determine whether the amount is reasonable.
3. The platform automatically operates the database to change the account balance and related information after consumption.
Note: The recharge process of one card is the same as the consumption process, purely hand-knocked, welcome to adopt, 一卡通业务方面问题可以powerliu@163.com.