Multi-value Primary Keys for Database Duplicate Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current database systems face challenges in seamlessly and effortlessly managing duplicate data entries across multiple systems, particularly in enterprise and technical applications, where entries representing the same physical entity are often duplicated with slight variations, making it difficult to aggregate data and apply functionalities like customer discounts.
Innovation Solution
A computer-implemented method and database system that uses a multi-valued key and prioritized naming rules to determine hash values for attribute combinations, allowing for the unambiguous identification and merging of duplicate data items, thereby maintaining primary key uniqueness and facilitating efficient data management.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If traditional database systems store duplicate customer records with slight variations, then data can be entered flexibly, but data integrity and uniqueness are compromised
Solution Approach 1:
The system performs preliminary actions by establishing naming rules and prioritization criteria before duplicate data enters the database. When data is inserted, the system proactively checks for duplicates by comparing against existing records using the predefined naming rules, preventing duplicate entries before they compromise data integrity.
Solution Approach 2:
The patent introduces an intermediary mechanism (duplicate detection system with naming rules) that mediates between flexible data entry and data uniqueness requirements. This intermediary layer processes incoming data, compares it with existing records using prioritized naming rules, and determines whether to accept or reject the entry, thus resolving the contradiction between flexibility and uniqueness.
2Ease of operation
If duplicate data entries are allowed in the database, then data entry is simpler, but data aggregation and analysis become difficult
Solution Approach 1:
The system performs preliminary duplicate detection and prevention before data aggregation operations are needed. By establishing naming rules and checking for duplicates at data insertion time, the system ensures data quality upfront, eliminating the need for complex post-hoc aggregation workarounds and improving downstream productivity.
Solution Approach 2:
The system implements feedback mechanisms where duplicate detection results inform data entry operations. When a potential duplicate is detected, the system provides feedback about the match and allows for resolution, ensuring that only unique, high-quality data enters the database, thereby maintaining aggregation efficiency.
3Reliability
If manual merging of duplicate records is performed, then data accuracy can be maintained, but time consumption and operational complexity increase
Solution Approach 1:
The system performs self-service by automatically detecting and preventing duplicate data entries using predefined naming rules and prioritization criteria. This automated approach maintains data accuracy without requiring manual intervention, eliminating the time loss associated with manual merging operations while preserving reliability through systematic duplicate prevention.
4Quantity of substance
If multiple naming variations of the same entity are stored, then data collection is more comprehensive, but system complexity and maintenance difficulty increase
Solution Approach 1:
The system changes the parameter of data representation by standardizing entity identification through prioritized naming rules. Instead of storing multiple naming variations as separate records, the system transforms diverse input formats into a standardized representation, maintaining data completeness while reducing system complexity by eliminating redundant variations.
Data Source
AI summary
A computer-implemented method for unambiguously identifying entities in a database system may be provided. The method comprises storing data items as records with different attributes in a table of a database, storing naming rules for selected combinations of the attributes of the data items, and prioritizing the naming rules. The method also comprises determining a hash value for each of the selected combinations of the attributes of the data items, and identifying duplicate data items using the determined hash values and the prioritized naming rules.


