About: Data source name is a research topic. Over the lifetime, 8 publications have been published within this topic receiving 10 citations. The topic is also known as: DSN & database source name, connection string.
TL;DR: In this article, the authors propose a method and a system for searching data, which includes the steps: connecting a connector with a data source and transmitting structural information of the data source to a database, building a filter, setting a data sources name and parameters according to the structural information, and transmitting set contents to the database; reading the corresponding filter and displaying by an application unit; receiving a data search request by the application unit and transmitting parameter values of the filter to an interface unit through the corresponding filtering, and acquiring result data by the connector connected with the corresponding data source by
Abstract: The invention provides a method and a system for searching data. The method includes the steps: connecting a connector with a data source and transmitting structural information of the data source to a database; building a filter, setting a data source name and parameters according to the structural information of the data source and transmitting set contents to the database; reading the corresponding filter and displaying by an application unit; receiving a data search request by the application unit and transmitting parameter values of the filter to an interface unit through the corresponding filter; transmitting the parameter values of the filter to the connector connected with the corresponding data source by the interface unit; acquiring result data by the connector from the data source according to the parameter values of the filter, and feeding back the result data to the interface unit by the connector; and transmitting the result data to the application unit for displaying by the interface unit. By the aid of the technical scheme, tight coupling between application and the data source can be reduced, data integration and application are simple and efficient, and a developer does not need to care interfaces of a plurality of data sources.
TL;DR: In this article, a casting equipment data acquisition and storage method based on configuration software KingView and a PLC is presented, which comprises the following steps of S1, carrying out communication preparation; S2, setting an ODBC data source: setting the ODBC database source on a local PC to connect a remote databaseSQL Server, then, setting ODBC source name, selecting ODBC driving for connecting the remote database, and selecting a database name where data needs to be stored; S3, creating a remote datastorage table; S4, connecting the PLC
Abstract: The invention belongs to the casting workshop equipment information acquisition field and discloses a casting equipment data acquisition and storage method based on configuration software KingView anda PLC. The method comprises the following steps of S1, carrying out communication preparation; S2, setting an ODBC data source: setting the ODBC data source on a local PC to connect a remote databaseSQL Server, then, setting an ODBC data source name, selecting ODBC driving for connecting the remote database, and selecting a database name where data needs to be stored; S3, creating a remote datastorage table; S4, connecting the PLC and an upper computer; S5, exploiting a configuration frame; and S6, setting a data storage mechanism. In the invention, through the PLC and the upper computer software KingView, casting equipment data can be effectively read and stored, PLC connection modes are diversified, and according to an actual state, serial port connection and network port connection can be achieved.
TL;DR: This chapter blends theory with practical examples from Web-based applications that interact with data stores that comply with universal data access (UDA).
Abstract: Microsoft has developed or patronized several technologies to access data from a wide range of data stores in order to comply with its universal data access strategy. Three such primary and interrelated technologies are ODBC, OLE DB, and ADO. Although ODBC is restricted to traditional SQL (structured query language) data stores, OLE DB provides universal data access. ODBC and OLE DB are low-level, complex interfaces between applications and data stores. Microsoft developed ADO to provide simple and easy-to-use interfaces for both traditional and nontraditional data stores. ADO is an OLE DB data consumer optimized for building both client/server and Web-based applications. This chapter blends theory with practical examples from Web-based applications that interact with data stores.
Keywords:
data source name;
data stores;
database server system;
open database connectivity (ODBC);
universal data access (UDA)
TL;DR: In this paper, a data inquiry method, a device and a service server integrated with multiple data sources is described, where the data attributes of data to be inquired are specified by a pre-configured data attribute and a data source attribute, and a target atomic interface of the target attribute mapping according to a preconfigured mapping relationship between the data source attributes and the atomic interface is determined.
Abstract: The invention discloses a data inquiry method, a device and a service server integrated with multiple data sources. The method comprises the following steps: receiving a data inquiry request, whereinthe data inquiry request carries data attributes of data to be inquired; determining a target data source attribute according to a mapping relationship between a pre-configured data attribute and a data source attribute, wherein the data source attribute comprises a data source name and a field name; determining a target atomic interface of the target data source attribute mapping according to a pre-configured mapping relationship between the data source attribute and the atomic interface; according to the mapping relationship between the pre-configured atomic interface and the underlying data, the data being extracted from the underlying data mapped by the target atomic interface to obtain the data to be queried.
TL;DR: In this paper, a ThreadLocal Connection Container (QLC) is proposed for database connection acquisition, which enables sharing and enables the database connection to be acquired from a database connection pool every time, while reducing the times of acquiring the connection from the database pool.
Abstract: The invention provides a database connection acquisition method and device based on a ThreadLocal connection container. The database connection acquisition method based on the ThreadLocal connection container comprises the steps: receiving a database connection acquisition request, and determining a data source name corresponding to a current access command; if the ThreadLocal connection container enables sharing, judging whether database connection corresponding to the data source name exists in a ThreadLocal connection container HashMap; if the database connection corresponding to the data source name exists in the ThreadLocal connection container HashMap, acquiring the database connection from the ThreadLocal connection container HashMap; if the database connection corresponding to the data source name does not exist in the ThreadLocal connection container HashMap, acquiring the database connection from a database connection pool, and putting the database connection into the ThreadLocal connection container HashMap; determining a data source name corresponding to a next access command. According to the database connection acquisition method and device based on the ThreadLocal connection container, connection can be prevented from being established from the database pool every time, the times of acquiring the database connection from the database pool is reduced, the use efficiency of the database connection is improved, the resource occupancy of the database connection pool is reduced, the database pressure is reduced, and the acquisition efficiency of the database connection is improved.