基于Web Services技术,提出了一种将数据库资源服务化的方法,通过Web服务提供数据库的访问接口。给出了服务注册的服务元数据模型,实现了服务的自动发现,并介绍了根据用户请求自动生成SQL语句的方法,在数据集成系统中提供了透明的数据访问。
Based on Web Services, an approach to building services of database resource was proposed. The Web Services offers interfaces for the database. A service meta data model was introduced which is used when the services are registered, thereby the automatic discovery of services was realized. Then the method of building SQL sentences automatically according to the user' s request was put forward. Thus users can access the data transparently in the data integration system.