The IC card has the advantages of high security, large capacity, anti-interference, and convenient reading and writing. After rapid development in recent years, a variety of card types have been formed, and multiple application modes coexist. At present, IC card application systems are mostly small and medium-sized systems, such as dining charging systems, door control systems, consumer management systems, and the like. The application fields of IC cards are becoming more and more extensive. However, due to the lack of unified planning, “one card is used more” has not been realized, resulting in “one person and multiple cards”, which is extremely inconvenient to store and use. In order to realize "one card multi-energy", an effective technical solution based on distributed multi-layer structure system is explored. This paper combines IC card card information management service system, adopts object-oriented analysis and design ideas, mainly from architecture and implementation technology. The planning and design of the IC card management system with distributed multi-layer mode is discussed.

1 System Planning

The non-contact logic encryption card CICC has the characteristics of long service life, low cost, safe and reliable, strong anti-interference ability and convenient use, and is an ideal card type for realizing "one card multi-energy". The system selects 1KB storage space non-contact logical encryption card, and its data storage structure is as follows: The storage area of ​​the logical encryption card is divided into 16 storage sectors, numbered from 0 to 15, and each sector is divided into four data blocks, each The block occupies 16 bytes. The number of blocks in each sector is 0 to 3, and the third block is used as a reserved data block for recording system authentication and read/write control codes. Generally, user data cannot be stored in the block, and the 0th sector is The 0 data block is a reserved data block of the card manufacturer and does not support the user's write operation. This has a total of 64 data blocks in a card (their absolute address numbers are 0 to 63). In the card, the data block is the smallest unit of storage, and when used, the card read and write operations are performed in units of sectors.

System hardware devices should be equipped with card readers, computers, network devices, and so on. The machine has four types of card issuing machines, attendance machines, access control machines, and consumer machines to realize different functions of reading and writing cards. Each implement is connected to a computer to form a relatively independent application function site. The computers are connected to each other through the network to realize mutual communication between the functional sites. In this way, the implements, computers, and IC cards are connected and communicated through the network to form a whole, which constitutes the hardware service platform of the entire system. In the network configuration, the system is equipped with a computer server dedicated to the data storage of the system; in addition, a server is configured as an application server for communication and control with the database server and each application function site; In order to make full use of the existing enterprise network resources of the enterprise, speed up the construction progress and reduce the cost, the original enterprise network server can be used as a WEB server and connected with a dedicated server in the system, so that each workstation in the enterprise network can access the data in the database through the browser. .

Because the traditional client/server architecture-based application system is not maintainable and the system is not scalable, the system adopts distributed structure planning, which divides the execution of the entire application system into several different parts and executes them in different In the machine, the distributed structure based system has better flexibility and adaptability, and the system is more maintainable and reusable and can achieve load balancing. The design adopted based on this idea should include a computer client application that connects the implements for data collection, data processing, and system initialization settings; provides an environment for executing enterprise objects, and provides core services, including transaction management, Application server programs for security services, fault tolerance and load balancing; and web server programs that provide browser pages; and database management systems for database storage backups. The overall planning of the system is shown in Figure 1:

Planning and design of one-card system based on distributed multi-layer structure

Figure 1 Overall plan of the system

2 system design

System design includes database design, application server design, web server design, and client application design.

2.1 Database Design

Page 1 of 2

Pet Daily Necessities

Smart Cat Litter,Pet Water Food Feeding Bowl,Maze Dog Bowl,Pet Food Bowl

NINGBO BRIGHT MAX CO., LTD. , https://www.smartrider-equinebrush.com