Database access method and equipment and storage medium
An access method and database technology, which is applied in the field of equipment and storage media, and database access methods, can solve problems such as complex content of OTL data access technology statements, and achieve the effect of simplifying programming operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] In practical applications, the database access method can be implemented by computer programs, such as application software, etc.; or, the database access method can also be implemented as a medium that stores related computer programs, such as U disk, cloud disk, etc.; or, The database access method can also be realized by an entity device integrated or installed with a relevant computer program, such as a chip, a mobile smart device, and the like.
[0026] figure 1 It is a flow chart of the database access method provided in Embodiment 1 of the present application. like figure 1 As shown, the database access method provided in this embodiment includes:
[0027] Step 101, acquiring a database access encapsulation function instruction.
[0028] This instruction can be used as a function call instruction for programmers to write programs. The database access encapsulation function internally encapsulates the database access underlying function, and the database acces...
Embodiment 2
[0037] This embodiment optimizes the above database access method on the basis of the above embodiments.
[0038] A first implementation manner: the above-mentioned database access encapsulation function instruction may be: a connection database function instruction, for example: int ConnectDB(). Then the above-mentioned underlying function of the database is the underlying function of connecting to the database encapsulated in the function of connecting to the data. The above step 103 may specifically be: establish a connection to the database corresponding to the database name according to the underlying function of connecting to the database.
[0039] Specifically, the underlying function of connecting to the database is an OCI underlying function, including: an OCI initialization function, an environment initialization function, a function of applying for an OCI handle, and an OCI login function. For example: the OCI initialization function is OCIInitialize(), the environ...
Embodiment 3
[0067] Image 6 It is a schematic structural diagram of a database access device provided in Embodiment 3 of the present application. like Image 6 As shown, this embodiment provides a database access device, including: a memory 601, a processor 602, and a computer program. Wherein, the computer program is stored in the memory 601 and is configured to be executed by the processor 602 to implement the method provided by any one of the above contents.
[0068] This embodiment also provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the method provided by any one of the contents above.
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