Scheme of Charge Management System of All-in-one Card for the High School Affiliated to Jinggangshan College
[ad_1]
1. Basic profile of the school
The High School Affiliated to Jinggangshan College intends to use all-in-one card fees for the sale of meals in the new and old student canteens, student bathroom baths, student water and electricity bills, medical treatments, campus shopping, etc.; among them, there are 22 selling points on the first and second floors of the new canteen, and the old canteen. There are 26 food outlets on the first floor, 10 food outlets on the second floor, 7 shops on the first floor of the new cafeteria, 1 shopping charge point each, 1 charge point on each floor of the bathroom, and 4 charge points for the boiling water room. , A total of 94 toll points. In the next semester of 2005, there will be about 5,000 students in school. School leaders put forward strict requirements on the stability of the system’s software/hardware, the security of the database, and the scalability of the system’s functions.
In response to the above situation, we decided to use the “non-contact IC card logistics charge management system” as a solution.
2. Features of non-contact IC card
Non-contact IC card, also known as radio frequency card (RF card for short), is an integrated circuit card that transmits data in a wireless manner. It has unique advantages such as data processing and security authentication functions.
The RF card is in a non-contact operation state when reading and writing, avoiding misoperations such as reading and writing errors caused by poor contact, and avoiding the influence of external harsh environments such as dust and oil on the reading and writing card.
The operation is simple and fast: the RF card adopts wireless communication mode, and there is no direction requirement when using it, so it is very convenient to use.
Anti-collision: The RF card has a fast anti-collision mechanism, which can prevent data interference between cards, so the terminal can process multiple cards at the same time.
Convenient for one card for multiple purposes: There are multiple partitions in the RF card, and each partition has its own password, so different partitions can be used for different applications, realizing one card for multiple purposes.
1. High reliability: There is no mechanical contact between the card and the reader, avoiding various failures due to contact reading and writing. For example: failures caused by rough card insertion, non-card foreign object insertion, poor contact caused by dust, oil stains, etc.; there is no exposed chip on the card surface, so there is no need to worry about chip falling off, electrostatic breakdown, bending damage, etc.;
2. Convenient and fast operation: due to the non-contact communication, the reader can operate the card within the range of 1cm-10cm, so there is no need to insert and pull out like an IC card; there is no directionality when the non-contact card is used, and the card can be arbitrary The direction sweeps across the surface of the reader, which can greatly increase the speed of each use;
3. Anti-collision: There is a fast anti-collision mechanism in the radio frequency card, which can prevent data interference between the cards, so the reader can “simultaneously” process multiple non-contact radio frequency cards;
4. Wide range of applications: The memory structure characteristics of the radio frequency card make it one card for multiple purposes; it can be applied to different systems, and users can set different passwords and access conditions according to different applications;
5. Good encryption performance: The serial number of the radio frequency card is unique, and the manufacturer has solidified the serial number before the product leaves the factory, and cannot be changed; the radio frequency card and the reader adopt a two-way verification mechanism, that is, the reader verifies The legitimacy of the radio frequency card, at the same time the radio frequency card also verifies the legitimacy of the reader; before processing, the card and the reader must be mutually authenticated three times, and all data is encrypted during the communication process. In addition, each sector in the card has its own operating password and access conditions.
3. The system structure and workflow
(1) The following is a simplified network structure diagram
The POS charging machine and the computer management host are connected through a serial network. When selling meals, each window machine works independently. After the meal is sold, the computer management host collects the sales status of each window machine through the network and summarizes them to form a report of the day.
(2) Work flow
(3) POS charging machine and working method
1. Performance indicators
Support various RF cards that comply with the ISO-7816 standard.
Both sides of the display are 2X5 LEDs, which display the receivable amount and the balance in the card respectively.
16-key computer keyboard.
The storage capacity is 32K, which can store 8,000 transaction records.
The power supply is 220V AC, with a backup rechargeable power supply.
With power-down data protection function. ? RS-232 or RS-485 interface.
It has the function of inputting dish number and unit price. ? 30,000 blacklist downloads and query functions.
2. Working method
(1) Calculator method: The waiter directly enters the amount on the POS charging machine, accumulates, and settles.
(2) The way of inputting the dish number: the waiter inputs the dish number from the keyboard, and the amount will be displayed on the charging machine.
(3) Automatic input method: The waiter only needs to supervise, and the charging machine displays the automatic charging amount.
(4) Simple input method: The waiter enters the set number, and the toll machine displays the amount.
3. Work process of POS charging machine
(4) All-in-one card charging management system functions
1. Summarization function: summarize the collected data.
2. Report printing: print individual, current day, on-duty, current month summary reports, and personal increase bill printing.
3. Management card summary: Input the data in the management card into the computer to form a management library.
4. Card management function: write the user’s prepayment, renewal, etc. into the card.
5. Library management function: query, add, delete and other functions of each database in the system.
6. Data download function: Transmit system information to each terminal.
7. Window monitoring function: monitor the switch status and data collection of the terminal.
8. Set operator and administrator passwords and authority levels.
9. Automatically save the database after power failure.
10. Different consumer passwords can be set for each card, and passwords are required for excess consumption.
11. Lightning protection function.
12. Bathroom POS charging machine with automatic timing function, no need to add computer management.
Fourth, the company’s unique technical advantages
1. System security: Regardless of IC card or radio frequency card, cash is stored in the card, so anti-counterfeiting has become an important sign of system security. General companies (according to the company’s products that our company has replaced the system) use simple encryption, change the transportation password, that is, the factory password to another password, and issue it. All cardholders’ cards are a new password, and the system can be attacked. Strong sex. Our company uses the bank’s advanced DES encryption algorithm. Through the system code, system key and card number, a random number is calculated by the DES algorithm as the key for the new card. Each card has a password, which makes the system deciphered. The probability is almost “0”.
2. System reliability
A. Reliability of card data reading and writing: No product can reach 100%, no matter IC card or radio frequency card, there is a possibility of error when reading and writing the card. Therefore, how to avoid errors or how to make up for errors becomes work. Focus. Our company has adopted a series of designs in the circuit of the card reading and writing from stable power supply to reading and writing protection to ensure that the possibility of error is minimized. At the same time, it adopts the idea of using eight transaction balance cycles in the card to ensure that the card gold is written large. Alarm for small or small amount, and the service life of the card can be increased by more than 8 times at the same time.
B. Reliability of offline data storage of window machines: IC card and radio frequency card systems do not rely on the network like magnetic cards and photoelectric cards, but offline operation brings higher requirements for data storage reliability. To ensure the safe storage of data, our company takes the following measures:
B1. Increase the cost, use RAM with its own power supply, and no longer need the power supply of the window machine.
B2. Use storage dual backup to store data to another chip.
B3. Data loss is often due to the loss of RAM pointers. Our pointers are stored in up to nine places in RAM; three places are stored in the clock chip. As long as the pointer is in one place, the data can be ensured, and the reliability of the data of the device where the pointer is only stored in one place is improved several times.
C. Network reliability: The network adopts parallel wiring, and the open-circuit communication chip is used in the window machine to prevent the single machine from being busy. Although it increases the cost, it can ensure that the single machine communication failure does not affect the entire network.
3. Measures to solve the loss report exceeding the capacity of the window machine: Units with a large amount of cards lose more cards per semester, and the storage capacity of the window machine is limited. How to deal with the loss report when the window machine is full.
A. Introduce the concept of batches: Set a batch of students as a batch. When the students leave school, the batch number will be reported as lost, and the batch of students will be removed from the loss reporting database.
B. Change the system code and key: use the conversion machine to change the system key or system code, and convert the current card through the conversion machine to convert the key; at the same time download the new system key and system code to all window machines; after conversion The card can continue to be used on the window machine. The loss report card cannot be converted on the conversion machine, nor can it be used on the window machine where the parameters are re-downloaded, so the loss report library can be cleared.
4. Reading and duplicate checking function: a serious network failure during data transmission causes data loss is another way for the system to make mistakes. In order to prevent this situation, our company has added a re-reading function in the hardware design; using this function, all data of the window machine can be re-collected, and at the same time, the software has added the function of checking duplicate data.
5. Necessity of using backup battery: In the past, 220v power supply has been short-circuited. Even with UPS power supply, the normal sale of meals cannot be guaranteed; with the backup battery, it can not only guarantee the sale of meals, but also gain time for overhauling the lines. .
6. According to the sorting function: user misuse in use causes serious problems in the accounts. This function can restore the accounts as much as possible through some algorithms.
7. System anti-interference ability: The switching power supply is added to the machine to make the variable voltage range wider, avoid the machine heating phenomenon, the machine performance is more stable, the filtering performance is improved and the circuit protection is assisted to further strengthen the anti-interference ability, especially For radio frequency card machines.
8. System scalability: The system adopts a dual CPU design concept. One main CPU is responsible for all functions of the window machine operation, and the other auxiliary CPU is responsible for card operation. Because of years of engineering experience and product improvements, all are realized by the program in the main CPU. When the system is upgraded, no changes are made to the main CPU program, so that the system upgrade can be realized quickly, and its performance will not decrease compared with the previous product after the upgrade.
For more information, please contact: Jiangxi SECCO Smart Card Technology Co., Ltd.
System integration line: 0791-6496110 (ten lines), 13803507610 (Mr. Guo)
[ad_2]