摘 要 介绍了利用asp.net和vb.net技术开发的用户日志管理系统,实现了对自定义格式数据库系统的动态管理,使得对日志信息的管理更加及时、高效,提高了工作效率。
关键词 asp.net;vb.net;自定义;日志;数据库
自定义日志管理的数据库设计
自定义日志系统是校园网一卡通系统中机房刷卡子系统的一个基于b/s开发的功能模块,该系统的后台数据库为自定义格式的数据库系统。数据库中主要的用户表和日志表的结构如下:
| structure fixuse '用户表 public id as integer '用户id <vbfixedarray(15)> public nocard() as byte '卡号 <vbfixedarray(15)> public nouser() as byte '学号 <vbfixedarray(15)> public name() as byte '姓名 <vbfixedarray(15)> public psw() as byte '密码 public dept as integer '部门id public attr as integer '机房总管 public attreex as integer '机房总管扩展 public money as integer '帐户金额 public power as integer '用户权限 public powerex as integer '用户权限扩展 public moneyex as integer '帐户金额扩展 <vbfixedarray(31)> public rev() as byte '系统, end structure structure fixlog '上下机、交费日志表 dim id as integer '流水号 dim type as integer '事件类型 <vbfixedarray(5)> dim datetime() as byte '上机开始时间,若为交费,则为空 <vbfixedarray(5)> dim mac() as byte '指定上机ip地址 dim managerid as integer '收费管理员id dim userid as integer '用户id dim money as integer '消费或交费金额 dim id_equipment as integer '上机设备号 <vbfixedarray(5)> dim datetimeend() as byte '下机时间 public location as int64 '系统保留 <vbfixedarray(13)> dim revex() as byte '保留 end structure |
xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />