Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Webpage refreshing method and device, electronic equipment and storage medium

A page refresh and page technology, applied in software engineering design, network data retrieval, electronic digital data processing, etc.

Pending Publication Date: 2021-04-16
天津中新智冠信息技术有限公司 +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the hybrid development on the market will not embed micro-apps (H5 applets) on the main page, nor will it update the interface when the H5 page is invisible, that is to say: it must be visible when the applet H5 page is visible Pull down to refresh, the data in the page will not be refreshed automatically

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Webpage refreshing method and device, electronic equipment and storage medium
  • Webpage refreshing method and device, electronic equipment and storage medium
  • Webpage refreshing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 It is a flow chart of a method for refreshing a webpage provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of refreshing a webpage from invisible to visible. The method can be executed by a webpage refreshing device, and the device can be realized by software and / or hardware.

[0024] Before introducing the technical solution of this embodiment, an exemplary introduction is given to the application scenario of this embodiment: in the prior art, the H5 page resides in the main tab page of the native application. In order to realize fast switching of tabs, the Android side will use the View Pager control As a container to accommodate all the tab main pages, you will find that when the H5 page is switched to invisible, the H5 page will automatically obtain new data, and the page will not be updated.

[0025] In order to solve the above technical problems, the technical solution of the embodiment of the present invent...

Embodiment 2

[0043] figure 2 It is a schematic structural diagram of a web page refreshing device provided in Embodiment 2 of the present invention. This embodiment is applicable to the case of refreshing a web page that changes from invisible to visible. The concrete structure of this web page refreshing device is as follows:

[0044] The layout update triggering module 210 is used to trigger the layout update of the current page when it is detected that the current page is switched from the invisible state to the visible state;

[0045] The page rendering module 220 is configured to trigger a layout refresh of the current page based on the layout update, and render the refreshed page.

[0046] The technical solution of the embodiment of the present invention specifically includes when it is detected that the current page is switched from the invisible state to the visible state, triggering the layout update of the current page; triggering the layout refresh of the current page based on...

Embodiment 3

[0061] image 3 It is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention. image 3 A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the invention is shown. image 3 The electronic device 12 shown is only an example, and should not limit the functions and scope of use of the embodiments of the present invention.

[0062] Such as image 3 As shown, electronic device 12 takes the form of a general computing electronic device. Components of electronic device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.

[0063] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a webpage refreshing method and device, electronic equipment and a storage medium. The method comprises the steps that when it is detected that a current page is switched from an invisible state to a visible state, triggering layout updating of the current page; and triggering layout refreshing of the current page based on the layout updating, and rendering the refreshed page. Through the technical scheme disclosed by the embodiment of the invention, automatic refreshing is realized when the page is visible, and the page refreshing efficiency is improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer front-end technology, and in particular to a method, device, electronic device and storage medium for refreshing a web page. Background technique [0002] At present, many application software adopt native + H5 hybrid development, which is convenient, fast and easy to maintain. Therefore, WebView has become a necessary control for Android development. DingTalk, mobile phone Taobao, and WeChat have adopted similar development solutions, all of which belong to the hybrid development of native + H5. [0003] However, the hybrid development on the market will not embed micro-apps (H5 applets) on the main page, nor will it update the interface when the H5 page is invisible, that is to say: it must be visible when the applet H5 page is visible Only when you pull down to refresh, the data in the page will not be refreshed automatically. Contents of the invention [0004] The inventi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/957G06F8/38
Inventor 李太友张淑强刘义岭
Owner 天津中新智冠信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products