Search International and National Patent Collections
Some content of this application is unavailable at the moment.
If this situation persists, please contact us atFeedback&Contact
1. (WO2017096065) RUNNING APPLICATIONS USING PRE-GENERATED COMPONENTS
Note: Text based on automatic Optical Character Recognition processes. Please use the PDF version for legal matters

CLAIMS

1. A method for implementing a function item of an application using pre-generated components, the method comprising:

storing the pre-generated components in a component library;

acquiring characteristic data from a server based on information related to the application and information related to the function item of the application, responsive to a request to start the function item of the application;

determining a necessary component in the component library for starting the function item based on the characteristic data; and

starting the function item using the necessary component.

2. The method of claim 1, wherein when the function item is used to display content of a page, and the characteristic data comprises interface data associated with the content, and layout template data of the page, wherein the layout template data comprises information related to the necessary component for determining the necessary component, wherein the method further comprises establishing an association between the necessary component and a view model, and wherein the starting of the function item using the necessary component comprises:

determining an initial view model corresponding to the necessary components based on the necessary component and the association between the necessary component and the view model;

updating the initial view model using the layout template data and the interface data to acquire an updated view model;

performing a page rendering process using the updated view model to generate a rendered page; and

displaying the rendered page.

3. The method of claim 2, further comprising:

receiving a request message sent by a page loader of the application, wherein the request message comprises information related to the application and information related to the function item, and wherein the information related to the application and the information related to the function item is used to determine the function item of the application to be started; and

acquiring information related to the application and information related to the function item, wherein the establishing an association between the necessary component and the view model comprises establishing an association between the necessary component and the view model using a data layer.

4. The method of claim 3, further comprising:

performing an initial rendering process of the page according to the initial layout template data and basic information to generate an initial rendering; and

displaying the page using the initial rendering.

5. The method of claim 3, wherein the necessary component comprises a UI component, the component library and the data layer are located at a client device, and the client device comprises a service packet corresponding to the application.

6. The method of claim 5, wherein the client further comprises other modules, wherein the other modules are available to different applications, and the other modules comprise one or more of: a core library, a flow management module, and a life cycle management module.

7. The method of claim 5, wherein the client further comprises an adaptation layer, the adaptation layer comprises implementation information for different applications, and the data layer performs a rendering process according to the implementation information.

8. The method of claim 1, wherein the acquiring characteristic data from the server based on information related to the application and information related to the function item comprises:

sending a request message to the adaptation layer of the server, the request message comprising the information related to the application and the information related to the function item; and

receiving characteristic data sent by the server, wherein the characteristic data is acquired by the server based on the information related to the application and the information related to the function item,

wherein the adaptation layer of the server is capable of receiving request messages sent by different applications.

9. A device for executing an application using common components, comprising:

a memory for storing pre-generated components in a component library;

a processor communicatively couple to the memory that acquires characteristic data from a server based on information related to the application and information related to the function item responsive to a request to execute a function item of the application, determines a necessary component for the function item in the component library based on the characteristic data, and starts the function item using the necessary component.

10. The device of claim 9, wherein the processor:

determines an initial view model corresponding to the necessary components based on the necessary component and the association between the necessary component and the view model; updates the initial view model according to layout template data and interface data to generate an updated view model

performs a page rendering process using the updated view model to generate a rendered page; and

displays the rendered page,

wherein when the function item comprises page content, and the characteristic data comprises the interface data associated with the page content and the layout template data of the displayed page, wherein the layout template data comprises data for determining the necessary component.

11. A computer usable medium having computer-readable program code embodied therein for causing a computer system to execute a method of processing an application, the method

comprising:

storing pre-generated components in a component library;

acquiring characteristic data from a server based on information related to an application and information related to a function item of the application, responsive to a request to start the function item of the application;

determining a necessary component in the component library for starting the function item based on the characteristic data; and

starting the function item using the necessary component.

12. The method of claim 11, wherein when the function item is used to display content of a page, the characteristic data comprises interface data associated with the content and layout template data of the page, and wherein the layout template data comprises information related to the necessary component used to determine the necessary component, and the method further comprises:

establishing an association between the necessary component and a view model; and the starting the function item using the necessary component comprises:

determining an initial view model corresponding to the necessary components based on the necessary component and the association between the necessary component and the view model;

updating the initial view model according to the layout template data and the interface data to acquire an updated view model;

performing a page rendering process using the updated view model to generate a rendered page; and

displaying the rendered page.

13. The method of claim 12, further comprising receiving a request message sent by a page loader of the application, wherein the request message comprises information related to the application and information related to the function item used to determine the function item of the application to be started.

14. The method of claim 13, wherein the necessary component comprises a UI component, the component library and the data layer are located at a client device, and the client device comprises a service packet corresponding to the application.

15. The method of claim 14, wherein the client further comprises other modules, wherein the other modules are available to different applications, and the other modules comprise one or more of: a core library, a flow management module, and a life cycle management module.

16. The method according to claim 14, wherein the client further comprises an adaptation layer, wherein the adaptation layer includes implementation information for different applications, and the data layer performs a rendering process using the implementation information.

17. The method of claim 11, wherein the acquiring characteristic data from the server based on information related to the application and information related to the function item comprises:

sending a request message to the adaptation layer of the server, the request message comprising information related to the application and information related to the function item; and

receiving characteristic data sent by the server, wherein the characteristic data is acquired by the server based on the information related to the application and the information related to the function item.

18. The method of Claim 17, wherein the adaptation layer of the server is capable of receiving request messages sent by different applications.

19. The method of Claim 18, wherein the adaptation layer of the server is capable of receiving request messages sent by different applications in parallel, and the server is capable of responding to the request messages in parallel.

20. The method of claim 13, further comprising acquiring information related to the

application and information related to the function item, wherein the establishing an association between the component and the view model comprises establishing an association between the component and the view model using a data layer.