[go: up one dir, main page]

CN113407876B - Webpage refreshing method, webpage refreshing system and related device - Google Patents

Webpage refreshing method, webpage refreshing system and related device Download PDF

Info

Publication number
CN113407876B
CN113407876B CN202110677984.7A CN202110677984A CN113407876B CN 113407876 B CN113407876 B CN 113407876B CN 202110677984 A CN202110677984 A CN 202110677984A CN 113407876 B CN113407876 B CN 113407876B
Authority
CN
China
Prior art keywords
view
cache
level cache
browser
request
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.)
Active
Application number
CN202110677984.7A
Other languages
Chinese (zh)
Other versions
CN113407876A (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.)
DBAPPSecurity Co Ltd
Original Assignee
DBAPPSecurity Co Ltd
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 DBAPPSecurity Co Ltd filed Critical DBAPPSecurity Co Ltd
Priority to CN202110677984.7A priority Critical patent/CN113407876B/en
Publication of CN113407876A publication Critical patent/CN113407876A/en
Application granted granted Critical
Publication of CN113407876B publication Critical patent/CN113407876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Landscapes

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

Abstract

本申请提供一种网页刷新方法,包括:接收网页的刷新请求;判断浏览器是否设置协商缓存;若是,判断所述刷新请求是否命中视图层级缓存;所述视图层级缓存至少为三层;若所述刷新请求包含视图层级缓存,返回所述刷新请求对应的视图层级缓存,以便所述浏览器利用所述视图层级缓存刷新网页。本申请在执行网页刷新时,先判断浏览器是否设置协商缓存,在浏览器设置协商缓存时,服务端会返回刷新请求对应的视图层级缓存,而无需返回网页的全部数据,节省了重复层级流量的传输,充分的利用了浏览器缓存,能够快速生成页面,缩短网页加载时间,增强用户页面浏览的舒适感。本申请还提供一种网页刷新系统、计算机可读存储介质和服务器,具有上述有益效果。

Figure 202110677984

The present application provides a webpage refresh method, which includes: receiving a webpage refresh request; judging whether a browser has set up a negotiation cache; if so, judging whether the refresh request hits a view-level cache; the view-level cache is at least three layers; The refresh request includes a view-level cache, and the view-level cache corresponding to the refresh request is returned, so that the browser uses the view-level cache to refresh the web page. When performing webpage refresh, the application firstly determines whether the browser has set up the negotiation cache. When the browser sets the negotiation cache, the server will return the view-level cache corresponding to the refresh request without returning all the data of the webpage, saving repeated level traffic. It makes full use of the browser cache, which can quickly generate pages, shorten the loading time of webpages, and enhance the comfort of users' page browsing. The present application also provides a web page refresh system, a computer-readable storage medium and a server, which have the above beneficial effects.

Figure 202110677984

Description

一种网页刷新方法、网页刷新系统及相关装置A web page refresh method, web page refresh system and related device

技术领域technical field

本申请涉及计算机网络领域,特别涉及一种网页刷新方法、网页刷新系统及相关装置。The present application relates to the field of computer networks, and in particular, to a web page refresh method, a web page refresh system and related devices.

背景技术Background technique

目前大部分页面都会注重首屏加载速度,而大部分应用,首屏相对复杂,细节改动频繁,但是部分页面又不会变动,一旦请求页面的全部数据,将造成大部分数据代码重复,且在接收到服务器返回的代码后重新渲染严重影响页面加载速度。At present, most pages pay attention to the loading speed of the first screen, and for most applications, the first screen is relatively complex, and details are changed frequently, but some pages will not change. Once all the data of the page is requested, most of the data code will be repeated, and in Re-rendering after receiving the code returned by the server seriously affects the page loading speed.

发明内容SUMMARY OF THE INVENTION

本申请的目的是提供一种网页刷新方法、网页刷新系统、计算机可读存储介质和服务器,通过设置视图层级缓存有效的提高网页加载速度。The purpose of the present application is to provide a web page refresh method, a web page refresh system, a computer-readable storage medium and a server, which can effectively improve the web page loading speed by setting a view-level cache.

为解决上述技术问题,本申请提供一种网页刷新方法,具体技术方案如下:In order to solve the above-mentioned technical problems, the present application provides a method for refreshing a webpage, and the specific technical solutions are as follows:

接收网页的刷新请求;Receive refresh requests for web pages;

判断浏览器是否设置协商缓存;Determine whether the browser has set up a negotiation cache;

若是,判断所述刷新请求是否命中视图层级缓存;所述视图层级缓存至少为三层;If so, determine whether the refresh request hits the view-level cache; the view-level cache is at least three layers;

若所述刷新请求包含视图层级缓存,返回所述刷新请求对应的视图层级缓存,以便所述浏览器利用所述视图层级缓存刷新网页。If the refresh request includes a view-level cache, the view-level cache corresponding to the refresh request is returned, so that the browser uses the view-level cache to refresh the web page.

可选的,判断浏览器是否设置协商缓存之前,还包括:Optionally, before judging whether the browser sets the negotiation cache, it also includes:

判断所述浏览器是否设置强制缓存;Determine whether the browser sets mandatory caching;

若否,执行判断浏览器是否设置协商缓存的步骤;If not, perform the steps of judging whether the browser has set the negotiation cache;

若是,判断所述强制缓存是否过期;If so, determine whether the mandatory cache has expired;

若所述强制缓存过期,执行判断浏览器是否设置协商缓存的步骤;If the forced cache expires, perform the step of judging whether the browser sets the negotiation cache;

若所述强制缓存未过期,利用所述强制缓存刷新网页。If the forced cache has not expired, the webpage is refreshed by using the forced cache.

可选的,返回所述刷新请求对应的视图层级缓存包括:Optionally, returning the view-level cache corresponding to the refresh request includes:

解析所述刷新请求中包含的请求头数据,得到视图层级对应的缓存标识;Parse the request header data contained in the refresh request to obtain a cache identifier corresponding to the view level;

返回所述缓存标识对应的视图层级缓存。Returns the view-level cache corresponding to the cache ID.

可选的,若所述请求头数据包含浏览器端视图时间戳,则返回所述缓存标识对应的视图层级缓存包括:Optionally, if the request header data includes a browser-side view timestamp, returning the view-level cache corresponding to the cache identifier includes:

确定最新视图时间戳;determine the latest view timestamp;

判断所述浏览器端视图时间戳与所述最新视图时间戳是否一致;Determine whether the browser-side view timestamp is consistent with the latest view timestamp;

若不一致,将所述最新视图时间戳和对应的层级缓存代码作为所述请求头数据对应的视图层级缓存存入响应头数据,并返回所述响应头数据。If inconsistent, the latest view timestamp and the corresponding level cache code are stored in the response header data as the view level cache corresponding to the request header data, and the response header data is returned.

可选的,若所述刷新请求不包含视图层级缓存,还包括:Optionally, if the refresh request does not include a view-level cache, it also includes:

返回全部页面源数据,以便所述浏览器渲染所述页面源数据并刷新网页。All page source data is returned for the browser to render the page source data and refresh the web page.

可选的,还包括:Optionally, also include:

确定目标元素,对所述目标元素添加预设标识,生成所述视图层级缓存。A target element is determined, a preset identifier is added to the target element, and the view level cache is generated.

可选的,还包括:Optionally, also include:

根据所述网页的目录结构配置相应的唯一标识,生成所述视图层级缓存。The corresponding unique identifier is configured according to the directory structure of the webpage, and the view-level cache is generated.

本申请还提供一种网页刷新系统,包括:The present application also provides a web page refresh system, including:

请求接收模块,用于接收网页的刷新请求;The request receiving module is used to receive the refresh request of the webpage;

第一判断模块,用于判断浏览器是否设置协商缓存;The first judgment module is used for judging whether the browser sets the negotiation cache;

第二判断模块,用于所述第一判断模块判断结果为是时,判断所述刷新请求是否命中视图层级缓存;所述视图层级缓存至少为三层;a second judging module, configured to judge whether the refresh request hits a view-level cache when the judgment result of the first judging module is yes; the view-level cache has at least three layers;

网页刷新模块,用于所述第二判断模块判断结果为是时,返回所述刷新请求对应的视图层级缓存,以便所述浏览器利用所述视图层级缓存刷新网页。A webpage refresh module, configured to return the view-level cache corresponding to the refresh request when the judgment result of the second judgment module is yes, so that the browser refreshes the webpage by using the view-level cache.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的方法的步骤。The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the above-described method.

本申请还提供一种服务器,包括存储器和处理器,所述存储器中存有计算机程序,所述处理器调用所述存储器中的计算机程序时实现如上所述的方法的步骤。The present application also provides a server, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above method when the computer program in the memory is invoked.

本申请提供一种网页刷新方法,包括:接收网页的刷新请求;判断浏览器是否设置协商缓存;若是,判断所述刷新请求是否命中视图层级缓存;所述视图层级缓存至少为三层;若所述刷新请求包含视图层级缓存,返回所述刷新请求对应的视图层级缓存,以便所述浏览器利用所述视图层级缓存刷新网页。The present application provides a webpage refresh method, which includes: receiving a webpage refresh request; judging whether a browser has set up a negotiation cache; if so, judging whether the refresh request hits a view-level cache; the view-level cache is at least three layers; The refresh request includes a view-level cache, and the view-level cache corresponding to the refresh request is returned, so that the browser uses the view-level cache to refresh the web page.

本申请在执行网页刷新时,先判断浏览器是否设置协商缓存,在浏览器设置协商缓存时,服务端会返回刷新请求对应的视图层级缓存,而无需返回网页的全部数据,节省了重复层级流量的传输,充分的利用了浏览器缓存,能够快速生成页面,缩短网页加载时间,增强用户页面浏览的舒适感。When performing webpage refresh, the application firstly determines whether the browser has set up the negotiation cache. When the browser sets the negotiation cache, the server will return the view-level cache corresponding to the refresh request without returning all the data of the webpage, saving repeated level traffic. It makes full use of the browser cache, which can quickly generate pages, shorten the loading time of webpages, and enhance the comfort of users' page browsing.

本申请还提供一种网页刷新系统、计算机可读存储介质和服务器,具有上述有益效果,此处不再赘述。The present application also provides a web page refresh system, a computer-readable storage medium and a server, which have the above beneficial effects, which will not be repeated here.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without any creative effort.

图1为本申请实施例所提供的一种网页刷新方法的流程图;1 is a flowchart of a method for refreshing a webpage provided by an embodiment of the present application;

图2为本申请实施例所提供的一种网页刷新系统的结构示意图。FIG. 2 is a schematic structural diagram of a webpage refresh system provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

请参考图1,图1为本申请实施例所提供的一种网页刷新方法的流程图,该方法包括:Please refer to FIG. 1. FIG. 1 is a flowchart of a method for refreshing a webpage provided by an embodiment of the present application. The method includes:

S101:接收网页的刷新请求;S101: Receive a refresh request of the webpage;

