IP Library › Granted Patent US 10,990,367
Granted Patent B2
US 10,990,367 · App. 16/449,206 · Granted Apr 27, 2021

Application development method, tool, and device, and storage medium

Inventors: Cheng Gong (Shenzhen, CN); Yuanhong Liu (Shenzhen, CN); Ji Zhang (Shenzhen, CN); Yuanming Li (Shenzhen, CN); Yu Zhong (Shenzhen, CN); Jiangwei Xu (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06F8/53G06F8/22G06F8/36G06F8/41
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 10,990,367
App. No.
16/449,206
Granted
Apr 27, 2021
Kind
B2
Abstract

Embodiments of the present application disclose an application development method performed at a computing device. The method includes: obtaining an input file in a predetermined format, the input file including content code of each part used for forming an application; disassembling the content code of each part in the input file into different category code according to corresponding categories; invoking a corresponding compiler according to an attribute of each piece of the category code, to compile the category code, to correspondingly obtain a description file of each piece of the category code; and performing plug-in processing on the description file of the category code of each part, to obtain the application.

Claims (63)

1. An application development method performed at a computing device having one or more processors and memory storing a plurality of operations to be executed by the one or more processors, the method comprising:

obtaining an input file in a predetermined format, the input file comprising content code of each part used for forming an application;

disassembling the content code of each part in the input file into different category code according to corresponding categories;

invoking a corresponding compiler according to an attribute of each piece of the category code, to compile the category code, to correspondingly obtain a description file of each piece of the category code; and

performing plug-in processing on the description file of the category code of each part, to obtain the application.

2. The method according to claim 1 , wherein the input file at least comprises content code of an application part and content code of a page part, and the disassembling the content code of each part in the input file into different category code according to corresponding categories comprises:

at least disassembling the content code of the application part into script code; and

at least disassembling content code of each page in the page part into style code, page element code, and script code.

3. The method according to claim 2 , the invoking a corresponding compiler according to an attribute of each piece of the category code, to compile the category code, to correspondingly generate a description file of each piece of the category code comprises:

invoking compilers respectively corresponding to the style code, the page element code, and the script code, to correspondingly compile the style code, the page element code, and the script code of each page respectively, to correspondingly obtain a style sheet file, a page structure file, and a logical file of each page.

4. The method according to claim 1 , the obtaining an input file in a predetermined format comprises:

retrieving content code from a resource library according to a determined keyword, and at least loading the retrieved content code;

performing format conversion on the content code according to a format, to obtain the input file in the predetermined format.

5. The method according to claim 1 , further comprising:

analyzing the content code of each part in the input file, to obtain association information between components in each part;

determining path information of the components in each part;

modifying path information in the input file according to the association information between the components in each part and the path information of the components in each part; and

disassembling content code of each part in the modified input file into different category code according to the corresponding categories.

6. The method according to claim 5 , wherein the resource library comprises three types of base class resources: base class components, base class pages, and base class applications, the base class components are isolated from each other, and the base class pages inherit from the components;

the retrieving content code from a resource library according to a determined keyword, and at least loading the retrieved content code comprises: retrieving a base class component, a base class page, and a base class application from the resource library according to the determined keyword; and at least loading the retrieved base class component, base class page, and base class application; and

the performing format conversion on the content code according to a format, to obtain the input file in the predetermined format comprises: recombining the retrieved base class component into a user-defined component, recombining the retrieved base class page and a user component into a user-defined page, and recombining the retrieved base class application and the user-defined page into a user-defined application; and performing format conversion respectively on the user-defined component, the user-defined page, and the user-defined application according to the format, to obtain the input file in the predetermined format.

7. A computing device, comprising one or more processors, memory coupled to the one or more processors, and a plurality of programs stored in the memory that, when executed by the one or more processors, cause the computing device to perform a plurality of operations including:

obtaining an input file in a predetermined format, the input file comprising content code of each part used for forming an application;

disassembling the content code of each part in the input file into different category code according to corresponding categories;

invoking a corresponding compiler according to an attribute of each piece of the category code, to compile the category code, to correspondingly obtain a description file of each piece of the category code; and

performing plug-in processing on the description file of the category code of each part, to obtain the application.

8. The computing device according to claim 7 , wherein the input file at least comprises content code of an application part and content code of a page part, and the disassembling the content code of each part in the input file into different category code according to corresponding categories comprises:

at least disassembling the content code of the application part into script code; and

at least disassembling content code of each page in the page part into style code, page element code, and script code.

9. The computing device according to claim 8 , the operation of invoking a corresponding compiler according to an attribute of each piece of the category code, to compile the category code, to correspondingly generate a description file of each piece of the category code comprises:

invoking compilers respectively corresponding to the style code, the page element code, and the script code, to correspondingly compile the style code, the page element code, and the script code of each page respectively, to correspondingly obtain a style sheet file, a page structure file, and a logical file of each page.

10. The computing device according to claim 7 , the operation of obtaining an input file in a predetermined format comprises:

retrieving content code from a resource library according to a determined keyword, and at least loading the retrieved content code;

performing format conversion on the content code according to a format, to obtain the input file in the predetermined format.

11. The computing device according to claim 7 , wherein plurality of operations further comprise:

analyzing the content code of each part in the input file, to obtain association information between components in each part;

determining path information of the components in each part;

modifying path information in the input file according to the association information between the components in each part and the path information of the components in each part; and

disassembling content code of each part in the modified input file into different category code according to the corresponding categories.

12. The computing device according to claim 11 , wherein the resource library comprises three types of base class resources: base class components, base class pages, and base class applications, the base class components are isolated from each other, and the base class pages inherit from the components;

the retrieving content code from a resource library according to a determined keyword, and at least loading the retrieved content code comprises: retrieving a base class component, a base class page, and a base class application from the resource library according to the determined keyword; and at least loading the retrieved base class component, base class page, and base class application; and

the performing format conversion on the content code according to a format, to obtain the input file in the predetermined format comprises: recombining the retrieved base class component into a user-defined component, recombining the retrieved base class page and a user component into a user-defined page, and recombining the retrieved base class application and the user-defined page into a user-defined application; and performing format conversion respectively on the user-defined component, the user-defined page, and the user-defined application according to the format, to obtain the input file in the predetermined format.

13. A non-transitory computer readable storage medium storing a plurality of machine readable instructions in connection with a server having one or more processors, wherein the plurality of machine readable instructions, when executed by the one or more processors, cause the server to perform a plurality of operations including:

obtaining an input file in a predetermined format, the input file comprising content code of each part used for forming an application;

disassembling the content code of each part in the input file into different category code according to corresponding categories;

invoking a corresponding compiler according to an attribute of each piece of the category code, to compile the category code, to correspondingly obtain a description file of each piece of the category code; and

performing plug-in processing on the description file of the category code of each part, to obtain the application.

14. The non-transitory computer readable storage medium according to claim 13 , wherein the input file at least comprises content code of an application part and content code of a page part, and the disassembling the content code of each part in the input file into different category code according to corresponding categories comprises:

at least disassembling the content code of the application part into script code; and

at least disassembling content code of each page in the page part into style code, page element code, and script code.

15. The non-transitory computer readable storage medium according to claim 14 , the operation of invoking a corresponding compiler according to an attribute of each piece of the category code, to compile the category code, to correspondingly generate a description file of each piece of the category code comprises:

invoking compilers respectively corresponding to the style code, the page element code, and the script code, to correspondingly compile the style code, the page element code, and the script code of each page respectively, to correspondingly obtain a style sheet file, a page structure file, and a logical file of each page.

16. The non-transitory computer readable storage medium according to claim 13 , the operation of obtaining an input file in a predetermined format comprises:

retrieving content code from a resource library according to a determined keyword, and at least loading the retrieved content code;

performing format conversion on the content code according to a format, to obtain the input file in the predetermined format.

17. The non-transitory computer readable storage medium according to claim 13 , wherein plurality of operations further comprise:

analyzing the content code of each part in the input file, to obtain association information between components in each part;

determining path information of the components in each part;

modifying path information in the input file according to the association information between the components in each part and the path information of the components in each part; and

disassembling content code of each part in the modified input file into different category code according to the corresponding categories.

18. The non-transitory computer readable storage medium according to claim 17 , wherein the resource library comprises three types of base class resources: base class components, base class pages, and base class applications, the base class components are isolated from each other, and the base class pages inherit from the components;

the retrieving content code from a resource library according to a determined keyword, and at least loading the retrieved content code comprises: retrieving a base class component, a base class page, and a base class application from the resource library according to the determined keyword; and at least loading the retrieved base class component, base class page, and base class application; and

the performing format conversion on the content code according to a format, to obtain the input file in the predetermined format comprises: recombining the retrieved base class component into a user-defined component, recombining the retrieved base class page and a user component into a user-defined page, and recombining the retrieved base class application and the user-defined page into a user-defined application; and performing format conversion respectively on the user-defined component, the user-defined page, and the user-defined application according to the format, to obtain the input file in the predetermined format.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 11, 2019
From: GONG, CHENG; LIU, YUANHUNG; ZHANG, JI; LI, YUANMING; ZHONG, YU; XU, JIANGWEI
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 051251/0962 →
Priority Claims (1)
CN 201710193344.2 · Mar 28, 2017 · national
Continuity (2)
Continuation PCTCN2018080564 · Mar 26, 2018
Related Publication 20190310835A1 · Oct 10, 2019