CN106055649A - Page resource loading method, device and system - Google Patents

Page resource loading method, device and system Download PDF

Info

Publication number
CN106055649A
CN106055649A CN201610378338.XA CN201610378338A CN106055649A CN 106055649 A CN106055649 A CN 106055649A CN 201610378338 A CN201610378338 A CN 201610378338A CN 106055649 A CN106055649 A CN 106055649A
Authority
CN
China
Prior art keywords
masterplate
advertisement
combination
file
fileinfo
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
CN201610378338.XA
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.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610378338.XA priority Critical patent/CN106055649A/en
Priority to PCT/CN2016/102214 priority patent/WO2017206417A1/en
Publication of CN106055649A publication Critical patent/CN106055649A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • 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

Abstract

The embodiment of the invention discloses a page resource loading method, device and system, wherein the method comprises the following steps of: obtaining information of at least two advertisement template files; jointing information of the at least two advertisement template files to form information of combined template files, and sending an advertisement template request including the information of the combined template files; receiving the combined template files including at least two advertisement template files corresponding to the information of the at least two advertisement template files; and splitting the combined template files into the at least two advertisement template files, and loading an advertisement according to the at least two advertisement template files. In the embodiment of the invention, it is only necessary to send the advertisement template request including the information of the combined template files for one time, so that the combined template files can be obtained; after the combined template files are split, the advertisement can be loaded; a few links exist in the whole treatment process; it is only necessary to send the advertisement template request for one time; occupied network bandwidth resources can be effectively reduced; and the page resource loading speed can be increased.

Description

Page resource loading method, device and system
Technical field
The present embodiments relate to Internet technical field, particularly relate to page resource loading method, device and system.
Background technology
Along with intelligence moves the continuous upgrading of terminal hardware and performance, and user enters one for mobile terminal intellectuality demand Step improves, and how to make mobile terminal more efficiently press close to use habit and the daily life needs of people, has had become as intelligent end The technical task urgently to be resolved hurrily that end technological development is faced.
In prior art, user freely browses webpage, and service provider can be built-in with advertisement mostly in Webpage, than Such as display advertising, gif advertisement, flash advertisement, video ads etc..Advertisement in webpage is typically the form with advertisement masterplate Loading, the presentation mode that the advertisement material that i.e. will present limits according to advertisement masterplate file shows user on webpage. In web advertisement loads and implements, ad plug-in on webpage, present advertisement according to advertisement masterplate file.Actual at certain In one page, most cases can include polytype advertisement, such as, advertisement that static state is embedded in the page, moves at the page Gif advertisement that state shows, flash advertisement etc..Each type of advertisement all correspond to an advertisement masterplate file.Prior art In, ad plug-in would generally the most repeatedly ask the plurality of advertisement masterplate literary composition to server when processing multiple advertisement masterplate file Part.Such as, if the page includes the advertisement of three types, then ad plug-in needs, to server request three times, to download respectively Three corresponding advertisement masterplate files, existing advertisement load mode makes advertisement load network because of request and response times more The consumption of resource is relatively big, also have impact on the loading velocity of other subject page resources in this page so that the loading of overall page Speed is slower.
It is slow that advertisement repeatedly loads not only self speed, have impact on subject page resource simultaneously so that it is whole that user accesses The loading velocity of the body page is all slow, and it is poor that user accesses experience.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The embodiment of the present invention to solve the technical problem that and to be to provide a kind of page resource loading method, and it can be effectively improved The loading velocity of full page, reduces ad plug-in to the Advertisement Server request request number of times of advertisement masterplate file and shared Network bandwidth resources.
The embodiment of the present invention to solve the technical problem that further and be to provide a kind of page resource charger, and it can have Effect improves the loading velocity of full page, reduces ad plug-in in the request number of times to Advertisement Server request advertisement masterplate file With shared network bandwidth resources.
The embodiment of the present invention to solve the technical problem that further and be to provide a kind of page resource loading system, and it can have Effect improves the loading velocity of full page, reduces ad plug-in in the request number of times to Advertisement Server request advertisement masterplate file With shared network bandwidth resources.
For solving above-mentioned technical problem, first the embodiment of the present invention provides a kind of page resource loading method, including:
Obtain at least two advertisement masterplate fileinfo;
Splice described at least two advertisement masterplate fileinfo and form combination masterplate fileinfo, send the request of advertisement masterplate, institute State the request of advertisement masterplate and include described combination masterplate fileinfo;
Receiving combination masterplate file, described combination masterplate file includes corresponding with described at least two advertisement masterplate fileinfo At least two advertisement masterplate file;
Described combination masterplate file is disassembled into described at least two advertisement masterplate file, according to described at least two advertisement masterplate File, carrying advertisement.
Further, described splicing described at least two advertisement masterplate filename formation combination masterplate fileinfo is concrete For:
Described at least two advertisement masterplate fileinfo is carried out Hash sequence, is spliced into described combination masterplate fileinfo.
Implementing said method for coordinating, the embodiment of the present invention also provides for a kind of page resource charger, including:
Masterplate file acquisition module, is used for obtaining at least two advertisement masterplate fileinfo;
Request sending module, splices described at least two advertisement masterplate fileinfo and forms combination masterplate fileinfo, retransmit Advertisement masterplate is asked, and the request of described advertisement masterplate includes described combination masterplate fileinfo;
Combination masterplate receiver module, receives combination masterplate file, and described combination masterplate file includes wide with described at least two Accuse at least two advertisement masterplate file that masterplate fileinfo is corresponding;
Disassemble and load-on module, described combination masterplate file is disassembled into described at least two advertisement masterplate file, according to described At least two advertisement masterplate file, carrying advertisement.
Further, described request sending module includes:
Sequence and concatenation unit, carry out Hash sequence to described at least two advertisement masterplate fileinfo, be spliced into described combination Masterplate fileinfo.
On the other hand, the embodiment of the present invention also provides for a kind of page resource loading method, including:
Receiving the request of advertisement masterplate, the request of described advertisement masterplate includes combining masterplate fileinfo, and described combination masterplate file is believed Breath includes at least two advertisement masterplate fileinfo of splicing;
According to described combination masterplate fileinfo, obtain combination masterplate file, described combination masterplate file include splicing with institute State at least two advertisement masterplate file that at least two advertisement masterplate fileinfo is corresponding;
Send described combination masterplate file.
Further, described combination masterplate file is obtained particularly as follows: according to described combination masterplate fileinfo, from caching Obtain described combination masterplate file.
Further, described obtain combination masterplate file particularly as follows:
According to described combination masterplate fileinfo, obtain at least two corresponding with described at least two advertisement masterplate fileinfo Advertisement masterplate file;
Described at least two advertisement masterplate file is spliced into described combination masterplate file.
Further, the described combination masterplate file that obtains also includes:
Cache described combination masterplate fileinfo and the combination masterplate file corresponding with described combination masterplate fileinfo.
Further, described described at least two advertisement masterplate file is spliced into described combination masterplate file particularly as follows: Described at least two advertisement masterplate file is carried out Hash sequence, obtains described combination masterplate file.
Implementing said method for coordinating, the embodiment of the present invention also provides for a kind of page resource charger, including:
Request receiver module, receive advertisement masterplate request, described advertisement masterplate request include combine masterplate fileinfo, described group Matched moulds version fileinfo includes at least two advertisement masterplate fileinfo of splicing;
Combination masterplate acquisition module, according to described combination masterplate fileinfo, obtains combination masterplate file, described combination masterplate literary composition Part includes at least two advertisement masterplate file corresponding with described at least two advertisement masterplate fileinfo of splicing;
Combination masterplate sending module, sends described combination masterplate file.
Further, described combination masterplate acquisition module includes: combination masterplate file obtaining unit, according to described combination die Version fileinfo, obtains described combination masterplate file from caching.
Further, described combination masterplate acquisition module includes:
Advertisement masterplate file obtaining unit, according to described combination masterplate fileinfo, obtains and described at least two advertisement masterplate At least two advertisement masterplate file that fileinfo is corresponding;
Concatenation unit, is spliced into described combination masterplate file by described at least two advertisement masterplate file.
Further, described combination masterplate acquisition module also includes:
Buffer unit, caches described combination masterplate fileinfo and the combination masterplate corresponding with described combination masterplate fileinfo literary composition Part.
Further, described concatenation unit includes:
Sequencing assembly, carries out Hash sequence to described at least two advertisement masterplate file, obtains described combination masterplate file.
The third aspect, the embodiment of the present invention also provides for a kind of page resource loading system, including:
Masterplate file acquisition module, is used for obtaining at least two advertisement masterplate fileinfo;
Request sending module, splices described at least two advertisement masterplate fileinfo and forms combination masterplate fileinfo, retransmit Advertisement masterplate is asked, and the request of described advertisement masterplate includes described combination masterplate fileinfo;
Request receiver module, receive advertisement masterplate request, described advertisement masterplate request include combine masterplate fileinfo, described group Matched moulds version fileinfo includes at least two advertisement masterplate fileinfo of splicing;
Combination masterplate acquisition module, according to described combination masterplate fileinfo, obtains combination masterplate file, described combination masterplate literary composition Part includes at least two advertisement masterplate file corresponding with described at least two advertisement masterplate fileinfo of splicing;
Combination masterplate sending module, sends described combination masterplate file;
Combination masterplate receiver module, receives combination masterplate file, and described combination masterplate file includes wide with described at least two Accuse at least two advertisement masterplate file that masterplate fileinfo is corresponding;
Disassemble and load-on module, described combination masterplate file is disassembled into described at least two advertisement masterplate file, according to described At least two advertisement masterplate file, carrying advertisement.
Further, described request sending module includes:
Sequence and concatenation unit, carry out Hash sequence to described at least two advertisement masterplate fileinfo, be spliced into described combination Masterplate fileinfo.
Further, described combination masterplate acquisition module includes: combination masterplate file obtaining unit, according to described combination die Version fileinfo, obtains described combination masterplate file from caching.
Further, described combination masterplate acquisition module includes:
Advertisement masterplate file obtaining unit, according to described combination masterplate fileinfo, obtains and described at least two advertisement masterplate At least two advertisement masterplate file that fileinfo is corresponding;
Concatenation unit, is spliced into described combination masterplate file by described at least two advertisement masterplate file.
Further, described combination masterplate acquisition module also includes:
Buffer unit, caches described combination masterplate fileinfo and the combination masterplate corresponding with described combination masterplate fileinfo literary composition Part.
Further, described concatenation unit includes:
Sequencing assembly, carries out Hash sequence to described at least two advertisement masterplate file, obtains described combination masterplate file.
By using technique scheme, the method have the advantages that the page resource of the embodiment of the present invention adds Support method, Apparatus and system, only need to send the advertisement masterplate request including combination masterplate fileinfo, can corresponding acquisition group Matched moulds version file, so after described combination masterplate file is disassembled as at least two advertisement masterplate file further according to described at least Two advertisement masterplate files carry out carrying advertisement.Whole processing procedure link is few, and only needs to send an advertisement masterplate request, effectively Reduce the network bandwidth resources sent shared by the request of advertisement masterplate, improve the loading velocity of full page resource.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the process chart of an embodiment of page resource loading method of the present invention.
Fig. 2 is the module frame chart of an embodiment of page resource charger of the present invention.
Fig. 3 is the module frame chart of an embodiment of the request sending module of page resource charger of the present invention.
Fig. 4 is the process chart of another embodiment of page resource loading method of the present invention.
Fig. 5 is the module frame chart of another embodiment of page resource charger of the present invention.
Fig. 6 is the module frame chart of an embodiment of the combination masterplate acquisition module of page resource charger of the present invention.
Fig. 7 is the module frame of another embodiment of the combination masterplate acquisition module of page resource charger of the present invention Figure.
Fig. 8 is the module frame chart of the concatenation unit in the combination masterplate acquisition module of page resource charger of the present invention.
Fig. 9 is the module frame chart of page resource loading system of the present invention.
Figure 10 is the module frame chart of an embodiment of the request sending module of page resource loading system of the present invention.
Figure 11 is the module frame chart of an embodiment of the combination masterplate acquisition module of page resource loading system of the present invention.
Figure 12 is the module frame of another embodiment of the combination masterplate acquisition module of page resource loading system of the present invention Figure.
Figure 13 is the module frame chart of the concatenation unit in the combination masterplate acquisition module of page resource loading system of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the accompanying drawings to this Bright embodiment is described in further details.Here, the schematic description and description of the present invention is used for explaining the present invention, but also Not as a limitation of the invention.
The present invention relates to page resource loading method, device and system, user on the client by browser (or other Application) open certain page, when loading this page, it will load the page main body resource in the page (i.e. in addition to advertisement Other page infos) and advertisement, described page main body resource and advertisement are all deposited on the server.In order to avoid in the page The loading of advertisement and page main body resource is formed and fights for, and it is relatively slow that page main body resource is loaded, the page resource of the present invention The loading method load time by delayed advertisement, load extensively to server request again loading after page main body resource terminates Accuse.
And needing the page loaded generally includes the advertisement of at least two type, presenting of these advertisements is usually directed to Two parts content, a part is advertisement material data, and the most concrete copy, picture etc., another part is advertisement masterplate Data, for limiting how to present above-mentioned advertisement material, such as in certain position of the page, show advertisement with square region, or Present advertisement in a dynamic fashion, or several advertising pictures show in certain region etc. in turn, i.e. limit specifically presenting of advertisement Mode.
It is understood that described server can be single network server, the service of multiple webserver composition Device group or the cloud being made up of a large amount of computers or the webserver based on cloud computing.
As it is shown in figure 1, first the embodiment of the present invention provides a kind of page resource loading method, for terminal point, institute State page resource loading method to include:
Step S101, obtains at least two advertisement masterplate fileinfo;
Step S102, splices described at least two advertisement masterplate fileinfo and forms combination masterplate fileinfo, send advertisement mould Version request, the request of described advertisement masterplate includes described combination masterplate fileinfo;
Step S103, receives combination masterplate file, and described combination masterplate file includes and described at least two advertisement masterplate literary composition At least two advertisement masterplate file that part information is corresponding;
Step S104, disassembles as described at least two advertisement masterplate file, according to described at least two by described combination masterplate file Individual advertisement masterplate file, carrying advertisement.
The page resource loading method of the embodiment of the present invention only need to send the advertisement mould including combination masterplate fileinfo Version request, correspondence can obtain combination masterplate file, and then disassemble described combination masterplate file at least two advertisement mould Carrying advertisement is carried out further according to described at least two advertisement masterplate file after version file.Whole processing procedure link is few, and only needs to send out Send an advertisement masterplate request, effectively reduce the network bandwidth resources sent shared by the request of advertisement masterplate, improve full page The loading velocity of resource.
And in an optional embodiment, in step S102, described splicing described at least two advertisement masterplate filename Formed combination masterplate fileinfo particularly as follows:
Described at least two advertisement masterplate fileinfo is carried out Hash sequence, is spliced into described combination masterplate fileinfo.
By being spliced into combination masterplate fileinfo after advertisement masterplate fileinfo is ranked up again, thus set up service The accurate rule searching that device and client will readily appreciate that so that Advertisement Server can obtain corresponding mould rapidly from caching Version file.
The purpose carrying out splicing in step S102 is in order to by once asking, it is achieved to all of advertisement masterplate file Request.In conventional manner, if will be to three advertisement masterplate files of server request, then needing to send three times to server please Asking, these three file is downloaded in request respectively, bigger to network resource consumption;And in embodiments of the present invention, it is only necessary to send once Request, simultaneously request these three file, accordingly, these three file also disposably can be returned to client by server, reduces Resource consumption.
The above-mentioned page resource loading method realized from client angle is implemented for preferably coordinating, as in figure 2 it is shown, this A bright embodiment also provides for a kind of page resource charger, including:
Masterplate file acquisition module 10, is used for obtaining at least two advertisement masterplate fileinfo;
Request sending module 12, splices described at least two advertisement masterplate fileinfo and forms combination masterplate fileinfo, then send out Sending advertisement masterplate to ask, the request of described advertisement masterplate includes described combination masterplate fileinfo;
Combination masterplate receiver module 14, receives combination masterplate file, and described combination masterplate file includes and described at least two At least two advertisement masterplate file that advertisement masterplate fileinfo is corresponding;
Disassemble and load-on module 16, described combination masterplate file is disassembled into described at least two advertisement masterplate file, according to institute State at least two advertisement masterplate file, carrying advertisement.
The page resource charger that the embodiment of the present invention provides only need to be sent by request sending module 12 and include group The advertisement masterplate request of matched moulds version fileinfo, correspondence can obtain combination masterplate file, and then by described combination masterplate literary composition Part is disassembled as carrying out carrying advertisement further according to described at least two advertisement masterplate file after at least two advertisement masterplate file.Whole place Reason process link is few, and only needs to send an advertisement masterplate request, effectively reduces the network sent shared by the request of advertisement masterplate Bandwidth resources, improve the loading velocity of full page resource.
And in an optional embodiment, as it is shown on figure 3, described request sending module 12 includes:
Sequence and concatenation unit 120, carry out Hash sequence to described at least two advertisement masterplate fileinfo, be spliced into described group Matched moulds version fileinfo.
Obtain combination masterplate fileinfo by splicing after sequence, effectively set up the essence that server and client side will readily appreciate that Quasi-rule searching so that Advertisement Server can obtain corresponding masterplate file rapidly from caching.
Additionally, on the other hand, for server side, as shown in Figure 4, the embodiment of the present invention also provides for page resource Loading method, including:
Step S201, receives the request of advertisement masterplate, and the request of described advertisement masterplate includes combining masterplate fileinfo, described combination die Version fileinfo includes at least two advertisement masterplate fileinfo of splicing;
Step S202, according to described combination masterplate fileinfo, obtains combination masterplate file, and described combination masterplate file includes spelling At least two advertisement masterplate file corresponding with described at least two advertisement masterplate fileinfo connect;
Step S203, sends described combination masterplate file.
The embodiment of the present invention elaborates page resource loading method from server side, in the present embodiment, it is only necessary to receive The corresponding advertisement masterplate request that requesting party sends, can obtain combination masterplate file quickly, and then retransmit back requesting party. The link of whole handling process is few, can effectively reduce the network bandwidth resources sending combination shared by masterplate file, improve the page The loading velocity of resource.
In an optional embodiment, the described combination masterplate file that obtains is particularly as follows: according to described combination masterplate file Information, obtains described combination masterplate file from caching.In the present embodiment, combination masterplate file is inherently with the shape of combination Formula preserves, thus when obtaining combination masterplate file, only needs directly to obtain from caching, in hgher efficiency.
And in another optional embodiment, described obtain combination masterplate file particularly as follows:
According to described combination masterplate fileinfo, obtain at least two corresponding with described at least two advertisement masterplate fileinfo Advertisement masterplate file;
Described at least two advertisement masterplate file is spliced into described combination masterplate file.
In the present embodiment, the described combination masterplate file that obtains also can farther include:
Cache described combination masterplate fileinfo and the combination masterplate file corresponding with described combination masterplate fileinfo.
And in the specific implementation, described described at least two advertisement masterplate file is spliced into described combination masterplate file can To be: described at least two advertisement masterplate file is carried out Hash sequence, obtains described combination masterplate file.
In the present embodiment, at least two advertisement masterplate file constituting combination masterplate file preserves respectively, thus Need first to obtain described at least two advertisement masterplate file to carry out again being spliced to form combination masterplate file, although this mode is at place More processing links in reason, but being more beneficial for being combined the most flexibly by each advertisement masterplate file according to demand obtains Obtain various combination masterplate files.And, by caching process, can facilitate and receive same request next time and (i.e. ask this splicing After combination masterplate file) time directly take out from caching, it is not necessary to again splice, be conducive to promoting combination the obtaining of masterplate file Take speed.Additionally, carry out Hash sequence when described at least two advertisement masterplate file is spliced, be then conducive to unification The precisely data exchange processing between rule searching, beneficially server and client side.
The above-mentioned page resource loading method realized from server side is implemented for preferably coordinating, as it is shown in figure 5, this Bright embodiment also provides for a kind of page resource charger, including:
Request receiver module 20, receives the request of advertisement masterplate, and the request of described advertisement masterplate includes combining masterplate fileinfo, described Combination masterplate fileinfo includes at least two advertisement masterplate fileinfo of splicing;
Combination masterplate acquisition module 22, according to described combination masterplate fileinfo, obtains combination masterplate file, described combination masterplate File includes at least two advertisement masterplate file corresponding with described at least two advertisement masterplate fileinfo of splicing;
Combination masterplate sending module 24, sends described combination masterplate file.
The page resource charger of the embodiment of the present invention only need to be received, by request receiver module 20, the phase that requesting party sends The advertisement masterplate request answered, can obtain combination masterplate file quickly, and then retransmit back requesting party.Whole handling process Link is few, can effectively reduce the network bandwidth resources sending combination shared by masterplate file, improve the loading velocity of page resource.
In an optional embodiment, as shown in Figure 6, described combination masterplate acquisition module 22 includes: combination masterplate literary composition Part acquiring unit 220, according to described combination masterplate fileinfo, obtains described combination masterplate file from caching.In this enforcement In example, combination masterplate file preserves the most in combination, thus when obtaining combination masterplate file, only need directly from Caching obtains, in hgher efficiency.
And in another optional embodiment, as it is shown in fig. 7, described combination masterplate acquisition module 22 includes:
Advertisement masterplate file obtaining unit 222, according to described combination masterplate fileinfo, obtains and described at least two advertisement mould At least two advertisement masterplate file that version fileinfo is corresponding;
Concatenation unit 224, is spliced into described combination masterplate file by described at least two advertisement masterplate file.
And in the specific implementation, as shown in Figure 8, described concatenation unit 224 can farther include again:
Sequencing assembly 2240, carries out Hash sequence to described at least two advertisement masterplate file, obtains the row with uniform rules The described combination masterplate file of sequence.
And, described combination masterplate acquisition module 22 also can farther include:
Buffer unit 226, caches described combination masterplate fileinfo and the combination die corresponding with described combination masterplate fileinfo Version file.
In the present embodiment, preserve respectively owing to constituting at least two advertisement masterplate file of combination masterplate file, Thus combine masterplate acquisition module 22 obtain combination masterplate file time, need first to obtain described at least two advertisement masterplate file Carry out again being spliced to form combination masterplate file, though this mode more processing links on processing, it is more beneficial for root According to demand each advertisement masterplate file combined the most flexibly and obtain various combination masterplate file.And at by caching Reason, can facilitate and directly take from caching when receiving same request (i.e. asking this spliced combination masterplate file) next time Go out, it is not necessary to again splice, be conducive to promoting the acquisition speed of combination masterplate file.Additionally, to described at least two advertisement Carry out Hash sequence when masterplate file splices, be then conducive to unified accurate rule searching, beneficially server and client Data exchange processing between end.
Another aspect, the embodiment of the present invention also provides for a kind of page resource loading system 3, its correspondence be deployed in server and In client, specifically the combination of aforesaid page resource charger 1,2 is formed described page resource loading system 3, as Shown in Fig. 9, described page resource loading system includes:
Masterplate file acquisition module 30, is used for obtaining at least two advertisement masterplate fileinfo;
Request sending module 31, splices described at least two advertisement masterplate fileinfo and forms combination masterplate fileinfo, then send out Sending advertisement masterplate to ask, the request of described advertisement masterplate includes described combination masterplate fileinfo;
Request receiver module 32, receives the request of advertisement masterplate, and the request of described advertisement masterplate includes combining masterplate fileinfo, described Combination masterplate fileinfo includes at least two advertisement masterplate fileinfo of splicing;
Combination masterplate acquisition module 33, according to described combination masterplate fileinfo, obtains combination masterplate file, described combination masterplate File includes at least two advertisement masterplate file corresponding with described at least two advertisement masterplate fileinfo of splicing;
Combination masterplate sending module 34, sends described combination masterplate file;
Combination masterplate receiver module 35, receives combination masterplate file, and described combination masterplate file includes and described at least two At least two advertisement masterplate file that advertisement masterplate fileinfo is corresponding;
Disassemble and load-on module 36, described combination masterplate file is disassembled into described at least two advertisement masterplate file, according to institute State at least two advertisement masterplate file, carrying advertisement.
The page resource loading system 3 of the embodiment of the present invention only need to be sent by the request sending module 31 being positioned in client Corresponding advertisement masterplate request, after request receiver module 32 receives the request of described advertisement masterplate, can obtain combination quickly Masterplate file, and then retransmit back client, client can carry out carrying advertisement after combination masterplate file being disassembled. The link of whole handling process is few, it is only necessary to sends an advertisement masterplate request, can obtain combination masterplate file, can effectively reduce Send request and combination network bandwidth resources shared by masterplate file, improve the loading velocity of page resource.
In one embodiment, as shown in Figure 10, described request sending module 31 includes:
Sequence and concatenation unit 310, carry out Hash sequence to described at least two advertisement masterplate fileinfo, be spliced into described group Matched moulds version fileinfo.
Additionally, in one alternate embodiment, as shown in figure 11, described combination masterplate acquisition module 33 includes: combination die Version file obtaining unit 330, according to described combination masterplate fileinfo, obtains described combination masterplate file from caching.At this In embodiment, combination masterplate file is to preserve in combination, thus when obtaining combination masterplate file, only need to directly postpone Obtain in depositing, in hgher efficiency.
And in another alternative embodiment, as shown in figure 12, described combination masterplate acquisition module 33 includes:
Advertisement masterplate file obtaining unit 332, according to described combination masterplate fileinfo, obtains and described at least two advertisement mould At least two advertisement masterplate file that version fileinfo is corresponding;
Concatenation unit 334, is spliced into described combination masterplate file by described at least two advertisement masterplate file.
Wherein, as shown in figure 13, described concatenation unit 334 also can farther include:
Sequencing assembly 3340, carries out Hash sequence to described at least two advertisement masterplate file, obtains described combination masterplate file.
Additionally, described combination masterplate acquisition module 33 also includes:
Buffer unit 336, caches described combination masterplate fileinfo and the combination die corresponding with described combination masterplate fileinfo Version file.
In the present embodiment, preserve respectively owing to constituting at least two advertisement masterplate file of combination masterplate file, Thus combine masterplate acquisition module 22 obtain combination masterplate file time, need first to obtain described at least two advertisement masterplate file Carry out again being spliced to form combination masterplate file, though this mode more processing links on processing, it is more beneficial for root According to demand each advertisement masterplate file combined the most flexibly and obtain various combination masterplate file.And at by caching Reason, can facilitate and directly take from caching when receiving same request (i.e. asking this spliced combination masterplate file) next time Go out, it is not necessary to again splice, be conducive to promoting the acquisition speed of combination masterplate file.Additionally, to described at least two advertisement Carry out Hash sequence when masterplate file splices, be then conducive to unified accurate rule searching, beneficially server and client Data exchange processing between end.
Page resource loading method of the present invention, the implementing of Apparatus and system is come below by way of the explanation of instantiation Process.
Be deployed with above-mentioned page resource charger 1 on the client, and with the above-mentioned page disposed on the server Face resource charger 2 collectively forms described page resource loading system 3.
User opens certain page by browser (or other application) on the client, when loading this page, and will The advertisement in the page can be loaded.In order to avoid the advertisement in the page and page main body resource (i.e. other pages in addition to advertisement Information) loading formed and fight for, and it is relatively slow that page main body resource is loaded, and the page resource loading method of the present invention is by prolonging The load time of advertisement late, loading after page main body resource terminates again to server request carrying advertisement.
As a example by happy view, current page be all TV play programs of happy view collect brief introduction interface, or certain The broadcasting page etc. of individual TV play.Advertisement Server, according to this page feature information, is preset with advertising strategy (such as at certain page Which kind of advertisement is correspondence present).
The handling process of the concrete advertisement loaded in the page is as follows:
The masterplate file acquisition module of client gets at least two advertisement masterplate literary composition that current page is corresponding from server side The information of part, the information of described advertisement masterplate file can be specifically the filename of advertisement masterplate file, such as, include: a_ Background_image.js, a_selector_outlink.js, a_banner_pips.js etc., for convenience of description, set All advertisement masterplate filenames all start with " a ";
Spliced described at least two advertisement masterplate fileinfo by the request sending module of client and form combination masterplate file letter Breath, retransmits the request of advertisement masterplate, and the request of described advertisement masterplate includes described combination masterplate fileinfo, such as: being sent please Ask for: http://js.letvcdn.com/js/template/a_banner_pips.js&a_background _ Wherein, the composition file name formed after being spliced by above three filename is image.js& a_selector_outlink.js " a_banner_pips.js&a_background_image.js&a_selector_outlin k.js ", in this composition file name In, it being separated by by separator between adjacent two filenames, this separator can be " & ", and in the above examples, each filename is pressed Sorting according to Hash clooating sequence, client and server is all better understood when this splicing rule;
Request receiver module on server receives the request of advertisement masterplate, and the request of described advertisement masterplate includes combining masterplate file letter Breath, described combination masterplate fileinfo includes at least two advertisement masterplate fileinfo of splicing;
Combination masterplate acquisition module on server, according to described combination masterplate fileinfo, obtains combination masterplate file, described Combination masterplate file includes at least two advertisement masterplate literary composition corresponding with described at least two advertisement masterplate fileinfo of splicing Part;
Combination masterplate sending module on server sends described combination masterplate file to client;
Combination masterplate receiver module in client receives combination masterplate file, described combination masterplate file include with described extremely At least two advertisement masterplate file that few two advertisement masterplate fileinfos are corresponding;
In client disassemble and described combination masterplate file is disassembled as described at least two advertisement masterplate file by load-on module, According to described at least two advertisement masterplate file, carrying advertisement.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or terminal program product Product.Therefore, the enforcement in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware The form of example.And, the present invention can use can be with depositing in one or more terminals wherein including terminal usable program code The form of the upper terminal program product implemented of storage media (including but not limited to disk memory, CD-ROM, optical memory etc.).
The present invention is with reference to method, equipment (system) and the flow chart of terminal program product according to embodiments of the present invention And/or block diagram describes.It should be understood that can be by each flow process in terminal program instruction flowchart and/or block diagram And/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.These terminal programs can be provided to instruct To the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce one Individual machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
The instruction of these terminal programs may be alternatively stored in energy guiding terminal or other programmable data processing device with certain party In the terminal readable memory of formula work so that the instruction being stored in this terminal readable memory produces and includes command device Manufacture, this command device realizes at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame The middle function specified.
The instruction of these terminal programs also can be loaded in computer or other programmable data processing device so that is calculating On machine or other programmable devices perform sequence of operations step to produce computer implemented process, thus computer or its The instruction performed on his programmable device provides for realizing at one flow process of flow chart or multiple flow process and/or one, block diagram The step of the function specified in square frame or multiple square frame.
Particular embodiments described above, has been carried out the purpose of the present invention, technical scheme and beneficial effect the most in detail Describe in detail bright, be it should be understood that the specific embodiment that the foregoing is only the present invention, the guarantor being not intended to limit the present invention Protect scope, all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, should be included in this Within the protection domain of invention.

