CN105740475B - Web page conversion method and system - Google Patents

Web page conversion method and system Download PDF

Info

Publication number
CN105740475B
CN105740475B CN201610154451.XA CN201610154451A CN105740475B CN 105740475 B CN105740475 B CN 105740475B CN 201610154451 A CN201610154451 A CN 201610154451A CN 105740475 B CN105740475 B CN 105740475B
Authority
CN
China
Prior art keywords
page
page information
object model
document object
processing
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
Application number
CN201610154451.XA
Other languages
Chinese (zh)
Other versions
CN105740475A (en
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.)
National Sun Yat Sen University
Original Assignee
National Sun Yat Sen University
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 National Sun Yat Sen University filed Critical National Sun Yat Sen University
Priority to CN201610154451.XA priority Critical patent/CN105740475B/en
Publication of CN105740475A publication Critical patent/CN105740475A/en
Application granted granted Critical
Publication of CN105740475B publication Critical patent/CN105740475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention discloses a web page conversion method and a system, wherein the method comprises the following steps: processing an input HTML file by adopting an HTML document object model to obtain a document object model tree; performing sub-tree processing on the document object model tree, and acquiring page information elements corresponding to the sub-trees according to processing results; similarity processing is carried out on the page information elements, and a mapping relation between the page information elements is established according to a similarity processing result; and according to the mapping relation, injecting the page information to be converted into the target page along the mapping relation to complete page conversion. By implementing the embodiment of the invention, the work of webpage designers on UI design is reduced, and the produced converted webpage only needs to be slightly modified and adjusted by the designers, so that the webpage designers can intuitively select the template webpage, and the generated webpage can meet the preference of users to the maximum extent.

Description

Web page conversion method and system
Technical Field
The invention relates to the technical field of internet, in particular to a web page conversion method and a system.
Background
In recent years, with the popularization of networks and the increasing security and specialization of electronic payment technologies, online shopping becomes an important way for residents to shop. Increasingly, home appliance manufacturers such as Taobao, Tianmao, Suning and the national beauty rise, and drive the development of the electric appliance industry. With the increasing demand of people, more and more merchants open online stores, and great demand for online store webpage design is brought along with the online stores. In fact, a large number of existing online stores are excellent design samples, and if a method is available for quickly creating the online stores according to the webpage templates, the design cost can be greatly reduced. Unfortunately, there is currently no effective means to quickly build a web page using templates. The existing method for fast template conversion is mainly a page conversion method based on an equivalent template, which is similar to QQ space one-key skin change and blog one-key skin change; a page reconstruction method based on color transfer.
However, the above-mentioned page conversion method based on the peer template has strict and equal requirements on templates of an original webpage and a target webpage, and can ensure accurate information injection, but this also causes no change in aspects such as overall layout, plug-in layout, overall frame and the like after page conversion, and this page conversion only stays in conversion of surface color and style rather than generating webpages of different designs, and cannot be calculated as template conversion in the true sense; the page reconstruction method based on color delivery is only conversion on color, not conversion on a template, and cannot generate a new page to which another design is applied.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a web page conversion method and a web page conversion system, which reduce the work of a web page designer on UI design, and the produced converted web page only needs small modification and adjustment of the designer, and the web page designer can intuitively select a template web page, so that the generated web page can meet the preference of a user to the maximum extent.
In order to solve the technical problem, an embodiment of the present invention provides a web page conversion method, where the method includes:
processing an input HTML file by adopting an HTML document object model to obtain a document object model tree;
performing sub-tree processing on the document object model tree, and acquiring page information elements corresponding to the sub-trees according to processing results;
similarity processing is carried out on the page information elements, and a mapping relation between the page information elements is established according to a similarity processing result;
and according to the mapping relation, injecting the page information to be converted into the target page along the mapping relation to complete page conversion.
Preferably, the HTML file includes an HTML file to be converted and a target HTML file.
Preferably, the performing sub-tree processing on the document object model tree and acquiring the page information element corresponding to the sub-tree according to the processing result includes:
traversing the document object model tree to obtain leaf nodes of the document object model tree;
determining the current depth of the leaf node as d, and expanding the leaf node with the depth of d-1 according to the depth d;
calculating the occurrence frequency of the subtree in the leaf node with the depth of d-1 in the document object model tree;
if the frequency of occurrence is not less than the threshold value, continuing to expand the leaf node depth, and if the frequency of occurrence is less than the threshold value, outputting the subtree as a document object model subtree;
and acquiring the page information element corresponding to the document object model subtree.
Preferably, the performing similarity processing on the page information elements and establishing a mapping relationship between the page information elements according to a similarity processing result includes:
carrying out similarity processing on the page information elements to obtain two page information elements with highest similarity in the page information elements;
and performing association processing on the two page information elements with the highest similarity to acquire a mapping relation between the page information elements.
Preferably, the injecting the page information to be converted into the target page along the mapping relationship according to the mapping relationship between the page information elements includes:
processing a document object model subtree to obtain a minimum repeating unit of the document object model subtree;
injecting the page information to be converted into the minimum repeating unit of the target page along the mapping relation to obtain a conversion minimum repeating unit;
and performing page conversion according to the minimum conversion repeated unit to finish page conversion.
Correspondingly, the embodiment of the invention also provides a web page conversion system, which comprises:
the file processing module: the HTML document processing system is used for processing an input HTML document by adopting an HTML document object model to obtain a document object model tree;
a page information element acquisition module: the document object model tree is used for performing subtree processing on the document object model tree, and page information elements corresponding to the subtree are obtained according to the processing result;
a mapping establishment module: the system is used for carrying out similarity processing on the page information elements and establishing a mapping relation between the page information elements according to a similarity processing result;
a page conversion module: and the page conversion module is used for injecting the page information to be converted into the target page along the mapping relation according to the mapping relation to complete page conversion.
Preferably, the HTML file includes an HTML file to be converted and a target HTML file.
Preferably, the page information element obtaining module includes:
the traversal processing unit: the document object model tree is subjected to traversal processing to obtain leaf nodes of the document object model tree;
depth determination and extension unit: the leaf node is used for determining that the current depth of the leaf node is d, and expanding the leaf node with the depth of d-1 according to the depth d;
an appearance frequency calculation unit: the sub-tree is used for calculating the occurrence frequency of the sub-tree in the leaf node with the depth of d-1 in the document object model tree;
a judging unit: the leaf node depth expansion module is used for continuously expanding the leaf node depth if the occurrence frequency is not less than a threshold value, and outputting the subtree as a document object model subtree if the occurrence frequency is less than the threshold value;
a page information element acquisition unit: and acquiring the page information element corresponding to the document object model subtree.
Preferably, the mapping establishing module includes:
a similarity acquisition unit: the page information elements are subjected to similarity processing to obtain two page information elements with highest similarity in the page information elements;
a mapping establishing unit: and the mapping module is used for performing association processing according to the two page information elements with the highest similarity to acquire the mapping relation between the page information elements.
Preferably, the page conversion module includes:
a subtree processing unit: the document object model subtree is processed to obtain the minimum repeating unit of the document object model subtree;
an information injection unit: the minimum repeating unit is used for injecting the page information to be converted into the target page along the mapping relation according to the mapping relation to obtain a conversion minimum repeating unit;
a page conversion unit: and the page conversion is carried out according to the minimum repeating unit of conversion, so as to complete the page conversion.
In the implementation process of the embodiment of the invention, the work of webpage designers on UI design is reduced, and the produced converted webpage only needs to be slightly modified and adjusted by the designers, so that the webpage designers can intuitively select the template webpage, and the generated webpage can meet the preference of users to the maximum extent; in the whole process, the user only needs to select the original webpage and the template webpage, the whole process does not need manual participation, the user only needs to wait for the generation of a new webpage file, the operation is simple and convenient, the operation speed is high, and particularly, because the E-commerce webpage structures are often similar, the more similar the E-commerce webpage structures are, the better the conversion effect is.
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 some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram of a web page translation method of an embodiment of the invention;
FIG. 2 is a schematic diagram of a process for obtaining page information elements according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of injecting page information to be converted into a target page according to an embodiment of the present invention;
FIG. 4 is a schematic structural component diagram of a web page conversion system according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a page information element obtaining module according to an embodiment of the present invention;
fig. 6 is a schematic structural component diagram of a page conversion module 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.
Fig. 1 is a schematic flow diagram of a web page conversion method according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
s11: processing an input HTML file by adopting an HTML document object model to obtain a document object model tree;
s12: performing subtree processing on the document object model tree, and acquiring a page information element corresponding to the subtree according to a processing result;
s13: similarity processing is carried out on the page information elements, and a mapping relation between the page information elements is established according to a similarity processing result;
s14: and according to the mapping relation, injecting the page information to be converted into the target page along the mapping relation to complete page conversion.
Further explanation of S11 is:
the Document Object Model (DOM) is a browser, platform, and language independent interface that gives web designers or software developers a uniform standard to fully access data, scripts, and surface objects in their own sites. The method comprises the steps of processing an input HTML file by adopting an HTML Document Object Model (DOM), presenting a structure tree with elements, attributes and texts in the HTML file, and calling the structure tree as a document object model tree, wherein the input HTML file is divided into an HTML file to be converted and a target HTML file.
In the implementation process of the embodiment, if an irregular HTML document page is encountered, the code file is converted into an HTML file with a standard format by using an open source library such as a beautifull open source library, and then the HTML file object model (DOM) is used for processing.
Further explanation of S12 is:
performing document object model subtree processing on the document object model tree to obtain a document object model subtree, and obtaining a page information element corresponding to the subtree according to the document object model subtree; the document object model subtree is a subtree which keeps the semantic information as deep as possible and has high occurrence frequency.
Fig. 2 is a schematic flow chart of page information element acquisition according to an embodiment of the present invention, and as shown in fig. 2, the schematic flow chart is as follows:
s121: traversing the document object model tree to obtain leaf nodes of the document object model tree;
s122: determining the current depth of the leaf node as d, and expanding the leaf node with the depth of d-1 according to the depth d;
s123: calculating the occurrence frequency of the subtree in the leaf node with the depth of d-1 in the document object model tree;
s124: if the occurrence frequency is not less than the threshold value, returning to the step S122, and if the occurrence frequency is less than the threshold value, outputting the subtree as a document object model subtree;
s125: and acquiring the page information element corresponding to the document object model subtree.
Further explanation of S121 is:
in the embodiment of the invention, the document object model tree can be traversed in a hierarchical traversal or deep traversal mode, and each leaf node information of the document object model tree is obtained by traversing the document object model tree.
Further explanation of S122 is:
and determining the depth of the current leaf node according to the characteristics of the tree, setting the depth of the current leaf node as d, and expanding the current leaf node to the leaf node with the depth of a d-1 layer by adopting a 'growing' process.
Further explanation of S123 is:
when the 'growing' process is adopted to extend to the leaf nodes with the depth of d-1 layer, the number of sub-trees in the leaf nodes of d-1 layer is obtained by statistics, and then the occurrence frequency of the sub-trees in the whole document object model tree is calculated.
Further explanation of S124 is:
comparing the obtained occurrence frequency with a threshold, and if the occurrence frequency is not less than the comparison threshold, returning to the step S122; if the occurrence frequency is less than the comparison threshold, outputting the subtree as a document object model subtree; the comparison threshold value adopted in the embodiment of the present invention is 2, but the threshold value may be set according to different situations, depending on the specific situation of the user.
The following is an example of a document object model subtree:
Figure BDA0000943033360000071
further explanation of S125 is:
acquiring a corresponding page information element in a document object model subtree through the document object model subtree; the page information element is a unit of structure and information conversion between pages.
The following are page information elements of an example of the document object model subtree in S124:
Figure BDA0000943033360000072
further explanation of S13 is:
and carrying out similarity processing on the page information elements, and establishing a mapping relation between the page information elements according to a similarity processing result.
Further, traversing information elements and target page information elements in the page to be converted in a traversing mode to obtain the page information elements with the highest mutual similarity in the page information elements and the target page information elements to be converted; specifically, two cycles are performed, the first cycle traverses all page information elements Ae of all page information elements to Be converted, when each Ae traverses all page information elements Be in a target page information element in the second cycle, the two are compared with each other to obtain the similarity S between the two, and after the traversal comparison is completed, the S is the maximum, so that the page information element Ae and the page information element Be are most related.
And then, performing association processing on the two page information elements with the highest similarity, and establishing a mapping relation between the page information elements.
In the process of cycle traversal, two page information elements are input in the first cycle traversal and the second cycle traversal by means of a black box function Fnlp processed by natural language, and the display S of the two page information elements is output; in the process of page information element association, extracting the information of each page information element, converting the information into a phrase vector V, defining the distance between the elements of the two V by using an Fnlp function, and calculating the distance between the phrase vectors V by adopting a technology DTW for dynamically calculating the vector distance in consideration of the possibility of different lengths between different V to obtain the many-to-many mapping relation between the page information elements from the page to be converted to the target page.
Further explanation of S14 is:
and according to the mapping relation, injecting the page information to be converted into the target page along the mapping relation to complete page conversion.
Fig. 3 is a schematic flow chart of injecting page information to be converted into a target page according to an embodiment of the present invention, and as shown in fig. 3, the schematic flow chart is as follows:
s141: processing a document object model subtree to obtain a minimum repeating unit of the document object model subtree;
s142: injecting the page information to be converted into the minimum repeating unit of the target page along the mapping relation to obtain a conversion minimum repeating unit;
s143: and performing page conversion according to the minimum conversion repeating unit to finish page conversion.
Further explanation of S141 is:
performing minimum repeat unit processing on the document object model subtree to obtain a minimum repeat unit of the document object model subtree; the minimal repeating unit refers to a structural subtree with complete information structure and minimal repeated occurrence and semantic information removal in the document object model subtree.
Further, the processing procedure is that the subtree of the document object model "grows" from the leaf node of the subtree upwards, when the subtree of the document object model extends from the layer d to the layer d-1, the occurrence frequency of the subtree which is currently "grown" in the subtree of the document object model is judged, a threshold value F is set to be 2/3 of the number of nodes of the layer d-1, and if the occurrence frequency is greater than the threshold value F, the subtree which is downwards from the layer d-1 is judged to be the minimum repeating unit of the subtree of the document object model; if the frequency of occurrence is less than the threshold F, the document object model subtree continues to "grow".
An example of a medium-small repeat unit is as follows:
Figure BDA0000943033360000091
further explanation of S142 is:
and injecting the page information to be converted into the minimum repeating unit of the target page along the mapping relation to obtain the converted minimum repeating unit.
Further, after the mapping relation of the page information element between the page to be converted and the target page is obtained, the information of the page to be converted is injected into the minimum repeating unit of the target page along the mapping relation, and then copying and expanding are carried out to obtain the minimum repeating unit for replacement.
The minimum repeating unit process of injecting the information of the page to be converted into the target page is as follows:
Figure BDA0000943033360000092
Figure BDA0000943033360000101
further explanation of S143 is:
and performing page conversion according to the minimum conversion repeating unit to finish page conversion.
Furthermore, the information in the original page is replaced according to the information injected by the page to be converted in the lowest repeating unit of the conversion, so that the page conversion processing is realized, and the page conversion is completed.
Fig. 4 is a schematic structural component diagram of a web page conversion system according to an embodiment of the present invention, and as shown in fig. 4, the system includes:
the file processing module 11: the HTML document processing system is used for processing an input HTML document by adopting an HTML document object model to obtain a document object model tree;
the page information element obtaining module 12: the document object model tree is used for carrying out subtree processing on the document object model tree and acquiring a page information element corresponding to the subtree according to a processing result;
the mapping establishing module 13: the system is used for carrying out similarity processing on the page information elements and establishing a mapping relation between the page information elements according to a similarity processing result;
the page conversion module 14: and the page conversion module is used for injecting the page information to be converted into the target page along the mapping relation according to the mapping relation to complete page conversion.
Preferably, the HTML file includes an HTML file to be converted and a target HTML file.
Preferably, fig. 5 is a schematic structural diagram of a page information element obtaining module according to an embodiment of the present invention, and as shown in fig. 5, the page information element obtaining module 12 includes:
the traversal processing unit 121: the document object model tree is used for traversing the document object model tree to obtain leaf nodes of the document object model tree;
depth determination and expansion unit 122: the leaf node is used for determining that the current depth of the leaf node is d, and expanding the leaf node with the depth of d-1 according to the depth d;
the appearance frequency calculation unit 123: the method is used for calculating the frequency of appearance of the subtree in the leaf node with the depth of d-1 in the document object model tree;
the judging unit 124: the leaf node depth expansion module is used for continuously expanding the leaf node depth if the occurrence frequency is not less than the threshold value, and outputting the subtree as a document object model subtree if the occurrence frequency is less than the threshold value;
the page information element acquisition unit 125: and acquiring the page information element corresponding to the document object model subtree.
Preferably, the mapping module 13 includes:
a similarity acquisition unit: the page information element processing module is used for carrying out similarity processing on the page information elements and acquiring two page information elements with highest similarity in the page information elements;
a mapping establishing unit: and the mapping module is used for performing association processing according to the two page information elements with the highest similarity to acquire the mapping relation between the page information elements.
Preferably, fig. 6 is a schematic structural component diagram of a page conversion module according to an embodiment of the present invention, and as shown in fig. 6, the page conversion module 14 includes:
the subtree processing unit 141: the document object model subtree is processed to obtain the minimum repeating unit of the document object model subtree;
information injection unit 142: the minimum repeating unit is used for injecting the page information to be converted into the target page along the mapping relation according to the mapping relation to obtain a conversion minimum repeating unit;
page conversion unit 143: and the page conversion is carried out according to the minimum repeating unit of the conversion, and the page conversion is completed.
Specifically, the working principle of the system related function module according to the embodiment of the present invention may refer to the related description of the method embodiment, and is not described herein again.
In the implementation process of the embodiment of the invention, the work of webpage designers on UI design is reduced, and the produced converted webpage only needs to be slightly modified and adjusted by the designers, so that the webpage designers can intuitively select the template webpage, and the generated webpage can meet the preference of users to the maximum extent; in the whole process, the user only needs to select the original webpage and the template webpage, the whole process does not need manual participation, the user only needs to wait for the generation of a new webpage file, the operation is simple and convenient, the operation speed is high, and particularly, because the E-commerce webpage structures are often similar, the more similar the E-commerce webpage structures are, the better the conversion effect is.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, or the like.
In addition, the web page conversion method and system provided by the embodiment of the present invention are described in detail above, a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of web page translation, the method comprising:
processing an input HTML file by adopting an HTML document object model to obtain a document object model tree;
performing sub-tree processing on the document object model tree, and acquiring page information elements corresponding to the sub-trees according to processing results;
similarity processing is carried out on the page information elements, and a mapping relation between the page information elements is established according to a similarity processing result;
and according to the mapping relation, injecting the page information to be converted into the target page along the mapping relation to complete page conversion.
2. The web page conversion method according to claim 1, wherein the HTML file includes an HTML file to be converted and a target HTML file.
3. The method for converting a web page according to claim 1, wherein the performing sub-tree processing on the document object model tree and obtaining page information elements corresponding to the sub-tree according to the processing result comprises:
traversing the document object model tree to obtain leaf nodes of the document object model tree;
determining the current depth of the leaf node as d, and expanding the leaf node with the depth of d-1 according to the depth d;
calculating the occurrence frequency of the subtree in the leaf node with the depth of d-1 in the document object model tree;
if the frequency of occurrence is not less than the threshold value, continuing to expand the leaf node depth, and if the frequency of occurrence is less than the threshold value, outputting the subtree as a document object model subtree;
and acquiring the page information element corresponding to the document object model subtree.
4. The method for converting a web page according to claim 1, wherein the performing similarity processing on the page information elements and establishing a mapping relationship between the page information elements according to a similarity processing result includes:
carrying out similarity processing on the page information elements to obtain two page information elements with highest similarity in the page information elements;
and performing association processing on the two page information elements with the highest similarity to acquire a mapping relation between the page information elements.
5. The method for converting a web page according to claim 1, wherein said injecting the page information to be converted into the target page along the mapping relationship according to the mapping relationship between the page information elements comprises:
processing a document object model subtree to obtain a minimum repeating unit of the document object model subtree;
injecting the page information to be converted into the minimum repeating unit of the target page along the mapping relation to obtain a conversion minimum repeating unit;
and performing page conversion according to the minimum conversion repeated unit to finish page conversion.
6. A web page conversion system, the system comprising:
the file processing module: the HTML document processing system is used for processing an input HTML document by adopting an HTML document object model to obtain a document object model tree;
a page information element acquisition module: the document object model tree is used for performing subtree processing on the document object model tree, and page information elements corresponding to the subtree are obtained according to the processing result;
a mapping establishment module: the system is used for carrying out similarity processing on the page information elements and establishing a mapping relation between the page information elements according to a similarity processing result;
a page conversion module: and the page conversion module is used for injecting the page information to be converted into the target page along the mapping relation according to the mapping relation to complete page conversion.
7. The web page conversion system according to claim 6, wherein the HTML file includes an HTML file to be converted and a target HTML file.
8. The web page conversion system according to claim 6, wherein the page information element obtaining module includes:
the traversal processing unit: the document object model tree is subjected to traversal processing to obtain leaf nodes of the document object model tree;
depth determination and extension unit: the leaf node is used for determining that the current depth of the leaf node is d, and expanding the leaf node with the depth of d-1 according to the depth d;
an appearance frequency calculation unit: the sub-tree is used for calculating the occurrence frequency of the sub-tree in the leaf node with the depth of d-1 in the document object model tree;
a judging unit: the leaf node depth expansion module is used for continuously expanding the leaf node depth if the occurrence frequency is not less than a threshold value, and outputting the subtree as a document object model subtree if the occurrence frequency is less than the threshold value;
a page information element acquisition unit: and acquiring the page information element corresponding to the document object model subtree.
9. The web page transformation system of claim 6, wherein the mapping setup module comprises:
a similarity acquisition unit: the page information elements are subjected to similarity processing to obtain two page information elements with highest similarity in the page information elements;
a mapping establishing unit: and the mapping module is used for performing association processing according to the two page information elements with the highest similarity to acquire the mapping relation between the page information elements.
10. The web page transformation system of claim 6, wherein the page transformation module comprises:
a subtree processing unit: the document object model subtree is processed to obtain the minimum repeating unit of the document object model subtree;
an information injection unit: the minimum repeating unit is used for injecting the page information to be converted into the target page along the mapping relation according to the mapping relation to obtain a conversion minimum repeating unit;
a page conversion unit: and the page conversion is carried out according to the minimum repeating unit of conversion, so as to complete the page conversion.
CN201610154451.XA 2016-03-16 2016-03-16 Web page conversion method and system Active CN105740475B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610154451.XA CN105740475B (en) 2016-03-16 2016-03-16 Web page conversion method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610154451.XA CN105740475B (en) 2016-03-16 2016-03-16 Web page conversion method and system

Publications (2)

Publication Number Publication Date
CN105740475A CN105740475A (en) 2016-07-06
CN105740475B true CN105740475B (en) 2020-04-28

Family

ID=56251099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610154451.XA Active CN105740475B (en) 2016-03-16 2016-03-16 Web page conversion method and system

Country Status (1)

Country Link
CN (1) CN105740475B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991131A (en) * 2017-03-08 2017-07-28 陕西识代运筹信息科技股份有限公司 A kind of data processing method and device
CN107862328A (en) * 2017-10-31 2018-03-30 平安科技(深圳)有限公司 The regular execution method of information word set generation method and rule-based engine

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW486656B (en) * 1999-11-05 2002-05-11 Ibm Method and system for user-selectable shell from web server
CN101261632B (en) * 2008-04-08 2010-06-16 杭州电子科技大学 FrontPage operation paper evaluation method based on HTML grammar tree
CN102890681B (en) * 2011-07-20 2016-03-09 阿里巴巴集团控股有限公司 A kind of method and system of generating web page stay in place form
US8886679B2 (en) * 2011-10-11 2014-11-11 Hewlett-Packard Development Company, L.P. Mining web applications
WO2013063734A1 (en) * 2011-10-31 2013-05-10 Hewlett-Packard Development Company, L.P. Determining document structure similarity using discrete wavelet transformation
CN104866527A (en) * 2015-04-24 2015-08-26 美通云动(北京)科技有限公司 Dynamic webpage template matching method and device

