Data processing method and device and readable storage medium
A data processing and database technology, applied in the field of data processing, can solve the problems of resource contention and low execution efficiency, and achieve the effect of avoiding duplication and improving execution efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] like figure 1 As shown, according to an embodiment of the present invention, a data processing method is proposed, the method includes:
[0053] Step 102, receiving a data processing request;
[0054] Step 104, according to the data processing request, obtain the information of the data source to be processed and the information of multiple database scripts;
[0055] Step 106, obtaining the data source to be processed in the database according to the information of the data source to be processed;
[0056] Step 108, generating a plurality of mutually independent thread pools according to the information of multiple database scripts and the information of the data source to be processed;
[0057] Step 110, using the thread pool to process the data source to be processed according to the information of the database script;
[0058] Step 112, generating a processing report.
[0059] In this embodiment, after the data processing request is received, the information of t...
Embodiment 2
[0063] like figure 2 As shown, according to an embodiment of the present invention, a data processing method is proposed, the method includes:
[0064] Step 202, receiving a data processing request;
[0065] Step 204, according to the data processing request, obtain the information of the data source to be processed and the information of multiple database scripts;
[0066] Step 206, obtaining the data source to be processed in the database according to the information of the data source to be processed;
[0067] Step 208, analyzing the information of multiple database scripts to obtain the script statement and the execution order of the script statement in each database script;
[0068] Step 210, generating a plurality of thread pools according to the script statement, execution sequence and data sources to be processed of each database script;
[0069] Step 212, using the thread pool to process the data source to be processed according to the information of the database ...
Embodiment 3
[0077] In this embodiment, the above-mentioned step of using the thread pool to process the data source to be processed according to the information of the database script includes: obtaining the thread corresponding to the data source to be processed in the thread pool according to the script statement and execution sequence; , process the data source to be processed according to the script statement and execution sequence.
[0078] In this embodiment, during the execution of multiple database scripts, according to the script statements in each database script and the execution sequence between the statements, the threads for executing database scripts for multiple data sources are determined in the thread pool, and the determined Thread executes database scripts for multiple data sources according to the statements of database scripts and the execution sequence between statements.
[0079] Through the above method, use the dedicated thread corresponding to each database scri...
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