Improvement of the standard parts library architecture The architecture of the standard parts library adopts the C/S network structure, that is, the client/server structure. As a practical standard parts library, database confidentiality and user rights management are essential. There are two forms of access to the server: the first one: let the client directly access the server-side database and the Ftp file server, the program development is small, and the system is simple and stable. However, the security of the data cannot be guaranteed, and the database data and the template files on the Ftp server can be easily stolen. The second type: using the server program on the server side, the client program accesses the server program, the server program completes all access to the database, the security can be guaranteed, but the complexity of the server program and the load of the server are greatly increased, and the reliability decline.
The standard parts library architecture combines the advantages and disadvantages of the two architectures. This paper proposes a "controlled connection" approach. The server program is added to the server side, but the server program is only responsible for the control of the permissions when the user logs in. When the client logs in, the server sends a message of the user name and the user password entered by the user, and when the server program receives the client message, accesses the user list in the database. If the user identity is confirmed, the database password, Ftp server password and the user's authority are sent to the client, and the client directly accesses the database and the Ftp server after obtaining the password, and activates the corresponding function module of the client. The server program also has a simple management user function, which can control the number of user nodes, reject a user's application, and delete an online user.
Yantai Ciso Lubrication Technology Co.,LTD , https://www.cisolubrication.com