本步骤旨在接收网页的刷新请求,该刷新请求可以为主动请求,也可以为根据预先设置的刷新参数所生成的被动刷新请求。例如用户在首页打开网页时,可以为主动生成的刷新请求。本步骤中的网页可以源于各种可运行网页的终端设备,需要说明的是,其可以为移动端网页,例如移动终端上的应用界面,均可以作为本实施例中的网页。The purpose of this step is to receive a refresh request of the webpage, and the refresh request may be an active request or a passive refresh request generated according to preset refresh parameters. For example, when a user opens a webpage on the home page, a refresh request can be actively generated. The web page in this step may originate from various terminal devices that can run web pages. It should be noted that it may be a mobile terminal web page, for example, an application interface on a mobile terminal may be used as a web page in this embodiment.

在此对于刷新请求的具体内容不作限定,其至少应当包括缓存请求,但对于具体的缓存请求内容不作具体限定。The specific content of the refresh request is not limited here, and it should at least include the cache request, but the specific cache request content is not specifically limited.

S102:判断浏览器是否设置协商缓存;若是,进入S103;S102: Determine whether the browser sets the negotiation cache; if so, enter S103;

本步骤旨在判断浏览器是否设置协商缓存。协商缓存用于包含浏览器的客户端与服务端进行协商交互,以判断缓存资源是否过期。请求资源时,把浏览器本地缓存的标识同时带到服务端,服务端和最新资源做对比。如果缓存资源未更改,浏览器读取本地缓存。如果缓存资源发生更改,返回最新的资源。The purpose of this step is to determine whether the browser has set up a negotiation cache. The negotiation cache is used for negotiation and interaction between the client including the browser and the server to determine whether the cached resource expires. When requesting a resource, the browser's local cached identifier is brought to the server at the same time, and the server is compared with the latest resource. If the cached resource has not changed, the browser reads the local cache. If the cached resource has changed, return the latest resource.

S103:判断所述刷新请求是否命中视图层级缓存;若是,进入S104;S103: Determine whether the refresh request hits the view-level cache; if so, go to S104;

当浏览器设置协商缓存时,并不直接在服务端执行本地资源和最新资源的比对过程,而是判断刷新请求是否包含视图层级缓存。本实施例中,若刷新请求包含视图层级缓存,默认在执行本实施例前已经针对浏览器中的网页进行视图分层。在此对于如何执行网页视图分层不作限定。本实施例在此提供一下几种网页视图分层方式:When the browser sets up the negotiation cache, it does not directly perform the comparison process between the local resource and the latest resource on the server, but determines whether the refresh request includes the view-level cache. In this embodiment, if the refresh request includes a view-level cache, by default, the view layering has been performed for the webpage in the browser before this embodiment is executed. There is no limitation on how to perform web page view layering. This embodiment provides the following several web page view layering methods:

第一种:确定目标元素,对所述目标元素添加预设标识,生成所述视图层级缓存。The first method: determine a target element, add a preset identifier to the target element, and generate the view-level cache.

即用户可以自定义目标元素作为一层视图,并添加相应的预设标识,得到该目标元素的视图层级缓存,相当于将该目标元素从本地网页资源中单独分类,且服务端中进行相应的视图分层。例如可以给某个div设置对应的视图层级,属性用s-index表示。That is, the user can customize the target element as a first-level view, and add the corresponding preset identifier to obtain the view-level cache of the target element, which is equivalent to classifying the target element separately from the local web page resources, and performing corresponding processing on the server side. View hierarchy. For example, you can set the corresponding view level for a div, and the attribute is represented by s-index.

第二种:根据所述网页的目录结构配置相应的唯一标识,生成所述视图层级缓存。The second type: configure the corresponding unique identifier according to the directory structure of the webpage, and generate the view-level cache.

还可以根据网页的目录结构进行视图分层,例如根节点html元素为第一层,body以及body同级别为第二层,body下一层为第三层级,以此类推。当然,每一层级都包含对应的唯一标识。View hierarchy can also be performed according to the directory structure of the web page. For example, the root node html element is the first layer, the same level of body and body is the second layer, the layer below the body is the third layer, and so on. Of course, each level contains a corresponding unique identifier.

第三种:根据所述网页的目录结构进行第一类视图分层,在第一类视图分层的基础上配置自定义层级项。The third type: perform first-type view hierarchy according to the directory structure of the webpage, and configure custom hierarchy items on the basis of the first-type view hierarchy.

即将第一种和第二种视图分层方法相结合,优选的,在视图层级的实际应用过程中,可以将第一种方式和第二种相结合,并分为两种模式。第一种为默认模式,以网页元素的目录树状图的级别为参考,默认模式中每一层级会自动加上唯一v-index标识。第二种模式可以手动对元素设置v-index,设置v-index的元素会对对应的唯一标识进行缓存两种层级模式可以共存,为了使得视图分层方便,可以设置默认模式默认开启,手动模式可自由设定。That is to combine the first and second view layering methods, preferably, in the actual application process of the view layering, the first method and the second method can be combined and divided into two modes. The first is the default mode, which takes the level of the directory tree diagram of the web page element as a reference. In the default mode, each level is automatically marked with a unique v-index. In the second mode, you can manually set the v-index on the element, and the element with the v-index will cache the corresponding unique identifier. The two hierarchical modes can coexist. In order to make the view layering convenient, you can set the default mode to be enabled by default, and the manual mode Can be set freely.

无论采用何种视图分层方式,其至少应少于三层,但不宜过多,通常可以不超过10层。每一视图层级都应存在唯一对应的标识,且所采用的视图分层方式应与服务端协议配置生成,以便服务端在接收到命中视图层级缓存的刷新请求时,能够返回相应的视图层级缓存。No matter what kind of view layering method is adopted, it should be at least less than three layers, but not too many, usually no more than 10 layers. Each view level should have a unique corresponding identifier, and the view layering method used should be generated with the server-side protocol configuration, so that the server can return the corresponding view-level cache when it receives a refresh request that hits the view-level cache. .

此外,本步骤中判断刷新请求是否命中视图层级缓存,指判断刷新请求是否包含对视图层级缓存的请求,或者与视图层级缓存请求具有相同作用的其他形式的请求,例如包含对应视图层级唯一标识的请求等。In addition, judging whether the refresh request hits the view-level cache in this step refers to judging whether the refresh request includes a request for the view-level cache, or other forms of requests that have the same effect as the view-level cache request, such as a request that contains the unique identifier of the corresponding view level. request etc.

S104:返回所述刷新请求对应的视图层级缓存,以便所述浏览器利用所述视图层级缓存刷新网页。S104: Return the view-level cache corresponding to the refresh request, so that the browser refreshes the webpage by using the view-level cache.

当刷新请求中命中视图层级缓存时,返回对应的视图层级缓存。具体的,可以解析刷新请求中包含的请求头数据,得到视图层级对应的缓存标识,即可返回缓存标识对应的视图层级缓存。When the view-level cache is hit in the refresh request, the corresponding view-level cache is returned. Specifically, the request header data included in the refresh request can be parsed to obtain the cache ID corresponding to the view level, and then the view level cache corresponding to the cache ID can be returned.

需要说明的是,对于如何返回刷新请求对应的视图层级缓存不作不限定,其应根据不同的刷新请求作相应的请求响应。It should be noted that there is no limitation on how to return the view-level cache corresponding to the refresh request, and it should respond to the corresponding request according to different refresh requests.

例如,若所述请求头数据包含浏览器端视图时间戳,则在执行返回所述缓存标识对应的视图层级缓存时可以包括如下步骤:For example, if the request header data includes a browser-side view timestamp, the following steps may be included when performing returning the view-level cache corresponding to the cache identifier:

第一步、确定最新视图时间戳;The first step is to determine the latest view timestamp;

第二步、判断所述浏览器端视图时间戳与所述最新视图时间戳是否一致;若不一致,进入第三步;The second step is to determine whether the browser-side view timestamp is consistent with the latest view timestamp; if not, go to the third step;

第三步、将所述最新视图时间戳和对应的层级缓存代码作为所述请求头数据对应的视图层级缓存存入响应头数据,并返回所述响应头数据。The third step is to store the latest view timestamp and the corresponding level cache code as the view level cache corresponding to the request header data into the response header data, and return the response header data.

服务端确定自身的最新视图时间戳,并判断请求头数据中的浏览器端视图时间戳是否与自身的最新视图时间戳一致,由于服务端中的最新视图时间戳为当前最新版本,一旦二者不一致,则说明,浏览器端视图时间戳落后与服务端的最新视图时间戳。需要说明的是,无论是浏览器端视图时间戳还是服务端的视图时间戳,均指代相应缓存的最新版本时间,即浏览器端视图时间戳指代浏览器中缓存的当前版本的最后更新时间,服务端的最新视图时间戳同样指代服务端缓存的当前版本的最后更新时间。The server determines its own latest view timestamp, and judges whether the browser view timestamp in the request header data is consistent with its own latest view timestamp. Since the latest view timestamp in the server is the current latest version, once the two If they are inconsistent, it means that the view timestamp on the browser side lags behind the latest view timestamp on the server side. It should be noted that both the browser-side view timestamp and the server-side view timestamp refer to the latest version time of the corresponding cache, that is, the browser-side view timestamp refers to the last update time of the current version cached in the browser. , the latest view timestamp of the server also refers to the last update time of the current version cached by the server.

当二者不一致时,服务端将最新视图时间戳和对应的层级缓存代码存入响应头数据并返回。容易理解的是,浏览器端在接收到响应头数据后,利用最新视图时间戳对应的层级缓存代码刷新页面,还可以将自身的浏览器端视图时间戳更新为最新视图时间戳。When the two are inconsistent, the server stores the latest view timestamp and the corresponding hierarchical cache code into the response header data and returns it. It is easy to understand that after receiving the response header data, the browser uses the hierarchical cache code corresponding to the latest view timestamp to refresh the page, and can also update its own browser view timestamp to the latest view timestamp.

在上述过程中,浏览器端视图时间戳和服务端的视图时间戳均起到缓存标识的作用,即与视图层级缓存相对应的缓存标识,当然本领域技术人员还可以在本实施例的基础上采用其他形式的缓存标识,用于实现浏览器端与服务端二者之间视图层级缓存更新时的比对过程,在此不一一举例限定,也应在本申请的保护范围内。In the above process, both the browser-side view timestamp and the server-side view timestamp serve as cache identifiers, that is, cache identifiers corresponding to the view-level cache. Of course, those skilled in the art can also use this embodiment on the basis of Other forms of cache identifiers are used to implement the comparison process between the browser side and the server side when the view level cache is updated, which are not limited by examples here, and should also be within the protection scope of this application.

此外,本实施例中,若刷新请求不包含视图层级缓存,此时可以返回全部页面源数据,以便所述浏览器渲染所述页面源数据并刷新网页。In addition, in this embodiment, if the refresh request does not include a view-level cache, all page source data may be returned at this time, so that the browser renders the page source data and refreshes the web page.

需要说明的是,本实施例中的服务端包括服务器,以及其他可以起到接收浏览器端的刷新请求并针对刷新请求进行响应的服务端设备。It should be noted that the server in this embodiment includes a server and other server devices that can receive a refresh request from the browser and respond to the refresh request.

本申请实施例在执行网页刷新时,先判断浏览器是否设置协商缓存,在浏览器设置协商缓存时,服务端会返回刷新请求对应的视图层级缓存,而无需返回网页的全部数据,实现网页刷新时的针对性刷新,节省了重复层级流量的传输,充分的利用了浏览器缓存,能够快速生成页面,缩短网页加载时间,增强用户页面浏览的舒适感。When performing webpage refresh in this embodiment of the present application, it is first determined whether the browser has set the negotiation cache. When the browser has set the negotiation cache, the server will return the view-level cache corresponding to the refresh request without returning all the data of the webpage to achieve webpage refresh. The targeted refresh at times saves the transmission of repeated hierarchical traffic, and makes full use of the browser cache, which can quickly generate pages, shorten the loading time of webpages, and enhance the comfort of user page browsing.

基于上述实施例,作为优选的实施例,判断浏览器是否设置协商缓存之前,还可以包括如下步骤:Based on the above embodiment, as a preferred embodiment, before judging whether the browser sets the negotiation cache, the following steps may also be included:

S201:判断所述浏览器是否设置强制缓存;若否,进入S202;若是,进入S203;S201: Determine whether the browser is set with mandatory caching; if not, enter S202; if so, enter S203;

S202:执行判断浏览器是否设置协商缓存的步骤;S202: Execute the step of judging whether the browser sets the negotiation cache;

S203:判断所述强制缓存是否过期;若否,进入S204;若是,返回S202;S203: Determine whether the mandatory cache has expired; if not, go to S204; if so, return to S202;

S204:利用所述强制缓存刷新网页。S204: Refresh the webpage by using the forced cache.

本实施旨在执行协商缓存之前,执行强制缓存的判断。浏览器在发起请求资源前,可以先根据请求头字段Expires和Cach-control判断是否命中强制缓存,如果命中的话就直接读取本地缓存资源,不再向服务器发请求,且返回相应的状态码,例如状态码可以为200。当浏览器端请求某个文件的时候,服务端就在响应头数据中对该文件做缓存配置。缓存的时间、缓存类型都由服务端控制,具体表现为:响应头数据的cache-control,常见的设置是max-age public private no-cache no-store等。简单来说,强制缓存设定了过期时间,客户端每次请求资源时都会看是否过期,只有在过期才会重新向服务器发送请求。This implementation is intended to perform a decision to enforce caching before negotiating caching. Before the browser initiates a request for a resource, it can first determine whether the mandatory cache is hit according to the request header fields Expires and Cach-control. If it hits, it directly reads the local cache resource, no longer sends a request to the server, and returns the corresponding status code. For example, the status code can be 200. When the browser requests a file, the server configures the cache for the file in the response header data. The cache time and cache type are controlled by the server. The specific performance is: cache-control of response header data. Common settings are max-age public private no-cache no-store, etc. To put it simply, the mandatory cache sets an expiration time. Every time the client requests a resource, it will check whether it has expired, and only when it expires will it re-send the request to the server.

如果没有命中强制缓存,则浏览器会发起请求,会带一些请求头字段,服务端根据这些字段来判断是否命中协商缓存。例如,if-none-match和或者if-modified-since,这是浏览器发给服务端的请求头字段。if-none-match值包含了上次请求服务端返回资源的响应头字段里的Etag值,Etag值为服务端根据资源文件生成的唯一标识,只要资源文件没变化则Etag值不变。If the mandatory cache is not hit, the browser will initiate a request with some request header fields, and the server will determine whether to hit the negotiated cache based on these fields. For example, if-none-match and or if-modified-since, which are request header fields sent by the browser to the server. The if-none-match value contains the Etag value in the response header field of the resource returned by the server last time. The Etag value is the unique identifier generated by the server according to the resource file. As long as the resource file does not change, the Etag value remains unchanged.

而if-modified-since至用于指示上次服务端返回的last-modified值,last-modified包含了响应资源在服务端最后修改的日期,而浏览器端记载的if-modified-since对应上述实施例中的浏览器端视图时间戳。然后服务端会判断此次请求字段的if-none-match和根据它请求的资源文件生产的Etag的值,比较二者是不是相同,判断唯一标识是否相同。或者判断请求字段的if-modified-since和服务端该资源的最后修改时间,即服务端中的最新视图时间戳做比对。相同的话说明资源没有改变过,则不会返回资源文件,表示协商缓存,此时可以返回协商缓存对应的代码,例如返回304,用于告知浏览器端直接读取本地的缓存资源。如果不同的话说明服务端资源发生变换,则会返回请求的资源文件,还可以返回相应的状态码,例如200。And if-modified-since is used to indicate the last-modified value returned by the server last time, last-modified contains the date when the response resource was last modified on the server, and the if-modified-since recorded by the browser corresponds to the above implementation The browser-side view timestamp in the example. Then the server will judge the if-none-match of the request field and the value of the Etag produced according to the resource file it requests, compare whether the two are the same, and judge whether the unique identifier is the same. Or compare the if-modified-since of the request field with the last modification time of the resource on the server, that is, the latest view timestamp in the server. If the same word means that the resource has not changed, the resource file will not be returned, indicating that the cache is negotiated. At this time, the code corresponding to the negotiated cache can be returned, such as 304, which is used to tell the browser to directly read the local cache resource. If it is different, it means that the server resource has changed, it will return the requested resource file, and can also return the corresponding status code, such as 200.

