CN101325499A - Method, system and equipment for distributing static data - Google Patents
Method, system and equipment for distributing static data Download PDFInfo
- Publication number
- CN101325499A CN101325499A CNA2007101109389A CN200710110938A CN101325499A CN 101325499 A CN101325499 A CN 101325499A CN A2007101109389 A CNA2007101109389 A CN A2007101109389A CN 200710110938 A CN200710110938 A CN 200710110938A CN 101325499 A CN101325499 A CN 101325499A
- Authority
- CN
- China
- Prior art keywords
- user terminal
- static data
- branch node
- node
- address
- 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
Links
- 230000003068 static effect Effects 0.000 title claims abstract description 124
- 238000000034 method Methods 0.000 title claims abstract description 14
- 230000015556 catabolic process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007773 growth pattern Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000012141 concentrate Substances 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000012010 growth Effects 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a static data distribution method, including: firstly the master node receives static data requests from user terminals; and then, the master node transmits the address of the branch node nearest to the user terminal to the user terminal; finally the user terminal acquires static data from the branch node. The invention also provides a static data distribution system and apparatus, thereby reducing the fault incidence rate of user terminal accessing website and improving the hit rate of the user terminal accessing website.
Description
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of distribution method, system and equipment of static data.
Background technology
Along with the fast development of the Internet, the quantity of Internet user's terminal grows with each passing day, and the flow of user terminal access website is sharp increase thereupon also.Traditional directly provides information service mode not satisfy the fast-developing needs of the Internet by the website host node, because the flow of user terminal access website mainly concentrates on the host node, make the bandwidth of website host node bottleneck occur, the increase of flow also can cause the storage load of host node excessive, brings immense pressure for the storage of host node.Prior art also can't fundamentally address the above problem by outlet bandwidth that increases host node and the memory function of upgrading host node.In addition, because the bandwidth bottleneck and the load of above-mentioned host node are excessive, under the excessive situation of website host node flow, can cause the hit rate of rate of breakdown rising and user terminal access website to descend.
Summary of the invention
The invention provides a kind of distribution method, system and equipment of static data, to solve the defective that hit rate is lower, rate of breakdown is higher of user terminal access website in the prior art.
For reaching above-mentioned purpose, the embodiment of the invention provides a kind of distribution method of static data, comprising:
Host node receives the static data request that user terminal sends;
Described host node will send to described user terminal with the nearest branch node address of described user terminal;
Described user terminal obtains static data from described branch node.
Wherein, described host node receives before the static data request of user terminal transmission, also comprises:
Described user terminal sends the static data request to local domain name server;
Described local domain name server is forwarded to described static data request the name server of described host node.
Wherein, described host node will send to user terminal with the nearest branch node address of user terminal, comprise:
The name server of described host node is redirected to described static data request the GSLB GSLB server of described host node;
Described GSLB whois lookup and the nearest branch node of described user terminal;
Described GSLB server sends to described user terminal with described branch node address.
Wherein, described user terminal obtains static data from branch node, specifically comprises:
Described user terminal sends the static data request according to described branch node address to described branch node;
Described branch node sends to described user terminal with described static data.
Wherein, described branch node sends to user terminal with static data, specifically comprises:
Judge the static data that whether stores user terminal requests in the described branch node;
If store the static data of described user terminal requests in the described branch node, then described branch node directly sends to described user terminal with described static data;
If do not store the static data of described user terminal requests in the described branch node, then described branch node obtains described static data and storage from host node, then described static data is sent to described user terminal.
The embodiment of the invention also provides a kind of dissemination system of static data, comprising: user terminal, host node and branch node,
Described user terminal is used for sending the static data request to described host node;
Described host node is used for and will sends to described user terminal with the nearest branch node address of described user terminal;
Described branch node connects described user terminal and described host node, is used for described static data is sent to described user terminal.
Wherein, described host node comprises address search unit and address transmitting element,
Described address search unit is used to search the branch node address nearest with described user terminal;
Described address transmitting element is used for described branch node address is sent to described user terminal.
Wherein, described branch node comprises: judging unit and static data acquiring unit,
Described judging unit is used for judging whether described branch node stores the static data of user terminal requests;
Described static data acquiring unit when being used for not having the static data of user terminal requests on the described branch node, obtains described static data from described host node.
The embodiment of the invention also provides a kind of host node, comprising: address search unit and address transmitting element,
Described address search unit is used to search the branch node address nearest with described user terminal;
Described address transmitting element is used for described branch node address is sent to described user terminal.
The embodiment of the invention also provides a kind of branch node, comprising: judging unit and static data acquiring unit,
Described judging unit is used for judging whether described branch node stores the static data of user terminal requests;
Described static data acquiring unit when being used for not having the static data of user terminal requests on the described branch node, obtains described static data from described host node.
Compared with prior art, the rate of breakdown the when embodiment of the invention has reduced the user terminal access website, and improved the hit rate of user terminal access website.
Description of drawings
Fig. 1 is the distribution method flow chart of a kind of static data of the embodiment of the invention;
Fig. 2 is the schematic diagram of the embodiment of the invention one;
Fig. 3 is the dissemination system structural representation of a kind of static data of the embodiment of the invention;
Fig. 4 is the effect schematic diagram of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the embodiment of the invention is further elaborated.
Embodiments of the invention store the static data in the host node of website into each branch node, and the GSLB server by host node, with user terminal to the flowing of access of host node be distributed to the nearest branch node of user terminal on, make user terminal directly obtain static data from nearest branch node, improved the speed that user terminal obtains static data, and the flowing of access to host node is shunted, alleviated the work of treatment amount of host node, thereby the rate of breakdown when having reduced the user terminal access website has improved the hit rate of user terminal access website.
As shown in Figure 1, Fig. 1 is the distribution method flow chart of a kind of static data of the embodiment of the invention, and this method may further comprise the steps:
Step S101, host node receives the static data request that user terminal sends.
User terminal need send the static data request to the host node of this website if certain website of visit obtains static data information from this website.This static data comprises time-independent data such as static page, picture, Voice ﹠ Video.User terminal sends the static data request to its local dns (Domain Name Server, name server) server, and then, local dns server is forwarded to this static data request on the dns server of website host node.
Step S102, this host node will send to this user terminal with the nearest branch node address of user terminal.
After the dns server of host node receives the static data request, this static data request is redirected to GSLB (Global Server Load Balancing, the GSLB server) server of host node.Then, the GSLB server is according to the address of user terminal, search branch node nearest in each branch node with this user terminal, to send to the dns server of user terminal with the nearest branch node address of user terminal, this dns server returns to user terminal with above-mentioned branch node address again.
Step S103, user terminal obtains static data from this branch node.User terminal directly obtains above-mentioned static data from this branch node according to the branch node address that receives, and comprises static page, picture, Voice ﹠ Video etc.User terminal directly sends the static data request to this branch node, if the static data that exists user terminal to ask on this branch node, then this branch node sends to this user terminal with the static data of user terminal requests.
But in actual applications, each branch node often only stores the part static data in the host node, for the consideration of saving cost and improving resource utilization, each branch node only should the zone in the user terminal static data of often visiting be stored in the branch node.Therefore, the static data of user terminal requests can appear, non-existent situation in branch node.Consider this kind situation, after branch node receives the static data request of user terminal transmission, at first judge the static data that whether stores user terminal requests in this branch node, if store the static data of user terminal requests in this branch node, then this branch node directly sends to user terminal with this static data; If do not store the static data of user terminal requests in this branch node, then this branch node obtains the static data and the storage of user terminal requests from host node, then this static data is sent to user terminal, and do not need user terminal can obtain the static data of needs again to the request of host node transmission static data.And, after branch node is stored this static data,, then can directly obtain this static data, thereby improve the speed that user terminal obtains data from this branch node if user terminal sends the request of this static data again to branch node.
Below in conjunction with schematic diagram shown in Figure 2, the embodiment of the invention described above is further elaborated.As shown in Figure 2, host node and branch node 1, branch node 2, branch node 3 have constituted a CDN (Content Delivery Network, content distributing network) jointly.
User terminal sends the request of visit image.taobao.com by the browser access website, and request obtains the IP address of image.taobao.com, and this request is by on the local dns server that user terminal is sent to this user terminal links to each other.
Local dns server is forwarded to this request on the dns server of image.taobao.com website host node again, because this website host node is by the GSLB server visit of user terminal to be dispatched, so the dns server of host node is redirected to this request on the GSLB server of host node.
The GSLB server of host node is by default operation rule, and according to the IP address of user terminal and the IP address of each branch node, calculate the branch node nearest with this user terminal, the IP address of this branch node that will calculate sends to the dns server that links to each other with user terminal then, is transmitted to user terminal by dns server again; Suppose that CDN comprises host node and branch node 1, branch node 2, branch node 3, the GSLB server of host node by default operation rule calculate with the nearest branch node of this user terminal be branch node 3, then the GSLB server sends to the dns server that user terminal links to each other with the IP address of branch node 3, is transmitted to user terminal by dns server again.
After user terminal receives the IP address of branch node 3, directly send the picture request to this branch node 3, if there is the pictorial information of user terminal needs in the branch node 3, then directly this pictorial information is sent to user terminal, if there is not the pictorial information of user terminal needs in the branch node 3, then branch node 3 obtains this pictorial information and storage from host node, then this pictorial information is sent to user terminal.And, after branch node 3 is stored this pictorial information,, then can directly get access to this pictorial information, thereby improve the speed that user terminal obtains pictorial information from branch node 3 if user terminal sends the request of these pictorial informations again to branch node 3.
The embodiment of the invention described above, user terminal is diverted to each branch node to the central access of host node, make user terminal obtain static data, alleviated the storage pressure of host node, also improved the user terminal access website and obtained the speed of static data from nearby branch node; Flowing of access to host node is shunted, and has alleviated the work of treatment amount of host node, thereby the rate of breakdown when having reduced the user terminal access website has improved the hit rate of user terminal access website.
In addition, embodiments of the invention also can be according to the growth pattern of user terminal access website traffic the quantity of corresponding expansion branch node, in for example embodiment illustrated in fig. 2, because the rapid increase of user terminal access flow, only branch node 1, branch node 2 and branch node 3 can not satisfy the visit needs of user terminal again among the feasible existing CDN, therefore can be according to the flowing of access growth pattern of user terminal, suitably increase the quantity of branch node among the CDN, thereby make CDN have stronger extensibility, can tackle the needs of user terminal access traffic growth.
In addition, embodiments of the invention also have stronger flexibility, and the host node of CDN can be controlled the flow of each branch node according to actual conditions.It still is example with embodiment illustrated in fig. 2, if because branch node 3 is upgraded or is broken down and temporarily can't provide service for user terminal, then host node can be dispatched by the GSLB server, with the assignment of traffic of branch node 3 to other branch nodes, thereby guarantee user terminal under impregnable situation, normal access websites.
The embodiment of the invention also provides a kind of dissemination system of static data, as shown in Figure 3, comprising: user terminal 100, host node 200 and branch node 300.
Wherein, user terminal 100 is used for sending the static data request to host node 200.User terminal 100 sends the static data request to coupled local domain name server, by local domain name server this static data request is forwarded to the name server of host node 200 then.
Fig. 4 is the effect schematic diagram of the embodiment of the invention.As shown in Figure 4, the flow of 100% expression user terminal access branch node A, the GSLB server is dispatched flow, the bandwidth gain of supposing front-end server is 80%, when also being user terminal access branch node A, hit rate to front-end server is 80%, then there is 80% user terminal access flow to handle by front-end server, 20% flow can't be handled by front-end server, this remaining 20% flow is then handled by back-end server, the bandwidth gain of supposing back-end server is 50%, when also being user terminal access branch node A, hit rate to back-end server is 50%, and then also remaining about 10% flow is that back-end server can't be handled, and this remaining about 10% flow is then finally handled by host node.Can find out that thus embodiments of the invention greatly reduce the treating capacity of host node by the user terminal access flow is shunted, the rate of breakdown when having reduced the user terminal access website has also improved the hit rate of user terminal access website.
In sum, the embodiment of the invention is diverted to each branch node with user terminal to the central access of host node, make user terminal obtain static data, alleviated the storage pressure of host node, also improved the user terminal access website and obtained the speed of static data from nearby branch node; Flowing of access to host node is shunted, and has alleviated the work of treatment amount of host node, and the rate of breakdown when having reduced the user terminal access website has improved the hit rate of user terminal access website.In addition, embodiments of the invention also have stronger flexibility and extensibility.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle 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 (10)
1, a kind of distribution method of static data is characterized in that, comprising:
Host node receives the static data request that user terminal sends;
Described host node will send to described user terminal with the nearest branch node address of described user terminal;
Described user terminal obtains static data from described branch node.
2, the distribution method of static data according to claim 1 is characterized in that, described host node receives before the static data request that user terminal sends, and also comprises:
Described user terminal sends the static data request to local domain name server;
Described local domain name server is forwarded to described static data request the name server of described host node.
3, the distribution method of static data according to claim 1 is characterized in that, described host node will send to user terminal with the nearest branch node address of user terminal, comprise:
The name server of described host node is redirected to described static data request the GSLB GSLB server of described host node;
Described GSLB whois lookup and the nearest branch node of described user terminal;
Described GSLB server sends to described user terminal with described branch node address.
4, the distribution method of static data according to claim 1 is characterized in that described user terminal obtains static data from branch node, specifically comprises:
Described user terminal sends the static data request according to described branch node address to described branch node;
Described branch node sends to described user terminal with described static data.
5, as the distribution method of static data as described in the claim 4, it is characterized in that described branch node sends to user terminal with static data, specifically comprises:
Judge the static data that whether stores user terminal requests in the described branch node;
If store the static data of described user terminal requests in the described branch node, then described branch node directly sends to described user terminal with described static data;
If do not store the static data of described user terminal requests in the described branch node, then described branch node obtains described static data and storage from host node, then described static data is sent to described user terminal.
6, a kind of dissemination system of static data is characterized in that, comprising: user terminal, host node and branch node,
Described user terminal is used for sending the static data request to described host node;
Described host node is used for and will sends to described user terminal with the nearest branch node address of described user terminal;
Described branch node connects described user terminal and described host node, is used for described static data is sent to described user terminal.
7, as static data dissemination system as described in the claim 6, it is characterized in that described host node comprises: address search unit and address transmitting element,
Described address search unit is used to search the branch node address nearest with described user terminal;
Described address transmitting element is used for described branch node address is sent to described user terminal.
8, as static data dissemination system as described in the claim 6, it is characterized in that described branch node comprises: judging unit and static data acquiring unit,
Described judging unit is used for judging whether described branch node stores the static data of user terminal requests;
Described static data acquiring unit when being used for not having the static data of user terminal requests on the described branch node, obtains described static data from described host node.
9, a kind of host node is characterized in that, comprising: address search unit and address transmitting element,
Described address search unit is used to search the branch node address nearest with described user terminal;
Described address transmitting element is used for described branch node address is sent to described user terminal.
10, a kind of branch node is characterized in that, comprising: judging unit and static data acquiring unit,
Described judging unit is used for judging whether described branch node stores the static data of user terminal requests;
Described static data acquiring unit when being used for not having the static data of user terminal requests on the described branch node, obtains described static data from described host node.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2007101109389A CN101325499B (en) | 2007-06-11 | 2007-06-11 | Method, system and equipment for distributing static data |
| HK09102573.2A HK1122432B (en) | 2009-03-18 | Method, system and device for distributing static data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2007101109389A CN101325499B (en) | 2007-06-11 | 2007-06-11 | Method, system and equipment for distributing static data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101325499A true CN101325499A (en) | 2008-12-17 |
| CN101325499B CN101325499B (en) | 2013-02-13 |
Family
ID=40188847
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2007101109389A Active CN101325499B (en) | 2007-06-11 | 2007-06-11 | Method, system and equipment for distributing static data |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101325499B (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2487500C2 (en) * | 2008-12-25 | 2013-07-10 | Зти Корпорейшн | Method and apparatus for achieving compatibility between wcdma system and gsm system |
| CN103281398A (en) * | 2013-06-14 | 2013-09-04 | 清华大学 | Data center network ubiquitous caching method |
| CN104092682A (en) * | 2014-07-04 | 2014-10-08 | 深圳深讯和科技有限公司 | Data interaction method and system |
| CN106254550A (en) * | 2016-09-30 | 2016-12-21 | 杭州索浪信息技术有限公司 | A kind of method and system of content distribution |
| CN106899621A (en) * | 2015-12-17 | 2017-06-27 | 中国联合网络通信集团有限公司 | A scheduling system and method |
| CN107071049A (en) * | 2017-05-15 | 2017-08-18 | 复旦大学无锡研究院 | A kind of food security information method of servicing based on Internet of Things |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1324546A1 (en) * | 2001-12-28 | 2003-07-02 | Motorola, Inc. | Dynamic content delivery method and network |
| JP4613627B2 (en) * | 2005-02-08 | 2011-01-19 | 株式会社日立製作所 | Content distribution system |
| CN1941736A (en) * | 2005-09-30 | 2007-04-04 | 西门子通信技术(北京)有限公司 | Content distributing system and method for re-directing user request |
-
2007
- 2007-06-11 CN CN2007101109389A patent/CN101325499B/en active Active
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2487500C2 (en) * | 2008-12-25 | 2013-07-10 | Зти Корпорейшн | Method and apparatus for achieving compatibility between wcdma system and gsm system |
| US8842654B2 (en) | 2008-12-25 | 2014-09-23 | Zte Corporation | Method and apparatus for realizing compatibility between a WCDMA system and a GSM system |
| CN103281398A (en) * | 2013-06-14 | 2013-09-04 | 清华大学 | Data center network ubiquitous caching method |
| CN103281398B (en) * | 2013-06-14 | 2017-04-12 | 清华大学 | Data center network ubiquitous caching method |
| CN104092682A (en) * | 2014-07-04 | 2014-10-08 | 深圳深讯和科技有限公司 | Data interaction method and system |
| CN106899621A (en) * | 2015-12-17 | 2017-06-27 | 中国联合网络通信集团有限公司 | A scheduling system and method |
| CN106899621B (en) * | 2015-12-17 | 2019-06-14 | 中国联合网络通信集团有限公司 | A scheduling system and method |
| CN106254550A (en) * | 2016-09-30 | 2016-12-21 | 杭州索浪信息技术有限公司 | A kind of method and system of content distribution |
| CN107071049A (en) * | 2017-05-15 | 2017-08-18 | 复旦大学无锡研究院 | A kind of food security information method of servicing based on Internet of Things |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101325499B (en) | 2013-02-13 |
| HK1122432A1 (en) | 2009-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12028427B2 (en) | Content delivery systems and methods | |
| US11194719B2 (en) | Cache optimization | |
| US20210021692A1 (en) | Translation of resource identifiers using popularity information upon client request | |
| US10264062B2 (en) | Request routing using a popularity identifier to identify a cache component | |
| KR100757765B1 (en) | Distributed Cache for Wireless Communication Systems | |
| US11218437B2 (en) | Method for network traffic forwarding, request sending, and communication acceleration, forwarding server and node server | |
| CN102780711B (en) | A kind of SNS application data access method and device thereof and system | |
| CN101325499B (en) | Method, system and equipment for distributing static data | |
| WO2017097092A1 (en) | Method and system for processing cache cluster service | |
| CN102497402B (en) | Content injection method and system thereof, and content delivery method and system thereof | |
| CN117319500A (en) | Content providing method and device | |
| US20160373550A1 (en) | Server and method for providing content to users | |
| KR20150039986A (en) | Method for controlling contents delivery and apparatus therefor | |
| HK1122432B (en) | Method, system and device for distributing static data | |
| HK1243199B (en) | Content delivery systems and methods |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1122432 Country of ref document: HK |
|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |