In the application of the campus card, it often involves the integration of multiple subsystems. There are many problems in the integration, such as inconsistent interfaces, different communication methods, and different databases, etc., which have always been a difficult problem for system integrators. This article will take the one-card system of Guanghua Building, Fudan University as an example, and introduce the system components and functions one by one.

Case overview

The Guanghua Building of Fudan University was built on the Handan Road North Campus of Fudan University. The whole building is divided into two floors underground and 30 floors above the ground, with a total construction area of ​​about 110,000 square meters. It is a comprehensive building integrating functions such as office, scientific research, teaching, and public reception.

Guanghua Building of Fudan University consists of two high-rise conjoined main buildings and east and west auxiliary buildings. The main building has 30 floors, except for the data reading area in the middle connecting body, the rest are scientific research office areas. The east and west podiums are 6 floors and 8 floors respectively, the west podium is the teaching area, and the east podium is the reception, meeting and scientific research area. The basement floors of the east and west podium buildings are garages and level 6 civil air defense bunkers during wartime, and the basement floors and second floors of the main building are equipment rooms and garages.

The main service objects of the one-card system in Guanghua Building, Fudan University are internal staff, and the system mainly realizes comprehensive management functions such as access control, attendance, patrol, parking lot, and conference sign-in. The whole system has 1087 access control points, 186 online patrol points, 4 in and 4 out of the parking lot, and the system needs to be linked and integrated with IBMS, fire protection, and CCTV.

After nearly three years of operation, the entire system has received good feedback from customers, and the cooperative operation with the building’s IBMS system is also stable and reliable. The system also withstood the test of Fudan University’s centennial celebration in 2005.

System composition

The all-in-one card system is developed on the basis of a large or super large access control system, and the network controller of the important equipment of the system works based on the TCP/IP network. The system is only in one network segment (such as the network segment with IP address:, and the access control management can reach 7620 doors (254×30). If each door can be controlled by two-way card reading, it can be installed 15240 card readers.

Each network controller is set with an IP address, and can be modularly connected to 15 controller devices, such as: 15 access controllers (two-door controllers), I/O linkage controllers, etc. The RS485 communication between the lower controllers and the network controller adopts an efficient event trigger mechanism, and one network controller can control 30 nodes (gates).

The system complies with industrial standards, and the control and judgment are all completed by the network controllers. Failure of one or more network controllers will not affect the normal work of other network controllers. The network controller uses a stable and efficient industrial-grade embedded RSIC

32BitCPU, the system also joins the self-diagnosis mechanism of the equipment, which can achieve intelligent and timely detection and elimination of faults.

In case of emergency, the network controller access controller and card reader are equipped with emergency card function. Even if the system is disconnected in multiple places, each controller can still run normally offline, and each controlled door can still be controlled normally.

The network controller completes the judgment and logic control of the system, and its operating system does not use the popular Windows or Linux platform, which enables it to effectively keep hackers and computer viruses out.

The system also adopts the whole-process data encryption technology, and the communication between the card reader and the access control controller, and between the access control controller and the network controller is fully encrypted.

In order to adapt to the trend of intelligent system integration, the system has designed an I/O controller, which can be randomly connected to any position of the network to complete complex multi-system linkage, such as with CCTV, fire protection, alarm, equipment management, etc. System linkage (see Figure 1).

system integration

1. Data exchange with the campus network system

In the project, it is necessary to exchange personnel data with the campus network system of Fudan University. However, considering the security of the campus network, the communication between the two systems can only be carried out at a relatively independent physical network level, and is not directly connected to the campus network of Fudan University. Therefore, This also brings certain difficulties to the data exchange of the system.

During the implementation of the system, the XML method was adopted to import all the school department and personnel data into the one-card system database at one time. When the school personnel data changes, write the basic information of the personnel into the corresponding personnel card, and then take the card to the special data card reader of the system to swipe the card to read in, and the software will read the personnel read by the card reader Information is automatically updated to the database, thereby completing data exchange and updating (see Figure 2).

2. Linkage with the video surveillance system

When an emergency occurs at a certain access control point, the system has an alarm linkage function. In addition to the linkage video monitoring and real-time recording of the image of the event point, the access control system can also switch the corresponding camera signal to the designated monitor to realize the linkage function. .

The system provides a SOCKET network interface for third-party integrators. Through this interface, the status information of each device in the system can be obtained in real time. In this project, since the system runs on an independent physical network, in order to be able to send information to the monitoring system through the network, a server is specially set up as an integrated server. This server is connected to the card system network and Monitoring system network. The real-time information of all devices in the system is sent to the monitoring system integration software through SOCKET, and the monitoring system integration software performs conditional comparison and filtering on the information, and then performs corresponding video linkage processing (see Figure 3).

3. Integration with IBMS system

IBMS is the core of the building intelligence system and belongs to the highest monitoring and management of the entire IB system. It integrates each subsystem into the same management platform through a distributed network, and establishes a central monitoring and management interface for the entire building. Through a visualized and unified graphical window interface, the system administrator can easily and quickly realize the monitoring, control and management functions of the integrated functional subsystems in the building and the corresponding lower-level functional systems.

Due to the high degree of intelligence of Fudan Guanghua Building, it is required that the IBMS system can obtain the status signals of each subsystem in real time. The one-card system can provide OPC SERVER, and the IBMS system can obtain the status of all devices in the one-card system in real time through the standard OPC interface.

In the Fudan project, due to the large number of points, there are many corresponding devices, so all the devices are grouped in the OPC server, the area is used as a large range, and then the floor is divided, and then the equipment type is divided, and in In the OPC SERVER, the name of the point is directly expressed in Chinese, which is convenient for the integration designers of the IBMS system and speeds up the integration progress of the system.

The entire Fudan Guanghua Building has more than 1,000 access control doors, and each door has 4 detection points: door magnetic detection, relay output, alarm output, and door open button. In addition, there are about 1,100 card readers and about 4,000 hardware linkage input and output points. There are about 600 equipment status points, and a total of about 13,000 various points that need to be reflected on the OPC SERVER. The status of these 13,000 points must be provided to the IBMS system in real time.

The system can work on 100M network, and adopts advanced event monitoring and response mechanism. The network controller NCU can automatically convert the status of each device into an event message, and send it to the OPC SERVER in real time. The OPC SERVER only needs to open several ports to listen and respond to the message. In this project, there are more than 90 types of events corresponding to various state changes of all field devices. After all these events occur, they can be reflected in the IBMS system within 1 second, which truly achieves real-time response.

A single standard server of OPC SERVER can support real-time status detection of 20480 points, and the server adopts an intelligent execution scheduling strategy, so that with the cooperation of multi-port communication, the IBMS system can quickly obtain the status of each device.

The OPC SERVER server also uses advanced memory cache technology and memory index table technology in software processing to update the device status changes to OPC CLIENT in a timely manner, which ensures the real-time performance of device status changes reflected in the IBMS system from the software .


The early access control system emphasized the stability of the system, and generally only had basic access control functions. With the continuous maturity of access control technology, the access control system has been very strong in terms of stability, and on this basis, it has continued to expand, and derived subsystems such as attendance, consumption, parking, elevator control, patrol, and meeting sign-in, forming today’s “All-in-one card” has also launched a complete software and hardware interface for integration with other systems, which is also one of the important trends in the future development of access control systems.

Responsible editor: gt

Leave a Reply

Your email address will not be published.