CN1218263C - Method for supporting dynamic updating of page - Google Patents

Method for supporting dynamic updating of page Download PDF

Info

Publication number
CN1218263C
CN1218263C CN 01103786 CN01103786A CN1218263C CN 1218263 C CN1218263 C CN 1218263C CN 01103786 CN01103786 CN 01103786 CN 01103786 A CN01103786 A CN 01103786A CN 1218263 C CN1218263 C CN 1218263C
Authority
CN
China
Prior art keywords
zone
page
withdraw
read
leaf
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.)
Expired - Lifetime
Application number
CN 01103786
Other languages
Chinese (zh)
Other versions
CN1369826A (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.)
IValley Holding Co., Ltd.
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 01103786 priority Critical patent/CN1218263C/en
Publication of CN1369826A publication Critical patent/CN1369826A/en
Application granted granted Critical
Publication of CN1218263C publication Critical patent/CN1218263C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a method for supporting the dynamic update of pages, which comprises the following steps: when a new page is developed, an initialization module is used for initializing an area; an update module is used for initializing a character string for updating the area; a data exchange module is used for the data exchange of the updated area for displaying new contents in a square block; thereby, the operation of the dynamic update of the page and dynamic data supply is finished; the inner control of a resetting module is used for initializing the updated area again. Under the condition that the integral page is not replaced, the dynamic update of the integral page or a local is realized; the present invention supports the completion of the dynamic data supply.

Description

Support the method for dynamic updating of page
Technical field
The present invention relates to a kind of method of supporting dynamic updating of page.
Background technology
In the prior art, if the perhaps dynamic change of data in need on the page, realizing partly, for example advertisement bar content commonly used dynamically updates in the page, have only and upgrade this page fully, just can accomplish, so, will strengthen page development personnel's workload, and can't be implemented under the condition that does not change this full page, dynamically update the content of this page, for example, the user is when browsing news, prior art can not satisfy the user according to the theme of being browsed, and dynamically shows the requirement of the content of raising relevant with this theme and renewal.
Summary of the invention
In view of the above, the purpose of this invention is to provide a kind of method of supporting dynamic updating of page, under the situation that is implemented in not page change, the displaying contents of part in the dynamic refresh full page or the page, can finish thus that news recap in the page shows, dynamic data is submitted to, and the advertisement bar such as dynamically updates at function.The invention provides a kind of method of supporting dynamic updating of page, this method comprises provides the developer when new page of exploitation, in advance with a suitable regional initialization, refresh this zone then, and the zone after this is refreshed is by exchange, be shown as new content, at last that this is specific zone is re-set as init state, in order to using next time.This method comprises the following steps: to utilize an initialization module with a regional initialization when exploitation one page; Utilize a refresh module to give this initialization area to refresh this zone with text strings; And utilize zone after a data exchange module refreshes this to carry out exchanges data to show fresh content in this square, finish dynamically updating and operation that Data Dynamic provides of this page thus; After finishing this dynamic updating of page, utilize the internal control of a replacement module again initialization to be carried out in the zone of having upgraded.Utilize a kind of method of supporting dynamic updating of page provided by the invention, under the situation of not changing full page, not only can realize whole or certain local the dynamically updating of the page, and can finish dynamic data and provide, reach the function that dynamic updating of page is provided in time saving and energy saving mode thus.
Description of drawings
For allow above-mentioned and other purpose of the present invention, feature, with advantage can be clearer, a preferred embodiment cited below particularly, and conjunction with figs. elaborate:
Fig. 1 shows functional module group figure of the present invention and operating process thereof;
Fig. 2 shows initialization flowchart of the present invention;
Fig. 3 shows the process flow diagram that refreshes a selection square on the page of the present invention;
Fig. 4 shows data exchange operation process flow diagram of the present invention; And
Fig. 5 shows replacement operational flowchart of the present invention.
Embodiment
With reference to figure 1, it shows functional module group figure and the operating process thereof of the present invention to dynamic updating of page.In Figure 1A, comprise a page 101, an initialization module 102, a refresh module 103, a data exchange module 104 and a replacement module 105.In the flow process of Figure 1B, it supports that the method for dynamic updating of page comprises the following steps: to utilize an initialization module 102 with a regional initialization (step S1) when new page 101 of exploitation; Utilize a refresh module 103 to give this initialization area to refresh this zone (step S2) with text strings; Utilize zone after a data exchange module 104 refreshes this to carry out exchanges data, finish dynamically updating and operation that Data Dynamic provides of this page thus to show fresh content (step S3) in this square; And utilize the internal control of a replacement module 105 again initialization (step S4) to be carried out in the zone of having upgraded.Now each operation carefully is set forth in down.
1. initialization flow process:
With reference to figure 2, it shows initialization flowchart of the present invention.In Fig. 2, except that setting refreshes the purpose in zone, also generate the data buffering page on page backstage (background) simultaneously.As shown in Figure 2, this initialization step comprises: that finds from parameter that the user need set refreshes zone (step 201), for example, " Load (Flash) " parameter is meant that utilization is written into function (Load) and is written into the Flash content for refreshing use, and the size in this zone is by user's demand decision; Judge whether this zone exists (step 202), its purpose is to judge whether the desired zone of user has exceeded the scope of a page; If there is no, the scope that has just exceeded this page, then prompting wrong (step 203), withdraw from this operation, if exist, then continue to judge this zone whether corresponding to the DIV standard of browser IE or corresponding to the Layer standard (step 204) of browser Netscape, wherein DIV and Layer are that browser is used to set word relevant on the page, image, reaches the standard of form putting position; If not, then present handled browser is not a standard browser, points out this operating mistake (step 203), withdraws from this operation, if be provided with then that (for example, InnerHTML) attribute be a sky (step 205), that is this area contents of resetting in the page or leaf in this zone; Produce frame flag in a pair of page or leaf, be used for a back buffer page (step 206), show another file so that in this page, insert frame, for example, the clear device special use of IE<IFRAME 〉, wherein, be somebody's turn to do<IFRAME be HTML (Hypertext Markup Language) (HTML:HyperText Makeup Language) mark; Judge whether this background page (step 207) of generation of success; If then EOP (end of program) if not, is then pointed out this operating mistake (step 203), and is withdrawed from this operation.
2. refresh module flow process
With reference to figure 3, it shows the process flow diagram that refreshes a selection square on the page of the present invention.As shown in Figure 3, at first, judge the whether initialization (step 301) of current zone to be processed; If there is not initialization, then point out this operating mistake (step 302), withdraw from this operation, if should zone initialization, then read frame flag state (step 303) in the page or leaf of this back buffer page; Judge whether this read operation finishes (step 304); If not, then point out this operation failure (step 302), and withdraw from this operation, if, from this to the frame flag in the page or leaf, for example,<IFRAME 〉, read the html file object oriented (Document Object) (step 305) that desire shows; Judge this operation whether successfully (step 306); If it is unsuccessful, then point out this operating mistake (step 302), withdraw from this operation, if success, then from this document object oriented (Document Object), read corresponding text<Body〉object (step 307), wherein, text (Body) object belongs to the mark of HTML, is used to place the file script of a HTML; Judge whether to read success,, then point out this operating mistake (step 302), withdraw from this operation, if success then continues to judge that the user refreshes the zone and whether has (step 309) if unsuccessful; If there is no, then point out this operating mistake (step 302), withdraw from this operation, if exist, then the content of (InnerHTML) in the page or leaf of text (Body) is composed to after (InnerHTML) value (step 310) in the page or leaf in this zone, just, program area.innerHTML=Body.innerHTML returns the last layer program after carrying out.
3. Switching Module
With reference to figure 4, it shows data exchange operation process flow diagram of the present invention.In Fig. 4, can reach the purpose of asking to upgrade the backstage buffer memory according to the user.As shown in Figure 4, at first, judge whether to be the operation (step 401) of a renewal page; If, this network address (URL) to frame flag in the page or leaf (for example,<IFRAME 〉) then is set upgrades (step 402), if not to carry out a page, then read the list (FORM) (step 403) of user's appointment, judge whether the content of this list (FORM) is empty (step 404); If, then point out this operating mistake (step 405), withdraw from this operation, if not, then in page or leaf, seek this list (FORM) (step 406) the frame flag; Judge whether this list exists (step 407); If this title does not exist, then point out this operating mistake, and withdraw from this operation, if this title exists, then at the data transmission<Submit that uses this list (FORM) to provide〉after the method (step 408), return the last layer program, wherein,<Submit〉parameter that is provided in the list (FORM) is provided, be used to transmit the data that the user confirms.
4. replacement module
With reference to figure 5, it shows replacement operational flowchart of the present invention.In Fig. 5, refresh the zone to one again according to user's requirement and set.As shown in Figure 5, at first, read the zone (step 501) that this customer requirements refreshes; Judge whether this zone exists (step 502); If there is no, then point out this operating mistake, and withdraw from this operation, if exist, then read this regional mark title TAGNAME (step 504), judge whether this mark title belongs to DIV or Layer standard, if do not belong to, then point out this operating mistake, and withdraw from this operation, if belong to, then empty page interior (InnerHTML) content (step 506), and reset slow network address (URL) value (step 507) of filling the device internal memory in backstage, return the last layer program.
Comprehensively above-mentioned, especially exemplified by an example so that operating process of the present invention to be described.This example is only operated in order to explanation the present invention, but not in order to limit scope of the present invention.
Suppose in a news report page, there is a piece of news title to change, need the news content under it be dynamically updated, at this moment, the user need find " news " zone that need dynamically update, and the InnerHTML attribute that this is regional is set at sky, can generate a pair of<IFRAME this moment on the backstage of this page (background)〉as the data buffering page on backstage, through the operation of above-mentioned steps, promptly finished the initialization procedure that refreshes the zone
Read the state value of backstage IFRAME this moment, from IFRAME, read the content of Document Object, and from this Document Object object, obtain the Body object, compose the InnerHTML content in the Body object to the InnerHTML through the initialization process zone this moment, finishes the refresh process in zone, at the page of needs renewal, the URL of the IFRAME that pre-sets is upgraded, finish the exchange process of data, new data and content are submitted to the zone that need refresh
Obtain the desired renewal of user zone, and read this regional TAGNAME, empty InnerHTML content wherein, reset the buffer memory URL on page backstage, it can be reinitialized by page internal control, in order to using next time.
Though the present invention discloses as above with a preferred embodiment, yet it is not in order to limiting the present invention, and any one of ordinary skilled in the art can carry out various modifications and variations under situation without departing from the spirit or scope of the invention.

Claims (9)

1. method of supporting dynamic updating of page, this method comprises the following steps:
When exploitation one page, utilize an initialization module with a regional initialization;
Utilize a refresh module to give this initialization area to refresh this zone with text strings; And
Utilize zone after a data exchange module refreshes this to carry out exchanges data, finish dynamically updating and operation that Data Dynamic provides of this page thus to show fresh content in this square;
After finishing this dynamic updating of page, utilize the internal control of a replacement module again initialization to be carried out in the zone of having upgraded.
2. the method for claim 1, wherein described a regional initialized step is also comprised:
That finds from parameter that the user need set one refreshes the zone, and the size in this zone is by user's demand decision,
Judge whether this zone exists, with the desired scope that should the zone whether have exceeded a page of decision user,
If should not exist in the zone, then point out mistake, and withdraw from the initialized operation in this zone,
If should exist in the zone, judge then whether this zone is used to set word, the image of being correlated with on the page, the standard that reaches the form putting position corresponding to browser,
If should the not corresponding described standard in zone, then point out mistake, withdraw from the initialized operation in this zone,
If should the zone corresponding described standard then is provided with in the page or leaf in this zone an attribute for empty;
Produce frame flag in a pair of page or leaf, be used for the data back buffer page, show another file so that in the page, insert frame,
Judge whether successfully to produce this background page, and
If successfully produce this page, then finish this regional initialization and finish the initialized operation in this zone, if successfully do not produce this page, then point out mistake, and withdraw from the initialized operation in this zone.
3. method as claimed in claim 2, wherein, attribute is meant the included zone of mark of resetting this HTML (Hypertext Markup Language) in the page or leaf in this zone of described setting for empty step.
4. the method for claim 1, wherein describedly give this initialization area with text strings and also comprise to refresh this regional step:
Judge whether initialization of a zone to be processed,
If this zone does not have initialization, then point out mistake, withdraw from the operation that this refreshes this zone,
If should zone initialization, then read this as frame flag state in the page or leaf in the zone of the back buffer page,
Judge that this reads the flag state operation and whether finishes,
Operation does not finish if this reads flag state, and then point out this read operation failure, and withdraw from the operation that this refreshes this zone,
Finish if this reads flag state operation, then from this to reading the file object of a HTML (Hypertext Markup Language) that is used to show the frame flag in the page or leaf;
Judge that this reads file object and whether successfully operates;
If successfully do not read file object, then point out this read operation mistake, withdraw from the operation that this refreshes this zone,
If when successfully reading file object, then from this document object, read corresponding text object,
Judge whether to read success,, then point out this read operation mistake, withdraw from the operation that this refreshes this zone if successfully do not read text object,
If successfully read text object, then continue to judge that this user refreshes the zone and whether exists,
If there is no this refreshes the zone, then points out mistake, withdraws from the operation that this refreshes this zone,
If exist this to refresh the zone, then content in the page or leaf of text object is composed to value in the page or leaf in this zone, and returned the last layer program.
5. method as claimed in claim 4, wherein, text object belongs to this HTML (Hypertext Markup Language) mark, is used to place the file content of a HTML (Hypertext Markup Language).
6. the method for claim 1, wherein described zone after this is refreshed is carried out exchanges data and is also comprised to show the step of fresh content in this square:
Judge whether to be the operation of a renewal page,
If should upgrade the operation of the page time, then be provided with this to the network address of frame flag in the page or leaf carrying out renewal of the page,
When this upgrades the operation of the page, then read a list of user's appointment,
Whether the content of judging this list is empty,
If this content is empty, then point out mistake, withdraw from this operation of demonstration fresh content in this square,
If this content is not empty, then from this to seeking this list the frame flag in the page or leaf,
Judge whether this list exists,
If this list does not exist, then point out mistake, and withdraw from this operation of demonstration fresh content in this square,
If this list exists, then behind the data transferring method that uses this list to provide, return the last layer program.
7. method as claimed in claim 6, wherein, the parameter that belongs in the list to be provided is provided for this data, is used to transmit the data that the user confirms.
8. the method for claim 1, wherein describedly again initialized step is carried out in the zone of having upgraded and also comprises:
Read the zone that this customer requirements refreshes,
Judge whether this zone exists,
If should not exist in the zone, then point out mistake, and withdraw from the operation that this reinitializes, if should exist in the zone, then read this HTML (Hypertext Markup Language) mark title in this zone,
Judge whether this mark title belongs to the standard that browser is used to set word relevant on the page, image, reaches the form putting position,
If this mark title does not belong to this standard, then point out mistake, and withdraw from the operation that this reinitializes,
If this mark title belongs to this standard, then empty the content in this page, and
After resetting this network address value, return the last layer program to frame flag in the page or leaf.
9. method as claimed in claim 8 wherein, is stored in the back buffer device in this network address value to frame flag in the page or leaf.
CN 01103786 2001-02-14 2001-02-14 Method for supporting dynamic updating of page Expired - Lifetime CN1218263C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01103786 CN1218263C (en) 2001-02-14 2001-02-14 Method for supporting dynamic updating of page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01103786 CN1218263C (en) 2001-02-14 2001-02-14 Method for supporting dynamic updating of page

Publications (2)

Publication Number Publication Date
CN1369826A CN1369826A (en) 2002-09-18
CN1218263C true CN1218263C (en) 2005-09-07

Family

ID=4653472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01103786 Expired - Lifetime CN1218263C (en) 2001-02-14 2001-02-14 Method for supporting dynamic updating of page

Country Status (1)

Country Link
CN (1) CN1218263C (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930448B (en) * 2009-06-23 2012-08-29 北京搜狗科技发展有限公司 Method and device for subscribing webpage information
CN101980072A (en) * 2010-09-02 2011-02-23 广东欧珀电子工业有限公司 Android system-based electronic ink screen refresh control system and method
CN101944024B (en) * 2010-09-14 2013-11-06 北京神州泰岳软件股份有限公司 Method and system for refreshing emoticon
CN102231254B (en) * 2011-06-15 2013-07-03 佛山市顺德区美的电热电器制造有限公司 Control method for dot matrix liquid crystal display (LCD)
CN102446082A (en) * 2011-08-29 2012-05-09 广东威创视讯科技股份有限公司 Window refreshing method and device
CN103164401A (en) * 2011-12-08 2013-06-19 航天信息软件技术有限公司 Page tabular display method
CN103853538A (en) * 2012-12-04 2014-06-11 金蝶软件(中国)有限公司 Method and terminal for processing eclipse property view
WO2015024262A1 (en) 2013-08-23 2015-02-26 华为终端有限公司 Webpage processing method and device
CN106990975B (en) * 2016-01-21 2021-07-23 斑马智行网络(香港)有限公司 Application heat deployment method, device and system
CN105930041B (en) * 2016-04-11 2020-03-27 深圳市盛弘电气股份有限公司 Menu generation method and device based on liquid crystal display
CN107391169A (en) * 2017-06-09 2017-11-24 口碑控股有限公司 The dynamic updating method and device of the Android page
CN110580125B (en) * 2018-06-07 2022-04-22 广州视源电子科技股份有限公司 Partial refreshing method, device, equipment and medium for display interface
CN109857972B (en) * 2019-03-20 2023-03-14 Vidaa(荷兰)国际控股有限公司 Page updating method and display equipment
CN110222281B (en) * 2019-06-03 2022-04-29 贝壳技术有限公司 Method and system for positioning target content in webpage

Also Published As

Publication number Publication date
CN1369826A (en) 2002-09-18

Similar Documents

Publication Publication Date Title
CN1218263C (en) Method for supporting dynamic updating of page
CN100535900C (en) Method and system for rendering asynchronous portal page
US9674256B2 (en) Systems, methods, and computer readable media for providing applications style functionality to a user
US8103953B2 (en) Document structures for delta handling in server pages
US9826052B2 (en) Web page content loading control method and device
US20040177327A1 (en) System and process for delivering and rendering scalable web pages
CN101147145B (en) Embedded web-based management method
US20100205524A1 (en) Extensible stylesheet designs using meta-tag information
CN103699674A (en) Webpage storing method, webpage opening method, webpage storing device, webpage opening device and webpage browsing system
CN102622348B (en) Method and device enabling plurality of windows to perform analytical display on network page simultaneously
WO2002101585A2 (en) Streaming of real-time data to a browser
CN100446004C (en) Method for displaying gate home page by memory buffer
CN109634588A (en) A kind of Office online file editing method and system being compatible with more browsers
CN101668042A (en) Method and device for updating local page of embedded communication system
CA2773088A1 (en) Methods for optimizing interaction with a form in a website page and systems thereof
CN110618850A (en) UI (user interface) loading method and system and related device
US7444585B2 (en) Delta handling in server pages
CN101370100A (en) Method for fast browsing electronic program manual
CN102456041A (en) Webpage language switching method and device as well as network application system
CN100385397C (en) System and method for completing webpage update when receiving triggering event
CN100394721C (en) Mobile telephone browser with multiple interpreters
CN106557587B (en) Method and system for storing and displaying webpage picture and corresponding text
EP1100239A2 (en) Method and system for property page management
EP1377917A2 (en) Extensible stylesheet designs using meta-tag information
Gordon et al. Bluejay: a browser for linear units in Java

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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
ASS Succession or assignment of patent right

Owner name: I VALLEY HOLDINGS CO., LTD.

Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN

Effective date: 20150714

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150714

Address after: Cayman Islands, George Town

Patentee after: IValley Holding Co., Ltd.

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation

CX01 Expiry of patent term

Granted publication date: 20050907

CX01 Expiry of patent term