CN104426925A - Webpage resource obtaining method and apparatus - Google Patents

Webpage resource obtaining method and apparatus Download PDF

Info

Publication number
CN104426925A
CN104426925A CN201310367699.0A CN201310367699A CN104426925A CN 104426925 A CN104426925 A CN 104426925A CN 201310367699 A CN201310367699 A CN 201310367699A CN 104426925 A CN104426925 A CN 104426925A
Authority
CN
China
Prior art keywords
web page
page resources
web
cdn
successfully
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
CN201310367699.0A
Other languages
Chinese (zh)
Other versions
CN104426925B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310367699.0A priority Critical patent/CN104426925B/en
Publication of CN104426925A publication Critical patent/CN104426925A/en
Application granted granted Critical
Publication of CN104426925B publication Critical patent/CN104426925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a webpage resource obtaining method and apparatus. The webpage resource obtaining method comprises the following steps: according to a webpage access request, accessing into an object webpage, and requesting to obtain first webpage resources needing to be loaded in the object webpage from a content distribution network (CDN); determining whether the first webpage resources are successfully obtained; and if the first webpage resources are not successfully obtained, obtaining second webpage resources consistent with the first webpage resources in terms of content from a backup network besides the CDN. According to the invention, the technical problem is solved that the object webpage cannot be normally accessed because a client cannot obtain webpage resources from the CDN, the technical effect of normal accessing into the object webpage is realized, and the technical effect of improving webpage access reliability is achieved.

Description

Web page resources acquisition methods and device
Technical field
The present invention relates to the communications field, in particular to a kind of web page resources acquisition methods and device.
Background technology
In existing Internet communication technology, the web page resources quoted, in order to promote access speed, is left in content distributing network CDN(Content Delivery Network by network Web page (also claiming webpage) usually) in.Thus as shown in Figure 1, when client conducts interviews to webpage, the principle of accessing can be taked nearby, be the node that client distributes in CDN nearby by domain name system DNS (Domain Name System) server, from this CDN node, the web page resources needed for webpage is pulled, thus the load time of web page resources can be shortened, and the pressure that the larger webpage of visit capacity obtains web page resources can be disperseed.The use of CDN significantly improves the page loading velocity of client, improves the accessibility of website.
But, under usually needing that in the application of CDN the web page resources needed for webpage is stored in the domain name of independently CDN, thus cause the domain name of the page usually not identical with the domain name of web page resources.Under above-mentioned scene; if the network residing for client normally cannot be accessed CDN; the such as network at some client places; as company or school web; consider the safety factor of domain name access, limit the access of client to CDN by the mode of website white list, then web page resources will be caused normally to obtain; thus the problem causing webpage normally to access, have impact on the reliability of web page access.
For the problems referred to above, at present effective solution is not yet proposed.
Summary of the invention
Main purpose of the present invention is to provide a kind of web page resources acquisition methods and device, cannot obtain web page resources and the problem that cannot normally access of the target web caused to solve client in prior art from CDN.
To achieve these goals, according to an aspect of the present invention, a kind of web page resources acquisition methods is provided.The method comprises: conduct interviews to target web according to web access requests, and needs the first web page resources of being carried in above-mentioned target web to content distributing network CDN acquisition request; Judge whether successfully to obtain above-mentioned first web page resources; If above-mentioned first web page resources of unsuccessful acquisition, then obtain second web page resources consistent with the content of above-mentioned first web page resources from the backup network beyond above-mentioned CDN.
To achieve these goals, according to a further aspect in the invention, a kind of web page resources acquisition device is additionally provided.This device comprises: addressed location, for conducting interviews to target web according to web access requests, and needs the first web page resources of being carried in above-mentioned target web to CDN acquisition request; Judging unit, successfully obtains above-mentioned first web page resources for judging whether; First acquiring unit, for when above-mentioned first web page resources of unsuccessful acquisition, obtains second web page resources consistent with the content of above-mentioned first web page resources from the backup network beyond above-mentioned CDN.
In embodiments of the present invention, after CDN acquisition request first web page resources, according to the judged result whether this first web page resources successfully obtains, when unsuccessful acquisition, by obtaining second web page resources consistent with the content of the first web page resources from backup network, meet the condition normally loading corresponding web page element in target web, thus solve client in prior art and cannot obtain web page resources from CDN and the technical problem that cannot normally access of the target web caused, achieve technique effect target web being carried out to normal access, and reach the technique effect of the reliability improving web page access.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the implementation environment of a kind of web page resources acquisition methods according to prior art;
Fig. 2 is the schematic diagram of a kind of optional web page resources acquisition methods according to the embodiment of the present invention;
Fig. 3 is the schematic diagram according to the optional web page resources acquisition methods of the another kind of the embodiment of the present invention;
Fig. 4 is the schematic diagram of another the optional web page resources acquisition methods according to the embodiment of the present invention;
Fig. 5 is the schematic diagram of another the optional web page resources acquisition methods according to the embodiment of the present invention;
Fig. 6 is the schematic diagram of the implementation environment of a kind of optional web page resources acquisition methods according to the embodiment of the present invention;
Fig. 7 is the schematic diagram of another the optional web page resources acquisition methods according to the embodiment of the present invention;
Fig. 8 is the schematic diagram of another the optional web page resources acquisition methods according to the embodiment of the present invention;
Fig. 9 is the schematic diagram of another the optional web page resources acquisition methods according to the embodiment of the present invention;
Figure 10 is the schematic diagram of another the optional web page resources acquisition methods according to the embodiment of the present invention;
Figure 11 is the schematic diagram of a kind of optional web page resources acquisition device according to the embodiment of the present invention;
Figure 12 is the schematic diagram according to the optional web page resources acquisition device of the another kind of the embodiment of the present invention;
Figure 13 is the schematic diagram of another the optional web page resources acquisition device according to the embodiment of the present invention;
Figure 14 is the schematic diagram of another the optional web page resources acquisition device according to the embodiment of the present invention;
Figure 15 is the schematic diagram of another the optional web page resources acquisition device according to the embodiment of the present invention;
Figure 16 is the schematic diagram of another the optional web page resources acquisition device according to the embodiment of the present invention;
Figure 17 is the schematic diagram of another the optional web page resources acquisition device according to the embodiment of the present invention;
Figure 18 is the schematic diagram of another the optional web page resources acquisition device according to the embodiment of the present invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment 1
According to the embodiment of the present invention, provide a kind of web page resources acquisition methods.As shown in Figure 2, the method can comprise:
S202: target web is conducted interviews according to web access requests, and to content distributing network CDN(ContentDelivery Network) acquisition request needs the first web page resources of being carried in target web;
S204: judge whether successfully to obtain the first web page resources, wherein,
If not, step S206 is performed;
S206: obtain second web page resources consistent with the content of the first web page resources from the backup network beyond CDN.
According to the web page resources acquisition methods that the embodiment of the present invention provides, in step s 102, can conduct interviews to target web according to web access requests, and need the first web page resources of being carried in described target web to CDN acquisition request.
Generally speaking, in embodiments of the present invention, the above-mentioned web access requests to target web can come from the identification clicked of the link to the sensing target web in browser or user interface usually, and, as the one of Internet resources, the web page files of above-mentioned target web usually can pass through uniform resource position mark URL (Uniform ResourceLocator) and position, such as, in some embodiments of the invention, namely web access requests can be formed with identification to the seizure of the mouse click action existed in above-mentioned browser or user interface on the passage of URL hyperlink.Certainly, the link of above-mentioned sensing target web also can not appear on word, but on element in other browsers such as icon, picture, video pictures or user interface, the present invention is not construed as limiting this.
It should be noted that, a kind of comparatively common form of expression of the just web access requests described in above-described embodiment, and nonessential execution mode, such as, in some embodiments of the invention, the generation of web access requests also can have nothing to do with the input signal read from computer entry device, such as, this web access requests can be generated automatically by the application run in client, to be formed the ejection page on browser or user interface, as the access of navigation page etc., the present invention is not limited in any way this.
Based on the above-mentioned access request to target web, the access to target web can be realized, but due to form restriction, the web document corresponding with target web self is typically not enough to the full detail content containing and present needed for it.
Generally speaking, target web can show as HTML html(Hypertext MarkupLanguage usually) web document of form, and can by carrying out the different elements edited in this web document, the concrete presentation mode of the objective definition webpages such as such as text, image, audio frequency, video, interactive form, thus dissimilar information can be shown in webpage, and realize and external information mutual.
Wherein, a part in above-mentioned web page element directly can be recorded in the inside of above-mentioned web document, directly loaded by loader, browser or user interface etc., and the mode that another part can be linked by external resource, utilize the chained address being present in the web page resources of the outside of this web document of recording in web document, realize calling these web page resources, and be further advanced by loader, browser or user interface etc. and be loaded in target web, to form above-mentioned web page element.Wherein, the chained address of above-mentioned web page resources also can show as URL usually, but the present invention is not construed as limiting this.
As previously mentioned, in the prior art, the above-mentioned web page resources being present in the outside of web document can leave that data link between web page access terminal is shorter in, on the node of data transmission bauds CDN faster, wherein, this node may be used for representing a territory in computer network, and computer or a server etc. that also can represent wherein have the storage medium of basic data processing function.Wherein, for ease of following description, the above-mentioned web page resources being used for loading to target web left in CDN node can be designated as the first web page resources.
Particularly, corresponding with above-mentioned web page element, first web page resources also can have polytype, such as text, picture, video file etc., and its file format also can have multiple, such as, comparatively common, Javascript script or CSS CSS(Cascading Style Sheet can be comprised) file etc. of type, the present invention does not all do any restriction to this, is interpreted as the web page resources of feasible arbitrary form.
It should be noted that, in embodiments of the present invention, target web can call this first web page resources according to the URL of the first web page resources recorded in web document corresponding with it, but first web page resources corresponding with this URL might not leave preposition in CDN in, such as, by data dump or the renewal rewards theory of CDN server, this the first web page resources can be deleted from CDN, or be updated to other addresses or path, also be, in some embodiments of the invention, client can to CDN acquisition request first web page resources, but this first web page resources also can not be present in above-mentioned CDN.It should be noted that, above-mentioned scene does not affect the enforcement of technical solution of the present invention, should not be construed as yet and forms any restriction to the present invention.
According to the web page resources acquisition methods that the embodiment of the present invention provides, as shown in Figure 2, in step S204, can, above-mentioned after CDN acquisition request first web page resources, judge whether successfully to obtain described first web page resources.
Generally speaking, the acquisition request of above-mentioned first web page resources can show as is called in other words by the access of URL to the first web page resources corresponding with it, wherein, for ease of describing, the above-mentioned chained address for locating the first web page resources is defined as a URL.
Particularly, under above-mentioned scene, the response that CDN obtains request for above-mentioned web page resources generally can comprise following four kinds of situations:
1) CDN obtains request to web page resources and makes response, and the first web page resources is sent to client;
2) CDN obtains request to web page resources and makes response, and there is first web page resources corresponding with a URL, but unsuccessful first web page resources is sent to client;
3) CDN obtains request to web page resources and makes response, but there is not first web page resources corresponding with a URL;
4) CDN does not obtain request to web page resources and makes response.
Wherein, for the first situation, can judge successfully to obtain described first web page resources, also namely client can normally obtain web page resources from CDN and realize the access to complete target web, the scheme obtaining web page resources from CDN in view of client belongs to technical scheme ripe prior art, and the present invention does not do tired stating at this.
For second case, particularly, in some embodiments of the invention, the network security that can derive from client is arranged, such as fire compartment wall, the restriction etc. of resource access of downloading shielding, arranging in client or the territory residing for it, thus cause CDN after the acquisition request receiving the first web page resources, the first web page resources cannot be sent to browser or user interface etc. in client, thus described first web page resources of unsuccessful acquisition can be judged.
For the third situation, as previously mentioned, in some embodiments of the invention, first web page resources can leave the position beyond a URL in, such as, in the renewal rewards theory of CDN server, the access path of the one URL is changed, Deng, thus cause CDN the first web page resources cannot be sent to client, also can be judged as described first web page resources of unsuccessful acquisition.
For the 4th kind of situation, particularly, in some embodiments of the invention, the access that can derive from the node in the CDN depositing the first web page resources is arranged, such as, user beyond the white list forbidding this Node configuration to the access of this node, thus causes CDN to fail to respond to the acquisition request of the first web page resources, also should be judged as described first web page resources of unsuccessful acquisition.
For above situation, can judge to draw to it judged result whether successfully obtaining described first web page resources respectively, but, on the other hand, the above-mentioned judgement operation whether successfully obtaining described first web page resources also can arrange with user and network environment has nothing to do, the port such as can specified in client is monitored, and to detect after transmission web page resources obtains request, whether success receives the first web page resources from CDN.
Certainly, above embodiment is a kind of example, and in embodiments of the present invention, can also judge whether successfully obtaining the first web page resources by other means, alternatively, as shown in Figure 3, step S204 can comprise:
S302: judge whether successfully the first web page resources to be loaded in target web, wherein,
If so, then step S304 is performed,
If not, then step S306 is performed;
S304: judge successfully to obtain the first web page resources;
S306: judge unsuccessful acquisition first web page resources.
Generally speaking, in the process that target web is conducted interviews, web document corresponding to target web pulls the first web page resources by browser or loader, and after successfully obtaining the first web page resources, be loaded in the target web be presented in browser or user interface, thus, in embodiments of the present invention, the result of the judgement of success or not can be loaded by the first web page resources, judge whether successfully to obtain the first web page resources from CDN, wherein, if the first web page resources needed for target web is successfully loaded in target web, then can judge that client success obtains the first web page resources from CDN before load operation, be loaded in target web if the first web page resources needed for target web is unsuccessful, then no matter loading failed reason comes from the acquisition of the first web page resources in CDN failed, or the loading failure of browser or loader, all can be considered as acquisition first web page resources that fails, thus backup network acquisition request second web page resources can be turned in step S206.
It should be noted that, in some embodiments of the invention, for the load mode of the web page resources based on html label, its loading action synchronously can be carried out with the acquisition request of web page resources, particularly, such as, be the situation of Javascript script file for the first web page resources, can be loaded this Javascript script file by html label as follows:
<script src=″script.js″type=″text/javascript″charset=″utf-8″></script>,
Wherein, " <script></script > " may be used for representing the <script> label in html label, this label may be used for the file defining script type, wherein
Type attribute may be used for multipurpose internet mail extensions MIME (the MultipurposeInternet Mail EXtensions) type specifying this script file; wherein, " javascript " may be used for representing that the type of this script file is Javascript script file;
Charset attribute may be used for the character code mode specifying this Javascript script file, and such as, above-mentioned " utf-8 " may be used for representing Unicode coded system;
Src attribute may be used for pointing to external script files, also i.e. this Javascript script file, and the access path of this Javascript script file can be specified by the assignment of Src attribute, wherein, this access path is usually expressed as the URL of this Javascript script file, " script.js " as escribed above.
As can be seen from the above description, in the process Javascript script file as the first web page resources loaded by above-mentioned html<script> label, owing to being defined the access path of this Javascript script file by Src attribute, and can conduct interviews to it according to this path and call, thus the request the first web page resources being proposed to acquisition while loading can be considered as.
It should be noted that, for the load mode of the web page resources based on static html label, because it is difficult to the stress state accurately judging script, thus in some embodiments of the invention, JS (Javascript) loader can be used to load Javascript script file, under above-mentioned scene, as shown in Figure 4, alternatively, step S302 can comprise:
S402: judge whether successfully described Javascript script file to be loaded in described target web by loader.
Wherein, common JS loader has a lot, such as, it can be the loader based on script DOM mode, also can be the loader based on ajax eval mode, and other feasible loaders that may be used for judging whether Javascript script file successfully loads, the present invention is not construed as limiting this.
Similarly, be the situation of CSS file, can be loaded equally by html label to it for the first web page resources, such as, this html label can be:
<link rel=″stylesheet″ href=″/css/master.css″ type=″text/css″ media=″screen″chaset=″utf-8″>,
Wherein, " <link> " may be used for representing the <link> label in html label, this label may be used for defining the relation between web document and the web page resources of outside, and usually may be used for link shape table, such as CSS file, wherein
Type attribute may be used for the mime type specifying this external web page resource, and wherein, " text/css " may be used for representing that this web page resources be linked is CSS file;
Rel attribute may be used for specifying the linking relationship between above-mentioned web document and this CSS file, and wherein, " stylesheet " may be used for representing link shape table;
This CSS file that Media attribute may be used for specifying to be linked shows on the equipment of what type, and such as, above-mentioned " screen " may be used for representing and show on PC equipment;
Charset attribute may be used for the character code mode specifying this CSS file, and such as, above-mentioned " utf-8 " may be used for representing Unicode coded system;
Href attribute may be used for the access path defining this CSS script file, and wherein, this access path is usually expressed as the URL of this CSS file, "/css/master.css " as escribed above.
Similarly, in the process CSS file as the first web page resources loaded by above-mentioned html<link> label, owing to being defined the access path of this CSS file by Href attribute, and can conduct interviews to it according to this path and call, thus the request the first web page resources being proposed to acquisition while loading can be considered as.
As shown in Figure 5, in embodiments of the present invention, be the situation of CSS file for the first web page resources, step S302 can comprise:
S502: in the predetermined time period after need the first web page resources loaded in CDN acquisition request target web, judge whether the document dbject model DOM node of specifying in target web is successfully carried in the preset style corresponding with DOM node recorded in CSS file
If so, then step S504 is performed,
If not, then step S506 is performed;
S504: judge successfully to load CSS file in target web;
S506: judge unsuccessful loading CSS file in target web.
Wherein, DOM is as a kind of standard programming interface, with reference to its regulation, in embodiments of the present invention, each composition in web document all can be considered as a DOM node, such as, this DOM node can be the entirety of web document, can, for the above-mentioned html label for linking external web page resource, can also be also the web page element recorded in web document, such as text wherein or html attribute, etc.
In embodiments of the present invention, the pattern can specified for one or more DOM Node configuration in CSS file, as above-mentioned the preset style, and the designator successfully loading this CSS file is judged whether with this preset style, after trial loads this CSS file, whether successfully act in target web according to designator, judge whether CSS file loads successfully.Particularly, such as, as wherein a kind of optional execution mode, can be arranged DOM node by the statement of the following form in CSS file:
object{visibility:hidden},
Wherein, whether visibility attribute may be used for regulation object element visible, wherein, " hidden " may be used for representing that this element is invisible, such as, for the situation that object is " head ", can be invisible by the style setting of title, thus can request this CSS file is loaded after predetermined time period in, judge whether this CSS file successfully loads by the detection of the pattern to this title, wherein, if this title is invisible, then can judge that CSS file successfully loads, if this title is visible, then can judge the unsuccessful loading of CSS file.
It should be noted that, in embodiments of the present invention, to the first web page resources, the loading that such as above-mentioned Javascript script file or CSS file carry out, should be understood to the request loaded, wherein, above-mentioned Javascript script file or CSS file can not be stored in CDN, also can unsuccessfully be obtained or obtain rear to be unsuccessfully loaded in target web by client, thus can be considered as asking unsuccessfully.For above-mentioned scene, should not be construed as to define with the description of technical solution of the present invention and conflict.
In addition; it should be noted that; in the above-described embodiments; action for the loading of the first web page resources synchronously can be carried out with the action obtained; but this does not affect the enforcement of the web page resources acquisition methods according to the embodiment of the present invention; should not be construed as to define with technical solution of the present invention and conflict, also should not be construed as and restriction is constituted to the present invention, and must be considered as within protection scope of the present invention.
According to the web page resources acquisition methods that the embodiment of the present invention provides, in step S206, according to the judged result of step S204, when unsuccessful acquisition the first web page resources, second web page resources consistent with the content of the first web page resources can be obtained from the backup network beyond described CDN.
In embodiments of the present invention, outside first web page resources that can store in CDN, the second web page resources is deposited in backup network, wherein, the content of the second web page resources can be consistent with the first web page resources, such as, in other embodiments of the present invention, second web page resources can leave in backup network as the backup of the first web page resources, but the present invention is not construed as limiting this.
The situation of the first web page resources cannot be obtained from CDN for above-mentioned client, unsuccessful acquisition first web page resources can be judged, thus can in step S206, the second web page resources is obtained from the backup network beyond CDN, wherein, second web page resources can leave in above-mentioned backup network as the backup of the first web page resources in advance, calling in order to target web, thus the optional implementation environment of one of the web page resources acquisition methods according to the embodiment of the present invention can be formed, as shown in Figure 6.
Be similar to the first web page resources, the file format of the second web page resources, the information type comprised and concrete manifestation form thereof also can have multiple choices, generally speaking, can be identical with the first web page resources, so that target web is when obtaining the first web page resources from CDN, can obtains by intimate consistent web page resources acquisition request and web page resources load mode and load the second web page resources.But this and do not mean that the present invention has made restriction to this, such as, in some embodiments of the invention, second web page resources also can show as to the first web page resources be optimized process after leave web page resources in backup network in, such as, through the web page resources of overcompression process or form optimization process, thus be convenient to the storage and management of web page resources in backup network.Certainly, be more than a kind of example, the present invention is not limited in any way this.
On the other hand, as the storage medium of the second web page resources, backup network also can have multiple implementation, it can be embodied in a memory device in the network beyond CDN, also can show as the combination of multiple devices, equipment combines the computer territory that formed or a computer network widely, the present invention is not limited in any way this.
In embodiments of the present invention, the concept of backup network can be corresponding with the second web page resources be pre-stored in wherein, such as, the computer network having the second web page resources can be considered as above-mentioned backup network.Certainly, on the other hand, backup network also can be specified in advance, for depositing multiple second web page resources of the backup as the web page resources needed for target web, wherein, alternatively, backup network can be appointed as the network area at target web place, thus under the prerequisite that can conduct interviews to target web, namely can obtain the second relevant web page resources in consolidated network region, and then reach the technique effect of the reliability improving web page access.
Especially, in some embodiments of the invention, backup network can also refer to be decided to be other CDN outside the above-mentioned CDN depositing the first web page resources, wherein, namely the backup of the first web page resources deposited in other CDN above-mentioned can be considered as the second web page resources, thus when the first web page resources cannot successfully obtain, can from the acquisition of above-mentioned other CDN realization to the second web page resources, wherein, other CDN above-mentioned also can be chosen to be the combination of the CDN node comparatively close with the client in specified network region, thus can under the prerequisite of reliability improving web page access, further reduction obtains the impact of the webpage access speed decline caused because the first web page resources fails.
In addition, should be understood that, technical solution of the present invention can also be combined with each other with other the feasible technological means known to those skilled in the art, to obtain more excellent technique effect, such as, for the orientation of other CDN above-mentioned, also can pass through domain name system DNS (Domain Name System) and realize.It should be noted that, similar to technical solution of the present invention distortion, expand and and the technical scheme that formed of the combination of other common technology means and execution mode all should be considered as within the scope of protection of the invention.
As shown in Figure 6, under above-mentioned scene, when client is difficult to obtain the first web page resources from CDN, can by obtaining second web page resources consistent with the content of the first web page resources from backup network, solve in prior art when client be difficult to cause when obtaining web page resources from CDN be difficult to load the web page element corresponding with this web page resources target web thus being difficult to of causing carries out normal technical problem of accessing to target web, realize technique effect target web being carried out to normal access, and improve the reliability of web page access.
It should be noted that, in embodiments of the present invention, the first above-mentioned web page resources should be considered as obtaining with the web page resources sent to CDN asking corresponding concept, also be, the web page resources to CDN acquisition request that it is benchmark that first web page resources is interpreted as with the web page element loaded needed for target web, therefore, web page resources in CDN carry out upgrading or other types data processing after the change for the first web page resources that occurs, such as, when the first web page resources is deleted, still consistent second web page resources corresponding to the content of the first deleted web page resources preserved in backup network, still be interpreted as the second web page resources met described by technical solution of the present invention, do not affect implementation condition of the present invention, also should not be construed as and restriction is constituted to the present invention.
Alternatively, as a kind of concrete execution mode, as shown in Figure 7, in step S206, above-mentioned backup network beyond CDN obtains second web page resources consistent with the content of the first web page resources and can comprise:
S702: the URL being used for locating the first web page resources is updated to the 2nd URL, wherein, the 2nd URL is for locating the second web page resources be pre-stored in backup network;
S704: obtain the second web page resources by the 2nd URL.
By above embodiment, provide a kind of second web page resources is carried out and accurately locate the execution mode also obtained further, particularly, can by upgrading the URL for locating the first web page resources, and realize access to the second web page resources and acquisition by what formed after upgrading for the 2nd URL locating the second web page resources.
In embodiments of the present invention, a URL and the 2nd URL is respectively used to location first web page resources and the second web page resources, and in addition, the present invention is not limited in any way for the concrete form of a URL and the 2nd URL.
In addition, in embodiments of the present invention, renewal rewards theory described in step S702 also can have various ways, such as, as the optional mode of one, the tables of data for recording the corresponding relation between a URL and the 2nd URL can be had in client, particularly, the two can correspondingly stored in above-mentioned tables of data, and judge unsuccessful when obtaining the first web page resources by a URL in step S204, the second web page resources can be obtained by corresponding with a URL the 2nd URL from backup network.
Certainly, above-described embodiment exemplarily provides, and does not form restriction to the present invention, and such as, in embodiments of the present invention, above-mentioned renewal rewards theory can also realize by other means, and wherein, alternatively, as shown in Figure 8, step S702 can comprise:
S802: the Main Domain domain name in a URL being replaced with the territory at target web place, to form the 2nd URL, wherein, the second web page resources is pre-stored in position corresponding with the 2nd URL in the territory at target web place.
To be described in detail step S802 by a specific embodiment below.
Wherein, the access path set by the web document that target web is corresponding obtains the first web page resources in CDN, namely also a URL can as shown below:
http://cdn.com/myproject/js/10/abc.js,
Wherein, " http " may be used for representing that Data Transport Protocol is HTTP http(HypertextTransport Protocol); " cdn.com " is the domain name part in a URL, the host address for depositing the first web page resources can be represented, " myproject/js/10/ " may be used for the position that expression first web page resources is deposited in above-mentioned main frame, also namely in cdn.com territory to the path that the first web page resources conducts interviews, " abc.js " may be used for the filename representing this first web page resources, and wherein suffix " .js " can represent that the type of this file is Javascript script file.
The Main Domain in the territory at hypothetical target webpage place is " www.qq.com ", then according to step S802, an above-mentioned URL can be updated to the 2nd URL as follows:
http://www.qq.com/myproject/js/10/abc.js,
Easily notice, domain name part " cdn.com " in one URL is replaced by " www.qq.com ", if prestore the second web page resources in the position corresponding with the 2nd URL, then can judge unsuccessfully to obtain the first web page resources by a URL from CDN in step S204, also, namely after this abc.js file, identical abc.js file can be obtained by the 2nd URL from the main territory at target web place.
It should be noted that, in the above-described embodiments, first web page resources and the second web page resources can be all abc.js file, but this should not be considered as defining with the first and second web page resources in technical solution of the present invention conflicting, and be interpreted as the identical but different web pages resource that deposit position is different of content.
In the above-described embodiments, because target web and the second web page resources leave in same main territory, thus, if the request conducted interviews to target web can obtain the response of target web, then usually can be considered as this territory and restrict access has been decontroled to client, thus usually also successfully can obtain the second web page resources in same territory, finally to realize the normal access to target web.As can be seen from the above description, according to the web page resources acquisition methods that the embodiment of the present invention provides, the technique effect of the reliability improving web page access can be reached.
Certainly, be more than a kind of example, the present invention is not construed as limiting for the implementation of step S802.
Alternatively, as shown in Figure 9, in embodiments of the present invention, step S206 can comprise:
S902: obtain the second web page resources and the 3rd web page resources from backup network, wherein, the 3rd web page resources is for representing the web page resources also needing to load in target web except the first web page resources.
In embodiments of the present invention, if judge unsuccessful loading first web page resources in step S204, then can be judged to be that client cannot obtain web page resources from the CDN at the first web page resources place, thus can according to step S902, obtain outside the second web page resources in above-mentioned backup network, the 3rd web page resources also needing to load in target web except the first web page resources can also be obtained, thus on the basis of reliability of improving web page access, eliminate for each deterministic process whether successfully obtained in other web page resources needing in target web to load, reduce processing pressure, and shorten the processing time, accelerate the speed of target web being carried out to normal access.
On the other hand, as shown in Figure 10, alternatively, according to the judged result of step S204, successfully obtain the first web page resources if judge, above-mentioned web page resources acquisition methods can also comprise:
S1002: to the 3rd web page resources described in CDN acquisition request.
In embodiments of the present invention, the first web page resources is successfully loaded if judge in step S204, then can be judged to be that client can obtain web page resources from the CDN at the first web page resources place, thus can according to step S1002, to above-mentioned 3rd web page resources of this CDN acquisition request.Wherein, as the optional mode of one, in some embodiments of the invention, further the 3rd web page resources can also be repeated as the first new web page resources the web page resources acquisition methods provided according to the embodiment of the present invention, thus under the advantage of contents distribution function utilizing CDN, the normal access of target web can be guaranteed.
More specifically, as the optional execution mode of one, can be used to indicate successfully or the identification item of unsuccessful acquisition first web page resources generating according to the judged result of step S204, such as, this identification item can be specific cookie, thus in the loading procedure of the 3rd web page resources, by the identification to this identification item, can select from CDN still from backup network acquisition request the 3rd web page resources.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Embodiment 2
According to the embodiment of the present invention, additionally provide a kind of web page resources acquisition device for implementing above-mentioned web page resources acquisition methods.As shown in figure 11, this device can comprise:
1) addressed location 1102, for conducting interviews to target web according to web access requests, and needs the first web page resources of being carried in target web to CDN acquisition request;
2) judging unit 1104, successfully obtains the first web page resources for judging whether;
3) the first acquiring unit 1106, for when unsuccessful acquisition the first web page resources, obtains second web page resources consistent with the content of the first web page resources from the backup network beyond CDN.
According to the web page resources acquisition device that the embodiment of the present invention provides, in addressed location 1102, can conduct interviews to target web according to web access requests, and need the first web page resources of being carried in described target web to CDN acquisition request.
Generally speaking, in embodiments of the present invention, the above-mentioned web access requests to target web can come from the identification clicked of the link to the sensing target web in browser or user interface usually, and, as the one of Internet resources, the web page files of above-mentioned target web can be positioned by URL usually, such as, in some embodiments of the invention, namely web access requests can be formed to the seizure of the mouse click action existed in above-mentioned browser or user interface on the passage of URL hyperlink with identification.Certainly, the link of above-mentioned sensing target web also can not appear on word, but on element in other browsers such as icon, picture, video pictures or user interface, the present invention is not construed as limiting this.
It should be noted that, a kind of comparatively common form of expression of the just web access requests described in above-described embodiment, and the execution mode of not necessarily, such as, in some embodiments of the invention, the generation of web access requests also can have nothing to do with the input signal read from computer entry device, such as, this web access requests can be generated automatically by the application run in client, to be formed the ejection page on browser or user interface, as the access of navigation page etc., the present invention is not limited in any way this.
Based on the above-mentioned access request to target web, the access to target web can be realized, but due to form restriction, the web document corresponding with target web self is typically not enough to the full detail content containing and present needed for it.
Generally speaking, target web can show as the web document of html form usually, and can by carrying out the different elements edited in this web document, the concrete presentation mode of the objective definition webpages such as such as text, image, audio frequency, video, interactive form, thus dissimilar information can be shown in webpage, and realize and external information mutual.
Wherein, a part in above-mentioned web page element directly can be recorded in the inside of above-mentioned web document, directly loaded by loader, browser or user interface etc., and the mode that another part can be linked by external resource, utilize the chained address being present in the web page resources of the outside of this web document of recording in web document, realize calling these web page resources, and be further advanced by loader, browser or user interface etc. and be loaded in target web, to form above-mentioned web page element.Wherein, the chained address of above-mentioned web page resources also can show as URL usually, but the present invention is not construed as limiting this.
As previously mentioned, in the prior art, the above-mentioned web page resources being present in the outside of web document can leave that data link between web page access terminal is shorter in, on the node of data transmission bauds CDN faster, wherein, this node may be used for representing a territory in computer network, and computer or a server etc. that also can represent wherein have the storage medium of basic data processing function.Wherein, for ease of following description, the above-mentioned web page resources being used for loading to target web left in CDN node can be designated as the first web page resources.
Particularly, corresponding with above-mentioned web page element, first web page resources also can have polytype, such as text, picture, video file etc., and its file format also can have multiple, such as, comparatively common, can comprise the file etc. of Javascript script or CSS type, the present invention does not all do any restriction to this, is interpreted as the web page resources of feasible arbitrary form.
It should be noted that, in embodiments of the present invention, target web can call this first web page resources according to the URL of the first web page resources recorded in web document corresponding with it, but first web page resources corresponding with this URL might not leave preposition in CDN in, such as, by data dump or the renewal rewards theory of CDN server, this the first web page resources can be deleted from CDN, or be updated to other addresses or path, also be, in some embodiments of the invention, client can to CDN acquisition request first web page resources, but this first web page resources also can not be present in above-mentioned CDN.It should be noted that, above-mentioned scene does not affect the enforcement of technical solution of the present invention, should not be construed as yet and forms any restriction to the present invention.
According to the web page resources acquisition device that the embodiment of the present invention provides, as shown in Figure 2, in judging unit 1104, can, above-mentioned after CDN acquisition request first web page resources, judge whether successfully to obtain described first web page resources.
Generally speaking, the acquisition request of above-mentioned first web page resources can show as is called in other words by the access of URL to the first web page resources corresponding with it, wherein, for ease of describing, the above-mentioned chained address for locating the first web page resources is defined as a URL.
Particularly, under above-mentioned scene, the response that CDN obtains request for above-mentioned web page resources generally can comprise following four kinds of situations:
1) CDN obtains request to web page resources and makes response, and the first web page resources is sent to client;
2) CDN obtains request to web page resources and makes response, and there is first web page resources corresponding with a URL, but unsuccessful first web page resources is sent to client;
3) CDN obtains request to web page resources and makes response, but there is not first web page resources corresponding with a URL;
4) CDN does not obtain request to web page resources and makes response.
Wherein, for the first situation, can judge successfully to obtain described first web page resources, also namely client can normally obtain web page resources from CDN and realize the access to complete target web, the scheme obtaining web page resources from CDN in view of client belongs to technical scheme ripe prior art, and the present invention does not do tired stating at this.
For second case, particularly, in some embodiments of the invention, the network security that can derive from client is arranged, such as fire compartment wall, the restriction etc. of resource access of downloading shielding, arranging in client or the territory residing for it, thus cause CDN after the acquisition request receiving the first web page resources, the first web page resources cannot be sent to browser or user interface etc. in client, thus described first web page resources of unsuccessful acquisition can be judged.
For the third situation, as previously mentioned, in some embodiments of the invention, first web page resources can leave the position beyond a URL in, such as, in the renewal rewards theory of CDN server, the access path of the one URL is changed, Deng, thus cause CDN the first web page resources cannot be sent to client, also can be judged as described first web page resources of unsuccessful acquisition.
For the 4th kind of situation, particularly, in some embodiments of the invention, the access that can derive from the node in the CDN depositing the first web page resources is arranged, such as, user beyond the white list forbidding this Node configuration to the access of this node, thus causes CDN to fail to respond to the acquisition request of the first web page resources, also should be judged as described first web page resources of unsuccessful acquisition.
For above situation, can judge to draw to it judged result whether successfully obtaining described first web page resources respectively, but, on the other hand, the above-mentioned judgement operation whether successfully obtaining described first web page resources also can arrange with user and network environment has nothing to do, the port such as can specified in client is monitored, and to detect after transmission web page resources obtains request, whether success receives the first web page resources from CDN.
Certainly, above embodiment is a kind of example, and in embodiments of the present invention, can also judge whether successfully obtaining the first web page resources by other means, alternatively, as shown in figure 12, judging unit 1104 can comprise:
1) judge module 1202, is successfully loaded in target web by the first web page resources for judging whether; Wherein, if successfully the first web page resources is loaded in target web, then judge successfully to obtain the first web page resources; If unsuccessful, first web page resources is loaded in target web, then judges unsuccessful acquisition first web page resources.
Generally speaking, in the process that target web is conducted interviews, web document corresponding to target web pulls the first web page resources by browser or loader, and after successfully obtaining the first web page resources, be loaded in the target web be presented in browser or user interface, thus, in embodiments of the present invention, the result of the judgement of success or not can be loaded by the first web page resources, judge whether successfully to obtain the first web page resources from CDN, wherein, if the first web page resources needed for target web is successfully loaded in target web, then can judge that client success obtains the first web page resources from CDN before load operation, be loaded in target web if the first web page resources needed for target web is unsuccessful, then no matter loading failed reason comes from the acquisition of the first web page resources in CDN failed, or the loading failure of browser or loader, all can be considered as acquisition first web page resources that fails, thus backup network acquisition request second web page resources can be turned in the first acquiring unit 1106.
It should be noted that, in some embodiments of the invention, for the load mode of the web page resources based on html label, its loading action synchronously can be carried out with the acquisition request of web page resources, particularly, such as, be the situation of Javascript script file for the first web page resources, can be loaded this Javascript script file by html label as follows:
<script src=″script.js″type=″text/javascript″charset=″utf-8″></script>,
Wherein, " <script></script > " may be used for representing the <script> label in html label, this label may be used for the file defining script type, wherein
Type attribute may be used for the mime type specifying this script file, and wherein, " javascript " may be used for representing that the type of this script file is Javascript script file;
Charset attribute may be used for the character code mode specifying this Javascript script file, and such as, above-mentioned " utf-8 " may be used for representing Unicode coded system;
Src attribute may be used for pointing to external script files, also i.e. this Javascript script file, and the access path of this Javascript script file can be specified by the assignment of Src attribute, wherein, this access path is usually expressed as the URL of this Javascript script file, " script.js " as escribed above.
As can be seen from the above description, in the process Javascript script file as the first web page resources loaded by above-mentioned html<script> label, owing to being defined the access path of this Javascript script file by Src attribute, and can conduct interviews to it according to this path and call, thus the request the first web page resources being proposed to acquisition while loading can be considered as.
It should be noted that, for the load mode of the web page resources based on static html label, because it is difficult to the stress state accurately judging script, thus in some embodiments of the invention, JS loader can be used to load Javascript script file, under above-mentioned scene, as shown in figure 13, judge module 1202 can comprise:
1) judging submodule 1302, successfully Javascript script file being loaded in target web for being judged whether by loader.
Wherein, common JS loader has a lot, such as, it can be the loader based on script DOM mode, also can be the loader based on ajax eval mode, and other feasible loaders that may be used for judging whether Javascript script file successfully loads, the present invention is not construed as limiting this.
Similarly, be the situation of CSS file, can be loaded equally by html label to it for the first web page resources, such as, this html label can be:
<link rel=″stylesheet″href=″/css/master.css″type=″text/css″media=″screen″charset=″utf-8″>,
Wherein, " <link> " may be used for representing the <link> label in html label, this label may be used for defining the relation between web document and the web page resources of outside, and usually may be used for link shape table, such as CSS file, wherein
Type attribute may be used for the mime type specifying this external web page resource, and wherein, " text/css " may be used for representing that this web page resources be linked is CSS file;
Rel attribute may be used for specifying the linking relationship between above-mentioned web document and this CSS file, and wherein, " stylesheet " may be used for representing link shape table;
This CSS file that Media attribute may be used for specifying to be linked shows on the equipment of what type, and such as, above-mentioned " screen " may be used for representing and show on PC equipment;
Charset attribute may be used for the character code mode specifying this CSS file, and such as, above-mentioned " utf-8 " may be used for representing Unicode coded system;
Href attribute may be used for the access path defining this CSS script file, and wherein, this access path is usually expressed as the URL of this CSS file, "/css/master.css " as escribed above.
Similarly, in the process CSS file as the first web page resources loaded by above-mentioned html<link> label, owing to being defined the access path of this CSS file by Href attribute, and can conduct interviews to it according to this path and call, thus the request the first web page resources being proposed to acquisition while loading can be considered as.
As shown in figure 14, in embodiments of the present invention, be the situation of CSS file for the first web page resources, judge module 1202 can comprise:
1) submodule 1402 is judged, for need in CDN acquisition request target web load the first web page resources after predetermined time period in, judge whether the document dbject model DOM node of specifying in target web is successfully carried in the preset style corresponding with DOM node recorded in CSS file; Wherein,
If DOM node successfully loads the preset style in predetermined time period, then judge successfully to load CSS file in target web;
If unsuccessful loading the preset style of DOM node in predetermined time period, then judge unsuccessful loading CSS file in target web.
Wherein, DOM is as a kind of standard programming interface, with reference to its regulation, in embodiments of the present invention, each composition in web document all can be considered as a DOM node, such as, this DOM node can be the entirety of web document, can, for the above-mentioned html label for linking external web page resource, can also be also the web page element recorded in web document, such as text wherein or html attribute, etc.
In embodiments of the present invention, the pattern can specified for one or more DOM Node configuration in CSS file, as above-mentioned the preset style, and the designator successfully loading this CSS file is judged whether with this preset style, after trial loads this CSS file, whether successfully act in target web according to designator, judge whether CSS file loads successfully.Particularly, such as, as wherein a kind of optional execution mode, can be arranged DOM node by the statement of the following form in CSS file:
object{visibility:hidden},
Wherein, whether visibility attribute may be used for regulation object element visible, wherein, " hidden " may be used for representing that this element is invisible, such as, for the situation that object is " head ", can be invisible by the style setting of title, thus can request this CSS file is loaded after predetermined time period in, judge whether this CSS file successfully loads by the detection of the pattern to this title, wherein, if this title is invisible, then can judge that CSS file successfully loads, if this title is visible, then can judge the unsuccessful loading of CSS file.
It should be noted that, in embodiments of the present invention, to the first web page resources, the loading that such as above-mentioned Javascript script file or CSS file carry out, should be understood to the request loaded, wherein, above-mentioned Javascript script file or CSS file can not be stored in CDN, also can unsuccessfully be obtained or obtain rear to be unsuccessfully loaded in target web by client, thus can be considered as asking unsuccessfully.For above-mentioned scene, should not be construed as to define with the description of technical solution of the present invention and conflict.
In addition; it should be noted that; in the above-described embodiments; action for the loading of the first web page resources synchronously can be carried out with the action obtained; but this does not affect the enforcement of the web page resources acquisition device according to the embodiment of the present invention; should not be construed as to define with technical solution of the present invention and conflict, also should not be construed as and restriction is constituted to the present invention, and must be considered as within protection scope of the present invention.
According to the web page resources acquisition device that the embodiment of the present invention provides, in the first acquiring unit 1106, can according to the judged result of judging unit 1104, when unsuccessful acquisition the first web page resources, obtain second web page resources consistent with the content of the first web page resources from the backup network beyond described CDN.
In embodiments of the present invention, outside first web page resources that can store in CDN, the second web page resources is deposited in backup network, wherein, the content of the second web page resources can be consistent with the first web page resources, such as, in other embodiments of the present invention, second web page resources can leave in backup network as the backup of the first web page resources, but the present invention is not construed as limiting this.
The situation of the first web page resources cannot be obtained from CDN for above-mentioned client, unsuccessful acquisition first web page resources can be judged, thus can in the first acquiring unit 1106, the second web page resources is obtained from the backup network beyond CDN, wherein, second web page resources can leave in above-mentioned backup network as the backup of the first web page resources in advance, calling in order to target web, thus the optional implementation environment of one of the web page resources acquisition device according to the embodiment of the present invention can be formed, as shown in Figure 6.
Be similar to the first web page resources, the file format of the second web page resources, the information type comprised and concrete manifestation form thereof also can have multiple choices, generally speaking, can be identical with the first web page resources, so that target web is when obtaining the first web page resources from CDN, can obtains by intimate consistent web page resources acquisition request and web page resources load mode and load the second web page resources.But this and do not mean that the present invention has made restriction to this, such as, in some embodiments of the invention, second web page resources also can show as to the first web page resources be optimized process after leave web page resources in backup network in, such as, through the web page resources of overcompression process or form optimization process, thus be convenient to the storage and management of web page resources in backup network.Certainly, be more than a kind of example, the present invention is not limited in any way this.
On the other hand, as the storage medium of the second web page resources, backup network also can have multiple implementation, it can be embodied in a memory device in the network beyond CDN, also can show as the combination of multiple devices, equipment combines the computer territory that formed or a computer network widely, the present invention is not limited in any way this.
In embodiments of the present invention, the concept of backup network can be corresponding with the second web page resources be pre-stored in wherein, such as, the computer network having the second web page resources can be considered as above-mentioned backup network.Certainly, on the other hand, backup network also can be specified in advance, for depositing multiple second web page resources of the backup as the web page resources needed for target web, wherein, alternatively, backup network can be appointed as the network area at target web place, thus under the prerequisite that can conduct interviews to target web, namely can obtain the second relevant web page resources in consolidated network region, and then reach the technique effect of the reliability improving web page access.
Especially, in some embodiments of the invention, backup network can also refer to be decided to be other CDN outside the above-mentioned CDN depositing the first web page resources, wherein, namely the backup of the first web page resources deposited in other CDN above-mentioned can be considered as the second web page resources, thus when the first web page resources cannot successfully obtain, can from the acquisition of above-mentioned other CDN realization to the second web page resources, wherein, other CDN above-mentioned also can be chosen to be the combination of the CDN node comparatively close with the client in specified network region, thus can under the prerequisite of reliability improving web page access, further reduction obtains the impact of the webpage access speed decline caused because the first web page resources fails.
In addition, should be understood that, technical solution of the present invention can also be combined with each other with other the feasible technological means known to those skilled in the art, to obtain more excellent technique effect, such as, for the orientation of other CDN above-mentioned, also can domain name analysis system DNS(Domain Name System be passed through) realize.It should be noted that, similar to technical solution of the present invention distortion, expand and and the technical scheme that formed of the combination of other common technology means and execution mode all should be considered as within the scope of protection of the invention.
As shown in Figure 6, under above-mentioned scene, when client is difficult to obtain the first web page resources from CDN, can by obtaining second web page resources consistent with the content of the first web page resources from backup network, solve in prior art when client be difficult to cause when obtaining web page resources from CDN be difficult to load the web page element corresponding with this web page resources target web thus being difficult to of causing carries out normal technical problem of accessing to target web, realize technique effect target web being carried out to normal access, and improve the reliability of web page access.
It should be noted that, in embodiments of the present invention, the first above-mentioned web page resources should be considered as obtaining with the web page resources sent to CDN asking corresponding concept, also be, the web page resources to CDN acquisition request that it is benchmark that first web page resources is interpreted as with the web page element loaded needed for target web, therefore, web page resources in CDN carry out upgrading or other types data processing after the change for the first web page resources that occurs, such as, when the first web page resources is deleted, still consistent second web page resources corresponding to the content of the first deleted web page resources preserved in backup network, still be interpreted as the second web page resources met described by technical solution of the present invention, do not affect implementation condition of the present invention, also should not be construed as and restriction is constituted to the present invention.
Alternatively, as a kind of concrete execution mode, as shown in figure 15, the first acquiring unit 1106 can comprise:
1) update module 1502, for the first uniform resource position mark URL being used for locating the first web page resources is updated to the 2nd URL, wherein, the 2nd URL is for locating the second web page resources be pre-stored in backup network;
2) the first acquisition module 1504, for obtaining the second web page resources by the 2nd URL.
By above embodiment, provide a kind of second web page resources is carried out and accurately locate the execution mode also obtained further, particularly, can by upgrading the URL for locating the first web page resources, and realize access to the second web page resources and acquisition by what formed after upgrading for the 2nd URL locating the second web page resources.
In embodiments of the present invention, a URL and the 2nd URL is respectively used to location first web page resources and the second web page resources, and in addition, the present invention is not limited in any way for the concrete form of a URL and the 2nd URL.
In addition, in embodiments of the present invention, renewal rewards theory performed by update module 1502 also can have various ways, such as, as the optional mode of one, the tables of data for recording the corresponding relation between a URL and the 2nd URL can be had in client, particularly, the two can correspondingly stored in above-mentioned tables of data, and judge unsuccessful when obtaining the first web page resources by a URL in judging unit 1104, the second web page resources can be obtained by corresponding with a URL the 2nd URL from backup network.
Certainly, above-described embodiment exemplarily provides, and does not form restriction to the present invention, and such as, in embodiments of the present invention, above-mentioned renewal rewards theory can also realize by other means, and wherein, alternatively, as shown in figure 16, update module 1502 can comprise:
1) upgrade submodule 1602, for the domain name in a URL being replaced with the Main Domain in the territory at target web place, to form the 2nd URL, wherein, the second web page resources is pre-stored in position corresponding with the 2nd URL in the territory at target web place.
To be described in detail renewal submodule 1602 by a specific embodiment below.
Wherein, the access path set by the web document that target web is corresponding obtains the first web page resources in CDN, namely also a URL can as shown below:
http://cdn.com/myproject/js/10/abc.js,
Wherein, " http " may be used for representing that Data Transport Protocol is HTTP http(HypertextTransport Protocol); " cdn.com " is the domain name part in a URL, the host address for depositing the first web page resources can be represented, " myproject/js/10/ " may be used for the position that expression first web page resources is deposited in above-mentioned main frame, also namely in cdn.com territory to the path that the first web page resources conducts interviews, " abc.js " may be used for the filename representing this first web page resources, and wherein suffix " .js " can represent that the type of this file is Javascript script file.
The Main Domain in the territory at hypothetical target webpage place is " www.qq.com ", then, in renewal submodule 1602, an above-mentioned URL can be updated to the 2nd URL as follows:
http://www.qq.com/myproject/js/10/abc.js,
Easily notice, domain name part " cdn.com " in one URL is replaced by " www.qq.com ", if prestore the second web page resources in the position corresponding with the 2nd URL, then can judge unsuccessfully to obtain the first web page resources by a URL from CDN in judging unit 1104, also, namely after this abc.js file, identical abc.js file can be obtained by the 2nd URL from the main territory at target web place.
It should be noted that, in the above-described embodiments, first web page resources and the second web page resources can be all abc.js file, but this should not be considered as defining with the first and second web page resources in technical solution of the present invention conflicting, and be interpreted as the identical but different web pages resource that deposit position is different of content.
In the above-described embodiments, because target web and the second web page resources leave in same main territory, thus, if the request conducted interviews to target web can obtain the response of target web, then usually can be considered as this territory and restrict access has been decontroled to client, thus usually also successfully can obtain the second web page resources in same territory, finally to realize the normal access to target web.As can be seen from the above description, according to the web page resources acquisition device that the embodiment of the present invention provides, the technique effect of the reliability improving web page access can be reached.
Certainly, be more than a kind of example, the present invention is not construed as limiting for the implementation of update module 1502.
Alternatively, as shown in figure 17, in embodiments of the present invention, the first acquiring unit 1106 can comprise:
1) the second acquisition module 1702, for obtaining the second web page resources and the 3rd web page resources from backup network, wherein, the 3rd web page resources is for representing the web page resources also needing to load in target web except the first web page resources.
In embodiments of the present invention, if judge unsuccessful loading first web page resources in judging unit 1104, then can be judged to be that client cannot obtain web page resources from the CDN at the first web page resources place, thus can according to the second acquisition module 1702, obtain outside the second web page resources in above-mentioned backup network, the 3rd web page resources also needing to load in target web except the first web page resources can also be obtained, thus on the basis of reliability of improving web page access, eliminate for each deterministic process whether successfully obtained in other web page resources needing in target web to load, reduce processing pressure, and shorten the processing time, accelerate the speed of target web being carried out to normal access.
On the other hand, as shown in figure 18, alternatively, according to the judged result of judging unit 1104, successfully obtain the first web page resources if judge, above-mentioned web page resources acquisition device can also comprise:
1) second acquisition unit 1802, for when target web successfully obtains the first web page resources, to CDN acquisition request the 3rd web page resources.
In embodiments of the present invention, the first web page resources is successfully loaded if judge in judging unit 1104, then can be judged to be that client can obtain web page resources from the CDN at the first web page resources place, thus can according to second acquisition unit 1802, to above-mentioned 3rd web page resources of this CDN acquisition request.Wherein, as the optional mode of one, in some embodiments of the invention, further the 3rd web page resources can also be repeated as the first new web page resources the web page resources acquisition device provided according to the embodiment of the present invention, thus under the advantage of contents distribution function utilizing CDN, the normal access of target web can be guaranteed.
More specifically, as the optional execution mode of one, can be used to indicate successfully or the identification item of unsuccessful acquisition first web page resources generating according to the judged result of judging unit 1104, such as, this identification item can be specific cookie, thus in the loading procedure of the 3rd web page resources, by the identification to this identification item, can select from CDN still from backup network acquisition request the 3rd web page resources.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed client, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (16)

1. a web page resources acquisition methods, is characterized in that, comprising:
According to web access requests, target web is conducted interviews, and need the first web page resources of being carried in described target web to content distributing network CDN acquisition request;
Judge whether successfully to obtain described first web page resources;
If described first web page resources of unsuccessful acquisition, then obtain second web page resources consistent with the content of described first web page resources from the backup network beyond described CDN.
2. method according to claim 1, is characterized in that, described in judge whether that successfully obtaining described first web page resources comprises:
Judge whether successfully described first web page resources to be loaded in described target web;
If successfully described first web page resources is loaded in described target web, then judge successfully to obtain described first web page resources;
If unsuccessful, described first web page resources is loaded in described target web, then judges described first web page resources of unsuccessful acquisition.
3. method according to claim 2, is characterized in that, described first web page resources is Javascript script file, wherein, described in judge whether that successfully described first web page resources being loaded into described target web comprises:
Judge whether successfully described Javascript script file to be loaded in described target web by loader.
4. method according to claim 2, is characterized in that, described first web page resources is CSS CSS file, wherein, described in judge whether that successfully described first web page resources being loaded into described target web comprises:
In predetermined time period after need the first web page resources loaded in target web described in described CDN acquisition request, judge whether the document dbject model DOM node of specifying in described target web is successfully carried in the preset style corresponding with described DOM node recorded in described CSS file;
If described DOM node successfully loads described the preset style in described predetermined time period, then judge in described target web, successfully load described CSS file;
If described the preset style of the unsuccessful loading of described DOM node in described predetermined time period, then judge the described CSS file of unsuccessful loading in described target web.
5. method according to any one of claim 1 to 4, is characterized in that, described backup network beyond described CDN obtains second web page resources consistent with the content of described first web page resources and comprises:
The first uniform resource position mark URL being used for locating described first web page resources is updated to the 2nd URL, and wherein, described 2nd URL is for locating described second web page resources be pre-stored in described backup network;
Described second web page resources is obtained by described 2nd URL.
6. method according to claim 5, is characterized in that, describedly the URL being used for locating described first web page resources is updated to the 2nd URL comprises:
Domain name in a described URL is replaced with the Main Domain in the territory at described target web place, to form described 2nd URL, wherein, described second web page resources is pre-stored in position corresponding with described 2nd URL in the territory at described target web place.
7. method according to any one of claim 1 to 4, is characterized in that, described backup network beyond described CDN obtains second web page resources consistent with the content of described first web page resources and comprises:
Obtain described second web page resources and the 3rd web page resources from described backup network, wherein, described 3rd web page resources is for representing the web page resources also needing to load in described target web except described first web page resources.
8. method according to claim 7, is characterized in that, described judge whether successfully to obtain described first web page resources after, also comprise:
If described target web successfully obtains described first web page resources, then to the 3rd web page resources described in described CDN acquisition request.
9. a web page resources acquisition device, is characterized in that, comprising:
Addressed location, for conducting interviews to target web according to web access requests, and needs the first web page resources of being carried in described target web to CDN acquisition request;
Judging unit, successfully obtains described first web page resources for judging whether;
First acquiring unit, for when described first web page resources of unsuccessful acquisition, obtains second web page resources consistent with the content of described first web page resources from the backup network beyond described CDN.
10. device according to claim 9, is characterized in that, described judging unit comprises:
Judge module, is successfully loaded in described target web by described first web page resources for judging whether; Wherein, if successfully described first web page resources is loaded in described target web, then judge successfully to obtain described first web page resources; If unsuccessful, described first web page resources is loaded in described target web, then judges described first web page resources of unsuccessful acquisition.
11. devices according to claim 10, is characterized in that, described first web page resources is Javascript script file, and wherein, described judge module comprises:
Judging submodule, successfully described Javascript script file being loaded in described target web for being judged whether by loader.
12. devices according to claim 10, is characterized in that, described first web page resources is CSS CSS file, and wherein, described judge module comprises:
Judge submodule, for in the predetermined time period after need the first web page resources loaded in target web described in described CDN acquisition request, judge whether the document dbject model DOM node of specifying in described target web is successfully carried in the preset style corresponding with described DOM node recorded in described CSS file; Wherein,
If described DOM node successfully loads described the preset style in described predetermined time period, then judge in described target web, successfully load described CSS file;
If described the preset style of the unsuccessful loading of described DOM node in described predetermined time period, then judge the described CSS file of unsuccessful loading in described target web.
13. devices according to any one of claim 9 to 12, it is characterized in that, described first acquiring unit comprises:
Update module, for the first uniform resource position mark URL being used for locating described first web page resources is updated to the 2nd URL, wherein, described 2nd URL is for locating described second web page resources be pre-stored in described backup network;
First acquisition module, for obtaining described second web page resources by described 2nd URL.
14. devices according to claim 13, is characterized in that, described update module comprises:
Upgrade submodule, for the domain name in a described URL being replaced with the Main Domain in the territory at described target web place, to form described 2nd URL, wherein, described second web page resources is pre-stored in position corresponding with described 2nd URL in the territory at described target web place.
15. devices according to any one of claim 9 to 12, it is characterized in that, described first acquiring unit comprises:
Second acquisition module, for obtaining described second web page resources and the 3rd web page resources from described backup network, wherein, described 3rd web page resources is for representing the web page resources also needing to load in described target web except described first web page resources.
16. devices according to claim 15, is characterized in that, also comprise:
Second acquisition unit, for when described target web successfully obtains described first web page resources, to the 3rd web page resources described in described CDN acquisition request.
CN201310367699.0A 2013-08-21 2013-08-21 Web page resources acquisition methods and device Active CN104426925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310367699.0A CN104426925B (en) 2013-08-21 2013-08-21 Web page resources acquisition methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310367699.0A CN104426925B (en) 2013-08-21 2013-08-21 Web page resources acquisition methods and device

Publications (2)

Publication Number Publication Date
CN104426925A true CN104426925A (en) 2015-03-18
CN104426925B CN104426925B (en) 2019-11-08

Family

ID=52974857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310367699.0A Active CN104426925B (en) 2013-08-21 2013-08-21 Web page resources acquisition methods and device

Country Status (1)

Country Link
CN (1) CN104426925B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331160A (en) * 2016-09-28 2017-01-11 乐视控股(北京)有限公司 Data migration method and system
CN106407339A (en) * 2016-09-05 2017-02-15 用友优普信息技术有限公司 Hyper text markup language (HTML) file distributed releasing method and HTML file distributed releasing apparatus
CN107943921A (en) * 2017-11-21 2018-04-20 腾讯数码(天津)有限公司 Page sharing information generation method, device, computer equipment and storage medium
CN108737133A (en) * 2017-04-14 2018-11-02 艺龙网信息技术(北京)有限公司 Method and device for CDN static network reparations
CN109284472A (en) * 2018-11-15 2019-01-29 福建省华渔教育科技有限公司 Front end webpage loading method, storage medium based on webpack
CN109474668A (en) * 2018-10-16 2019-03-15 平安科技(深圳)有限公司 CDN service switching method, device, computer equipment and storage medium
CN109670131A (en) * 2018-12-18 2019-04-23 网宿科技股份有限公司 The processing of Resource Description File, the acquisition methods of page resource and intermediate server
CN109714406A (en) * 2018-12-18 2019-05-03 网宿科技股份有限公司 The processing of Resource Description File, the acquisition methods of page resource and equipment
CN109726339A (en) * 2018-12-19 2019-05-07 西安四叶草信息技术有限公司 Resource request method and equipment
CN109857649A (en) * 2019-01-14 2019-06-07 珠海金山网络游戏科技有限公司 A kind of resource testing method and system
CN111314437A (en) * 2020-01-20 2020-06-19 腾讯科技(深圳)有限公司 Resource package downloading method and device, storage medium and electronic device
CN111737617A (en) * 2020-06-15 2020-10-02 北京达佳互联信息技术有限公司 Page resource loading method and device, electronic equipment and storage medium
CN112685097A (en) * 2020-12-28 2021-04-20 北京达佳互联信息技术有限公司 Data processing method and device
CN114553961A (en) * 2022-01-06 2022-05-27 厦门游动网络科技有限公司 Method, system, device and medium for automatically refreshing global CDN

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546774A (en) * 2011-12-27 2012-07-04 厦门市美亚柏科信息股份有限公司 CDN (content distribution network) routing method for secondary redirection and system
CN102868935A (en) * 2012-08-24 2013-01-09 乐视网信息技术(北京)股份有限公司 Scheduling method for responding multiple sources in content distribution network (CDN)
CN103051976A (en) * 2013-01-22 2013-04-17 中兴通讯股份有限公司 Method, system and equipment for distributing HLS (HyperText Transfer Protocol Living Steaming) content by CDN (Content Distribute Network)
CN103248707A (en) * 2013-05-22 2013-08-14 北京奇虎科技有限公司 File access method, system and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546774A (en) * 2011-12-27 2012-07-04 厦门市美亚柏科信息股份有限公司 CDN (content distribution network) routing method for secondary redirection and system
CN102868935A (en) * 2012-08-24 2013-01-09 乐视网信息技术(北京)股份有限公司 Scheduling method for responding multiple sources in content distribution network (CDN)
CN103051976A (en) * 2013-01-22 2013-04-17 中兴通讯股份有限公司 Method, system and equipment for distributing HLS (HyperText Transfer Protocol Living Steaming) content by CDN (Content Distribute Network)
CN103248707A (en) * 2013-05-22 2013-08-14 北京奇虎科技有限公司 File access method, system and equipment

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407339A (en) * 2016-09-05 2017-02-15 用友优普信息技术有限公司 Hyper text markup language (HTML) file distributed releasing method and HTML file distributed releasing apparatus
CN106331160A (en) * 2016-09-28 2017-01-11 乐视控股(北京)有限公司 Data migration method and system
CN108737133A (en) * 2017-04-14 2018-11-02 艺龙网信息技术(北京)有限公司 Method and device for CDN static network reparations
CN107943921A (en) * 2017-11-21 2018-04-20 腾讯数码(天津)有限公司 Page sharing information generation method, device, computer equipment and storage medium
CN107943921B (en) * 2017-11-21 2024-01-05 腾讯数码(天津)有限公司 Page sharing information generation method and device, computer equipment and storage medium
CN109474668B (en) * 2018-10-16 2022-03-04 平安科技(深圳)有限公司 CDN service switching method and device, computer equipment and storage medium
CN109474668A (en) * 2018-10-16 2019-03-15 平安科技(深圳)有限公司 CDN service switching method, device, computer equipment and storage medium
CN109284472B (en) * 2018-11-15 2022-06-07 福建省华渔教育科技有限公司 Front-end webpage loading method and storage medium based on webpack
CN109284472A (en) * 2018-11-15 2019-01-29 福建省华渔教育科技有限公司 Front end webpage loading method, storage medium based on webpack
CN109714406A (en) * 2018-12-18 2019-05-03 网宿科技股份有限公司 The processing of Resource Description File, the acquisition methods of page resource and equipment
CN109670131A (en) * 2018-12-18 2019-04-23 网宿科技股份有限公司 The processing of Resource Description File, the acquisition methods of page resource and intermediate server
US12013815B2 (en) 2018-12-18 2024-06-18 Wangsu Science & Technology Co., Ltd. Method for processing resource description file, page resource acquisition method, and intermediate server
CN109726339A (en) * 2018-12-19 2019-05-07 西安四叶草信息技术有限公司 Resource request method and equipment
CN109857649A (en) * 2019-01-14 2019-06-07 珠海金山网络游戏科技有限公司 A kind of resource testing method and system
CN111314437A (en) * 2020-01-20 2020-06-19 腾讯科技(深圳)有限公司 Resource package downloading method and device, storage medium and electronic device
CN111737617A (en) * 2020-06-15 2020-10-02 北京达佳互联信息技术有限公司 Page resource loading method and device, electronic equipment and storage medium
CN111737617B (en) * 2020-06-15 2024-05-07 北京达佳互联信息技术有限公司 Page resource loading method and device, electronic equipment and storage medium
CN112685097A (en) * 2020-12-28 2021-04-20 北京达佳互联信息技术有限公司 Data processing method and device
CN112685097B (en) * 2020-12-28 2024-04-16 北京达佳互联信息技术有限公司 Data processing method and device
CN114553961A (en) * 2022-01-06 2022-05-27 厦门游动网络科技有限公司 Method, system, device and medium for automatically refreshing global CDN

Also Published As

Publication number Publication date
CN104426925B (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN104426925A (en) Webpage resource obtaining method and apparatus
US9411782B2 (en) Real time web development testing and reporting system
CN104133828B (en) Drag and drop clipbook for html document
CN106202547B (en) Site management method and device and website system
CN106575298A (en) Fast rendering of websites containing dynamic content and stale content
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN105956136B (en) Method and device for acquiring login information
CN103678487A (en) Method and device for generating web page snapshot
CN104115142A (en) Device specific folders for bookmarks synchronization
CN110968314B (en) Page generation method and device
CN114564922A (en) Document editing method and device, computer equipment and storage medium
CN108470054A (en) A kind of data access method and system
WO2014091257A2 (en) Web page variation
CN104731817A (en) Webpage display method and device
CN104572816A (en) Information processing method and electronic equipment
US10223415B2 (en) Generation of mapping definitions for content management system
CN104166665B (en) Information processor and its control method
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN107368558B (en) Data object returning method and device
CN107656935B (en) Webpage display method and device
US11438402B2 (en) Systems and methods for providing a web application to a computing device
CN116955861A (en) Page generation method and device and front-end fusion system
CN104735130B (en) A kind of method and apparatus that multimedia file is downloaded
CN113591000A (en) Browser engine switching method, device and equipment
CN105224571A (en) Terminal uploaded data processing method and device and data uploading processing method and device

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