CN101963984A - Method and system for rendering page partial block - Google Patents

Method and system for rendering page partial block Download PDF

Info

Publication number
CN101963984A
CN101963984A CN 201010295775 CN201010295775A CN101963984A CN 101963984 A CN101963984 A CN 101963984A CN 201010295775 CN201010295775 CN 201010295775 CN 201010295775 A CN201010295775 A CN 201010295775A CN 101963984 A CN101963984 A CN 101963984A
Authority
CN
China
Prior art keywords
code
script
page
block
browser end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010295775
Other languages
Chinese (zh)
Inventor
王国伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wecoo Electronic Business Technology Co Ltd
Original Assignee
Beijing Wecoo Electronic Business 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 Wecoo Electronic Business Technology Co Ltd filed Critical Beijing Wecoo Electronic Business Technology Co Ltd
Priority to CN 201010295775 priority Critical patent/CN101963984A/en
Publication of CN101963984A publication Critical patent/CN101963984A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for rendering a page partial block, comprising: step 302: when a designated block of a designated page at a browser side is chosen, the designated block is transformed into a code block; step 304: after the code in the code block is modified, the code block is transmitted to the server side; step 306: the code block is processed into a script recognizable to the browser side at the server side and the script is transmitted to the browser side; step 308: the browser side receives the script and displays the designated block according to the script. The invention also provides a system for rendering the page partial block. According to the technical proposal of the invention, a method and a system for a rendering page partial block can be realized; the method and the system can not only improve flexibility of information maintenance but also reduce difficulty of operation.

Description

Local block rendering intent of the page and system
Technical field
The bright page rendering technology that relates to of this law relates in particular to local block rendering intent of the page and system.
Background technology
The web that topmost form is based on B/S in the present internet, applications represents form.Along with increasing that user's internet usage is used, use the raising of complicacy, nature, the user just represents form to web the higher requirement of ratio.At present, general internet system can both offer some abundant interactive operation modes of user and represents the web page.For the realization of page local content, safeguard the content and the pattern that will represent by the relevant configuration interface often, perhaps provide web ways of presentation for operation level user by open whole web webpage representation code.
Though various application systems provide above two kinds of flexible way to represent the web content, realize self-definedization that user's web represents, at some operation grade other users, more than two kinds of implementations exist some problems.By the relevant information that configuration page maintain pages shows, for other user of operation level, often underaction often must be revised the backstage of the configuration page this time and realize that so upgrading does not just have actual effect to say.Though can improve flexibility ratio by this mode of open whole web webpage representation code, the technology of runing personnel is had too high requirement.
Fig. 1 is an interface of the Content Management of domestic well-known website, and the content of each piece at this interface can be edited by the user separately.The mode that the user edits such as Fig. 2.From Fig. 2 we as can be seen the user can select each block, by the demonstration that option is provided with this block content and content that is provided with in the upper right corner.Though this mode is the approach that editor's block content is provided to the user, we find, its underaction.When will at random revise the content of block the inside and pattern such as us, such as a color or a careless element of revising block, unless block that option is set is abundant, option is set travels through all demands of user, otherwise can only give the program designer and adjust program, user's the demand that option is set in the interpolation.Both wasted the time like this, the guardian of program had also been increased a lot of work beyond doubt.
Therefore, need a kind of page rendering mode, can separate the relevant information of maintain pages demonstration flexibly, alleviate the problem of developer's burden.
Summary of the invention
In view of more than, technical scheme of the present invention technical matters to be solved is, realizes local block rendering intent of a kind of page and system, solves the relevant information that maintain pages flexibly shows, alleviates the problem of developer's burden.
The invention provides the local block rendering intent of a kind of page, comprising: step 302 when the designated blocks on the specified page of browser end is selected, is converted to the code block with described designated blocks; Step 304 after the code in described code block is modified, is sent to server end with described code block; Step 306 is treated to the script that described browser end can be discerned at described server end with described code block, and is sent to described browser end; Step 308, described browser end receives described script, and shows described designated blocks according to described script.By this technical scheme, the user can revise the page block of required modification flexibly, has simplified the program of maintain pages, has reduced the operation difficulty.
In technique scheme, preferably, the language that the code in the described code module adopts comprises existing programming language and custom programming language, and wherein, described existing programming language comprises jsp, java, php, c.By this technical scheme, content of pages can be described neatly, to the versatility height of language.
In technique scheme, preferably, the type of described script comprises html, js, css.By this technical scheme, making browser to discern needs the page displayed content.
In technique scheme, preferably, in described step 304, go exploitation to deliver to described server end described code by asynchronous request mode, in the described step 306, by described asynchronous request mode described script is sent to described browser end, wherein, described asynchronous request mode comprises AJAX.By this technical scheme, can resolve general author language automatically and become the discernible script of browser, will resolve good script automatically and send to browser.
By technique scheme, can realize local block rendering intent of a kind of page and system, can improve the dirigibility of maintenance of information, can reduce the difficulty of operation again.
The present invention also provides a kind of page local block rendering system, comprise: the browser end processing module, be positioned at browser end, the user when described browser end is selected designated blocks on the specified page, described designated blocks is converted to the code block, and after described user makes amendment to the code in the described code block, described code block is sent to the server-side processes module; Described server-side processes module, be positioned at described server end, described code block is treated to the script that described browser end can be discerned, and be sent to described browser end processing module, described browser end processing module receives described script, and shows described designated blocks according to described script.By this technical scheme, the user can revise the page block of required modification flexibly, has simplified the program of maintain pages, has reduced the operation difficulty.
In technique scheme, preferably, the language that the code in the described code module adopts comprises existing programming language and custom programming language, and wherein, described existing programming language comprises jsp, java, php, c.By this technical scheme, content of pages can be described neatly, to the versatility height of language.
In technique scheme, preferably, the type of described script comprises html, js, css.By this technical scheme, making browser to discern needs the page displayed content.
In technique scheme, preferably, described browser end processing module goes exploitation to deliver to described server-side processes module described code by asynchronous request mode, described server-side processes module is sent to described browser end processing module by described asynchronous request mode with described script, wherein, described asynchronous request mode comprises AJAX.By this technical scheme, can resolve general author language automatically and become the discernible script of browser, will resolve good script automatically and send to browser.
By technique scheme, can realize local block rendering intent of a kind of page and system, can improve the dirigibility of maintenance of information, can reduce the difficulty of operation again.
Description of drawings
Fig. 1 is a surface chart of the Content Management of domestic well-known website;
Fig. 2 is a surface chart that block is edited in interface shown in Figure 1;
Fig. 3 is the process flow diagram of the local block rendering intent of the page according to an embodiment of the invention;
Fig. 4 is the block diagram of the local block rendering system of the page according to an embodiment of the invention; And
Fig. 5 is the workflow diagram of the local block rendering intent of the page according to an embodiment of the invention.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with the drawings and specific embodiments.
Set forth a lot of details in the following description so that fully understand the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following public specific embodiment.
Fig. 3 is the process flow diagram of the local block rendering intent of the page according to an embodiment of the invention.
As shown in Figure 3, the local block rendering intent of the page comprises according to an embodiment of the invention: step 302 when the designated blocks on the specified page of browser end is selected, is converted to the code block with described designated blocks; Step 304 after the code in described code block is modified, is sent to server end with described code block; Step 306 is treated to the script that described browser end can be discerned at described server end with described code block, and is sent to described browser end; Step 308, described browser end receives described script, and shows described designated blocks according to described script.By such technical scheme, the user can revise the page block of required modification flexibly, has simplified the program of maintain pages, has reduced the operation difficulty.
In technique scheme, the language that the code in the described code module adopts comprises existing programming language and custom programming language, and wherein, described existing programming language comprises jsp, java, php, c.Like this, just content of pages can be described neatly, to the versatility height of language.
In technique scheme, the type of described script comprises html, js, css.Like this, make browser to discern and need the page displayed content.
In technique scheme, in described step 304, go exploitation to deliver to described server end described code by asynchronous request mode, in the described step 306, by described asynchronous request mode described script is sent to described browser end, wherein, described asynchronous request mode comprises AJAX.Therefore, can resolve general author language automatically and become the discernible script of browser, will resolve good script automatically and send to browser.
By technique scheme, can realize local block rendering intent of a kind of page and system, can improve the dirigibility of maintenance of information, can reduce the difficulty of operation again.
Fig. 4 is the block diagram of the local block rendering system of the page according to an embodiment of the invention.
As shown in Figure 4, the local block rendering system 400 of the page comprises according to an embodiment of the invention: browser end processing module 402, be positioned at browser end, the user when described browser end is selected designated blocks on the specified page, described designated blocks is converted to the code block, and after described user makes amendment to the code in the described code block, described code block is sent to server-side processes module 404; Described server-side processes module 404, be positioned at described server end, described code block is treated to the script that described browser end can be discerned, and be sent to described browser end processing module 402, described browser end processing module 402 receives described script, and shows described designated blocks according to described script.By such technical scheme, the user can revise the page block of required modification flexibly, has simplified the program of maintain pages, has reduced the operation difficulty.
In technique scheme, the language that the code in the described code module adopts comprises existing programming language and custom programming language, and wherein, described existing programming language comprises jsp, java, php, c.Therefore, just content of pages can be described neatly, to the versatility height of language.
In technique scheme, the type of described script comprises html, js, css.Like this, just making browser to discern needs the page displayed content.
In technique scheme, described browser end processing module 402 goes exploitation to deliver to described server-side processes module 404 described code by asynchronous request mode, described server-side processes module 404 is sent to described browser end processing module 402 by described asynchronous request mode with described script, wherein, described asynchronous request mode comprises AJAX.Therefore, can resolve general author language automatically and become the discernible script of browser, will resolve good script automatically and send to browser.
By technique scheme, can realize local block rendering intent of a kind of page and system, can improve the dirigibility of maintenance of information, can reduce the difficulty of operation again.
Fig. 5 is the workflow diagram of the local block rendering intent of the page according to an embodiment of the invention.
As shown in Figure 5, in step 502, at first need to select the web page of regional flexible configuration.
In step 504, click the configuration button of the web block that needs configuration.
In step 506, the web block shows revisable code block.
In step 508, the code of user's modification block the inside.Wherein, this code is the programming language that exists now arbitrarily, such as jsp, java, php, c etc., also can be the self-defining author language that meets certain rule, and the user can be by needs of this language description content displayed on browser.
In step 510, revising finishes preserves afterwards.
In step 512, system does not refresh the page after preserving, and system submits the code of this block the inside to automatically by submitting mechanism to, and this mechanism can be asynchronous request (AJAX).
In step 514, system code receives the code that needs processing, and the mechanism for resolving of general author language is resolved this code then, is processed into the discernible script of browser, and for example html, js, css etc. return to browser.
In step 516, the web page receives the script after handling, and amended content is presented in this block.
Abovely describe embodiments of the invention in detail with reference to Fig. 3 to Fig. 5, technical scheme according to an embodiment of the invention, can realize local block rendering intent of a kind of page and system, the dirigibility that it has increased user's modification web block has also reduced the complexity of user's modification web block content.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the local block rendering intent of the page is characterized in that, comprising:
Step 302 when the designated blocks on the specified page of browser end is selected, is converted to the code block with described designated blocks;
Step 304 after the code in described code block is modified, is sent to server end with described code block;
Step 306 is treated to the script that described browser end can be discerned at described server end with described code block, and is sent to described browser end;
Step 308, described browser end receives described script, and shows described designated blocks according to described script.
2. the local block rendering intent of the page according to claim 1, it is characterized in that, the language that code in the described code module adopts comprises existing programming language and custom programming language, and wherein, described existing programming language comprises jsp, java, php, c.
3. the local block rendering intent of the page according to claim 1 is characterized in that the type of described script comprises html, js, css.
4. according to the local block rendering intent of each described page in the claim 1 to 3, it is characterized in that, in described step 304, go exploitation to deliver to described server end described code by asynchronous request mode, in the described step 306, by described asynchronous request mode described script is sent to described browser end
Wherein, described asynchronous request mode comprises AJAX.
5. the local block rendering system of the page is characterized in that, comprising:
The browser end processing module, be positioned at browser end, the user when described browser end is selected designated blocks on the specified page, described designated blocks is converted to the code block, and after described user makes amendment to the code in the described code block, described code block is sent to the server-side processes module;
Described server-side processes module is positioned at described server end, and described code block is treated to the script that described browser end can be discerned, and is sent to described browser end processing module,
Described browser end processing module receives described script, and shows described designated blocks according to described script.
6. the local block rendering system of the page according to claim 5, it is characterized in that, the language that code in the described code module adopts comprises existing programming language and custom programming language, and wherein, described existing programming language comprises jsp, java, php, c.
7. the local block rendering system of the page according to claim 5 is characterized in that the type of described script comprises html, js, css.
8. according to the local block rendering system of each described page in the claim 5 to 7, it is characterized in that, described browser end processing module goes exploitation to deliver to described server-side processes module described code by asynchronous request mode, described server-side processes module is sent to described browser end processing module by described asynchronous request mode with described script
Wherein, described asynchronous request mode comprises AJAX.
CN 201010295775 2010-09-28 2010-09-28 Method and system for rendering page partial block Pending CN101963984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010295775 CN101963984A (en) 2010-09-28 2010-09-28 Method and system for rendering page partial block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010295775 CN101963984A (en) 2010-09-28 2010-09-28 Method and system for rendering page partial block

