CN101739425B - Webpage integration method - Google Patents

Webpage integration method Download PDF

Info

Publication number
CN101739425B
CN101739425B CN2008102258741A CN200810225874A CN101739425B CN 101739425 B CN101739425 B CN 101739425B CN 2008102258741 A CN2008102258741 A CN 2008102258741A CN 200810225874 A CN200810225874 A CN 200810225874A CN 101739425 B CN101739425 B CN 101739425B
Authority
CN
China
Prior art keywords
message unit
worktable
page
acquiescence
webpage
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 - Fee Related
Application number
CN2008102258741A
Other languages
Chinese (zh)
Other versions
CN101739425A (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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN2008102258741A priority Critical patent/CN101739425B/en
Publication of CN101739425A publication Critical patent/CN101739425A/en
Application granted granted Critical
Publication of CN101739425B publication Critical patent/CN101739425B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to network application technology, more particularly to a webpage integration method, according to which, a user can decide the layout and the contents of webpage and integrate differently-sourced information conveniently in terms of personal preference so as to generate a personalized webpage. By accessing such a webpage in which the differently-sourced information is integrated, the user avoids the inconvenience caused by multiple accesses; and through the customized selection for webpage personality, the user is provided with one-stop service which is implemented as required.

Description

A kind of method of Webpage integration
Technical field
The present invention relates to the network application technology, be specifically related to a kind of method of Webpage integration.
Background technology
The internet is through after the years development, and people are more and more stronger for the dependence of network aspect many in work and life etc., and network is changing work, animation and the mode of popular group unconsciously.Be accompanied by appearance and the development of Web2.0, network application becomes increasingly abundant, and the quantity of information that it comprised is also rapidly expanding.The growing high capacity information in internet under the prerequisite that satisfies user's resource requirement, also for these information resources effectively obtain and use is had higher requirement.
The page formatting that present web browser is provided is completely fixed for the user; As to obtain the various related contents that are dispersed in the different pages; The user need open a plurality of web pages; And between each page, switch, this just seems too loaded down with trivial details in the use, also can influence the efficient of the information of obtaining.Therefore, the user needs a kind of effective method so that can in the bulk information resource, obtain the own information of being concerned about efficiently and easily, and can carry out customization of individual character or content planning to these information.
On the other hand,, various application system is often arranged, like mailing system, HRMS, logistics dissemination system, OA office system, decision analysis system in enterprises.These systems often independently are provided with, and demand is single, information dispersion, interface disunity.In order to improve the service efficiency of each entire system, be necessary these system resource is integrated, make the information of separate sources concentrate displaying.
The integration of resource can be the integration of presentation layer or data Layer.Is the content integration to of the different pages web page integration mode that is conceived to presentation layer.Integrating is not simply compiling, adding up of information, and certain tissue and planning function also must be provided.
Summary of the invention
The objective of the invention is to fix to present Webpage form; Be not easy to the defective that the user uses; A kind of method of Webpage integration is provided, lets the user can integrate the information of separate sources easily, make it to become the personalized web page according to individual's hobby.
Technical scheme of the present invention is following: a kind of method of Webpage integration comprises the steps:
(1) the client network browse request integration networks page; The mode of the request integration networks page is the network address of an aspx page of input in web browser, the resource location of pattern, layout and each message unit of the network address of this aspx page the is corresponding needed integration page of user;
(2) server end provides an aspx page; And the pattern file of the aspx page quoted; The aspx page comprises a self-defined control of link.ascx; The message unit container div that ID is DemoArea puts the mark symbol, and the placeholder server controls that ID is InfoUnitContainer is added with the Unit container control in the placeholder server controls; Quoting of pattern file is to realize through link.ascx;
(3) server end loads user's all working station information from database, and one of them worktable is designated the acquiescence worktable; Described worktable is a label subpage, and described acquiescence worktable is for integrating the label subpage that page acquiescence is showed;
(4) server end obtains the path of acquiescence worktable topology file, establishes the worktable layout, and all message units on the initialization acquiescence worktable; The content of described acquiescence worktable topology file is added in the message unit container div that ID is DemoArea;
(5) server end generates the client global variable array of message unit on the acquiescence worktable, according to the demand of client the Url of each message unit and each message unit container div of initialization is set;
(6) the client network browser resolves is carried out page script, and the asynchronous content of obtaining the Url specified page of each message unit is added among the message unit container div of the aspx page.
Further, the method for aforesaid Webpage integration, in step (1), it is the network address of an aspx page of input in web browser that the user asks the mode of the integration networks page.
Further, the method for aforesaid Webpage integration, in step (2), system obtains the path of quoting of pattern file through the href attribute of the link that is provided with in advance among the link.ascx, realizes the pattern file include of the aspx page.
Further, the method for aforesaid Webpage integration in step (3), is integrated the page for one and is comprised one or more worktable, and whether the attribute of worktable comprises sign, title, affiliated ID, layout sign, is acquiescence worktable sign.
Further, the method for aforesaid Webpage integration, in step (3), if the user is that the page is integrated in visit for the first time, system creates an acquiescence worktable according to the style characteristics of the aspx page for the user.
Further; The method of aforesaid Webpage integration; The corresponding message unit array of each worktable, the attribute of message unit comprises: area code, the sequence number of sign, title, affiliated worktable sign, affiliated layout, whether launch, url, periodic refreshing, whether fixing whether.
Further, the method for aforesaid Webpage integration, in step (5), the global variable array of generation is a two-dimensional structure, has write down the url of each message unit, sign and the corresponding XmlHttp object of message unit container div.
Further, the method for aforesaid Webpage integration in step (6), saves as a character string with the content of pages that obtains, and can carry out filtration treatment to content of pages as required, promptly character string is revised.
Further, the method for aforesaid Webpage integration, when the user added message unit, the attribute according to the message unit that is added in step (5) regenerated the global variable array.
Further; The method of aforesaid Webpage integration, when the position of message unit changed, client was carried out record to area code, these three parameters of sequence number of the message unit sign that is moved, the up-to-date affiliated layout of this message unit; The passback server process; Server obtains above-mentioned three parameters, carries out database manipulation, and the position of message unit is preserved again.
Beneficial effect of the present invention is following: webpage integration method of the present invention is registered pattern and layout according to user's demand on the page that is appeared; And the pairing resource of each message unit positioned; Each message unit is through the asynchronous content of pages that obtains the Url appointment of each self-corresponding XmlHttp object; Thereby can let the user integrate the information of separate sources easily, make it to become the personalized web page according to individual's hobby.The user through the such polymerization of visit the web page of different information sources, avoided the repeatedly trouble of visit; Through the customization selection personalized, for the user provides the "one-stop services" that realizes as required to the page.
Description of drawings
Fig. 1 is a method flow diagram of the present invention;
Fig. 2 integrates the design sketch of the page for the present invention;
Fig. 3 is for integrating the design sketch of message unit in the page;
Fig. 4 integrates the displaying process flow diagram of the page for the present invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is carried out detailed description.
The integration page involved in the present invention is an aspx page, for example: default.aspx.This integration page has comprised a self-defined control of link.ascx, and the message unit container div that ID is DemoArea puts the mark symbol, the placeholder server controls that ID is InfoUnitContainer, and the code sample of its simplification is following:
Figure GSB00000632398500041
As shown in Figure 1, the concrete integration processing flow process of this page is following:
(1) client user imports in web browser and integrates page network address and ask, such as default.aspx.The resource location of pattern, layout and each message unit of the network address of this aspx page the is corresponding needed integration page of user, this is by clear and definite in prior customization procedure.
(2) server end provides an aspx page, and the pattern file of the aspx page is quoted.
Quoting through link.ascx of pattern file realizes that the self-defined control of link.ascx has encapsulated the link control, through programming the href attribute of link is set, and this attribute is exactly the path of quoting of pattern file.
(3) server-side system loads user's all working station information from database, and one of them worktable is designated the acquiescence worktable.
A worktable is a label subpage, and a user can have a plurality of worktable, and a plurality of label subpages are just arranged, but has one to be to integrate the label subpage (acquiescence worktable) that page acquiescence is showed.
Whether the attribute of worktable comprises sign, title, affiliated ID, layout sign, is acquiescence worktable sign.
If the user is that for the first time the page is integrated in visit, system, that is to say to the user and creates a WEB page that has a label subpage for the user creates an acquiescence worktable according to the style characteristics of the aspx page.
(4) system obtains the path of worktable topology file, establishes the worktable layout, and all message units on the initialization acquiescence worktable.
The worktable layout is an attribute of acquiescence worktable, and its file content is added to the message unit container div the inside that ID is DemoArea.Layout with delegation three row is an example, the theing contents are as follows of topology file:
Figure GSB00000632398500051
All message units on the initialization acquiescence worktable realize that through function G etWorkplaceUnits message unit is an object logic, the corresponding message unit array of each worktable.The attribute of message unit comprises: area code, the sequence number of sign, title, affiliated worktable sign, affiliated layout, whether launch, url, customization url, periodic refreshing, whether fixing whether.
The function of GetWorkplaceUnits function is all message units on the initialization designated user acquiescence worktable.This is a function of operation layer, and worktable, message unit all are business objects.The corresponding message unit array of each worktable.This function will call data Layer function access database, read the content of the tables of data of depositing message unit information, give the attribute assignment of each message unit then.
(5) system generates the client javascript global variable array of message unit on the acquiescence worktable, and each message unit container of initialization.
The client javascript global variable array that generates message unit on the acquiescence worktable realizes through function LoadUnitScript.The global variable array that generates is a two-dimensional structure, has write down the url of each message unit, sign and the corresponding XmlHttp object of message unit container div.The sign of url and div all depends on the attribute of message unit.The form of array is following:
Var UnitList=new Array (new Array (' url1 ', ' div sign 1 ', ' XmlHttp object 1 '), newArray (' url2 ', ' div sign 2 ', ' XmlHttp object 2 ') ...));
Each message unit container of initialization is realized through function C reateSnapList.Message unit container involved in the present invention adopts the Unit container control, and being added on ID is in the placeholder server controls of InfoUnitContainer.That message unit appears in client is div.
When the user adds message unit, regenerate the global variable array according to the attribute of the message unit that is added; And deletion is during message unit, and this array can not be updated.
When the position of message unit changes; The area code of layout, these three reference records of sequence number were in HtmlInputHidden under message unit sign, this message unit that the client handle is moved was up-to-date; The passback server process; Server obtains above-mentioned three parameters, carries out database manipulation, and the position of message unit is preserved again.
The function of LoadUnitScript function is for being responsible for generating message unit client javascript global variable array.Because it is different that each user gives tacit consent to quantity, the attribute of the message unit on the worktable, therefore in page processing procedure, calls this function and dynamically generate.This is an operation layer function, and it splices script with the mode of character string, is registered in the page with RegisterClientScriptBlock at last and goes, and wherein, RegisterClientScriptBlock is public function.
The function of CreateSnapList function is each message unit container of initialization.This is a function of operation layer, and this function will call data Layer function access database, reads the content of the tables of data of depositing the message unit information of container, gives the attribute assignment of each container then.
(6) the client network browser resolves is carried out the javascript script, and each message unit is through the asynchronous content of obtaining the Url specified page of each self-corresponding XmlHttp object, through filtration treatment, is added in the div that the message unit container provides.
The present invention selects for use div as the appearance form of message unit container in client; And operations necessary instruction toolbar is provided; Container contents specifies url to obtain in the asynchronous request of client, makes and have an opportunity the content that gets access to is handled that it is with better function simply to quote url than frame control.Owing to be asynchronous request, a message unit loads the loading that failure can not influence full page.
Client is controlled the displaying of div content through the javascript script and is hidden.This does not write down any information, does not return server-side processes yet.That is to say that the user is current sees that through the click button message unit expansion/folded state has become, if other page of user capture is returned again, message unit will return to the state when not operating.
Fig. 2 is the design sketch of the integration page of one the three vertical layout in hurdle, and each little zone all is made up of specific contents, i.e. message unit.Fig. 3 is the design sketch of one of them message unit, and each message unit has the container of oneself, and the border is provided, title and operational order.The content of message unit is not that simple url quotes, but specifies the url content through the XmlHttpRequest acquisition request.The largest benefit of so doing is to be convenient to control the request of each message unit initiation and the processing of returned content.
The integration page provided by the present invention is compared with traditional page has following characteristics:
1. the user determines the layout of the page.
2. the user determines the content of the page, promptly which message unit is made up of.The content of message unit also provides customization function.
3. the user determines the pattern of the page.
4. the user can organize a plurality of pages, and each page all is made up of the content-related information unit.
5. the user can drag its position in the page of message unit change.New position can be preserved automatically.
6. message unit can add from the page at any time, deletion.
7. message unit has expansion, and folding two kinds are present condition.
8. the message unit content can be printed.
9. the message unit content can craft or periodic refreshing.
10. have under the situation of acquiescence worktable,, can create one according to the acquiescence worktable is new if all working platform is eliminated.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to technological innovation scope of the present invention equally.

Claims (9)

1. the method for a Webpage integration comprises the steps:
(1) the client network browse request integration networks page; The mode of the request integration networks page is the network address of an aspx page of input in web browser, the resource location of pattern, layout and each message unit of the network address of this aspx page the is corresponding needed integration page of user;
(2) server end provides an aspx page; And the pattern file of the aspx page quoted; The aspx page comprises a self-defined control of link.ascx; The message unit container div that ID is DemoArea puts the mark symbol, and the placeholder server controls that ID is InfoUnitContainer is added with the Unit container control in the placeholder server controls; Quoting of pattern file is to realize through link.ascx;
(3) server end loads user's all working station information from database, and one of them worktable is designated the acquiescence worktable; Described worktable is a label subpage, and described acquiescence worktable is for integrating the label subpage that page acquiescence is showed;
(4) server end obtains the path of acquiescence worktable topology file, establishes the worktable layout, and all message units on the initialization acquiescence worktable; The content of described acquiescence worktable topology file is added in the message unit container div that ID is DemoArea;
(5) server end generates the client global variable array of the above all message unit of acquiescence worktable, according to the demand of client the Url of each message unit and each message unit container div of initialization is set;
(6) the client network browser resolves is carried out page script, and the asynchronous content of obtaining the Ur1 specified page of each message unit is added among the message unit container div of the aspx page.
2. the method for Webpage integration as claimed in claim 1 is characterized in that: in step (2), system obtains the path of quoting of pattern file through the href attribute of the link that is provided with in advance among the link.ascx, realizes the pattern file include of the aspx page.
3. the method for Webpage integration as claimed in claim 1; It is characterized in that: in step (3); Integrate the page for one and comprise one or more worktable, whether the attribute of worktable comprises sign, title, affiliated ID, layout sign, is acquiescence worktable sign.
4. like the method for claim 1 or 2 or 3 described Webpage integrations, it is characterized in that: in step (3), if the user is that the page is integrated in visit for the first time, system creates an acquiescence worktable according to the style characteristics of the aspx page for the user.
5. the method for Webpage integration as claimed in claim 1; It is characterized in that: the corresponding message unit array of each worktable, the attribute of message unit comprises: area code, the sequence number of sign, title, affiliated worktable sign, affiliated layout, whether launch, url, periodic refreshing, whether fixing whether.
6. like the method for claim 1 or 2 or 3 described Webpage integrations; It is characterized in that: in step (5); The global variable array that generates is a two-dimensional structure, has write down the url of each message unit, sign and the corresponding XmlHttp object of message unit container div.
7. like the method for claim 1 or 2 or 3 described Webpage integrations, it is characterized in that: in step (6), the content of pages that obtains is saved as a character string, and as required the character string of content of pages is revised.
8. the method for Webpage integration as claimed in claim 1, it is characterized in that: when the user added message unit, the attribute according to the message unit that is added in step (5) regenerated the global variable array.
9. like the method for claim 1 or 2 or 3 described Webpage integrations; It is characterized in that: when the position of message unit changes; Client is carried out record to area code, these three parameters of sequence number of the message unit sign that is moved, the up-to-date affiliated layout of this message unit, the passback server process, and server obtains above-mentioned three parameters; Carry out database manipulation, the position of message unit is preserved again.
CN2008102258741A 2008-11-04 2008-11-04 Webpage integration method Expired - Fee Related CN101739425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102258741A CN101739425B (en) 2008-11-04 2008-11-04 Webpage integration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102258741A CN101739425B (en) 2008-11-04 2008-11-04 Webpage integration method

Publications (2)

Publication Number Publication Date
CN101739425A CN101739425A (en) 2010-06-16
CN101739425B true CN101739425B (en) 2012-07-04

Family

ID=42462916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102258741A Expired - Fee Related CN101739425B (en) 2008-11-04 2008-11-04 Webpage integration method

Country Status (1)

Country Link
CN (1) CN101739425B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385607B (en) * 2010-11-23 2014-07-09 北京华达时代科技有限公司 Internet sharing application programming interface (API) port aggregation and monitoring technology
CN102486734A (en) * 2010-12-03 2012-06-06 上海宝信软件股份有限公司 Rich client application system
CN103246680B (en) * 2012-02-13 2016-05-18 腾讯科技(深圳)有限公司 A kind of method in browser, web page contents polymerization being represented and device
JP5568148B2 (en) * 2012-03-27 2014-08-06 富士フイルム株式会社 Layout device, layout method, and program
CN104063379A (en) * 2013-03-18 2014-09-24 联想(北京)有限公司 Display control method and electronic equipment
CN104123143A (en) * 2013-04-24 2014-10-29 鸿富锦精密工业(深圳)有限公司 User control loading system and method
CN103886036B (en) * 2014-03-06 2017-12-26 百度在线网络技术(北京)有限公司 A kind of method and apparatus for the page to be presented
US9824136B2 (en) * 2014-09-19 2017-11-21 Microsoft Technology Licensing, Llc Dynamic application containers
CN105516337B (en) * 2015-12-28 2018-07-13 南京大学金陵学院 Web site based on dynamic load mechanism docks analytic method
CN108153523A (en) * 2016-12-06 2018-06-12 北京京东尚科信息技术有限公司 The method, apparatus and system that personalized interface and content based on Java technology are realized
CN108335164A (en) * 2017-01-20 2018-07-27 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment for realizing shopping at network
CN108664296A (en) * 2017-03-31 2018-10-16 阿里巴巴集团控股有限公司 A kind of page rendering method and apparatus, a kind of page processing method and device
CN110515691A (en) * 2019-08-29 2019-11-29 北京明略软件系统有限公司 The display methods and device of parameter information, storage medium, processor
CN112764806A (en) * 2021-02-27 2021-05-07 中电万维信息技术有限责任公司 Front-end resource modular management and resource packaging configuration method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1205567C (en) * 1997-08-08 2005-06-08 国际商业机器公司 Apparatus and method for formating web page

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1205567C (en) * 1997-08-08 2005-06-08 国际商业机器公司 Apparatus and method for formating web page

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2002-312090A 2002.10.25

