A user interface task scheduling method and device
A technology of task scheduling and user interface, applied in the direction of multi-program device, program control device, program startup/switching, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] An embodiment of the present invention provides a user interface task scheduling method, and the method is applied to a device using an Android system. like figure 1 As shown, the task scheduling methods of this user interface include:
[0037] Step 101, the task scheduling device splits the layout file of the main thread into at least two sub-layout files.
[0038] Wherein, the execution subject of the method is a task scheduling device, and for the Andriod system, the task scheduling device may be a main thread running in the task processing device. Specifically, the Android system provides a very rich set of UI components, which can be used in combination to build a complex and powerful user interface. The UI components in the Android system usually include base class controls and container controls. The base class controls include: View class and derived classes of View class, container controls include: ViewGroup class and derived classes of ViewGroup class. Amo...
Embodiment 2
[0064] The embodiment of the present invention also provides a user interface task processing method, such as Figure 4 shown, including:
[0065] Step 201: Receive the identifier of the first sub-layout file sent by the task scheduling apparatus.
[0066] Wherein, the execution subject of the method is a task processing device. For the Andriod system, the task processing device can be a sub-thread running in the task processing device, and the sub-thread can be a sub-thread in an idle state in a thread pool. Include at least one child thread. In addition, the first sub-layout file is obtained by splitting the layout file of the main thread by the task scheduling device. Specifically, the task scheduling device splits the layout file of the main thread into at least two sub-layout files, and the task scheduling device divides the at least two sub-layout files The identifier of the first sub-layout file in the layout file is sent to the task processing device, and correspondi...
Embodiment 3
[0078] An embodiment of the present invention provides a task scheduling device for a user interface. Each functional unit in the task scheduling device corresponds to the task scheduling method for the user interface in Embodiment 1. For details, please refer to the description in Embodiment 1. Here No longer. like Image 6 As shown, the general task scheduling device 60 includes:
[0079] A splitting unit 601, configured to split the layout file of the main thread into at least two sub-layout files;
[0080] The receiving unit 602 is configured to receive the construction Inflate request sent by the application program;
[0081] The sending unit 603 is configured to send the identification of the first sub-layout file in the at least two sub-layout files split by the splitting unit 601 to the corresponding sub-thread according to the Inflate request received by the receiving unit 602, and the identification of the first sub-layout file Used for sub-threads to load the fir...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


