Android Application Generation with Annotation-Based Bus Routing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional mobile application development is hindered by component interdependency, leading to inefficient communication between developers and complex business scenarios, resulting in low development efficiency.
Innovation Solution
A method and device for generating Android applications by scanning and extracting annotation information for call operations, forming a call operation set, registering it into a bus routing component, and compiling the business engineering to facilitate component communication through a bus routing component.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If components are developed in a componentized manner to increase code reuse rate, then code reuse rate is improved, but component interdependency increases leading to complex communication and joint tests
Solution Approach 1:
The patent introduces a bus routing component as an intermediary layer between business components and component library. This mediator handles all communication and coordination between components, abstracting the complex interdependencies away from individual component developers. The bus routing component manages message passing, event broadcasting, and component registration, allowing components to interact through standardized interfaces without direct knowledge of each other's implementation details.
2Adaptability or versatility
If business functions and scenarios become more complex, then application functionality is improved, but development efficiency decreases due to constant communication and joint tests
Solution Approach 1:
The patent segments the development process into independent phases: component development, bus routing configuration, and application assembly. Each business component can be developed, tested, and versioned independently. The bus routing component provides a standardized framework that handles integration concerns, allowing developers to work in parallel on different components without requiring constant joint testing. This segmentation enables complex applications to be built from simpler, independently developed components.
3Reliability
If components are tightly coupled to ensure proper communication, then system reliability is improved, but development flexibility and efficiency deteriorate
Solution Approach 1:
The patent creates a universal bus routing component that provides multiple functions: message routing, event broadcasting, component registration, and lifecycle management. This single universal framework serves all communication needs across different components and business scenarios. By providing a multi-functional intermediary, the system ensures reliable communication through standardized protocols while maintaining development flexibility, as developers can interact with the bus routing component through consistent interfaces regardless of the specific communication pattern required.
Data Source
AI summary
A method and device for generating an application based on an Android system, and a storage medium. The method comprises: when a service compilation instruction is received, scanning and extracting annotation information of at least one call operation in a selected component required by a service engineering to form a call operation set, wherein the service engineering comprises script configuration information of the selected component; automatically registering the call operation set into a bus routing component, so that the selected component communicates with other components by means of the bus routing component; and compiling the service engineering to generate an application.