Also Published As

Publication number Publication date
CN101739425A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101739425B (en) Webpage integration method
US7284208B2 (en) System and method for enabling at least one independent data navigation and interaction activity within a document
EP1552428B1 (en) Method and apparatus for relaying session information from a portal server
US9147004B2 (en) Website builder systems and methods with device detection to adapt rendering behavior based on device type
US9245294B1 (en) Providing separate views for items
JP5305581B2 (en) Method, portal, and computer program for exchanging portlet configuration data
US20130326333A1 (en) Mobile Content Management System
US20040054573A1 (en) Smart content information merge and presentation
US20070240041A1 (en) Methods and apparatus for generating an aggregated cascading style sheet
Raman Toward 2 W, beyond web 2.0
CN105095445A (en) Page generation method and system
WO2004031987A2 (en) Method and apparatus for managing a collection of portlets in a portal server
WO2007063549A2 (en) Method and apparatus for a personalized web page
AU2003269232A1 (en) Method and apparatus for using business rules or user roles for selecting portlets in a web portal
CN101216823A (en) Website navigation system and website navigation method
WO2004031985A2 (en) Method and apparatus for enabling associated portlets of a web portal to collaborate for synchronized content display
CN105183475A (en) Method and system for customizing individuality pages of portal website by user himself
CN102065114A (en) Method and device for mobile terminal to access webpage
CN104321743A (en) Method and system for developing applications for consulting content and services on a telecommunications network
CN113535176A (en) Page generation method and device
US10223458B1 (en) Automatic magazine generator for web content
CN105373608A (en) Input method based scene-mode content pushing method and system
CN107924413A (en) Bifurcated is searched for
CN105094775A (en) Webpage generation method and apparatus
US20120054609A1 (en) Method and System for Providing a Personalized Starting Web Page

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120704

Termination date: 20191104

CF01 Termination of patent right due to non-payment of annual fee