Data Bus Synchronization for Decoupled Multi-Service Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing entity architectures face challenges in managing complex data processing across multiple services, leading to conflicts, inefficiencies, and difficulties in maintaining data consistency and accuracy due to coupled business processing logic.
Innovation Solution
Implementing a data bus that decouples business processing logic by using a predetermined correspondence to determine target tasks for data updates, enabling efficient data synchronization and management across services, ensuring accuracy and reducing complexity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple services maintain their own business processing logic and process data independently, then each service can operate autonomously, but data conflicts and inconsistencies occur across services
Solution Approach 1:
The patent introduces a data bus as an intermediary component between multiple services. The data bus receives data from services, processes it according to predefined correspondence rules, and distributes it to relevant services. This mediator ensures data consistency across services without requiring each service to directly coordinate with others, thus resolving the contradiction between service autonomy and data consistency.
2Productivity
If services are coupled through complex data processing processes, then data can be processed comprehensively, but system complexity and processing conflicts increase
Solution Approach 1:
The patent segments the data processing function by introducing a data bus that handles data processing separately from business services. The data bus processes data according to predefined correspondence rules, while services focus on their business logic. This segmentation reduces system complexity while maintaining comprehensive data processing capabilities.
Solution Approach 2:
The patent establishes a predetermined correspondence between data types and processing rules before services operate. This preliminary configuration of processing rules allows services to process data comprehensively without complex real-time coordination, reducing system complexity while maintaining processing completeness.
3Reliability
If data processing is centralized in a single service, then data consistency is easier to maintain, but service flexibility and independence are reduced
Solution Approach 1:
The data bus serves multiple functions: it collects data from various services, processes data according to correspondence rules, and distributes data to relevant services. This multi-functional design maintains data consistency without requiring a single centralized service to control all data processing, thus preserving service independence while ensuring reliability.
Data Source
AI summary
A method, apparatus, electronic device and readable medium for data processing is provided by the disclosure. The method includes: if a change of data occurs in a first service in a plurality of services of the entity, first update data of the first service is obtained; a target task corresponding to the first update data of the first service is determined from a predetermined correspondence, the correspondence indicating a business processing policy of update data of a respective service on the data bus, and the target task comprising at least one second service in the plurality of services and a second operation performed by each of the at least one second service; a corresponding second operation is performed on each of the at least one second service, to cause data on the at least one second service on the entity to match the first update data of the first service.


