CN104598554A - Webpage page loading method and device - Google Patents

Webpage page loading method and device Download PDF

Info

Publication number
CN104598554A
CN104598554A CN201410856986.2A CN201410856986A CN104598554A CN 104598554 A CN104598554 A CN 104598554A CN 201410856986 A CN201410856986 A CN 201410856986A CN 104598554 A CN104598554 A CN 104598554A
Authority
CN
China
Prior art keywords
pagelets
user
publishing policy
feature information
information
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.)
Granted
Application number
CN201410856986.2A
Other languages
Chinese (zh)
Other versions
CN104598554B (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.)
Weimeng Chuangke Network Technology China Co Ltd
Original Assignee
Weimeng Chuangke Network Technology China 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 Weimeng Chuangke Network Technology China Co Ltd filed Critical Weimeng Chuangke Network Technology China Co Ltd
Priority to CN201410856986.2A priority Critical patent/CN104598554B/en
Publication of CN104598554A publication Critical patent/CN104598554A/en
Application granted granted Critical
Publication of CN104598554B publication Critical patent/CN104598554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a webpage page loading method, which comprises the following steps: a Web server loads the characteristic information of a user of a webpage page according to requests, and selects a corresponding pagelets publishing strategy; the Web server sends Pagelets determined according to the selected pagelets publishing strategy to user terminal equipment for loading. The invention also discloses a webpage page loading device.

Description

Webpage loading method and device
Technical field
The application relates to Internet technical field, particularly relates to a kind of Webpage loading method and device.
Background technology
Along with the high speed development of internet, a large amount of javascript, CSS (cascading style sheet) (Cascading StyleSheets, CSS) file need to be carried on the page, create impact to the speed that the page loads.Meanwhile, in a website, also usually need the more third-party popularizations of access, advertisement etc., also produce burden to the loading of the page, affect the speed that the page loads.
In prior art, for improving the loading velocity of the page, introduce the technical scheme of bassoon BigPipe.Adopt BigPipe technology, can realize Webpage being resolved into multiple Segment (piecemeal is called Pagelets) called; Further, namely terminal device realizes to whole Webpage by loading each Pagelets stage by stage loading.
From the above, at present in order to realize the loading of terminal device for Webpage, need to perform the step that server decomposes Webpage, terminal device loads each Pagelets that decomposition obtains stage by stage successively, thus the loading velocity of Webpage is still lower.
Summary of the invention
The embodiment of the present application provides a kind of Webpage loading method, in order to improve the loading velocity of Webpage.
The embodiment of the present application also provides a kind of Webpage charger, in order to improve the loading velocity of Webpage.
The embodiment of the present application adopts following technical proposals:
A kind of Webpage loading method, comprising: Web server, according to the characteristic information of the user of request of loading Webpage, chooses corresponding Segment Pagelets publishing policy; The terminal device that the Pagelets determined according to the Pagelets publishing policy chosen is sent to described user loads by Web server.
A kind of Webpage charger, comprising: choose unit, for the characteristic information of the user according to request of loading Webpage, chooses corresponding Segment Pagelets publishing policy; Transmitting element, loads for the terminal device Pagelets determined according to the Pagelets publishing policy choosing unit selection being sent to described user.
Due to Pagelets Segment publishing policy can be chosen according to the characteristic information of user, and the terminal device Pagelets determined according to the Pagelets publishing policy chosen being sent to user loads, without the need to the request of server according to user, Webpage is decomposed, thus the loading velocity of Webpage can be promoted.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the present application, and form a application's part, the schematic description and description of the application, for explaining the application, does not form the improper restriction to the application.In the accompanying drawings:
The schematic flow sheet of a kind of Webpage loading method that Fig. 1 provides for the embodiment of the present application;
Webpage loading method a kind of application flow schematic diagram in practice that Fig. 2 provides for the embodiment of the present application;
The schematic diagram of the page publishing policy that Fig. 3 provides for the embodiment of the present application;
The structural representation of the Webpage charger that Fig. 4 provides for the embodiment of the present application.
Embodiment
For making the object of the application, technical scheme and advantage clearly, below in conjunction with the application's specific embodiment and corresponding accompanying drawing, technical scheme is clearly and completely described.Obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
For improving the loading velocity of Webpage, first the embodiment of the present application provides a kind of Webpage loading method.The idiographic flow schematic diagram of the method as shown in Figure 1, comprises the steps:
Step 11, Web server, according to the characteristic information of the user of request of loading Webpage, chooses corresponding Pagelets (Segment) publishing policy;
In one embodiment, Pagelets publishing policy can be formulate according to the characteristic information of user.In one embodiment, Pagelets publishing policy is for setting up characteristic information and carrying out the mapping relations between the Pagelets that loads for terminal device.
Such as, the characteristic information of user can be the website of Webpage ownership is the class information that user is arranged.If suppose, class information comprises high-grade information and inferior grade information, so, a kind of Pagelets publishing policy (claiming high-grade strategy) can be formulated for high-grade information, formulate another kind of Pagelets publishing policy (claiming inferior grade strategy) for inferior grade information simultaneously.
Usually, the characteristic information of the user utilizing high-grade strategy to set up carries out in the mapping relations (claiming high-grade mapping relations) of the Pagelets loaded with supplying terminal device, and the terminal device that supplies that the quantity of carrying out the Pagelets loaded for terminal device is generally greater than in inferior grade mapping relations carries out the quantity of the Pagelets loaded.Wherein, " inferior grade strategy " refers to the characteristic information of the user utilizing inferior grade strategy to set up and the mapping relations of carrying out the Pagelets loaded for terminal device.
Again such as, the characteristic information of user can be the information of geographic area, user place.Specifically, for the information of the geographic area of expression " China ", a kind of Pagelets publishing policy (claiming regional publishing policy) can be formulated, simultaneously, for the information of the geographic area of expression " U.S. ", another kind of Pagelets publishing policy (claiming United States region publishing policy) can be formulated.
Usually, the characteristic information of the user utilizing regional publishing policy to set up carries out in the mapping relations of the Pagelets loaded with supplying terminal device, the Pagelets carrying out loading for terminal device meets: when terminal device is shown, shows that language is " Chinese ".And the characteristic information of the user utilizing United States region publishing policy to set up carries out in the mapping relations of the Pagelets loaded with supplying terminal device, the Pagelets carrying out loading for terminal device meets: when terminal device is shown, shows that language is " English ".
For another example, the characteristic information of user can be the gender information of user.Specifically, for the gender information representing " women ", a kind of Pagelets publishing policy (claiming female user strategy) can be formulated, simultaneously, for the gender information representing " male sex ", another kind of Pagelets publishing policy (claiming male user strategy) can be formulated.
Usually, the characteristic information of the user utilizing female user strategy to set up carries out in the mapping relations of the Pagelets loaded with supplying terminal device, the Pagelets carrying out loading for terminal device meets: when terminal device is shown, backcolor is " pink ".And the characteristic information of the user utilizing male user strategy to set up carries out in the mapping relations of the Pagelets loaded with supplying terminal device, the Pagelets carrying out loading for terminal device meets: when terminal device is shown, backcolor is " blueness ".
For another example, the characteristic information of user can be the time interval (hereinafter referred described in the time interval) of moment at a distance of current time of Webpage described in the last request of loading step 11 of user.If suppose this Webpage current time within first 1 hour, occurred upgrade, and for not loading the terminal device of the Webpage after upgrading, Web server can push some and instruct user to use the operation instruction of this Webpage what's new (this operation instruction is such as a specific Pagelets).So, constantly little owing to being less than 1 when the described time interval, show that user loaded the Webpage after upgrading, no longer need to load this specific Pagelets, therefore for the described time interval being not less than 1 hour, a kind of Pagelets publishing policy (claiming to push specific Pagelets strategy) can be formulated.Meanwhile, for the described time interval being less than 1 hour, another kind of Pagelets publishing policy (claiming not push specific Pagelets strategy) can be formulated.
Usually, the characteristic information of the user utilizing " pushing specific Pagelets strategy " to set up carries out in the mapping relations of the Pagelets loaded with supplying terminal device, and the Pagelets carrying out loading for terminal device meets: do not comprise above-mentioned specific Pagelets.And the characteristic information of the user utilizing " not pushing specific Pagelets strategy " to set up carries out in the mapping relations of the Pagelets loaded with supplying terminal device, the Pagelets carrying out loading for terminal device meets: comprise above-mentioned specific Pagelets.
Sum up above-mentioned various characteristic information and supply terminal device to carry out the mapping relations of the Pagelets loaded, in the embodiment of the present application, in one embodiment, the characteristic information of user can comprise fisrt feature information, second feature information and third feature information.
In one embodiment, fisrt feature information can be: for determining the information of the quantity of the Pagelets forming Webpage.The website of Webpage ownership as previously described is the class information that user is arranged.Or fisrt feature information can also be the information of the information of network residing for user (Intranet or outer net), the website account tail number of user's use, etc.
By formulating different Pagelets publishing policies to the user possessing different fisrt feature information, the Pagelets that such as terminal device of Intranet user can be made to load is more, the Pagelets that the terminal device of external user can load is relatively less, the Pagelets that the terminal device of the user that the website account tail number used is odd number can also be made to load is more, the Pagelets that the terminal device of the user that the website account tail number used is even number can load is relatively less, etc.
In one embodiment, second feature information can be: for determining the information of the display form of the Pagelets forming Webpage.Wherein, display form can be, but not limited to comprise word languages, backcolor and/or word color.Such as, the information of geographic area, previously described user place and the gender information of user can be second feature information.In the embodiment of the present application, second feature information can also be the IP address information of user, etc.
In one embodiment, third feature information can be: for determine to form Webpage Pagelets in whether comprise the information of specific Pagelets.The described time interval as previously described.In addition, the information of the website account tail number that this third feature information can also be the information of network residing for user (Intranet or outer net), the IP address information of user, user use, etc.
Based on the third feature information of the fisrt feature information of user, the second feature information of user and user, Pagelets publishing policy described in the embodiment of the present application can comprise the first kind Pagelets publishing policy formulated according to the fisrt feature information of user, the Equations of The Second Kind Pagelets publishing policy formulated according to the second feature information of user, and according to the 3rd class Pagelets publishing policy that the third feature information of user is formulated.
Step 12, the terminal device that the Pagelets determined according to the Pagelets publishing policy chosen is sent to user loads by Web server.
For step 12, when Pagelets publishing policy is for setting up characteristic information and carrying out the mapping relations between the Pagelets that loads for terminal device, in one embodiment, Web server can according to the Pagelets publishing policy chosen, mapping relations between the Pagelets determining corresponding characteristic information and supply terminal device to carry out loading, and then the terminal device Pagelets supplying terminal device to carry out loading in these mapping relations being sent to user loads.
Adopt the said method that the embodiment of the present application provides, due to Pagelets publishing policy can be chosen according to the characteristic information of user, and the terminal device Pagelets determined according to the Pagelets publishing policy chosen being sent to user loads, without the need to the request of server according to user, Webpage is decomposed, thus the loading velocity of Webpage can be promoted.
In the embodiment of the present application, at least one first kind Pagelets publishing policy can be pre-set, thus when the characteristic information of user comprises fisrt feature information, the specific implementation of step 11 can comprise:
According to the fisrt feature information of the user of request of loading Webpage, from first kind Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition.Wherein, the Pagelets publishing policy chosen meets following condition:
The quantity of the Pagelets in the aforementioned mapping relations comprised is identical with the quantity of the Pagelets of the Webpage that the fisrt feature information of the user of request of loading Webpage determines.
Similarly, at least one Equations of The Second Kind Pagelets publishing policy in the embodiment of the present application, can also be pre-set, thus when the characteristic information of user comprises second feature information, the specific implementation of step 11 can comprise:
According to the second feature information of the user of request of loading Webpage, from Equations of The Second Kind Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition.Wherein, the Pagelets publishing policy chosen meets following condition:
The display form of the Pagelets in the aforementioned mapping relations comprised is consistent with the display form of the Pagelets of the described Webpage that the second feature information of the user of request of loading Webpage determines.
Similarly, at least one the 3rd class Pagelets publishing policy in the embodiment of the present application, can also be pre-set, thus when the characteristic information of user comprises third feature information, the specific implementation of step 11 can comprise:
According to the third feature information of the user of request of loading Webpage, from the 3rd class Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition.Wherein, the Pagelets publishing policy chosen meets following condition:
Specific Pagelets whether is comprised and whether to comprise specific Pagelets in the Pagelets of the described Webpage that the third feature information of the user of request of loading Webpage determines consistent in Pagelets in the aforementioned mapping relations comprised.
In one embodiment, the Pagelets determined according to the Pagelets publishing policy chosen can possess precedence information.Under such a scenario, the specific implementation of step 12 can comprise: the terminal device Pagelets determined being sent to user, to make terminal device according to precedence information order from high to low, load each Pagelets possessing precedence information successively.
In one embodiment, in order to realize the flexible editor of the content to Pagelets, the method that the embodiment of the present application provides can further include following step:
Receive Pagelets edit instruction;
According to this instruction, the content of corresponding Pagelets is edited.Editor mentioned here can be, but not limited to comprise: delete, revise or increase.
Below in conjunction with reality, describe a kind of embody rule flow process of the method that the embodiment of the present application provides in detail.As shown in Figure 2, be Webpage loading method a kind of application flow schematic diagram in practice that the embodiment of the present application provides, specifically comprise the steps:
S201: terminal device receives trigger command.
In the embodiment of the present application, terminal includes but not limited to: personal computer (Personal Computer, PC), mobile phone, panel computer etc. can the equipment of load page.When user needs to load certain page, initiate order on the terminal device, terminal device receives and goes out to say the word accordingly, prepares to carry out loading work.
S202: terminal device sends page load request to web server (Internet Server).
After above-mentioned terminal device receives the request of user, send page load request to corresponding web server.
The page load request of S203:web server receiving terminal apparatus, the configuration page, builds HTML (HyperText Mark-up Language, html) framework.
After web server receives the request of terminal device, build corresponding html framework according to the mark of the request of terminal device, send to terminal device.First send the overall html framework of the page according to BigPipe technical characteristic during transmission, or the head head of html framework, or the html framework of certain corresponding Pagelets, or the head of the html framework of certain corresponding Pagelets.
The Pagelets publishing policy that S204:web server is corresponding according to the acquisition of information of the user initiating request.
After a page is fabricated, system can prepare an alternative Pagelets collection for the above-mentioned page, time requested on the terminal device for the page, carries out loading and playing up.Alternative Pagelets, when being fabricated, can be embedded in different publishing policies by the page of the application.When the requested loading of the page, system can choose different publishing policies according to the characteristic information of different request users, with this, is loaded on the terminal device of user by corresponding Pagelets.By the way, system can formulate corresponding publishing policy according to the characteristic information of user, to needing the Pagelets be loaded to be managed by the formulation of publishing policy, effectively can filter the Pagelets needing to filter.Separately, system can also issue the precedence information of Pagelets by publishing policy setting.Wherein, the Pagelets of the application is configured to support editor, and namely the content of Pagelets can carry out editing (such as increase or deletion etc.) according to demand.The Pagelets of such the application can carry different contents according to demand, improves the utilization factor of Pagelets.
The characteristic information of above-mentioned user can comprise, such as, user identity proves that uid (User Identification) white list, uid tail number, user type, user gradation, the location of user, expression user use the information of Intranet, represent that user uses the information of outer net, represents that user uses the information of Chinese interface, represents that user uses information, Internet protocol IP (Internet Protocol) white list, the IP section of English interface.When formulating above-mentioned publishing policy, server can develop and publish strategy respectively according to the different dimension of the above-mentioned information of user, also can according to the combination of each characteristic information, namely strategy is developed and published according to the various dimensions of the characteristic information of user, such as, a publishing policy can be formulated according to the class information of user and the regional information of user.Certainly, according to different demands, strategy can be developed and published according to the multiple combination of the information of user.Further, also can carry out merging between each publishing policy and issue, such as, when the characteristic information of user meets multiple publishing policy, then the Pagelets that multiple publishing policy can be comprised all is loaded on the corresponding page.Separately, the dimension such as the page of the server that can also login according to the time of logining of user, user of above-mentioned Pagelets publishing policy and user's request is formulated.By the way, effectively can manage all alternative Pagelets of the page.By the formulation of above-mentioned publishing policy, according to the dimension of different user when the request of loading page, different Pagelets can be loaded into.Also the priority of each Pagelets can be set by publishing policy, user is when the request of loading page, the Pagelets of described correspondence is sent to the terminal of described user, to make described terminal according to according to priority order from high to low, load each Pagelets in the Pagelets of described correspondence successively.。
As shown in Figure 2, below with the uid tail number of user for the formulation of embodiment to the publishing policy of Pagelets is described.
The requested Pagelets needing the page loaded to comprise A, B, C tri-modules, and according to Pagelets publishing policy, formulated three strategies in web server altogether, be respectively, when choosing publishing policy for the moment, the Pagelets of web server release module A; When choosing publishing policy two, the Pagelets of web server release module B; When choosing publishing policy three, the Pagelets of web server release module C.Such as, and above-mentioned publishing policy can also merge, when to choose publishing policy one and publishing policy two simultaneously, all Pagelets of web server release module A and module B.
Such as above-mentioned publishing policy is determined by the feature of user uid tail number, such as, when the tail number of uid is 0-3; Web server chooses publishing policy one, and when the tail number of uid is 1,3,5,7, web server chooses publishing policy two; When the tail number of uid is 1,2,4, when 6, web server chooses publishing policy three.The user being 1265906353 as uid accesses the above-mentioned page, during request of loading, web server analyzes the characteristic information of this request user, the tail number obtaining the uid of this user is 3, like this, the characteristic information of this request user meets the issue requirement of publishing policy one and publishing policy two, therefore, the terminal device that all Pagelets of modules A and module B are sent to this user loads by web server, finally, all Pagelets of display module A and module B on the browser of the terminal device of this user.
In addition, the Pagelets publishing policy of the application also can be realized by the operation on backstage by page management person, such as, in the above-described embodiments, modules A can roll off the production line by keeper according to demand, and i.e., all Pagelets of modules A are rolled off the production line, then, when the user that the tail number of uid is 3 asks this page, even if system still issues this page with publishing policy one and publishing policy two, because the modules A of publishing policy one is rolled off the production line, therefore this user can only be loaded into the Pagelets of module B.By which, keeper can increase according to the different characteristic of user profile or delete certain module, thus the administration page Pagelets that can load easily.
Corresponding Pagelets is sent to terminal device according to Pagelets publishing policy and loads by S205:web server.
Web server, according to above-mentioned publishing policy, obtains the Pagelets collection corresponding with it, and is sent to gradually on terminal device by above-mentioned Pagelets collection with the technical characteristic of BigPipe, finally completes the loading of all Pagelets of the page, completes playing up of the page.
By said process, according to the publishing policy of the information of different user, the alternative corresponding Pagelets of the page is sent on terminal device and carries out loading and playing up.
Below introduce the embodiment of a kind of Webpage charger of the application, the concrete structure schematic diagram of this device as shown in Figure 4, comprises following unit:
Choose unit 41, for the characteristic information of the user according to request of loading Webpage, choose corresponding Segment Pagelets publishing policy;
Transmitting element 42, the terminal device that the Pagelets that the Pagelets publishing policy chosen for basis being chosen unit 41 is determined is sent to user loads.
In one embodiment, Pagelets publishing policy can be formulate according to the characteristic information of user.
In one embodiment, Pagelets publishing policy is for setting up characteristic information and carrying out the mapping relations between the Pagelets that loads for terminal device.
In one embodiment, characteristic information can comprise fisrt feature information, second feature information and third feature information.Wherein: fisrt feature information is: for determining the information of the quantity of the Pagelets forming Webpage; Second feature information is: for determining the information of the display form of the Pagelets forming Webpage.Display form comprises word languages, backcolor and/or word color.Third feature information is: whether the Pagelets for determining to form Webpage comprises the information of specific Pagelets.When characteristic information can comprise fisrt feature information, second feature information and third feature information, Pagelets publishing policy can comprise the first kind Pagelets publishing policy formulated according to the fisrt feature information of user, the Equations of The Second Kind Pagelets publishing policy formulated according to the second feature information of user, and according to the 3rd class Pagelets publishing policy that the third feature information of user is formulated.
In one embodiment, choose unit 41 and specifically may be used for, when the characteristic information of user comprises fisrt feature information, according to the fisrt feature information of user, from first kind Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition; Wherein, the Pagelets publishing policy chosen meets following condition:
The quantity of the Pagelets in the aforementioned mapping relations comprised is identical with the quantity of the Pagelets of the Webpage that the fisrt feature information of the user of request of loading Webpage determines.
Choose unit 41 specifically to may be used for, when the characteristic information of user comprises second feature information, according to the second feature information of user, from Equations of The Second Kind Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition; Wherein, the Pagelets publishing policy chosen meets following condition:
The display form of the Pagelets in the aforementioned mapping relations comprised is consistent with the display form of the Pagelets of the Webpage that the second feature information of the user of request of loading Webpage determines;
Choose unit 41 specifically to may be used for, when the characteristic information of user comprises third feature information, according to the third feature information of user, from the 3rd class Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition; Wherein, the Pagelets publishing policy chosen meets following condition:
Specific Pagelets whether is comprised and whether to comprise specific Pagelets in the Pagelets of the Webpage that the third feature information of the user of request of loading Webpage determines consistent in Pagelets in the aforementioned mapping relations comprised.
Adopt the said apparatus that the embodiment of the present application provides, due to Pagelets Segment publishing policy can be chosen according to the characteristic information of user, and the terminal device Pagelets determined according to the Pagelets publishing policy chosen being sent to user loads, without the need to the request of server according to user, Webpage is decomposed, thus the loading velocity of Webpage can be promoted.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as ROM (read-only memory) (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
Computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computing machine comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic RAM (DRAM), the random access memory (RAM) of other types, ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc ROM (read-only memory) (CD-ROM), digital versatile disc (DVD) or other optical memory, magnetic magnetic tape cassette, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise temporary computer readable media (transitory media), as data-signal and the carrier wave of modulation.
Also it should be noted that, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
It will be understood by those skilled in the art that the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The foregoing is only the embodiment of the application, be not limited to the application.To those skilled in the art, the application can have various modifications and variations.Any amendment done within all spirit in the application and principle, equivalent replacement, improvement etc., within the right that all should be included in the application.

Claims (10)

1. a Webpage loading method, is characterized in that, comprising:
Web server, according to the characteristic information of the user of request of loading Webpage, chooses corresponding Segment Pagelets publishing policy;
The terminal device that the Pagelets determined according to the Pagelets publishing policy chosen is sent to described user loads by Web server.
2. the method for claim 1, is characterized in that, described Pagelets publishing policy is formulated according to the characteristic information of user;
Described Pagelets publishing policy is for setting up characteristic information and carrying out the mapping relations between the Pagelets that loads for terminal device.
3. method as claimed in claim 2, is characterized in that, described characteristic information, comprises fisrt feature information, second feature information and third feature information; Wherein:
Fisrt feature information is: for determining the information of the quantity of the Pagelets forming described Webpage;
Second feature information is: for determining the information of the display form of the Pagelets forming described Webpage; Described display form comprises word languages, backcolor and/or word color;
Third feature information is: whether the Pagelets for determining to form Webpage comprises the information of specific Pagelets;
And, described Pagelets publishing policy, comprise the first kind Pagelets publishing policy formulated according to the fisrt feature information of user, the Equations of The Second Kind Pagelets publishing policy formulated according to the second feature information of user, and according to the 3rd class Pagelets publishing policy that the third feature information of user is formulated.
4. method as claimed in claim 3, is characterized in that, when the characteristic information of described user comprises fisrt feature information, according to the characteristic information of the user of request of loading Webpage, choose corresponding Pagelets publishing policy, specifically comprise:
According to the fisrt feature information of described user, from first kind Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition; Wherein, the Pagelets publishing policy chosen meets following condition:
The quantity of the Pagelets in the described mapping relations comprised is identical with the quantity of the Pagelets of the described Webpage that the fisrt feature information of described user determines;
When the characteristic information of described user comprises second feature information, according to the characteristic information of the user of request of loading Webpage, choose corresponding Pagelets publishing policy, specifically comprise:
According to the second feature information of described user, from Equations of The Second Kind Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition; Wherein, the Pagelets publishing policy chosen meets following condition:
The display form of the Pagelets in the described mapping relations comprised is consistent with the display form of the Pagelets of the described Webpage that the second feature information of described user determines;
When the characteristic information of described user comprises third feature information, according to the characteristic information of the user of request of loading Webpage, choose corresponding Pagelets publishing policy, specifically comprise:
According to the third feature information of described user, from the 3rd class Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition; Wherein, the Pagelets publishing policy chosen meets following condition:
Specific Pagelets whether is comprised and whether to comprise specific Pagelets in the Pagelets of the described Webpage that the third feature information of described user determines consistent in Pagelets in the described mapping relations comprised.
5. the method for claim 1, is characterized in that, described Pagelets possesses precedence information;
The terminal device that the described Pagelets determined is sent to described user is loaded, comprising:
The described Pagelets determined is sent to the terminal device of described user, to make described terminal device according to precedence information order from high to low, described in loading successively, possesses each Pagelets of precedence information.
6. the method for claim 1, is characterized in that, described method also comprises:
Receive Pagelets edit instruction;
Edit according to the content of described instruction to corresponding Pagelets.
7. a Webpage charger, is characterized in that, comprising:
Choose unit, for the characteristic information of the user according to request of loading Webpage, choose corresponding Segment Pagelets publishing policy;
Transmitting element, loads for the terminal device Pagelets determined according to the Pagelets publishing policy choosing unit selection being sent to described user.
8. device as claimed in claim 7, it is characterized in that, described Pagelets publishing policy is formulated according to the characteristic information of user;
Described Pagelets publishing policy is for setting up characteristic information and carrying out the mapping relations between the Pagelets that loads for terminal device.
9. device as claimed in claim 8, is characterized in that, described characteristic information, comprises fisrt feature information, second feature information and third feature information; Wherein:
Fisrt feature information is: for determining the information of the quantity of the Pagelets forming described Webpage;
Second feature information is: for determining the information of the display form of the Pagelets forming described Webpage; Described display form comprises word languages, backcolor and/or word color;
Third feature information is: whether the Pagelets for determining to form Webpage comprises the information of specific Pagelets;
And, described Pagelets publishing policy, comprise the first kind Pagelets publishing policy formulated according to the fisrt feature information of user, the Equations of The Second Kind Pagelets publishing policy formulated according to the second feature information of user, and according to the 3rd class Pagelets publishing policy that the third feature information of user is formulated.
10. device as claimed in claim 9, is characterized in that,
Described choose unit specifically for, when the characteristic information of described user comprises fisrt feature information, according to the fisrt feature information of described user, from first kind Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition; Wherein, the Pagelets publishing policy chosen meets following condition:
The quantity of the Pagelets in the described mapping relations comprised is identical with the quantity of the Pagelets of the described Webpage that the fisrt feature information of described user determines;
Described choose unit specifically for, when the characteristic information of described user comprises second feature information, according to the second feature information of described user, from Equations of The Second Kind Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition; Wherein, the Pagelets publishing policy chosen meets following condition:
The display form of the Pagelets in the described mapping relations comprised is consistent with the display form of the Pagelets of the described Webpage that the second feature information of described user determines;
Described choose unit specifically for, when the characteristic information of described user comprises third feature information, according to the third feature information of described user, from the 3rd class Pagelets publishing policy, choose the Pagelets publishing policy satisfied condition; Wherein, the Pagelets publishing policy chosen meets following condition:
Specific Pagelets whether is comprised and whether to comprise specific Pagelets in the Pagelets of the described Webpage that the third feature information of described user determines consistent in Pagelets in the described mapping relations comprised.
CN201410856986.2A 2014-12-31 2014-12-31 Webpage loading method and device Active CN104598554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410856986.2A CN104598554B (en) 2014-12-31 2014-12-31 Webpage loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410856986.2A CN104598554B (en) 2014-12-31 2014-12-31 Webpage loading method and device

Publications (2)

Publication Number Publication Date
CN104598554A true CN104598554A (en) 2015-05-06
CN104598554B CN104598554B (en) 2018-09-07

Family

ID=53124339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410856986.2A Active CN104598554B (en) 2014-12-31 2014-12-31 Webpage loading method and device

Country Status (1)

Country Link
CN (1) CN104598554B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106709062A (en) * 2017-01-12 2017-05-24 浪潮(苏州)金融技术服务有限公司 Method for improving interactive page caching system through multiple-dimension technology
CN107203303A (en) * 2016-03-18 2017-09-26 阿里巴巴集团控股有限公司 A kind of interface display method and device
CN111159595A (en) * 2019-12-24 2020-05-15 平安养老保险股份有限公司 Page loading method, system, computer equipment and computer readable storage medium
CN113485592A (en) * 2021-06-18 2021-10-08 浪潮卓数大数据产业发展有限公司 Barrier-free service method, device and medium based on mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571865A (en) * 2008-04-30 2009-11-04 北京盖特佳信息安全技术股份有限公司 Method for achieving dynamic website portal column based on AJAX technique
CN102314486A (en) * 2011-08-04 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for browsing page
US20140089782A1 (en) * 2012-09-19 2014-03-27 TagMan Inc. Systems and methods for 3-tier tag container architecture
CN104166569A (en) * 2014-08-15 2014-11-26 北京彩云动力教育科技有限公司 Front-end page loading method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571865A (en) * 2008-04-30 2009-11-04 北京盖特佳信息安全技术股份有限公司 Method for achieving dynamic website portal column based on AJAX technique
CN102314486A (en) * 2011-08-04 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for browsing page
US20140089782A1 (en) * 2012-09-19 2014-03-27 TagMan Inc. Systems and methods for 3-tier tag container architecture
CN104166569A (en) * 2014-08-15 2014-11-26 北京彩云动力教育科技有限公司 Front-end page loading method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203303A (en) * 2016-03-18 2017-09-26 阿里巴巴集团控股有限公司 A kind of interface display method and device
CN106709062A (en) * 2017-01-12 2017-05-24 浪潮(苏州)金融技术服务有限公司 Method for improving interactive page caching system through multiple-dimension technology
CN106709062B (en) * 2017-01-12 2021-01-08 浪潮金融信息技术有限公司 Method for improving interactive page cache system by using multidimensional technology
CN111159595A (en) * 2019-12-24 2020-05-15 平安养老保险股份有限公司 Page loading method, system, computer equipment and computer readable storage medium
CN113485592A (en) * 2021-06-18 2021-10-08 浪潮卓数大数据产业发展有限公司 Barrier-free service method, device and medium based on mobile terminal

Also Published As

Publication number Publication date
CN104598554B (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN108279932B (en) Method and device for dynamically configuring user interface of mobile terminal
US10726091B2 (en) Dynamic content modifications
KR101999409B1 (en) Formatting data by example
CN102521230B (en) For the result type that data with good conditionsi show
US20180191798A1 (en) Methods and systems for server-side rendering of native content for presentation
CN106575298A (en) Fast rendering of websites containing dynamic content and stale content
CN110705237B (en) Automatic document generation method, data processing device and storage medium
CN104601736A (en) Method and device for realizing short uniform resource locator (URL) service
CN109194714B (en) File pushing method and device, terminal device and storage medium
CN104598554A (en) Webpage page loading method and device
CN104750472A (en) Resource bundle management method and device of terminal application
CN105320662B (en) Webpage generating method and device
CN112036125A (en) Document management method and device and computer equipment
CN104267921A (en) Page display control method and server
CN104052626A (en) Method, device and system for configuring network element data
US9936015B2 (en) Method for building up a content management system
CN103164409A (en) Network advertisement show type post test method and network advertisement show type post test system
CN108153745B (en) Application data calling method and application development system
CN105404672A (en) Webpage data storage and operation system and method
CN104378362A (en) Method and device for carrying out conversion of message interfaces
CN110457635A (en) A kind of webpage generating method and system
CN115981650A (en) Website building method and device, electronic equipment and storage medium
CN103164225B (en) A kind of network configuration software architecture online evolution method based on hypergraph
CN115543428A (en) Simulated data generation method and device based on strategy template
CN103365866B (en) The device of a kind of modularity What You See Is What You Get administration web page template and management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant