CN102932358B - Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device - Google Patents

Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device Download PDF

Info

Publication number
CN102932358B
CN102932358B CN201210442315.2A CN201210442315A CN102932358B CN 102932358 B CN102932358 B CN 102932358B CN 201210442315 A CN201210442315 A CN 201210442315A CN 102932358 B CN102932358 B CN 102932358B
Authority
CN
China
Prior art keywords
file
party
content
node
rewritten
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.)
Active
Application number
CN201210442315.2A
Other languages
Chinese (zh)
Other versions
CN102932358A (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201210442315.2A priority Critical patent/CN102932358B/en
Publication of CN102932358A publication Critical patent/CN102932358A/en
Application granted granted Critical
Publication of CN102932358B publication Critical patent/CN102932358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The third party's file that the invention discloses content-based distributing network rewrites acceleration distribution method and device, accelerates the response speed of third party's file, improves access speed and Consumer's Experience.Its technical scheme is: method comprises: receive user to the maiden visit of website, and the node of trigger content distributing network goes back to source and captures content; Third party's file and third party's file whether is had the need of rewriting during judgement accesses content; For the third party's file needing to rewrite, rewritten according to the rule preset by node, the rule preset is the basis that source file is rewritten into the discernible acceleration file of node, and has the ability being reduced to source file; Store by node third party's file of having rewritten and generate log; Node by third party's file distributing of having rewritten to user.

Description

Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device
Technical field
The present invention relates to file Improvement, particularly relate to the acceleration distribution method that the third party's file on content distributing network is rewritten.
Background technology
Along with the development of the Internet, user payes attention to the surfing of website and effect further when using network, but due to the surge of netizen's quantity, network access path is long, thus the access quality of user is had a strong impact on.The appearance of CDN, by the creation and optimization of technology, solves traditional user and accesses Problems existing, accelerates the speed of user's access and improves the experience of user to the Internet.Through development for many years, current CDN field technology is progressively full-fledged, accept by increasing enterprise web site client and approve.
Traditional user's access and CDN processing procedure be as shown in Figure 1:
User passes through the domain name access enterprise web site of enterprise, hereinafter referred to as enterprise source station.User's maiden visit, by parsing and the sensing of CDN, user points to from the nearest CDN node of user by CDN, and provide access to accelerate service, CDN node is gone back to source and captured content and feed back to user.
User continues access after obtaining content.When there is no third party's file in enterprise's source station content that user accesses, then pass through the direct response request of cache contents by node.When in enterprise's source station file that user accesses containing third party's file, then synchronously provided by CDN node and captured by user, namely user accesses directly to enterprise source station or third party source station and obtains content.As third party's file of capturing need to produce follow-up access, then feed back corresponding information to user after the access mode provided by file is conducted interviews directly to target source station.
There is following drawback in existing contents distribution implementation:
1. third party's file accelerates in content, so without acceleration effect because be not comprised in contract;
2. the content that third party comprises can only carry out data acquisition directly to enterprise source station or third party source station, and route time and transmission speed cannot effectively be ensured;
3. the acquisition speed of pair third party's file content directly has influence on access speed and the Consumer's Experience of user's entirety.
Summary of the invention
The object of the present invention is to provide a kind of third party's file of content-based distributing network to rewrite and accelerated distribution method and device, accelerated the response speed of third party's file, improve access speed and Consumer's Experience.
Technical scheme of the present invention is: acceleration distribution method rewritten by the third party's file that present invention is disclosed a kind of content-based distributing network, comprising:
Receive user to the maiden visit of website, the node of trigger content distributing network goes back to source and captures content;
Third party's file and third party's file whether is had the need of rewriting during judgement accesses content;
For the third party's file needing to rewrite, rewritten according to the rule preset by node, the rule preset is the basis that source file is rewritten into the discernible acceleration file of node, and has the ability being reduced to source file;
Store by node third party's file of having rewritten and generate log;
Node by third party's file distributing of having rewritten to user.
The embodiment accelerating distribution method rewritten by third party's file according to content-based distributing network of the present invention, judging that third party's file is the need of in the step of rewriting, and comprises further:
Whether third party's file produces back the request of third party source when using for the first time, if any, then rewrite file; As nothing, then directly to be responded by node.
The embodiment accelerating distribution method rewritten by third party's file according to content-based distributing network of the present invention, if do not have third party's file in accessing content, then node captures content and responds user's request.
The embodiment accelerating distribution method rewritten by third party's file according to content-based distributing network of the present invention, if the third party's file in accessing content does not need to rewrite, then the content got directly responded user's request.
The embodiment accelerating distribution method rewritten by third party's file according to content-based distributing network of the present invention, and the method also comprises the flow process that Hui Yuan rewritten by third party's file, comprising:
When user asks to produce back source action, judge required content whether as third party's file, if not third party's file then directly feeds back corresponding request content by node;
If third party's file then rewrites record by querying node, reverse rewriting reduction file content also carries out solicit operation to authentic document source;
Node returns the content that source captures third party's file of asking;
Node is distributed to user after the content that the source of returning obtains again being rewritten according to preset rules, completes response.
Acceleration dispensing device rewritten by the third party's file that present invention further teaches a kind of content-based distributing network, comprising:
Return source module, receive user to the maiden visit of website, the node of trigger content distributing network goes back to source and captures content;
Whether determination module, have third party's file and third party's file the need of rewriting during judgement accesses content;
Rewrite module, for the third party's file needing to rewrite, rewritten according to the rule preset by node, the rule preset is the basis that source file is rewritten into the discernible acceleration file of node, and has the ability being reduced to source file;
Memory module, stores by node third party's file of having rewritten and generates log;
Distribution module, node by third party's file distributing of having rewritten to user.
The embodiment accelerating dispensing device rewritten by third party's file according to content-based distributing network of the present invention, in determination module, whether produces back the request of third party source when third party's file uses for the first time, if any, then rewrite file; As nothing, then directly to be responded by node.
The embodiment accelerating dispensing device rewritten by third party's file according to content-based distributing network of the present invention, if do not have third party's file in accessing content, then node captures content and responds user's request.
The embodiment accelerating dispensing device rewritten by third party's file according to content-based distributing network of the present invention, if the third party's file in accessing content does not need to rewrite, then the content got directly responded user's request.
The embodiment accelerating dispensing device rewritten by third party's file according to content-based distributing network of the present invention, and this device also comprises the device that Hui Yuan rewritten by third party's file, comprising:
Third party's file determination module, when user asks to produce back source action, judges required content whether as third party's file, if not third party's file then directly feeds back corresponding request content by node;
Reverse recovery module, if third party's file then rewrites record by querying node, reverse rewriting reduction file content also carries out solicit operation to authentic document source;
Return source request module, node returns the content that source captures third party's file of asking;
Rewrite distribution module, node is distributed to user after the content that the source of returning obtains again being rewritten according to preset rules, completes response.
The present invention contrasts prior art following beneficial effect: the solution of the present invention is when from the nearest CDN(content distributing network of user) node is when grabbing third party's file from client source, again content feed is given the user of request after file being rewritten by predefined rewriting rule immediately, as third party's file of accessing need go back to client source or go back to third party source time, by the file rewritten, directly can carry out back source response by node, accelerate the response speed of third party's file.Compared to prior art, there is following advantage in the present invention:
When 1, not comprising third party's file in source station, rewritten third party's file by node, to make it obtain the acceleration effect be equal to other content, the existence of file rewriting rule does not produce any impact to source station or user.
2, revised third party's file can accelerate through node, avoids the impact of network congestion, solves the problem of route time and transmission speed; Namely, when source station resource file contains third party's file, accelerating node will carry out buffer memory and response user request by rewriting the 3rd file.
3, when user carries out new request by third party's file, the access of the bootable user of revised file content by source station content needed for node visit, but not directly returns source access, accelerates access speed and improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 shows the flow chart of existing third party's document distribution method.
Fig. 2 shows the flow chart of the embodiment of third party's file rewriting acceleration distribution method of content-based distributing network of the present invention.
The flow chart of source side method rewritten back by third party's file that Fig. 3 shows content-based distributing network of the present invention.
Fig. 4 shows the schematic diagram of the embodiment of third party's file rewriting acceleration dispensing device of content-based distributing network of the present invention.
The schematic diagram of source apparatus rewritten back by third party's file that Fig. 5 shows content-based distributing network of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
The flow process of embodiment accelerating distribution method rewritten by third party's file that Fig. 2 shows content-based distributing network of the present invention, that is accelerates the process that differentiation that node performs needs the third party's file rewritten during the first time access of accelerated file.Refer to Fig. 2, here is the detailed description of each step of third party's file being rewritten to the embodiment accelerating distribution method
Step S10: receive user to the maiden visit of website, node goes back to source and captures content.
Normally respond user by the CDN node nearest from user to ask.
Step S11: whether have third party's file during judgement accesses content.If had, enter step S12, otherwise enter step S16.
Step S12: judge that third party's file is the need of rewriting.If desired rewrite, enter step S13, otherwise enter step S17.
Judge that third party's file the need of the principle of rewriting is: when third party's file uses for the first time, whether produce back the request of third party source, if any, then rewrite file; As nothing, then directly to be responded by node.
Step S13: node reads rewriting rule and rewrites third party's file.
Rewriting rule is the basis that source file is rewritten into the discernible acceleration file of node, and has reducibility, can be reduced to source file.
Step S14: store by node third party's file of having rewritten and generate daily record, to recall.
Step S15: by node by third party's file distributing of having rewritten to user.
Step S16: node captures content and responds user's request.
Step S17: the content got directly is responded user's request.
The flow process of source side method rewritten back by third party's file that Fig. 3 shows content-based distributing network of the present invention, that is the response process returned in source procedure when having third party's file to return source request of user, and here is the detailed description to each step of rewriting back source side method.
Step S20: user's request needs Hui Yuan.
Step S21: judge required content whether as third party's file, if third party's file then proceeds to step S22, if not third party's file then enters step S25 by node.
Step S22: rewrite record by node searching and reverse rewriting reduction file content, carry out solicit operation to authentic document source.
Step S23: node returns the content that source captures third party's file of asking.
Step S24: node is distributed to user after the content that the source of returning obtains again being rewritten according to preset rules, completes response.
Step S25: node goes back to source and captures content and respond user's request.
Fig. 4 shows the principle of the embodiment of third party's file rewriting acceleration dispensing device of content-based distributing network of the present invention.Refer to Fig. 4, the device of the present embodiment comprises: return source module 10, determination module 11, rewrite module 12, memory module 13, distribution module 14.
Return source module 10 and receive the maiden visit of user to website, the node of content distributing network goes back to source and captures content.Third party's file and third party's file whether is had the need of rewriting during determination module 11 judgement accesses content, if there is no third party's file in accessing content, then node captures content and responds user's request, if the third party's file in accessing content does not need to rewrite, then the content got directly is responded user's request.Determination module 11 judges that third party's file the need of the principle of rewriting is: whether produce back the request of third party source when third party's file uses for the first time, if any, then rewrite file; As nothing, then directly to be responded by node.Rewrite module 12 for the third party's file needing to rewrite, rewritten according to the rule preset by node, the rule preset is the basis that source file is rewritten into the discernible acceleration file of node, and has the ability being reduced to source file.In memory module 13, store by node third party's file of having rewritten and generate log.In distribution module 14, node by third party's file distributing of having rewritten to user.
The principle of source apparatus rewritten back by third party's file that Fig. 5 shows content-based distributing network of the present invention.Refer to Fig. 5, the device of the present embodiment comprises: third party's file determination module 20, reverse recovery module 21, time source request module 22, rewriting distribution module 23.
In third party's file determination module 20, when user asks to produce back source action, judge required content whether as third party's file, if not third party's file then directly feeds back corresponding request content by node.
In reverse recovery module 21, if third party's file then rewrites record by querying node, reverse rewriting reduction file content also carries out solicit operation to authentic document source.
Return in source request module 22, node returns the content that source captures third party's file of asking.
Rewrite in distribution module 23, node is distributed to user after the content that the source of returning obtains again being rewritten according to preset rules, completes response.
Above-described embodiment is available to those of ordinary skill in the art to realize and uses of the present invention; those of ordinary skill in the art can be without departing from the present invention in the case of the inventive idea; various modifications or change are made to above-described embodiment; thus protection scope of the present invention not limit by above-described embodiment, and should be the maximum magnitude meeting the inventive features that claims are mentioned.

Claims (4)

1. third party's file of content-based distributing network is rewritten and is accelerated a distribution method, comprising:
Receive user to the maiden visit of website, the node of trigger content distributing network goes back to source and captures content;
Third party's file and third party's file whether is had the need of rewriting during judgement accesses content, if there is no third party's file in accessing content, then node captures content and responds user's request, if there is third party's file, judge whether third party's file produces back the request of third party source when using for the first time, if any then rewriting file, rewriting as do not needed without then third party's file, the content got directly being responded user's request;
For the third party's file needing to rewrite, rewritten according to the rule preset by node, the rule preset is the basis that source file is rewritten into the discernible acceleration file of node, and has the ability being reduced to source file;
Store by node third party's file of having rewritten and generate log;
Node by third party's file distributing of having rewritten to user.
2. third party's file of content-based distributing network according to claim 1 is rewritten and is accelerated distribution method, it is characterized in that, the method also comprises the flow process that Hui Yuan rewritten by third party's file, comprising:
When user asks to produce back source action, judge required content whether as third party's file, if not third party's file then directly feeds back corresponding request content by node;
If third party's file then rewrites record by querying node, reverse rewriting reduction file content also carries out solicit operation to authentic document source;
Node returns the content that source captures third party's file of asking;
Node is distributed to user after the content that the source of returning obtains again being rewritten according to preset rules, completes response.
3. third party's file of content-based distributing network is rewritten and is accelerated a dispensing device, comprising:
Return source module, receive user to the maiden visit of website, the node of trigger content distributing network goes back to source and captures content;
Determination module, third party's file and third party's file whether is had the need of rewriting during judgement accesses content, if there is no third party's file in accessing content, then node captures content and responds user's request, if there is third party's file, judge whether third party's file produces back the request of third party source when using for the first time, if any then rewriting file, rewriting as do not needed without then third party's file, the content got directly being responded user's request;
Rewrite module, for the third party's file needing to rewrite, rewritten according to the rule preset by node, the rule preset is the basis that source file is rewritten into the discernible acceleration file of node, and has the ability being reduced to source file;
Memory module, stores by node third party's file of having rewritten and generates log;
Distribution module, node by third party's file distributing of having rewritten to user.
4. third party's file of content-based distributing network according to claim 3 is rewritten and is accelerated dispensing device, it is characterized in that, this device also comprises the device that Hui Yuan rewritten by third party's file, comprising:
Third party's file determination module, when user asks to produce back source action, judges required content whether as third party's file, if not third party's file then directly feeds back corresponding request content by node;
Reverse recovery module, if third party's file then rewrites record by querying node, reverse rewriting reduction file content also carries out solicit operation to authentic document source;
Return source request module, node returns the content that source captures third party's file of asking;
Rewrite distribution module, node is distributed to user after the content that the source of returning obtains again being rewritten according to preset rules, completes response.
CN201210442315.2A 2012-11-07 2012-11-07 Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device Active CN102932358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210442315.2A CN102932358B (en) 2012-11-07 2012-11-07 Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210442315.2A CN102932358B (en) 2012-11-07 2012-11-07 Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device

Publications (2)

Publication Number Publication Date
CN102932358A CN102932358A (en) 2013-02-13
CN102932358B true CN102932358B (en) 2015-10-21

Family

ID=47647060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210442315.2A Active CN102932358B (en) 2012-11-07 2012-11-07 Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device

Country Status (1)

Country Link
CN (1) CN102932358B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794199B (en) * 2015-04-21 2018-11-09 百度在线网络技术(北京)有限公司 Capture the method and system of web data
CN106888171B (en) * 2015-12-15 2019-10-18 中国移动通信集团公司 A kind of processing method and processing device of data service
CN107241451B (en) * 2017-08-04 2019-07-16 网宿科技股份有限公司 Interference method, apparatus and system are distorted based on content distributing network
CN110392073B (en) * 2018-04-19 2022-02-18 贵州白山云科技股份有限公司 Scheduling method and device based on dynamic acceleration
CN108804514A (en) 2018-04-25 2018-11-13 网宿科技股份有限公司 A kind of webpage loading method, server and webpage loading system
CN109740073A (en) * 2018-11-26 2019-05-10 国云科技股份有限公司 A kind of picture real time processing system and method based on URL

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143211A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Media content processing method, equipment and system
CN102143184A (en) * 2011-03-31 2011-08-03 华为技术有限公司 Authentication method, authentication device and authentication system for realizing CND (content delivery network) intercommunication
CN102594921A (en) * 2012-03-22 2012-07-18 网宿科技股份有限公司 Synchronization file access method and system based on content distribution system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7890547B2 (en) * 2006-03-22 2011-02-15 Oy International Business Machines Ab Content delivery server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143211A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Media content processing method, equipment and system
CN102143184A (en) * 2011-03-31 2011-08-03 华为技术有限公司 Authentication method, authentication device and authentication system for realizing CND (content delivery network) intercommunication
CN102594921A (en) * 2012-03-22 2012-07-18 网宿科技股份有限公司 Synchronization file access method and system based on content distribution system

Also Published As

Publication number Publication date
CN102932358A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102932358B (en) Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device
CN102301682B (en) Method and system for network caching, domain name system redirection sub-system thereof
WO2016026384A1 (en) Client page display method, device and system
CN105446750B (en) The method and apparatus that WebApp starting runs, generates image file
CN104184832B (en) Data submission method and device in network application
CN106534243A (en) Caching, requesting and responding method based on HTTP protocol and corresponding device
CN102882974A (en) Method for saving website access resource by website identification version number
CN108156013A (en) A kind of Page Service disaster recovery method, device and electronic equipment
EP3528474B1 (en) Webpage advertisement anti-shielding methods and content distribution network
CN112131504B (en) Webpage editing and displaying method, device, equipment and storage medium
CN102737065A (en) Method and device for acquiring data
CN106817388B (en) Method and device for acquiring data by virtual machine and host machine and system for accessing data
CN104714965A (en) Static resource weight removing method, and static resource management method and device
EP3584669B1 (en) Webpage loading method, webpage loading system, and server
CN106528578A (en) An information display method and device
CN103825919A (en) Method, device and system for data resource caching
TW201727561A (en) Service component management method and system capable of carrying out the interaction between multiple service components thereby realizing a service in a particular scenario
CN104426838A (en) Internet cache scheduling method and system
CN107920018B (en) Method, server and system for realizing delayed push of data
CN105812833A (en) File processing method and device
CN104424325A (en) Data inquiry method and device
CN103440281A (en) Method, device and equipment for acquiring download file
CN103064888A (en) Information publish method and device
CN103020241A (en) Dynamic page cache method and system based on session
CN110943876A (en) URL state detection method, device, equipment and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant