CN107798001A - Web page processing method, device and equipment - Google Patents
Web page processing method, device and equipment Download PDFInfo
- Publication number
- CN107798001A CN107798001A CN201610757362.4A CN201610757362A CN107798001A CN 107798001 A CN107798001 A CN 107798001A CN 201610757362 A CN201610757362 A CN 201610757362A CN 107798001 A CN107798001 A CN 107798001A
- Authority
- CN
- China
- Prior art keywords
- code
- template
- display module
- xml
- html
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation 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)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of web page processing method, device and equipment, and this method includes:According to web access requests, expandable mark language XML code corresponding to the display module of webpage to be shown is obtained;The code of predetermined position in the xml code, determine the type of the display module;Obtain the HTML code template with the type matching of the display module;Wherein, the type of each display module has corresponding relation with HTML code template;Conversion process is carried out to the xml code according to the HTML code template, obtains the HTML HTML code for showing the display module;Wherein, the HTML code is the code that browser is used to show the webpage.The present embodiment can improve the efficiency of webpage development.
Description
Technical field
The present invention relates to Internet technology, more particularly to a kind of web page processing method, device and equipment.
Background technology
Front end typically refers to the foreground partition of website for website, includes the presentation layer and structure sheaf of website, generally
Realized by client;Rear end typically refers to the back partition of website for website, generally by back-end server Lai real
It is existing.
In the prior art, when browser rear end server sends web-page requests, back-end server is sent out to browser
HTML (Hyper Text Markup Language, abbreviation HTML) code is sent, browser is loaded into HTML code,
And rendered according to the HTML code, after the completion of rendering by final page presentation on the window of browser.
However, because the syntax rule of HTML code is more complicated, the requirement not only to developer is higher, it is also necessary to opens
Hair personnel, which devote a tremendous amount of time, to write HTML code, causes the efficiency of webpage development very low.
The content of the invention
The present invention provides a kind of web page processing method, device and equipment, to improve webpage development efficiency.
On the one hand, the present invention provides a kind of web page processing method, including:
According to web access requests, expandable mark language XML generation corresponding to the display module of webpage to be shown is obtained
Code;
The code of predetermined position in the xml code, determine the type of the display module;
Obtain the HTML code template with the type matching of the display module;Wherein, the type of each display module
There is corresponding relation with HTML code template;
Conversion process is carried out to the xml code according to the HTML code template, obtains being used to show the display group
The HTML HTML code of part;Wherein, the HTML code is the code that browser is used to show the webpage.
As a kind of feasible implementation, the acquisition and the HTML code mould of the type matching of the display module
Plate, including:
In syntax rule storehouse, the template identification with the type matching of the display module is obtained;
HTML code template with the type matching of the display module is obtained according to the template identification, wherein, it is described
The corresponding relation of template identification and the type of display module is stored with syntax rule storehouse.
As a kind of feasible implementation, the keyword of the predetermined position in the xml code is described for indicating
The type of display module, it is described in syntax rule storehouse, obtain the template identification with the type matching of the display module, bag
Include:
The initial character of the keyword is obtained, the template class belonging to the initial character is determined in the syntax rule storehouse;
The template identification with the keyword match is obtained in the template class;Wherein, in the syntax rule storehouse also
Multiple template class is stored with, the template identification with the keyword match is stored with each template class.
It is described that the xml code is changed according to the HTML code template as a kind of feasible implementation
Processing, obtains the HTML HTML code for showing the display module, including:
Extract the first attribute and the property value in the xml code;
The second attribute with first attributes match is obtained in the HTML code template, by the property value assignment
To second attribute, the HTML code for showing the display module is obtained, wherein, second in the HTML code template
Attribute is entered as sky.
The present embodiment is by extracting the first attribute and property value in xml code corresponding to display module, in HTML code
The second attribute with the first attributes match is obtained in template, the property value is assigned to the second attribute, it is not necessary to carry out again other
Conversion, obtains the HTML code for showing display module, realizes and xml code standard quickly is changed into HTML code, so as to
Quickly to return to HTML code to browser, the response speed of web access requests is improved.
As a kind of feasible implementation, the code of the predetermined position in the xml code, institute is determined
The type of display module is stated, including:
The keyword of the type for indicating the display module is extracted in the outermost layer configuration item of the xml code.
As a kind of feasible implementation, xml code corresponding to the display module for obtaining webpage to be shown, bag
Include:
All xml codes are intercepted in the page code of the webpage to be shown;
According to the marking code of the xml code, the xml code is obtained in the xml code intercepted.
By the marking code of the xml code according to corresponding to display module, the display is obtained in the xml code intercepted
Xml code corresponding to component, can be with xml code corresponding to the quick obtaining display module, so as to quickly be returned to browser
HTML code is returned, improves the response speed of web access requests.
As a kind of feasible implementation, the marking code is preset function head and preset function tail;The basis
The marking code of the xml code, the xml code is obtained in the xml code intercepted, including:
In the xml code intercepted, default xml code is obtained, the default xml code includes the preset function head
With the preset function tail;
Xml code between the preset function head and the preset function tail is defined as the xml code.
It is described to intercept xml code in the page code of the webpage to be shown as a kind of feasible implementation,
Including:
All xml codes are intercepted in the page code of the webpage to be shown by default template engine.
As a kind of feasible implementation, the display module includes at least one of following web page element:Word,
Picture, audio, animation or video.
As a kind of feasible implementation, the webpage to be shown corresponds at least one display module.
As a kind of feasible implementation, the xml code presets the code of syntax rule for satisfaction.
On the other hand, the present invention provides a kind of page processor, including:
Xml code acquisition module, for according to web access requests, corresponding to the display module for obtaining webpage to be shown
Expandable mark language XML code;
Determination type module, for the code of the predetermined position in the xml code, determine the display module
Type;
Template acquisition module, for obtaining the HTML code template with the type matching of the display module;Wherein, each institute
The type and HTML code template for stating display module have corresponding relation;
Modular converter, for carrying out conversion process to the xml code according to the HTML code template, obtain being used to show
Show the HTML HTML code of the display module;Wherein, the HTML code is that browser is described for showing
The code of webpage.
As a kind of feasible implementation, the template acquisition module includes:
Template identification acquiring unit, in syntax rule storehouse, obtaining the mould with the type matching of the display module
Panel sign;
Template acquiring unit, for obtaining the HTML generations with the type matching of the display module according to the template identification
Code mask, wherein, the corresponding relation of template identification and the type of display module is stored with the syntax rule storehouse.
As a kind of feasible implementation, the keyword of the predetermined position in the xml code is described for indicating
The type of display module, the template identification acquiring unit are specifically used for,
The initial character of the keyword is obtained, the template class belonging to the initial character is determined in the syntax rule storehouse;
The template identification with the keyword match is obtained in the template class;Wherein, in the syntax rule storehouse also
Multiple template class is stored with, the template identification with the keyword match is stored with each template class.
As a kind of feasible implementation, the modular converter is specifically used for,
Extract the first attribute and the property value in the xml code;
The second attribute with first attributes match is obtained in the HTML code template, by the property value assignment
To second attribute, the HTML code for showing the display module is obtained, wherein, second in the HTML code template
Attribute is entered as sky.
As a kind of feasible implementation, the determination type module is specifically used for,
The keyword of the type for indicating the display module is extracted in the outermost layer configuration item of the xml code.
As a kind of feasible implementation, the xml code acquisition module is specifically used for,
All xml codes are intercepted in the page code of the webpage to be shown;
According to the marking code of the xml code, the xml code is obtained in the xml code intercepted.
Another aspect, the present invention provide a kind of Web Page Processing equipment, including:
Input equipment, for receiving the web access requests of browser transmission;
Processor, coupled with the input equipment, for according to web access requests, obtaining the display of webpage to be shown
Expandable mark language XML code corresponding to component;
The processor is additionally operable to, and the code of the predetermined position in the xml code, determines the display module
Type;
The processor is additionally operable to, and obtains the HTML code template with the type matching of the display module;Wherein, each institute
The type and HTML code template for stating display module have corresponding relation;
The processor is additionally operable to, and is carried out conversion process to the xml code according to the HTML code template, is used
In the HTML HTML code for showing the display module;
Output equipment, coupled with the processor, for the HTML code to be sent into the browser, so that described
Browser shows the webpage according to the HTML code.
As a kind of feasible implementation, the processor also particularly useful for,
In syntax rule storehouse, the template identification with the type matching of the display module is obtained;
HTML code template with the type matching of the display module is obtained according to the template identification, wherein, it is described
The corresponding relation of template identification and the type of display module is stored with syntax rule storehouse.
As a kind of feasible implementation, the keyword of the predetermined position in the xml code is described for indicating
The type of display module, the processor is also particularly useful for obtaining the initial character of the keyword, in the syntax rule storehouse
Determine the template class belonging to the initial character;
The template identification with the keyword match is obtained in the template class;Wherein, in the syntax rule storehouse also
Multiple template class is stored with, the template identification with the keyword match is stored with each template class.
As a kind of feasible implementation, the processor is also particularly useful for first extracted in the xml code belongs to
Property and property value;
The second attribute with first attributes match is obtained in the HTML code template, by the property value assignment
To second attribute, the HTML code for showing the display module is obtained, wherein, second in the HTML code template
Attribute is entered as sky.
As a kind of feasible implementation, the processor also particularly useful for,
The keyword of the type for indicating the display module is extracted in the outermost layer configuration item of the xml code.
As a kind of feasible implementation, the processor is specifically used for, in the page generation of the webpage to be shown
All xml codes are intercepted in code;
According to the marking code of the xml code, the xml code is obtained in the xml code intercepted.
As a kind of feasible implementation, the marking code is preset function head and preset function tail;The processing
Device also particularly useful for,
In the xml code intercepted, default xml code is obtained, the default xml code includes the preset function head
With the preset function tail;
Xml code between the preset function head and the preset function tail is defined as the xml code.
As a kind of feasible implementation, the processor by default template engine described also particularly useful for being treated
All xml codes are intercepted in the page code of the webpage of display.
Web page processing method, device and equipment provided by the invention, this method pass through the predeterminated position in xml code
The code at place, the type of display module is determined, the HTML code template with the type matching of display module is then obtained, according to institute
State HTML code template and conversion process is carried out to the xml code, obtain the hypertext markup for showing the display module
Language HTML code, developer only need to write simple xml code, it is possible to by HTML code template that this is simple
Xml code is converted to the HTML code of complexity, improves the efficiency that developer develops webpage, further, passes through HTML generations
Code mask, xml code is converted into HTML code, it is not necessary to other processing procedures are utilized, improve conversion speed, so as to
HTML code quickly is returned to browser, improves the response speed of web access requests.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of application scenarios schematic diagram of optional Web Page Processing of the present invention;
Fig. 2 is the schematic flow sheet for the web page processing method that one embodiment of the invention provides;
Fig. 3 is the structural representation in the syntax rule storehouse that one embodiment of the invention provides;
Fig. 4 is the schematic flow sheet for the web page processing method that one embodiment of the invention provides;
Fig. 5 is the display renderings for the ring-shaped component that one embodiment of the invention provides;
Fig. 6 is the structural representation for the page processor that one embodiment of the invention provides;
Fig. 7 is the structural representation for the page processor that one embodiment of the invention provides;
Fig. 8 is the hardware architecture diagram for the Web Page Processing equipment that one embodiment of the invention provides.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
For the sake of clarity, the specific word or the definition of phrase that the explanation present invention uses first.
Extensible markup language (eXtensible Markup Language, abbreviation XML), it is that a kind of simple data are deposited
Language is stored up, using a series of simple mark description data, and these marks can be established with convenient mode.That is XML is one
Set is rigorous using upper rule, but simple declarative language.
HTML (HyperText Markup Language, abbreviation HTML), be for " webpage create and its
A kind of markup language of the information that it can see in web browser " design.
Velocity is a template engine framework based on Java, there is provided template instruction can use in Java it is fixed
On the object and variable of justice.Velocity provides an ant task for being Anakia, can read XML file.
Display module:The part of webpage, including at least one of following web page element:Word, picture, audio,
Animation or video.Such as:The word and ring for including " yesterday, which pulls, receives promptness rate " compare component than the ring of picture;Or include
The weather component of weather picture and weather data, multiple display modules constitute webpage.
Content element in xml code:For indicating the content of web displaying.
The present invention provides a kind of web page processing method, is entered to solve developer in the prior art by HTML code
Row webpage development, the problem of causing development efficiency low.In the present embodiment, developer is only needed to write simple XML generations
Code, in Web server side, Web server can is converted to the simple xml code HTML code of complexity, then will
The complicated HTML code is sent to Web browser so that Web server completes final web displaying.With reference to Fig. 1,
The application scenarios of invention are illustrated.
Fig. 1 is a kind of application scenarios schematic diagram of optional Web Page Processing of the present invention.As shown in figure 1, user is clear in Web
Look in device or Web client and input network address, then Web browser obtains the network address of user's input, and the net is inquired to dns server 20
The IP address of location, dns server investigate the IP address for the network address being asked, and the IP address of the network address is returned to Web browser,
Web browser sends web access requests according to the IP address to Web server, and Web browser obtains webpage to be shown
Xml code corresponding to display module, xml code is converted into by HTML code according to HTML code template, then Web server to
Web browser sends HTML code, and last Web browser is rendered according to the HTML code to show webpage.The present embodiment
In Web client or Web browser can carry on the terminal device, the terminal device can be computer, mobile phone, flat board etc.
The equipment that webpage can be browsed by browser.
From the foregoing, it will be observed that the developer of the present embodiment or without it is any exploitation basis personnel can be by simple
Xml code quickly develops webpage, i.e. developer only needs to write simple xml code, in Web server side, Web service
Xml code is converted to complicated HTML code, improves the development efficiency of webpage by device can according to HTML code template.
Further, the present embodiment realizes conversion of the xml code to HTML code by HTML code template, it is not necessary to
Other complicated convert files or transfer process, conversion efficiency is improved, and Code Template can be added, deleted,
The operation such as modification, it is achieved thereby that the flexibility of web displaying.
Detailed embodiment will be used below, to illustrate Web server after web access requests are received, how root
Xml code is converted into HTML code according to HTML code template.
Fig. 2 is the schematic flow sheet for the web page processing method that one embodiment of the invention provides.The executive agent of the present embodiment
Can be web page processing method device, the device can be realized by software and/or hardware.The device can also be configured in as
In Web server shown in Fig. 1.As shown in Fig. 2 this method includes:
Step 101, according to web access requests, obtain xml code corresponding to the display module of webpage to be shown.
During specific implementation, when receiving the web access requests of browser transmission, from internal memory obtaining this treats
Xml code corresponding to the display module of the webpage of display.It will be understood by those skilled in the art that the webpage includes multiple display groups
Part, accordingly, then obtain xml code corresponding to multiple display modules.The present embodiment is for the ease of description, with an xml code
Exemplified by, to be described in detail.The xml code can be developer according to default syntax rule come the code write.Due to
Xml code is simple declarative language, then for developer, is very easy to grasp and write.
The code of step 102, predetermined position in the xml code, determine the type of the display module.
After xml code is got, the code of the predetermined position in xml code, the class of the display module is determined
Type.Specifically, the type of the display module is written to xml code by developer when writing xml code in the form of keyword
In.The code of predetermined position is specifically as follows the keyword for being arranged on predetermined position.The predeterminated position for example can be generation
The original position of code, or the end position of code, can also be the initial code in the default row of code.With a tool
Exemplified by the example of body, the keyword of the type for representing display module is extracted in the outermost layer configuration item of xml code.
The type of the display module shape can be divided according to corresponding to display module.For example, the pass extracted
Key word is " ring ", then the type of display module is " ring " type, and the keyword extracted is the type of " broken line ", then display module
For " broken line " type etc., content implication can also be divided according to corresponding to display module, for example, for the difference in weather
Content implication, it is divided into " rainfall ", " wind-force " etc..For the dividing mode of the type of display module, the present embodiment is not done herein
Especially limitation.Alternatively, the keyword extracted can also be english keyword, for example, the keyword extracted is " ring ",
Then the type of display module is " ring " type, and the keyword extracted is " rain ", then the type of display module is " rainfall " class
Type.
Step 103, acquisition and the HTML code template of the type matching of the display module;Wherein, each display module
Type has corresponding relation with HTML code template.
HTML code template is stored with the local memory of Web server or the external memory storage of Web server, often
The display module of type is all corresponding with HTML code template.The corresponding relation can be default corresponding relation.
For example, the type of display module is " ring " type, corresponding HTML code template 1;The type of display module is " post
Shape " type, corresponding HTML code template 2;The type of display module is " broken line " type, corresponding HTML code template 3 etc..
According to the corresponding relation of the type of each display module and HTML code template, the type with display module can be obtained
The HTML code template of matching.
Step 104, according to the HTML code template to the xml code carry out conversion process, obtain be used for show institute
State the HTML HTML code of display module.
Specifically, xml code includes multiple first attributes and property value.For example, the first attribute is A1, property value is
" delivery yesterday promptness rate ".Accordingly, HTML code includes multiple second attributes and property value, in the present embodiment, HTML
The second attribute in Code Template is entered as sky.After HTML code template is got, it can obtain and be matched with the first attribute A1
The second attribute A2, wherein, the first attribute and the second attribute list reach identical implication, and the property value then is assigned into the second category
Property, obtain HTML code." yesterday deliver promptness rate " the second attribute A2 will be assigned to.Because HTML code is complex, then
The concrete form of HTML code template and HTML code is no longer enumerated herein.
In the present embodiment, the HTML code is the code that browser is used to show webpage.Therefore, by the xml code
After being converted to HTML code, the HTML code is sent to browser, browser is after the HTML code is received, according to this
HTML code is rendered, display module corresponding to display.It will be understood by those skilled in the art that browser is to all HTML
When code carries out rendering completion, you can to show final complete webpage.
The web page processing method that the present embodiment provides, by the code of the predetermined position in xml code, it is determined that aobvious
Show the type of component, the HTML code template with the type matching of display module is then obtained, according to the HTML code template
Conversion process is carried out to the xml code, the HTML HTML code for showing the display module is obtained, opens
Hair personnel only need to write simple xml code, it is possible to are converted to the simple xml code again by HTML code template
Miscellaneous HTML code, the efficiency that developer develops webpage is improved, further, by HTML code template, by xml code
Be converted to HTML code, it is not necessary to utilize other processing procedures, improve conversion speed, so as to quickly be returned to browser
HTML code, improve the response speed of web access requests.
Illustrate the specific implementation process of step 103 using detailed embodiment below.Specifically, in syntax rule storehouse
In, obtain the template identification with the type matching of display module;Obtained and the type matching of display module according to template identification
HTML code template, wherein, the corresponding relation of template identification and the type of display module is stored with syntax rule storehouse.
In the present embodiment, the corresponding relation of template identification and the type of display module is stored with syntax rule storehouse, this
Art personnel are appreciated that the corresponding HTML code template of each template identification.Table one gives one specifically in fact
Example is applied, to illustrate the corresponding relation of the type of template identification and display module.
Table one
The type of display module | Template identification | HTML code template |
" ring " type | ring | HTML code template 1 |
" broken line " type | broken line | HTML code template 2 |
" rainfall " type | rain | HTML code template 3 |
Alternatively, in order to improve the template identification found in syntax rule storehouse with the type matching of display module, this
Template identification is classified by embodiment, obtains multiple template class so that multiple template class is also stored with syntax rule storehouse.
It is determined that during HTML code template with the type matching of display module, the mould with the type matching of display module can be first searched
Plate class, then find in template class the html template of matching.
Specifically, the keyword of the predetermined position in xml code is used for the type for indicating display module.Closed getting
After key word, the initial character of keyword is obtained, the template class belonging to initial character is determined in syntax rule storehouse, then in template class
Middle acquisition and the template identification of keyword match.
In the present embodiment, the keyword can be english keyword, Chinese keyword, or other Languages type
Keyword.Here in connection with Fig. 3, by taking english keyword as an example, to illustrate to obtain the specific implementation process of template identification, Qi Tayu
Say that the keyword of type is similar, here is omitted for the present embodiment.
Fig. 3 is the structural representation in the syntax rule storehouse that one embodiment of the invention provides.In the present embodiment, keyword is
English keyword.In the present embodiment, template identification is also realized with english keyword.When the type for indicating display module
English keyword with for indicate template identification english keyword it is identical when, the two matching.As shown in figure 3, the grammer is advised
Then storehouse is classified with 26 English alphabets, under each classification, including it is multiple be used to indicate template identification English it is crucial
Word.Therefore, the initial character of the english keyword can be extracted, then template class is searched with the initial character, then in the template
In class, template identification is searched.By taking a specific example as an example, the keyword of the predetermined position extraction in xml code is
" ring ", then the initial character for obtaining the keyword " ring " is " R ", and the pass for indicating template identification is then searched in R classes
Key word " ring ", then obtain HTML code template corresponding to the template identification.
It will be understood by those skilled in the art that the keyword in the type for indicating display module is Chinese keyword
When, 26 English alphabets are again may be by syntax rule storehouse and are classified, can now obtain the Chinese keyword
The initial of the Chinese phonetic alphabet of first Chinese character, template class then is searched with the initial, then in the template class, search mould
Panel sign.By taking a specific example as an example, the keyword of the predetermined position extraction in xml code is " ring ratio ", then obtains
The initial for taking the keyword " ring " is " H ", the keyword " ring " for indicating template identification is then searched in H classes, then
Obtain HTML code template corresponding to the template identification.
The present embodiment determines the template class belonging to initial character by obtaining the initial character of keyword in syntax rule storehouse;
Then the template identification with keyword match is obtained in template class, by HTML code template classification, it is not necessary in grammer
The process matched in rule base to all HTML code templates, it is only necessary to template class corresponding to the initial character in keyword
The middle process matched, so as to reduce processing procedure, the operation efficiency of processing is improved, quickly can be returned to user
HTML code, improve Consumer's Experience.
With reference to an optional embodiment, the web page processing method of the present invention is described in detail.In this implementation
In example, illustrated so that the type of the display module of a webpage to be shown is " ring " type as an example.
Fig. 4 is the schematic flow sheet for the web page processing method that one embodiment of the invention provides.As shown in figure 4, this method bag
Include:
Step 401, receive the web access requests that browser is sent.
Specific steps can be found in the embodiment shown in Fig. 1, and here is omitted for the present embodiment.
Step 402, all xml codes are intercepted in the page code of webpage to be shown.
Specifically, all xml codes are intercepted in the page code of webpage to be shown by default template engine.This is pre-
If template engine is specifically as follows Velocity template engines.
Step 403, according to corresponding to display module xml code marking code, obtained in the xml code intercepted aobvious
Show xml code corresponding to component.
It will be understood by those skilled in the art that in the page code of the webpage, not only including corresponding to each display module
Xml code, in addition to other xml codes.Therefore, it is necessary to obtain XML corresponding to the display module in the xml code intercepted
Code.
Specifically, the display module can be obtained in the xml code intercepted according to the marking code of the xml code
Corresponding xml code.The marking code can be the predetermined symbol positioned at the xml code head and afterbody, or be located at
The preset function head on the xml code head, and the preset function tail positioned at the xml code afterbody.
By taking a specific example as an example, preset function head is #legao (), and preset function tail is #end.Then intercepting
Xml code in, obtain default xml code, the xml code includes the preset function head and preset function tail.Specifically, to
The xml code of interception is scanned, if it find that " #legao () ", then represent code since the preset function head below as
This that to be looked for xml code, untill " #end ".So " #legao () " has just oriented what is looked for together with " #end "
The xml code.The xml code between preset function head and preset function tail is finally defined as the corresponding XML of the display module
Code.
The marking code of the present embodiment xml code according to corresponding to display module, being obtained in the xml code intercepted should
Xml code corresponding to display module, can be with xml code corresponding to the quick obtaining display module, so as to quickly to browsing
Device returns to HTML code, improves the response speed of web access requests.
The code of predetermined position in step 404, the xml code according to corresponding to display module, determines display module
Type.
The implementation of step 404 is similar with the implementation of step 102, and here is omitted for the present embodiment.This implementation
Example this sentence exemplified by a specific embodiment to illustrate.
Specifically, the keyword of the type for indicating display module is extracted in the outermost layer configuration item of the xml code.
For example, in xml code corresponding to the display module, that is extracted in the outermost layer configuration item is used to indicate the class of display module
The keyword of type is " ring ", and the keyword is used to indicate that the type of display module to be " ring " type, i.e. the display module is ring
Shape component.
Step 405, acquisition and the HTML code template of the type matching of display module.
The implementation process of step 405 is similar with step 103, and here is omitted for the present embodiment.It should be noted that should
The HTML code template of " ring " type matching, it is the HTML code template of a general ring-shaped component.In the present embodiment, it is
It is easy to illustrate, be properly termed as HTML code template 1, the annular corresponding to the HTML code template 1 can represent any implication
Annular content.For example, the ring-shaped component can be used for express yesterday delivery promptness rate, yesterday sales volume, this month growth rate of real estate price,
First quarter house exchange hand etc..
The first attribute and property value in xml code corresponding to step 406, extraction display module.
In the aforementioned embodiment, it has been determined that the type of display module is " ring " type type.Extract the ring-shaped component pair
The first attribute in the xml code answered is " A1 ", property value is " delivery yesterday promptness rate ".Those skilled in the art can manage
Solution, the first attribute can also be multiple, for example, the example of another the first attribute in xml code corresponding to the ring-shaped component is such as
Under, the first attribute is " B1 ", property value is " ring ratio ".
It will be understood by those skilled in the art that step 405 and step 406 are without strict sequential relationship.
Step 407, acquisition and the second attribute of the first attributes match in HTML code template, the property value is assigned to
Second attribute, obtain the HTML code for showing display module.
The second attribute with the first attributes match is obtained in HTML code template 1.For example, the first attribute " A1 " matching
Second attribute is " A2 ", and it is " A2 " that " delivery yesterday promptness rate " is assigned into the second attribute;The second of first attribute " B1 " matching
Attribute is " B2 ", and " ring ratio " is assigned into the second attribute " B2 ", obtains the HTML code for showing the ring-shaped component.
Step 408, HTML code is sent to browser, so that browser shows webpage according to HTML code.
In browser side, rendered according to the HTML code, the final ring-shaped component is particularly shown as shown in Figure 5.
Fig. 5 is the display renderings for the ring-shaped component that one embodiment of the invention provides.As shown in figure 5, shown in the ring-shaped component
The related content of delivery yesterday promptness rate, including delivery yesterday promptness rate is 65%, ring is furnished with yesterday and delivered than increase by 28%
The annular picture of promptness rate.
The present embodiment is by extracting the first attribute and property value in xml code corresponding to display module, in HTML code
The second attribute with the first attributes match is obtained in template, the property value is assigned to the second attribute, it is not necessary to carry out again other
Conversion, obtains the HTML code for showing display module, realizes and xml code standard quickly is changed into HTML code, so as to
Quickly to return to HTML code to browser, the response speed of web access requests is improved.
The page processor of one or more embodiments described in detail below according to the application.The Web Page Processing fills
Putting can be implemented in various equipment, for example, server device, server, webserver etc..Those skilled in the art can
To understand, the step of commercially available nextport hardware component NextPort can be used to be instructed by this programme for the page processor, is configured come structure
Into.For example, be related to control function, the module of more New function in following embodiments can be using from Texas Instruments, English
The components such as the single-chip microcomputers of the enterprises such as Te Er companies, ARM companies, microcontroller, microprocessor are realized.
Following is the application device embodiment, can be used for performing the application embodiment of the method.It is real for the application device
The details not disclosed in example is applied, refer to the application embodiment of the method.
Fig. 6 is the structural representation for the page processor that one embodiment of the invention provides, as shown in fig. 6, the device, bag
Include:
Xml code acquisition module 11, for according to web access requests, the display module for obtaining webpage to be shown to be corresponding
Expandable mark language XML code;
Determination type module 12, for the code of the predetermined position in the xml code, determine the display group
The type of part;
Template acquisition module 13, for obtaining the HTML code template with the type matching of the display module;Wherein, respectively
The type of the display module has corresponding relation with HTML code template;
Modular converter 14, for carrying out conversion process to the xml code according to the HTML code template, it is used for
Show the HTML HTML code of the display module;Wherein, the HTML code is used to show institute for browser
State the code of webpage.
The page processor that the embodiment of the present application provides, can perform above method embodiment, its realization principle and skill
Art effect is similar, will not be repeated here.
Fig. 7 is the structural representation for the page processor that one embodiment of the invention provides.The present embodiment is in Fig. 6 embodiments
On the basis of realize, it is specific as follows:
The template acquisition module 13 includes:
Template identification acquiring unit 131, in syntax rule storehouse, obtaining and the type matching of the display module
Template identification;
Template acquiring unit 132, for being obtained and the type matching of the display module according to the template identification
HTML code template, wherein, the corresponding relation of template identification and the type of display module is stored with the syntax rule storehouse.
Alternatively, the keyword of the predetermined position in the xml code is used for the type for indicating the display module, institute
Template identification acquiring unit 131 is stated to be specifically used for,
The initial character of the keyword is obtained, the template class belonging to the initial character is determined in the syntax rule storehouse;
The template identification with the keyword match is obtained in the template class;Wherein, in the syntax rule storehouse also
Multiple template class is stored with, the template identification with the keyword match is stored with each template class.
Alternatively, the modular converter 14 is specifically used for,
Extract the first attribute and the property value in the xml code;
The second attribute with first attributes match is obtained in the HTML code template, by the property value assignment
To second attribute, the HTML code for showing the display module is obtained, wherein, second in the HTML code template
Attribute is entered as sky.
Alternatively, the determination type module 12 is specifically used for,
The keyword of the type for indicating the display module is extracted in the outermost layer configuration item of the xml code.
Alternatively, the xml code acquisition module 11 is specifically used for,
All xml codes are intercepted in the page code of the webpage to be shown;
According to the marking code of the xml code, the xml code is obtained in the xml code intercepted.
Alternatively, display module includes at least one of following web page element:Word, picture, audio, animation regard
Frequently.
Alternatively, webpage to be shown corresponds at least one display module.
Alternatively, xml code presets the code of syntax rule for satisfaction.
The page processor that the embodiment of the present application provides, can perform above method embodiment, its realization principle and skill
Art effect is similar, will not be repeated here.
Fig. 8 is the hardware architecture diagram for the Web Page Processing equipment that one embodiment of the invention provides, as shown in figure 8, this sets
It is standby to include input equipment 20, processor 21, output equipment 23, memory 24 and at least one communication bus 25.Communication is total
Line 25 is used to realize the communication connection between element.Memory 24 may include high-speed RAM memory, it is also possible to also including non-easy
The property lost storage NVM, a for example, at least magnetic disk storage, can store various programs in memory 24, for completing various places
Reason function and the method and step for realizing the present embodiment.
Optionally, above-mentioned processor 21 for example can be central processing unit (Central Processing Unit, abbreviation
CPU), application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable
Logical device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real
It is existing.
Optionally, above-mentioned input equipment 20 can include a variety of input equipments, such as can include device oriented equipment
It is at least one in interface, the programmable interface of software, transceiver.Above-mentioned output equipment 23 can include a variety of outputs and set
It is standby, such as can include at least one in device oriented equipment interface, the programmable interface of software, transceiver.
In the present embodiment, input equipment 20, for receiving the web access requests of browser transmission;
Processor 21, coupled with the input equipment 20, for according to web access requests, obtaining webpage to be shown
Expandable mark language XML code corresponding to display module;
The processor 21 is additionally operable to, the code of the predetermined position in the xml code, determines the display group
The type of part;
The processor 21 is additionally operable to, and obtains the HTML code template with the type matching of the display module;Wherein, respectively
The type of the display module has corresponding relation with HTML code template;
The processor 21 is additionally operable to, and is carried out conversion process to the xml code according to the HTML code template, is obtained
For showing the HTML HTML code of the display module;
Output equipment 23, coupled with the processor 21, for the HTML code to be sent into the browser, so that
The browser shows the webpage according to the HTML code.
Alternatively, the processor also particularly useful for,
In syntax rule storehouse, the template identification with the type matching of the display module is obtained;
HTML code template with the type matching of the display module is obtained according to the template identification, wherein, it is described
The corresponding relation of template identification and the type of display module is stored with syntax rule storehouse.
Alternatively, the keyword of the predetermined position in the xml code is used for the type for indicating the display module, institute
Processor 21 is stated also particularly useful for obtaining the initial character of the keyword, the initial character is determined in the syntax rule storehouse
Affiliated template class;
The template identification with the keyword match is obtained in the template class;Wherein, in the syntax rule storehouse also
Multiple template class is stored with, the template identification with the keyword match is stored with each template class.
Alternatively, the processor 21 is also particularly useful for extracting the first attribute and the property value in the xml code;
The second attribute with first attributes match is obtained in the HTML code template, by the property value assignment
To second attribute, the HTML code for showing the display module is obtained, wherein, second in the HTML code template
Attribute is entered as sky.
Alternatively, the processor 21 also particularly useful for,
The keyword of the type for indicating the display module is extracted in the outermost layer configuration item of the xml code.
Alternatively, the processor 21 is specifically used for, and all XML are intercepted in the page code of the webpage to be shown
Code;
According to the marking code of the xml code, the xml code is obtained in the xml code intercepted.
Alternatively, the marking code is preset function head and preset function tail;The processor also particularly useful for,
In the xml code intercepted, default xml code is obtained, the default xml code includes the preset function head
With the preset function tail;
Xml code between the preset function head and the preset function tail is defined as the xml code.
Alternatively, the processor 21 is also particularly useful for by presetting page of the template engine in the webpage to be shown
All xml codes are intercepted in the code of face.Alternatively, display module includes at least one of following web page element:Word, figure
Piece, audio, animation or video.
Alternatively, webpage to be shown corresponds at least one display module.
Alternatively, xml code presets the code of syntax rule for satisfaction.
The Web Page Processing equipment that the embodiment of the present application provides, can perform above method embodiment, its realization principle and skill
Art effect is similar, will not be repeated here.
The term used in embodiments of the present invention is only merely for the purpose of description specific embodiment, and is not intended to be limiting
The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims
It is also intended to including most forms, unless context clearly shows that other implications.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent
There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, individualism B these three
Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It will be appreciated that though XXX may be described using term first, second, third, etc. in embodiments of the present invention, but
These XXX should not necessarily be limited by these terms.These terms are only used for XXX being distinguished from each other out.For example, implementation of the present invention is not being departed from
In the case of example scope, the first XXX can also be referred to as the 2nd XXX, and similarly, the 2nd XXX can also be referred to as the first XXX.
Depending on linguistic context, word as used in this " if ", " if " can be construed to " ... when " or
" when ... " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " such as
Fruit detects (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when detection (statement
Condition or event) when " or " in response to detect (condition or event of statement) ".
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising, so that commodity or system including a series of elements not only include those key elements, but also including without clear and definite
The other element listed, or also include for this commodity or the intrinsic key element of system.In the feelings not limited more
Under condition, the key element that is limited by sentence "including a ...", it is not excluded that in the commodity including the key element or system also
Other identical element be present.
Above-mentioned readable storage storage medium can be by any kind of volatibility or non-volatile memory device or it
Combination realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable
Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, soon
Flash memory, disk or CD.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (25)
- A kind of 1. web page processing method, it is characterised in that including:According to web access requests, expandable mark language XML code corresponding to the display module of webpage to be shown is obtained;The code of predetermined position in the xml code, determine the type of the display module;Obtain the HTML code template with the type matching of the display module;Wherein, the type of each display module with HTML code template has corresponding relation;Conversion process is carried out to the xml code according to the HTML code template, obtained for showing the display module HTML HTML code;Wherein, the HTML code is the code that browser is used to show the webpage.
- 2. according to the method for claim 1, it is characterised in that the acquisition and the type matching of the display module HTML code template, including:In syntax rule storehouse, the template identification with the type matching of the display module is obtained;HTML code template with the type matching of the display module is obtained according to the template identification, wherein, the grammer The corresponding relation of template identification and the type of display module is stored with rule base.
- 3. according to the method for claim 2, it is characterised in that the keyword of the predetermined position in the xml code is used It is described in syntax rule storehouse in the type for indicating the display module, obtain the mould with the type matching of the display module Panel sign, including:The initial character of the keyword is obtained, the template class belonging to the initial character is determined in the syntax rule storehouse;The template identification with the keyword match is obtained in the template class;Wherein, also stored in the syntax rule storehouse There is multiple template class, the template identification with the keyword match is stored with each template class.
- 4. according to the method for claim 1, it is characterised in that it is described according to the HTML code template to the XML generations Code carries out conversion process, obtains the HTML HTML code for showing the display module, including:Extract the first attribute and the property value in the xml code;The second attribute with first attributes match is obtained in the HTML code template, the property value is assigned to institute The second attribute is stated, obtains the HTML code for showing the display module, wherein, the second attribute in the HTML code template Be entered as sky.
- 5. according to the method for claim 1, it is characterised in that the predetermined position in the xml code Code, the type of the display module is determined, including:The keyword of the type for indicating the display module is extracted in the outermost layer configuration item of the xml code.
- 6. according to the method for claim 1, it is characterised in that corresponding to the display module for obtaining webpage to be shown Xml code, including:All xml codes are intercepted in the page code of the webpage to be shown;According to the marking code of the xml code, the xml code is obtained in the xml code intercepted.
- 7. according to the method for claim 6, it is characterised in that the marking code is preset function head and preset function Tail;The marking code according to the xml code, the xml code is obtained in the xml code intercepted, including:In the xml code intercepted, default xml code is obtained, the default xml code includes the preset function head and institute State preset function tail;Xml code between the preset function head and the preset function tail is defined as the xml code.
- 8. according to the method for claim 6, it is characterised in that described to be blocked in the page code of the webpage to be shown Xml code is cut, including:All xml codes are intercepted in the page code of the webpage to be shown by default template engine.
- 9. according to the method described in any one of claim 1 to 8, it is characterised in that the display module include it is following in extremely A kind of few web page element:Word, picture, audio, animation or video.
- 10. according to the method described in any one of claim 1 to 8, it is characterised in that the webpage to be shown corresponding at least one Individual display module.
- 11. according to the method described in any one of claim 1 to 8, it is characterised in that the xml code is the default grammer of satisfaction The code of rule.
- A kind of 12. page processor, it is characterised in that including:Xml code acquisition module, for according to web access requests, obtaining can to expand corresponding to the display module of webpage to be shown Open up mark language XML code;Determination type module, for the code of the predetermined position in the xml code, determine the class of the display module Type;Template acquisition module, for obtaining the HTML code template with the type matching of the display module;Wherein, it is each described aobvious The type and HTML code template for showing component have corresponding relation;Modular converter, for carrying out conversion process to the xml code according to the HTML code template, obtain being used to show institute State the HTML HTML code of display module;Wherein, the HTML code is that browser is used to show the webpage Code.
- 13. device according to claim 12, it is characterised in that the template acquisition module includes:Template identification acquiring unit, in syntax rule storehouse, obtaining the template mark with the type matching of the display module Know;Template acquiring unit, for obtaining the HTML code mould with the type matching of the display module according to the template identification Plate, wherein, the corresponding relation of template identification and the type of display module is stored with the syntax rule storehouse.
- 14. device according to claim 13, it is characterised in that the keyword of the predetermined position in the xml code For indicating the type of the display module, the template identification acquiring unit is specifically used for,The initial character of the keyword is obtained, the template class belonging to the initial character is determined in the syntax rule storehouse;The template identification with the keyword match is obtained in the template class;Wherein, also stored in the syntax rule storehouse There is multiple template class, the template identification with the keyword match is stored with each template class.
- 15. device according to claim 12, it is characterised in that the modular converter is specifically used for,Extract the first attribute and the property value in the xml code;The second attribute with first attributes match is obtained in the HTML code template, the property value is assigned to institute The second attribute is stated, obtains the HTML code for showing the display module, wherein, the second attribute in the HTML code template Be entered as sky.
- 16. device according to claim 12, it is characterised in that the determination type module is specifically used for,The keyword of the type for indicating the display module is extracted in the outermost layer configuration item of the xml code.
- 17. device according to claim 12, it is characterised in that the xml code acquisition module is specifically used for,All xml codes are intercepted in the page code of the webpage to be shown;According to the marking code of the xml code, the xml code is obtained in the xml code intercepted.
- A kind of 18. Web Page Processing equipment, it is characterised in that including:Input equipment, for receiving the web access requests of browser transmission;Processor, coupled with the input equipment, for according to web access requests, obtaining the display module of webpage to be shown Corresponding expandable mark language XML code;The processor is additionally operable to, the code of the predetermined position in the xml code, determines the class of the display module Type;The processor is additionally operable to, and obtains the HTML code template with the type matching of the display module;Wherein, it is each described aobvious The type and HTML code template for showing component have corresponding relation;The processor is additionally operable to, and conversion process is carried out to the xml code according to the HTML code template, obtains being used to show Show the HTML HTML code of the display module;Output equipment, coupled with the processor, for the HTML code to be sent into the browser, so that described browse Device shows the webpage according to the HTML code.
- 19. equipment according to claim 18, it is characterised in that the processor also particularly useful for,In syntax rule storehouse, the template identification with the type matching of the display module is obtained;HTML code template with the type matching of the display module is obtained according to the template identification, wherein, the grammer The corresponding relation of template identification and the type of display module is stored with rule base.
- 20. equipment according to claim 19, it is characterised in that the keyword of the predetermined position in the xml code For indicating the type of the display module, the processor is also particularly useful for obtaining the initial character of the keyword, described The template class belonging to the initial character is determined in syntax rule storehouse;The template identification with the keyword match is obtained in the template class;Wherein, also stored in the syntax rule storehouse There is multiple template class, the template identification with the keyword match is stored with each template class.
- 21. equipment according to claim 18, it is characterised in that the processor is also particularly useful for extracting the XML generations The first attribute and property value in code;The second attribute with first attributes match is obtained in the HTML code template, the property value is assigned to institute The second attribute is stated, obtains the HTML code for showing the display module, wherein, the second attribute in the HTML code template Be entered as sky.
- 22. equipment according to claim 18, it is characterised in that the processor also particularly useful for,The keyword of the type for indicating the display module is extracted in the outermost layer configuration item of the xml code.
- 23. equipment according to claim 18, it is characterised in that the processor is specifically used for, described to be shown All xml codes are intercepted in the page code of webpage;According to the marking code of the xml code, the xml code is obtained in the xml code intercepted.
- 24. equipment according to claim 23, it is characterised in that the marking code is preset function head and preset function Tail;The processor also particularly useful for,In the xml code intercepted, default xml code is obtained, the default xml code includes the preset function head and institute State preset function tail;Xml code between the preset function head and the preset function tail is defined as the xml code.
- 25. equipment according to claim 23, it is characterised in that the processor is also particularly useful for by presetting template Engine intercepts all xml codes in the page code of the webpage to be shown.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610757362.4A CN107798001B (en) | 2016-08-29 | 2016-08-29 | Webpage processing method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610757362.4A CN107798001B (en) | 2016-08-29 | 2016-08-29 | Webpage processing method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107798001A true CN107798001A (en) | 2018-03-13 |
CN107798001B CN107798001B (en) | 2022-03-22 |
Family
ID=61528219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610757362.4A Active CN107798001B (en) | 2016-08-29 | 2016-08-29 | Webpage processing method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107798001B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109067726A (en) * | 2018-07-24 | 2018-12-21 | 北京知道创宇信息技术有限公司 | It builds a station system identification method, device, electronic equipment and storage medium |
CN109614565A (en) * | 2018-04-04 | 2019-04-12 | 北京京东金融科技控股有限公司 | Webpage generating method and device |
CN109635175A (en) * | 2018-11-06 | 2019-04-16 | 北京字节跳动网络技术有限公司 | Page data joining method, device, readable storage medium storing program for executing and electronic equipment |
CN110704136A (en) * | 2019-09-27 | 2020-01-17 | 北京百度网讯科技有限公司 | Rendering method of small program assembly, client, electronic device and storage medium |
CN111125605A (en) * | 2019-12-31 | 2020-05-08 | 北京创鑫旅程网络技术有限公司 | Page element acquisition method and device |
CN112269576A (en) * | 2020-08-07 | 2021-01-26 | 北京沃东天骏信息技术有限公司 | Component display method and device, server and storage medium |
CN112329413A (en) * | 2019-08-02 | 2021-02-05 | 阿里巴巴集团控股有限公司 | Template building method, file generation method, template system, device and computer equipment |
CN112817588A (en) * | 2019-11-15 | 2021-05-18 | 北京京东尚科信息技术有限公司 | Page preview method, device and storage medium thereof |
CN112861483A (en) * | 2021-02-07 | 2021-05-28 | 吉林省科学技术信息研究所 | Online editing method for demonstration manuscript |
CN114077827A (en) * | 2020-08-17 | 2022-02-22 | 阿里巴巴集团控股有限公司 | Data report processing system, method and computer equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1987850A (en) * | 2005-12-20 | 2007-06-27 | 腾讯科技(深圳)有限公司 | Method for realizing AJAX webpage |
US20100077320A1 (en) * | 2008-09-19 | 2010-03-25 | United States Government As Represented By The Secretary Of The Navy | SGML/XML to HTML conversion system and method for frame-based viewer |
CN102163233A (en) * | 2011-04-18 | 2011-08-24 | 北京神州数码思特奇信息技术股份有限公司 | Method and system for converting webpage markup language format |
CN102646039A (en) * | 2012-02-29 | 2012-08-22 | 河海大学 | Software interface generating system and method based on extensible markup language (XML) Schema |
US8260845B1 (en) * | 2007-11-21 | 2012-09-04 | Appcelerator, Inc. | System and method for auto-generating JavaScript proxies and meta-proxies |
CN103544024A (en) * | 2013-11-12 | 2014-01-29 | 深圳如果技术有限公司 | Method and system for generating browser page and terminal device |
CN104915204A (en) * | 2015-06-08 | 2015-09-16 | 小米科技有限责任公司 | Web processing method and device |
CN105426172A (en) * | 2015-10-30 | 2016-03-23 | 北京金海明天软件技术有限公司 | XML analysis technique and template language based dynamic WEB page generation method |
CN105574049A (en) * | 2014-10-30 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Page processing method, device and system of mobile applications |
-
2016
- 2016-08-29 CN CN201610757362.4A patent/CN107798001B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1987850A (en) * | 2005-12-20 | 2007-06-27 | 腾讯科技(深圳)有限公司 | Method for realizing AJAX webpage |
US8260845B1 (en) * | 2007-11-21 | 2012-09-04 | Appcelerator, Inc. | System and method for auto-generating JavaScript proxies and meta-proxies |
US20100077320A1 (en) * | 2008-09-19 | 2010-03-25 | United States Government As Represented By The Secretary Of The Navy | SGML/XML to HTML conversion system and method for frame-based viewer |
CN102163233A (en) * | 2011-04-18 | 2011-08-24 | 北京神州数码思特奇信息技术股份有限公司 | Method and system for converting webpage markup language format |
CN102646039A (en) * | 2012-02-29 | 2012-08-22 | 河海大学 | Software interface generating system and method based on extensible markup language (XML) Schema |
CN103544024A (en) * | 2013-11-12 | 2014-01-29 | 深圳如果技术有限公司 | Method and system for generating browser page and terminal device |
CN105574049A (en) * | 2014-10-30 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Page processing method, device and system of mobile applications |
CN104915204A (en) * | 2015-06-08 | 2015-09-16 | 小米科技有限责任公司 | Web processing method and device |
CN105426172A (en) * | 2015-10-30 | 2016-03-23 | 北京金海明天软件技术有限公司 | XML analysis technique and template language based dynamic WEB page generation method |
Non-Patent Citations (3)
Title |
---|
K NETHRA等: "web content extraction using hybrid approach", 《ICTACT JOURNAL ON SOFT COMPUTING》 * |
姜欣等: "基于XML半结构化的Web网页信息提取研究", 《网络安全技术与应用》 * |
杨帆: "基于Web学习资源的移动互联转换技术的设计与实现", 《现代计算机(专业版) 》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109614565A (en) * | 2018-04-04 | 2019-04-12 | 北京京东金融科技控股有限公司 | Webpage generating method and device |
CN109614565B (en) * | 2018-04-04 | 2020-06-23 | 京东数字科技控股有限公司 | Webpage generation method and device |
CN109067726B (en) * | 2018-07-24 | 2021-04-13 | 北京知道创宇信息技术股份有限公司 | Identification method and device for station building system, electronic equipment and storage medium |
CN109067726A (en) * | 2018-07-24 | 2018-12-21 | 北京知道创宇信息技术有限公司 | It builds a station system identification method, device, electronic equipment and storage medium |
CN109635175A (en) * | 2018-11-06 | 2019-04-16 | 北京字节跳动网络技术有限公司 | Page data joining method, device, readable storage medium storing program for executing and electronic equipment |
CN109635175B (en) * | 2018-11-06 | 2021-12-31 | 北京字节跳动网络技术有限公司 | Page data splicing method and device, readable storage medium and electronic equipment |
CN112329413A (en) * | 2019-08-02 | 2021-02-05 | 阿里巴巴集团控股有限公司 | Template building method, file generation method, template system, device and computer equipment |
CN110704136A (en) * | 2019-09-27 | 2020-01-17 | 北京百度网讯科技有限公司 | Rendering method of small program assembly, client, electronic device and storage medium |
CN112817588A (en) * | 2019-11-15 | 2021-05-18 | 北京京东尚科信息技术有限公司 | Page preview method, device and storage medium thereof |
CN111125605A (en) * | 2019-12-31 | 2020-05-08 | 北京创鑫旅程网络技术有限公司 | Page element acquisition method and device |
CN112269576A (en) * | 2020-08-07 | 2021-01-26 | 北京沃东天骏信息技术有限公司 | Component display method and device, server and storage medium |
CN114077827A (en) * | 2020-08-17 | 2022-02-22 | 阿里巴巴集团控股有限公司 | Data report processing system, method and computer equipment |
CN112861483A (en) * | 2021-02-07 | 2021-05-28 | 吉林省科学技术信息研究所 | Online editing method for demonstration manuscript |
Also Published As
Publication number | Publication date |
---|---|
CN107798001B (en) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107798001A (en) | Web page processing method, device and equipment | |
CN105630876B (en) | Information acquisition method and device across application | |
CN103488781B (en) | Method, the search engine server of information search are provided | |
CN109766438A (en) | Biographic information extracting method, device, computer equipment and storage medium | |
CN108304498A (en) | Webpage data acquiring method, device, computer equipment and storage medium | |
CN103902535B (en) | Obtain the method, apparatus and system of associational word | |
US20170351371A1 (en) | Touch interaction based search method and apparatus | |
US9542365B1 (en) | Methods for generating e-mail message interfaces | |
CN107992523A (en) | The function choosing-item lookup method and terminal device of mobile application | |
US20220121668A1 (en) | Method for recommending document, electronic device and storage medium | |
CN102541853A (en) | Method and device which are capable of obtaining application information by utilizing browser address bar | |
CN102982117A (en) | Information search method and device | |
CN106909656A (en) | Obtain the method and device of Text Feature Extraction model | |
CN108809718A (en) | Network Access Method, system, computer equipment based on virtual resource and medium | |
CN102982118A (en) | Searching method and device based on favorites | |
CN103136281A (en) | Web search result display system and method thereof | |
CN104102704B (en) | System control methods of exhibiting and device | |
CN111209374A (en) | Data query display method and device, computer system and readable storage medium | |
CN109992711A (en) | Information recommendation method, device, computer equipment and storage medium | |
CN102231152A (en) | Searching method for precisely inquiring based on IP (Internet Protocol) address of mobile terminal | |
CN102063425A (en) | Translation method and device | |
CN105574091B (en) | Information-pushing method and device | |
US20230359827A1 (en) | Representing Confidence in Natural Language Processing | |
CN104573120A (en) | Recommendation information obtaining method and device for terminal | |
CN106815010A (en) | A kind of method and device of operating database |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180412 Address after: Four story 847 mailbox of the capital mansion of Cayman Islands, Cayman Islands, Cayman Applicant after: CAINIAO SMART LOGISTICS HOLDING Ltd. Address before: Cayman Islands Grand Cayman capital building a four storey No. 847 mailbox Applicant before: ALIBABA GROUP HOLDING Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |