CN109413148A - Access control method, server, terminal and computer scale storage medium - Google Patents

Access control method, server, terminal and computer scale storage medium Download PDF

Info

Publication number
CN109413148A
CN109413148A CN201811089108.7A CN201811089108A CN109413148A CN 109413148 A CN109413148 A CN 109413148A CN 201811089108 A CN201811089108 A CN 201811089108A CN 109413148 A CN109413148 A CN 109413148A
Authority
CN
China
Prior art keywords
resource
page
compressed package
url information
terminal
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.)
Pending
Application number
CN201811089108.7A
Other languages
Chinese (zh)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811089108.7A priority Critical patent/CN109413148A/en
Publication of CN109413148A publication Critical patent/CN109413148A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of access control method, server, terminal and computer scale storage mediums, wherein, method includes: the H5 accessing page request sent in response to terminal, and CSS resource, JS resource and HTML resource that the H5 page includes are packaged as H5 page compressed package;The version number of H5 page compressed package is fed back into terminal, so that terminal determines whether to download H5 page compressed package according to version number.According to the technical solution of the present invention, the speed of response of the terminal access H5 page can be significantly improved, the data throughput and communication efficiency that promote internet communication are conducive to.

Description

Access control method, server, terminal and computer scale storage medium
Technical field
The present invention relates to access control technology field, in particular to a kind of access control method, a kind of server, A kind of terminal and a kind of computer readable storage medium.
Background technique
It mainly include that HTML, CSS and JavaScript three parts are constituted, wherein HTML for internet web page (Hyper Text Markup Language, hypertext markup language), HTML are a kind of language for describing webpage, CSS How (Cascading Style Sheets, cascading style sheets), style definitions show HTML element, and JavaScript is (referred to as It JS) is a kind of scripting language, source code is not required to before being sent to client operation by compiling, but by the word of text formatting Symbol code is sent to browser and is run by browser-interpreted.
In the related technology, it is all APP starting WebView that H5 (abbreviation of HTML5) page is opened in APP application currently on the market (WebView is one and is used to show the control of web page), the then URL (Uniform of mono- H5 of direct WebView Resource Locator, uniform resource locator), this URL of WebView direct request obtain H5 content of pages, then plus It sets out and, if content of pages is bigger, in the case that network is not so good, load is slow, and user feels to open a webpage It is too slow.
Summary of the invention
In order to solve at least one above-mentioned technical problem, the invention proposes a kind of access control method, server, terminals With computer scale storage medium.
To achieve the goals above, technical solution of the present invention provides a kind of access control method, comprising: in response to end The H5 accessing page request sent is held, CSS resource, JS resource and HTML resource that the H5 page includes are packaged as the compression of the H5 page Packet;The version number of H5 page compressed package is fed back into terminal, so that terminal determines whether to download the compression of the H5 page according to version number Packet.
In the present solution, by the H5 accessing page request sent in response to terminal, the CSS resource that includes by the H5 page, JS Resource and HTML resource are packaged as H5 page compressed package, the version number of H5 page compressed package are fed back to terminal, for terminal root Determine whether to download H5 page compressed package according to version number, effectively improves the access efficiency for improving terminal, reduce interconnection The data interaction pressure of net, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Technical solution of the present invention provides a kind of access control method, comprising: sends H5 page access to server and asks It asks;Receive the H5 page compressed package that server is fed back in response to H5 accessing page request;Determined whether to download H5 according to version number Page compressed package.
In the present solution, receiving server in response to H5 page access by sending H5 accessing page request to server The H5 page compressed package of feedback is requested, and is determined whether to download H5 page compressed package according to version number, effectively improves and mentions The high access efficiency of terminal, reduces the data interaction pressure of internet, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Preferably, further includes: after determining downloading H5 page compressed package, obtain the H5 page compressed package of server feedback; In response to the corresponding URL information of HTML resource that user issues, request server feeds back HTML resource;Receive server feedback HTML resource;According to the matching degree between URL information and local URL information, it is determined whether the replacement of HTML resource is locally stored HTML resource.
In the present solution, by according to the matching degree between URL information and local URL information, it is determined whether HTML resource is replaced The HTML resource being locally stored is changed, if matching degree reflects that the URL information of user's request is identical as local URL information, this When do not need to download HTML resource again, and reflect the URL information and the URL information not phase of local of user's request in matching degree Together, it needs to download HTML resource again at this time.
Preferably, according to the matching degree between URL information and local URL information, it is determined whether the replacement of HTML resource is local The HTML resource of storage, specifically includes: encrypting to URL information, to obtain corresponding encrypted characters string;Judge URL information Corresponding encrypted characters string encrypted characters String matching whether corresponding with local URL;Determining the corresponding encrypted characters of URL information When string encrypted characters String matching corresponding with local URL, HTML resource is not replaced the HTML resource being locally stored by determination.
In the present solution, by being encrypted to URL information, to obtain corresponding encrypted characters string, it is only necessary to compare encryption Whether character string matches, wherein the data length of encrypted characters string is less than URL information, and then further improves URL information Detection efficiency.
Preferably, further includes: when determining the HTML resource that load is locally stored, H5 page compressed package is decompressed, to obtain CSS resource and JS resource;CSS resource, JS resource and HTML resource are synthesized to the H5 page requested access to.
In the present solution, H5 page compressed package is decompressed by when determining the HTML resource that load is locally stored, to obtain CSS resource and JS resource, and CSS resource, JS resource and HTML resource are synthesized to the H5 page requested access to, it can be efficiently Show the H5 page in terminal local.
Technical solution of the present invention also proposed a kind of server, and the server includes memory, processor and communication Device is stored with access control program on the memory, and following step is realized when the access control program is executed by processor Rapid: the H5 accessing page request sent in response to terminal, the CSS resource for including by the H5 page, JS resource and HTML resource are packaged For H5 page compressed package;The version number of the H5 page compressed package is fed back into the terminal, so that the terminal is according to Version number determines whether to download the H5 page compressed package.
In the present solution, by the H5 accessing page request sent in response to terminal, the CSS resource that includes by the H5 page, JS Resource and HTML resource are packaged as H5 page compressed package, the version number of H5 page compressed package are fed back to terminal, for terminal root Determine whether to download H5 page compressed package according to version number, effectively improves the access efficiency for improving terminal, reduce interconnection The data interaction pressure of net, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Technical solution of the present invention provides a kind of terminal, and the terminal includes memory, processor and communication device, institute It states and is stored with access control program on memory, the access control program realizes following steps when being executed by processor: to clothes Business device sends H5 accessing page request;The server is received to compress in response to the H5 page that the H5 accessing page request is fed back Packet;Determined whether to download the H5 page compressed package according to the version number.
In the present solution, receiving server in response to H5 page access by sending H5 accessing page request to server The H5 page compressed package of feedback is requested, and is determined whether to download H5 page compressed package according to version number, effectively improves and mentions The high access efficiency of terminal, reduces the data interaction pressure of internet, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Preferably, following steps are realized when the access control program is executed by processor: determining described H5 pages of downloading After the compressed package of face, the H5 page compressed package of the server feedback is obtained;The corresponding URL of HTML resource issued in response to user Information requests HTML resource described in the server feedback;Receive the HTML resource of the server feedback;According to described Matching degree between URL information and local URL information, it is determined whether the HTML resource replaces the HTML resource being locally stored.
In the present solution, by according to the matching degree between URL information and local URL information, it is determined whether HTML resource is replaced The HTML resource being locally stored is changed, if matching degree reflects that the URL information of user's request is identical as local URL information, this When do not need to download HTML resource again, and reflect the URL information and the URL information not phase of local of user's request in matching degree Together, it needs to download HTML resource again at this time.
Preferably, according to the matching degree between the URL information and local URL information, it is determined whether the HTML resource The HTML resource being locally stored is replaced, specifically includes: the URL information is encrypted, to obtain corresponding encrypted characters string; Judge the corresponding encrypted characters string of URL information encrypted characters String matching whether corresponding with the local URL;Determining institute When stating corresponding with the local URL encrypted characters String matching of the corresponding encrypted characters string of URL information, determination provides the HTML The HTML resource being locally stored is not replaced in source.
In the present solution, by being encrypted to URL information, to obtain corresponding encrypted characters string, it is only necessary to compare encryption Whether character string matches, wherein the data length of encrypted characters string is less than URL information, and then further improves URL information Detection efficiency.
Technical solution of the present invention also proposed a kind of computer readable storage medium, be stored thereon with access control journey Sequence realizes the access control side for any one that the technical solution of aforementioned present invention proposes when access control program is executed by processor The step of method, therefore the access control method of any one of the technical solution proposition of the first aspect with aforementioned present invention is complete Portion's beneficial effect, details are not described herein.
Additional aspect and advantage of the invention will provide in following description section, will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is the schematic flow diagram of access control method in an embodiment;
Fig. 2 is the schematic flow diagram of access control method in an embodiment.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 is the schematic flow diagram of access control method in an embodiment.
As shown in Figure 1, the access control method in the embodiment is the following steps are included: step S102, sends out in response to terminal CSS resource, JS resource and HTML resource that the H5 page includes are packaged as H5 page compressed package by the H5 accessing page request sent; The version number of H5 page compressed package is fed back to terminal by step S104, so that terminal determines whether H5 pages of downloading according to version number Face compressed package.
In the present solution, by the H5 accessing page request sent in response to terminal, the CSS resource that includes by the H5 page, JS Resource and HTML resource are packaged as H5 page compressed package, the version number of H5 page compressed package are fed back to terminal, for terminal root Determine whether to download H5 page compressed package according to version number, effectively improves the access efficiency for improving terminal, reduce interconnection The data interaction pressure of net, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Fig. 2 is the schematic flow diagram of access control method in an embodiment.
As shown in Fig. 2, the access control method in the embodiment is the following steps are included: step S202, sends to server H5 accessing page request;Step S204 receives the H5 page compressed package that server is fed back in response to H5 accessing page request;Step S206 determines whether to download H5 page compressed package according to version number.
In the present solution, receiving server in response to H5 page access by sending H5 accessing page request to server The H5 page compressed package of feedback is requested, and is determined whether to download H5 page compressed package according to version number, effectively improves and mentions The high access efficiency of terminal, reduces the data interaction pressure of internet, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Preferably, further includes: after determining downloading H5 page compressed package, obtain the H5 page compressed package of server feedback; In response to the corresponding URL information of HTML resource that user issues, request server feeds back HTML resource;Receive server feedback HTML resource;According to the matching degree between URL information and local URL information, it is determined whether the replacement of HTML resource is locally stored HTML resource.
In the present solution, by according to the matching degree between URL information and local URL information, it is determined whether HTML resource is replaced The HTML resource being locally stored is changed, if matching degree reflects that the URL information of user's request is identical as local URL information, this When do not need to download HTML resource again, and reflect the URL information and the URL information not phase of local of user's request in matching degree Together, it needs to download HTML resource again at this time.
Preferably, according to the matching degree between URL information and local URL information, it is determined whether the replacement of HTML resource is local The HTML resource of storage, specifically includes: encrypting to URL information, to obtain corresponding encrypted characters string;Judge URL information Corresponding encrypted characters string encrypted characters String matching whether corresponding with local URL;Determining the corresponding encrypted characters of URL information When string encrypted characters String matching corresponding with local URL, HTML resource is not replaced the HTML resource being locally stored by determination.
In the present solution, by being encrypted to URL information, to obtain corresponding encrypted characters string, it is only necessary to compare encryption Whether character string matches, wherein the data length of encrypted characters string is less than URL information, and then further improves URL information Detection efficiency.
Preferably, further includes: when determining the HTML resource that load is locally stored, H5 page compressed package is decompressed, to obtain CSS resource and JS resource;CSS resource, JS resource and HTML resource are synthesized to the H5 page requested access to.
In the present solution, H5 page compressed package is decompressed by when determining the HTML resource that load is locally stored, to obtain CSS resource and JS resource, and CSS resource, JS resource and HTML resource are synthesized to the H5 page requested access to, it can be efficiently Show the H5 page in terminal local.
Technical solution of the present invention also proposed a kind of server, and the server includes memory, processor and communication Device is stored with access control program on the memory, and following step is realized when the access control program is executed by processor Rapid: the H5 accessing page request sent in response to terminal, the CSS resource for including by the H5 page, JS resource and HTML resource are packaged For H5 page compressed package;The version number of the H5 page compressed package is fed back into the terminal, so that the terminal is according to Version number determines whether to download the H5 page compressed package.
In the present solution, by the H5 accessing page request sent in response to terminal, the CSS resource that includes by the H5 page, JS Resource and HTML resource are packaged as H5 page compressed package, the version number of H5 page compressed package are fed back to terminal, for terminal root Determine whether to download H5 page compressed package according to version number, effectively improves the access efficiency for improving terminal, reduce interconnection The data interaction pressure of net, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Technical solution of the present invention provides a kind of terminal, and the terminal includes memory, processor and communication device, institute It states and is stored with access control program on memory, the access control program realizes following steps when being executed by processor: to clothes Business device sends H5 accessing page request;The server is received to compress in response to the H5 page that the H5 accessing page request is fed back Packet;Determined whether to download the H5 page compressed package according to the version number.
In the present solution, receiving server in response to H5 page access by sending H5 accessing page request to server The H5 page compressed package of feedback is requested, and is determined whether to download H5 page compressed package according to version number, effectively improves and mentions The high access efficiency of terminal, reduces the data interaction pressure of internet, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Preferably, following steps are realized when the access control program is executed by processor: determining described H5 pages of downloading After the compressed package of face, the H5 page compressed package of the server feedback is obtained;The corresponding URL of HTML resource issued in response to user Information requests HTML resource described in the server feedback;Receive the HTML resource of the server feedback;According to described Matching degree between URL information and local URL information, it is determined whether the HTML resource replaces the HTML resource being locally stored.
In the present solution, by according to the matching degree between URL information and local URL information, it is determined whether HTML resource is replaced The HTML resource being locally stored is changed, if matching degree reflects that the URL information of user's request is identical as local URL information, this When do not need to download HTML resource again, and reflect the URL information and the URL information not phase of local of user's request in matching degree Together, it needs to download HTML resource again at this time.
Preferably, according to the matching degree between the URL information and local URL information, it is determined whether the HTML resource The HTML resource being locally stored is replaced, specifically includes: the URL information is encrypted, to obtain corresponding encrypted characters string; Judge the corresponding encrypted characters string of URL information encrypted characters String matching whether corresponding with the local URL;Determining institute When stating corresponding with the local URL encrypted characters String matching of the corresponding encrypted characters string of URL information, determination provides the HTML The HTML resource being locally stored is not replaced in source.
In the present solution, by being encrypted to URL information, to obtain corresponding encrypted characters string, it is only necessary to compare encryption Whether character string matches, wherein the data length of encrypted characters string is less than URL information, and then further improves URL information Detection efficiency.
Technical solution of the present invention also proposed a kind of computer readable storage medium, be stored thereon with access control journey Sequence, realization when access control program is executed by processor: in response to terminal send H5 accessing page request, include by the H5 page CSS resource, JS resource and HTML resource be packaged as H5 page compressed package;The version number of H5 page compressed package is fed back into end End, so that terminal determines whether to download H5 page compressed package according to version number.
In the present solution, by the H5 accessing page request sent in response to terminal, the CSS resource that includes by the H5 page, JS Resource and HTML resource are packaged as H5 page compressed package, the version number of H5 page compressed package are fed back to terminal, for terminal root Determine whether to download H5 page compressed package according to version number, effectively improves the access efficiency for improving terminal, reduce interconnection The data interaction pressure of net, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Preferably, further includes: send H5 accessing page request to server;Server is received to ask in response to H5 page access It negates the H5 page compressed package of feedback;Determined whether to download H5 page compressed package according to version number.
In the present solution, receiving server in response to H5 page access by sending H5 accessing page request to server The H5 page compressed package of feedback is requested, and is determined whether to download H5 page compressed package according to version number, effectively improves and mentions The high access efficiency of terminal, reduces the data interaction pressure of internet, improves internet throughput.
Wherein, the version number of each H5 page compressed package is as unique identification.
Preferably, further includes: after determining downloading H5 page compressed package, obtain the H5 page compressed package of server feedback; In response to the corresponding URL information of HTML resource that user issues, request server feeds back HTML resource;Receive server feedback HTML resource;According to the matching degree between URL information and local URL information, it is determined whether the replacement of HTML resource is locally stored HTML resource.
In the present solution, by according to the matching degree between URL information and local URL information, it is determined whether HTML resource is replaced The HTML resource being locally stored is changed, if matching degree reflects that the URL information of user's request is identical as local URL information, this When do not need to download HTML resource again, and reflect the URL information and the URL information not phase of local of user's request in matching degree Together, it needs to download HTML resource again at this time.
Preferably, according to the matching degree between URL information and local URL information, it is determined whether the replacement of HTML resource is local The HTML resource of storage, specifically includes: encrypting to URL information, to obtain corresponding encrypted characters string;Judge URL information Corresponding encrypted characters string encrypted characters String matching whether corresponding with local URL;Determining the corresponding encrypted characters of URL information When string encrypted characters String matching corresponding with local URL, HTML resource is not replaced the HTML resource being locally stored by determination.
In the present solution, by being encrypted to URL information, to obtain corresponding encrypted characters string, it is only necessary to compare encryption Whether character string matches, wherein the data length of encrypted characters string is less than URL information, and then further improves URL information Detection efficiency.
Preferably, further includes: when determining the HTML resource that load is locally stored, H5 page compressed package is decompressed, to obtain CSS resource and JS resource;CSS resource, JS resource and HTML resource are synthesized to the H5 page requested access to.
In the present solution, H5 page compressed package is decompressed by when determining the HTML resource that load is locally stored, to obtain CSS resource and JS resource, and CSS resource, JS resource and HTML resource are synthesized to the H5 page requested access to, it can be efficiently Show the H5 page in terminal local.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, the invention proposes a kind of access control method and A kind of access control apparatus passes through the H5 accessing page request sent in response to terminal, the CSS resource for including by the H5 page, JS Resource and HTML resource are packaged as H5 page compressed package, the version number of H5 page compressed package are fed back to terminal, for terminal root Determine whether to download H5 page compressed package according to version number, effectively improves the access efficiency for improving terminal, reduce interconnection The data interaction pressure of net, improves internet throughput.
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
Only several embodiments of the present invention are expressed for above embodiments, and the description thereof is more specific and detailed, but can not Therefore understands that for the limitation to patent of invention range.It should be pointed out that for those of ordinary skill in the art, not Under the premise of being detached from design of the invention, various modifications and improvements can be made, and these are all within the scope of protection of the present invention. Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of access control method, it is suitable for server, which is characterized in that the access control method includes:
In response to the H5 accessing page request that terminal is sent, the CSS resource for including by the H5 page, JS resource and HTML resource are packaged For H5 page compressed package;
The version number of the H5 page compressed package is fed back into the terminal, so that the terminal is according to version number determination The no downloading H5 page compressed package.
2. a kind of access control method, it is suitable for terminal, which is characterized in that the access control method includes:
H5 accessing page request is sent to server;
Receive the H5 page compressed package that the server is fed back in response to the H5 accessing page request;
Determined whether to download the H5 page compressed package according to the version number.
3. access control method according to claim 2, which is characterized in that further include:
After determining the downloading H5 page compressed package, the H5 page compressed package of the server feedback is obtained;
In response to the corresponding URL information of HTML resource that user issues, HTML resource described in the server feedback is requested;
Receive the HTML resource of the server feedback;
According to the matching degree between the URL information and local URL information, it is determined whether the HTML resource replacement is locally stored HTML resource.
4. access control method according to claim 2 or 3, which is characterized in that according to the URL information and local URL Matching degree between information, it is determined whether the HTML resource replaces the HTML resource being locally stored, and specifically includes:
The URL information is encrypted, to obtain corresponding encrypted characters string;
Judge the corresponding encrypted characters string of URL information encrypted characters String matching whether corresponding with the local URL;
In the corresponding encrypted characters string of judgement URL information encrypted characters String matching corresponding with the local URL, determine The HTML resource HTML resource being locally stored is not replaced into.
5. access control method according to claim 2 or 3, which is characterized in that further include:
When determining the HTML resource being locally stored described in load, the H5 page compressed package is decompressed, to obtain the CSS resource With the JS resource;
The CSS resource, the JS resource and the HTML resource are synthesized into the H5 page requested access to.
6. a kind of server, which is characterized in that the server includes memory, processor and communication device, the memory On be stored with access control program, the access control program realizes following steps when being executed by processor:
In response to the H5 accessing page request that terminal is sent, the CSS resource for including by the H5 page, JS resource and HTML resource are packaged For H5 page compressed package;
The version number of the H5 page compressed package is fed back into the terminal, so that the terminal is according to version number determination The no downloading H5 page compressed package.
7. a kind of terminal, which is characterized in that the terminal includes memory, processor and communication device, is deposited on the memory Access control program is contained, the access control program realizes following steps when being executed by processor:
H5 accessing page request is sent to server;
Receive the H5 page compressed package that the server is fed back in response to the H5 accessing page request;
Determined whether to download the H5 page compressed package according to the version number.
8. terminal according to claim 7, which is characterized in that realized such as when the access control program is executed by processor Lower step:
After determining the downloading H5 page compressed package, the H5 page compressed package of the server feedback is obtained;
In response to the corresponding URL information of HTML resource that user issues, HTML resource described in the server feedback is requested;
Receive the HTML resource of the server feedback;
According to the matching degree between the URL information and local URL information, it is determined whether the HTML resource replacement is locally stored HTML resource.
9. terminal according to claim 7 or 8, which is characterized in that according between the URL information and local URL information Matching degree, it is determined whether the HTML resource replaces the HTML resource being locally stored, and specifically includes:
The URL information is encrypted, to obtain corresponding encrypted characters string;
Judge the corresponding encrypted characters string of URL information encrypted characters String matching whether corresponding with the local URL;
In the corresponding encrypted characters string of judgement URL information encrypted characters String matching corresponding with the local URL, determine The HTML resource HTML resource being locally stored is not replaced into.
10. a kind of computer readable storage medium, which is characterized in that include access control in the computer readable storage medium Program when the access control program is executed by processor, realizes such as access control described in any one of claims 1 to 6 The step of method.
CN201811089108.7A 2018-09-18 2018-09-18 Access control method, server, terminal and computer scale storage medium Pending CN109413148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811089108.7A CN109413148A (en) 2018-09-18 2018-09-18 Access control method, server, terminal and computer scale storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811089108.7A CN109413148A (en) 2018-09-18 2018-09-18 Access control method, server, terminal and computer scale storage medium

Publications (1)

Publication Number Publication Date
CN109413148A true CN109413148A (en) 2019-03-01

Family

ID=65465780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811089108.7A Pending CN109413148A (en) 2018-09-18 2018-09-18 Access control method, server, terminal and computer scale storage medium

Country Status (1)

Country Link
CN (1) CN109413148A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913757A (en) * 2020-07-13 2020-11-10 西安即刻易用网络科技有限公司 Single-page application program loading method and system
CN112988284A (en) * 2021-05-13 2021-06-18 太平金融科技服务(上海)有限公司 Application program starting method and device, computer equipment and storage medium
CN114040241A (en) * 2021-10-27 2022-02-11 中移(杭州)信息技术有限公司 Data screen projection method, device, equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873502A (en) * 2012-12-11 2014-06-18 阿里巴巴集团控股有限公司 Cache updating method and system, and update resource providing method and system
CN104301384A (en) * 2014-09-05 2015-01-21 北京奇虎科技有限公司 Data acquisition method, device and system
US20160246895A1 (en) * 2013-03-15 2016-08-25 Instart Logic, Inc. Identifying correlated components of dynamic content
US9509764B1 (en) * 2014-11-21 2016-11-29 Instart Logic, Inc. Updating cached web content
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN108520059A (en) * 2018-04-09 2018-09-11 世纪龙信息网络有限责任公司 Loading method, system, computer equipment and the storage medium of the client H5 pages

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873502A (en) * 2012-12-11 2014-06-18 阿里巴巴集团控股有限公司 Cache updating method and system, and update resource providing method and system
US20160246895A1 (en) * 2013-03-15 2016-08-25 Instart Logic, Inc. Identifying correlated components of dynamic content
CN104301384A (en) * 2014-09-05 2015-01-21 北京奇虎科技有限公司 Data acquisition method, device and system
US9509764B1 (en) * 2014-11-21 2016-11-29 Instart Logic, Inc. Updating cached web content
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN108520059A (en) * 2018-04-09 2018-09-11 世纪龙信息网络有限责任公司 Loading method, system, computer equipment and the storage medium of the client H5 pages

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913757A (en) * 2020-07-13 2020-11-10 西安即刻易用网络科技有限公司 Single-page application program loading method and system
CN112988284A (en) * 2021-05-13 2021-06-18 太平金融科技服务(上海)有限公司 Application program starting method and device, computer equipment and storage medium
CN114040241A (en) * 2021-10-27 2022-02-11 中移(杭州)信息技术有限公司 Data screen projection method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11194557B2 (en) System and method providing a binary representation of a web page
US10110695B1 (en) Key resource prefetching using front-end optimization (FEO) configuration
CN100462964C (en) Updating display method for webpage data
US6941512B2 (en) Dynamic web content unfolding in wireless information gateways
TW535081B (en) Method and system of fulfilling requests for information from a network client
US8745341B2 (en) Web server cache pre-fetching
US10120847B2 (en) Methods for transforming requests for web content and devices thereof
CN101178716B (en) Method of micro-browsers processing JavaScript and micro-browsers thereof
CN109413148A (en) Access control method, server, terminal and computer scale storage medium
JP2001282674A (en) Internet-based font server
CN104063401B (en) The method and apparatus that a kind of webpage pattern address merges
KR100967337B1 (en) A web browser system using proxy server of a mobile communication terminal
CN101894136A (en) Page refreshing processing method based on mobile terminal and system thereof
CN102916991B (en) Method, system and device for transmitting data
CN106790334A (en) A kind of page data transmission method and system
CN105677646A (en) Word stock generation method and system, and server
CN103825772B (en) Identifying user clicks on the method and gateway device of behavior
CN105701198A (en) Page validation method and device
CN105282238B (en) A kind of method for managing resource
CN101770511A (en) Browse system for accelerating backspace operation of mobile communication equipment terminal and application method thereof
CN103139298B (en) Method for transmitting network data and device
CN104796929A (en) Network debugging method and device
CN102231150A (en) Method and system for managing word stock of embedded browser
CN107608745A (en) A kind of method and apparatus for accelerating page loading velocity
KR100827752B1 (en) Web browsing performance improvement system using mobile web gateway server

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301

RJ01 Rejection of invention patent application after publication