Also Published As

Publication number Publication date
CN105740475A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN106462555B (en) Method and system for WEB content generation
CN105095433B (en) Entity recommended method and device
CN105677654B (en) Advertisement filtering method and device
US11423234B2 (en) Content generation using target content derived modeling and unsupervised language modeling
US9934208B2 (en) Populating visual designs with web content
WO2022048316A1 (en) Method and apparatus for designing front-end page, storage medium, and device
CN108984155B (en) Data processing flow setting method and device
CN110309516B (en) Training method and device of machine translation model and electronic equipment
CN107885737A (en) A kind of human-computer interaction interpretation method and system
US20150254211A1 (en) Interactive data manipulation using examples and natural language
JP7289942B2 (en) Font generation model training method, font library creation method, font generation model training device, font library creation device, electronic device, computer-readable storage medium, and computer program
US20230075403A1 (en) Voice packet recommendation method and apparatus, device and storage medium
CN105740475B (en) Web page conversion method and system
CN111913705B (en) JavaScript template implementation method based on difference updating algorithm
WO2020228536A1 (en) Icon generation method and apparatus, method for acquiring icon, electronic device, and storage medium
CN111930376A (en) Automatic generation of stylized icons
CN110110198B (en) Webpage information extraction method and device
WO2022237633A1 (en) Image processing method, apparatus, and device, and storage medium
Dave et al. A survey on Artificial Intelligence based techniques to convert User Interface design mock-ups to code
CN113867694A (en) Method and system for intelligently generating front-end code
Song Accuracy analysis of Japanese machine translation based on machine learning and image feature retrieval
CN109509110A (en) Method is found based on the hot microblog topic for improving BBTM model
CN112991148B (en) Style image generation method, model training method, device, equipment and medium
CN115082298A (en) Image generation method, image generation device, electronic device, and storage medium
CN114995729A (en) Voice drawing method and device and computer equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant