IP Library › Granted Patent US 12,353,859
Granted Patent B2
US 12,353,859 · App. 18/272,124 · Granted Jul 8, 2025

Method and device for generating based on android mobile operating system (OS)

Inventor: Zhe Zhang (Beijing, CN)
Assignee: BOE Technology Group Co., Ltd.
G06F8/41G06F8/24G06F8/36
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,353,859
App. No.
18/272,124
Filed
Jul 13, 2023
Granted
Jul 8, 2025
Kind
B2
Examiner
KHATRI, ANIL
Art Unit
2197
USPC
717/140
Abstract

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.

Claims (64)

1. A method for generating an application, performed by an electronic device based on an Android Mobile Operating System (OS), wherein the method comprises system, comprising:

scanning and extracting, by at least one processor of the electronic device, annotation information for at least one call operation in a selected component required by business engineering to form a call operation set when a business compilation instruction is received, wherein the business engineering comprises script configuration information for the selected component;

registering, by the at least one processor, the call operation set into a bus routing component automatically such that the selected component communicates with other components through the bus routing component; and

compiling, by the at least one processor, the business engineering to generate an application; and

displaying, by the at least one processor, an icon of the application on a display of the electronic device;

wherein the bus routing component comprises a component routing information management assembly and a routing assembly, and the method further comprises:

controlling, by the at least one processor, the component routing information management assembly to manage the call operation set;

controlling, by the at least one processor, the routing assembly to receive a call request from a source component, inquire a to-be-called target component from the component routing information management assembly according to the call request, call the target component, and transmit a corresponding callback result to the source component through a bus assembly; and

controlling, by the at least one processor, the bus assembly to transmit information between the source component and the routing assembly;

wherein the registering, by the at least one processor, the call operation set into the bus routing component automatically comprises:

obtaining, by the at least one processor, a call path corresponding to each type of call operation in the call operation set to form a call path set, and registering, by the at least one processor, the call path set into the bus routing component; and

writing, by the at least one processor, a component label corresponding to the call path set into a manifest file of the business engineering, so as to obtain a corresponding component label from the manifest file when the selected component in the business engineering is called, such that a corresponding call path is inquired by the bus routing component.

2. The method according to claim 1 , wherein before the scanning and extracting, by the at least one processor, the annotation information for the at least one call operation in the selected component required by the business engineering, the method further comprises:

controlling, by the at least one processor, an annotation processor of the electronic device to scan annotation information for at least one type of call operation in component engineering corresponding to the selected component to form an information aggregation class for the at least one type of call operation when a component compilation instruction is received, wherein the component engineering comprises to-be-compiled codes corresponding to the selected component;

compiling, by the at least one processor, the component engineering to generate the selected component; and

encapsulating, by the at least one processor, the selected component and the information aggregation class as a corresponding library file and storing the library file.

3. The method according to claim 2 , wherein the scanning and extracting, by the annotation processor, the annotation information for the at least one call operation in the selected component required by the business engineering to form the call operation set when the business compilation instruction is received comprises:

determining, by the annotation processor, a library file corresponding to the selected component from the stored library file when the business compilation instruction is received; and

scanning and extracting, by the annotation processor, an information aggregation class for the library file corresponding to the selected component to form the call operation set.

4. The method according to claim 3 , wherein the call operation comprises one or more of:

a page calling operation, a service calling operation, or a custom calling operation.

5. The method according to claim 3 , wherein the call operation comprises one or more of:

a page calling operation, a service calling operation, or a custom calling operation.

6. The method according to claim 2 , wherein the call operation comprises one or more of:

a page calling operation, a service calling operation, or a custom calling operation.

7. The method according to claim 2 , further comprising: controlling, by the at least one processor, the selected component to inherit from a component class having a component interface.

8. The method according to claim 1 , wherein the routing assembly comprises a routing management assembly, a page routing assembly, a service routing assembly, and an aspect oriented programming assembly, and the method further comprises:

controlling, by the at least one processor, a routing management assembly to receive the call request from the source component, inquire the target call path of the to-be-called target component from the component routing information management assembly, and select the assembly corresponding to the call request to locate the target component according to the target call path;

controlling, by the at least one processor, a page routing assembly to locate the target component for which the call request is for calling a page, and transmit a corresponding callback result to the source component through the bus assembly;

controlling, by the at least one processor, a service routing assembly to locate the target component for which the call request is for calling a service, and transmit a corresponding callback result to the source component through the bus assembly; and

controlling, by the at least one processor, an aspect oriented programming assembly to manage call processes of components in the routing assembly.

9. The method according to claim 1 , wherein the call operation comprises one or more of:

a page calling operation, a service calling operation, or a custom calling operation.

10. The method according to claim 1 , further comprising: controlling, by the at least one processor, the selected component to inherits from a component class having a component interface.

11. An electronic device based on an Android Mobile Operating System (OS) automatic component registration device based on an Android system, comprising:

at least one processor, and

a memory, connected with the at least one processor;

wherein the memory stores an instruction executable by the at least one processor, and the at least one processor performs following steps by executing the instruction stored in the memory:

scanning and extracting annotation information for at least one call operation in a selected component required by business engineering to form a call operation set when a business compilation instruction is received, wherein the business engineering comprises script configuration information for the selected component;

registering the call operation set into a bus routing component automatically such that the selected component communicates with other components through the bus routing component; and

compiling the business engineering to generate an application; and

displaying an icon of the application on a display of the electronic device;

wherein the bus routing component comprises a component routing information management assembly and a routing assembly, and the at least one processor further performs following steps by executing the instruction stored in the memory:

controlling the component routing information management assembly to manage the call operation set;

controlling the routing assembly to receive a call request from a source component, inquire a to-be-called target component from the component routing information management assembly according to the call request, call the target component, and transmit a corresponding callback result to the source component through a bus assembly; and

controlling the bus assembly to transmit information between the source component and the routing assembly;

wherein the registering the call operation set into the bus routing component automatically comprises:

obtaining a call path corresponding to each type of call operation in the call operation set to form a call path set, and registering the call path set into the bus routing component; and

writing a component label corresponding to the call path set into a manifest file of the business engineering, so as to obtain a corresponding component label from the manifest file when the selected component in the business engineering is called, such that a corresponding call path is inquired by the bus routing component.

12. The electronic device according to claim 11 , wherein before the scanning and extracting the annotation information for the at least one call operation in the selected component required by the business engineering, the at least one processor further performs following steps by executing the instruction stored in the memory:

controlling an annotation processor of the electronic device to scan annotation information for at least one type of call operation in component engineering corresponding to the selected component to form an information aggregation class for the at least one type of call operation when a component compilation instruction is received, wherein the component engineering comprises to-be-compiled codes corresponding to the selected component;

compiling the component engineering to generate the selected component; and

encapsulating the selected component and the information aggregation class as a corresponding library file and storing the library file.

13. The electronic device according to claim 12 , wherein the scanning and extracting the annotation information for the at least one call operation in the selected component required by the business engineering to form the call operation set when the business compilation instruction is received comprises:

determining a library file corresponding to the selected component from the stored library file when the business compilation instruction is received; and

scanning and extracting an information aggregation class for the library file corresponding to the selected component to form the call operation set.

14. The electronic device according to claim 11 , wherein the routing assembly comprises a routing management assembly, a page routing assembly, a service routing assembly, and an aspect oriented programming assembly, and the method further comprises, and the at least one processor further performs following steps by executing the instruction stored in the memory:

controlling a routing management assembly to receive the call request from the source component, inquire the target call path of the to-be-called target component from the component routing information management assembly, and select the assembly corresponding to the call request to locate the target component according to the target call path;

controlling a page routing assembly to locate the target component for which the call request is for calling a page, and transmit a corresponding callback result to the source component through the bus assembly;

controlling a service routing assembly to locate the target component for which the call request is for calling a service, and transmit a corresponding callback result to the source component through the bus assembly; and

controlling an aspect oriented programming assembly to manage call processes of components in the routing assembly.

15. The electronic device according to claim 11 , wherein the call operation comprises one or more of:

a page calling operation, a service calling operation, or a custom calling operation.

16. The electronic device according to claim 11 , wherein the at least one processor further performs a following step by executing the instruction stored in the memory: controlling the selected component to inherit from a component class having a component interface.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 13, 2023
From: ZHANG, ZHE
To: BOE TECHNOLOGY GROUP CO., LTD.
Reel/Frame 064237/0746 →
Priority Claims (1)
CN 202110191967.2 · Feb 19, 2021 · national
Continuity (1)
Related Publication 20240069877A1 · Feb 29, 2024
References Cited (28)
US 8572504B1 · Forstot · 2013 [cited by examiner]
US 8819772B2 · Bettini · 2014 [cited by examiner]
US 9158512B1 · Hucik · 2015 [cited by examiner]
US 10073679B2 · Straub · 2018 [cited by examiner]
US 10387125B2 · Chenny · 2019 [cited by examiner]
US 10841385B2 · Straub · 2020 [cited by examiner]
US 10990773B1 · Herbel · 2021 [cited by examiner]
US 11461378B1 · Bhushan · 2022 [cited by examiner]
US 11470194B2 · Cornwell · 2022 [cited by examiner]
US 11481194B1 · Chowdhary · 2022 [cited by examiner]
US 12020354B2 · Brebner · 2024 [cited by examiner]
US 12079626B2 · Brebner · 2024 [cited by examiner]
US 12141732B1 · Solmer · 2024 [cited by examiner]
US 20070067373A1 · Higgins · 2007 [cited by examiner]
US 20190310835A1 · Gong et al. · 2019 [cited by applicant]
US 20210117168A1 · Jeong · 2021 [cited by examiner]
CN 110007925A · 2019 [cited by applicant]
CN 112083930A · 2020 [cited by applicant]
CN 112199092A · 2021 [cited by applicant]
CN 112769706A · 2021 [cited by applicant]
CN 112925562A · 2021 [cited by applicant]
Zhang et al, “Automated Test Generation for Detection of Leaks in Android Applications”, ACM, pp. 64-70 (Year: 2016). [cited by examiner]
Parada et al, “A model driven approach for Android applications development”, IEEE, pp. 192-197 (Year: 2012). [cited by examiner]
Silva et al, “Model Driven Engineering for Performance Testing in Mobile Applications”, IEEE, pp. 1-7 (Year: 2020). [cited by examiner]
Shi et al, “Qt-based Mobile Application GUI Style for Smart Phone Operating System”, IEEE, pp. 1-4, (Year: 2010). [cited by examiner]
Smutný, “Mobile development tools and cross-platform solutions”, IEEE, pp. 1-4 (Year: 2012). [cited by examiner]
CN202110191967.2 first office action. [cited by applicant]
PCT/CN2021/125633 international search report. [cited by applicant]