Message-based view loading method and device, equipment and storage medium
A view and message technology, applied in the computer field, can solve problems affecting user experience, slow page startup speed, and time-consuming, etc., to achieve the effect of improving user experience and page startup speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] The message-based view loading method provided in this embodiment is applicable to the start-up of an application based on the Android system. The method can be performed by a message-based view loading device, which can be implemented by software and / or hardware, and which can be integrated in a device carrying an Android system, such as a typical user terminal device, such as a mobile phone, a tablet Computer or Smart TV etc. see figure 1 , the method of this embodiment includes:
[0046] S110. Determine the target view ID of the target view according to the function start message when a function start message triggering view loading is received.
[0047] Among them, the function start message refers to the first message that triggers the control to execute the control function. The timing of sending this message is related to the specific business requirements. For example, it can be sent when the target view needs to be displayed, rather than the target view. Sen...
Embodiment 2
[0071] This embodiment provides a message-based view loading device, see figure 2 , the device specifically includes:
[0072] The target view identification determination module 210 is configured to determine the target view identification of the target view according to the function activation message when receiving a function activation message triggering view loading;
[0073] The target view protocol object acquisition module 220 is used to use the target view ID as an input parameter to call the object acquisition function through the object set to obtain the target view protocol object corresponding to the target view ID, wherein the object set is used to store each view ID and each A view protocol object corresponding to a view identifier, the view protocol object is generated based on the predefined view loading protocol for the initial view class;
[0074] The target view loading module 230 is configured to call the view loading protocol function through the target...
Embodiment 3
[0090] see image 3 , the present embodiment provides a device 300, which includes: one or more processors 320; storage device 310, used to store one or more programs, when one or more programs are executed by one or more processors 320 , so that one or more processors 320 implement the message-based view loading method provided by the embodiment of the present invention, including:
[0091] When receiving a function start message triggering view loading, determine the target view ID of the target view according to the function start message;
[0092] Using the target view ID as an input parameter, call the object acquisition function through the object set to obtain the target view protocol object corresponding to the target view ID, where the object set is used to store each view ID and the view protocol object corresponding to each view ID, and the view The protocol object is generated for the initial view class based on the predefined view loading protocol;
[0093] The ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com