CN107357876A - A kind of web access methods and device - Google Patents
A kind of web access methods and device Download PDFInfo
- Publication number
- CN107357876A CN107357876A CN201710546703.8A CN201710546703A CN107357876A CN 107357876 A CN107357876 A CN 107357876A CN 201710546703 A CN201710546703 A CN 201710546703A CN 107357876 A CN107357876 A CN 107357876A
- Authority
- CN
- China
- Prior art keywords
- webpage
- service end
- locally stored
- client
- web
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/51—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2119—Authenticating web pages, e.g. with suspicious links
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present application provides a kind of web access methods and device, applied to client, by sending web access requests to service end;Receive the configuration information corresponding with the web access requests that service end returns, the configuration information includes the first configuration information, and first configuration information indicates the first version number of the website belonging to the webpage that the web access requests that the service end is locally stored are asked;When it is determined that the second edition number for the website that the client is locally stored is identical with the first version number, the info web of the webpage is obtained from the website that the client is locally stored;Dynamic renders the info web, obtains and shows the mode of the webpage so that the website based on client local cache is realized to the access for the webpage for belonging to the website, effectively to realize the purpose accelerated web access speeds, reduce network traffics.
Description
Technical field
The application is related to web access techniques field, more particularly to a kind of web access methods and device.
Background technology
With the improvement of people ' s living standards with the development of science and technology, web is using more and more extensive.In web application processes,
Whether whether shared network traffics have good body as user to web applications when generally using web access speeds, access web
The evaluation basis tested.
At present, prior art generally use service end is compressed to webpage or by web cache in the side of network node
Formula accelerates web access speeds, the purpose of reduction network traffics to reach.
But limited, on-premise network node is compressed to webpage because of service end can only accelerate to access, can not effectively reduce net
Network flow, therefore prior art generally can not effectively realize the purpose accelerated web access speeds, reduce network traffics.
The content of the invention
In view of this, the embodiment of the present application provides a kind of web access methods and device, realizes that accelerating web accesses with effective
Speed, the purpose for reducing network traffics.
To achieve these goals, the technical scheme that the embodiment of the present application provides is as follows:
A kind of web access methods, applied to client, this method includes:
Web access requests are sent to service end;
The configuration information corresponding with the web access requests that service end returns is received, the configuration information includes first
Configuration information, first configuration information indicate the webpage that the web access requests that the service end is locally stored are asked
The first version number of affiliated website;
When it is determined that the second edition number for the website that the client is locally stored is identical with the first version number,
The info web of the webpage is obtained from the website that the client is locally stored;
Dynamic renders the info web, obtains and shows the webpage.
Preferably, it is determined that the second edition number and the first version number of the website that the client is locally stored
When differing, this method also includes:
The web access requests for carrying label information are sent to the service end, the label information indicates the clothes
Business end returns to the info web for the webpage that the service end is locally stored.
Preferably, the info web that the webpage is obtained from the website that the client is locally stored, bag
Include:
Determine whether to be stored with the info web of the webpage in the website that the client is locally stored;
If so, the info web of the webpage is obtained from the website that the client is locally stored;
If it is not, the web access requests for carrying label information are sent to the service end, the label information instruction
The service end returns to the info web for the webpage that the service end is locally stored.
Preferably, before the transmission web access requests to service end, this method also includes:
Determine whether the client is locally stored with the website belonging to the webpage that web access requests are asked;
If it is not, the web access requests for carrying label information are sent to the service end, the label information instruction
The service end returns to the info web for the webpage that the service end is locally stored;
It is described to send web access requests to service end, including:If it is determined that the webpage has been locally stored in the client
The website belonging to webpage that access request is asked, the web access requests are sent to service end.
Preferably, after the web access requests for carrying label information are sent to the service end, this method is also
Including:
Receive the info web for the webpage that the service end that the service end returns is locally stored;
Verify whether the info web for the webpage that the service end received returns is legal;
If so, the info web of the webpage returned using the service end updates the institute that the client is locally stored
State website;
If it is not, the web access requests for carrying label information are sent to the service end again.
Preferably, the configuration information also includes the second configuration information, and second configuration information includes the service end
First obtained is encrypted using the info web of default AES, the webpage that the service end is locally stored
Encryption information,
Whether the info web of the webpage verified the service end received and returned is legal, including:
It is encrypted using the info web of the AES, the webpage returned to the service end received
Obtain the second encryption information;
Compare first encryption information and whether second encryption information is identical;
If it is not, determine that the info web for the webpage that the service end received returns is illegal;
If so, determine that the info web for the webpage that the service end received returns is legal.
Preferably, it is determined that the second edition number and the first version number of the website that the client is locally stored
Differ, or, when determining that the client is not locally stored with the website belonging to the webpage that web access requests are asked,
The info web of the webpage returned using the service end updates the institute that the client is locally stored
Website is stated, including:
The website that the client is locally stored replaces with the webpage letter for the webpage that the service end returns
Breath.
Preferably, the info web of the webpage includes the webpage logical message of the webpage and for the webpage
Logical message is rendered to obtain the webpage spatial cue of the webpage,
It is determined that be not stored with the info web of the webpage in the website that the client is locally stored, it is included in
Determine not to be stored with the target information of the webpage in the website that the client is locally stored, the target information is institute
State webpage webpage logical message or the webpage webpage spatial cue when,
Described that the web access requests for carrying label information are sent to the service end, the label information indicates institute
The info web that service end returns to the webpage that the service end is locally stored is stated, including:
The web access requests for carrying the label information for being provided with target information attribute, institute are sent to the service end
State and be provided with the webpage that the label information instruction service end return service end of target information attribute is locally stored
Target information.
Preferably, the info web of the webpage returned using the service end is updated the client and locally deposited
The website of storage, including:
The target information for the webpage that the service end is returned stores the net being locally stored to the client
In standing.
A kind of web access mechanisms, applied to client, the device includes:
Request transmitting unit, for sending web access requests to service end;
Configuration information receiving unit, match somebody with somebody confidence for receiving the corresponding with the web access requests of service end return
Breath, the configuration information include the first configuration information, and it is described that first configuration information indicates that the service end is locally stored
The first version number for the website belonging to webpage that web access requests are asked;
Info web acquiring unit, for it is determined that the website that the client is locally stored the second edition number with
When the first version number is identical, the info web of the webpage is obtained from the website that the client is locally stored;
Dynamic rendering unit, for dynamically rendering the info web, obtain and show the webpage.
The embodiment of the present application provides a kind of web access methods and device, applied to client, by sending net to service end
Access to web page is asked;The configuration information corresponding with the web access requests that service end returns is received, the configuration information includes
First configuration information, first configuration information indicate what the web access requests that the service end is locally stored were asked
The first version number of website belonging to webpage;It is determined that the second edition number and the institute of the website that the client is locally stored
State first version number it is identical when, the info web of the webpage is obtained from the website that the client is locally stored;It is dynamic
State renders the info web, obtains and shows the mode of the webpage so that realizes the website based on client local cache
To the access for the webpage for belonging to the website, effectively to realize the purpose accelerated web access speeds, reduce network traffics.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in application, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of web access methods flow chart that the embodiment of the present application provides;
Fig. 2 is that a kind of of the embodiment of the present application offer obtains the net from the website that the client is locally stored
The method flow diagram of the info web of page;
Fig. 3 is the webpage for the webpage that the service end that a kind of checking that the embodiment of the present application provides receives returns
The whether legal method flow diagram of information;
Fig. 4 is a kind of structural representation for web access mechanisms that the embodiment of the present application provides.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.It is common based on the embodiment in the application, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, it should all belong to the application protection
Scope.
Embodiment:
Fig. 1 is a kind of web access methods flow chart that the embodiment of the present application provides.
As shown in figure 1, this method includes:
S101, to service end send web access requests;
Optionally, when client needs to access webpage, web access requests can be sent as service end.Service end is receiving
After accessing page request, obtain configuration information corresponding with accessing page request and return to the client.
Optionally, configuration information corresponding with accessing page request is belonging to the page asked with accessing page request
Configuration information corresponding to website.
S102, receive the configuration information corresponding with the web access requests that service end returns, the configuration information bag
The first configuration information is included, first configuration information indicates that the web access requests that the service end is locally stored are asked
Webpage belonging to website first version number;
Optionally, the configuration information includes the first configuration information, and first configuration information indicates the service end
The version number's (first version number) for the website belonging to webpage that the web access requests being locally stored are asked.
S103, it is determined that the second edition number and the first version phase of the website that the client is locally stored
Meanwhile the info web of the webpage is obtained from the website that the client is locally stored;
In the embodiment of the present application, it is preferred that after the website of service end storage is updated every time, its equal version number enters
Row renewal.
Website (the version of website herein belonging to the page that accessing page request is asked also is stored with client local
Originally it is known as the second edition number) on the premise of, if client judges that first version number is identical with the second edition number, illustrate client
The version for the website that the version for the website that end is locally stored is locally stored with the service end is identical.Now, from institute
State the info web that the webpage is obtained in the website that client is locally stored.
Optionally, if after the website that client is locally stored is updated, institute that the client is locally stored
The version number for stating website is also updated.Specifically, if the website that client is locally stored is locally stored according to service end
The website be updated, then the version number of the website that the client after updating is locally stored and the institute of service end storage
The version number for stating website is identical.
S104, the info web is dynamically rendered, obtain and show the webpage.
Optionally, client dynamically renders described it is determined that after the info web for the webpage that accessing page request is asked
Info web, to obtain the webpage and be shown.
Optionally, dynamically rendering the webpage includes:Based on ajax technologies, obtained from service end dynamic needed for the webpage
State data, and be loaded onto in the webpage.
Optionally, it is determined that the second edition number and the first version number of the website that the client is locally stored
When differing, this method also includes:The web access requests for carrying label information, the mark are sent to the service end
Information indicates that the service end returns to the info web for the webpage that the service end is locally stored.
Optionally, service end, can be according to the mark after the web access requests for carrying label information are received
The service end returns to the info web for the webpage that the service end is locally stored indicated by information, obtains the service end
The info web for the webpage being locally stored, and the info web of the webpage got is returned to the client.
Optionally, if received server-side to web access requests do not carry label information, from service end to client
End returns to configuration information corresponding with the web access requests.The specific description for referring to above-mentioned steps S101, does not do herein
Repeat.Wherein, for all web access requests described in present specification, if recording the same of web access requests
When do not record its carry label information, then it is assumed that this web access requests does not carry label information.
Fig. 2 is that a kind of of the embodiment of the present application offer obtains the net from the website that the client is locally stored
The method flow diagram of the info web of page.
As shown in Fig. 2 this method includes:
S201, determine the info web of the webpage whether is stored with the website that the client is locally stored;
If so, perform step S202;If it is not, perform step S203;
Optionally, it is determined that the second edition number and the first version number of the website that the client is locally stored
When identical, determine the info web of the webpage whether is stored with the website that the client is locally stored;If deposit
The info web of the webpage is contained, performs step S202;If not being stored with the info web of the webpage, step is performed
S203。
S202, the info web for obtaining from the website that the client is locally stored the webpage;
S203, the web access requests for carrying label information, the label information instruction are sent to the service end
The service end returns to the info web for the webpage that the service end is locally stored.
Further, before performing step S101, sending web access requests to service end, this method also includes:It is determined that
Whether the client is locally stored with the website belonging to the webpage that web access requests are asked;If it is determined that the client sheet
Ground is not stored with the website belonging to the webpage that web access requests are asked, and the institute for carrying label information is sent to the service end
Web access requests are stated, the label information indicates that the service end returns to the net for the webpage that the service end is locally stored
Page information.
Accordingly, web access requests step S101, are sent to service end, including:If it is determined that the client is locally deposited
The website belonging to the webpage that the web access requests are asked is contained, the web access requests are sent to service end.
Further, in the embodiment of the present application, visited in the webpage that carrying label information is sent to the service end
After asking request, this method also includes:Receive the net for the webpage that the service end that the service end returns is locally stored
Page information;Verify whether the info web for the webpage that the service end received returns is legal;If so, utilize the clothes
The info web for the webpage that business end returns updates the website that the client is locally stored;If it is not, again to described
Service end sends the web access requests for carrying label information.
Optionally, client whenever to service end send once carry label information the web access requests after,
The info web for the webpage that the web access requests that service end returns are asked will be received.
Specifically, client after the info web for the webpage that the service end returns is received, is needed first to described
Info web is verified, if verifying that the info web is legal, the net of the webpage returned using the service end
Page information updates the website that the client is locally stored;If verifying that the info web is illegal, again to institute
State service end and send the web access requests for carrying label information, " receive the service end to return to again return to perform
The info web for the webpage that the service end returned is locally stored " process.
In the embodiment of the present application, it is preferred that the configuration information also includes the second configuration information, and described second matches somebody with somebody confidence
Breath is included the service end and entered using the info web of default AES, the webpage that the service end is locally stored
The first encryption information that row encryption obtains.
It is illustrated in figure 3 the webpage that the service end that a kind of checking that the embodiment of the present application provides receives returns
The whether legal method flow diagram of info web.
As shown in figure 3, this method includes:
S301, entered using the info web of the AES, the webpage returned to the service end that receives
Row encryption obtains the second encryption information;
Whether the first encryption information described in S302, comparison and second encryption information are identical, first encryption information
It is encrypted to obtain using the AES, to the info web of the webpage of the return client for the service end
Encryption information;If it is not, perform step S303;If so, perform step S304;
The info web for the webpage that the service end that S303, determination receive returns is illegal;
The info web for the webpage that the service end that S304, determination receive returns is legal.
It should be noted that:The info web for the webpage that service end is locally stored service end is encrypted to obtain
Used AES during the first encryption information, the webpage sent with client in the service end to receiving
Used AES is identical when info web is encrypted to obtain the second encryption information.
Optionally, it is determined that the second edition number and the first version number of the website that the client is locally stored
Differ, or, when determining that the client is not locally stored with the website belonging to the webpage that web access requests are asked, institute
The info web for stating the webpage returned using the service end updates the website that the client is locally stored, bag
Include:The website that the client is locally stored replaces with the info web for the webpage that the service end returns.
In the embodiment of the present application, it is preferred that it is determined that the second edition for the website that the client is locally stored
Number differed with the first version number, or, determine that the client is not locally stored with what web access requests were asked
During website belonging to webpage, the web access requests for carrying label information, the label information are sent to the service end
Indicate that the service end returns to the info web for the webpage that the service end is locally stored;And receive the service end
The info web for the webpage that the service end returned is locally stored;It is described to verify that the service end received returns
Whether the info web of webpage is legal;If so, the info web of the webpage returned using the service end updates the visitor
The website that family end is locally stored;If it is not, the web page access for sending carrying label information to the service end again please
Ask.Wherein, the info web of the webpage returned using the service end updates the institute that the client is locally stored
Website is stated, is specifically included:The website that the client is locally stored replaces with the webpage that the service end returns
Info web.That is, if the info web for the webpage that the service end that checking receives returns is legal, by the visitor
The website that family end is locally stored is deleted, and the info web for the webpage that the service end received is returned stores
It is local to the client, and the info web to the local webpage of the client will be stored as the client sheet
Website belonging to the webpage of ground storage.
In the embodiment of the present application, it is preferred that the info web of the webpage includes the webpage logical message of the webpage
And for being rendered to the webpage logical message to obtain the webpage spatial cue of the webpage.
It is determined that the info web of the webpage is not stored with the website that the client is locally stored, including:
It is determined that not being stored with the target information of the webpage in the website that the client is locally stored, the target information is
During the webpage spatial cue of the webpage logical message of the webpage or the webpage, described sent to the service end carries mark
The web access requests of information, it is described that the label information indicates that the service end return service end is locally stored
The info web of webpage, including:The net for carrying the label information for being provided with target information attribute is sent to the service end
Access to web page is asked, and the label information for being provided with target information attribute indicates that the service end returns to the service end and locally deposited
The target information of the webpage of storage.
Optionally, whether stored in performing step S201, determining the website that the client is locally stored
After the info web for stating webpage, however, it is determined that be not stored with the webpage of the webpage in the website that the client is locally stored
Information, also, it is determined that not being stored with the info web of the webpage in the website that the client is locally stored, specifically
Including:Determine not to be stored with the target information of the webpage, the target letter in the website that the client is locally stored
It is described to be sent out to the service end in the case of ceasing for the webpage logical message of the webpage or the webpage spatial cue of the webpage
The web access requests for carrying label information are sent, it is local that the label information indicates that the service end returns to the service end
The info web of the webpage of storage, is specifically included:Sent to the service end and carry the mark for being provided with target information attribute
Remember the web access requests of information, the label information for being provided with target information attribute indicates that the service end returns to institute
State the target information for the webpage that service end is locally stored.
It should be noted that:For all web access requests described in present specification, if recording webpage
It is not recorded while access request and carries label information, then it is assumed that this web access requests does not carry label information, and this net
Access to web page request does not carry the label information for being provided with target information attribute yet;If do not remember while web access requests are recorded
Carry the label information that its carrying is provided with target information attribute, then it is assumed that this web access requests, which does not carry, is provided with target information
The label information of attribute.
Accordingly, the info web of the webpage returned using the service end is updated the client and locally deposited
The website of storage, including:The target information for the webpage that the service end is returned, which is stored to the client, locally deposits
In the website of storage.
Accordingly, client sends web access requests to service end, and the web access requests carry and are provided with mesh
After the label information for marking information attribute, web access requests that service end is sent based on the client that receives, to described
Client returns to the target information for the webpage that the service end is locally stored;Corresponding client is receiving the webpage
Target information after, the target information for the webpage that the service end is returned stores the institute being locally stored to the client
State in website.
The embodiment of the present application provides a kind of web access methods, applied to client, by sending web page access to service end
Request;The configuration information corresponding with the web access requests that service end returns is received, the configuration information is matched somebody with somebody including first
Confidence ceases, and first configuration information indicates the webpage institute that the web access requests that the service end is locally stored are asked
The first version number of the website of category;It is determined that the second edition number and described first for the website that the client is locally stored
When version number is identical, the info web of the webpage is obtained from the website that the client is locally stored;Dynamic renders
The info web, obtain and show the mode of the webpage so that realize to belonging to the website based on client local cache
The access of the webpage of the website, effectively to realize the purpose accelerated web access speeds, reduce network traffics.
Fig. 4 is a kind of structural representation for web access mechanisms that the embodiment of the present application provides.
A kind of web access mechanisms as shown in Figure 4 are applied to client, and the device includes:
Request transmitting unit 41, for sending web access requests to service end;
Configuration information receiving unit 42, match somebody with somebody confidence for receiving the corresponding with the web access requests of service end return
Breath, the configuration information include the first configuration information, and it is described that first configuration information indicates that the service end is locally stored
The first version number for the website belonging to webpage that web access requests are asked;
Info web acquiring unit 43, for it is determined that the second edition number for the website that the client is locally stored
When identical with the first version number, the webpage letter of the webpage is obtained from the website that the client is locally stored
Breath;
Dynamic rendering unit 44, for dynamically rendering the info web, obtain and show the webpage.
The embodiment of the present application provides a kind of web access mechanisms, applied to client, by sending web page access to service end
Request;The configuration information corresponding with the web access requests that service end returns is received, the configuration information is matched somebody with somebody including first
Confidence ceases, and first configuration information indicates the webpage institute that the web access requests that the service end is locally stored are asked
The first version number of the website of category;It is determined that the second edition number and described first for the website that the client is locally stored
When version number is identical, the info web of the webpage is obtained from the website that the client is locally stored;Dynamic renders
The info web, obtain and show the mode of the webpage so that realize to belonging to the website based on client local cache
The access of the webpage of the website, effectively to realize the purpose accelerated web access speeds, reduce network traffics.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part
It is bright.
It the above is only the preferred embodiment of the application, make skilled artisans appreciate that or realizing the application.It is right
A variety of modifications of these embodiments will be apparent to one skilled in the art, as defined herein general former
Reason can be realized in other embodiments in the case where not departing from spirit herein or scope.Therefore, the application will not
Be intended to be limited to the embodiments shown herein, and be to fit to it is consistent with principles disclosed herein and features of novelty most
Wide scope.
Claims (10)
1. a kind of web access methods, it is characterised in that applied to client, this method includes:
Web access requests are sent to service end;
The configuration information corresponding with the web access requests that service end returns is received, the configuration information includes the first configuration
Information, first configuration information are indicated belonging to the webpage that the web access requests that the service end is locally stored are asked
Website first version number;
When it is determined that the second edition number for the website that the client is locally stored is identical with the first version number, from institute
State the info web that the webpage is obtained in the website that client is locally stored;
Dynamic renders the info web, obtains and shows the webpage.
2. according to the method for claim 1, it is characterised in that it is determined that the website that the client is locally stored
When the second edition number differs with the first version number, this method also includes:
The web access requests for carrying label information are sent to the service end, the label information indicates the service end
Return to the info web for the webpage that the service end is locally stored.
3. according to the method for claim 1, it is characterised in that described from the website that the client is locally stored
The info web of the webpage is obtained, including:
Determine whether to be stored with the info web of the webpage in the website that the client is locally stored;
If so, the info web of the webpage is obtained from the website that the client is locally stored;
If it is not, the web access requests for carrying label information are sent to the service end, described in the label information instruction
Service end returns to the info web for the webpage that the service end is locally stored.
4. according to the method for claim 1, it is characterised in that, should before the transmission web access requests to service end
Method also includes:
Determine whether the client is locally stored with the website belonging to the webpage that web access requests are asked;
If it is not, the web access requests for carrying label information are sent to the service end, described in the label information instruction
Service end returns to the info web for the webpage that the service end is locally stored;
It is described to send web access requests to service end, including:If it is determined that the web page access has been locally stored in the client
Website belonging to the asked webpage of request, the web access requests are sent to service end.
5. according to the method described in claim 2-4 any one, it is characterised in that carry mark being sent to the service end
After the web access requests of information, this method also includes:
Receive the info web for the webpage that the service end that the service end returns is locally stored;
Verify whether the info web for the webpage that the service end received returns is legal;
If so, the info web of the webpage returned using the service end updates the net that the client is locally stored
Stand;
If it is not, the web access requests for carrying label information are sent to the service end again.
6. according to the method for claim 5, it is characterised in that the configuration information also includes the second configuration information, described
Second configuration information includes the service end using default AES, the webpage that the service end is locally stored
The first obtained encryption information is encrypted in info web,
Whether the info web of the webpage verified the service end received and returned is legal, including:
It is encrypted to obtain using the info web of the AES, the webpage for returning to the service end received
Second encryption information;
Compare first encryption information and whether second encryption information is identical;
If it is not, determine that the info web for the webpage that the service end received returns is illegal;
If so, determine that the info web for the webpage that the service end received returns is legal.
7. according to the method for claim 6, it is characterised in that it is determined that the website that the client is locally stored
The second edition number differs with the first version number, or, determine that the client is not locally stored with web access requests
During website belonging to the webpage asked,
The info web of the webpage returned using the service end updates the net that the client is locally stored
Stand, including:
The website that the client is locally stored replaces with the info web for the webpage that the service end returns.
8. according to the method for claim 7, it is characterised in that the info web of the webpage includes the webpage of the webpage
Logical message and for being rendered to the webpage logical message to obtain the webpage spatial cue of the webpage,
It is determined that be not stored with the info web of the webpage in the website that the client is locally stored, it is included in determination
The target information of the webpage is not stored with the website that the client is locally stored, the target information is the net
Page webpage logical message or the webpage webpage spatial cue when,
Described that the web access requests for carrying label information are sent to the service end, the label information indicates the clothes
Business end returns to the info web for the webpage that the service end is locally stored, including:
The web access requests for carrying the label information for being provided with target information attribute are sent to the service end, it is described to set
The label information for being equipped with target information attribute indicates that the service end returns to the mesh for the webpage that the service end is locally stored
Mark information.
9. according to the method for claim 8, it is characterised in that the net of the webpage returned using the service end
Page information updates the website that the client is locally stored, including:
The target information for the webpage that the service end is returned is stored in the website being locally stored to the client.
10. a kind of web access mechanisms, it is characterised in that applied to client, the device includes:
Request transmitting unit, for sending web access requests to service end;
Configuration information receiving unit, for receiving the configuration information corresponding with the web access requests of service end return, institute
Stating configuration information includes the first configuration information, and first configuration information indicates that the webpage that the service end is locally stored is visited
Ask the first version number for asking the website belonging to asked webpage;
Info web acquiring unit, for it is determined that the website that the client is locally stored the second edition number with it is described
When first version number is identical, the info web of the webpage is obtained from the website that the client is locally stored;
Dynamic rendering unit, for dynamically rendering the info web, obtain and show the webpage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710546703.8A CN107357876A (en) | 2017-07-06 | 2017-07-06 | A kind of web access methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710546703.8A CN107357876A (en) | 2017-07-06 | 2017-07-06 | A kind of web access methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107357876A true CN107357876A (en) | 2017-11-17 |
Family
ID=60292766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710546703.8A Pending CN107357876A (en) | 2017-07-06 | 2017-07-06 | A kind of web access methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107357876A (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060117257A1 (en) * | 2004-11-30 | 2006-06-01 | International Business Machines Corporation | System and method for processing JavaScript resource files |
CN102456035A (en) * | 2010-10-28 | 2012-05-16 | 金蝶软件(中国)有限公司 | Webpage resource cache control method, device and system |
CN102480397A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Method and equipment for accessing internet pages |
CN102647481A (en) * | 2012-03-31 | 2012-08-22 | 奇智软件(北京)有限公司 | Device and method for accessing preset network address |
CN102882974A (en) * | 2012-10-15 | 2013-01-16 | 焦点科技股份有限公司 | Method for saving website access resource by website identification version number |
CN103744845A (en) * | 2013-03-01 | 2014-04-23 | 王新 | Method and system for WEB platform data caching |
CN104657499A (en) * | 2015-03-11 | 2015-05-27 | 网易(杭州)网络有限公司 | Webpage loading method and device of client-side APP (Application) |
CN104811394A (en) * | 2015-04-21 | 2015-07-29 | 深圳市出众网络有限公司 | Method and system for saving traffic for accessing server |
CN104965848A (en) * | 2015-02-12 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Front-end resource loading method and apparatus |
CN106202179A (en) * | 2016-06-27 | 2016-12-07 | 北京奇虎科技有限公司 | A kind of page loading method and device |
CN106682176A (en) * | 2016-12-29 | 2017-05-17 | 北京五八信息技术有限公司 | Page loading method, equipment and device |
CN106776784A (en) * | 2016-11-24 | 2017-05-31 | 福建星网智慧科技股份有限公司 | A kind of method that WEB page is quickly loaded |
CN106776761A (en) * | 2016-11-18 | 2017-05-31 | 武汉斗鱼网络科技有限公司 | A kind of mobile browser renders the method and device of webpage |
-
2017
- 2017-07-06 CN CN201710546703.8A patent/CN107357876A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060117257A1 (en) * | 2004-11-30 | 2006-06-01 | International Business Machines Corporation | System and method for processing JavaScript resource files |
CN102456035A (en) * | 2010-10-28 | 2012-05-16 | 金蝶软件(中国)有限公司 | Webpage resource cache control method, device and system |
CN102480397A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Method and equipment for accessing internet pages |
CN102647481A (en) * | 2012-03-31 | 2012-08-22 | 奇智软件(北京)有限公司 | Device and method for accessing preset network address |
CN102882974A (en) * | 2012-10-15 | 2013-01-16 | 焦点科技股份有限公司 | Method for saving website access resource by website identification version number |
CN103744845A (en) * | 2013-03-01 | 2014-04-23 | 王新 | Method and system for WEB platform data caching |
CN104965848A (en) * | 2015-02-12 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Front-end resource loading method and apparatus |
CN104657499A (en) * | 2015-03-11 | 2015-05-27 | 网易(杭州)网络有限公司 | Webpage loading method and device of client-side APP (Application) |
CN104811394A (en) * | 2015-04-21 | 2015-07-29 | 深圳市出众网络有限公司 | Method and system for saving traffic for accessing server |
CN106202179A (en) * | 2016-06-27 | 2016-12-07 | 北京奇虎科技有限公司 | A kind of page loading method and device |
CN106776761A (en) * | 2016-11-18 | 2017-05-31 | 武汉斗鱼网络科技有限公司 | A kind of mobile browser renders the method and device of webpage |
CN106776784A (en) * | 2016-11-24 | 2017-05-31 | 福建星网智慧科技股份有限公司 | A kind of method that WEB page is quickly loaded |
CN106682176A (en) * | 2016-12-29 | 2017-05-17 | 北京五八信息技术有限公司 | Page loading method, equipment and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106487742B (en) | Method and device for verifying source address validity | |
US8880651B2 (en) | Method and system for efficient download of data package | |
CN107770140A (en) | A kind of single sign-on authentication method and device | |
CN106170771A (en) | For managing the method for notice, system and the medium pointing to the multiple application being installed on subscriber equipment | |
CN106487743A (en) | Method and apparatus for supporting multi-user's cluster authentication | |
CN103780396B (en) | Token acquisition methods and device | |
RU2012155862A (en) | ONLINE SURVEILLANCE CONTROLS USING EXTENDED SIGNS OF THE CATALOG | |
CN105022939B (en) | Information Authentication method and device | |
CN105024975A (en) | Account number login method, device and system | |
CN109474600B (en) | Account binding method, system, device and equipment | |
CN108881228A (en) | Cloud registration activation method, device, equipment and storage medium | |
CN107463613A (en) | Page loading method and device | |
CN109040024A (en) | A kind of resource access right control method and system | |
CN106878370A (en) | The update method and equipment of a kind of local cache | |
CN109802919A (en) | A kind of web page access interception method and device | |
CN105893607A (en) | Page data management method, device and data server | |
CN112688983A (en) | Proxy right management device, terminal device and storage medium | |
CN106446075A (en) | Page request processing method and apparatus | |
CN108243265A (en) | A kind of dns resolution processing method and processing device | |
CN101836213B (en) | Protection against unauthorized copying of digital media content | |
CN106325936A (en) | Rapid access method and rapid access system for application program | |
CN105978859A (en) | Message processing method and message processing device | |
JP2013522786A5 (en) | ||
CN113117339B (en) | Data processing method, device, server and storage medium | |
CN108055299A (en) | Portal page push method, network access server and portal certification system |
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: 20171117 |
|
RJ01 | Rejection of invention patent application after publication |