CN101470742A - Data system of personalized web page, display and data storage method - Google Patents

Data system of personalized web page, display and data storage method Download PDF

Info

Publication number
CN101470742A
CN101470742A CNA200710305662XA CN200710305662A CN101470742A CN 101470742 A CN101470742 A CN 101470742A CN A200710305662X A CNA200710305662X A CN A200710305662XA CN 200710305662 A CN200710305662 A CN 200710305662A CN 101470742 A CN101470742 A CN 101470742A
Authority
CN
China
Prior art keywords
webpage
individuation data
data
browser
electronic equipment
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
CNA200710305662XA
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.)
Inventec Corp
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 CNA200710305662XA priority Critical patent/CN101470742A/en
Publication of CN101470742A publication Critical patent/CN101470742A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A data system of individual web pages and a display and data storage method are provided, which can solve the problems of unavailable setting of web pages by users and web page displaying according to the setting in the prior art through the technical means of constructing modules and obtaining modules in a web page, and loading the individual parameters stored in the electronic device on a local end by collocating the use state keep technology of a browser to display the individual web pages, and realizes the technical effect of conveniently displaying the individual web pages in the web page.

Description

The data system of individualized webpage, demonstration and data storage method
Technical field
A kind of data system, demonstration and data storage method are meant a kind of data system, demonstration and data storage method of individualized webpage especially.
Background technology
Along with the user increases day by day to the different demands of webpage, the function of webpage but can't provide the user that webpage is carried out the setting of different demands, therefore can't carry out web displaying respectively according to each user's different set.In general, webpage can be divided into dynamic web page (for example: JSP, ASP, PHP) and static Web page (for example: HTML, XML) two big classes:
Static Web page is the file that is kept on the servomechanism, uses small-size text file (Cookie) to preserve lteral data simultaneously, and the life cycle of Cookie depends on whether the user removes, as long as the user does not remove, Cookie will exist always.But, be difficult for by user's access on the one hand because the operation of Cookie is very loaded down with trivial details; Not program because of Cookie itself on the other hand, thereby can't collect any information voluntarily, more can't collect any personal information of relevant user.Because the character of Cookie itself determined Cookie only can influence the user and can directly do not managed by the user, so can't be according to user's setting display web page.
Use Cookie compared to static Web page, therefore dynamic web page is different from merely displaying contents of static Web page because have interactive function (Session).Dynamic web page can present different contents according to different users's user mode (browsing behavior, browsing time ...), and its main advantage is that access is easy.Although yet the Session access is easy, but the life cycle of Session exists only in the session, as long as user's computer, browser or webpage servomechanism restart, all can cause Session to lose efficacy, so Session also can't be according to user's setting display web page.
In sum, prior art existed since the midium or long term always as can be known, can't set and comply with the problem that sets display web page by the user in webpage, therefore was necessary to propose improved technological means, solved this problem.
Summary of the invention
Because the prior art existence, can't be by user's setting and according to the problem that sets display web page in webpage, the present invention proposes a kind of data system, demonstration and data storage method of individualized webpage.
The data system of individualized webpage proposed by the invention, be applied in a browser and be connected to a webpage, this browser is arranged in the electronic equipment of local side, and this browser supports user mode to keep technology (Persistence), this data system comprises: whether judge module exists individuation data in order to the electronic equipment of judging local side; Setting module (setAttribute), in order to when this webpage receives triggering command, operation according to the user produces personalizing parameters, wherein: when there was individuation data in the electronic equipment of local side, the personalizing parameters of operating generation with the user upgraded the personalizing parameters in the individuation data; And when there is not individuation data in the electronic equipment of local side, on the electronic equipment of local side, set up individuation data, and the store personalized parameter is to individuation data; And obtain module (getAttribute), in order to when browser is connected to servomechanism and downloads this webpage according to network address: when there is individuation data in the electronic equipment of local side, obtain module and read personalizing parameters in the individuation data, become individualized webpage; And when there is not individuation data in the electronic equipment of local side, read the parameter preset of this webpage, become individualized webpage.
The display packing of individualized webpage proposed by the invention, be applied on the webpage of data system with individualized webpage, it comprises the following step: browser is connected to servomechanism according to network address and downloads this webpage, and this browser is supported user mode and kept (Persistence) technology; This webpage judges whether the electronic equipment of local side exists individuation data, wherein: when having individuation data, read personalizing parameters in the store personalized data as display parameter by obtaining module (getAttribute); And when not having individuation data, obtain module and read the parameter preset of this webpage as display parameter; Adjust the displaying contents of this webpage with display parameter, become individualized webpage; And demonstration individualized webpage.
The data storage method of individualized webpage proposed by the invention, be applied on the webpage of data system with individualized webpage, it comprises the following step: browser is connected to servomechanism according to network address and downloads this webpage and show, wherein browser is supported user mode and kept (Persistence) technology; When this webpage receives triggering command, according to user's operation generation personalizing parameters; This webpage judges whether the electronic equipment of local side exists individuation data, and wherein: when having individuation data, the personalizing parameters that setting module (setAttribute) is operated generation with the user upgrades the personalizing parameters in the individuation data; And when not having individuation data, setting module is set up individuation data, and the store personalized parameter is to individuation data; And in the electronic equipment store personalized data of local side.
Data system proposed by the invention, demonstration and data storage method are as above, and the difference between the prior art is that the present invention is by setting up setting module, obtaining module in webpage, the user mode of collocation browser keeps technology, and the personalizing parameters that is written into the electronic equipment that is stored in local side is to show individualized webpage.
By above-mentioned technological means, the present invention can reach the technology effect that shows the convenience of individualized webpage in webpage.
Description of drawings
Fig. 1 is the process flow diagram of the display packing of individualized webpage of the present invention.
Fig. 2 is the process flow diagram of the data storage method of individualized webpage of the present invention.
Embodiment
Below describe conjunction with figs. and embodiment in detail embodiments of the present invention, make by this skilled personnel can to the present invention how the application technology means implementation procedure that solves technical matters and reach the technology effect sufficient understanding is arranged and can implement according to this.
The invention provides a kind of data system, demonstration and data storage method of individualized webpage, below elder generation is described at the data system of individualized webpage, next is at the process flow diagram of the display packing of the individualized webpage of Fig. 1, display packing to individualized webpage provided by the present invention describes, and last describes at the process flow diagram of the data storage method of the individualized webpage of Fig. 2 again.
The data system of individualized webpage proposed by the invention can be applicable on the static Web page (for example: HTML, XML), but not as limit, can also be applied in dynamic web page (for example: JSP, ASP, PHP).The data system of individualized webpage of the present invention, be applied in a browser and be connected to a webpage, this browser is arranged in the electronic equipment of local side, and this browser supports user mode to keep technology (Persistence), and this data system comprises: judge module, setting module (setAttribute) and obtain module (getAttribute).Wherein electronic equipment can be desktop computer or hand-held computer, but not as limit.
Because the data system of individualized webpage of the present invention is the user mode maintenance technology that is provided based on browser, the store personalized data are in the electronic equipment of local side simultaneously.(Extensible Markup Language, XML) form (for example: shelves .xml by name), but not as limit stores individuation data with extend markup language.If during collocation XML form, then use XML document object model (XML Document Object Model, XML DOM) technology realizes the access to individuation data, so setting module and this are obtained the personalizing parameters of module in just can the access individuation data, make the present invention be implemented according to this.
Before further specifying judge module, the setting module of the data system of individualized webpage of the present invention and obtaining module, keep technology and XML document object model (XMLDOM) to do explanation at user mode earlier.
Microsoft Internet Explorer 5 browsers with and afterwards version all support user mode maintenance technology, and user mode maintenance technology is based on Dynamic Hyper Text Makeup Language (DHTML).Though DHTML is developed out by HTML, DHTML combines HTML 4.0, Java Script and VBScript, makes that operating function is convenient and function is many.
Just because of this, user mode keeps 4 kinds of behaviors of technical support: historical data (saveHistory), my favorite (saveFavorite), snapshot data (saveSnapshot), and user's data (userData); (for example: local side hard disc, local harddisks) user's data promptly are used for storing the related data in the conversation procedure wherein to be stored in the electronic equipment of local side.Keep technology by user mode, make common static Web page have interactive function (Session), so can in conversation procedure, preserve the hard disc of some data to the electronic equipment of local side.
Simultaneously, user mode maintenance technology provides the storage area of this webpage 64KB, and the storage area that each website (site domain) 640KB is provided, the storage area that has only 4KB compared to Cookie, user mode keeps technology not only can use in dynamic web page and static Web page, and bigger storage area is arranged.
And because user mode maintenance technology meets extend markup language (Extensible MarkupLanguage, XML) standard, thus the present invention in this webpage setting module with obtain module and can use XML document object model (XML DOM) technology with the personalizing parameters in the access individuation data.XML DOM is an interface document that belongs to the design of XML file routine, provides the attribute (Attribute) of programmatic interface, method and object.
Next, at the judge module that data system comprised, the setting module of individualized webpage proposed by the invention and obtain module and do explanation respectively.
Whether judge module exists individuation data in order to the electronic equipment of judging local side.
Setting module, in order to when this webpage receives triggering command, operation according to the user produces personalizing parameters, wherein: when there is individuation data (for example: shelves are called .xml) in the electronic equipment of local side, then operate the personalizing parameters of the personalizing parameters renewal local side individuation data of generation with the user; When there was not individuation data in the electronic equipment of local side, setting module can be set up individuation data by browser on the electronic equipment of local side, and the storage user operates the personalizing parameters of generation to the individuation data of being set up.
Wherein, triggering command can realize by the newly-increased/modification button in this webpage.Personalizing parameters is attribute (Attribute), property value, project (Item) and element (Element), but not as limit, with<item〉Hong Kong</item〉be example: " Hong Kong " is a personalizing parameters.
In addition, for security consideration and make things convenient for the access individuation data, individuation data is stored under the catalogue of electronic equipment of local side, and this catalogue is that browser is specified, and for instance: the catalogue of store personalized data can be identical with the catalogue of browser; Or the catalogue of store personalized data can be another catalogue of browser appointment.
Obtain module, in order to when browser is connected to servomechanism and downloads this webpage according to network address: when the electronic equipment of local side exists individuation data (for example: in the time of shelves .xml by name), obtain module and read personalizing parameters in the individuation data, become individualized webpage; And when there is not individuation data in the electronic equipment of local side, read the parameter preset of this webpage, become individualized webpage.
What specify is, because the life cycle of Session exists only in the session, so will cause Session to lose efficacy when user's computer, browser or webpage servomechanism restarts.And the present invention adopts user mode maintenance technology to make common static Web page have Session, makes simultaneously the similar Cookie of life cycle, just to have forever as long as the user does not remove.In addition, user mode maintenance technology has the storage area bigger than Cookie.Adopt user mode maintenance technology collocation XML DOM technology can be considered to be the set of Session and Cookie advantage.
What deserves to be mentioned is, the data system of individualized webpage proposed by the invention because user mode keeps the reason of technology, makes common static Web page have Session, but the present invention is not limited to and can only uses on static Web page, can also use on dynamic web page.Lay special stress on of the present invention uses on static Web page, for no other reason than that dynamic web page uses Session, function is original just uses Cookie powerful than static Web page, and reach the data system of store personalized setting at static Web page more much more difficult than the data system of reaching the store personalized setting at dynamic web page, but the present invention is not limited to only can be applied on the static Web page.
Fig. 1 is the process flow diagram of the display packing of individualized webpage of the present invention.
The display packing of individualized webpage proposed by the invention can be used on the static Web page (for example: HTML, XML), but not as limit, can also be applied in dynamic web page (for example: JSP, ASP, PHP).The display packing of individualized webpage of the present invention, be applied on the webpage of data system with individualized webpage, it comprises the following step: browser is connected to servomechanism according to network address and downloads this webpage, and this browser is supported user mode and kept (Persistence) technology (step 110); This webpage judges whether the electronic equipment of local side exists individuation data (step 120), wherein: when having individuation data, read personalizing parameters in the individuation data as display parameter (step 130) by obtaining module (getAttribute); And when not having individuation data, obtain module and read the parameter preset of this webpage as display parameter (step 140); Adjust the displaying contents of this webpage with display parameter, become individualized webpage (step 150); And demonstration individualized webpage (step 160).
Wherein, (Extensible Markup Language, XML) form (for example: shelves .xml by name), but not as limit stores individuation data with extend markup language.If during collocation XML form, then use XML document object model (XML Document Object Model, XML DOM) technology to realize access, make and obtain the personalizing parameters of module in can the access individuation data individuation data; Wherein, individuation data is stored under the catalogue of electronic equipment of local side, and this catalogue is that browser is specified, and for instance: the catalogue of store personalized data can be identical with the catalogue of browser; Or the catalogue of store personalized data can be another catalogue of browser appointment.Personalizing parameters is attribute (Attribute), property value, project (Item) and element (Element).
What specify is that when execution in step 140 arrived step 160, because the user does not have the setting individual parameter, so there is not individuation data in the electronic equipment of local side, at this moment, individualized webpage was this webpage.
Fig. 2 is the process flow diagram of the data storage method of individualized webpage of the present invention.
The data storage method of individualized webpage proposed by the invention can be applicable on the static Web page (for example: HTML, XML), but not as limit, can also be applied in dynamic web page (for example: JSP, ASP, PHP).The data storage method of the present invention's individualized webpage, be applied on the webpage of data system with individualized webpage, it comprises the following step: browser is connected to servomechanism according to network address and downloads this webpage and show (step 210), and wherein browser is supported user mode and kept (Persistence) technology; When this webpage receives triggering command, according to user's operation generation personalizing parameters (step 220); This webpage judges whether the electronic equipment of local side exists individuation data (step 230), wherein: when having individuation data, the personalizing parameters that setting module (setAttribute) is operated generation with the user upgrades the personalizing parameters (step 240) in the individuation data; And when not having individuation data, setting module is set up individuation data, and the store personalized parameter is to individuation data (step 250); And in the electronic equipment store personalized data (step 260) of local side.
Wherein, (Extensible Markup Language, XML) form (for example: shelves .xml by name), but not as limit stores individuation data with extend markup language.If during collocation XML form, then use XML document object model (XML Document Object Model, XML DOM) technology to realize access, make the personalizing parameters of setting module in can the access individuation data to individuation data; Wherein, individuation data is stored under the catalogue of electronic equipment of local side, and this catalogue is that browser is specified, and for instance: the catalogue of store personalized data can be identical with the catalogue of browser; Or the catalogue of store personalized data can be another catalogue of browser appointment.Personalizing parameters is attribute (Attribute), property value, project (Item) and element (Element).
In sum, difference between the present invention and the prior art is to have by setting up setting module in webpage, obtaining module as can be known, the user mode of collocation browser keeps technology, the personalizing parameters that is written into the electronic equipment that is stored in local side is to show the technological means of individualized webpage, can solve existing in prior technology by this technological means, can't be in webpage set and according to setting the problem of display web page, and then reach the technology effect that in webpage, shows the convenience of individualized webpage by the user.
Though embodiment proposed by the invention as above, described content is not in order to direct qualification protection scope of the present invention.Any the technical staff in the technical field of the invention under the prerequisite that does not break away from spirit and scope proposed by the invention, can do a little change what implement in form and on the details.Protection scope of the present invention is as the criterion with appended claim.

Claims (18)

1, a kind of data system of individualized webpage is applied in a browser and is connected to a webpage, and this browser is arranged in the electronic equipment of local side, and this browser support user mode maintenance technology, and this data system comprises:
Whether one judge module exists an individuation data in order to the electronic equipment of judging local side;
One setting module in order to when this webpage receives a triggering command, produces a personalizing parameters according to user's operation, wherein:
When there was this individuation data in the electronic equipment of local side, this personalizing parameters of operating generation with the user upgraded this personalizing parameters in this individuation data; And
When there is not this individuation data in the electronic equipment of local side, on the electronic equipment of local side, sets up this individuation data, and store this personalizing parameters to this individuation data; And
One obtains module, in order to when this browser is connected to servomechanism and downloads this webpage according to network address:
When there was this individuation data in the electronic equipment of local side, this was obtained module and reads this personalizing parameters in this individuation data, becomes an individualized webpage; And
When there is not this individuation data in the electronic equipment of local side, read a parameter preset of this webpage, become this individualized webpage.
2, system according to claim 1, wherein this webpage is a static Web page.
3, system according to claim 1, wherein this personalizing parameters is an attribute, a property value, a project and an element.
4, system according to claim 1, wherein this individuation data stores with the extend markup language form.
5, as system as described in the claim 4, wherein this setting module and this are obtained module and are adopted XML document object model technology.
6, system according to claim 1, wherein this individuation data is stored in the specified catalogue of this browser.
7, a kind of display packing of individualized webpage, this method are applied on the webpage of the data system with individualized webpage, and it comprises the following step:
One browser is connected to servomechanism according to network address and downloads this webpage, and this browser is supported user mode and kept technology;
This webpage judges whether the electronic equipment of local side exists an individuation data, wherein:
When having this individuation data, obtain module by one and read a personalizing parameters in this individuation data as display parameter; And
When not having this individuation data, this is obtained module and reads a parameter preset of this webpage as these display parameter;
Adjust the displaying contents of this webpage with these display parameter, become an individualized webpage; And
Show this individualized webpage.
8, as method as described in the claim 7, wherein this webpage is a static Web page.
9, as method as described in the claim 7, wherein this personalizing parameters is an attribute, a property value, a project and an element.
10, as method as described in the claim 7, wherein this individuation data stores with the extend markup language form.
11, as method as described in the claim 10, wherein this is obtained module and adopts XML document object model technology.
12, as method as described in the claim 7, wherein this individuation data is stored in the specified catalogue of this browser.
13, a kind of data storage method of individualized webpage, this method are applied on the webpage of the data system with individualized webpage, and it comprises the following step:
One browser is connected to servomechanism according to network address and downloads this webpage and show, wherein this browser is supported user mode and kept technology;
When this webpage receives a triggering command, produce a personalizing parameters according to user's operation;
This webpage judges whether the electronic equipment of local side exists an individuation data, wherein:
When having this individuation data, this personalizing parameters that a setting module is operated generation with the user upgrades this personalizing parameters in this individuation data; And
When not having this individuation data, this setting module is set up this individuation data, and stores this personalizing parameters to this individuation data; And
Electronic equipment in local side stores this individuation data.
14, as method as described in the claim 13, wherein this webpage is a static Web page.
15, as method as described in the claim 13, wherein this personalizing parameters is an attribute, a property value, a project and an element.
16, as method as described in the claim 13, wherein this individuation data stores with the extend markup language form.
17, as method as described in the claim 16, wherein this setting module adopts XML document object model technology.
18, as method as described in the claim 13, wherein this individuation data is stored in the specified catalogue of this browser.
CNA200710305662XA 2007-12-27 2007-12-27 Data system of personalized web page, display and data storage method Pending CN101470742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200710305662XA CN101470742A (en) 2007-12-27 2007-12-27 Data system of personalized web page, display and data storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200710305662XA CN101470742A (en) 2007-12-27 2007-12-27 Data system of personalized web page, display and data storage method

Publications (1)

Publication Number Publication Date
CN101470742A true CN101470742A (en) 2009-07-01

Family

ID=40828218

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200710305662XA Pending CN101470742A (en) 2007-12-27 2007-12-27 Data system of personalized web page, display and data storage method

Country Status (1)

Country Link
CN (1) CN101470742A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289477A (en) * 2011-07-29 2011-12-21 深圳市五巨科技有限公司 Method and device for screening page data of mobile terminal
CN102385626A (en) * 2011-10-28 2012-03-21 宇龙计算机通信科技(深圳)有限公司 Webpage display method and mobile terminal
CN102456072A (en) * 2010-10-19 2012-05-16 微软公司 Personalized object dimension
WO2014075509A1 (en) * 2012-11-13 2014-05-22 北京奇虎科技有限公司 Method and device for browser to process page element
CN104517247A (en) * 2013-10-02 2015-04-15 永庆房屋仲介股份有限公司 Real estate information processing system and method
CN104731833A (en) * 2013-12-24 2015-06-24 中兴通讯股份有限公司 Web layout method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456072A (en) * 2010-10-19 2012-05-16 微软公司 Personalized object dimension
CN102456072B (en) * 2010-10-19 2015-12-02 微软技术许可有限责任公司 Personalized object dimension
CN102289477A (en) * 2011-07-29 2011-12-21 深圳市五巨科技有限公司 Method and device for screening page data of mobile terminal
CN102385626A (en) * 2011-10-28 2012-03-21 宇龙计算机通信科技(深圳)有限公司 Webpage display method and mobile terminal
WO2014075509A1 (en) * 2012-11-13 2014-05-22 北京奇虎科技有限公司 Method and device for browser to process page element
CN104517247A (en) * 2013-10-02 2015-04-15 永庆房屋仲介股份有限公司 Real estate information processing system and method
CN104731833A (en) * 2013-12-24 2015-06-24 中兴通讯股份有限公司 Web layout method and device

Similar Documents

Publication Publication Date Title
CN111143729B (en) Optimization method, device, equipment and storage medium based on single page application
CA2603423C (en) Method and system for transferring web browser data between web browsers
US7694271B2 (en) Rendering GUI widgets with generic look and feel
CN104035753B (en) A kind of method and system of double WebView displayings customized web pages
CN107577509A (en) A kind of method, terminal and computer-readable recording medium for loading application interface
US9715557B2 (en) System, device and method for providing context sensitive content on a computing device
US20110252305A1 (en) Capturing the visual content of browser windows
US20100218084A1 (en) Method and system for client-side user interface enhancement to enable application integration and portalisation
CN101470742A (en) Data system of personalized web page, display and data storage method
CN104995601A (en) Switching to and from native web applications
CN105589959A (en) Form processing method and form processing system
EP2219119A1 (en) Method for preprocessing and displaying web page, mobile electronic device, and operation interface thereof
CN101876998B (en) Method and system for editing data
Kaar An introduction to Widgets with particular emphasis on Mobile Widgets
US9171091B2 (en) Storing a journal of local and remote interactions
Eichmann Evolving an engineered web
CN103226475A (en) Method and device for realizing control replacement during transcoding
JP2010015292A (en) Emphasis display addition method, display control program and server
WO2007118890A1 (en) Method for extending applications for mobile devices
KR100375529B1 (en) skin system for Window applications
KR101333476B1 (en) Method for multi-display
US8639732B2 (en) Method for storing and reading-out data handled by application operating on HTTP client, data storage program, and data read-out program
TWM511643U (en) A data centralized management system base on AJAX website
TWI610183B (en) An operational system for centralized management base on ajax website
Puder XML11—an abstract windowing protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090701