A data conversion method and a terminal
A data and terminal technology, applied in the field of data processing, can solve the problems of complex data conversion and writing, low efficiency, and a large amount of manpower, and achieve the effects of lowering the writing threshold, ensuring consistency, improving efficiency and accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] Please refer to figure 1 , a method for data conversion, comprising the steps of:
[0070] S1. Receive selection conditions of source data to be converted and pre-configured data conversion instructions, the data conversion instructions include data conversion statements and a preset target table;
[0071] Among them, the selection condition refers to the condition when the source data is to be selected. Correspondingly, when designing the data source, it is necessary to ensure that there are fields that can reflect the selection condition or divide the data source into different files according to the selection condition. ;
[0072] The specific selection conditions can be set according to the actual situation. For example, the selection condition can be set to the time when the source data is generated. When designing the data source, it is necessary to ensure that there is a field that can distinguish the data generation time or divide it into different files accord...
Embodiment 2
[0086] The difference between this embodiment and Embodiment 1 is that the steps S2 and S3 include:
[0087] According to the selection condition, putting the record corresponding to the selection condition in the preset target table into the cache, and deleting the record from the preset target table, if there is no data in the target table, is empty;
[0088] For example, if the source data of a certain date is selected, the record corresponding to the date is placed in the temporary cache in the target table, and the record is deleted from the preset target table;
[0089] After putting the record corresponding to the selection condition in the preset target table into the cache, it also includes:
[0090] Add an update flag for each record, and set the update flag for each record to No;
[0091] Inserting the target data into the preset target table according to the primary key list and the target table field list includes:
[0092] S31. Traverse each record of the targ...
Embodiment 3
[0152] Please refer to figure 2 , a terminal 1 for data conversion, comprising a memory 2, a processor 3, and a computer program stored on the memory 2 and operable on the processor 3, and the processor 3 implements the embodiment when executing the computer program One step.
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