General method for automatic object adapting in database access
A data object and database technology, applied in database management systems, electronic digital data processing, structured data retrieval, etc., can solve problems such as large dependence on database structure, low software scalability and versatility, and huge maintenance projects , to achieve the effect of high reusability, easy development and high scalability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] The application of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0056] figure 1 , figure 2 and image 3 Shows the objectification process of database tables and programming language data structures, figure 1 Describes the relationship between user data dictionary, table or view data dictionary and field data dictionary, according to figure 1 It can be seen that the specified table or view data dictionary and field data dictionary under the user can be obtained through the user name, table name or view name, and the data dictionary can be obtained according to these data dictionaries figure 2 and image 3 ; figure 2 Describes the object-oriented mapping relationship between the fields in the database table structure and the data members of the programming language data structure (the object-oriented mapping relationship between the fields of the view and the data members of the programming language data ...
Embodiment 2
[0066] Figure 4 Shows the process of automatically adapting objects for database access requests. Assume that the accessed database table is table T (the operation of the view is the same as that of the table, so I won’t repeat it here), and the programming language data structure corresponding to table T is S. The details are as follows :
[0067] Step 2-1, constructing a database access request according to the programming language data object;
[0068] Step Description: According to figure 2Create the programming language data object of the programming language data structure S corresponding to the table T, and assign values to the object members corresponding to S in the database table field that needs to be operated, and provide access instructions to the table T, such as the database user name where the table T is located , table name (that is, table T), operation type (insert, query, delete, and modify), field operation type of table T (such as input field, output...
Embodiment 3
[0083] Figure 5 Shows the flowchart of the automatic adaptation object of the database query result. When the database access request is a query operation, the automatic adaptation object of the database query result is the subsequent process of the automatic adaptation object of the database access request, namely Figure 5 for Figure 4 As a continuation of , it is assumed that the accessed database table is table T (the operation of the view is the same as that of the table, which will not be repeated here), and the programming language data structure corresponding to the table T is S. The specific instructions are as follows:
[0084] Step 3-1, querying the data dictionary;
[0085] Step Description: Query the data dictionary loaded by the system according to the currently queried database user name and table name (the data dictionary is generated by "Example 1").
[0086] Step 3-2, obtain the data dictionary;
[0087] Step description: Obtain the table data dictionar...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com