Claims (15)

1. a page resource loading method, it is characterised in that including:
Obtain at least two advertisement masterplate fileinfo;
Splice described at least two advertisement masterplate fileinfo and form combination masterplate fileinfo, send the request of advertisement masterplate, institute State the request of advertisement masterplate and include described combination masterplate fileinfo;
Receiving combination masterplate file, described combination masterplate file includes corresponding with described at least two advertisement masterplate fileinfo At least two advertisement masterplate file;
Described combination masterplate file is disassembled into described at least two advertisement masterplate file, according to described at least two advertisement masterplate File, carrying advertisement.
Page resource loading method the most according to claim 1, it is characterised in that described splicing described at least two advertisement Masterplate filename formed combination masterplate fileinfo particularly as follows:
Described at least two advertisement masterplate fileinfo is carried out Hash sequence, is spliced into described combination masterplate fileinfo.
3. a page resource charger, it is characterised in that including:
Masterplate file acquisition module, is used for obtaining at least two advertisement masterplate fileinfo;
Request sending module, splices described at least two advertisement masterplate fileinfo and forms combination masterplate fileinfo, retransmit Advertisement masterplate is asked, and the request of described advertisement masterplate includes described combination masterplate fileinfo;
Combination masterplate receiver module, receives combination masterplate file, and described combination masterplate file includes wide with described at least two Accuse at least two advertisement masterplate file that masterplate fileinfo is corresponding;
Disassemble and load-on module, described combination masterplate file is disassembled into described at least two advertisement masterplate file, according to described At least two advertisement masterplate file, carrying advertisement.
Page resource charger the most according to claim 3, it is characterised in that described request sending module includes:
Sequence and concatenation unit, carry out Hash sequence to described at least two advertisement masterplate fileinfo, be spliced into described combination Masterplate fileinfo.
5. a page resource loading method, it is characterised in that including:
Receiving the request of advertisement masterplate, the request of described advertisement masterplate includes combining masterplate fileinfo, and described combination masterplate file is believed Breath includes at least two advertisement masterplate fileinfo of splicing;
According to described combination masterplate fileinfo, obtain combination masterplate file, described combination masterplate file include splicing with institute State at least two advertisement masterplate file that at least two advertisement masterplate fileinfo is corresponding;
Send described combination masterplate file.
Page resource loading method the most according to claim 5, it is characterised in that described acquisition combination masterplate file is concrete For: according to described combination masterplate fileinfo, from caching, obtain described combination masterplate file.
Page resource loading method the most according to claim 5, it is characterised in that described acquisition combination masterplate file is concrete For:
According to described combination masterplate fileinfo, obtain at least two corresponding with described at least two advertisement masterplate fileinfo Advertisement masterplate file;
Described at least two advertisement masterplate file is spliced into described combination masterplate file.
Page resource loading method the most according to claim 7, it is characterised in that described acquisition combination masterplate file also wraps Include:
Cache described combination masterplate fileinfo and the combination masterplate file corresponding with described combination masterplate fileinfo.
Page resource loading method the most according to claim 7, it is characterised in that described by described at least two advertisement mould Version file is spliced into described combination masterplate file particularly as follows: described at least two advertisement masterplate file is carried out Hash sequence, To described combination masterplate file.
10. a page resource charger, it is characterised in that including:
Request receiver module, receive advertisement masterplate request, described advertisement masterplate request include combine masterplate fileinfo, described group Matched moulds version fileinfo includes at least two advertisement masterplate fileinfo of splicing;
Combination masterplate acquisition module, according to described combination masterplate fileinfo, obtains combination masterplate file, described combination masterplate literary composition Part includes at least two advertisement masterplate file corresponding with described at least two advertisement masterplate fileinfo of splicing;
Combination masterplate sending module, sends described combination masterplate file.
11. page resource chargers according to claim 10, it is characterised in that described combination masterplate acquisition module bag Include: combination masterplate file obtaining unit, according to described combination masterplate fileinfo, from caching, obtain described combination masterplate literary composition Part.
12. page resource chargers according to claim 10, it is characterised in that described combination masterplate acquisition module bag Include:
Advertisement masterplate file obtaining unit, according to described combination masterplate fileinfo, obtains and described at least two advertisement masterplate At least two advertisement masterplate file that fileinfo is corresponding;
Concatenation unit, is spliced into described combination masterplate file by described at least two advertisement masterplate file.
13. page resource chargers according to claim 12, it is characterised in that described combination masterplate acquisition module is also Including:
Buffer unit, caches described combination masterplate fileinfo and the combination masterplate corresponding with described combination masterplate fileinfo literary composition Part.
14. page resource chargers according to claim 12, it is characterised in that described concatenation unit includes:
Sequencing assembly, carries out Hash sequence to described at least two advertisement masterplate file, obtains described combination masterplate file.
15. 1 kinds of page resource loading systems, it is characterised in that include that client and server, described client include right Requiring the arbitrary described page resource charger of 3-4, described server includes the arbitrary described page money of claim 10-14 Source charger.
CN201610378338.XA 2016-05-31 2016-05-31 Page resource loading method, device and system Pending CN106055649A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610378338.XA CN106055649A (en) 2016-05-31 2016-05-31 Page resource loading method, device and system
PCT/CN2016/102214 WO2017206417A1 (en) 2016-05-31 2016-10-14 Page resource loading method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610378338.XA CN106055649A (en) 2016-05-31 2016-05-31 Page resource loading method, device and system

Publications (1)

Publication Number Publication Date
CN106055649A true CN106055649A (en) 2016-10-26

Family

ID=57171731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610378338.XA Pending CN106055649A (en) 2016-05-31 2016-05-31 Page resource loading method, device and system

Country Status (2)

Country Link
CN (1) CN106055649A (en)
WO (1) WO2017206417A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010821A (en) * 2021-04-14 2021-06-22 北京字节跳动网络技术有限公司 Page loading method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651550A (en) * 2008-08-15 2010-02-17 阿里巴巴集团控股有限公司 Method and system for advertisement generation and display and advertisement production and display client
CN104239308A (en) * 2013-06-08 2014-12-24 北京齐尔布莱特科技有限公司 Access, integrating and optimizing method for page advertising requests
US20150106469A1 (en) * 2013-10-15 2015-04-16 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device with data cache function and related method
CN105491064A (en) * 2015-12-31 2016-04-13 迈普通信技术股份有限公司 Pushing method and device
CN105760407A (en) * 2014-12-19 2016-07-13 乐视网信息技术(北京)股份有限公司 Advertisement loading method, device and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9792363B2 (en) * 2011-02-01 2017-10-17 Vdopia, INC. Video display method
CN103716656B (en) * 2013-12-11 2018-08-03 乐视网信息技术(北京)股份有限公司 A kind of video loading method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651550A (en) * 2008-08-15 2010-02-17 阿里巴巴集团控股有限公司 Method and system for advertisement generation and display and advertisement production and display client
CN104239308A (en) * 2013-06-08 2014-12-24 北京齐尔布莱特科技有限公司 Access, integrating and optimizing method for page advertising requests
US20150106469A1 (en) * 2013-10-15 2015-04-16 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device with data cache function and related method
CN105760407A (en) * 2014-12-19 2016-07-13 乐视网信息技术(北京)股份有限公司 Advertisement loading method, device and equipment
CN105491064A (en) * 2015-12-31 2016-04-13 迈普通信技术股份有限公司 Pushing method and device