Publications (1)

Publication Number Publication Date
CN101963984A true CN101963984A (en) 2011-02-02

Family

ID=43516857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010295775 Pending CN101963984A (en) 2010-09-28 2010-09-28 Method and system for rendering page partial block

Country Status (1)

Country Link
CN (1) CN101963984A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198064A (en) * 2012-01-05 2013-07-10 宏碁股份有限公司 Web page browsing system and method
CN103473347A (en) * 2013-09-24 2013-12-25 北京大学 Web page similarity-based browser rendering optimization method
CN103761317A (en) * 2014-01-27 2014-04-30 北京京东尚科信息技术有限公司 Multithreading asynchronous rendering system and method
WO2014075509A1 (en) * 2012-11-13 2014-05-22 北京奇虎科技有限公司 Method and device for browser to process page element
CN106156148A (en) * 2015-04-14 2016-11-23 腾讯科技(深圳)有限公司 The rendering intent of a kind of page, device and terminal device
CN106504295A (en) * 2016-09-22 2017-03-15 北京小米移动软件有限公司 Render the method and device of picture
WO2017054735A1 (en) * 2015-09-30 2017-04-06 北京奇虎科技有限公司 Asynchronous login method and device
CN106777055A (en) * 2016-12-09 2017-05-31 武汉斗鱼网络科技有限公司 It is a kind of to realize the method and apparatus that website interface is rendered
CN107025096A (en) * 2016-01-29 2017-08-08 滴滴(中国)科技有限公司 The synchronous method and system of asynchronous rendering module
CN107145491A (en) * 2016-03-01 2017-09-08 阿里巴巴集团控股有限公司 Page rendering method and device
CN113901359A (en) * 2021-10-09 2022-01-07 南京景凡软件技术有限公司 Webpage local dynamic refreshing method for embedded operating system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6714928B1 (en) * 1999-03-19 2004-03-30 Sybase, Inc. Development system providing HTML database control object
CN1642161A (en) * 2004-01-08 2005-07-20 上海环达计算机科技有限公司 System and method for correcting selection of database column site through network page
CN101216838A (en) * 2008-01-15 2008-07-09 中兴通讯股份有限公司 XML interface configuration file distribute system and method based on WEB marker
CN101526942A (en) * 2008-03-05 2009-09-09 徐邦勇 Component implementation technology for automatically generating dynamic web page on line in real time

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6714928B1 (en) * 1999-03-19 2004-03-30 Sybase, Inc. Development system providing HTML database control object
CN1642161A (en) * 2004-01-08 2005-07-20 上海环达计算机科技有限公司 System and method for correcting selection of database column site through network page
CN101216838A (en) * 2008-01-15 2008-07-09 中兴通讯股份有限公司 XML interface configuration file distribute system and method based on WEB marker
CN101526942A (en) * 2008-03-05 2009-09-09 徐邦勇 Component implementation technology for automatically generating dynamic web page on line in real time

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198064A (en) * 2012-01-05 2013-07-10 宏碁股份有限公司 Web page browsing system and method
WO2014075509A1 (en) * 2012-11-13 2014-05-22 北京奇虎科技有限公司 Method and device for browser to process page element
CN103473347A (en) * 2013-09-24 2013-12-25 北京大学 Web page similarity-based browser rendering optimization method
CN103473347B (en) * 2013-09-24 2017-01-11 北京大学 Web page similarity-based browser rendering optimization method
CN103761317A (en) * 2014-01-27 2014-04-30 北京京东尚科信息技术有限公司 Multithreading asynchronous rendering system and method
CN103761317B (en) * 2014-01-27 2017-08-29 北京京东尚科信息技术有限公司 A kind of asynchronous rendering system of multithreading and method
CN106156148A (en) * 2015-04-14 2016-11-23 腾讯科技(深圳)有限公司 The rendering intent of a kind of page, device and terminal device
WO2017054735A1 (en) * 2015-09-30 2017-04-06 北京奇虎科技有限公司 Asynchronous login method and device
CN107025096A (en) * 2016-01-29 2017-08-08 滴滴(中国)科技有限公司 The synchronous method and system of asynchronous rendering module
CN107025096B (en) * 2016-01-29 2020-05-26 滴滴(中国)科技有限公司 Synchronous method and system of asynchronous rendering module
CN107145491A (en) * 2016-03-01 2017-09-08 阿里巴巴集团控股有限公司 Page rendering method and device
CN107145491B (en) * 2016-03-01 2020-11-27 阿里巴巴集团控股有限公司 Page rendering method and device
CN106504295A (en) * 2016-09-22 2017-03-15 北京小米移动软件有限公司 Render the method and device of picture
CN106777055A (en) * 2016-12-09 2017-05-31 武汉斗鱼网络科技有限公司 It is a kind of to realize the method and apparatus that website interface is rendered
CN113901359A (en) * 2021-10-09 2022-01-07 南京景凡软件技术有限公司 Webpage local dynamic refreshing method for embedded operating system

