CN103368989B - A kind of web page joint update method - Google Patents

A kind of web page joint update method Download PDF

Info

Publication number
CN103368989B
CN103368989B CN201210086105.4A CN201210086105A CN103368989B CN 103368989 B CN103368989 B CN 103368989B CN 201210086105 A CN201210086105 A CN 201210086105A CN 103368989 B CN103368989 B CN 103368989B
Authority
CN
China
Prior art keywords
client terminal
new data
service end
described client
web page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210086105.4A
Other languages
Chinese (zh)
Other versions
CN103368989A (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.)
SHANGHAI SHOPEX NETWORK TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI SHOPEX NETWORK 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 SHANGHAI SHOPEX NETWORK TECHNOLOGY Co Ltd filed Critical SHANGHAI SHOPEX NETWORK TECHNOLOGY Co Ltd
Priority to CN201210086105.4A priority Critical patent/CN103368989B/en
Publication of CN103368989A publication Critical patent/CN103368989A/en
Application granted granted Critical
Publication of CN103368989B publication Critical patent/CN103368989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of web page joint update method, wherein, comprises service end and the client terminal for showing hypertext document, and described client terminal is connected with described service end by communication medium, specifically comprises the steps; Step a, described service end organize Hypertext DOM node more new data according to the update request of described client terminal; Step b, described service end are sent to described client terminal after organizing complete node updates data to encapsulate with HTML annotation symbol; Step c, described client terminal accept the more new data of described service end transmission with the browser based on hyper text protocol; Steps d, described client terminal resolve described in more new data and the DOM node that described more new data is corresponding is upgraded. The invention has the beneficial effects as follows: adopt Hypertext annotation symbol to encapsulate more new data, when making browser-interpreted hypertext document will more new data as annotation process, even if more new data occurs abnormal also to have influence on page form.

Description

A kind of web page joint update method
Technical field
The present invention relates to a kind of WEB page update method, especially a kind of web page joint update method.
Background technology
Along with the development of internet technique, the popularity of network is more and more higher, and website have also been obtained significant progress as the main contents supplier of internet. Website is no longer satisfied with the content only providing unified standard but wish can be more with user interaction and then can realize by the demand offer content service of user.
Usually, the action of webpage is undertaken by page furbishing, is singly that refresh page causes user to browse frequently to be interrupted frequently, and makes user feel ophthalmic uncomfortable. For this problem, provide the more new paragon of not refresh page based on the Replace method of JavaScript, but this mode also has problems. Due to Replace method not refresh page, also it is exactly the page is not organized again, but upgrade on the existing page, this just causes once more new data occurs crossing such as data in long or data and there are the abnormal conditions such as sensitivity symbol, local or whole page form can be caused to collapse and then make user interface chaotic, it may also be useful to family cannot normal browsing.
Summary of the invention
For existing webpage the problems referred to above that more new paragon exists, the present invention provides a kind of and is intended to avoid the page form web page joint update method of collapse may occur when upgrading.
The technical scheme that technical solution problem of the present invention adopts is:
A kind of web page joint update method, wherein, comprises service end and the client terminal for showing hypertext document, and described client terminal is connected with described service end by communication medium, specifically comprises the steps;
Step a, described service end organize Hypertext DOM node more new data according to the update request of described client terminal;
Step b, described service end are sent to described client terminal after organizing complete node updates data to encapsulate with HTML annotation symbol;
Step c, described client terminal accept the more new data of described service end transmission with the browser based on hyper text protocol;
Steps d, described client terminal resolve described in more new data and the DOM node that described more new data is corresponding is upgraded.
Above-mentioned web page joint update method, wherein, described client terminal is by more new data described in embedding the script of hypertext document and resolving.
Above-mentioned web page joint update method, wherein, described client terminal upgrades described DOM node by embedding the script of hypertext document.
Above-mentioned web page joint update method, wherein, described service end comprises request and judges module, and described request judges that described client terminal is proposed update request and judges by module, and the exception request determined is returned described client terminal.
The invention has the beneficial effects as follows:
Adopt Hypertext annotation symbol to encapsulate more new data, when making browser-interpreted hypertext document will more new data as annotation process, even if more new data occurs abnormal also to have influence on page form.
Accompanying drawing explanation
Fig. 1 is the FB(flow block) of a kind of web page joint update method of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
As shown in Figure 1, a kind of web page joint update method of the present invention, wherein, comprises service end and the client terminal for showing hypertext document, and client terminal is connected with service end by communication medium, specifically comprises the steps;
Step a, service end organize Hypertext DOM node more new data according to the update request of client terminal;
Step b, service end are sent to client terminal after organizing complete node updates data to encapsulate with HTML annotation symbol;
Step c, client terminal accept the more new data of service end transmission with the browser based on hyper text protocol;
Steps d, client terminal resolve more new data and the DOM node that more new data is corresponding is upgraded, wherein client terminal resolves more new data by embedding the script of hypertext document, and upgrading DOM node by embedding the script of hypertext document, script can be formed by the script of JavaScript or other script language compilation.
Owing to more new data is encapsulated by Hypertext annotation symbol, it can not be shown by browser, therefore avoids because the more abnormal user interface caused of new data is chaotic. And then after being resolved by script, utilize the Replace method to be upgraded by each DOM node of hypertext document, the page furbishing avoided, it is to increase the continuity that user browses.
Further, wherein, service end comprises request and judges module, request judges that client terminal is proposed update request and judges by module, and the exception request determined is returned client terminal, can upgrade in the exception that service end advanced processing may produce like this, reduce more new data further and abnormal possibility occurs.
The foregoing is only preferred embodiment of the present invention; not thereby the claim of the present invention is limited; so equivalent structure change done by all utilizations specification sheets of the present invention and diagramatic content and the usual means of those skilled in the art are replaced, all it is included in protection scope of the present invention.

Claims (3)

1. a web page joint update method, it is characterised in that, comprise service end and the client terminal for showing hypertext document, described client terminal is connected with described service end by communication medium, specifically comprises the steps;
Step a, described service end organize Hypertext DOM node more new data according to the update request of described client terminal;
Step b, described service end by organize complete DOM node more new data with HTML annotate symbol encapsulate after be sent to described client terminal;
Step c, described client terminal receive the more new data of described service end transmission with the browser based on hyper text protocol;
Steps d, described client terminal resolve described in more new data, upgrade DOM node by embedding the script of hypertext document, after being resolved by script, utilize Replace method to be upgraded by each DOM node of hypertext document.
2. web page joint update method as claimed in claim 1, it is characterised in that, described client terminal is by more new data described in embedding the script of hypertext document and resolving.
3. web page joint update method as claimed in claim 1, it is characterised in that, described service end comprises request and judges module, and described request judges that the update request that described client terminal proposes is judged by module, and the exception request determined is returned described client terminal.
CN201210086105.4A 2012-03-28 2012-03-28 A kind of web page joint update method Active CN103368989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210086105.4A CN103368989B (en) 2012-03-28 2012-03-28 A kind of web page joint update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210086105.4A CN103368989B (en) 2012-03-28 2012-03-28 A kind of web page joint update method

Publications (2)

Publication Number Publication Date
CN103368989A CN103368989A (en) 2013-10-23
CN103368989B true CN103368989B (en) 2016-06-08

Family

ID=49369525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210086105.4A Active CN103368989B (en) 2012-03-28 2012-03-28 A kind of web page joint update method

Country Status (1)

Country Link
CN (1) CN103368989B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111191225B (en) * 2020-01-03 2022-05-27 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for switching isolated objects

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5937160A (en) * 1997-05-01 1999-08-10 Reedy Creek Technologies, Inc. Systems, methods and computer program products for updating hypertext documents via electronic mail
CN101192233A (en) * 2007-03-29 2008-06-04 腾讯科技(深圳)有限公司 Web page dynamic updating method, system and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100169311A1 (en) * 2008-12-30 2010-07-01 Ashwin Tengli Approaches for the unsupervised creation of structural templates for electronic documents

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5937160A (en) * 1997-05-01 1999-08-10 Reedy Creek Technologies, Inc. Systems, methods and computer program products for updating hypertext documents via electronic mail
CN101192233A (en) * 2007-03-29 2008-06-04 腾讯科技(深圳)有限公司 Web page dynamic updating method, system and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
应用JScript和XML自定义无刷新多级联动菜单;程汤培;《电脑编程技巧与维护》;20090803(第15期);全文 *

Also Published As

Publication number Publication date
CN103368989A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
EP3491544B1 (en) Web page display systems and methods
US10185704B2 (en) Webpage browsing method, webapp framework, method and device for executing javascript and mobile terminal
JP6051337B2 (en) Client-side page processing
CN103389969B (en) A kind of methods, devices and systems for mobile terminal preview pdf document
EP2916243B1 (en) Method, apparatus, server and system for implementing web application
CN104850602B (en) A kind of rendering refreshing implementation method and device based on internet web page
US8196036B2 (en) Method and system for converting hypertext markup language web page to plain text
CN101197849B (en) Method for commuting internet page into wireless application protocol page
US20080077855A1 (en) Generic website
WO2015127882A1 (en) Method, apparatus and system for extracting webpage content
CN103605688A (en) Intercept method and intercept device for homepage advertisements and browser
US20110145299A1 (en) Offline Gadgets IDE
CN103176834B (en) A kind of method of invoke extensions interface and device
CN103179159B (en) A kind of method and terminal browser processing third-party application
CN104123125A (en) Webpage resource acquisition method and device
CN104714968A (en) Method and device for internationalizing web page
TW201437826A (en) Method and device for combining webpage style address
CN105528369A (en) Webpage transcoding method and device and server
CN101902485A (en) Rewriting method of reversal Web agent link
CN103389972A (en) Method and device for obtaining text based on really simple syndication (RSS)
WO2012016034A1 (en) System and method for providing network resource identifier shortening service to computing devices
CN103297498A (en) Relevant content pushing method based on mobile phone client side
CN102799764A (en) Web-based engineering calculation system and method
CN103368989B (en) A kind of web page joint update method
EP1959354A2 (en) Method and system for converting hypertext markup language web page to plain text

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Method for Updating Web Page Nodes

Effective date of registration: 20230712

Granted publication date: 20160608

Pledgee: Industrial Bank Co.,Ltd. Shanghai Jinqiao Branch

Pledgor: SHANGHAI SHOPEX NETWORK TECHNOLOGY Co.,Ltd.|SHOPEX SOFTWARE CO.,LTD.

Registration number: Y2023310000365

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231007

Granted publication date: 20160608

Pledgee: Industrial Bank Co.,Ltd. Shanghai Jinqiao Branch

Pledgor: SHANGHAI SHOPEX NETWORK TECHNOLOGY Co.,Ltd.|SHOPEX SOFTWARE CO.,LTD.

Registration number: Y2023310000365