Also Published As

Publication number Publication date
WO2017206417A1 (en) 2017-12-07

Similar Documents

Publication Publication Date Title
CN102572557B (en) Current device location advertisement distribution method and system
CN101894139B (en) Mobile Internet webpage information data interaction processing method
US8243932B2 (en) Methods and systems for distributed processing on consumer devices
US10013500B1 (en) Behavior based optimization for content presentation
US11722555B2 (en) Application control method and apparatus, electronic device, and storage medium
CN111143725A (en) Page generation method and device and electronic equipment
CN110096660A (en) Method, apparatus and electronic equipment for loading page picture
CN109165050A (en) The operation method of program, calculates equipment and storage medium at device
CN103581133B (en) Web server sends the method and system of response to access request
CN103336702A (en) Method and device of accelerating webpage loading
CN109977822B (en) Data supply method, model training method, device, system, equipment and medium
CN107077689A (en) Advertising service is provided to the system and method for device
CN114598815B (en) Shooting method, shooting device, electronic equipment and storage medium
CN107197359A (en) Video file caching method and device
CN113721807B (en) Information display method and device, electronic equipment and storage medium
CN111581560B (en) Page display method and device, electronic equipment and storage medium
CN106331089A (en) Video play control method and system
CN105760407B (en) A kind of advertisement loading method, device and equipment
CN111031376A (en) Bullet screen processing method and system based on WeChat applet
CN102890687A (en) Method, system and device for browsing webpage diagrams
CN106055649A (en) Page resource loading method, device and system
CN110838969B (en) Picture transmission method, device, equipment and medium
CN102665096B (en) System and method for wireless distribution system proxy caches
CN110839074A (en) Data request receiving and processing method and device
CN108268254B (en) Flash file function library calling method and device, electronic equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161026