CN110516185B - Method and device for processing dynamic website - Google Patents
Method and device for processing dynamic website Download PDFInfo
- Publication number
- CN110516185B CN110516185B CN201910736145.0A CN201910736145A CN110516185B CN 110516185 B CN110516185 B CN 110516185B CN 201910736145 A CN201910736145 A CN 201910736145A CN 110516185 B CN110516185 B CN 110516185B
- Authority
- CN
- China
- Prior art keywords
- page
- dynamic
- resource
- dynamic website
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/986—Document structures and storage, e.g. HTML extensions
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a method and a device for processing a dynamic website, wherein the method comprises the following steps: exporting data for realizing a dynamic function in the dynamic website resources to an embedded database according to the identification information of the dynamic website resources; calling out the page content of the page of the dynamic website resource according to the identification information of the dynamic website resource; according to a preset processing mode, carrying out staticizing processing on the page content of the page of the dynamic website resource to obtain a static page; and assembling the embedded database and the static page according to a preset assembling mode to obtain an offline project. According to the method and the device for deploying the dynamic website resources, the dynamic website resources are processed into the embedded database and the static page, the embedded database and the static page are assembled to obtain an offline project, the offline project is simpler to deploy, and the project deployment efficiency is improved.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for processing a dynamic website.
Background
Resource-type websites refer to websites that provide users with video resources, audio resources, article resources, and related resources in various fields. As resource type websites are continuously developed, user groups faced by the resource type websites are increasingly huge. When faced with users of government agencies, privacy agencies, and other agencies using the intranet, it is often necessary to redevelop or copy internet-based dynamic resource-based website (web) projects into corresponding environments for redeployment. In this process, there are many projects that need to be redeveloped or redeployed, the deployment process is complicated, the deployment efficiency is low, and further, the time and effort required for deployment are high.
Disclosure of Invention
Based on the defects of the prior art, the application provides a method and a device for processing a dynamic website, so that offline processing of the dynamic website is realized, and project deployment efficiency is improved.
The first aspect of the invention discloses a method for processing a dynamic website, which comprises the following steps:
exporting data for realizing a dynamic function in the dynamic website resources to an embedded database according to the identification information of the dynamic website resources;
calling out the page content of the page of the dynamic website resource according to the identification information of the dynamic website resource;
according to a preset processing mode, carrying out staticizing processing on the page content of the page of the dynamic website resource to obtain a static page;
and assembling the embedded database and the static page according to a preset assembling mode to obtain an offline project.
Optionally, in the processing method of the dynamic website, the exporting data for implementing a dynamic function in the dynamic website resource to an embedded database includes:
exporting data for realizing dynamic functions in the dynamic website resources;
modifying the exported file resource path in the data for realizing the dynamic function into an offline directory;
and importing the modified data for realizing the dynamic function into the embedded database.
Optionally, in the processing method of the dynamic website, the staticizing the page content of the page of the dynamic website resource according to a preset processing manner to obtain a static page includes:
carrying out corresponding modification processing on different types of files in the page content of the page of the dynamic website resource;
and downloading the page content of the modified page of the dynamic website resource to an offline directory to obtain the static page.
Optionally, in the processing method of the dynamic website, the performing, to the different types of files in the page content of the page of the dynamic website resource, corresponding modification processing includes:
modifying the page paths of the CSS format file and the JS format file in the cascading style sheet in the page content into the offline directory;
modifying the coding format of the picture file in the page content into a preset format;
and modifying the page path of the associated resource file of the page of the dynamic website resource into the offline directory.
Optionally, in the processing method of the dynamic website, the data for implementing the dynamic function includes: search entry data, user login information data, and tag data.
The second aspect of the present invention discloses a processing apparatus for a dynamic website, comprising:
the exporting unit is used for exporting the data for realizing the dynamic function in the dynamic website resources to the embedded database according to the identification information of the dynamic website resources;
the calling-out unit is used for calling out the page content of the page of the dynamic website resource according to the identification information of the dynamic website resource;
the processing unit is used for carrying out staticizing processing on the page content of the page of the dynamic website resource according to a preset processing mode to obtain a static page;
and the assembling unit is used for assembling the embedded database and the static page according to a preset assembling mode to obtain an offline project.
Optionally, in the processing apparatus for a dynamic website, when the exporting unit exports data used for implementing a dynamic function in the dynamic website resource to an embedded database, the exporting unit includes:
the exporting subunit is used for exporting the data for realizing the dynamic function in the dynamic website resources;
the first modification unit is used for modifying the derived file resource path in the data for realizing the dynamic function into an offline directory;
and the importing unit is used for importing the modified data for realizing the dynamic function into the embedded database.
Optionally, in the processing device of the dynamic website, the processing unit includes:
the second modification unit is used for carrying out corresponding modification processing on different types of files in the page content of the page of the dynamic website resource;
and the downloading unit is used for downloading the page content of the modified page of the dynamic website resource to an offline directory to obtain the static page.
Optionally, in the processing apparatus of the dynamic website, the second modifying unit includes:
a first modifying subunit, configured to modify a page path of the CSS-format file and the JS-format file in the page content into the offline directory;
the second modification subunit is used for modifying the coding format of the picture file in the page content into a preset format;
and the third modification subunit is used for modifying the page path of the resource file associated with the page of the dynamic website resource into the offline directory.
Optionally, in the processing device of the dynamic website, the data for implementing the dynamic function includes: search entry data, user login information data, and tag data.
According to the technical scheme, the data used for realizing the dynamic function in the dynamic website resources are exported to the embedded database according to the identification information of the dynamic website resources. And calling out the page content of the resource required by the user according to the identification information of the dynamic website resource. And then, according to a preset processing mode, carrying out staticizing processing on the page content of the dynamic website resource to obtain a static page. And assembling the embedded database and the static page according to a preset assembling mode to obtain an offline project. According to the method and the device, the data for realizing the dynamic functions are exported to the embedded database, the requirements of the dynamic functions such as searching and logging in the dynamic website are met, the pages of the resources required by the user are processed into the static pages and then further offline, the embedded database and the static pages are assembled to obtain an offline project, and the offline project is relatively simple to deploy, so that the project deployment efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for processing a dynamic website according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for exporting data for implementing dynamic functions in dynamic website resources to an embedded database according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for obtaining a static page according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for modifying page contents of a page in a dynamic website resource according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a processing device of a dynamic website according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the present application discloses a method for processing a dynamic website, which specifically includes the following steps:
s101, exporting data for realizing dynamic functions in the dynamic website resources to an embedded database according to the identification information of the dynamic website resources.
The dynamic website refers to a website whose website content can be dynamically changed according to different situations. The dynamic website is composed of a plurality of dynamic web pages. The dynamic webpage refers to a webpage programming technology which is opposite to a static webpage, and the dynamic webpage can return different data according to a plurality of parameters and can interact with background data. The dynamic web page uses a hypertext Markup Language (HTML) format and other programming languages. Static web pages are web pages that use only HTML format. Static web pages have no background database, no programs, and are not interactive. Dynamic website resources refer to various web pages with resources in a dynamic website. Resources refer to music resources, video resources, article resources, and the like.
Specifically, the dynamic website resources purchased by the user may be listed on a resource list, where the list includes identification information of the dynamic website resources required by the user. The identification information specifically refers to address information or a Uniform Resource Locator (URL) of the dynamic website Resource. And according to the identification information, the dynamic website resources needing offline processing can be found. The dynamic website is processed to be an offline website which can be operated without a network. Since the project is designed for the user deployment using the intranet, the dynamic website resources required by the user can be offline firstly, converted into the offline project and then deployed in the intranet environment, and the deployment difficulty can be reduced. And after the dynamic website resources needing offline processing are found according to the identification information, exporting the data for realizing the dynamic function in the dynamic website resources to an embedded database.
Specifically, when step S101 is executed, the data export processor may export data for implementing dynamic functions in the dynamic website resource to be processed, and then import the data into the embedded database. The data export processor may be regarded as a parser, which may parse out data for implementing dynamic functions in the dynamic website resources. The dynamic function refers to an interactive function that can return different data according to a plurality of parameters, such as a search function of a website, a user login function, and the like. Optionally, in a specific embodiment of the present application, the data for implementing the dynamic function includes: search entry data, user login information data, and tag data. The data for realizing the dynamic function are all stored in the background database of the dynamic website resource, and the data can be returned from the background database according to the data input by the user. It should be noted that there are many data pertaining to implementing dynamic functions, including but not limited to those presented in the embodiments of the present application.
The embedded database can also be called as an embedded database, the embedded database is embedded into an application program process, the databases belonging to the embedded database are various, and the appropriate embedded database can be selected according to actual requirements. For example, the H2 database may be selected for use, and the H2 database may be embedded in the web site and tied to the web site application as part of the web site application, eliminating the overhead associated with client server configuration.
Optionally, referring to fig. 2, in an embodiment of the present application, one way of executing step S101 includes:
s201, exporting data for realizing dynamic functions in the dynamic website resources.
Specifically, when step S201 is executed, the data export processor may analyze the background data of the dynamic website resource according to the URL information of the dynamic website resource. The data for realizing the dynamic function exists in the corresponding field in the background database of the dynamic website resources, and the field in which the data for realizing the dynamic function exists in the background database of the dynamic website resources can be analyzed by the data export processor. For example, the Search Engine (ES) field in the background database is parsed out by the data export processor.
The data export processor analyzes the field of the data for realizing the dynamic function and then exports the data for realizing the dynamic function. The exported data may be stored locally or elsewhere, or may not be stored, and step S202 is performed directly on it.
S202, modifying the file resource path in the exported data for realizing the dynamic function into an offline directory.
Specifically, the exported data for implementing the dynamic function includes various file resources, such as a picture file, a file in a Portable Document Format (PDF), and the like. And modifying the file resource paths of the files into offline directories to realize offline processing. In step S202, the modification process may be performed after the data for implementing the dynamic function is imported into the embedded database.
And S203, importing the modified data for realizing the dynamic function into an embedded database.
Creating a table in the embedded database, and importing the data modified in step S202 for implementing the dynamic function into the table of the embedded database. The data imported into the embedded database is used to implement dynamic functions such as search, and then the corresponding static page obtained in step S103 can be called according to the search entry retrieved from the embedded database.
By executing step S101, data for implementing dynamic functions is exported to the embedded database, and dynamic functions such as retrieval and login can be satisfied in an offline state.
S102, calling out the page content of the page of the dynamic website resource according to the identification information of the dynamic website resource.
According to the identification information of the dynamic website resources, the dynamic website resources needing to be processed in an off-line mode can be found, and page content of pages of the dynamic website resources can be called. The pages of the dynamic website resources comprise pages such as a detail page, a playing page, an introduction page and the like. The page content specifically refers to a resource file in a page, page template data of the page, and the like. The tool for calling out the page content of the page of the dynamic website resource can be a page staticizing processor. The page staticizing processor can know the position of the resource through the identification information of the dynamic website resource so as to acquire the page content of the page of the resource.
It should be noted that the order of executing step S102 and step S101 does not affect the implementation of the embodiment of the present application. Step S101 and step S102 may be executed simultaneously.
S103, according to a preset processing mode, carrying out staticizing processing on the page content of the page of the dynamic website resource to obtain a static page.
Specifically, when step S103 is executed, the page content of the page of the dynamic website resource may be analyzed by the page staticizing processor, and the data with different formats obtained after the analysis is processed according to a preset processing manner, so as to obtain the static page. The page staticizing processor is a parser. Static pages refer to pages that use only HTML format without being compiled by a server. Static web pages have no background database, no programs, and are not interactive. After the page of the dynamic website resource is modified into the static page through the step S103, further offline processing of the dynamic website is realized.
Optionally, referring to fig. 3, in an embodiment of the present application, an implementation manner of executing step S103 includes:
s301, corresponding modification processing is carried out on different types of files in the page content of the page of the dynamic website resource.
The page content of the page of the dynamic website resource comprises various files of different types, such as a picture file, a Cascading Style Sheet (CSS) format file, a PDF format file, a JS format file and the like. The page content obtained in step S102 shown in fig. 1 is analyzed by the page staticizing processor, so as to analyze files with various formats. The files in the page content of the dynamic page are slightly different from the files in the static page, and the page static processor needs to correspondingly modify the files of different types in the page content of the page of the dynamic website resource so as to change the page of the dynamic website resource into the static page.
Optionally, referring to fig. 4, in an embodiment of the present application, a manner of executing step S301 includes:
s401, modifying the page paths of the CSS format file and the JS format file in the cascading style sheet in the page content into an offline directory.
The CSS format file and the JS format file are both files that can implement some dynamic functions in a dynamic page. And modifying the page paths of the CSS file and the JS file in the page content to an offline directory through the page staticizing processor, so that the CSS file and the JS file in the page content can be changed into files in the static page. It should be noted that, the CSS format file and the JS format file may be downloaded first, and then the page path may be modified to be the offline directory.
S402, modifying the coding format of the picture file in the page content into a preset format.
Wherein the predetermined format refers to an encoding format suitable for a picture file in a still page. For example, the encoding format of the picture file in the page content is modified to base64 code. It should be noted that the picture file may be downloaded, and then the encoding format of the picture file may be modified.
S403, modifying the page path of the resource file associated with the page of the dynamic website resource into an offline directory.
Wherein, the associated resource file refers to an audio resource file, a video resource file, an article resource file, and the like. Specifically, the associated resource file is a file in a format such as PDF or MP4 in the page. The page staticizing processor copies the format files such as PDF, MP4 and the like in the page from the resource library, and then modifies the page path into an offline directory. Optionally, the format files such as PDF, MP4, etc. may be copied from the repository for encryption to ensure the security of the resource.
It should be noted that the order of executing step S401, step S402, and step S403 does not affect the implementation of the embodiment of the present application, and step S401, step S402, and step S403 may also be executed at the same time. It should be further noted that there are many modification methods for different types of files in the page content, for example, some advertisement diagrams or some unnecessary files in the page content may be deleted according to the needs of the user in practical applications, and the modification methods for the page content include, but are not limited to, the content proposed in the embodiments of the present application.
S302, downloading the page content of the modified page of the dynamic website resource to an offline directory to obtain a static page.
And downloading the page content of the page of the modified dynamic website resource obtained in the step S301 to an offline directory. At the moment, the pages in the offline directory are static pages, and further offline of the dynamic website resources is realized.
And S104, assembling the embedded database and the static page according to a preset assembling mode to obtain an offline project.
The off-line project is an off-line website which can be operated without a network. The preset assembling mode can be set according to specific requirements of a user, for example, the preset assembling mode can be set according to requirements of some page contents of the user, requirements of a typesetting mode and the like. After the embedded database and the static page are assembled, the embedded database can be searched, and the corresponding static page is called. According to the method and the system, after the dynamic website resources are changed into offline projects, the dynamic website resources can be operated without a network, so that the process of deploying the dynamic website resources into an intranet using environment is simplified. Compared with the mode that Internet dynamic resource type website projects are directly deployed to the environment using the intranet in the prior art, the mode that the off-line projects are deployed is higher in efficiency, and less time and energy are consumed.
According to the processing method of the dynamic website, the data for realizing the dynamic function in the dynamic website resources are exported to the embedded database according to the identification information of the dynamic website resources. And calling out the page content of the resource required by the user according to the identification information of the dynamic website resource. And then, according to a preset processing mode, carrying out staticizing processing on the page content of the dynamic website resource to obtain a static page. And assembling the embedded database and the static page according to a preset assembling mode to obtain an offline project. According to the method and the device, the data for realizing the dynamic functions are exported to the embedded database, the requirements of the dynamic functions such as searching and logging in the dynamic website are met, the pages of the resources required by the user are processed into the static pages and then further offline, the embedded database and the static pages are assembled to obtain an offline project, and the offline project is relatively simple to deploy, so that the project deployment efficiency is improved.
Referring to fig. 5, based on the processing method of the dynamic website provided in the embodiment of the present application, the embodiment of the present application correspondingly discloses a processing apparatus of the dynamic website, including: deriving section 501, calling section 502, processing section 503, and assembling section 504.
And the exporting unit 501 is configured to export the data for implementing the dynamic function in the dynamic website resource to the embedded database according to the identification information of the dynamic website resource.
Optionally, in a specific embodiment of the present application, the data for implementing the dynamic function includes: search entry data, user login information data, and tag data.
Optionally, in a specific embodiment of the present application, when the exporting unit 501 exports data used for implementing a dynamic function in a dynamic website resource to the embedded database, the exporting includes: the device comprises an export subunit, a first modification unit and an import unit.
And the exporting subunit is used for exporting the data for realizing the dynamic function in the dynamic website resources.
And the first modification unit is used for modifying the file resource path in the exported data for realizing the dynamic function into an offline directory.
And the importing unit is used for importing the modified data for realizing the dynamic function into the embedded database.
A calling unit 502, configured to call out page content of a page of the dynamic website resource according to the identification information of the dynamic website resource.
The processing unit 503 is configured to perform static processing on the page content of the page of the dynamic website resource according to a preset processing manner, so as to obtain a static page.
Optionally, in a specific embodiment of the present application, the processing unit 503 includes: a second modification unit and a download unit.
And the second modification unit is used for carrying out corresponding modification processing on different types of files in the page content of the page of the dynamic website resource.
Optionally, in a specific embodiment of the present application, the second modifying unit includes: a first modifying sub-unit, a second modifying sub-unit and a third modifying sub-unit.
And the first modification subunit is used for modifying the page paths of the CSS format file and the JS format file in the page content into the offline directory.
And the second modification subunit is used for modifying the coding format of the picture file in the page content into a preset format.
And the third modification subunit is used for modifying the page path of the resource file associated with the page of the dynamic website resource into an offline directory.
And the downloading unit is used for downloading the page content of the modified page of the dynamic website resource to an offline directory to obtain a static page.
The assembling unit 504 is configured to assemble the embedded database and the static page according to a preset assembling manner, so as to obtain an offline item.
The specific principle and the execution process of each unit in the processing apparatus for a dynamic website disclosed in the embodiment of the present application are the same as those of the processing method for a dynamic website disclosed in the embodiment of the present application, and reference may be made to corresponding parts in the processing method for a dynamic website disclosed in the embodiment of the present application, which are not described herein again.
In the processing apparatus for a dynamic website provided by the present application, the exporting unit 501 exports data for implementing a dynamic function in a dynamic website resource to the embedded database according to the identification information of the dynamic website resource. The calling unit 502 calls out the page content of the resource required by the user according to the identification information of the dynamic website resource. The processing unit 503 performs static processing on the page content of the dynamic website resource according to a preset processing mode to obtain a static page. The assembling unit 504 assembles the embedded database and the static page according to a preset assembling mode to obtain an offline item. According to the method and the device, data for realizing dynamic functions are exported to the embedded database through the exporting unit 501, the requirements of dynamic functions such as searching and logging in a dynamic website are met, the pages of resources required by users are processed into the static pages through the processing unit 503 to realize further offline, and then the embedded database and the static pages are assembled through the assembling unit 504 to obtain an offline project.
Those skilled in the art can make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A method for processing a dynamic website is characterized by comprising the following steps:
exporting data for realizing a dynamic function in the dynamic website resources to an embedded database according to the identification information of the dynamic website resources so as to realize off-line processing of the dynamic website resources; the identification information is determined from a resource list according to the dynamic website resources required by the user based on listing the dynamic website resources purchased by the user on the resource list, and the resource list is provided with identification information of various dynamic website resources required by the user;
calling out the page content of the page of the dynamic website resource according to the identification information of the dynamic website resource;
according to a preset processing mode, carrying out staticizing processing on the page content of the page of the dynamic website resource to obtain a static page;
and assembling the embedded database and the static page according to a preset assembling mode to obtain an offline project.
2. The method of claim 1, wherein exporting data for implementing dynamic functions in the dynamic website resource to an embedded database comprises:
exporting data for realizing dynamic functions in the dynamic website resources;
modifying the exported file resource path in the data for realizing the dynamic function into an offline directory;
and importing the modified data for realizing the dynamic function into the embedded database.
3. The method according to claim 1, wherein the performing static processing on the page content of the page of the dynamic website resource according to a preset processing manner to obtain a static page comprises:
carrying out corresponding modification processing on different types of files in the page content of the page of the dynamic website resource;
and downloading the page content of the modified page of the dynamic website resource to an offline directory to obtain the static page.
4. The method according to claim 3, wherein the performing corresponding modification processing on different types of files in the page content of the page of the dynamic website resource includes:
modifying the page paths of the CSS format file and the JS format file in the cascading style sheet in the page content into the offline directory;
modifying the coding format of the picture file in the page content into a preset format;
and modifying the page path of the associated resource file of the page of the dynamic website resource into the offline directory.
5. The method of claim 1, wherein the data for implementing dynamic functionality comprises: search entry data, user login information data, and tag data.
6. A device for processing a dynamic website, comprising:
the exporting unit is used for exporting the data for realizing the dynamic function in the dynamic website resources to the embedded database according to the identification information of the dynamic website resources so as to realize the off-line processing of the dynamic website resources; the identification information is determined from a resource list according to the dynamic website resources required by the user based on listing the dynamic website resources purchased by the user on the resource list, and the resource list is provided with identification information of various dynamic website resources required by the user;
the calling-out unit is used for calling out the page content of the page of the dynamic website resource according to the identification information of the dynamic website resource;
the processing unit is used for carrying out staticizing processing on the page content of the page of the dynamic website resource according to a preset processing mode to obtain a static page;
and the assembling unit is used for assembling the embedded database and the static page according to a preset assembling mode to obtain an offline project.
7. The apparatus of claim 6, wherein the exporting unit, when exporting the data for implementing the dynamic function in the dynamic website resource to the embedded database, comprises:
the exporting subunit is used for exporting the data for realizing the dynamic function in the dynamic website resources;
the first modification unit is used for modifying the derived file resource path in the data for realizing the dynamic function into an offline directory;
and the importing unit is used for importing the modified data for realizing the dynamic function into the embedded database.
8. The apparatus of claim 6, wherein the processing unit comprises:
the second modification unit is used for carrying out corresponding modification processing on different types of files in the page content of the page of the dynamic website resource;
and the downloading unit is used for downloading the page content of the modified page of the dynamic website resource to an offline directory to obtain the static page.
9. The apparatus of claim 8, wherein the second modification unit comprises:
a first modifying subunit, configured to modify a page path of the CSS-format file and the JS-format file in the page content into the offline directory;
the second modification subunit is used for modifying the coding format of the picture file in the page content into a preset format;
and the third modification subunit is used for modifying the page path of the resource file associated with the page of the dynamic website resource into the offline directory.
10. The apparatus of claim 6, wherein the data for implementing dynamic functionality comprises: search entry data, user login information data, and tag data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910736145.0A CN110516185B (en) | 2019-08-09 | 2019-08-09 | Method and device for processing dynamic website |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910736145.0A CN110516185B (en) | 2019-08-09 | 2019-08-09 | Method and device for processing dynamic website |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110516185A CN110516185A (en) | 2019-11-29 |
CN110516185B true CN110516185B (en) | 2022-04-22 |
Family
ID=68624710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910736145.0A Active CN110516185B (en) | 2019-08-09 | 2019-08-09 | Method and device for processing dynamic website |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110516185B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806669A (en) * | 2021-09-27 | 2021-12-17 | 深圳本地宝新媒体技术有限公司 | Website management background generation method and device and server |
CN117910438B (en) * | 2024-03-13 | 2024-06-21 | 江苏中威科技软件系统有限公司 | Dynamic format file DLF generation device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183395A (en) * | 2007-12-25 | 2008-05-21 | 北京中企开源信息技术有限公司 | Method and system for realizing staticize of dynamic page |
CN101789012A (en) * | 2010-02-03 | 2010-07-28 | 南京联创科技集团股份有限公司 | J2EE (Java 2 Platform Enterprise Edition) based solution for staticizing WEB dynamic page |
CN103034496A (en) * | 2012-12-13 | 2013-04-10 | 海南电网公司 | Locally-static portal generation method based on template |
CN104298723A (en) * | 2014-09-24 | 2015-01-21 | 蓝盾信息安全技术有限公司 | Method for achieving page staticizing in website |
CN104317874A (en) * | 2014-10-20 | 2015-01-28 | 北京锐安科技有限公司 | Device and method for staticizing dynamic webpage |
CN106227763A (en) * | 2016-07-13 | 2016-12-14 | 珠海市魅族科技有限公司 | The method and device that a kind of webpage loads |
CN107229633A (en) * | 2016-03-24 | 2017-10-03 | 北京神州泰岳软件股份有限公司 | Static page generation method, Web access method and device |
CN108334562A (en) * | 2018-01-09 | 2018-07-27 | 阿里巴巴集团控股有限公司 | A kind of page display method and device |
CN109815432A (en) * | 2018-12-26 | 2019-05-28 | 北京博鳌纵横网络科技有限公司 | A method of site-wide staticization and a method of page staticization |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8078757B2 (en) * | 2009-06-30 | 2011-12-13 | The Go Daddy Group, Inc. | Rewritten URL static and dynamic content delivery |
-
2019
- 2019-08-09 CN CN201910736145.0A patent/CN110516185B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183395A (en) * | 2007-12-25 | 2008-05-21 | 北京中企开源信息技术有限公司 | Method and system for realizing staticize of dynamic page |
CN101789012A (en) * | 2010-02-03 | 2010-07-28 | 南京联创科技集团股份有限公司 | J2EE (Java 2 Platform Enterprise Edition) based solution for staticizing WEB dynamic page |
CN103034496A (en) * | 2012-12-13 | 2013-04-10 | 海南电网公司 | Locally-static portal generation method based on template |
CN104298723A (en) * | 2014-09-24 | 2015-01-21 | 蓝盾信息安全技术有限公司 | Method for achieving page staticizing in website |
CN104317874A (en) * | 2014-10-20 | 2015-01-28 | 北京锐安科技有限公司 | Device and method for staticizing dynamic webpage |
CN107229633A (en) * | 2016-03-24 | 2017-10-03 | 北京神州泰岳软件股份有限公司 | Static page generation method, Web access method and device |
CN106227763A (en) * | 2016-07-13 | 2016-12-14 | 珠海市魅族科技有限公司 | The method and device that a kind of webpage loads |
CN108334562A (en) * | 2018-01-09 | 2018-07-27 | 阿里巴巴集团控股有限公司 | A kind of page display method and device |
CN109815432A (en) * | 2018-12-26 | 2019-05-28 | 北京博鳌纵横网络科技有限公司 | A method of site-wide staticization and a method of page staticization |
Non-Patent Citations (1)
Title |
---|
站群系统动态化页面静态化的实现;刘全飞等;《电脑与信息技术》;20150515;第23卷(第5期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110516185A (en) | 2019-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101515300B (en) | Method and system for grabbing Ajax webpage content | |
CN105094889B (en) | A kind of application plug loading method and device | |
CN100367276C (en) | Method and appts for searching within a computer network | |
EP2724251B1 (en) | Methods for making ajax web applications bookmarkable and crawlable and devices thereof | |
CN108304498A (en) | Webpage data acquiring method, device, computer equipment and storage medium | |
WO2018106974A1 (en) | Content validation and coding for search engine optimization | |
US12010165B2 (en) | Cross-platform module for loading across a plurality of device types | |
Gheorghe et al. | Modern techniques of web scraping for data scientists | |
WO2005062205A1 (en) | Methods, applications and systems for deriving content from network resources | |
EP2438537A2 (en) | System and method for representing user interaction with a web service | |
CN110780868A (en) | Web site development method, device, device and storage medium based on componentized template | |
Nichols et al. | Highlight: a system for creating and deploying mobile web applications | |
CN111679828A (en) | Data processing method and device, electronic equipment and storage medium | |
CN101650713B (en) | Method and device for realizing tabs in browsers | |
CN110516185B (en) | Method and device for processing dynamic website | |
CN106487662B (en) | Information sharing method and device | |
US8577912B1 (en) | Method and system for robust hyperlinking | |
CN110738024A (en) | Method for converting WebAPP into API service interface | |
CN118740675A (en) | Network supportability testing method, device, equipment, medium and program product | |
EP2711838A1 (en) | Documentation parser | |
CN100458782C (en) | Display and installation of portlets on a client platform | |
EP3611616A1 (en) | Software code optimizer and method | |
KR20110136881A (en) | Computer Program and Method for Improving Accessibility for Rich Internet Application by Cooperative Crawling | |
US20020138526A1 (en) | Javascript code optimizer | |
CN115145670A (en) | Page display method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |