[go: up one dir, main page]

CN107729352A - page resource loading method and terminal device - Google Patents

page resource loading method and terminal device Download PDF

Info

Publication number
CN107729352A
CN107729352A CN201710761478.XA CN201710761478A CN107729352A CN 107729352 A CN107729352 A CN 107729352A CN 201710761478 A CN201710761478 A CN 201710761478A CN 107729352 A CN107729352 A CN 107729352A
Authority
CN
China
Prior art keywords
resource
page
plug
cache
static cache
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710761478.XA
Other languages
Chinese (zh)
Other versions
CN107729352B (en
Inventor
黄伟淦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201710761478.XA priority Critical patent/CN107729352B/en
Priority to PCT/CN2018/077044 priority patent/WO2019041766A1/en
Publication of CN107729352A publication Critical patent/CN107729352A/en
Application granted granted Critical
Publication of CN107729352B publication Critical patent/CN107729352B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a kind of page resource loading method and terminal device, suitable for Mobile solution technical field, this method includes:When page load events are triggered, page load request is intercepted, and obtains the page address entrained by the page load request;Based on website corresponding to the page address, it is determined that the page resource plug-in unit with the site match, the page resource plug-in unit is pre-stored within the installation kit of application program;The page resource plug-in unit is run, with multiple static cache resources under the website that is locally stored;In the application program, according to default network view, the static cache resource matched with the page address is loaded.This invention ensures that even Hybrid App are first under the situation of loading page resource, also can be from local quick loading page resource, so as to reduce the number to second server requests for page resource, the loading for greatly reducing page resource takes, and improves Hybrid App performance.

Description

页面资源加载方法及终端设备Page resource loading method and terminal device

技术领域technical field

本发明属于移动应用技术领域,尤其涉及一种页面资源加载方法及终端设备。The invention belongs to the technical field of mobile applications, and in particular relates to a page resource loading method and a terminal device.

背景技术Background technique

随着技术的不断更新,移动终端的应用程序也逐渐地沿着本地化应用(NativeApp),到基于WEB的应用(Web App),再到混合型应用(Hybrid APP)的方向发展。Hybrid App为基于网页语言与程序语言来编写的应用。从用户的角度来看,Hybrid App的界面会类似于Native App,但实际上,移动应用所展示的是基于HTML5的页面。With the continuous updating of technology, mobile terminal applications are gradually developing along the direction of localized applications (NativeApp), to WEB-based applications (Web App), and then to hybrid applications (Hybrid APP). Hybrid App is an application written based on web page language and programming language. From the user's point of view, the interface of the Hybrid App will be similar to that of the Native App, but in fact, the mobile application displays pages based on HTML5.

在Hybrid App的开发过程中,若HTML5页面没有得到完善的优化处理,则在网络环境较差的情况之下,用户在使用Hybrid App并首次加载页面资源时,往往需要较大的耗时才能获取页面资源。统计发现,Hybrid App在3g或2g的网络环境之下,页面资源在首次加载时所消耗的时间甚至超过了一分钟,这导致了Hybrid App的性能极为低下。During the development of the Hybrid App, if the HTML5 pages are not fully optimized, and the network environment is poor, when the user uses the Hybrid App and loads page resources for the first time, it often takes a lot of time to obtain page resource. According to the statistics, under the network environment of 3g or 2g, the page resource consumes even more than one minute when the page resources are loaded for the first time, which leads to the extremely low performance of the hybrid app.

发明内容Contents of the invention

有鉴于此,本发明实施例提供了一种页面资源加载方法及终端设备,以解决现有技术中Hybrid App在首次加载页面资源时耗时较大的问题。In view of this, the embodiments of the present invention provide a method for loading page resources and a terminal device, so as to solve the problem in the prior art that the Hybrid App takes a lot of time when loading page resources for the first time.

本发明实施例的第一方面提供了一种页面资源加载方法,包括:The first aspect of the embodiments of the present invention provides a page resource loading method, including:

当页面加载事件被触发时,对页面加载请求进行拦截,并获取所述页面加载请求所携带的页面地址;When the page loading event is triggered, the page loading request is intercepted, and the page address carried by the page loading request is obtained;

基于所述页面地址对应的站点,确定与所述站点匹配的页面资源插件,所述页面资源插件预先存储于应用程序的安装包中;Based on the site corresponding to the page address, determine a page resource plug-in that matches the site, where the page resource plug-in is pre-stored in the installation package of the application;

运行所述页面资源插件,以得到本地存储的所述站点下的多个静态缓存资源;Running the page resource plug-in to obtain a plurality of static cache resources stored locally under the site;

在所述应用程序中,根据预设的网络视图,加载与所述页面地址匹配的所述静态缓存资源。In the application program, the static cache resource matching the page address is loaded according to a preset network view.

本发明实施例的第二方面提供了一种终端设备,包括存储器以及处理器,所述存储器中存储有可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时,实现如下步骤:The second aspect of the embodiments of the present invention provides a terminal device, including a memory and a processor, the memory stores a computer program that can run on the processor, and it is characterized in that the processor executes the When a computer program is implemented, the following steps are implemented:

当页面加载事件被触发时,对页面加载请求进行拦截,并获取所述页面加载请求所携带的页面地址;When the page loading event is triggered, the page loading request is intercepted, and the page address carried by the page loading request is obtained;

基于所述页面地址对应的站点,确定与所述站点匹配的页面资源插件,所述页面资源插件预先存储于应用程序的安装包中;Based on the site corresponding to the page address, determine a page resource plug-in that matches the site, where the page resource plug-in is pre-stored in the installation package of the application;

运行所述页面资源插件,以得到本地存储的所述站点下的多个静态缓存资源;Running the page resource plug-in to obtain a plurality of static cache resources stored locally under the site;

在所述应用程序中,根据预设的网络视图,加载与所述页面地址匹配的所述静态缓存资源。In the application program, the static cache resource matching the page address is loaded according to a preset network view.

本发明实施例的第三方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:A third aspect of the embodiments of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

当页面加载事件被触发时,对页面加载请求进行拦截,并获取所述页面加载请求所携带的页面地址;When the page loading event is triggered, the page loading request is intercepted, and the page address carried by the page loading request is obtained;

基于所述页面地址对应的站点,确定与所述站点匹配的页面资源插件,所述页面资源插件预先存储于应用程序的安装包中;Based on the site corresponding to the page address, determine a page resource plug-in that matches the site, where the page resource plug-in is pre-stored in the installation package of the application;

运行所述页面资源插件,以得到本地存储的所述站点下的多个静态缓存资源;Running the page resource plug-in to obtain a plurality of static cache resources stored locally under the site;

在所述应用程序中,根据预设的网络视图,加载与所述页面地址匹配的所述静态缓存资源。In the application program, the static cache resource matching the page address is loaded according to a preset network view.

本发明实施例中,通过在Hybrid App的应用程序安装包中存入与多个站点匹配的页面资源插件,并使Hybrid App在拦截到页面加载请求时,运行存储于本地的页面资源插件,以加载与页面加载请求匹配的静态缓存资源,保证了Hybrid App即使是在首次加载页面资源的情况之下,也能够从本地快速加载页面资源,从而减少了向远程服务器请求页面资源的次数,大大降低了页面资源的加载耗时,由此也提高了Hybrid App的性能。In the embodiment of the present invention, by storing page resource plug-ins matching multiple sites in the application installation package of the Hybrid App, and making the Hybrid App run the locally stored page resource plug-ins when intercepting a page loading request, to Loading the static cache resources that match the page loading request ensures that the Hybrid App can quickly load the page resources locally even when the page resources are loaded for the first time, thereby reducing the number of requests for page resources from the remote server and greatly reducing the It reduces the time-consuming loading of page resources, thus improving the performance of the Hybrid App.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.

图1是本发明实施例提供的页面资源加载方法的实现流程图;Fig. 1 is the implementation flowchart of the page resource loading method provided by the embodiment of the present invention;

图2是本发明另一实施例提供的页面资源加载方法的实现流程图;Fig. 2 is an implementation flow chart of a page resource loading method provided by another embodiment of the present invention;

图3是本发明又一实施例提供的页面资源加载方法的实现流程图;Fig. 3 is a flow chart of realizing a page resource loading method provided by another embodiment of the present invention;

图4是本发明实施例提供的页面资源加载方法S104的具体实现流程图;FIG. 4 is a specific implementation flowchart of the page resource loading method S104 provided by the embodiment of the present invention;

图5是本发明实施例提供的页面资源加载装置的结构框图;Fig. 5 is a structural block diagram of a page resource loading device provided by an embodiment of the present invention;

图6是本发明另一实施例提供的页面资源加载装置的结构框图;Fig. 6 is a structural block diagram of a page resource loading device provided by another embodiment of the present invention;

图7是本发明又一实施例提供的页面资源加载装置的结构框图;Fig. 7 is a structural block diagram of a page resource loading device provided by another embodiment of the present invention;

图8是本发明实施例提供的终端设备的示意图。Fig. 8 is a schematic diagram of a terminal device provided by an embodiment of the present invention.

具体实施方式detailed description

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

在本发明的各个实施例中,流程的执行主体为运行于移动终端上的应用程序,简称移动应用。该移动应用为混合型应用Hybrid App。In each embodiment of the present invention, the execution subject of the process is an application program running on a mobile terminal, referred to as a mobile application. This mobile application is a Hybrid App.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

图1示出了本发明实施例提供的页面资源加载方法的实现流程,该方法流程包括步骤S101至S104。各步骤的具体实现原理如下。Fig. 1 shows the implementation process of the page resource loading method provided by the embodiment of the present invention, and the method process includes steps S101 to S104. The specific implementation principle of each step is as follows.

S101:当页面加载事件被触发时,对页面加载请求进行拦截,并获取所述页面加载请求所携带的页面地址。S101: When a page loading event is triggered, intercept the page loading request, and acquire the page address carried in the page loading request.

移动应用加载页面资源的时刻包括移动应用启动的时刻以及在移动应用的运行过程中,接收到用户发出的资源选取指令的时刻。在上述情况下,页面加载事件即被触发。此时,移动应用生成页面加载请求。当预设于移动应用的拦截器检测到该页面加载请求时,将页面加载请求进行拦截及捕获,以使页面加载请求无法正常到达其目的地址,即,使得页面加载请求无法发送至远程服务器以及无法请求加载远程网络上的页面资源。The moment when the mobile application loads page resources includes the moment when the mobile application is started and the moment when a resource selection instruction from the user is received during the running of the mobile application. In the above case, the page load event is fired. At this point, the mobile application generates a page load request. When the interceptor preset in the mobile application detects the page loading request, it will intercept and capture the page loading request, so that the page loading request cannot reach its destination address normally, that is, the page loading request cannot be sent to the remote server and Could not request to load page resource on remote network.

对当前时刻所拦截的页面加载请求进行解析,以提取页面加载请求所携带的页面地址。上述页面地址例如可以是存储于远程服务器上的页面资源的URL(Uniform ResoureLocator,统一资源定位符)地址。页面地址中可以体现出网络传输协议、IP地址、域名地址、路径以及资源文件名等信息。The page loading request intercepted at the current moment is parsed to extract the page address carried in the page loading request. The aforementioned page address may be, for example, a URL (Uniform Resource Locator, Uniform Resource Locator) address of a page resource stored on a remote server. The page address can reflect information such as the network transmission protocol, IP address, domain name address, path, and resource file name.

示例性地,拦截得到的页面加载请求所携带的页面地址可以是:local://www.abc.com/item/url/110640。Exemplarily, the page address carried by the intercepted page loading request may be: local://www.abc.com/item/url/110640.

优选地,移动应用的原生页面资源所对应的网络传输协议通常为file协议,由于file协议无法被识别拦截,故在移动应用的开发过程中,将原生页面资源所对应的网络传输协议统一更改为local协议。仅在检测到页面加载请求所携带的页面地址的协议为local协议时,才对页面加载请求进行拦截。Preferably, the network transmission protocol corresponding to the native page resource of the mobile application is usually the file protocol. Since the file protocol cannot be identified and intercepted, during the development process of the mobile application, the network transmission protocol corresponding to the native page resource is uniformly changed to local protocol. The page loading request is intercepted only when it is detected that the protocol of the page address carried in the page loading request is the local protocol.

S102:基于所述页面地址对应的站点,确定与所述站点匹配的页面资源插件,所述页面资源插件预先存储于应用程序的安装包中。S102: Based on the site corresponding to the page address, determine a page resource plug-in that matches the site, where the page resource plug-in is pre-stored in an installation package of the application program.

站点表示对多个页面资源进行组织、维护和管理的虚拟目录。根据上述S101所获取得到的页面地址,将页面地址中的IP地址部分或域名地址部分确定为该页面地址所对应的站点。A site represents a virtual directory that organizes, maintains, and manages resources for multiple pages. According to the page address obtained in S101 above, the IP address part or the domain name address part in the page address is determined as the site corresponding to the page address.

例如,在上述页面地址http://www.abc.com/item/url/110640中,解析得到的域名地址为“www.abc.com”,故该页面地址对应的站点为www.abc.com站点。For example, in the above page address http://www.abc.com/item/url/110640, the resolved domain name address is "www.abc.com", so the site corresponding to the page address is www.abc.com site.

本发明实施例中,在移动应用启动之前,需要基于预先下载的移动应用的安装包,对该移动应用进行安装处理。在下载的安装包中,存储有多个站点的页面资源插件。具体地,在发布移动应用的安装包前,与该移动应用相关的每一站点的页面资源将整合为一hfcache插件,并以该hfcache插件打包至移动应用的安装包中。In the embodiment of the present invention, before the mobile application is started, the mobile application needs to be installed based on the pre-downloaded installation package of the mobile application. In the downloaded installation package, page resource plug-ins of multiple sites are stored. Specifically, before releasing the installation package of the mobile application, the page resources of each site related to the mobile application will be integrated into a hfcache plug-in, and packaged into the installation package of the mobile application with the hfcache plug-in.

当移动应用安装成功后,从安装包中获取各个页面资源插件。根据每一页面资源插件的插件名以及上述页面加载请求所对应的站点,从整合于安装包的各个页面资源插件中,确定出与站点匹配的页面资源插件。After the mobile application is successfully installed, obtain each page resource plug-in from the installation package. According to the plug-in name of each page resource plug-in and the site corresponding to the above page loading request, the page resource plug-in matching the site is determined from the page resource plug-ins integrated in the installation package.

S103:运行所述页面资源插件,以得到本地存储的所述站点下的多个静态缓存资源。S103: Run the page resource plug-in to obtain a plurality of static cache resources stored locally under the site.

每一个hfcache插件运行时,将调取与该hfcache插件对应的一压缩包以及一缓存文件清单。上述压缩包的文件格式包括但不限于.zip格式或.rar格式。压缩包中包含有站点的各项静态缓存资源,如站点中的js文件、css文件、图片以及音频等文件。缓存文件清单用于记录压缩包中各项静态缓存资源的资源名称以及每一静态缓存资源所对应的MD5值。每一静态缓存资源在发布时,将通过预设算法计算其MD5值。在将静态缓存资源整合至hfcache插件的过程中,其MD5值将记录于hfcache插件对应的缓存文件清单中。When each hfcache plug-in is running, it will call a compressed package and a cache file list corresponding to the hfcache plug-in. The file format of the above compressed package includes but not limited to .zip format or .rar format. The compressed package contains various static cache resources of the site, such as js files, css files, pictures and audio files in the site. The cache file list is used to record the resource names of each static cache resource in the compressed package and the MD5 value corresponding to each static cache resource. When publishing each static cache resource, its MD5 value will be calculated by a preset algorithm. In the process of integrating static cache resources into the hfcache plug-in, its MD5 value will be recorded in the cache file list corresponding to the hfcache plug-in.

将hfcache插件对应的压缩包进行解压,可得到各个存储路径下的静态缓存资源。Decompress the compressed package corresponding to the hfcache plug-in to obtain the static cache resources under each storage path.

S104:在所述应用程序中,根据预设的网络视图,加载与所述页面地址匹配的所述静态缓存资源。S104: In the application program, load the static cache resource matching the page address according to a preset network view.

从页面加载请求所携带的页面地址中,解析出当前移动应用所需加载的页面资源的资源路径以及资源文件名。在解压得到的各项静态缓存资源中,确定出与该资源路径以及资源文件名匹配的静态缓存资源。From the page address carried in the page loading request, the resource path and the resource file name of the page resource to be loaded by the current mobile application are parsed out. Among the decompressed static cache resources, determine the static cache resource matching the resource path and resource file name.

WebView是一个基于webkit引擎以及用于展现web页面的控件。本发明实施例中,通过移动应用内部预设的WebView,对确定出的静态缓存资源进行解析,以生成相应的Web页面,从而实现对页面加载请求所需的页面资源的展示。WebView is a control based on the webkit engine and used to display web pages. In the embodiment of the present invention, the determined static cache resource is parsed through the preset WebView inside the mobile application to generate a corresponding Web page, thereby realizing the display of the page resource required by the page loading request.

本发明实施例中,通过在Hybrid App的应用程序安装包中存入与多个站点匹配的页面资源插件,并使Hybrid App在拦截到页面加载请求时,解压存储于本地的页面资源插件,以加载与页面加载请求匹配的静态缓存资源,保证了Hybrid App即使是在首次加载页面资源的情况之下,也能够从本地快速加载页面资源,从而减少了向远程服务器请求页面资源的次数,大大降低了页面资源的加载耗时,由此也提高了Hybrid App的性能。In the embodiment of the present invention, by storing page resource plug-ins matching multiple sites in the application installation package of the Hybrid App, and making the Hybrid App decompress the locally stored page resource plug-ins when intercepting a page loading request, to Loading the static cache resources that match the page loading request ensures that the Hybrid App can quickly load the page resources locally even when the page resources are loaded for the first time, thereby reducing the number of requests for page resources from the remote server and greatly reducing the It reduces the time-consuming loading of page resources, thus improving the performance of the Hybrid App.

作为本发明的另一个实施例,如图2所示,在上述S104之后,还包括:As another embodiment of the present invention, as shown in FIG. 2, after the above S104, it also includes:

S105:每隔预设的时间间隔,向第一服务器发出插件更新检测请求。S105: Send a plug-in update detection request to the first server every preset time interval.

不同站点的静态缓存资源通常由不同的团队来维护更新,为了便于移动应用更新本地存储的各个站点的静态缓存资源,本发明实施例提供了一静态缓存资源发布平台,各个团队通过其登录账号登录该静态缓存资源发布平台后,即可将更新后的静态缓存资源打包上传。将页面资源插件上传至静态缓存资源发布平台后,即完成了页面资源插件的更新发布。为了便于理解以及区分于下文所提到的远程服务器,将上述静态缓存资源发布平台称为第一服务器。The static cache resources of different sites are usually maintained and updated by different teams. In order to facilitate the mobile application to update the static cache resources of each site stored locally, the embodiment of the present invention provides a static cache resource release platform, and each team logs in through its login account After the static cache resource is published on the platform, the updated static cache resource can be packaged and uploaded. After the page resource plug-in is uploaded to the static cache resource publishing platform, the update release of the page resource plug-in is completed. For ease of understanding and to distinguish it from the remote server mentioned below, the static cache resource distribution platform is referred to as the first server.

移动应用每隔预设的时间间隔,向第一服务器发出插件更新检测请求,以检测当前时刻本地所存储的静态缓存资源是否出现更新。The mobile application sends a plug-in update detection request to the first server every preset time interval, so as to detect whether the locally stored static cache resource is updated at the current moment.

作为本发明的一个实施例,上述S105具体包括:As an embodiment of the present invention, the above S105 specifically includes:

每隔预设的时间间隔,向第一服务器发出插件更新检测请求,所述插件更新检测请求包含有所述页面资源插件的标识号,以使所述第一服务器在与所述标识号绑定的插件资源页面中,提取当前时刻所发布的静态缓存资源,并使所述第一服务器返回与该静态缓存资源相关的所述第一缓存文件清单。Send a plug-in update detection request to the first server every preset time interval, the plug-in update detection request includes the identification number of the page resource plug-in, so that the first server is bound to the identification number From the plug-in resource page of , extract the static cache resource published at the current moment, and make the first server return the first cache file list related to the static cache resource.

本发明实施例中,本地所存储的每一页面资源插件预先分配有一个标识号,即用于唯一标识页面资源插件的ID号。每隔预设的时间间隔,移动应用需确定各个页面资源插件是否出现新版本。基于所需检测的页面资源插件的ID号,移动应用向第一服务器发出携带该ID号的插件更新检测请求。In the embodiment of the present invention, each page resource plug-in stored locally is pre-allocated with an identification number, that is, an ID number for uniquely identifying the page resource plug-in. Every preset time interval, the mobile application needs to determine whether there is a new version of each page resource plug-in. Based on the ID number of the page resource plug-in to be detected, the mobile application sends a plug-in update detection request carrying the ID number to the first server.

当第一服务器接收到插件更新检测请求时,解析出插件更新检测请求所携带的页面资源插件的ID号。第一服务器在当前时刻所发布的各个页面资源插件中,筛选出与该ID号对应的页面资源插件。根据筛选出的页面资源插件所调用的静态缓存资源,第一服务器生成第一缓存文件清单,以将各项静态缓存资源的资源名称以及MD5值记录于第一缓存文件清单,并将第一缓存文件清单作为插件更新检测请求的响应信息,返回至移动应用。When the first server receives the plug-in update detection request, it parses out the ID number of the page resource plug-in carried in the plug-in update detection request. The first server screens out the page resource plug-in corresponding to the ID number from among the page resource plug-ins published at the current moment. According to the static cache resources called by the filtered page resource plug-in, the first server generates a first cache file list to record the resource names and MD5 values of each static cache resource in the first cache file list, and the first cache file The file list is returned to the mobile application as a response to the plug-in update detection request.

优选地,第一服务器中存储有各个ID号所对应的资源主页地址,在预设时间间隔到达时,第一服务器根据其所存储的各个资源主页地址,爬取资源主页地址中的页面资源,以将爬取结果整合为新的页面资源插件,并将该页面资源插件进行发布。本发明实施例中,站点的管理人员无须人工登录静态缓存资源发布平台并人工上传更新后的页面资源插件,只需将站点的资源主页地址存储于第一服务器中,便可实现页面资源插件的自动爬取及定时更新,由此降低了页面资源插件在更新发布过程中的操作复杂度。Preferably, the resource home page addresses corresponding to each ID number are stored in the first server, and when the preset time interval arrives, the first server crawls the page resources in the resource home page addresses according to the resource home page addresses stored therein, To integrate the crawling results into a new page resource plug-in, and publish the page resource plug-in. In the embodiment of the present invention, the administrator of the site does not need to manually log in to the static cache resource release platform and manually upload the updated page resource plug-in, but only needs to store the address of the resource home page of the site in the first server to realize the page resource plug-in. Automatic crawling and regular update, thus reducing the operational complexity of page resource plug-ins in the update and release process.

S106:接收所述第一服务器根据所述插件更新检测请求所返回的第一缓存文件清单,所述第一缓存文件清单包含有每一所述静态缓存资源的MD5值。S106: Receive the first cache file list returned by the first server according to the plug-in update detection request, where the first cache file list includes the MD5 value of each static cache resource.

S107:在运行所述页面资源插件所得到的第二缓存文件清单中,读取每一所述静态缓存资源的MD5值。S107: Read the MD5 value of each static cache resource in the second cache file list obtained by running the page resource plug-in.

运行本地存储的页面资源插件后,同样可获得一缓存文件清单,为了区别于第一服务器所返回的缓存文件清单,将运行本地存储的页面资源插件后所获得的缓存文件清单称为第二缓存文件清单。由上述步骤S103可知,第二缓存文件清单记录有页面资源插件所对应的压缩包中各项静态缓存资源的资源名称以及每一静态缓存资源所对应的MD5值。After running the locally stored page resource plug-in, a cache file list can also be obtained. In order to distinguish it from the cache file list returned by the first server, the cache file list obtained after running the locally stored page resource plug-in is called the second cache List of Documents. It can be known from the above step S103 that the second cache file list records resource names of each static cache resource in the compressed package corresponding to the page resource plug-in and the MD5 value corresponding to each static cache resource.

S108:对于每一所述静态缓存资源,若其在所述第一缓存文件清单中的MD5值与其在所述第二缓存文件清单中的MD5值不同,则更新该静态缓存资源,并将所述第二缓存文件清单更新为所述第一缓存文件清单。S108: For each static cache resource, if its MD5 value in the first cache file list is different from its MD5 value in the second cache file list, update the static cache resource, and save all The second cache file list is updated to the first cache file list.

依次读取第一缓存文件清单中每一资源名称所对应的MD5值。其中,在读取每一资源名称所对应的MD5值时,在第二缓存文件清单中,查找出与该资源名称对应的MD5值。若这两个MD5值不相同,则确定该资源名称所对应的静态缓存资源发布了新的版本。The MD5 value corresponding to each resource name in the first cache file list is sequentially read. Wherein, when reading the MD5 value corresponding to each resource name, find out the MD5 value corresponding to the resource name in the second cache file list. If the two MD5 values are different, it is determined that a new version of the static cache resource corresponding to the resource name has been released.

特别地,若第一缓存文件清单中的某一资源名称不存在于第二缓存文件清单,则同样确定该资源名称所对应的静态缓存资源发布了新的版本。In particular, if a certain resource name in the first cache file list does not exist in the second cache file list, it is also determined that a new version of the static cache resource corresponding to the resource name has been released.

在确定某一静态缓存资源发布了新的版本时,从第一服务器中,下载该静态缓存资源,以更新移动应用本地所存储的静态缓存资源。并且,将移动应用原本所存储的第一缓存文件清单进行删除,以将第二缓存文件清单更新为第一缓存文件清单。When it is determined that a new version of a certain static cache resource has been released, the static cache resource is downloaded from the first server to update the locally stored static cache resource of the mobile application. Moreover, the first cache file list originally stored by the mobile application is deleted, so as to update the second cache file list to the first cache file list.

优选地,在更新移动应用本地所存储的静态缓存资源时,仅从第一服务器中下载静态缓存资源的增量部分数据,以减少移动应用所需下载的数据量,从而提高了静态缓存资源的更新效率。Preferably, when updating the static cache resource locally stored in the mobile application, only the incremental data of the static cache resource is downloaded from the first server, so as to reduce the amount of data to be downloaded by the mobile application, thereby improving the performance of the static cache resource. Update efficiency.

本发明实施例中,通过定时获取与最新发布的静态缓存资源相关的第一缓存文件清单,并判断本地所存储的第二缓存文件清单中静态缓存资源的MD5值与该第一缓存文件清单中的MD5值是否相同,能够迅速地检测出移动应用中的静态缓存资源是否发布了新版本,提高了检测效率;在某一静态缓存资源在第一缓存文件清单中的MD5值与其在第二缓存文件清单中的MD5值不同时,通过更新该静态缓存资源,能够避免对信息量较大的整个页面资源插件的下载,由此提高了静态缓存资源的更新效率。In the embodiment of the present invention, the first cache file list related to the newly released static cache resource is obtained regularly, and the MD5 value of the static cache resource in the second cache file list stored locally is determined to be consistent with the first cache file list. Whether the MD5 value of a certain static cache resource is the same can quickly detect whether a new version of the static cache resource in the mobile application has been released, which improves the detection efficiency; When the MD5 values in the file list are different, by updating the static cache resource, the download of the entire page resource plug-in with a large amount of information can be avoided, thereby improving the update efficiency of the static cache resource.

作为本发明的又一个实施例,如图3所示,在上述S103之后,还包括:As yet another embodiment of the present invention, as shown in FIG. 3, after the above S103, further includes:

S109:获取预设的解密算法。S109: Obtain a preset decryption algorithm.

S110:通过所述解密算法,对本地存储的所述站点下的多个所述静态缓存资源进行解密处理。S110: Using the decryption algorithm, decrypt the plurality of static cache resources stored locally under the site.

本发明实施例中,打包至移动应用的安装包的页面资源插件、每一页面资源插件所对应的静态缓存资源以及缓存文件清单均为基于AES(Advanced Encryption Standard,高级加密标准)加密的文件数据。当移动应用处于运行状态,且拦截到页面加载请求后,触发解密算法获取事件,以读取预存储于移动应用中的解密算法。通过该解密算法,对加密的各个静态缓存资源进行解密处理,以解密出页面资源插件所对应的压缩包、缓存文件清单以及各项静态缓存资源。In the embodiment of the present invention, the page resource plug-in packaged into the installation package of the mobile application, the static cache resource corresponding to each page resource plug-in, and the cache file list are all encrypted file data based on AES (Advanced Encryption Standard, Advanced Encryption Standard) . When the mobile application is running and the page loading request is intercepted, a decryption algorithm acquisition event is triggered to read the decryption algorithm pre-stored in the mobile application. Through the decryption algorithm, each encrypted static cache resource is decrypted, so as to decrypt the compressed package, cache file list and various static cache resources corresponding to the page resource plug-in.

本发明实施例中,在对页面资源插件以及应用程序进行打包的同时,通过对静态缓存资源等各项数据文件进行加密,使得静态缓存资源能够以加密的形式保存在移动终端中。只有在移动应用运行时,才拦截页面加载请求,才能获取用于解密页面资源插件的解密算法,因此,即使静态缓存资源被其他不法分子拦截,只要移动应用未处于运行状态,则静态缓存资源就无法被解密,因而保证了静态缓存资源的代码安全。In the embodiment of the present invention, while the page resource plug-in and the application program are packaged, various data files such as the static cache resource are encrypted, so that the static cache resource can be stored in the mobile terminal in an encrypted form. Only when the mobile application is running, can the page loading request be intercepted to obtain the decryption algorithm used to decrypt the page resource plug-in. Therefore, even if the static cache resource is intercepted by other criminals, as long as the mobile application is not running, the static cache resource will not It cannot be decrypted, thus ensuring the code security of static cache resources.

作为本发明的一个实施例,如图5所示,上述S104具体包括:As an embodiment of the present invention, as shown in FIG. 5, the above S104 specifically includes:

S1041:在所述多个静态缓存资源中,获取与所述页面地址匹配的所述静态缓存资源,并计算该静态缓存资源的MD5值。S1041: Obtain the static cache resource matching the page address from among the plurality of static cache resources, and calculate an MD5 value of the static cache resource.

本发明实施例中,根据页面加载请求所携带的页面地址,在解压后的各个静态缓存资源中,搜索与该页面地址匹配的静态缓存资源。通过预存储于本地的MD5算法,对搜索得到的静态缓存资源进行处理,以计算出该静态缓存资源在当前时刻的MD5值。其中,本地所存储的MD5算法与第一服务器在分布页面资源插件时所使用的MD5算法相同。In the embodiment of the present invention, according to the page address carried in the page loading request, the decompressed static cache resources are searched for a static cache resource matching the page address. Through the MD5 algorithm pre-stored locally, the searched static cache resource is processed to calculate the MD5 value of the static cache resource at the current moment. Wherein, the locally stored MD5 algorithm is the same as the MD5 algorithm used by the first server when distributing the page resource plug-in.

S1042:在预先记录于所述第二缓存文件清单的各个MD5值中,读取与该静态缓存资源对应的MD5值。S1042: From each MD5 value pre-recorded in the second cache file list, read the MD5 value corresponding to the static cache resource.

根据该静态缓存资源的资源名称,在本地存储的缓存文件清单中,查找该资源名称所对应的MD5值,以判断查找得到的MD5值与当前时刻所实时计算出的MD5值是否相同。According to the resource name of the static cache resource, search the MD5 value corresponding to the resource name in the locally stored cache file list to determine whether the MD5 value obtained by the search is the same as the MD5 value calculated in real time at the current moment.

S1043:若读取得到的MD5值与计算得到的MD5值相同,则在所述应用程序中,根据预设的网络视图,加载该静态缓存资源。S1043: If the read MD5 value is the same as the calculated MD5 value, in the application program, load the static cache resource according to a preset network view.

S1044:若读取得到的MD5值与计算得到的MD5值不同,则向第二服务器发送所述页面加载请求,以加载基于所述页面地址的网络页面资源。S1044: If the read MD5 value is different from the calculated MD5 value, send the page loading request to the second server, so as to load the web page resource based on the page address.

不同的数据内容,其通过同一MD5算法计算得到的MD5值是不同的。因此,如果当前时刻存储于本地的静态缓存资源发生了变化,或者缓存文件清单所记录的静态缓存资源的MD5值是最新发布的MD5值,那么通过MD5算法计算得到的MD5值将与缓存文件清单中所存储的MD5值不同,从而可以判断出本地存储的静态缓存资源是否被篡改或者是否为最新版本的页面资源。Different data contents have different MD5 values calculated by the same MD5 algorithm. Therefore, if the static cache resource stored locally changes at the current moment, or the MD5 value of the static cache resource recorded in the cache file list is the latest released MD5 value, then the MD5 value calculated by the MD5 algorithm will be the same as the cache file list The MD5 values stored in are different, so that it can be judged whether the static cache resource stored locally has been tampered with or whether it is the latest version of the page resource.

若计算得到的MD5值与第二缓存文件清单中所读取到的MD5值相同,则可判定本地存储的静态缓存资源是最新发布的页面资源,且未被篡改,故通过预设的WebView,直接加载该静态缓存资源。If the calculated MD5 value is the same as the MD5 value read in the second cache file list, it can be determined that the locally stored static cache resource is the latest published page resource and has not been tampered with. Therefore, through the preset WebView, Load the static cache resource directly.

若计算得到的MD5值与第二缓存文件清单中所读取到的MD5值不同,则可判定本地存储的静态缓存资源是旧版本的页面资源,或者已被非法篡改。此时,将拦截得到的页面加载请求重新发送至与其所携带的页面地址相对应的资源服务器,以请求在线获取页面资源。If the calculated MD5 value is different from the MD5 value read in the second cache file list, it can be determined that the locally stored static cache resource is an old version of the page resource, or has been illegally tampered with. At this point, the intercepted page loading request is resent to the resource server corresponding to the page address it carries, so as to request to obtain the page resource online.

本发明实施例中,通过使用MD5算法来计算静态缓存资源的实时MD5值,并对比该MD5值与缓存文件清单中的MD5值是否相同,实现了静态缓存资源的防篡改校验;由于缓存文件清单可能先于静态缓存资源的文件本身出现更新,因而若计算得到的MD5值与缓存文件清单中的MD5值不同,则可初步判断出本地存储的静态缓存资源可能与最新版本的静态缓存资源不同,故通过在线实时加载页面资源,保证了移动应用能够最大限度提高页面资源加载速度的同时,展示最新版本的页面资源,从而提高了移动应用的可靠性。In the embodiment of the present invention, by using the MD5 algorithm to calculate the real-time MD5 value of the static cache resource, and comparing whether the MD5 value is the same as the MD5 value in the cache file list, the tamper-proof check of the static cache resource is realized; The manifest may be updated before the static cache resource file itself, so if the calculated MD5 value is different from the MD5 value in the cache file manifest, it can be preliminarily judged that the static cache resource stored locally may be different from the latest version of the static cache resource , so by loading page resources online in real time, it is ensured that the mobile application can maximize the loading speed of page resources and at the same time display the latest version of page resources, thereby improving the reliability of mobile applications.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.

对应于上文实施例所述的页面资源加载方法,图5示出了本发明实施例提供的页面资源加载装置的结构框图,为了便于说明,仅示出了与本发明实施例相关的部分。Corresponding to the page resource loading method described in the above embodiments, FIG. 5 shows a structural block diagram of a page resource loading device provided by an embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.

参照图5,该装置包括:Referring to Figure 5, the device includes:

拦截单元501,用于当页面加载事件被触发时,对页面加载请求进行拦截,并获取所述页面加载请求所携带的页面地址。The intercepting unit 501 is configured to intercept a page loading request when a page loading event is triggered, and obtain a page address carried in the page loading request.

确定单元502,用于基于所述页面地址对应的站点,确定与所述站点匹配的页面资源插件,所述页面资源插件预先存储于应用程序的安装包中。The determining unit 502 is configured to determine a page resource plug-in matching the site based on the site corresponding to the page address, and the page resource plug-in is pre-stored in the installation package of the application program.

解压单元503,用于运行所述页面资源插件,以得到本地存储的所述站点下的多个静态缓存资源。The decompression unit 503 is configured to run the page resource plug-in to obtain a plurality of static cache resources stored locally under the site.

加载单元504,用于在所述应用程序中,根据预设的网络视图,加载与所述页面地址匹配的所述静态缓存资源。The loading unit 504 is configured to load, in the application program, the static cache resource matching the page address according to a preset network view.

可选地,如图6所示,所述页面资源加载装置还包括:Optionally, as shown in Figure 6, the page resource loading device further includes:

请求单元505,用于每隔预设的时间间隔,向第一服务器发出插件更新检测请求。The requesting unit 505 is configured to send a plug-in update detection request to the first server every preset time interval.

接收单元506,用于接收所述第一服务器根据所述插件更新检测请求所返回的第一缓存文件清单,所述第一缓存文件清单包含有每一所述静态缓存资源的MD5值。The receiving unit 506 is configured to receive the first cache file list returned by the first server according to the plug-in update detection request, the first cache file list includes the MD5 value of each of the static cache resources.

读取单元507,用于在运行所述页面资源插件所得到的第二缓存文件清单中,读取每一所述静态缓存资源的MD5值。The reading unit 507 is configured to read the MD5 value of each static cache resource in the second cache file list obtained by running the page resource plug-in.

更新单元508,用于对于每一所述静态缓存资源,若其在所述第一缓存文件清单中的MD5值与其在所述第二缓存文件清单中的MD5值不同,则更新该静态缓存资源,并将所述第二缓存文件清单更新为所述第一缓存文件清单。An updating unit 508, configured to, for each of the static cache resources, update the static cache resource if its MD5 value in the first cache file list is different from its MD5 value in the second cache file list , and update the second cache file list to the first cache file list.

可选地,所述请求单元507包括:Optionally, the request unit 507 includes:

请求子单元,用于每隔预设的时间间隔,向第一服务器发出插件更新检测请求,所述插件更新检测请求包含有所述页面资源插件的标识号,以使所述第一服务器在与所述标识号绑定的插件资源页面中,提取当前时刻所发布的静态缓存资源,并使所述第一服务器返回与该静态缓存资源相关的所述第一缓存文件清单。The request subunit is configured to send a plug-in update detection request to the first server every preset time interval, and the plug-in update detection request includes the identification number of the page resource plug-in, so that the first server can communicate with From the plug-in resource page bound with the identification number, the static cache resource published at the current moment is extracted, and the first server returns the first cache file list related to the static cache resource.

可选地,如图7所示,所述页面资源加载装置还包括:Optionally, as shown in Figure 7, the page resource loading device further includes:

获取单元509,用于获取预设的解密算法。The obtaining unit 509 is configured to obtain a preset decryption algorithm.

解密单元510,用于通过所述解密算法,对本地存储的所述站点下的多个所述静态缓存资源进行解密处理。The decryption unit 510 is configured to use the decryption algorithm to decrypt the plurality of locally stored static cache resources under the site.

可选地,所述加载单元504包括:Optionally, the loading unit 504 includes:

计算子单元,用于在所述多个静态缓存资源中,获取与所述页面地址匹配的所述静态缓存资源,并计算该静态缓存资源的MD5值。The calculation subunit is configured to obtain the static cache resource matching the page address from among the plurality of static cache resources, and calculate the MD5 value of the static cache resource.

获取子单元,用于在预先记录于所述第二缓存文件清单的各个MD5值中,读取与该静态缓存资源对应的MD5值。The acquiring subunit is configured to read the MD5 value corresponding to the static cache resource among the MD5 values pre-recorded in the second cache file list.

加载子单元,用于若读取得到的MD5值与计算得到的MD5值相同,则在所述应用程序中,根据预设的网络视图,加载该静态缓存资源。The loading subunit is configured to load the static cache resource in the application program according to the preset network view if the read MD5 value is the same as the calculated MD5 value.

发送子单元,用于若读取得到的MD5值与计算得到的MD5值不同,则向第二服务器发送所述页面加载请求,以加载基于所述页面地址的网络页面资源。The sending subunit is configured to send the page loading request to the second server to load the web page resource based on the page address if the read MD5 value is different from the calculated MD5 value.

本发明实施例中,通过在Hybrid App的应用程序安装包中存入与多个站点匹配的页面资源插件,并使Hybrid App在拦截到页面加载请求时,解压存储于本地的页面资源插件,以加载与页面加载请求匹配的静态缓存资源,保证了Hybrid App即使是在首次加载页面资源的情况之下,也能够从本地快速加载页面资源,从而减少了向远程服务器请求页面资源的次数,大大降低了页面资源的加载耗时,由此也提高了Hybrid App的性能。In the embodiment of the present invention, by storing page resource plug-ins matching multiple sites in the application installation package of the Hybrid App, and making the Hybrid App decompress the locally stored page resource plug-ins when intercepting a page loading request, to Loading the static cache resources that match the page loading request ensures that the Hybrid App can quickly load the page resources locally even when the page resources are loaded for the first time, thereby reducing the number of requests for page resources from the remote server and greatly reducing the It reduces the time-consuming loading of page resources, thus improving the performance of the Hybrid App.

图8是本发明一实施例提供的终端设备的示意图。如图8所示,该实施例的终端设备8包括:处理器80、存储器81以及存储在所述存储器81中并可在所述处理器80上运行的计算机程序82,例如页面资源加载程序。所述处理器80执行所述计算机程序82时实现上述各个页面资源加载方法实施例中的步骤,例如图1所示的步骤101至104。或者,所述处理器80执行所述计算机程序82时实现上述各装置实施例中各模块/单元的功能,例如图5所示单元51至54的功能。Fig. 8 is a schematic diagram of a terminal device provided by an embodiment of the present invention. As shown in FIG. 8 , the terminal device 8 of this embodiment includes: a processor 80 , a memory 81 , and a computer program 82 stored in the memory 81 and operable on the processor 80 , such as a page resource loading program. When the processor 80 executes the computer program 82, it implements the steps in the above embodiments of the page resource loading method, for example, steps 101 to 104 shown in FIG. 1 . Alternatively, when the processor 80 executes the computer program 82, functions of the modules/units in the above-mentioned device embodiments, such as the functions of the units 51 to 54 shown in FIG. 5 , are realized.

示例性的,所述计算机程序82可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器81中,并由所述处理器80执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序82在所述终端设备8中的执行过程。Exemplarily, the computer program 82 can be divided into one or more modules/units, and the one or more modules/units are stored in the memory 81 and executed by the processor 80 to complete this invention. The one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 82 in the terminal device 8 .

所述终端设备8可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器80、存储器81。本领域技术人员可以理解,图8仅仅是终端设备8的示例,并不构成对终端设备8的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device 8 may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. The terminal device may include, but not limited to, a processor 80 and a memory 81 . Those skilled in the art can understand that FIG. 8 is only an example of the terminal device 8, and does not constitute a limitation to the terminal device 8. It may include more or less components than those shown in the figure, or combine certain components, or different components. , for example, the terminal device may also include an input and output device, a network access device, a bus, and the like.

所称处理器80可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 80 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

所述存储器81至少包括一种类型的计算机可读存储介质,可以是所述终端设备8的内部存储单元,例如终端设备8的硬盘或内存。所述存储器81也可以是所述终端设备8的外部存储设备,例如所述终端设备8上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器81还可以既包括所述终端设备8的内部存储单元也包括外部存储设备。所述存储器81用于存储所述计算机程序以及所述终端设备所需的其他程序和数据。所述存储器81还可以用于暂时地存储已经输出或者将要输出的数据。The storage 81 includes at least one type of computer-readable storage medium, which may be an internal storage unit of the terminal device 8 , such as a hard disk or memory of the terminal device 8 . The memory 81 can also be an external storage device of the terminal device 8, such as a plug-in hard disk equipped on the terminal device 8, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Further, the memory 81 may also include both an internal storage unit of the terminal device 8 and an external storage device. The memory 81 is used to store the computer program and other programs and data required by the terminal device. The memory 81 can also be used to temporarily store data that has been output or will be output.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal equipment and method may be implemented in other ways. For example, the device/terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the integrated module/unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized. . Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable Excludes electrical carrier signals and telecommunication signals.

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still implement the foregoing embodiments Modifications to the technical solutions recorded in the examples, or equivalent replacement of some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should be included in within the protection scope of the present invention.

Claims (10)

  1. A kind of 1. page resource loading method, it is characterised in that including:
    When page load events are triggered, page load request is intercepted, and obtains the page load request and is taken The page address of band;
    Based on website corresponding to the page address, it is determined that the page resource plug-in unit with the site match, the page resource Plug-in unit is pre-stored within the installation kit of application program;
    The page resource plug-in unit is run, with multiple static cache resources under the website that is locally stored;
    In the application program, according to default network view, the static cache matched with the page address is loaded Resource.
  2. 2. page resource loading method as claimed in claim 1, it is characterised in that also include:
    Every default time interval, update of plug-in detection request is sent to first server;
    Receive the first server and returned the first cache file inventory is asked according to update of plug-in detection, described the One cache file inventory includes the MD5 values of each static cache resource;
    In the second cache file inventory obtained by running the page resource plug-in unit, each static cache resource is read MD5 values;
    For each static cache resource, if its MD5 value in the first cache file inventory with it described the MD5 values in two cache file inventories are different, then update the static cache resource, and the second cache file inventory is updated For the first cache file inventory.
  3. 3. page resource loading method as claimed in claim 2, it is characterised in that it is described every default time interval, to First server sends update of plug-in detection request, including:
    Every default time interval, update of plug-in detection request, the update of plug-in detection request are sent to first server Include the identification number of the page resource plug-in unit, so that the first server is in the plug-in resource bound with the identification number In the page, the static cache resource issued of extraction current time, and return to the first server and provided with the static cache Related the first cache file inventory in source.
  4. 4. page resource loading method as claimed in claim 1, it is characterised in that inserted in the operation page resource Part, after multiple static cache resources under the website that is locally stored, in addition to:
    Obtain default decipherment algorithm;
    By the decipherment algorithm, place is decrypted to multiple static cache resources under the website that is locally stored Reason.
  5. 5. page resource loading method as claimed in claim 2, it is characterised in that it is described in the application program, according to Default network view, the static cache resource matched with the page address is loaded, including:
    In the multiple static cache resource, the static cache resource matched with the page address is obtained, and calculate The MD5 values of the static cache resource;
    In each MD5 values of the second cache file inventory are pre-recorded in, read corresponding with the static cache resource MD5 values;
    If it is identical with the MD5 values being calculated to read obtained MD5 values, in the application program, according to default network View, load the static cache resource;
    If it is different from the MD5 values being calculated to read obtained MD5 values, sending the page loading to second server please Ask, to load the Webpage resource based on the page address.
  6. 6. a kind of terminal device, including memory and processor, it is stored with and can transports on the processor in the memory Capable computer program, it is characterised in that described in the computing device during computer program, realize following steps:
    When page load events are triggered, page load request is intercepted, and obtains the page load request and is taken The page address of band;
    Based on website corresponding to the page address, it is determined that the page resource plug-in unit with the site match, the page resource Plug-in unit is pre-stored within the installation kit of application program;
    The page resource plug-in unit is run, with multiple static cache resources under the website that is locally stored;
    In the application program, according to default network view, the static cache matched with the page address is loaded Resource.
  7. 7. terminal device as claimed in claim 6, it is characterised in that described in the computing device during computer program, also Realize following steps:
    Every default time interval, update of plug-in detection request is sent to first server;
    Receive the first server and returned the first cache file inventory is asked according to update of plug-in detection, described the One cache file inventory includes the MD5 values of each static cache resource;
    In the second cache file inventory obtained by running the page resource plug-in unit, each static cache resource is read MD5 values;
    For each static cache resource, if its MD5 value in the first cache file inventory with it described the MD5 values in two cache file inventories are different, then update the static cache resource, and the second cache file inventory is updated For the first cache file inventory.
  8. 8. terminal device as claimed in claim 7, it is characterised in that it is described every default time interval, to first service Device sends the step of update of plug-in detection request, specifically includes:
    Every default time interval, update of plug-in detection request, the update of plug-in detection request are sent to first server Include the identification number of the page resource plug-in unit, so that the first server is in the plug-in resource bound with the identification number In the page, the static cache resource issued of extraction current time, and return to the first server and provided with the static cache Related the first cache file inventory in source.
  9. 9. terminal device as claimed in claim 7, it is characterised in that it is described in the application program, according to default net Network view, load matched with the page address the static cache resource the step of, specifically include:
    In the multiple static cache resource, the static cache resource matched with the page address is obtained, and calculate The MD5 values of the static cache resource;
    In each MD5 values of the second cache file inventory are pre-recorded in, read corresponding with the static cache resource MD5 values;
    If it is identical with the MD5 values being calculated to read obtained MD5 values, in the application program, according to default network View, load the static cache resource;
    If it is different from the MD5 values being calculated to read obtained MD5 values, sending the page loading to second server please Ask, to load the Webpage resource based on the page address.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
CN201710761478.XA 2017-08-30 2017-08-30 Page resource loading method and terminal equipment Expired - Fee Related CN107729352B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710761478.XA CN107729352B (en) 2017-08-30 2017-08-30 Page resource loading method and terminal equipment
PCT/CN2018/077044 WO2019041766A1 (en) 2017-08-30 2018-02-23 Page resource loading method and apparatus, terminal device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710761478.XA CN107729352B (en) 2017-08-30 2017-08-30 Page resource loading method and terminal equipment

Publications (2)

Publication Number Publication Date
CN107729352A true CN107729352A (en) 2018-02-23
CN107729352B CN107729352B (en) 2020-07-31

Family

ID=61205544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710761478.XA Expired - Fee Related CN107729352B (en) 2017-08-30 2017-08-30 Page resource loading method and terminal equipment

Country Status (2)

Country Link
CN (1) CN107729352B (en)
WO (1) WO2019041766A1 (en)

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804082A (en) * 2018-05-10 2018-11-13 北京酷我科技有限公司 A kind of implementation method of plug-in unit JSBridge
CN109257426A (en) * 2018-09-26 2019-01-22 平安普惠企业管理有限公司 Service line resource loading method, device, computer equipment and storage medium
CN109324838A (en) * 2018-08-31 2019-02-12 深圳市元征科技股份有限公司 Execution method, executive device and the terminal of SCM program
CN109408232A (en) * 2018-10-17 2019-03-01 山东易通发展集团有限公司 A kind of modularization bus calling execution system based on transaction flow
CN109446449A (en) * 2018-10-09 2019-03-08 上海连尚网络科技有限公司 A kind of preparatory method and apparatus for refreshing information content of pages
CN109582889A (en) * 2018-10-17 2019-04-05 平安普惠企业管理有限公司 Picture loading method, device, computer equipment and storage medium
CN109697069A (en) * 2018-11-26 2019-04-30 福建天泉教育科技有限公司 A kind of packaging method and terminal of H5 application
CN109710870A (en) * 2018-12-27 2019-05-03 北京微播视界科技有限公司 Loading method, device, electronic equipment and the readable storage medium storing program for executing of the H5 page
CN109800367A (en) * 2018-12-13 2019-05-24 平安科技(深圳)有限公司 Webpage loading method, device, computer equipment and storage medium
CN109857960A (en) * 2019-01-14 2019-06-07 厦门美柚信息科技有限公司 A kind of method, equipment, system and its storage medium that page data updates
CN109934014A (en) * 2019-02-15 2019-06-25 福建天泉教育科技有限公司 A kind of method and terminal detecting resource file correctness
CN110008118A (en) * 2019-03-13 2019-07-12 深圳壹账通智能科技有限公司 Page data testing method, apparatus, computer equipment and storage medium
CN110059276A (en) * 2019-03-12 2019-07-26 天津五八到家科技有限公司 Method for updating pages, device, equipment and storage medium
CN110058873A (en) * 2019-03-12 2019-07-26 天津五八到家科技有限公司 Application page update method, device, equipment and storage medium
CN110362770A (en) * 2019-07-17 2019-10-22 吉旗(成都)科技有限公司 A method of solving mobile terminal web data offline cache
CN110377360A (en) * 2019-07-12 2019-10-25 深圳市酷开网络科技有限公司 Method, display terminal and the computer readable storage medium that webview is quickly loaded
CN110825990A (en) * 2018-07-23 2020-02-21 优视科技有限公司 Page access method, client, server and system
CN110874445A (en) * 2018-08-31 2020-03-10 中国移动通信集团浙江有限公司 Web page loading method, client and business service center
CN111310084A (en) * 2018-12-12 2020-06-19 北京嘀嘀无限科技发展有限公司 Page loading method, device and system, user terminal and readable storage medium
CN111400630A (en) * 2020-02-26 2020-07-10 中国平安人寿保险股份有限公司 Resource preloading method and related equipment
WO2020206907A1 (en) * 2019-04-12 2020-10-15 平安科技(深圳)有限公司 Application program standby page switching method and apparatus, computer device and storage medium
CN111782244A (en) * 2020-06-29 2020-10-16 中国平安财产保险股份有限公司 Configuration file update method, device, computer equipment and storage medium
CN112149016A (en) * 2019-06-28 2020-12-29 北京京东尚科信息技术有限公司 Page processing method, apparatus, device and storage medium
CN112487322A (en) * 2020-12-16 2021-03-12 Vidaa美国公司 Third-party application Loading page Loading method and display equipment
CN112751917A (en) * 2020-12-28 2021-05-04 锐捷网络股份有限公司 Resource file loading method, network device, electronic device and storage medium
CN113190771A (en) * 2021-04-27 2021-07-30 北京沃东天骏信息技术有限公司 Resource processing method and device, electronic equipment and computer readable medium
CN113590618A (en) * 2021-07-19 2021-11-02 上海淇玥信息技术有限公司 Zero-access-volume page resource cleaning method and device and electronic equipment
CN113626106A (en) * 2021-08-19 2021-11-09 吉林亿联银行股份有限公司 Method and system for realizing data interception
CN114398099A (en) * 2022-01-04 2022-04-26 北京金山云网络技术有限公司 Program resource loading method, device, device and storage medium
CN114416212A (en) * 2022-01-30 2022-04-29 中国工商银行股份有限公司 Mobile terminal application program data resource processing method and device
CN114528529A (en) * 2022-02-15 2022-05-24 广州经传多赢投资咨询有限公司 Memory xml file encryption method
CN114637524A (en) * 2022-02-22 2022-06-17 京东科技信息技术有限公司 Host monitoring data acquisition method, device, equipment and computer readable medium
CN115242775A (en) * 2022-07-04 2022-10-25 中国银联股份有限公司 Resource file acquisition method, device, equipment, medium and product
CN117407115A (en) * 2023-12-15 2024-01-16 江苏金融租赁股份有限公司 Interface display method and device based on dynamic loading plug-in
US12045631B2 (en) 2020-10-14 2024-07-23 VIDAA USA, Inc. Page loading method and display apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825603A (en) * 2019-11-01 2020-02-21 北京博睿宏远数据科技股份有限公司 Page first loading time determining method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572777A (en) * 2013-10-28 2015-04-29 腾讯科技(深圳)有限公司 Webpage loading method and device based on UIWebView component
CN105208127A (en) * 2015-10-09 2015-12-30 上海瀚银信息技术有限公司 Webpage caching processing method and system and intelligent terminal
CN105630981A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Network resource loading and configuration method and device
CN105653933A (en) * 2016-01-06 2016-06-08 北京京东尚科信息技术有限公司 Plugin loading method and device
CN106209925A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 Page loading method, client and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8972513B2 (en) * 2013-08-05 2015-03-03 Iboss, Inc. Content caching
CN105988846B (en) * 2015-03-03 2019-11-05 腾讯科技(深圳)有限公司 Page loading method and page loading device
CN106951323A (en) * 2017-03-09 2017-07-14 深圳峰创智诚科技有限公司 Application program local cache method and apparatus
CN107291519A (en) * 2017-08-09 2017-10-24 四川长虹电器股份有限公司 A kind of cross-platform image cache implementation method of webview based on mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572777A (en) * 2013-10-28 2015-04-29 腾讯科技(深圳)有限公司 Webpage loading method and device based on UIWebView component
CN106209925A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 Page loading method, client and system
CN105208127A (en) * 2015-10-09 2015-12-30 上海瀚银信息技术有限公司 Webpage caching processing method and system and intelligent terminal
CN105630981A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Network resource loading and configuration method and device
CN105653933A (en) * 2016-01-06 2016-06-08 北京京东尚科信息技术有限公司 Plugin loading method and device

Cited By (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804082A (en) * 2018-05-10 2018-11-13 北京酷我科技有限公司 A kind of implementation method of plug-in unit JSBridge
CN110825990A (en) * 2018-07-23 2020-02-21 优视科技有限公司 Page access method, client, server and system
CN109324838A (en) * 2018-08-31 2019-02-12 深圳市元征科技股份有限公司 Execution method, executive device and the terminal of SCM program
CN110874445A (en) * 2018-08-31 2020-03-10 中国移动通信集团浙江有限公司 Web page loading method, client and business service center
CN109257426A (en) * 2018-09-26 2019-01-22 平安普惠企业管理有限公司 Service line resource loading method, device, computer equipment and storage medium
CN109257426B (en) * 2018-09-26 2022-10-14 平安普惠企业管理有限公司 Service line resource loading method and device, computer equipment and storage medium
CN109446449A (en) * 2018-10-09 2019-03-08 上海连尚网络科技有限公司 A kind of preparatory method and apparatus for refreshing information content of pages
CN109446449B (en) * 2018-10-09 2022-05-10 南京尚网网络科技有限公司 Method and equipment for refreshing information page content in advance
CN109408232A (en) * 2018-10-17 2019-03-01 山东易通发展集团有限公司 A kind of modularization bus calling execution system based on transaction flow
CN109582889A (en) * 2018-10-17 2019-04-05 平安普惠企业管理有限公司 Picture loading method, device, computer equipment and storage medium
CN109697069B (en) * 2018-11-26 2022-07-26 福建天泉教育科技有限公司 Packing method and terminal for H5 application
CN109697069A (en) * 2018-11-26 2019-04-30 福建天泉教育科技有限公司 A kind of packaging method and terminal of H5 application
CN111310084A (en) * 2018-12-12 2020-06-19 北京嘀嘀无限科技发展有限公司 Page loading method, device and system, user terminal and readable storage medium
CN109800367A (en) * 2018-12-13 2019-05-24 平安科技(深圳)有限公司 Webpage loading method, device, computer equipment and storage medium
CN109710870A (en) * 2018-12-27 2019-05-03 北京微播视界科技有限公司 Loading method, device, electronic equipment and the readable storage medium storing program for executing of the H5 page
CN109857960A (en) * 2019-01-14 2019-06-07 厦门美柚信息科技有限公司 A kind of method, equipment, system and its storage medium that page data updates
CN109934014A (en) * 2019-02-15 2019-06-25 福建天泉教育科技有限公司 A kind of method and terminal detecting resource file correctness
CN109934014B (en) * 2019-02-15 2021-06-25 福建天泉教育科技有限公司 Method and terminal for detecting correctness of resource file
CN110059276A (en) * 2019-03-12 2019-07-26 天津五八到家科技有限公司 Method for updating pages, device, equipment and storage medium
CN110058873A (en) * 2019-03-12 2019-07-26 天津五八到家科技有限公司 Application page update method, device, equipment and storage medium
CN110058873B (en) * 2019-03-12 2021-09-17 天津五八到家科技有限公司 Application page updating method, device, equipment and storage medium
CN110008118A (en) * 2019-03-13 2019-07-12 深圳壹账通智能科技有限公司 Page data testing method, apparatus, computer equipment and storage medium
CN110008118B (en) * 2019-03-13 2023-03-10 深圳壹账通智能科技有限公司 Page data testing method, device, computer equipment and storage medium
WO2020181839A1 (en) * 2019-03-13 2020-09-17 深圳壹账通智能科技有限公司 Page data testing method, apparatus, computer device, and storage medium
WO2020206907A1 (en) * 2019-04-12 2020-10-15 平安科技(深圳)有限公司 Application program standby page switching method and apparatus, computer device and storage medium
CN112149016A (en) * 2019-06-28 2020-12-29 北京京东尚科信息技术有限公司 Page processing method, apparatus, device and storage medium
CN110377360A (en) * 2019-07-12 2019-10-25 深圳市酷开网络科技有限公司 Method, display terminal and the computer readable storage medium that webview is quickly loaded
CN110362770A (en) * 2019-07-17 2019-10-22 吉旗(成都)科技有限公司 A method of solving mobile terminal web data offline cache
CN111400630A (en) * 2020-02-26 2020-07-10 中国平安人寿保险股份有限公司 Resource preloading method and related equipment
CN111782244A (en) * 2020-06-29 2020-10-16 中国平安财产保险股份有限公司 Configuration file update method, device, computer equipment and storage medium
US12045631B2 (en) 2020-10-14 2024-07-23 VIDAA USA, Inc. Page loading method and display apparatus
CN112487322B (en) * 2020-12-16 2024-05-28 Vidaa美国公司 Third party application Loading page loading method and display device
CN112487322A (en) * 2020-12-16 2021-03-12 Vidaa美国公司 Third-party application Loading page Loading method and display equipment
CN112751917A (en) * 2020-12-28 2021-05-04 锐捷网络股份有限公司 Resource file loading method, network device, electronic device and storage medium
CN113190771A (en) * 2021-04-27 2021-07-30 北京沃东天骏信息技术有限公司 Resource processing method and device, electronic equipment and computer readable medium
CN113590618B (en) * 2021-07-19 2023-10-13 上海淇玥信息技术有限公司 A method, device and electronic device for cleaning zero-visited page resources
CN113590618A (en) * 2021-07-19 2021-11-02 上海淇玥信息技术有限公司 Zero-access-volume page resource cleaning method and device and electronic equipment
CN113626106A (en) * 2021-08-19 2021-11-09 吉林亿联银行股份有限公司 Method and system for realizing data interception
CN113626106B (en) * 2021-08-19 2024-10-15 吉林亿联银行股份有限公司 Method and system for realizing data interception
CN114398099A (en) * 2022-01-04 2022-04-26 北京金山云网络技术有限公司 Program resource loading method, device, device and storage medium
CN114416212A (en) * 2022-01-30 2022-04-29 中国工商银行股份有限公司 Mobile terminal application program data resource processing method and device
CN114528529A (en) * 2022-02-15 2022-05-24 广州经传多赢投资咨询有限公司 Memory xml file encryption method
CN114637524A (en) * 2022-02-22 2022-06-17 京东科技信息技术有限公司 Host monitoring data acquisition method, device, equipment and computer readable medium
CN115242775A (en) * 2022-07-04 2022-10-25 中国银联股份有限公司 Resource file acquisition method, device, equipment, medium and product
CN117407115A (en) * 2023-12-15 2024-01-16 江苏金融租赁股份有限公司 Interface display method and device based on dynamic loading plug-in
CN117407115B (en) * 2023-12-15 2024-02-20 江苏金融租赁股份有限公司 Interface display method and device based on dynamic loading plug-in

Also Published As

Publication number Publication date
WO2019041766A1 (en) 2019-03-07
CN107729352B (en) 2020-07-31

Similar Documents

Publication Publication Date Title
CN107729352B (en) Page resource loading method and terminal equipment
US12373548B2 (en) Application gateway architecture with multi-level security policy and rule promulgations
US11658985B2 (en) Utilizing blockchains to implement named data networking
CN106302337B (en) Vulnerability detection method and device
US9674225B2 (en) System and method for updating downloaded applications using managed container
CN102135892B (en) Application program running method, device and system
WO2019201039A1 (en) Method and system for updating application and application server
CN111143869A (en) Application package processing method, device, electronic device and storage medium
US9607134B2 (en) System and method for protected publication of sensitive documents
US9665732B2 (en) Secure Download from internet marketplace
CN112836209A (en) Application installation package processing method and device, electronic equipment, system and storage medium
US10032006B2 (en) Copyright generation and storage utility
CN113343312A (en) Page tamper-proofing method and system based on front-end point burying technology
CN104036194A (en) Vulnerability detection method and device for revealing private data in application program
US20220084048A1 (en) Server apparatus, method of controlling server apparatus, computer-readable medium, genuine product determining system, and method of controlling genuine product determining system
CN112579694B (en) Digital resource processing method, device, storage medium and equipment
CN113395340A (en) Information updating method, device, equipment, system and readable storage medium
KR102250642B1 (en) Decentralized and distributed contents management system for efeective contents ditribution and computing device for executing the same
CN111722994A (en) A method and device for responding to a task request
EP3299980A1 (en) Security measure program, file tracking method, information processing device, distribution device, and management device
CN110287087B (en) Method and device for detecting application
HK1250070B (en) Page resource loading method and terminal equipment
HK1250070A1 (en) Page resource loading method and terminal equipment
JP7640911B2 (en) Information processing system, control method and program thereof
CN112579102A (en) Method and device for acquiring download source, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180611

Address after: 518000 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Applicant after: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

Address before: 200000 Xuhui District, Shanghai Kai Bin Road 166, 9, 10 level.

Applicant before: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1250070

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200731