Algorithm Calling Decoupling via Fusion Module
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The high coupling between the control module and the algorithm module in electronic devices reduces maintenance efficiency due to the need for frequent modifications to the control module when new algorithms are added.
Innovation Solution
An algorithm calling method and apparatus that decouples the control module from the algorithm module by using a fusion module to call algorithms from separate libraries, allowing new algorithms to be added without modifying the control module.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the control module directly calls algorithms from the algorithm module, then the algorithm can be executed, but the control module and algorithm module become highly coupled, reducing maintenance efficiency
Solution Approach 1:
The patent introduces an algorithm management module as an intermediary between the control module and algorithm module. This management module handles algorithm loading, selection, and calling, allowing the control module to interact with algorithms without direct coupling to the algorithm implementation details. The management module acts as a buffer that decouples the control logic from algorithm specifics, enabling independent maintenance and updates.
Solution Approach 2:
The patent segments the algorithm system into distinct components: the control module, the algorithm management module, and the algorithm module. By separating the algorithm management functionality into its own dedicated module, the system achieves better modularity. This segmentation allows each module to be developed, tested, and maintained independently, improving overall maintenance efficiency while preserving algorithm execution capability.
2Adaptability or versatility
If new algorithms are added to the electronic device, then the algorithm functionality is enhanced, but the control module must be modified to write the newly added algorithm into the control module
Solution Approach 1:
The algorithm management module is designed with universal functionality to handle multiple algorithm types and versions. It provides a standardized interface for algorithm loading, selection, and execution that works regardless of which specific algorithm is being used. This multi-functional design allows new algorithms to be added to the algorithm module without requiring modifications to the control module, as the management module universally handles all algorithm interactions.
Solution Approach 2:
The patent extracts the algorithm management functionality from the control module and places it in a separate algorithm management module. This extraction removes the burden of algorithm management from the control module, allowing the control module to remain simple and unchanged when new algorithms are added. The management module alone handles the complexity of integrating new algorithms, preserving control module stability while enabling algorithmic versatility.
3Ease of operation
If the control module and algorithm module are highly coupled, then the algorithm can be controlled directly, but the maintenance efficiency of the electronic device is greatly reduced
Solution Approach 1:
The algorithm management module serves as an intermediary that maintains ease of algorithm control while improving maintenance efficiency. It provides a standardized control interface that the control module can use to interact with algorithms without direct coupling. This intermediary layer preserves the simplicity of algorithm control for the control module while enabling independent maintenance of the algorithm module, thus resolving the contradiction between operational ease and maintenance efficiency.
Data Source
Figure 1
Figure 2
Figure 3(a)~3(c)
AI summary
An algorithm calling method and an algorithm calling apparatus are provided. The algorithm calling method is applied to a system architecture, and the system architecture includes a first algorithm library, a second algorithm library, a control module, and a fusion module. The algorithm calling method includes: The control module sends a first instruction to the fusion module, where the first instruction is used to indicate a to-be-called target algorithm in an auto focus algorithm, an auto exposure algorithm, and an auto white balance algorithm; the fusion module determines a fusion policy according to the first instruction, where the fusion policy is used to call an algorithm in the first algorithm library and/or the second algorithm library; and the fusion module sends a second instruction to the first algorithm library and/or the second algorithm library according to the fusion policy, where the second instruction is used to call the target algorithm. Based on the technical method in this application, decoupling between a control module and an algorithm can be implemented, and maintenance efficiency of an electronic device can be improved.