Similar Documents

Publication Publication Date Title
CN101963984A (en) Method and system for rendering page partial block
CN104461484B (en) The implementation method and device of front-end template
US20180191798A1 (en) Methods and systems for server-side rendering of native content for presentation
US10565293B2 (en) Synchronizing DOM element references
CN102663126B (en) Method and device for displaying webpage in mobile terminal
US9632986B2 (en) Systems and methods for horizontally paginating HTML content
CN104142826A (en) Method, device and system for constructing page
US20100070886A1 (en) Web widget component for a rapid application development tool
CN103761317A (en) Multithreading asynchronous rendering system and method
CN103383645A (en) Code generation method and system
CN1783128A (en) System and method for publishing collaboration items to a web site
CN106155673B (en) Method, device, server and user equipment for realizing page content editor
CN104978317A (en) Webpage generating method, webpage generating device, website generating method and website building server
CN103019516A (en) Method and equipment for displaying page
CN104657451A (en) Processing method and processing device for page
CN104217037A (en) Method and device for displaying web page in mobile terminal
CN103970750A (en) Method and device for generating HTML (Hypertext Markup Language) web pages
CN103365847A (en) Generation method and device for user-defined webpage file
CN103544024A (en) Method and system for generating browser page and terminal device
CN103593414A (en) Showing method and device of webpages in browser
CN103518195A (en) Apparatus, system and method for vector-based form field document
CN111767702A (en) Display control method and device of online document, electronic equipment and storage medium
CN103870254A (en) Dynamic form achieving method, client and server
CN106776800A (en) The page generation method of AngularJS frameworks, apparatus and system
CN104050190A (en) Method and system for processing link data, and client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110202