Character string value domain segmenting method and device
A string value and segmentation device technology, applied in the field of data warehouse integration, can solve the problems of non-ASCII characters, throwing exceptions, and the accuracy cannot be restored, and achieves the solution of data transmission performance, easy troubleshooting, and improved readability. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Such as Figure 4 As shown, the string value domain segmentation in the embodiment of this application includes the following steps:
[0040] Step 1001: Extract the character string with the largest ASCII code value as the first character string and the character string with the smallest ASCII code value as the second character string in the primary key of the data to be extracted.
[0041] The extracted data is the data to be processed in the data synchronization process. For example, there are multiple rows of data stored in the data table. When the data synchronization process is performed on this data table, each row of data needs to be extracted row by row, offline extraction and processing A certain row of processed data is the data to be extracted mentioned in step 1001.
[0042] The data to be extracted often has a primary key. The primary key is also called the primary key. The primary key is generally one or more fields in the data table. The field of the data row in...
Embodiment 2
[0183] Such as Picture 11 As shown, another method for segmenting a string value range according to an embodiment of this application includes:
[0184] Step 2001, extracting the character string with the largest ASCII code value as the first character string and the character string with the smallest ASCII code value as the second character string among the primary keywords of the data to be extracted;
[0185] In step 2002, according to the preset base number, the first and second character strings are respectively combined with the position numbers of the corresponding single characters in the first and second character strings to convert the first and second character strings into the first large integer without distortion. And the second largest integer, where the position number is the sequence of a single character in the corresponding string;
[0186] Step 2003: Calculate the range difference according to the first large integer and the second large integer, and determine th...
Embodiment 3
[0191] Such as Picture 12 As shown, a string range segmentation device according to an embodiment of the application includes: a string extraction module 10, a string conversion module 20, a segmentation step acquisition module 30, a segmentation node acquisition module 40, and a string Restore the segmentation module 50, where:
[0192] The character string extraction module 10 is configured to extract the character string with the largest ASCII code value as the first character string and the character string with the smallest ASCII code value as the second character string in the primary key of the data to be extracted;
[0193] The character string conversion module 20 is configured to convert the first and second character strings into complete numbers according to the preset hexadecimal base number and the position numbers of the corresponding individual characters in the first and second character strings. The undistorted first large integer and the second large integer, wh...
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