CN114510672A - Internet page restoration method, system, access method, system, medium and terminal - Google Patents

Internet page restoration method, system, access method, system, medium and terminal Download PDF

Info

Publication number
CN114510672A
CN114510672A CN202210144167.XA CN202210144167A CN114510672A CN 114510672 A CN114510672 A CN 114510672A CN 202210144167 A CN202210144167 A CN 202210144167A CN 114510672 A CN114510672 A CN 114510672A
Authority
CN
China
Prior art keywords
access
url
information
resource
path
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
CN202210144167.XA
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.)
Shanghai Yuewei Science And Technology Co ltd
Original Assignee
Shanghai Yuewei Science And Technology 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 Shanghai Yuewei Science And Technology Co ltd filed Critical Shanghai Yuewei Science And Technology Co ltd
Priority to CN202210144167.XA priority Critical patent/CN114510672A/en
Publication of CN114510672A publication Critical patent/CN114510672A/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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

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

Abstract

The invention provides a method and a system for restoring an internet page, a method and a system for accessing the internet page, a medium and a terminal. The method for restoring the internet page comprises the following steps: after receiving the restoration request, reading mirror image flow through a restoration program to acquire a resource file in the internet page; storing the resource file in a root directory of a custom server; and traversing all resource files of each internet page, and generating an access index in the root directory to access the internet page. Under the condition of a mirror image network, the browser can send a quote request according to the html file processing without operating the content of the entity file; the internet page reduction process and the access process have high performance, real-time reduction can be realized, and the mass data processing condition is not required to be considered; and dynamic resource reference is also supported, and the method has coverage on complex resource dependence relations, such as special resource requests, js and css file resource requests and the like, and can meet different requirements.

Description

