CN104765844A - Website page generating method and device - Google Patents

Website page generating method and device Download PDF

Info

Publication number
CN104765844A
CN104765844A CN201510181506.1A CN201510181506A CN104765844A CN 104765844 A CN104765844 A CN 104765844A CN 201510181506 A CN201510181506 A CN 201510181506A CN 104765844 A CN104765844 A CN 104765844A
Authority
CN
China
Prior art keywords
page
website
address
rendering
browser
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
Application number
CN201510181506.1A
Other languages
Chinese (zh)
Other versions
CN104765844B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201510181506.1A priority Critical patent/CN104765844B/en
Publication of CN104765844A publication Critical patent/CN104765844A/en
Application granted granted Critical
Publication of CN104765844B publication Critical patent/CN104765844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a website page generating method and device. By the adoption of the website page generating method and device, a website page having a page management function can be generated, the problem that a content manager can not directly manage page content while browsing the page content is solved, management function abnormity caused by adjustment of the browsed page is avoided, meanwhile, user experience of visitors and the manager are improved, and the complexity of management function addition is reduced. The web page generating method comprises the steps that a website domain is acquired from the rendered page of a browser; an extending configuration file corresponding to the website domain is searched for; according to a page rendering file address in the extending configuration file, a page rendering file corresponding to the address is loaded; according to the page rendering file, the browser is called to render the rendered page again, and therefore the website page having the page management function is generated.

Description

A kind of generation method and apparatus of Website page
Technical field
The present invention relates to field of computer technology, particularly a kind of generation method and apparatus of Website page.
Background technology
Along with the development of website, progressively complete being separated of website browsing function and web content management function.But in fact while completing above two functions separation, sacrifice the experience of a part of content manager and the efficiency of management to content, content manager can not be managed fast when browsing web sites the content of the page, could can only operate on Content Management backstage through repeatedly redirect.
Manage fast when browsing web sites content of pages in order to content manager can be allowed, existing technical scheme is after webpage has loaded, again initiate request, Website server judges whether according to the user role of client browser can use management function, and result is returned, revised the Website page presented in a browser again by browser plug-in, thus the link of management function point is added in Website page.
Following problem is there is in existing scheme:
1. content manager directly cannot complete the management of content of pages when browsing pages content;
2. because the many execution of browser are once asked, on to a certain degree, therefore consume the performance of server;
3. after request msg returns by server, when presenting Website page in a browser by browser plug-in amendment, because the function of the page that will adjust influences each other, if with the web page element change associated by the function needing to adjust, then need the function of synchronous vacations respective associated, not only easily cause problem like this, but also add the workload of Website page adjustment.
Summary of the invention
In view of this, the invention provides a kind of generation method and apparatus of Website page, the Website page with page management function can be generated, solve content manager directly cannot complete the management of content of pages problem when browsing pages content, avoid the management function exception because browsing pages adjustment causes, improve viewer and gerentocratic Consumer's Experience simultaneously, reduce the complexity of adding management function.
For achieving the above object, according to an aspect of the present invention, a kind of generation method of Website page is provided.
The generation method of Website page of the present invention comprises: from the page after browser renders, obtain website domain name; Search the expanded configuration file that described website domain name is corresponding; According to the page rendering file address in described expanded configuration file, load the page rendering file of this address; According to described page rendering file, call described browser and the described page played up is played up again, generate the Website page with page management function.
Alternatively, described according to described page rendering file, call described browser and the described page played up is played up again, generate the step with the Website page of page management function and comprise: from the page after browser renders, obtain page address; Search and the rendering intent corresponding to described page address; According to described rendering intent, call described browser and the described page played up is played up again, generate the Website page with page management function.
Alternatively, described expanded configuration file comprises expansion title, extended version, extended description, expansion instruction page, icon, page rendering file address and website domain name.
Alternatively, described page rendering file comprises management function configuration corresponding to one or more page address, page address and rendering intent corresponding to page address.
According to a further aspect in the invention, a kind of generating apparatus of Website page is provided.
The generating apparatus of Website page of the present invention comprises: acquisition module, for obtaining website domain name from the page after browser renders; Search module, for searching expanded configuration file corresponding to described website domain name; Load-on module, for according to the page rendering file address in described expanded configuration file, loads the page rendering file of this address; Calling module, for according to described page rendering file, calls described browser and again plays up the described page played up, and generates the Website page with page management function.
Alternatively, described calling module also for obtaining page address from the page after browser renders, then search and the rendering intent corresponding to described page address, and according to described rendering intent, call described browser again to play up the described page played up, generate the Website page with page management function.
Alternatively, described expanded configuration file comprises expansion title, extended version, extended description, expansion instruction page, icon, page rendering file address and website domain name.
Alternatively, described page rendering file comprises management function configuration corresponding to one or more page address, page address and rendering intent corresponding to page address.
According to technical scheme of the present invention, owing to adding expanded configuration file and page rendering file, browser can have the Website page of page management function according to increased file generated, not only solve content manager directly cannot complete the management of content of pages problem when browsing pages content, and the management function exception avoided because browsing pages adjustment causes, thus improve viewer and gerentocratic Consumer's Experience to a certain extent, reduce the complexity of adding management function; Due in the inventive solutions, browser is only once asked, and thus decreases owing to producing the consumption of unnecessary network request to the performance of server; Simultaneously due to the configuration of the multi-site configuration and administration feature point in page rendering file, make technical scheme of the present invention that multi-site can be supported to configure and the configuration of management function point.
Accompanying drawing explanation
Accompanying drawing is used for understanding the present invention better, does not form inappropriate limitation of the present invention.Wherein:
Fig. 1 is the schematic diagram of the generating apparatus of a kind of Website page according to the embodiment of the present invention;
Fig. 2 is the schematic diagram of the generation method of a kind of Website page according to the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, one exemplary embodiment of the present invention is explained, comprising the various details of the embodiment of the present invention to help understanding, they should be thought it is only exemplary.Therefore, those of ordinary skill in the art will be appreciated that, can make various change and amendment, and can not deviate from scope and spirit of the present invention to the embodiments described herein.Equally, for clarity and conciseness, the description to known function and structure is eliminated in following description.
Fig. 1 is the schematic diagram of the generating apparatus of a kind of Website page according to the embodiment of the present invention.As shown in Figure 1, the generating apparatus 10 (i.e. browser extension) of the Website page of the embodiment of the present invention mainly comprise acquisition module 11, search module 12, load-on module 13 and calling module 14.Acquisition module 11 for obtaining website domain name from the page after browser renders; Search module 12 for searching expanded configuration file corresponding to described website domain name; Load-on module 13, for according to the page rendering file address in described expanded configuration file, loads the page rendering file of this address; Calling module 14, for according to described page rendering file, calls described browser and again plays up the described page played up, and generates the Website page with page management function.
The calling module 14 of the generating apparatus 10 of the Website page of the embodiment of the present invention also can be used for obtaining page address from the page after browser renders, then search and the rendering intent corresponding to described page address, and according to described rendering intent, call described browser again to play up the described page played up, generate the Website page with page management function.
Fig. 2 is the schematic diagram of the generation method of a kind of Website page according to the embodiment of the present invention.As shown in Figure 2, browser extension is the main body performing the method, and the method mainly comprises following step S20 to S23.
Step S20: obtain website domain name from the page after browser renders.In this step, server responds the request that the browser received sends, and the data of this request of response are returned to browser, then browser plays up generation Website page to the data that this returns, and last browser extension obtains website domain name from the page after browser renders; Wherein, browser extension belongs to a part for browser, self-defined for browser function.
Step S21: search the expanded configuration file that described website domain name is corresponding.Wherein, expanded configuration file comprises expansion title, extended version, extended description, expansion instruction page, icon, page rendering file address and website domain name.Website domain name in the website domain name got in step S20 and expanded configuration file is compared by browser extension, thus finds the expanded configuration file corresponding to the website domain name got in step S20.
Step S22: according to the page rendering file address in described expanded configuration file, loads the page rendering file of this address.In this step, browser extension, according to the page rendering file address in expanded configuration file, loads the page rendering file corresponding to this address.
Step S23: according to described page rendering file, calls described browser and again plays up the described page played up, and generates the Website page with page management function.Page rendering file comprises management function configuration corresponding to one or more page address, page address and rendering intent corresponding to page address.In this step, first browser extension obtains page address from the page after browser renders, then is compared in the page address of recording in the page address got and page rendering file, thus find and the rendering intent corresponding to the page address obtained, finally, rendering intent corresponding to page address, calls described browser and again plays up the page played up, thus generates the Website page with page management function.Page management function mainly comprises: the management function etc. of the management function of content of pages, the management function of comment and Website page theme.
According to the technical scheme of the embodiment of the present invention, owing to adding expanded configuration file and page rendering file, browser can have the Website page of page management function according to increased file generated, not only solve content manager directly cannot complete the management of content of pages problem when browsing pages content, and the management function exception avoided because browsing pages adjustment causes, thus improve viewer and gerentocratic Consumer's Experience to a certain extent, reduce the complexity of adding management function; Due in the technical scheme of the embodiment of the present invention, browser is only once asked, and thus decreases owing to producing the consumption of unnecessary network request to the performance of server; Simultaneously due to the configuration of the multi-site configuration and administration feature point in page rendering file, make the technical scheme of the embodiment of the present invention that multi-site can be supported to configure and the configuration of management function point.
Below describe ultimate principle of the present invention in conjunction with specific embodiments, in apparatus and method of the present invention, obviously, each parts or each step can decompose and/or reconfigure.These decompose and/or reconfigure and should be considered as equivalents of the present invention.Further, the step performing above-mentioned series of processes can order naturally following the instructions perform in chronological order, but does not need necessarily to perform according to time sequencing.Some step can walk abreast or perform independently of one another.
Above-mentioned embodiment, does not form limiting the scope of the invention.It is to be understood that depend on designing requirement and other factors, various amendment, combination, sub-portfolio can be there is and substitute in those skilled in the art.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within scope.

Claims (8)

1. a generation method for Website page, is characterized in that, comprising:
Website domain name is obtained from the page after browser renders;
Search the expanded configuration file that described website domain name is corresponding;
According to the page rendering file address in described expanded configuration file, load the page rendering file of this address;
According to described page rendering file, call described browser and the described page played up is played up again, generate the Website page with page management function.
2. method according to claim 1, is characterized in that, described according to described page rendering file, calls described browser and again plays up the described page played up, and generates the step with the Website page of page management function and comprises:
Page address is obtained from the page after browser renders;
Search and the rendering intent corresponding to described page address;
According to described rendering intent, call described browser and the described page played up is played up again, generate the Website page with page management function.
3. method according to claim 1 and 2, is characterized in that, described expanded configuration file comprises expansion title, extended version, extended description, expansion instruction page, icon, page rendering file address and website domain name.
4. method according to claim 1 and 2, is characterized in that, described page rendering file comprises management function configuration corresponding to one or more page address, page address and rendering intent corresponding to page address.
5. a generating apparatus for Website page, is characterized in that, comprising:
Acquisition module, for obtaining website domain name from the page after browser renders;
Search module, for searching expanded configuration file corresponding to described website domain name;
Load-on module, for according to the page rendering file address in described expanded configuration file, loads the page rendering file of this address;
Calling module, for according to described page rendering file, calls described browser and again plays up the described page played up, and generates the Website page with page management function.
6. device according to claim 5, it is characterized in that, described calling module also for obtaining page address from the page after browser renders, then search and the rendering intent corresponding to described page address, and according to described rendering intent, call described browser again to play up the described page played up, generate the Website page with page management function.
7. the device according to claim 5 or 6, is characterized in that, described expanded configuration file comprises expansion title, extended version, extended description, expansion instruction page, icon, page rendering file address and website domain name.
8. the device according to claim 5 or 6, is characterized in that, described page rendering file comprises management function configuration corresponding to one or more page address, page address and rendering intent corresponding to page address.
CN201510181506.1A 2015-04-16 2015-04-16 A kind of generation method and device of Website page Active CN104765844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510181506.1A CN104765844B (en) 2015-04-16 2015-04-16 A kind of generation method and device of Website page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510181506.1A CN104765844B (en) 2015-04-16 2015-04-16 A kind of generation method and device of Website page

Publications (2)

Publication Number Publication Date
CN104765844A true CN104765844A (en) 2015-07-08
CN104765844B CN104765844B (en) 2019-02-19

Family

ID=53647672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510181506.1A Active CN104765844B (en) 2015-04-16 2015-04-16 A kind of generation method and device of Website page

Country Status (1)

Country Link
CN (1) CN104765844B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682960A (en) * 2016-12-20 2017-05-17 深圳市创想天空科技股份有限公司 Landing page generation method and device
CN108259480A (en) * 2018-01-02 2018-07-06 杭州探索文化传媒有限公司 Video data handling procedure and device
CN109902247A (en) * 2019-02-14 2019-06-18 北京奇艺世纪科技有限公司 A kind of method, apparatus and electronic equipment of page rendering
CN111931111A (en) * 2020-08-14 2020-11-13 工银科技有限公司 Webpage development method, webpage display method, device and equipment
CN112527429A (en) * 2020-11-30 2021-03-19 文思海辉智科科技有限公司 Page configuration method and device and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090307571A1 (en) * 2008-06-05 2009-12-10 Microsoft Corporation Image acquisition from dynamic content for delivery to network-enabled static display devices
CN102306174A (en) * 2011-08-24 2012-01-04 百度在线网络技术(北京)有限公司 Method and equipment for interacting with user based on web page elements
CN103455503A (en) * 2012-05-31 2013-12-18 腾讯科技(深圳)有限公司 Word stock collection method, webpage rendering method, device and system
US20140067934A1 (en) * 2012-08-30 2014-03-06 Sarah Ware System and method to provide a social network layer over the World-Wide Web and other networks
CN104158836A (en) * 2014-06-23 2014-11-19 浙江大学城市学院 Method for rendering mobile application interface through data
CN104182403A (en) * 2013-05-22 2014-12-03 阿里巴巴集团控股有限公司 Method and equipment for loading image information
CN104281447A (en) * 2014-09-01 2015-01-14 国家电网公司 Report form fast generating and issuing system and method
CN104462424A (en) * 2014-12-12 2015-03-25 北京奇虎科技有限公司 Method, device, client and system for generating grid page in mobile browser

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090307571A1 (en) * 2008-06-05 2009-12-10 Microsoft Corporation Image acquisition from dynamic content for delivery to network-enabled static display devices
CN102306174A (en) * 2011-08-24 2012-01-04 百度在线网络技术(北京)有限公司 Method and equipment for interacting with user based on web page elements
CN103455503A (en) * 2012-05-31 2013-12-18 腾讯科技(深圳)有限公司 Word stock collection method, webpage rendering method, device and system
US20140067934A1 (en) * 2012-08-30 2014-03-06 Sarah Ware System and method to provide a social network layer over the World-Wide Web and other networks
CN104182403A (en) * 2013-05-22 2014-12-03 阿里巴巴集团控股有限公司 Method and equipment for loading image information
CN104158836A (en) * 2014-06-23 2014-11-19 浙江大学城市学院 Method for rendering mobile application interface through data
CN104281447A (en) * 2014-09-01 2015-01-14 国家电网公司 Report form fast generating and issuing system and method
CN104462424A (en) * 2014-12-12 2015-03-25 北京奇虎科技有限公司 Method, device, client and system for generating grid page in mobile browser

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682960A (en) * 2016-12-20 2017-05-17 深圳市创想天空科技股份有限公司 Landing page generation method and device
CN106682960B (en) * 2016-12-20 2020-10-13 深圳市创想天空科技股份有限公司 Method and device for generating landing page
CN108259480A (en) * 2018-01-02 2018-07-06 杭州探索文化传媒有限公司 Video data handling procedure and device
CN109902247A (en) * 2019-02-14 2019-06-18 北京奇艺世纪科技有限公司 A kind of method, apparatus and electronic equipment of page rendering
CN109902247B (en) * 2019-02-14 2021-04-16 北京奇艺世纪科技有限公司 Page rendering method and device and electronic equipment
CN111931111A (en) * 2020-08-14 2020-11-13 工银科技有限公司 Webpage development method, webpage display method, device and equipment
CN112527429A (en) * 2020-11-30 2021-03-19 文思海辉智科科技有限公司 Page configuration method and device and readable storage medium
CN112527429B (en) * 2020-11-30 2024-01-19 文思海辉智科科技有限公司 Page configuration method and device and readable storage medium

Also Published As

Publication number Publication date
CN104765844B (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN104765844A (en) Website page generating method and device
CA2954294C (en) Website access method, apparatus, and website system
CN105373615B (en) A kind of method and apparatus of page customization
WO2021174928A1 (en) Page pre-rendering method and apparatus, electronic device, and storage medium
TWI451335B (en) Device of webkit browser and associated method of loading homapage content
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
US11550857B2 (en) System for mobile application search
US8682964B1 (en) Progressively loading network content
TW201723897A (en) Method, device, and system for displaying information associated with a web page
CN105095280A (en) Caching method and apparatus for browser
CN103699674A (en) Webpage storing method, webpage opening method, webpage storing device, webpage opening device and webpage browsing system
CN103793538A (en) System and method for realizing restoration of web service in case of crash of database
KR102121679B1 (en) Link request processing method and device
CN103970839A (en) Method for controlling webpage browsing through voice
CN105528369A (en) Webpage transcoding method and device and server
CN102253986A (en) Method and device for improving webpage displaying effect in multiple terminals
US20120265780A1 (en) On-demand generation of correlated collections of mashable data from distributed, non-homogeneous data sources
CN101807204A (en) Dynamic creation method of processing Web service with remote sensing image
CN104980464A (en) Network request processing method, network server and network system
CN103853577B (en) The loading method of website head navigation bar and device
CN105446710B (en) Interface providing system and interface providing method
CN104978340A (en) Link address generation method and equipment, and server
Ling Based on web application front-end performance optimization
EP3079338B1 (en) Method for web service supporting synchronous hosting of multiple devices
CN102999502B (en) The method and apparatus of expansion page-tag

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant