Sample data extraction method and device, equipment and medium
A sample and data technology, applied in the field of equipment and media, sample data extraction method, and device field, can solve the problems of high plug-in environment requirements, cumbersome process, and inability to guarantee full access to business databases, and achieves improved comprehensive access, Simplify access and achieve the effect of fast access
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] figure 1 A schematic flowchart of a method for extracting sample data provided by an embodiment of the present invention, the method can be executed by a device for extracting sample data, wherein the device can be implemented by software and / or hardware, and generally can be integrated in computer equipment such as servers middle. Such as figure 1 As shown, the method includes:
[0022] S110. Test the connectivity of the database to be extracted according to the connected connection information of the database to be extracted.
[0023] The database to be extracted can be understood as a business database that needs to be accessed. Wherein, the type of the business database may be: a relational database (MYSQL), an Oracle database (Oracle Database), or a Greenplum database, etc., and there is no limitation here, and generally the specific database type of the enterprise shall prevail.
[0024] Generally speaking, according to different needs, enterprises may need to...
Embodiment 2
[0042] The embodiment of the present invention is further optimized on the basis of the above-mentioned embodiments, optimizing the step of testing the connectivity of the database to be extracted according to the connection information of the database to be extracted, including: according to the database to be extracted The accessed network address information and account information access the database to be extracted; if the access is successful, it is determined that the database to be extracted is connected; if the access fails, it is determined that the database to be extracted is not connected. The advantage of this setting is that the connectivity of the database to be extracted is tested through the network address information and account information, and the operation is simple.
[0043] The step of extracting corresponding sample data from the database to be extracted according to the preset extraction conditions is also optimized, including: determining the target s...
Embodiment 3
[0080] image 3 Provide a structural block diagram of a device for extracting sample data for the embodiment of the present invention. The device can be implemented by software and / or hardware, and generally can be integrated in computer equipment such as servers. The database is accessed to realize the extraction operation of sample data. Such as image 3 As shown, the device includes: a connectivity test module 31 and a sample data extraction module 32, wherein:
[0081] A connectivity testing module 31, configured to test the connectivity of the database to be extracted according to the connected connection information of the database to be extracted;
[0082] The sample data extraction module 32 is configured to extract corresponding sample data from the database to be extracted according to preset extraction conditions if the database to be extracted is connected.
[0083] The sample data extraction device provided in the embodiment of the present invention tests the c...
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