Internet page restoration method, system, access method, system, medium and terminal
Technical Field
The invention belongs to the technical field of internet, and particularly relates to a method, a system, an access method, a system, a medium and a terminal for restoring an internet page.
Background
In the process of surfing the Internet, a user can browse various webpages, and the user behavior can be analyzed and summarized by analyzing the webpage of surfing the Internet, so that the user behavior portrait is generated. The technology has certain help for preventing and filtering illegal websites and positioning illegal personnel.
Some of the properties may be associated with the resource file through some analysis of the properties of the http protocol. When the browser builds the upper webpage, the browser traverses resource references in the html file on the basis of the html file, and the references are referenced by a network request (for example: loading a picture url = 'http:// www.baidu.com/img/a. jpg') or a path (for example: url = 'img/a. jpg'). The path reference can be directly obtained from the web server of the internet page, and the resources of the non-current web server need to be obtained through a network request.
In consideration of the characteristic of path reference, if all resources are classified by host, all references in html are replaced by the path reference, and loading of the webpage resource file can be realized. In the mirror flow, the restored resource files are stored in sub-directories by host according to url, the html files are traversed and analyzed, a resource reference list in the html files is obtained, the resource reference is traversed, and both the network request reference and the absolute path reference are changed into relative references (for example, host refers to www.baidu.com directories which have an index. html file reference url = "http:// image. baidu. com/a. img", and is changed into url = "/image. baidu. com/a. jpg. or is referenced url ="/img/b. jpg ", and is changed into url ="/img/b. jpg "), so that the purpose of loading the resources can be achieved. However, under the condition of mass flow, the method needs to continuously open the operation file, and needs to replace various complicated references, so that the performance is low, and the coverage is not complete.
The current internet page restoration and access method mainly has the following problems:
1. depending on the internet environment, the user web page is revisited and the request is sent. The prior art cannot execute under the mirror image flow depending on the internet environment.
2. The file content needs to be operated, and analysis is carried out for url conversion. In the process of analyzing html files, html files need to be opened frequently, requests are made for resources, and performance problems exist under the condition of mass mirror image flow.
3. The coverage is not complete. html references may not be covered by special references (e.g., references generated based on real time, some non-standard usage).
4. Dynamic reference and complex reference of pages are not supported. When the web page refers to dynamic references such as js files, if the processing logic of the corresponding web server is not clear, resources cannot be acquired correctly.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, an access method, a system, a medium, and a terminal for restoring a web page, which are used to solve the problems in the prior art that the performance is low and real-time restoration cannot be performed during the process of restoring the web page.
In order to achieve the above objects and other related objects, the present invention provides a method for restoring an internet page, including the steps of:
after receiving a restoration request, reading mirror image flow through a restoration program to acquire a resource file in the internet page;
storing the resource file in a root directory of a custom server;
and traversing all resource files of each internet page, and generating an access index in the root directory to access the internet page.
In an embodiment of the invention, the storing the resource file in the root directory of the customized server includes
And taking the address host mapping file information host as a primary directory, and taking the resource address url of the resource file as the rest hierarchical directory, so as to store the resource file in the customization server in a layering manner.
In an embodiment of the present invention, the customized server generates the access index for the resource file corresponding to each web page.
The invention provides an access method for restoring an internet page, which comprises the following steps:
the access host accesses the access index in the customized server through a browser, traverses all associated resource files of the internet page and generates an http access request for the associated resource files;
analyzing the http access request through the customized server to obtain a basic path information referrer and a network request information url in the resource access request, and performing localization processing on the network request information url according to the basic path information referrer to obtain a localization path url;
the customized server adds the localized path url into the location of the redirection address information in the response information, and sends the response information to the access host;
after the visiting host acquires the response information, acquiring the redirection address information location, analyzing the redirection address information location to generate redirection path information url, and sending the redirection path information url to the customization server;
and the customization server correspondingly acquires a target resource file in a root directory according to the redirection path information url, and sends the target resource file to the access host to finish the access process.
In an embodiment of the present invention, the performing a localization process on the network request information url according to the basic path information referrer to obtain a localization path url includes:
after determining that the network request information url is a path request, acquiring path information of the basic path information referrer and an IP address of the customized server;
and regenerating the localization path url according to the path information of the basic path information referrer and the IP address of the customized server.
In an embodiment of the present invention, the method for restoring a netpage further includes:
after determining that the network request information url is an internet request, the customization server analyzes a path address in the network request information url and acquires an IP address of the customization server;
and acquiring real path information of the corresponding resource file in the customized server according to the path address in the network request information url and the IP address of the customized server, and sending the corresponding resource file to the access host according to the real path information.
The invention discloses a system for restoring an internet page, which comprises:
the reading module is used for reading mirror image flow through a restoring program to acquire a resource file in the internet page after receiving the restoring request;
the storage module is used for storing the resource file in a root directory of the customization server;
and the generating module is used for traversing all resource files of each internet page and generating an access index in the root directory to access the internet page.
The invention also provides an access system for the internet surfing recovery page, which comprises:
the request module is used for accessing the access index in the customized server through a browser, traversing all the associated resource files of the internet page and generating an http access request for the associated resource files;
the localization module is used for analyzing the http access request through the customized server to obtain basic path information referrer and network request information url in the resource access request, and performing localization processing on the network request information url according to the basic path information referrer to obtain a localization path url;
the response module is used for adding the localized path url into the location of the redirection address information in the response information through the customized server and sending the response information to the access host;
a redirection sending module, configured to obtain the redirection address information location after the access host obtains the response information, analyze the redirection address information location to generate a redirection path information url, and send the redirection path information url to the customization server;
the access module is used for correspondingly acquiring a target resource file in a root directory according to the redirection path information url through the customized server, and sending the target resource file to the access host to finish an access process;
the present invention provides a storage medium on which a computer program is stored, which, when executed by a processor, implements the above-described netpage restore method or the above-described access method for restoring a netpage.
The present invention provides a terminal, characterized by comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory, so that the terminal executes the above internet page restoring method or the above access method for restoring an internet page.
As described above, the method, system, access method, system, medium and terminal for restoring the web page according to the present invention have the following advantages:
under the condition of a mirror image network, the browser can send a quote request according to the html file processing without operating the content of the entity file; the internet page restoration process and the access process have high performance, real-time restoration can be realized, the mass data processing condition is not required to be considered, only the internet page after the restoration is accessed can be processed in real time, and the performance problem does not exist; and dynamic resource reference is supported, and coverage is provided for complex resource dependence relations, such as special resource requests, js and css file resource requests and the like, so that different requirements can be met.
Drawings
Fig. 1 is a flowchart illustrating a method for restoring a netpage according to the present invention.
Fig. 2 is a schematic diagram illustrating a reduction process of the netpage reduction method according to the present invention.
Fig. 3 is a flowchart illustrating an access method for restoring a web page according to the present invention.
Fig. 4 is a flowchart illustrating an access process of the method for restoring an access to a web page according to the present invention.
Fig. 5 is a schematic diagram showing the process of restoring and accessing the netpage according to the present invention.
Fig. 6 is a block diagram illustrating a structure of the netpage restore system according to the present invention.
Fig. 7 is a block diagram illustrating a structure of an access system for restoring a web page according to the present invention.
Detailed Description
The following description of the embodiments of the present invention is provided by way of specific examples, and other advantages and effects of the present invention will be readily apparent to those skilled in the art from the disclosure herein. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than being drawn according to the number, shape and size of the components in actual implementation, and the type, number and proportion of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
According to the internet page restoration method, the internet page restoration system, the internet page access method, the internet page access system, the internet page media and the terminal, under the condition of a mirror image network, the content of an entity file does not need to be operated, and a browser can send a quote request according to the processing of an html file; the internet page restoration process and the access process have high performance, real-time restoration can be realized, the mass data processing condition is not required to be considered, only the internet page after the restoration is accessed can be processed in real time, and the performance problem does not exist; and dynamic resource reference is supported, and coverage is provided for complex resource dependence relations, such as special resource requests, js and css file resource requests and the like, so that different requirements can be met.
As shown in fig. 1, in an embodiment, a method for restoring a netpage according to the present invention, referring to fig. 1, includes the following steps:
s101, after receiving the restoration request, reading mirror image flow through a restoration program to obtain a resource file in the internet page;
s102, storing the resource file in a root directory of a customized server;
s103, traversing all resource files of each internet page, and generating an access index in the root directory to access the internet page.
In an embodiment of the present invention, the storing the resource file in the root directory of the customized server includes
And taking the address host mapping file information host as a primary directory, and taking the resource address url of the resource file as the rest hierarchical directory, so as to store the resource file in the customization server in a layering manner.
In an embodiment of the present invention, the customized server generates the access index for the resource file corresponding to each web page.
Specifically, referring to fig. 2, in the restoring process, the restoring program reads the mirror image traffic and restores the mirror image traffic to the entity resource file, the restored entity resource file is stored in the root directory of the customization server, the storage mode uses host as the first-level directory, and the rest hierarchy of url is stored in the customization server hierarchically. Meanwhile, the resource file is traversed, and an index is generated in the root directory to access all html internet pages.
The invention also provides an access method for restoring the internet pages, which comprises the following steps with reference to fig. 3:
s301, an access host accesses an access index in the customized server through a browser, traverses all associated resource files of the internet page, and generates an http access request for the associated resource files;
s302, analyzing the http access request through the customized server to obtain basic path information referrer and network request information url in the resource access request, and performing localization processing on the network request information url according to the basic path information referrer to obtain a localization path url;
s303, the customized server adds the localization path url into the location of the redirection address information in the response information, and sends the response information to the access host;
s304, after the access host acquires the response information, acquiring the redirection address information location, analyzing the redirection address information location to generate redirection path information url, and sending the redirection path information url to the customization server;
s305, the customization server correspondingly obtains a target resource file in a root directory according to the redirection path information url, and sends the target resource file to the access host to finish the access process.
Where refer is part of http header, when the browser sends a request to the server, it will generally take refer to it to tell the server from which page the web page is linked, and the server can therefore obtain some information for processing. When a resource in the html file makes a request, the header is attached with referrer information, and the referrer contains the relevant information of the html file.
Location represents redirection, typically occurring in the http response header, identifying the web address where the response jumped. And when the response header received by the browser contains the location, acquiring the redirection address in the location and jumping.
Specifically, referring to fig. 4, after the access host accesses one of the index pages of the customized server through the browser, the access host requests the html file of the web page, and acquires all associated resources of the web page according to the characteristics of the browser and requests one by one. And then accessing the host to traverse the resource list and sending an http request to the customization server. The customized server analyzes the http request, acquires basic path information referrer and network request information url in the request, localizes the network request information url according to the basic path information referrer to obtain a localized path url, fills the localized path url into the redirection address information location in the response information, simultaneously sends the response information to the access host, acquires the redirection address information location in the response information after the access host acquires the response information, analyzes the redirection address information location to generate the redirection path information url, then redirects the path information url to the customized server, and sends the target resource file to the access host, so that the access host acquires the resource file and completes the access process.
In an embodiment of the present invention, the performing a localization process on the network request information url according to the basic path information referrer to obtain a localization path url includes:
after determining that the network request information url is a path request, acquiring path information of the basic path information referrer and an IP address of the customized server;
and regenerating the localization path url according to the path information of the basic path information referrer and the IP address of the customized server.
Specifically, after the network request information url is determined to be a path request, the customization server obtains the network request information url, analyzes the network request information url, obtains and obtains basic path information referrer, such as http:// localhost/www.baidu.com/index. html, regenerates a localized path url, such as http:// localhost/www.baidu.com/a/b. png, according to the basic path information referrer and an ip address of the customization server, fills the localized path url into a redirection address information location responded by the customization server, sends response information to the access host, reads the localized path url in the redirection address information location after the access host obtains the response information, sends the redirected path information url after redirection to the customization server again, then the customization server obtains a target resource file according to the redirection path information url, and sending the target resource file to an access host for access process.
In an embodiment of the present invention, the method for restoring an internet page further includes:
after determining that the network request information url is an internet request, the customization server analyzes a path address in the network request information url and acquires an IP address of the customization server;
and acquiring real path information of the corresponding resource file in the customized server according to the path address in the network request information url and the IP address of the customized server, and sending the corresponding resource file to the access host according to the real path information.
Specifically, for example, when the start of the network request information url is any one of http, https, and "//", it is determined that the network request information url is an internet request. Since internet requests are not reachable in mirrored traffic, the real resource path on the custom server needs to be redirected. The customizing server obtains the network request information url, analyzes the information in the network request information url and the ip address of the customizing server, and accordingly obtains the real position of the resource in the customizing server according to the information in the network request information url and the ip address of the customizing server, such as http:// localhost/www.baiducom/a.jgp, so that the target resource file is directly sent to the accessing host to complete the accessing process.
In some embodiments, the browser accessing the host parses all resource file references of the web page, sends a request to the customization server, and the customization server performs the above processing according to different types of resources, and finally restores the complete web page in the mirror network environment to complete the access process of the whole web page.
Because the http request header for resource reference contains referrer information, the html file and the entity resource file cannot be associated under the mirror image environment, but the html file and the resource file can be associated by analyzing the referrer attribute through a referrer analysis algorithm; and the localized processing of the resource reference is completed through the url localization, so that the recovery access of the web page can be realized under the mirror image network environment.
The internet page restoration and access process in the present solution is shown in fig. 5, and since the specific process is described in the foregoing, the detailed description is omitted here.
The invention provides a system for restoring a web page, which refers to fig. 6 and comprises:
the reading module 601 is configured to read mirror image traffic through a restore program to obtain a resource file in the web page after receiving the restore request;
a storage module 602, configured to store the resource file in a root directory of a customization server;
the generating module 603 is configured to traverse all resource files of each internet page, and generate an access index in the root directory to access the internet page.
The present invention also provides an access system for restoring a web page, referring to fig. 7, including:
a request module 701, configured to access an access index in the customized server through a browser, traverse all associated resource files of the web page, and generate an http access request for the associated resource files;
a localization module 702, configured to analyze the http access request through the customized server to obtain a basic path information referrer and a network request information url in the resource access request, and perform localization processing on the network request information url according to the basic path information referrer to obtain a localization path url;
a response module 703, configured to add the localized path url to the redirection address information location in the response information through the customized server, and send the response information to the access host;
a redirection sending module 704, configured to obtain the redirection address information location after the access host obtains the response information, analyze the redirection address information location to generate a redirection path information url, and send the redirection path information url to the customized server;
the access module 705 is configured to obtain, by the customized server, a target resource file in a root directory according to the redirection path information url, and send the target resource file to the access host, so as to complete an access process;
it should be noted that the protection scope of the netpage restoring method of the present invention is not limited to the execution sequence of the steps listed in this embodiment, and all the schemes implemented by the steps addition, subtraction, and step replacement in the prior art according to the principle of the present invention are included in the protection scope of the present invention.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element that is set up separately, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In the implementation process, each step or each module of the above-mentioned netpage restoration method may be completed by an instruction in the form of a hardware integrated logic circuit or software in a processor element.
For example, the above modules may be one or more integrated circuits configured to implement the above netpage restore method, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
The storage medium of the present invention stores a computer program, and the computer program implements the above-mentioned netpage restoration method or the above-mentioned access method for restoring a netpage when executed by a processor. The storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.
As shown in fig. 3, the terminal of the present invention includes a processor and a memory.
The memory is for storing a computer program. Preferably, the memory comprises: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.
The processor is connected with the memory and is used for executing the computer program stored in the memory so as to enable the terminal to execute the internet page restoration method or the access method for restoring the internet page.
Preferably, the Processor 3 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
It should be noted that the netpage restoring system of the present invention can implement the netpage restoring method of the present invention, and the netpage restoring access system of the present invention can implement the netpage restoring access method of the present invention, but the implementation apparatus of the netpage restoring method of the present invention includes, but is not limited to, the structure of the netpage restoring system described in this embodiment, and the implementation apparatus of the netpage access method of the present invention also includes, but is not limited to, the structure of the netpage accessing system described in this embodiment, and all structural modifications and substitutions in the prior art made according to the principle of the present invention are included in the scope of the present invention.
In summary, according to the method, the system, the access method, the system, the medium and the terminal for restoring the internet page, the browser sends the reference request according to the html file processing without operating the content of the entity file under the condition of the mirror image network; the internet page restoration process and the access process have high performance, real-time restoration can be realized, the mass data processing condition is not required to be considered, only the internet page after the restoration is accessed can be processed in real time, and the performance problem does not exist; the dynamic resource reference is supported, and the complex resource dependence relationship is covered, such as special resource requests, js and css file resource requests and the like, so that different requirements can be met; therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (9)

1. A method for restoring a web page is characterized by comprising the following steps:
after receiving a restoration request, reading mirror image flow through a restoration program to acquire a resource file in the internet page;
storing the resource file in a root directory of a custom server;
and traversing all resource files of each internet page, and generating an access index in the root directory to access the internet page.
2. The netpage restoration method according to claim 1, wherein the storing the resource file in a root directory of a customized server comprises
And taking the address host mapping file information host as a primary directory, and taking the resource address url of the resource file as the rest hierarchical directory, so as to store the resource file in the customization server in a layering manner.
3. The method according to claim 1, wherein the customized server generates the access index for the resource file corresponding to each web page.
4. An access method for restoring an internet page is characterized by comprising the following steps:
the access host accesses the access index in the customized server through a browser, traverses all associated resource files of the internet page and generates an http access request for the associated resource files;
analyzing the http access request through the customized server to obtain a basic path information referrer and a network request information url in the resource access request, and performing localization processing on the network request information url according to the basic path information referrer to obtain a localization path url;
the customized server adds the localization path url into the location of the redirection address information in the response information and sends the response information to the access host;
after the visiting host acquires the response information, acquiring the redirection address information location, analyzing the redirection address information location to generate redirection path information url, and sending the redirection path information url to the customization server;
and the customization server correspondingly acquires a target resource file in a root directory according to the redirection path information url, and sends the target resource file to the access host to finish the access process.
5. The method for accessing a restored netpage according to claim 4, wherein the obtaining the localized path url by performing localized processing on the network request information url according to the basic path information referrer includes:
after determining that the network request information url is a path request, acquiring path information of the basic path information referrer and an IP address of the customized server;
and regenerating the localization path url according to the path information of the basic path information referrer and the IP address of the customized server.
6. The method for accessing a restored netpage according to claim 4, wherein the netpage restoring method further comprises:
after determining that the network request information url is an internet request, the customization server analyzes a path address in the network request information url and acquires an IP address of the customization server;
and acquiring real path information of the corresponding resource file in the customized server according to the path address in the network request information url and the IP address of the customized server, and sending the corresponding resource file to the access host according to the real path information.
7. A web page restoring system is characterized by comprising:
the reading module is used for reading mirror image flow through a restoring program to acquire a resource file in the internet page after receiving the restoring request;
the storage module is used for storing the resource file in a root directory of the customization server;
and the generating module is used for traversing all resource files of each internet page and generating an access index in the root directory to access the internet page.
8. An access system for restoring a page on a web, comprising:
the request module is used for accessing the access index in the customized server through a browser, traversing all the associated resource files of the internet page and generating an http access request for the associated resource files;
the localization module is used for analyzing the http access request through the customized server to obtain basic path information referrer and network request information url in the resource access request, and performing localization processing on the network request information url according to the basic path information referrer to obtain a localization path url;
the response module is used for adding the localized path url into the location of the redirection address information in the response information through the customized server and sending the response information to the access host;
a redirection sending module, configured to obtain the redirection address information location after the access host obtains the response information, analyze the redirection address information location to generate a redirection path information url, and send the redirection path information url to the customization server;
the access module is used for correspondingly acquiring a target resource file in a root directory according to the redirection path information url through the customized server, and sending the target resource file to the access host to finish an access process;
a storage medium on which a computer program is stored, the program, when executed by a processor, implementing the netpage restore method of any of claims 1 to 3 or the access method of restoring a netpage of any of claims 4 to 6.
9. A terminal, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory, so as to enable the terminal to execute the netpage restoration method according to any one of claims 1 to 3 or the access method for restoring a netpage according to any one of claims 4 to 6.
CN202210144167.XA 2022-02-17 2022-02-17 Internet page restoration method, system, access method, system, medium and terminal Pending CN114510672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210144167.XA CN114510672A (en) 2022-02-17 2022-02-17 Internet page restoration method, system, access method, system, medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210144167.XA CN114510672A (en) 2022-02-17 2022-02-17 Internet page restoration method, system, access method, system, medium and terminal

Publications (1)

Publication Number Publication Date
CN114510672A true CN114510672A (en) 2022-05-17

Family

ID=81551898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210144167.XA Pending CN114510672A (en) 2022-02-17 2022-02-17 Internet page restoration method, system, access method, system, medium and terminal

Country Status (1)

Country Link
CN (1) CN114510672A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499252A (en) * 2022-11-18 2022-12-20 北京升鑫网络科技有限公司 Page restoration device, page restoration method, electronic device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499252A (en) * 2022-11-18 2022-12-20 北京升鑫网络科技有限公司 Page restoration device, page restoration method, electronic device and storage medium
CN115499252B (en) * 2022-11-18 2023-01-20 北京升鑫网络科技有限公司 Page restoration device, page restoration method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
US20140149995A1 (en) Browser Kernel Switching Method
CN108549569B (en) Method and equipment for searching information in application program
US20120016857A1 (en) System and method for providing search engine optimization analysis
CN112148678B (en) File access method, system, device and medium
US9495469B2 (en) System and method to identify machine-readable codes
CN110362547B (en) Method and device for encoding, analyzing and storing log file
US20030028591A1 (en) Browser having dynamically self-adjusting rendering functionality
KR20120042529A (en) Method and apparatus for crawling web page
CN111367873A (en) Log data storage method and device, terminal and computer storage medium
US8140575B2 (en) Apparatus, method, and program product for information processing
CN105160018A (en) Method, device and system for image copy/paste
CN111858255A (en) User behavior acquisition method based on screenshot and related equipment
CN111787036A (en) Solution method, device, storage medium and equipment for front-end private cloud deployment
Chen et al. Interactive web caching for slow or intermittent networks
CN114510672A (en) Internet page restoration method, system, access method, system, medium and terminal
CN111368227A (en) URL processing method and device
CN114650187A (en) Abnormal access detection method and device, electronic equipment and storage medium
CN104954363A (en) Method and device for generating interface document
KR101282975B1 (en) A webpage crop server system of reconstructing a web page from tree structure of document elements
JP2018506783A (en) Generating element identifiers
CN110708270B (en) Abnormal link detection method and device
CN113392297A (en) Method, system and equipment for crawling data
CN102694802B (en) Network access information recording method and device
JP4825717B2 (en) Document collection method, document collection program, and document collection apparatus
KR101248867B1 (en) A webpage crop server system of reconstructing only document elements on the cropped area of a web page

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