Portable Binary Lenses for Schema Interoperability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies face challenges in ensuring interoperability and data synchronization among different application versions and schemas, particularly in decentralized environments, leading to difficulties in database migration and platform interaction.
Innovation Solution
The use of bidirectional lenses compiled to a portable binary-code format, such as WebAssembly, allows for data transformation and synchronization across different schemas and application versions, enabling communication and synchronization without adhering to a specific schema or version.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If applications use different data formats and schemas across versions, then application functionality and versatility are improved, but data interoperability and synchronization between different application versions deteriorate
Solution Approach 1:
The patent introduces lenses as intermediary components that mediate between different data schemas. Lenses are compiled to WebAssembly and act as translators that can convert data between different schemas, enabling applications with different versions and data formats to interoperates reliably without requiring them to share common data structures
2Adaptability or versatility
If applications are updated with new schemas, then application functionality is improved, but maintaining compatibility with older versions and ensuring data synchronization becomes more difficult and time-consuming
Solution Approach 1:
The patent applies preliminary action by pre-compiling lenses to WebAssembly format before they are needed for data conversion. This allows the lenses to be distributed and executed efficiently without requiring runtime compilation or interpretation, significantly reducing the time needed for data conversion during application updates
Solution Approach 2:
The patent uses copying by creating portable binary copies of lenses in WebAssembly format that can be distributed across different platforms and applications. These compiled copies maintain the transformation logic while being platform-independent, allowing efficient data conversion without re-compilation
3Adaptability or versatility
If data transformation between different schemas is performed, then data migration capability is improved, but the complexity of maintaining different application versions increases
Solution Approach 1:
The patent applies segmentation by dividing the data transformation functionality into separate, independent lens components. Each lens handles a specific transformation task and can be developed, tested, and maintained independently, reducing the complexity of maintaining overall system compatibility across versions
Solution Approach 2:
The patent implements universality by creating a universal lens framework that can handle multiple data format conversions through a single standardized interface. Lenses compiled to WebAssembly can be used across different application versions and platforms, providing multi-functional capability that simplifies version maintenance
Data Source
AI summary
An application includes a runtime environment that is operable on a portable binary-code format. The application references a lens file that defines a binary lens compiled to the portable binary-code format from an arbitrary programming language. The lens file further defines parameters passable to the binary lens as arguments. The binary lens is executable with the application on data of a first schema to transform the data to a second schema. The lens file may compose binary lenses defined in lens modules. Lens modules and lens files may be distributed through a repository.


