CN110674435A - Page access method, server, terminal, electronic equipment and readable storage medium - Google Patents

Page access method, server, terminal, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110674435A
CN110674435A CN201910926219.7A CN201910926219A CN110674435A CN 110674435 A CN110674435 A CN 110674435A CN 201910926219 A CN201910926219 A CN 201910926219A CN 110674435 A CN110674435 A CN 110674435A
Authority
CN
China
Prior art keywords
network information
proxy server
user terminal
resource path
resource
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
CN201910926219.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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910926219.7A priority Critical patent/CN110674435A/en
Publication of CN110674435A publication Critical patent/CN110674435A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The scheme provided by the disclosure is that a proxy server is arranged between a user terminal and a target server, the proxy server can update a resource path based on an update instruction sent by the user terminal side, so that interaction can be performed with the target server according to the new resource path to acquire resources on the target server side, and the resources received based on the mode are not directly acquired from a cache by the target server, so that the latest network resources can be fed back to the user terminal through the proxy server after the content in the target server is modified.

Description

Page access method, server, terminal, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to internet technologies, and in particular, to a page access method, a server, a terminal, an electronic device, and a readable storage medium.
Background
Currently, many terminal devices are able to access web pages, which may be opened, for example, by some clients. Before the webpages are online, the webpages need to be tested so that the terminal equipment can access the webpages with normal functions.
In the prior art, in the process of testing a web page, a code corresponding to the web page may need to be adjusted, so as to update the web page. And then using the terminal equipment to access the webpage and checking whether the updated webpage achieves the expected effect.
However, in the scheme in the prior art, the webpage code on the server side is often updated, and when the terminal device accesses the webpage again, the webpage still opened by the terminal device is the old version webpage, which causes the problem of test interference in the prior art.
Disclosure of Invention
The disclosure provides a page access method, a server, a terminal, an electronic device and a readable storage medium, so as to solve the problem that in the prior art, when a webpage code at the server side is updated and a terminal device accesses the webpage again, the webpage still opened by the terminal device is an old version webpage.
A first aspect of the present disclosure provides a page access method, including:
accessing a target server according to an access request sent by a user terminal, and receiving first network information fed back by the target server;
adding a script file into the first network information to obtain second network information, and feeding the second network information back to the user terminal so that the user terminal can display a network page comprising an operable control according to the second network information; the script file is used for adding an operable control in a network page corresponding to the second network information;
receiving an updating instruction sent by the user terminal, and updating a resource path contained in the second network information according to the updating instruction; wherein the updating instruction is generated by the user terminal in response to the operation acting on the operable control;
and accessing a target server according to the updated resource path, receiving the resource determined by the target server according to the updated resource path, and feeding back the resource to the user terminal.
A second aspect of the present disclosure is to provide a page access method, including:
sending an access request to a proxy server so that the proxy server acquires first network information according to the access request;
receiving second network information sent by the proxy server, wherein the second network information is obtained by adding a script file in the first network information by the proxy server;
displaying a network page comprising an operable control according to the second network information;
responding to the operation acted on the operable control, and sending an updating instruction to the proxy server so that the proxy server updates the resource path contained in the second network information according to the updating instruction;
and receiving the resource fed back by the proxy server, wherein the resource is acquired by the proxy server according to the updated resource path.
A third aspect of the present disclosure is to provide a proxy server, including:
the interaction module is used for accessing a target server according to an access request sent by a user terminal and receiving first network information fed back by the target server;
the adding module is used for adding a script file in the first network information to obtain second network information and feeding the second network information back to the user terminal so that the user terminal can display a network page comprising an operable control according to the second network information; the script file is used for adding an operable control in a network page corresponding to the second network information;
an update module, configured to receive an update instruction sent by the user terminal, and update a resource path included in the second network information according to the update instruction; wherein the updating instruction is generated by the user terminal in response to the operation acting on the operable control;
and the interaction module is also used for accessing a target server according to the updated resource path, receiving the resource determined by the target server according to the updated resource path and feeding back the resource to the user terminal.
A fourth aspect of the present disclosure is to provide a user terminal, including:
the sending module is used for sending an access request to a proxy server so that the proxy server can obtain first network information according to the access request;
a receiving module, configured to receive second network information sent by the proxy server, where the second network information is obtained by adding a script file to the first network information by the proxy server;
the display module is used for displaying a network page comprising an operable control according to the second network information;
the sending module is configured to send an update instruction to the proxy server in response to an operation acting on the operable control, so that the proxy server updates a resource path included in the second network information according to the update instruction;
the receiving module is further configured to receive a resource fed back by the proxy server, where the resource is obtained by the proxy server according to the updated resource path.
A fifth aspect of the present disclosure is to provide an electronic apparatus, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the page access method as described in the first or second aspect above.
A sixth aspect of the present disclosure is to provide a computer-readable storage medium having stored thereon a computer program which is executed by a processor to implement the page access method as described in the above first aspect.
The page access method, the server, the terminal, the electronic equipment and the readable storage medium provided by the disclosure have the technical effects that:
the page access method, the server, the terminal, the electronic device and the readable storage medium provided by the disclosure comprise the following steps: accessing a target server according to an access request sent by a user terminal, and receiving first network information fed back by the target server; adding a script file into the first network information to obtain second network information, and feeding the second network information back to the user terminal so that the user terminal can display a network page comprising an operable control according to the second network information; the script file is used for adding an operable control in a network page corresponding to the second network information; receiving an updating instruction sent by the user terminal, and updating a resource path contained in the second network information according to the updating instruction; the updating instruction is generated by the user terminal in response to the operation acting on the operable control; and accessing the target server according to the updated resource path, receiving the resource determined by the target server according to the updated resource path, and feeding back the resource to the user terminal. According to the page access method, the server, the terminal, the electronic device and the readable storage medium, the proxy server is arranged between the user terminal and the target server, the proxy server can update the resource path based on the update instruction sent by the user terminal side, so that the resource on the target server side can be obtained by interacting with the target server according to the new resource path, and the received resource is not directly obtained from the cache by the target server, so that the latest network resource can be fed back to the user terminal through the proxy server after the content in the target server is modified.
Drawings
FIG. 1 is a diagram illustrating a system architecture in accordance with an exemplary embodiment;
FIG. 2 is a system block diagram illustrating an exemplary embodiment of the present invention;
FIG. 3 is a flowchart illustrating a page access method according to an exemplary embodiment of the invention;
FIG. 4 is a flowchart illustrating a page access method according to another exemplary embodiment of the present invention;
FIG. 5 is a flowchart illustrating a page access method according to yet another exemplary embodiment of the present invention;
FIGS. 5A and 5B are schematic diagrams of a user interface according to an exemplary embodiment of the present invention;
FIG. 6 is a flowchart illustrating a page access method according to yet another exemplary embodiment of the present invention;
FIG. 7 is a block diagram illustrating a proxy server in accordance with an exemplary embodiment of the present invention;
fig. 8 is a block diagram illustrating a proxy server according to another exemplary embodiment of the present invention;
fig. 9 is a block diagram illustrating a user terminal according to an exemplary embodiment of the present invention;
fig. 10 is a block diagram illustrating a user terminal according to another exemplary embodiment of the present invention;
fig. 11 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
FIG. 1 is a diagram illustrating a system architecture in accordance with an exemplary embodiment.
As shown in fig. 1, in the prior art scheme, a user terminal 11 can be operated by a user to access a target server 12. For example, the user terminal 11 may send an access request to the target server 12, thereby causing the target server 12 to feed back network data, such as data related to a web page.
In order to reduce the calculation amount of the target server, network data is usually stored in the cache of the target server, and when the user terminal requests corresponding data, the target server may directly obtain the corresponding data from the cache and feed the corresponding data back to the user terminal. For example, when the target server receives a request for web page a for the first time, it may generate data corresponding to web page a according to built-in logic and feed it back to the user terminal. The target server may also store the data corresponding to web page a in a cache. When the user terminal a requests the target server for the web page a again, or another user terminal B also requests the web page a from the target server, the target server may directly feed back the data in the cache to the user terminal side.
If the logic in the target server is updated, for example, the picture displayed in the web page is replaced or the layout in the web page is adjusted, when the user terminal accesses the web page a again, the server still feeds back the old web page data to the user terminal side until the target server clears the cache by a preset time or is restarted, and then the new web page data cannot be fed back to the user terminal. This results in the user terminal not being able to receive new network data in time after the target server-side logic is updated. Especially, in the test process, the logic of the target server side may be frequently updated, and if the user terminal used for the test displays old network data for a long time, the test result may be interfered.
Fig. 2 is a system configuration diagram illustrating an exemplary embodiment of the present invention.
As shown in fig. 2, the embodiment of the present invention improves the system, a proxy server 13 is added between a user terminal 11 and a target server 12, the user terminal 11 accesses the target server 12 through the proxy server 13, and acquires network data determined based on current logic in the target server 12 through interaction between the proxy server 13 and the target server 12.
The system architecture may include at least one user terminal 11, and a network may be included between the proxy server 13 and the target server 12, and between the proxy server 13 and the user terminal 11. Networks are used to provide a medium for communication links between various devices. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the user terminal to interact with the server through the network, specifically to directly interact with the proxy server, indirectly interact with the target server, to receive or send messages, and the like. Various communication client applications can be installed on the user terminal, such as a browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software and the like.
The user terminal may be hardware or software. The target server may be a server providing various services, such as a background server providing support for information displayed on the user terminal device.
The proxy server and the target server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
Fig. 3 is a flowchart illustrating a page access method according to an exemplary embodiment of the present invention.
The page access method provided by this embodiment may be applied to the system structure shown in fig. 2, and may be specifically executed by the proxy server in the system structure.
As shown in fig. 3, the page access method provided in this embodiment includes:
step 301, accessing a target server according to an access request sent by a user terminal, and receiving first network information fed back by the target server.
Wherein the user terminal may be pre-configured to be able to connect with the proxy server. For example, a proxy server may be created locally, and in the network setting of the user terminal, information such as a port, an address, and the like may be set as corresponding information of the proxy server.
Specifically, after the setting is completed, the request sent out by the user terminal can pass through the proxy server.
Further, the user may operate the user terminal to send an access request to the proxy server. For example, the user may click on a link to cause the user terminal to send a request for accessing a web page corresponding to the link to the outside.
In practical applications, the access request may include an access address, for example, the access address is www.abc.com, and after receiving the access request, the proxy server may parse the access request, extract a website included in the access request, and then access the target server according to the website.
The proxy server may establish a connection with the target server according to the access address, and may specifically determine the target server according to the access address, so as to establish a connection therewith. The access address may also include a specific address corresponding to a web page, for example www.abc.1.com, and the proxy server may access the address to inform the target server of the location of the data that the target server wishes to obtain.
Specifically, the proxy server may further send an access request to the target server, and after receiving the access request sent by the proxy server, the target server may obtain corresponding first network information and feed the first network information back to the proxy server.
Further, the first network information includes information required when the user terminal loads the page. For example, when the user terminal accesses a web page, the first network information may include a path of resources required when the page is loaded.
Step 302, adding a script file to the first network information to obtain second network information, and feeding the second network information back to the user terminal, so that the user terminal displays a network page including an operable control according to the second network information.
In actual application, the proxy server may further add a script file to the first network information to obtain the second network information. The script file is used for adding an operable control in the network page corresponding to the second network information.
The script file can be stored in the proxy server in advance, and after receiving the information fed back by the target server, the script file can be embedded in the information. The second network information added with the script file may be transmitted to the user terminal.
Specifically, the user terminal may load data according to the second network information, and display an operable control, such as a button, in the interface according to the script file in the information.
Further, if the scheme is applied to the html page testing process, the proxy server may further analyze the first network information to determine whether the first network information is an html page, if so, step 302 is executed, otherwise, the received information may be directly fed back to the user terminal.
In practical application, if the android system is loaded on the user terminal, the user terminal can load an html page through WebView, wherein the WebView is a control in android and is used for displaying a page.
The user terminal is divided into two parts when loading the page, firstly sends a request outwards so as to receive the second network information, then sends the request outwards according to the resource path contained in the second network information so as to obtain the resources, and finally synthesizes the displayed page according to the resource group. The resources may be, for example, js, css, pictures, etc.
Step 303, receiving an update instruction sent by the user terminal, and updating the resource path included in the second network information according to the update instruction.
Wherein, the updating instruction is generated by the user terminal in response to the operation acting on the operable control.
Specifically, for example, after the user terminal finishes loading the web page, the user adjusts the logic of the target server side, and at this time, the web page of the user terminal side needs to be refreshed, so as to view the updated effect. That is, the user terminal may send a request to the proxy server, and the proxy server further sends a request to the target server, and the network information corresponding to the request may be stored in the memory of the target server, and then the network information may be fed back to the user terminal through the proxy server, that is, the user terminal may not load the updated page in time.
Therefore, the script file is added in the first network information, so that the user terminal side can display the operable control. The operable control is used for updating the data content loaded on the terminal side.
Further, the user can click the operable control to trigger the user terminal to send an update instruction to the proxy server. For example, after detecting that the user operates the operable control, the user terminal may generate an update instruction and send the update instruction to the proxy server.
In one embodiment, the proxy server may store the second network information, and may further store an identifier corresponding to the second network information. The updating instruction can also have a page identifier, the identifier of the current page can be obtained through the script file, and an updating instruction is generated according to the identifier. The proxy server may determine second network information associated with the page based on the identification and update a resource path included in the second network information.
In another embodiment, the resource path included in the second network information may be included in the update instruction. The user terminal may generate the update instruction according to the resource path included in the second network information received before. For example, when the user terminal detects that the user operates the operable control, a resource path corresponding to a resource in the current page may be acquired, and an update instruction may be generated. Because the current page is formed according to the loading of the second network information, the resource path corresponding to the resource in the current page is the same as the resource path contained in the second network information.
Wherein, the proxy server can update the resource path according to the update instruction. Specifically, a version number may be added to the resource path, for example, a version number may be added to the tail of the resource path.
Specifically, if the resource path has a version number, the proxy server may further update the version number. For example, if the path of one resource currently loaded by the user terminal is a, the proxy server may add 1 to the back of a as the updated resource path. For another example, if the user terminal sends an update command to the outside, the current resource path may be a-1, and then it may be updated to a-2.
And 304, accessing the target server according to the updated resource path, receiving the resource determined by the target server according to the updated resource path, and feeding back the resource to the user terminal.
Further, the proxy server may access the target server according to the updated resource path.
In practical application, assuming that network data corresponding to the resource path A-1 exists in the cache of the target server, when the target server receives the resource path A-2, the target server is triggered to determine resources corresponding to the resource path A-2 again according to built-in logic due to the fact that the network data is different from the resource path A-1, and then the resources are fed back to the proxy server. If the logic in the target server is updated or the resource is updated, the target server can feed back to the proxy server according to the current logic or resource.
After receiving the resources fed back by the target server, the proxy server can send the resources to the user terminal, so that the user terminal can receive the latest network resources, and further, a network page can be loaded according to the latest network resources. Especially, in the testing process, if the user modifies the content of the target server side, based on the method provided by the embodiment, the user terminal can receive the resource after the content modification in time.
The method provided by the embodiment is used for accessing the page, and is executed by a device provided with the method provided by the embodiment, and the device is generally implemented in a hardware and/or software manner.
The method provided by the embodiment can be applied to various page access scenes, for example, a scene that a tester uses the user terminal to access the page in the target server in the test process, and for example, a scene that a network user uses the user terminal to access the page in the target server after a webpage is online.
The page access method provided by the embodiment comprises the following steps: accessing a target server according to an access request sent by a user terminal, and receiving first network information fed back by the target server; adding a script file into the first network information to obtain second network information, and feeding the second network information back to the user terminal so that the user terminal can display a network page comprising an operable control according to the second network information; the script file is used for adding an operable control in a network page corresponding to the second network information; receiving an updating instruction sent by the user terminal, and updating a resource path contained in the second network information according to the updating instruction; the updating instruction is generated by the user terminal in response to the operation acting on the operable control; and accessing the target server according to the updated resource path, receiving the resource determined by the target server according to the updated resource path, and feeding back the resource to the user terminal. In the page access method provided by this embodiment, the proxy server is arranged between the user terminal and the target server, and the proxy server can update the resource path based on the update instruction sent by the user terminal, so that interaction with the target server can be performed according to the new resource path to obtain the resource on the target server side.
Fig. 4 is a flowchart illustrating a page access method according to another exemplary embodiment of the present invention.
The page access method provided by this embodiment may be applied to the system structure shown in fig. 2, and may be specifically executed by the proxy server in the system structure.
As shown in fig. 4, the page access method provided in this embodiment includes:
step 401, receiving an access request sent by a user terminal, where the access request includes an access address.
Wherein, the user can operate the user terminal to send the access request to the proxy server. For example, when the user operates the user terminal to open a link, the user terminal may generate an instruction of an access request and transmit the instruction to the proxy server. The access request may include an address that is specifically to be accessed.
Specifically, after receiving the access request, the proxy server may parse the access request and extract the access address included in the access request.
Step 402, accessing the target server according to the access address, and receiving the first network information fed back by the target server.
Further, the proxy server may access a target server according to the access address, where the target server specifically refers to a server corresponding to the access address. For example, if the user terminal wishes to open a page of website a, the proxy server may access the background server of website a based on the access request.
In actual application, the proxy server may also send an access request to the target server, so that the target server may feed back the first network information according to the access request. For example, the proxy server may send an access request including an access address to the routing device, the routing device routes the request to the target server, and the target server may feed back the first network information through the routing device after receiving the request.
Step 403, determining whether the type corresponding to the first network information is an html page.
The method provided by the embodiment is directed to html page requests.
Specifically, the proxy server may analyze the first network information fed back by the target server, and analyze whether the type corresponding to the first network information is an html page. For example, the type identifier included in the first network information may be parsed, and a field included in the first network information may also be parsed, to determine whether the field matches the network information of the html page type, and if so, the type corresponding to the first network information is considered to be the html page. Otherwise, the type corresponding to the first network information is not considered to be the html page.
Further, when testing the webview page, the loading of the old page due to the cache is particularly serious. Therefore, the scheme provided by the embodiment can be used for testing the webview page, and it should be noted that the scheme provided by the embodiment can also be set in other scenarios, which is only described as an example here and is not a limitation to the scheme. This step may be arranged to selectively update the resource paths in order to avoid interference to other types of data requested by the user terminal during the test.
If the determination result in step 403 is yes, step 404 may be executed, otherwise, the received first network information may be directly fed back to the user terminal.
Step 404, adding a script file in the first network information.
Step 404 is similar to the manner of adding the script to the first network information in step 302, and is not described again.
After step 404, the second network information may be directly obtained and sent to the user terminal side, or step 405 and step 406 may be continuously executed, where the second information includes a script file and a new resource path. If the steps 405 and 406 are executed continuously, the execution timing of the steps 404 and 405 is not limited.
Step 405, obtaining a resource path included in the first network information, and generating a version number corresponding to the resource path.
The proxy server may further obtain a resource path included in the first network information, where the resource may include a js file (a Javascript script is put into a file and a text script is named by a js extension), a css file (a css code is put into a separate file and a file is named by a css extension), a picture resource file, and the like.
Specifically, the proxy server may generate version numbers corresponding to resource paths, for example, version numbers 1 corresponding to all resource paths, or version numbers corresponding to different resource paths, for example, a path version number corresponding to a js file may be js1, and a path version number corresponding to a css file may be css1, etc.
And step 406, determining a new resource path according to the resource path and the version number, and feeding back second network information including the script file and the new resource path to the user terminal.
Further, the proxy server may generate a new resource path in combination with the resource path itself and the determined version number. For example, version number 1 may be added after each resource path, and its corresponding version number may also be added after the resource path, for example, js1 may be added after the resource path corresponding to the js file.
In actual application, the proxy server may add a script file to the first network information, and may update the resource path in the first network information to a new resource path, thereby obtaining the second network information. The proxy server may feed back the second network information to the user terminal, so that the user terminal may load the page based on the second network information. Specifically, the user terminal displays a network page comprising an operable control according to the second network information; and the script file is used for adding an operable control in the network page corresponding to the second network information.
After step 406, the method may further include:
step 407, receiving a loading request including a new resource path sent by the user terminal.
And step 408, accessing the target server according to the new resource path, receiving the first resource corresponding to the new resource path fed back by the target server, and feeding back the first resource to the user terminal.
Specifically, the user terminal may load the page through the proxy server. After receiving the second network information, it may extract a new resource path included therein, and generate a loading request according to the new resource path.
Further, the user terminal may send the loading request to the outside, so that the proxy server can receive the loading request. The load request includes a new resource path.
In actual application, the proxy server may interact with the target server according to the new resource path, so that the target server obtains the first resource corresponding to the new resource path and feeds back the first resource to the proxy server. The proxy server can feed back the first resource to the user terminal, so that the user terminal loads the page.
It is assumed that the user performs an operation on the user terminal side, refreshes a currently loaded page, and may trigger the user terminal to send a load request to the proxy server again, where the load request includes a new resource path to which the version number 1 is added, for example. At this time, the proxy server may feed back the new resource path to the target server, and since the target server has fed back the first resource according to the new resource path to which the version number 1 is added before, the cache may further store the first resource corresponding to the new resource path, the proxy server may directly obtain corresponding data from the cache and feed back the corresponding data to the proxy server.
Specifically, if the user modifies the content in the target server and desires that the user terminal can load a new page, the user terminal may operate the operable control displayed in the page, thereby sending a update instruction to the proxy server.
Further, after step 406 or 406, step 409 may also be included. Step 409 may be set after the user terminal receives the second network information, or after it has loaded the complete page.
Step 409, receiving an update instruction including a new resource path sent by the user terminal.
When the user terminal is actually applied, the updating instruction is generated by the user terminal in response to the operation acting on the operable control. For example, when the operable control is a button, the user may click on the operable control, thereby triggering the user terminal to generate an update instruction and send the update instruction to the proxy server.
The update instruction includes a new resource path, that is, a new resource path corresponding to a resource currently loaded by the terminal. The proxy server may parse the update instructions and extract a new resource path included therein, which may include a version number.
Step 410, updating the version number in the new resource path to obtain the updated resource path.
The proxy server may update the version number in the new resource path to obtain an updated resource path. For example, 1 is superimposed on the current version number.
Step 411, accessing the target server according to the updated resource path, receiving the resource determined by the target server according to the updated resource path, and feeding back the resource to the user terminal.
Thereafter, the proxy server may access the target server according to the updated resource path, thereby obtaining the resource according to the current logic in the target server and feeding back the resource to the user terminal.
If the user continues to operate the operable control, the user terminal will also send an update instruction to the proxy server, and may continue to execute step 409.
When the proxy server feeds back the resources to the user terminal, the updated resource path corresponding to the resources can be fed back at the same time. If the user operates the user terminal to refresh the page, step 407 may be executed, but the resource path included in the loading request at this time is a path corresponding to the currently loaded resource in the user terminal, that is, an updated resource path.
Fig. 5 is a flowchart illustrating a page access method according to still another exemplary embodiment of the present invention.
The page access method provided by this embodiment may be applied to the system structure shown in fig. 2, and may be specifically executed by the user terminal in the system structure.
As shown in fig. 5, the page access method provided in this embodiment includes:
step 501, sending an access request to a proxy server, so that the proxy server obtains first network information according to the access request.
Wherein the user terminal may be pre-configured to be able to connect with the proxy server. For example, a proxy server may be created locally, and in the network setting of the user terminal, information such as a port, an address, and the like may be set as corresponding information of the proxy server.
Specifically, after the setting is completed, the request sent out by the user terminal can pass through the proxy server.
Further, the user may operate the user terminal to send an access request to the proxy server. For example, the user may click on a link to cause the user terminal to send a request for accessing a web page corresponding to the link to the outside.
In practical application, the access request may include an access address, for example, the access address is www.abc.com, and after receiving the access request, the proxy server may parse the access request, extract a website included in the access request, access the target server according to the website, and receive first network information fed back by the target server.
Step 502, receiving second network information sent by the proxy server, and displaying a network page including an operable control according to the second network information; the second network information is obtained by adding a script file in the first network information by the proxy server.
After receiving the first network information, the proxy server may process the first network information to obtain second network information, and feed the second network information back to the user terminal.
For example, a script file may be added to the first network information to obtain the second network information. The script file is used for adding an operable control in the network page corresponding to the second network information.
The script file can be stored in the proxy server in advance, and after receiving the information fed back by the target server, the script file can be embedded in the information. The second network information added with the script file may be transmitted to the user terminal.
Specifically, the user terminal may load data according to the second network information, so as to display a network page, and the user terminal may further display an operable control, such as a button, in the page according to the script file in the information.
Fig. 5A and 5B are schematic diagrams of a user interface according to an exemplary embodiment of the present invention.
As shown in fig. 5A, a link address may be displayed in the user terminal, and the user may operate the user terminal to display a page corresponding to the link address. For example, the user may click on the connection address.
As shown in fig. 5B, through the interaction between the user terminal and the proxy server, after the user clicks the link address, the user terminal may load a page and display the page on the display, and an operable control 51 is also displayed on the page.
Further, if the scheme is applied to the html page testing process, the proxy server can analyze the first network information to determine whether the first network information is an html page, if so, the second network information is fed back to the user terminal, and otherwise, the received first network information can be directly fed back to the user terminal.
In actual application, a user terminal can load an html page through WebView, wherein the WebView is a control in android and is used for displaying a page.
The user terminal is divided into two parts when loading the page, firstly sends a request outwards so as to receive the second network information, then sends the request outwards according to the resource path contained in the second network information so as to obtain the resources, and finally synthesizes the displayed page according to the resource group. The resources may be, for example, js, css, pictures, etc.
Step 503, responding to the operation acting on the operable control, sending an update instruction to the proxy server, so that the proxy server updates the resource path included in the second network information according to the update instruction.
Specifically, if the user adjusts the logic of the target server after the user terminal finishes loading the web page, at this time, the web page of the user terminal needs to be refreshed, so as to check the updated effect. That is, the user terminal may send a request to the proxy server, and the proxy server further sends a request to the target server, and the network information corresponding to the request may be stored in the memory of the target server, and then the network information may be fed back to the user terminal through the proxy server, that is, the user terminal may not load the updated page in time.
Therefore, the embodiment of the invention adds the script file in the first network information, so that the user terminal side can display an operable control.
Further, the user can click the operable control to trigger the user terminal to send an update instruction to the proxy server. For example, after detecting that the user operates the operable control, the user terminal may generate an update instruction and send the update instruction to the proxy server.
In one embodiment, the proxy server may store the second network information, and may further store an identifier corresponding to the second network information. The updating instruction can also have a page identifier, the identifier of the current page can be obtained through the script file, and an updating instruction is generated according to the identifier. The proxy server may determine second network information associated with the page based on the identification and update a resource path included in the second network information.
In another embodiment, the resource path included in the second network information may be included in the update instruction. The user terminal may generate the update instruction according to the resource path included in the second network information received before. For example, when the user terminal detects that the user operates the operable control, a resource path corresponding to a resource in the current page may be acquired, and an update instruction may be generated. Because the current page is formed according to the loading of the second network information, the resource path corresponding to the resource in the current page is the same as the resource path contained in the second network information.
Wherein, the proxy server can update the resource path according to the update instruction. Specifically, a version number may be added to the resource path, for example, a version number may be added to the tail of the resource path.
Specifically, if the resource path has a version number, the proxy server may further update the version number. For example, if the path of one resource currently loaded by the user terminal is a, the proxy server may add 1 to the back of a as the updated resource path. For another example, if the user terminal sends an update command to the outside, the current resource path may be a-1, and then it may be updated to a-2.
And 504, receiving the resource fed back by the proxy server, wherein the resource is acquired by the proxy server according to the updated resource path.
Further, the proxy server may access the target server according to the updated resource path.
In practical application, assuming that network data corresponding to the resource path A-1 exists in the cache of the target server, when the target server receives the resource path A-2, the target server is triggered to determine resources corresponding to the resource path A-2 again according to built-in logic due to the fact that the network data is different from the resource path A-1, and then the resources are fed back to the proxy server. If the logic in the target server is updated or the resource is updated, the target server can feed back to the proxy server according to the current logic or resource.
After receiving the resources fed back by the target server, the proxy server can send the resources to the user terminal, so that the user terminal can receive the latest network resources, and further, a network page can be loaded according to the latest network resources. Especially, in the testing process, if the user modifies the content of the target server side, based on the method provided by the embodiment, the user terminal can receive the resource after the content modification in time.
The method provided by the embodiment is used for accessing the page, and is executed by a device provided with the method provided by the embodiment, and the device is generally implemented in a hardware and/or software manner.
The page access method provided by the embodiment comprises the following steps: sending an access request to a proxy server so that the proxy server acquires first network information according to the access request; receiving second network information sent by the proxy server, wherein the second network information is obtained by adding a script file in the first network information by the proxy server; displaying a network page comprising an operable control according to the second network information; responding to the operation acted on the operable control, and sending an updating instruction to the proxy server so that the proxy server updates the resource path contained in the second network information according to the updating instruction; and receiving the resource fed back by the proxy server, wherein the resource is acquired by the proxy server according to the updated resource path. In the page access method provided by this embodiment, an operable control is added to a page loaded by a user terminal, so that a user can trigger the user terminal to send an update instruction to a proxy server by operating the operable control, so that the proxy server can update a resource path, and then obtain a new network resource according to the updated resource path, so that the user terminal can load the new network resource.
Fig. 6 is a flowchart illustrating a page access method according to still another exemplary embodiment of the present invention.
The page access method provided by this embodiment may be applied to the system structure shown in fig. 2, and may be specifically executed by the proxy server in the system structure.
As shown in fig. 6, the page access method provided in this embodiment includes:
step 601, receiving a configuration instruction, and configuring the network information into information of a proxy server according to the configuration instruction.
The user may locally start a proxy server, and the functions of the proxy server may be specifically implemented by software. And the information such as network port, IP address, etc. in the user terminal can be configured as the corresponding information of the proxy server, so that the request sent out by the user terminal is received by the proxy server.
Specifically, this step may be performed only once, and after the configuration is completed, the following process may be performed.
Step 602, sending an access request including an access address to the proxy server, so that the proxy server accesses the target server according to the access address, and receiving the first network information fed back by the target server.
Wherein, the user can operate the user terminal to send the access request to the proxy server. For example, when the user operates the user terminal to open a link, the user terminal may generate an instruction of an access request and transmit the instruction to the proxy server. The access request may include an address that is specifically to be accessed.
Specifically, after receiving the access request, the proxy server may parse the access request and extract the access address included in the access request.
Further, the proxy server may access a target server according to the access address, where the target server specifically refers to a server corresponding to the access address. For example, if the user terminal wishes to open a page of website a, the proxy server may access the background server of website a based on the access request.
In actual application, the proxy server may also send an access request to the target server, so that the target server may feed back the first network information according to the access request. For example, the proxy server may send an access request including an access address to the routing device, the routing device routes the request to the target server, and the target server may feed back the first network information through the routing device after receiving the request.
Step 603, receiving second network information sent by the proxy server, wherein the second network information is obtained by adding a script file and a new resource path in the first network information by the proxy server; and the new resource path is determined by the proxy server according to the generated version number and the resource path in the first network information.
The proxy server can add a script file in the first network information and can also change a resource path in the first network information.
The proxy server may further obtain a resource path included in the first network information, where the resource may include a js file (a Javascript script is put into a file and a text script is named by a js extension), a css file (a css code is put into a separate file and a file is named by a css extension), a picture resource file, and the like.
Specifically, the proxy server may generate version numbers corresponding to resource paths, for example, version numbers 1 corresponding to all resource paths, or version numbers corresponding to different resource paths, for example, a path version number corresponding to a js file may be js1, and a path version number corresponding to a css file may be css1, etc.
Further, the proxy server may generate a new resource path in combination with the resource path itself and the determined version number. For example, version number 1 may be added after each resource path, and its corresponding version number may also be added after the resource path, for example, js1 may be added after the resource path corresponding to the js file.
In actual application, the proxy server may add a script file to the first network information, and may update the resource path in the first network information to a new resource path, thereby obtaining the second network information. The proxy server may feed back the second network information to the user terminal, so that the user terminal can receive the second network information.
Step 604, sending a loading request to the proxy server according to the new resource path, so that the proxy server accesses the target server according to the new resource path, and receiving the first resource corresponding to the new resource path and fed back by the target server.
Step 605, receiving the first resource sent by the proxy server.
Specifically, the user terminal may load the page through the proxy server. After receiving the second network information, it may extract a new resource path included therein, and generate a loading request according to the new resource path.
Further, the user terminal may send the loading request to the outside, so that the proxy server can receive the loading request. The load request includes a new resource path.
In actual application, the proxy server may interact with the target server according to the new resource path, so that the target server obtains the first resource corresponding to the new resource path and feeds back the first resource to the proxy server. The proxy server can feed back the first resource to the user terminal, so that the user terminal loads the page.
And 606, displaying the network page comprising the operable control according to the first resource and the script file.
The user terminal can display the page according to the received first resource and display an operable control in the page according to the script file, so that a network page comprising the operable control is formed.
Specifically, it is assumed that a user operates on the user terminal side to refresh a currently loaded page, and the user terminal may be triggered to send a load request to the proxy server again, where the load request includes a new resource path to which the version number 1 is added, for example. At this time, the proxy server may feed back the new resource path to the target server, and since the target server has fed back the first resource according to the new resource path to which the version number 1 is added before, the cache may further store the first resource corresponding to the new resource path, the proxy server may directly obtain corresponding data from the cache and feed back the corresponding data to the proxy server.
Further, if the user modifies the content in the target server and desires that the user terminal can load a new page, the user terminal may operate the operable control displayed in the page, thereby sending a follow-up instruction to the proxy server.
Step 607, sending an update instruction including the new resource path to the proxy server, so that the proxy server updates the version number in the new resource path according to the update instruction.
When the user terminal is actually applied, the updating instruction is generated by the user terminal in response to the operation acting on the operable control. For example, when the operable control is a button, the user may click on the operable control, thereby triggering the user terminal to generate an update instruction and send the update instruction to the proxy server.
The update instruction includes a new resource path, that is, a new resource path corresponding to a resource currently loaded by the terminal. The proxy server may parse the update instructions and extract a new resource path included therein, which may include a version number.
The proxy server may update the version number in the new resource path to obtain an updated resource path. For example, 1 is superimposed on the current version number.
The proxy server can access the target server according to the updated resource path, receive the resource determined by the target server according to the updated resource path, and feed back the resource to the user terminal.
Step 608, receiving the resource fed back by the proxy server, wherein the resource is obtained by the proxy server according to the updated resource path.
Step 608 is similar to step 504 and will not be described again.
Fig. 7 is a block diagram illustrating a proxy server according to an exemplary embodiment of the present invention.
As shown in fig. 7, the proxy server provided in this embodiment includes:
the interaction module 71 is configured to access a target server according to an access request sent by a user terminal, and receive first network information fed back by the target server;
the adding module 72 is configured to add a script file to the first network information to obtain second network information, and feed the second network information back to the user terminal, so that the user terminal displays a network page including an operable control according to the second network information; the script file is used for adding an operable control in a network page corresponding to the second network information;
an updating module 73, configured to receive an update instruction sent by the user terminal, and update a resource path included in the second network information according to the update instruction; wherein the updating instruction is generated by the user terminal in response to the operation acting on the operable control;
the interaction module 71 is further configured to access a target server according to the updated resource path, receive a resource determined by the target server according to the updated resource path, and feed back the resource to the user terminal.
The specific principle, implementation manner and effect of the proxy server provided in this embodiment are similar to those of the embodiment shown in fig. 3, and are not described herein again.
Fig. 8 is a block diagram illustrating a proxy server according to another exemplary embodiment of the present invention.
As shown in fig. 8, on the basis of the foregoing embodiment, in the proxy server provided in this embodiment, optionally, the interaction module 71 specifically includes:
a first receiving unit 711, configured to receive an access request sent by a user terminal, where the access request includes an access address;
and the accessing unit 712 is configured to access the target server according to the access address, and receive the first network information fed back by the target server.
Optionally, a determining module 74 is further included, before the adding module 72 adds the script file to the first network information to obtain the second network information:
determining whether the type corresponding to the first network information is an html page;
if yes, the adding module 72 executes the step of adding the script file to the first network information to obtain the second network information.
Optionally, the adding module 72 includes:
an adding unit 721 configured to add the script file to the first network information;
a generating unit 722, configured to acquire a resource path included in the first network information, and generate a version number corresponding to the resource path;
a determining unit 723, configured to determine a new resource path according to the resource path and the version number, and feed back the second network information including the script file and the new resource path to the user terminal.
Optionally, the updating module 73 includes:
a second receiving unit 731, configured to receive the update instruction including the new resource path sent by the user terminal;
an updating unit 732, configured to update the version number in the new resource path to obtain an updated resource path.
Optionally, after the determining unit 723 feeds back the second network information including the script file and the new resource path to the user terminal, the interaction module 71 is further configured to:
receiving a loading request which is sent by the user terminal and comprises the new resource path;
and accessing the target server according to the new resource path, receiving a first resource corresponding to the new resource path fed back by the target server, and feeding back the first resource to the user terminal.
The specific principle, implementation manner, and effect of the proxy server provided in this embodiment are similar to those of the embodiment shown in fig. 4, and are not described herein again.
Fig. 9 is a block diagram illustrating a user terminal according to an exemplary embodiment of the present invention.
As shown in fig. 9, the user terminal provided in this embodiment includes:
a sending module 91, configured to send an access request to a proxy server, so that the proxy server obtains first network information according to the access request;
a receiving module 92, configured to receive second network information sent by the proxy server, where the second network information is obtained by adding a script file to the first network information by the proxy server;
a display module 93, configured to display a web page including an operable control according to the second network information;
the sending module 91 is configured to send, in response to an operation performed on the operable control, an update instruction to the proxy server, so that the proxy server updates the resource path included in the second network information according to the update instruction;
the receiving module 92 is further configured to receive a resource fed back by the proxy server, where the resource is obtained by the proxy server according to the updated resource path.
The specific principle, implementation manner and effect of the ue provided in this embodiment are similar to those of the embodiment shown in fig. 5, and are not described herein again.
Fig. 10 is a block diagram illustrating a user terminal according to another exemplary embodiment of the present invention.
As shown in fig. 10, on the basis of the foregoing embodiment, optionally, the sending module 91 is specifically configured to send the access request including an access address to the proxy server, so that the proxy server accesses a target server according to the access address, and receives first network information fed back by the target server.
Optionally, the second network information further includes a new resource path, where the new resource path is determined by the proxy server according to the generated version number and the resource path in the first network information.
Optionally, the sending module 91 is further configured to send the update instruction including the new resource path to the proxy server, so that the proxy server updates the version number in the new resource path according to the update instruction.
Optionally, the apparatus further includes a loading module 94, configured to, after the receiving module 92 receives the second network information sent by the proxy server, further:
sending a loading request to the proxy server according to the new resource path so that the proxy server accesses the target server according to the new resource path and receives a first resource corresponding to the new resource path and fed back by the target server;
the receiving module 92 is further configured to receive the first resource sent by the proxy server;
the display module 93 is further configured to display a web page including the operable control according to the first resource and the script file.
Optionally, the receiving module 92 is further configured to:
and receiving a configuration instruction, and configuring the network information into the information of the proxy server according to the configuration instruction.
The specific principle and implementation of the user terminal provided in this embodiment are similar to those of the embodiment shown in fig. 6, and are not described here again.
Fig. 11 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present invention.
As shown in fig. 11, the electronic device provided in this embodiment includes:
a memory 111;
a processor 112; and
a computer program;
wherein the computer program is stored in the memory 111 and configured to be executed by the processor 112 to implement any of the page access methods described in fig. 3-6.
The present embodiments also provide a computer-readable storage medium, having stored thereon a computer program,
the computer program is executed by a processor to implement any of the page access methods described in fig. 3-6.
The present embodiment also provides a computer program, which includes a program code, and when the computer program is executed by a computer, the program code executes any one of the page access methods described in fig. 3 to 6.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (16)

1. A method for page access, comprising:
accessing a target server according to an access request sent by a user terminal, and receiving first network information fed back by the target server;
adding a script file into the first network information to obtain second network information, and feeding the second network information back to the user terminal so that the user terminal can display a network page comprising an operable control according to the second network information; the script file is used for adding an operable control in a network page corresponding to the second network information;
receiving an updating instruction sent by the user terminal, and updating a resource path contained in the second network information according to the updating instruction; wherein the updating instruction is generated by the user terminal in response to the operation acting on the operable control;
and accessing a target server according to the updated resource path, receiving the resource determined by the target server according to the updated resource path, and feeding back the resource to the user terminal.
2. The method of claim 1, wherein accessing a target server according to an access request sent by a user terminal and receiving first network information fed back by the target server comprises:
receiving an access request sent by a user terminal, wherein the access request comprises an access address;
and accessing a target server according to the access address, and receiving first network information fed back by the target server.
3. The method of claim 1, wherein before adding the script file to the first network information to obtain the second network information, the method further comprises:
determining whether the type corresponding to the first network information is an html page;
and if so, executing the step of adding the script file in the first network information to obtain second network information.
4. The method according to claim 1, wherein adding a script file to the first network information to obtain second network information, and feeding the second network information back to the user terminal comprises:
adding the script file in the first network information;
acquiring a resource path included in the first network information, and generating a version number corresponding to the resource path;
and determining a new resource path according to the resource path and the version number, and feeding back the second network information comprising the script file and the new resource path to the user terminal.
5. The method according to claim 4, wherein the receiving an update instruction sent by the ue and updating the resource path included in the second network information according to the update instruction comprises:
receiving the updating instruction which comprises the new resource path and is sent by the user terminal;
and updating the version number in the new resource path to obtain the updated resource path.
6. The method according to claim 4, wherein after the feeding back the second network information including the script file and the new resource path to the user terminal, further comprising:
receiving a loading request which is sent by the user terminal and comprises the new resource path;
and accessing the target server according to the new resource path, receiving a first resource corresponding to the new resource path fed back by the target server, and feeding back the first resource to the user terminal.
7. A method for page access, comprising:
sending an access request to a proxy server so that the proxy server acquires first network information according to the access request;
receiving second network information sent by the proxy server, wherein the second network information is obtained by adding a script file in the first network information by the proxy server;
displaying a network page comprising an operable control according to the second network information;
responding to the operation acted on the operable control, and sending an updating instruction to the proxy server so that the proxy server updates the resource path contained in the second network information according to the updating instruction;
and receiving the resource fed back by the proxy server, wherein the resource is acquired by the proxy server according to the updated resource path.
8. The method of claim 7, wherein the access request including an access address is sent to the proxy server, so that the proxy server accesses a target server according to the access address, and receives the first network information fed back by the target server.
9. The method of claim 7, further comprising a new resource path in the second network information, wherein the new resource path is determined by the proxy server according to the generated version number and the resource path in the first network information.
10. The method of claim 9, wherein the update instruction including the new resource path is sent to the proxy server, so that the proxy server updates the version number in the new resource path according to the update instruction.
11. The method of claim 9, wherein after receiving the second network information sent by the proxy server, the method further comprises:
sending a loading request to the proxy server according to the new resource path so that the proxy server accesses a target server according to the new resource path and receives a first resource corresponding to the new resource path and fed back by the target server;
receiving a first resource sent by the proxy server;
and displaying a network page comprising the operable control according to the first resource and the script file.
12. The method of claim 7, further comprising, prior to said sending an access request to a proxy server:
and receiving a configuration instruction, and configuring the network information into the information of the proxy server according to the configuration instruction.
13. A proxy server, comprising:
the interaction module is used for accessing a target server according to an access request sent by a user terminal and receiving first network information fed back by the target server;
the adding module is used for adding a script file in the first network information to obtain second network information and feeding the second network information back to the user terminal so that the user terminal can display a network page comprising an operable control according to the second network information; the script file is used for adding an operable control in a network page corresponding to the second network information;
an update module, configured to receive an update instruction sent by the user terminal, and update a resource path included in the second network information according to the update instruction; wherein the updating instruction is generated by the user terminal in response to the operation acting on the operable control;
and the interaction module is also used for accessing a target server according to the updated resource path, receiving the resource determined by the target server according to the updated resource path and feeding back the resource to the user terminal.
14. A user terminal, comprising:
the sending module is used for sending an access request to a proxy server so that the proxy server can obtain first network information according to the access request;
a receiving module, configured to receive second network information sent by the proxy server, where the second network information is obtained by adding a script file to the first network information by the proxy server;
the display module is used for displaying a network page comprising an operable control according to the second network information;
the sending module is configured to send an update instruction to the proxy server in response to an operation acting on the operable control, so that the proxy server updates a resource path included in the second network information according to the update instruction;
the receiving module is further configured to receive a resource fed back by the proxy server, where the resource is obtained by the proxy server according to the updated resource path.
15. An electronic device, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any of claims 1-6 or 7-13.
16. A computer-readable storage medium, having stored thereon a computer program,
the computer program is executed by a processor to implement the method of any one of claims 1-6 or 7-13.
CN201910926219.7A 2019-09-27 2019-09-27 Page access method, server, terminal, electronic equipment and readable storage medium Pending CN110674435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910926219.7A CN110674435A (en) 2019-09-27 2019-09-27 Page access method, server, terminal, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910926219.7A CN110674435A (en) 2019-09-27 2019-09-27 Page access method, server, terminal, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN110674435A true CN110674435A (en) 2020-01-10

Family

ID=69079627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910926219.7A Pending CN110674435A (en) 2019-09-27 2019-09-27 Page access method, server, terminal, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110674435A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708600A (en) * 2020-08-20 2020-09-25 腾讯科技(深圳)有限公司 Page display method, device, equipment and computer readable storage medium
CN113783713A (en) * 2020-08-04 2021-12-10 北京沃东天骏信息技术有限公司 Method, device and system for configuring proxy
CN114138556A (en) * 2021-11-25 2022-03-04 北京皮尔布莱尼软件有限公司 Data backup and recovery method, device, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120117239A1 (en) * 2010-04-01 2012-05-10 Lee Hahn Holloway Internet-based proxy service for responding to server offline errors
CN103473226A (en) * 2012-06-06 2013-12-25 腾讯科技(深圳)有限公司 Method and device for updating web content
US20150032803A1 (en) * 2013-07-29 2015-01-29 John Graham-Cumming Method and apparatus for reducing loading time of web pages
CN105550357A (en) * 2015-12-29 2016-05-04 小米科技有限责任公司 Web page refreshing method and device
WO2016173441A1 (en) * 2015-04-27 2016-11-03 中兴通讯股份有限公司 Server cache processing method, apparatus and system
CN106489145A (en) * 2015-12-28 2017-03-08 华为技术有限公司 The access method of web site, device and Web site system
CN107784086A (en) * 2017-10-09 2018-03-09 中国平安人寿保险股份有限公司 A kind of loading method of webpage, terminal device and computer-readable recording medium
CN109471988A (en) * 2018-10-12 2019-03-15 平安科技(深圳)有限公司 Page info update method, device, computer equipment and storage medium
CN110162725A (en) * 2019-04-10 2019-08-23 浙江口碑网络技术有限公司 Online page loading method, device, storage medium and computer equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120117239A1 (en) * 2010-04-01 2012-05-10 Lee Hahn Holloway Internet-based proxy service for responding to server offline errors
CN103473226A (en) * 2012-06-06 2013-12-25 腾讯科技(深圳)有限公司 Method and device for updating web content
US20150032803A1 (en) * 2013-07-29 2015-01-29 John Graham-Cumming Method and apparatus for reducing loading time of web pages
WO2016173441A1 (en) * 2015-04-27 2016-11-03 中兴通讯股份有限公司 Server cache processing method, apparatus and system
CN106161573A (en) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 Server buffer processing method, Apparatus and system
CN106489145A (en) * 2015-12-28 2017-03-08 华为技术有限公司 The access method of web site, device and Web site system
US20180041590A1 (en) * 2015-12-28 2018-02-08 Huawei Technologies Co., Ltd. Website access method, apparatus, and website system
CN105550357A (en) * 2015-12-29 2016-05-04 小米科技有限责任公司 Web page refreshing method and device
CN107784086A (en) * 2017-10-09 2018-03-09 中国平安人寿保险股份有限公司 A kind of loading method of webpage, terminal device and computer-readable recording medium
CN109471988A (en) * 2018-10-12 2019-03-15 平安科技(深圳)有限公司 Page info update method, device, computer equipment and storage medium
CN110162725A (en) * 2019-04-10 2019-08-23 浙江口碑网络技术有限公司 Online page loading method, device, storage medium and computer equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783713A (en) * 2020-08-04 2021-12-10 北京沃东天骏信息技术有限公司 Method, device and system for configuring proxy
CN111708600A (en) * 2020-08-20 2020-09-25 腾讯科技(深圳)有限公司 Page display method, device, equipment and computer readable storage medium
CN114138556A (en) * 2021-11-25 2022-03-04 北京皮尔布莱尼软件有限公司 Data backup and recovery method, device, equipment and medium

Similar Documents

Publication Publication Date Title
RU2673403C2 (en) Website access method, device and website system
US10430487B2 (en) System and method to share content utilizing universal link format
US8868637B2 (en) Page rendering for dynamic web pages
EP3002927B1 (en) Page redirection method, routing device, terminal device and system
US9471701B2 (en) Methods and systems for secure in-network insertion of web content and web services
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
CN112073405A (en) Webpage data loading method and device, computer equipment and storage medium
EP3528474B1 (en) Webpage advertisement anti-shielding methods and content distribution network
CN107357890B (en) Webpage file processing method, device and system and storage equipment
CN108200132B (en) Resource acquisition method, device, equipment and computer readable storage medium
US20150149888A1 (en) Systems and methods for executing aspects of a document
US8972968B1 (en) Alternate service for applications
CN111079048A (en) Page loading method and device
CN112637361A (en) Page proxy method, device, electronic equipment and storage medium
US9059959B2 (en) Client side management of HTTP sessions
CN111431767B (en) Multi-browser resource synchronization method and device, computer equipment and storage medium
CN110674435A (en) Page access method, server, terminal, electronic equipment and readable storage medium
CN112104703A (en) Cookie management method, intermediate node and webvpn system
CN110020242A (en) A kind of document reading progress synchronous method and device based on Web
US11115462B2 (en) Distributed system
US10095791B2 (en) Information search method and apparatus
CN103051722B (en) A kind ofly determine the method whether page is held as a hostage and relevant device
CN112491940B (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN114915565B (en) Network debugging method and system
CN111338928A (en) Chrome-based browser testing method and device

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: 20200110

RJ01 Rejection of invention patent application after publication