在执行本实施例的步骤S202时,可以参考上述实施例中S102到S104的过程,在此不作重复说明。When performing step S202 in this embodiment, reference may be made to the processes from S102 to S104 in the foregoing embodiment, which will not be repeated here.

下文针对视图层级缓存和服务端对应的配置采用具体的参数设置过程进行描述:The following describes the specific parameter setting process for the configuration of the view-level cache and the server:

视图层级在请求头具体的存储方式可以采用键值对,具体的,关键字key使用v-index,值value使用对象的方式存储,存储的内容为当前视图更新的时间戳或者唯一标识。如果对应html代码片段有更新,则发布时候会做差异性对比,并且更新对应的v-index时间戳,当浏览器发出刷新请求时也会带上之前服务端返回的层级标识,服务端将最新的层级标识和浏览器刷新请求中的标识对比,如果一致则不返回html代码片段,如果不一致说明html代码片段已经更新,则返回更新的对应v-index的html代码片段,浏览器接收到对应的代码片段,再进行网页的刷新,由于刷新时仅需要重新渲染部分html代码,能够提高网页刷新速度。The specific storage method of the view level in the request header can use key-value pairs. Specifically, the keyword key uses v-index, and the value value is stored in the form of an object. The stored content is the timestamp or unique identifier of the current view update. If the corresponding html code fragment is updated, the difference comparison will be done when publishing, and the corresponding v-index timestamp will be updated. When the browser sends a refresh request, it will also bring the level ID returned by the previous server, and the server will update the latest Compare the level ID of the v-index with the ID in the browser refresh request. If they are consistent, the html code fragment will not be returned. If they are inconsistent, the html code fragment has been updated, the updated html code fragment corresponding to the v-index will be returned, and the browser will receive the corresponding v-index. Code snippets, and then refresh the web page, because only part of the html code needs to be re-rendered when refreshing, which can improve the web page refresh speed.

服务端可以设置响应头来配置是否使用视图层级模式,例如字段为view-store,对应的值有,none,表示不使用视图层级;auto,自动模式,自动模式下层级为3,level为层级模式。当设置为level的时候,可以给具体的html内部标签设置层级,具体的设置如下,例如<html v-index="4">层级缓存标签</html>,如此设置后,服务端会判断标签html上设置的v-index判断有几层层级,然后再对这几层里,每层设置一个具体缓存标识的v-index-data,当浏览器再次请求的时候,会比对缓存标识,返回不同缓存标识的节点。本实施例对js以及css代码也起作用,可有效的减少多余代码的传输,以达到代码快速传输的目的,从而有助于页面的快速刷新。The server can set the response header to configure whether to use the view hierarchy mode. For example, if the field is view-store, the corresponding value is none, which means that the view hierarchy is not used; auto, automatic mode, the level is 3 in the automatic mode, and the level is the hierarchical mode . When set to level, you can set the level for specific html internal tags. The specific settings are as follows, such as <html v-index="4">level cache tag</html>, after this setting, the server will judge the tag The v-index set on html determines how many layers there are, and then sets a v-index-data with a specific cache identifier for each layer in these layers. When the browser requests again, it will compare the cache identifier and return Nodes with different cache IDs. This embodiment also works on js and css codes, which can effectively reduce the transmission of redundant codes, so as to achieve the purpose of rapid code transmission, thereby contributing to the rapid refresh of the page.

本实施例中所设置的视图层级存储方式,以及服务端的配置参数均为本申请公开的一种较为具体的实施过程,本领域技术人员可以在本实施例的基础上采用其他设置方式,也应在本申请的保护范围内。The view-level storage method set in this embodiment and the configuration parameters of the server are a relatively specific implementation process disclosed in this application. Those skilled in the art can use other setting methods on the basis of this embodiment. within the scope of protection of this application.

下面对本申请实施例提供的网页刷新系统进行介绍,下文描述的网页刷新系统与上文描述的网页刷新方法可相互对应参照。The web page refresh system provided by the embodiments of the present application is introduced below. The web page refresh system described below and the web page refresh method described above can be referred to each other correspondingly.

图2为本申请实施例所提供的一种网页刷新系统的结构示意图,本申请还提供一种网页刷新系统,包括:2 is a schematic structural diagram of a web page refresh system provided by an embodiment of the present application, and the present application also provides a web page refresh system, including:

请求接收模块100,用于接收网页的刷新请求;a request receiving module 100, configured to receive a refresh request of a webpage;

第一判断模块200,用于判断浏览器是否设置协商缓存;The first judging module 200 is used for judging whether the browser sets the negotiation cache;

第二判断模块300,用于所述第一判断模块200判断结果为是时,判断所述刷新请求是否命中视图层级缓存;所述视图层级缓存至少为三层;The second judgment module 300 is configured to judge whether the refresh request hits a view-level cache when the judgment result of the first judgment module 200 is yes; the view-level cache has at least three layers;

网页刷新模块400,用于所述第二判断模块300判断结果为是时,返回所述刷新请求对应的视图层级缓存,以便所述浏览器利用所述视图层级缓存刷新网页。The webpage refresh module 400 is configured to return the view-level cache corresponding to the refresh request when the second determination module 300 determines that the result is yes, so that the browser refreshes the webpage by using the view-level cache.

基于上述实施例,作为优选的实施例,还包括:Based on the above embodiment, as a preferred embodiment, it also includes:

强制缓存判断模块,用于判断浏览器是否设置协商缓存之前,判断所述浏览器是否设置强制缓存;若否,进入第一判断模块200;若是,判断所述强制缓存是否过期;若所述强制缓存过期,进入第一判断模块200;若所述强制缓存未过期,利用所述强制缓存刷新网页。The forced cache judgment module is used for judging whether the browser sets the mandatory cache before judging whether the negotiation cache is set; if not, enter the first judgment module 200; If the cache expires, enter the first judgment module 200; if the mandatory cache is not expired, use the mandatory cache to refresh the webpage.

基于上述实施例,作为优选的实施例,网页刷新模块400包括:Based on the above embodiments, as a preferred embodiment, the webpage refresh module 400 includes:

解析单元,用于解析所述刷新请求中包含的请求头数据,得到视图层级对应的缓存标识;a parsing unit, configured to parse the request header data contained in the refresh request to obtain a cache identifier corresponding to the view level;

返回单元,用于返回所述缓存标识对应的视图层级缓存。The returning unit is used to return the view-level cache corresponding to the cache identifier.

基于上述实施例,作为优选的实施例,若所述请求头数据包含浏览器端视图时间戳,所述网页刷新模块400包括:Based on the above embodiment, as a preferred embodiment, if the request header data includes a browser-side view timestamp, the webpage refresh module 400 includes:

响应数据返回单元,用于确定最新视图时间戳;判断所述浏览器端视图时间戳与所述最新视图时间戳是否一致;若不一致,将所述最新视图时间戳和对应的层级缓存代码作为所述请求头数据对应的视图层级缓存存入响应头数据,并返回所述响应头数据。A response data return unit is used to determine the latest view timestamp; determine whether the browser-side view timestamp is consistent with the latest view timestamp; if inconsistent, use the latest view timestamp and the corresponding hierarchical cache code as the The view-level cache corresponding to the request header data stores the response header data, and returns the response header data.

基于上述实施例,作为优选的实施例,还包括:Based on the above embodiment, as a preferred embodiment, it also includes:

刷新模块,用于若所述刷新请求不包含视图层级缓存,返回全部页面源数据,以便所述浏览器渲染所述页面源数据并刷新网页。A refresh module, configured to return all page source data if the refresh request does not include a view-level cache, so that the browser renders the page source data and refreshes the web page.

基于上述实施例,作为优选的实施例,还包括:Based on the above embodiment, as a preferred embodiment, it also includes:

第一视图层级生成模块,用于确定目标元素,对所述目标元素添加预设标识,生成所述视图层级缓存。The first view level generation module is configured to determine a target element, add a preset identifier to the target element, and generate the view level cache.

基于上述实施例,作为优选的实施例,还包括:Based on the above embodiment, as a preferred embodiment, it also includes:

第二视图层级生成模块,用于根据所述网页的目录结构配置相应的唯一标识,生成所述视图层级缓存。The second view level generation module is configured to configure a corresponding unique identifier according to the directory structure of the web page, and generate the view level cache.

本申请还提供了一种计算机可读存储介质,其上存有计算机程序,该计算机程序被执行时可以实现上述实施例所提供的步骤。该存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the steps provided by the above embodiments can be implemented. The storage medium may include: U disk, removable hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.

本申请还提供了一种服务器,可以包括存储器和处理器,所述存储器中存有计算机程序,所述处理器调用所述存储器中的计算机程序时,可以实现上述实施例所提供的步骤。当然所述服务器还可以包括各种网络接口,电源等组件。The present application also provides a server, which may include a memory and a processor, where a computer program is stored in the memory, and when the processor invokes the computer program in the memory, the steps provided in the above embodiments can be implemented. Of course, the server may also include various network interfaces, power supplies and other components.

说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例提供的系统而言,由于其与实施例提供的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. For the system provided by the embodiment, since it corresponds to the method provided by the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.

本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。Specific examples are used herein to illustrate the principles and implementations of the present application, and the descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present application, several improvements and modifications can also be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations. There is no such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

Claims (8)

1. A webpage refreshing method is characterized by comprising the following steps:
receiving a refreshing request of a webpage;
judging whether the browser sets a negotiation cache or not;
if yes, judging whether the refreshing request hits a view level cache or not; the view level cache is at least three layers;
if the refreshing request contains a view level cache, returning to the view level cache corresponding to the refreshing request so that the browser can refresh the webpage by using the view level cache;
the returning of the view level cache corresponding to the refresh request comprises:
analyzing request header data contained in the refreshing request to obtain a cache identifier corresponding to the view level;
returning the view level cache corresponding to the cache identification;
if the request header data contains a browser-side view timestamp, returning a view level cache corresponding to the cache identifier, including: determining a latest view timestamp;
judging whether the browser-side view timestamp is consistent with the latest view timestamp;
and if the current view timestamp is inconsistent with the current view timestamp, taking the latest view timestamp and the corresponding level cache code as the view level cache corresponding to the request header data, storing the view level cache into response header data, and returning the response header data.
2. The method for refreshing a web page according to claim 1, wherein before determining whether the browser sets the negotiation cache, the method further comprises:
judging whether the browser sets a forced cache or not;
if not, executing a step of judging whether the browser sets a negotiation cache or not;
if yes, judging whether the forced cache is overdue or not;
if the forced cache is overdue, executing a step of judging whether the browser sets a negotiation cache;
and if the forced cache is not expired, refreshing the webpage by utilizing the forced cache.
3. The method for refreshing web pages according to claim 1, wherein if the refresh request does not include a view level cache, further comprising:
and returning all the page source data so that the browser can render the page source data and refresh the webpage.
4. The web page refreshing method according to any one of claims 1 to 3, further comprising:
and determining a target element, adding a preset identifier to the target element, and generating the view level cache.
5. The web page refreshing method according to any one of claims 1 to 3, further comprising:
and configuring a corresponding unique identifier according to the directory structure of the webpage to generate the view level cache.
6. A web page refresh system, comprising:
the request receiving module is used for receiving a refreshing request of a webpage;
the first judgment module is used for judging whether the browser sets a negotiation cache;
the second judging module is used for judging whether the refreshing request hits the view level cache or not when the judging result of the first judging module is yes; the view level cache is at least three layers;
the webpage refreshing module is used for returning to the view level cache corresponding to the refreshing request when the judgment result of the second judgment module is yes, so that the browser can refresh the webpage by using the view level cache;
the returning of the view level cache corresponding to the refresh request comprises:
analyzing request header data contained in the refreshing request to obtain a cache identifier corresponding to the view level;
returning the view level cache corresponding to the cache identification;
if the request header data contains a browser-side view timestamp, returning a view level cache corresponding to the cache identifier, including: determining a latest view timestamp;
judging whether the browser-side view timestamp is consistent with the latest view timestamp;
and if the current view timestamp is inconsistent with the current view timestamp, taking the latest view timestamp and the corresponding level cache code as the view level cache corresponding to the request header data, storing the view level cache into response header data, and returning the response header data.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the web page refreshing method according to any one of claims 1 to 5.
8. A server, characterized in that it comprises a memory in which a computer program is stored and a processor which, when it calls the computer program in the memory, implements the steps of the web page refresh method according to any one of claims 1 to 5.
CN202110677984.7A 2021-06-18 2021-06-18 Webpage refreshing method, webpage refreshing system and related device Active CN113407876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110677984.7A CN113407876B (en) 2021-06-18 2021-06-18 Webpage refreshing method, webpage refreshing system and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110677984.7A CN113407876B (en) 2021-06-18 2021-06-18 Webpage refreshing method, webpage refreshing system and related device

Publications (2)

Publication Number Publication Date
CN113407876A CN113407876A (en) 2021-09-17
CN113407876B true CN113407876B (en) 2022-10-25

Family

ID=77681382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110677984.7A Active CN113407876B (en) 2021-06-18 2021-06-18 Webpage refreshing method, webpage refreshing system and related device

Country Status (1)

Country Link
CN (1) CN113407876B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11438433B1 (en) 2021-11-04 2022-09-06 Disney Enterprises, Inc. Progressive object refreshes in content delivery networks

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE513268T1 (en) * 2006-10-19 2011-07-15 France Telecom CONTENT UPDATE PROCESS AND CACHE MEMORY, TERMINAL, SERVER AND COMPUTER SOFTWARE THEREFOR
CN109634598B (en) * 2018-12-14 2020-09-18 北京字节跳动网络技术有限公司 Page display method, device, equipment and storage medium
CN111475180B (en) * 2019-01-24 2025-07-15 北京京东尚科信息技术有限公司 Method and system for updating client cache
CN110825479A (en) * 2019-11-05 2020-02-21 江苏满运软件科技有限公司 Page processing method and device, terminal equipment, server and storage medium
CN111273985B (en) * 2020-01-20 2024-10-11 北京有竹居网络技术有限公司 Page rendering method, device, electronic device and computer-readable storage medium

Also Published As

Publication number Publication date
CN113407876A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
JP6410280B2 (en) Website access method, apparatus, and website system
CN103365695B (en) Method and device for increasing sub-resource loading speed
TWI614630B (en) Client application login method and its corresponding server
CN104104649B (en) Method, device and system for page login
US20100088612A1 (en) Method and System for Displaying Web Page
US8312077B2 (en) Client apparatus for updating data
CN106534243B (en) Cache, request, response method and corresponding device based on HTTP protocol
US8621092B2 (en) Remote portlet consumer with enhanced resource URL processing
JP2004280828A5 (en)
US9088462B2 (en) Common web accessible data store for client side page processing
WO2013097592A1 (en) Script loading technology
CN102902799A (en) Browser page display method and device based on WebKit
WO2014161261A1 (en) Data storage method and apparatus
CN103530349A (en) Method and equipment for cache updating
US20130275551A1 (en) Method and Web Server for Implementing Web Access
CN103618799B (en) Browser rs cache processing method, system and proxy server
Meizhen et al. The design and implementation of LRU-based web cache
CN109543127A (en) A kind of page furbishing method, device, equipment and readable storage medium storing program for executing
CN106412054B (en) Dynamic web addresses are converted to naming method, system and its application of static network address
CN113407876B (en) Webpage refreshing method, webpage refreshing system and related device
CN105701233A (en) Method for optimizing server cache management
US7890487B1 (en) Facilitating client-side data-management for web-based applications
WO2015058614A1 (en) Bookmark storage method and device, and method and device for determining bookmark to be browsed
KR20150128810A (en) System and method to allow a domain name server to process a natural language query and determine context
Cao et al. The solution of web font-end performance optimization

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
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20210917

Assignee: Hangzhou Anheng Information Security Technology Co.,Ltd.

Assignor: Dbappsecurity Co.,Ltd.

Contract record no.: X2024980043365

Denomination of invention: A webpage refresh method, webpage refresh system, and related device

Granted publication date: 20221025

License type: Common License

Record date: 20241231