Cross-terminal webpage display method and system, storage medium and electronic equipment
A webpage and webpage loading technology, which is applied in network data retrieval, program control design, website content management, etc., can solve the problems of high memory usage and inability to monitor messages when opening webpages, and achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050]Seefigure 1 As shown, this embodiment provides a cross-terminal webpage display method, which includes the following steps:
[0051]S1. When it is necessary to open a web page on a cross-terminal, call the preset cross-terminal calling interface function. The cross-terminal calling interface function will obtain the corresponding component according to the name of the component. The corresponding component is the native terminal of the cross-terminal call. Components required for displaying a webpage; using the corresponding components, thread display views are performed by calling a preset page display function.
[0052]It is understandable that in order to implement cross-terminal interface calls, it is necessary to design a cross-terminal calling interface function, so that when a web page needs to be opened on a cross-terminal, the interface function can be directly called to realize the web page display, which can be realized quickly. Open the web view cross-terminal. In additi...
Embodiment 2
[0089]Based on the same inventive concept, such asfigure 2 As shown, the second embodiment of the present invention provides a cross-terminal webpage display system, which includes:
[0090]The interface calling module 10 is used to call the preset cross-terminal calling interface function when the webpage needs to be opened on the cross-terminal. The cross-terminal calling interface function will obtain the corresponding component according to the name of the component, and the corresponding component is the cross-terminal. Components required by the native terminal to display webpages called by the client terminal; using the corresponding components to perform thread display views by calling a preset page display function;
[0091]The message callback module 20 is used to complete the H5 loading callback operation on the cross-end, so that the cross-end page can receive the message that the webpage has been loaded;
[0092]The message monitoring module 30 is used to implement message monit...
Embodiment 3
[0096]Based on the same inventive concept, the third embodiment of the present invention provides a computer readable storage medium on which a computer program is stored. When the program is executed by a processor, a cross-terminal web page display as provided by any embodiment of the present invention is realized. Method, the method includes:
[0097]When a web page needs to be opened on a cross-end, the preset cross-end call interface function is called. The cross-end call interface function will obtain the corresponding component according to the name of the component. The corresponding component is the native end of the cross-end call. Components required for the time; using the corresponding components to perform thread display views by calling a preset page display function;
[0098]The H5 loading callback operation is completed on the cross-end, so that the cross-end page can receive the message that the web page has been loaded;
[0099]By executing message subscription, the messag...
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