CN103916415A - Reverse proxy system and method thereof - Google Patents

Reverse proxy system and method thereof Download PDF

Info

Publication number
CN103916415A
CN103916415A CN201210591971.9A CN201210591971A CN103916415A CN 103916415 A CN103916415 A CN 103916415A CN 201210591971 A CN201210591971 A CN 201210591971A CN 103916415 A CN103916415 A CN 103916415A
Authority
CN
China
Prior art keywords
archives
proxy
proxy server
solicited message
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210591971.9A
Other languages
Chinese (zh)
Inventor
骆建宇
林奕翔
王博荣
李宜叡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chunghwa Telecom Co Ltd
Original Assignee
Chunghwa Telecom 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 Chunghwa Telecom Co Ltd filed Critical Chunghwa Telecom Co Ltd
Priority to CN201210591971.9A priority Critical patent/CN103916415A/en
Publication of CN103916415A publication Critical patent/CN103916415A/en
Pending legal-status Critical Current

Links

Abstract

Disclosed are a reverse proxy system and a method thereof. The system includes a front guide device and a proxy server group. The front guide device receives request information and performs distribution forwarding through a mechanism. The proxy server group includes a plurality of proxy servers. The request information is forwarded to one proxy server in the plurality of proxy servers. Each proxy server includes a cache unit and a receiving unit, wherein after the receiving unit receives the request information, the storage position of a file requested by the request information is obtained through calculation so that the file is taken from the storage position and transmitted to a user device. Through a mechanism in which files stored by the cache units of the proxy servers can be shared by the receiving units of the proxy servers, the reverse proxy system and the method thereof are capable of preventing storing the same file repeatedly so that the caching hit rate is improved and also capable of deploying the proxy servers flexibly so that horizontal expansion is facilitated.

Description

Reverse proxy system and method thereof
Technical field
The present invention relates to a kind of reverse proxy technology, be especially applied to reverse proxy system and the Proxy Method thereof of network audio-video (internet video/audio) about one.
Background technology
Along with network is flourish and IP traffic (IP traffic) technology maturation, and for the trend continuing to increase in response to network audio-video, Internet Service Provider often builds a large amount of Reverse Proxy (Reverse Proxy, hereinafter to be referred as server) to reduce frequency range consumption; In addition, Internet Service Provider is also devoted to the value added service-user that should be used for of network audio-video simultaneously, Internet Service Provider adopts HTTP-based adaptive bit-rate streaming technology that film is provided in recent years, film is pressed into multiple bit rate (bitrate) and cuts into slices, to watch progress and available bandwidth to give suitable fragments according to user, but such technology but easily increases the storage area of film, also therefore cause the waste of the storage area of Reverse Proxy simultaneously.Therefore, between server, how effectively to organize and the division of labor, with in reducing frequency range consumption, also can reduce the waste of storage area, just become the important issue of network service.
As shown in FIG. 1A and 1B, it illustrates the main concrete schematic diagram of implementing of existing reverse proxy technology, and in Figure 1A, server proxy cluster 5 comprises proxy server 51, 52, 53, this quantity is only for illustrating, when enforcement not as limit, each proxy server 51, 52, 53 is independently working, wherein, and proxy server 51, 52, 53 can be used for processing request content, and can save File (as film archive) A1, A2, A3 etc., in the time that user 70 files a request, distribute by polling type (round robin) Domain Name System (DNS) server, for example, user 70 is served by first agent's server 51, require to some extent film if stored in first agent's server 51, provide this film by first agent's server 51, if do not store this film, can obtain and store this film in first agent's server 51 to former station (original site) server 8, afterwards, user 71, 72, 73 file a request after, be dispensed to each proxy server 51 according to polling type, 52, 53(is as shown in figure arrow), but this agency mechanism may cause each proxy server 51, 52, 53 store same film content, worst or even each proxy server 51, 52, 53 all store same film (as shown in the figure), so not only cause storage area to cause waste, and are also helpless to promote cache hit rate while increasing new proxy server.
In Figure 1B, server proxy cluster 6 comprises proxy server 61, 62, 63, this quantity equally only illustrates, each proxy server 61, 62, 63 can be used for processing request content, and can store film archive A1, A2, A3 etc., similarly, each proxy server 61, 62, 63 are still independently working, this mechanism is to utilize (layer 7) load balancer 7 to replace the work allocation of polling type dns server, load balancer 7 can discriminating user request content, and give same proxy server processes by same requested content, in other words, same film content only need be in storing once, for example, in the time that user 70 files a request, after distributing by load balancer 7, served by first agent's server 61, similarly first agent's server 61 has stored and has required to some extent film to provide this film by first agent's server 61, if do not store this film, extremely this film is obtained and stored to former site server 8 in first agent's server 61, then, user 71, 72 file a requests are after load balancer 7 judgements, ask identical with user 70, can provide agency service by first agent's server 61 equally, so can effectively promote whole cache hit rate, but this agency mechanism can provide the upper limit of service ability by being limited to 7 of load balancers in the time of device extension, and not only there is the problem of single point failure (Single Point of Failure), simultaneously load balancer 7 because of price high, all make this agency mechanism device extension be subject to many restrictions.
In addition, existing reverse proxy technology also cannot directly effectively be processed the film that access times are higher, if while causing this film to be stored in particular agent server, easily causes the problem of this particular agent server overload.
Therefore, how to find out the better reverse proxy technology of network audio-video, particularly do not change under the framework of existing agency mechanism, a kind of new reverse proxy mechanism is proposed, avoid every disappearance of existing agency mechanism simultaneously, similarly be the processing mode etc. of the restriction when repeating to store the institute's storage area that causes waste, load balancer and increase for proxy server of cache hit rate problem, archives or even archives (as popular content film) high to access times, reality is the technical task of desiring most ardently at present solution.
Summary of the invention
In view of the shortcoming of above-mentioned prior art, object of the present invention is for a kind of high cache hit rate being provided and can effectively processing reverse proxy system and the method thereof of popular content film, to reduce the generation of server overload.
Another object of the present invention is for a kind of reverse proxy system and method thereof that is easy to horizontal extension and elasticity deployment is provided, effectively to increase and decrease system capability and the usefulness of reverse proxy system.
For reaching aforementioned object and other object, the invention provides a kind of reverse proxy system, comprise: leading device and proxy server group, wherein, leading device is used for receiving solicited message, and pass on this solicited message with a distribution mechanism, proxy server group is made up of many proxy servers, and this solicited message that this leading device passes on is received by a wherein proxy server of these many proxy servers, each this proxy server comprises cache unit and access unit, wherein, access unit receives after the solicited message of this leading device, by a placement algorithm, this solicited message is calculated to obtain the storage location of the archives that this solicited message asks, to obtain these archives from the storage location of these archives and to return this archives, wherein, these archives are stored in the corresponding cache unit in the affiliated proxy server of this access unit, or corresponding cache unit in other proxy server.
In another embodiment, this placement algorithm is consistency Hash (consistent hash) algorithm, and this distribution mechanism is Weighting type poll distribution mechanism.
In another embodiment, do not store the archives that this solicited message asks during in this included cache unit of each this proxy server, the former site server that this cache unit is connected by this proxy server group is obtained these archives to store this archives.
In another embodiment, this included access unit of each this proxy server records respectively the access times of these archives, and with in the time that the access times of these archives are greater than a threshold value, these archives of mark are popular archives.In addition, this access unit more comprises popular working area, for temporary handled these hot topic archives.
The present invention also proposes a kind of reverse proxy method, comprise the following steps: to receive solicited message, by this solicited message transfer to a wherein proxy server of many proxy servers, the proxy server that receives this solicited message calculates to obtain the storage location of the archives that this solicited message asks and the storage location according to these archives by placement algorithm to this solicited message, a wherein proxy server from these many proxy servers is obtained the archives that this solicited message is asked, to return this archives.
In an embodiment, this reverse proxy method more comprises the access times that record these archives, and with in the time that the access times of these archives are greater than a threshold value, these archives of mark are popular archives, and then is temporary in the popular working area of the proxy server of processing these hot topic archives.
Than prior art, reverse proxy system of the present invention and method thereof, utilize leading device polling mechanism that factorage is dispensed to each proxy server, after proxy server parses solicited message, obtain the storage location of the archives that this solicited message asks, then obtain this archives to this place, because the cache unit of save File in each proxy server is shared, thereby, archives only need to store once, and the factorage distributing according to the usefulness of proxy server can not cause a certain device processes load overweight yet, importantly, such reverse proxy system is limited less in the time of device extension, only need to adjust placement algorithm and can elasticity dispose proxy server, in addition, the access unit that the present invention is more set forth in each proxy server arranges popular working area, can deposit the silver screen hits that are often accessed, so proxy server can shorten the processing time and reduce running burden, therefore, by reverse proxy system of the present invention and method thereof, better treatment efficiency will provide reverse proxy time, while allowing device extension, have more elasticity simultaneously, should have quite and benefit for network audio-video development.
Brief description of the drawings
Figure 1A and Figure 1B are the main concrete schematic diagram of implementing of the existing reverse proxy technology of explanation;
Fig. 2 is the system schematic of explanation reverse proxy system of the present invention;
Fig. 3 A and Fig. 3 B are the concrete schematic diagram of implementing of explanation reverse proxy system of the present invention;
Fig. 4 is the system schematic of explanation another embodiment of reverse proxy system of the present invention;
Fig. 5 is the schematic diagram of explanation another specific embodiment of reverse proxy system of the present invention; And
Fig. 6 is the flow chart of steps of explanation reverse proxy method of the present invention.
Primary clustering symbol description
1,2 reverse proxy systems
10,20 leading devices
11,21 proxy server groups
11 ', 21 ' cache unit cluster
110,111,112,210,211,212 proxy servers
1101,1111,1121,2101,2111,2121 access unit
1102,1112,1122,2102,2112,2122 cache unit
21011,21111 popular working areas
5,6 server proxy clusters
51,52,53,61,62,63 proxy servers
7 load balancers
70 ~ 74 users
8 former site servers
9 user's devices
S601 ~ S604 step
A1, A2, A3 archives, film archive.
Embodiment
By particular specific embodiment, technology contents of the present invention is described below, those skilled in the art can understand advantage of the present invention and effect easily by content disclosed in the present specification.So the present invention also can be implemented or be applied by other different specific embodiment.
Notice, appended graphic the illustrated structure of this specification, ratio, size etc., all contents in order to coordinate specification to disclose only, for those skilled in the art's understanding and reading, not in order to limit the enforceable qualifications of the present invention, therefore the not technical essential meaning of tool, the adjustment of the modification of any structure, the change of proportionate relationship or size, not affecting under effect that the present invention can produce and the object that can reach, all should still drop on disclosed technology contents and obtain in the scope that can contain.
Refer to Fig. 2, it is the system schematic of reverse proxy system of the present invention.As shown in the figure, reverse proxy system 1 of the present invention provides the service request that user is sent, be forwarded to and provide the proxy server of service to process that the archives of being asked are back to user, user can be online with proxy server group 11 by user's device 9, and proxy server 110 in proxy server group 11, 111 obtain various services, as audio-visual service, it should be noted that, the present embodiment is only with two proxy servers 110, 111 illustrate, but when actual operation, its quantity is not limit, namely can increase and decrease proxy server quantity with demand, wherein, reverse proxy system 1 mainly comprises leading device 10 and proxy server group 11.In addition, specify to be, above-mentioned alleged archives are for example video/audio archive, but not as limit, the archives of every other kenel of applying reverse proxy technology of the present invention are all applicable.
The solicited message that leading device 10 transmits for receiving user's device 9, passes on this solicited message with a distribution mechanism (as Weighting type poll distribution mechanism etc.).Particularly, user's device 9 can be for example intelligent mobile phone, portable electron device, computer or audio-visual playback equipment etc., leading device 10 receives the solicited message that user transmits by user's device 9, carry out assignment agent work by Weighting type polling mechanism with the usefulness according to each proxy server, so avoid sole placing agency server 110, 111 excessive running loads, in other words, leading device 10 can carry out assignment agent work with the usefulness according to each proxy server by the mode of a for example weighting (weight), the better person of usefulness of for example proxy server, its weighted value is higher, its factorage is more.
Proxy server group 11 is for example a kind of cluster proxy server group, it is by many proxy servers (being exemplified as in the present embodiment two proxy servers) 110, 111 institutes form, solicited message is sent to many proxy servers 110 by leading device 10, a wherein proxy server of 111, wherein, each proxy server comprises cache unit and access unit, namely, proxy server 110 comprises access unit 1101 and cache unit 1102, and proxy server 111 comprises access unit 1111 and cache unit 1112, wherein, cache unit and access unit can be utilized respectively as process (process) implementation.
Cache unit the 1102, the 1112nd, for save File, namely when many proxy servers 110,111 can be stored in the archives of once processing its cache unit 1102,1112, so in the time processing again identical content request next time, without again downloading archives, but there is the restriction of storage area cache unit the 1102, the 1112nd, therefore, cache unit cannot store the archives of the restriction that exceedes storage area and therefore must properly apply the storage area of cache unit.
Access unit 1101,1111 is for receiving the solicited message from this leading device 10, by a placement algorithm, this solicited message is calculated to obtain the storage location of the archives that this solicited message asks, to obtain this archives from the storage location of these archives, and then return these archives to this user's device 9, wherein, these archives are stored in the cache unit 1102 (also referred to as corresponding cache unit) in proxy server under this access unit 1101, or cache unit 1112 (also referred to as corresponding cache unit) in other proxy server 111.As from the foregoing, user's solicited message is distributed to each proxy server 110 by the mode of for example weighting, 111, access unit 1101, 1111 by placement algorithm to calculate the storage location of archives corresponding to this solicited message, obtain thus these archives and be back to user's device 9, wherein, solicited message can be for example the URL of archives, why can obtain this solicited message institute request content by resolving as dns server, that is to say, access unit 1101, 1111 can be from each proxy server 110, 111 cache unit 1102, 1112 retrieve files, namely cache unit 1102, archives in 1112 are shared, so, archives only need to store once (portion) in cache unit.
In addition, aforesaid placement algorithm can be for example consistency hash algorithm, with the storage location according to certain rule configuration archives, afterwards in the time that service request produces, why only need the characteristic (as contained URL of solicited message etc.) of the solicited message of analyzing this service request, can know that these archives are to be stored in the cache unit 1102,1112 of which proxy server 110,111, so not only shoot straight and repeat the problem storing without same files.
By above-mentioned agency mechanism, known each archives are only stored in the cache unit 1102,1112 of a wherein proxy server of proxy server 110,111, by the interior archives shared mechanism in cache unit 1102,1112, make archives only store portion, can reduce the waste of storage area.Moreover, for reverse proxy expansion, because adopt consistency hash algorithm, therefore increase, deletion or unusual fluctuation impact for existing proxy server (as 110,111) are little, therefore, for the larger elasticity of being deployed with of proxy server, and do not affect original high hit rate characteristic, without existing adopted expensive load balancer yet.
Refer to Fig. 3 A and Fig. 3 B, it is the concrete schematic diagram of implementing of reverse proxy system of the present invention.As shown in Figure 3A, proxy server group 11 is at least by proxy server 110, 111, 112 institutes form, and proxy server 110, 111, 112 comprise respectively access unit 1101, 1111, 1121 and cache unit 1102, 1112, 1122, and aforementioned each Elementary Function is with identical described in Fig. 2, wherein, and cache unit 1102, 1112, 1122 can be considered a cache unit cluster 11 ', based on archives shared ideas, from each archives (as film archive) A1 of former site server 8, A2, A3 is without repeating to be stored in each proxy server 110, 111, 112, in the present embodiment, it is respectively at cache unit 1102, 1112, in 1122, user 70 ~ 74 can be by suitable distribution mechanism by arbitrary proxy server 110, 111, 112 provide service, and solicited message is by access unit 1101, 1111, after 1121 parsings, can be from cache unit 1102, 1112, needed archives are fetched in arbitrary cache unit of 1122, certainly, and each proxy server 110, 111, 112 also can carry out service-user 70 ~ 74 by Weighting type polling mechanism.
In Fig. 3 B, proxy server group 11 is at least by proxy server 110, 111, 112 institutes form, proxy server 110, 111, 112 access unit 1101, 1111, 1121 and cache unit 1102, 1112, 1122 with identical described in Fig. 2, wherein, and cache unit 1102, 1112, 1122 can be considered a cache unit cluster 11 ', wherein, in cache unit 1112, store archives A1, when user 70 provides service by first agent's server 110, the storage location that access unit 1101 utilizes placement algorithm to calculate these archives is cache unit 1112, therefore fetch these archives A1 to cache unit 1112, then, user 71 provides service by third generation reason server 112, user 70 identical with the characteristic of user's 71 both solicited messages (URL as contained in solicited message is identical), the storage location that access unit 1121 also calculates these archives certainly taking placement algorithm is equally as cache unit 1112, therefore fetch these archives A1 to cache unit 1112, as from the foregoing, no matter be the archives A1 from former site server 8, A2, A3 only needs to store a in whole proxy server group 11, therefore, really can avoid the waste of storage area.
As shown in Figure 4, it is the system schematic of another embodiment of reverse proxy system of the present invention.As shown in the figure, reverse proxy system 2 can provide user various services equally, as audio-visual service, wherein, each unit of leading device 20 and proxy server group 21 is identical with example described in Fig. 2 and function, therefore repeat no more, in the present embodiment, the access unit of proxy server also comprises popular working area, namely, the access unit 2101 of proxy server 210 includes popular working area 21011, and the access unit 2111 of proxy server 211 includes popular working area 21111.
For the archives that are often accessed, general hope can fast fetching obtains and avoids the overload of specific cache unit, the present invention is set forth in the interior popular working area 21011,21111 that arranges respectively of access unit 2101,2111 of proxy server 210,211, to provide more quick service to the archives that are often accessed.In detail, access unit 2101,2111 records respectively the access times that archives are accessed, and in the time that a certain archives are accessed number of times and are greater than a predetermined threshold value, be popular archives (being popular content) by this file signal, wherein, this access unit 2101,2111 separate records access times respectively, and its popular archives are independent marking, therefore the popular archives in each access unit can be separately independently archives.Afterwards, if when any access unit 2101,2111 handled request services are these hot topic archives, handled popular archives are stored in respectively in popular working area 21011,21111 separately, so, when follow-up access unit 2101,2111 finds that other request service is also these hot topic archives of request, directly by this hot topic working area, these hot topic archives of keeping in are separately returned to user's device 9, will contribute to acceleration to obtain popular archives.
It should be noted that, if there are multiple popular archives, but the limited space in popular working area 21011,21111, certainly will need selectivity to keep in some archives, can adopt first in first out (FIFO) or do not used concepts such as (LRU) at most at this, also can be according to using popular degree to evaluate sequence to select the temporary high person of utilization rate, the processing of storage area under limited all can be provided, in like manner, if the also applicable aforementioned processing mode about storage area deficiency such as the cache unit 2102,2112 of each proxy server 210,211.
In addition, previous embodiment all supposes that archives have been stored in each proxy server 210, 211 cache unit 2102, in 2112, if access unit 2101, after 2111 resolution request messages, the storage location of the archives of asking to this solicited message (may be cache unit 2102, 2112 one cache unit such as grade) request provides archives, but find that these archives are not stored in cache unit 2102, 2112 when interior, for example cache unit 2102 does not store this archives, the former site server 8 being connected by proxy server group 21 is fetched this archives by cache unit 2102, and these archives are stored in cache unit 2102.But former site server 8 is only that convenient explanation is used, and not limits to archives and must be stored in particular server, also can be from world-wide web or other external storage device.
As shown in Figure 5, it is the schematic diagram of another specific embodiment of reverse proxy system of the present invention.In the present embodiment, the interior each unit of proxy server group 21 and former site server 8 are identical with embodiment described in Fig. 4 and function, therefore repeat no more, in the present embodiment, for the Application Example of popular archives (being popular content) is described, wherein, can carry out independent judgment by access unit 2101,2111,2121 respectively about the judgement of popular archives.In the time of actual operation, each archives A1, A2 only can be in cache unit 2102, 2112, a wherein cache unit of 2122 stores a, the same problem without repeating to store, user 70 ~ 72 may be by different proxy servers 210, 211, 212 provide various services, as audio-visual service, if and access unit 2101, 2111, when the agency service of the popular archives of 2121 processed mistake, also these hot topic archives can be temporary in to access unit 2101, 2111, in 2121 popular working area (not shown), for instance, access unit 2101, 2121 temporary have popular archives, access unit 2111 is untreated popular archives, therefore there is no temporary any archives.
Then, coordinate the reverse proxy system shown in earlier figures 1 to Fig. 5, below will utilize Fig. 6 that the flow chart of steps of reverse proxy method of the present invention is described.
In step S601, receive the solicited message that user's device transmits, namely user can propose as the requirement of the various services of audio-visual service to network audio-video ISP by its user's device.Then proceed to step S602.
In step S602, this solicited message is transferred to a wherein proxy server of many proxy servers.In detail, for fear of the existing possible single point failure problem of load balancer of utilizing, or arbitrary proxy server running load is overweight, about the service ownership of solicited message, can pass through a Weighting type polling mode transfer request information wherein proxy server of platform proxy server at the most.Then proceed to step S603.
In step S603, the proxy server that receives this solicited message calculates to obtain the storage location of the archives that this solicited message asks to this solicited message by placement algorithm.In this step, repeat to store same files for fear of proxy server, can carry out by a placement algorithm distribution of services, for example adopt consistency hash algorithm, each archives are stored in each proxy server, therefore the proxy server of, receiving solicited message also can be obtained the stored position of archives that this solicited message is asked by this consistency hash algorithm.Then proceed to step S604.
In step S604, according to the storage location of these archives, a wherein proxy server of these many proxy servers is obtained the archives that this solicited message is asked certainly, to pass these archives back to this user's device.In this step, obtain behind the stored position of these archives according to consistency hash algorithm, can carry out access to the storage location of these archives, wherein, the archives stored due to each proxy server have shared ideas, thereby each archives only needs to store a, but still can obtain this archives by different proxy servers.
In a specific embodiment, in this step S604, when the storage location that more comprises the archives of asking when this solicited message does not store these archives, obtain these archives to store this archives from a former site server, namely by consistency hash algorithm Distribution Calculation, archives position is fixed, if thereby while finding that to this archives storage location these archives do not store, can by as these archives of external retrieval of former site server, and store these archives in this proxy server.
In addition, in the present embodiment, more comprise the access times that record these archives, with in the time that the access times of these archives are greater than a threshold value, these archives of mark are popular archives, and then are temporary in the popular working area of the proxy server of processing these hot topic archives.Particularly, especially often be accessed for solving some archives, keep in popular archives therefore one popular working area is set in proxy server separately, if when proxy server has the service request of these hot topic archives afterwards, do not need to these hot topic archives of storage place access of the proxy server of these hot topic archives of original storage, can be provided by the popular working area of proxy server separately, use and shorten the processing time and reduce running burden.
Compared with prior art, reverse proxy system of the present invention and method thereof, give each proxy server by Weighting type polling mechanism by agency service work allocation, avoid arbitrary proxy server running load overweight, and proxy server is by being obtained the storage location of the archives of being asked by solicited message as consistency hash algorithm, because archives stored in each proxy server are shared, thereby archives only need to store a, can avoid the waste of storage area, so, by the use of consistency hash algorithm, for the increase of proxy server, deletion or unusual fluctuation will can not cause excessive impact, make proxy server deployment elasticity larger, and do not affect original high hit rate characteristic, also the too high problem of cost free, and for the access issues of silver screen hits, the present invention is set forth in each proxy server popular working area is set, deposit thus the silver screen hits that are often accessed, so proxy server can shorten the processing time and reduce running burden.Therefore, by reverse proxy system of the present invention and method thereof, more flexible will make device extension time, and avoid many defects of existing reverse proxy, thereby be to benefit to some extent to network audio-video service development.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any those skilled in the art all can, under spirit of the present invention and category, modify and change above-described embodiment.Therefore, the scope of the present invention, should be as listed in claims.

Claims (10)

1. a reverse proxy system, it comprises:
Leading device, it receives solicited message, passes on this solicited message with a distribution mechanism; And
Proxy server group, it is made up of many proxy servers, and wherein, this solicited message that this leading device passes on is received by a wherein proxy server of these many proxy servers, and each this proxy server comprises:
Cache unit; And
Access unit, it is for receiving this solicited message from this leading device, by a placement algorithm, this solicited message is calculated to obtain the storage location of the archives that this solicited message asks, to obtain this archives from the storage location of these archives, and then return this archives, wherein, these archives are stored in the corresponding cache unit in the affiliated proxy server of this access unit or in other proxy server.
2. reverse proxy system according to claim 1, it is characterized in that, do not store the archives that this solicited message asks during in this included cache unit of each this proxy server, the former site server that this cache unit is connected by this proxy server group is obtained these archives to store this archives.
3. reverse proxy system according to claim 1, is characterized in that, this placement algorithm is consistency hash algorithm, and this distribution mechanism is Weighting type poll distribution mechanism.
4. reverse proxy system according to claim 1, is characterized in that, this included access unit of each this proxy server records respectively the access times of these archives, and with in the time that the access times of these archives are greater than a threshold value, these archives of mark are popular archives.
5. reverse proxy system according to claim 4, is characterized in that, this access unit more comprises popular working area, for temporary handled these hot topic archives.
6. reverse proxy system according to claim 5, is characterized in that, when the archives that this solicited message is asked are these hot topic archives, these hot topic archives that this access unit is kept in this hot topic working area directly return.
7. a reverse proxy method, it comprises the following steps:
1) receive solicited message;
2) this solicited message is transferred to the wherein proxy server of many proxy servers;
3) proxy server that receives this solicited message calculates to obtain the storage location of the archives that this solicited message asks to this solicited message by placement algorithm; And
4) according to the storage location of these archives, a wherein proxy server of these many proxy servers is obtained the archives that this solicited message is asked certainly, to return this archives.
8. reverse proxy method according to claim 7, is characterized in that, this step 4) more comprises when the storage location of the archives of asking when this solicited message does not store these archives, obtains these archives to store this archives from a former site server.
9. reverse proxy method according to claim 7, it is characterized in that, the method more comprises the access times that record these archives, with in the time that the access times of these archives are greater than a threshold value, these archives of mark are popular archives, and then are temporary in the popular working area of the proxy server of processing these hot topic archives.
10. reverse proxy method according to claim 7, is characterized in that, the placement algorithm described in this step 3) is consistency hash algorithm.
CN201210591971.9A 2012-12-28 2012-12-28 Reverse proxy system and method thereof Pending CN103916415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210591971.9A CN103916415A (en) 2012-12-28 2012-12-28 Reverse proxy system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210591971.9A CN103916415A (en) 2012-12-28 2012-12-28 Reverse proxy system and method thereof

Publications (1)

Publication Number Publication Date
CN103916415A true CN103916415A (en) 2014-07-09

Family

ID=51041822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210591971.9A Pending CN103916415A (en) 2012-12-28 2012-12-28 Reverse proxy system and method thereof

Country Status (1)

Country Link
CN (1) CN103916415A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612561A (en) * 2003-10-29 2005-05-04 国际商业机器公司 Network data processing system and service method in said system
CN101753606A (en) * 2008-12-03 2010-06-23 北京天融信科技有限公司 Method for realizing WEB reverse proxy
US20100192071A1 (en) * 2009-01-28 2010-07-29 International Business Machines Corporation Client program, terminal, method, server system and server program
CN101997854A (en) * 2009-08-31 2011-03-30 阿里巴巴集团控股有限公司 Processing system and method for providing data service
CN102065111A (en) * 2009-11-13 2011-05-18 北京神州绿盟信息安全科技股份有限公司 Reverse proxy method and reverse proxy server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612561A (en) * 2003-10-29 2005-05-04 国际商业机器公司 Network data processing system and service method in said system
CN101753606A (en) * 2008-12-03 2010-06-23 北京天融信科技有限公司 Method for realizing WEB reverse proxy
US20100192071A1 (en) * 2009-01-28 2010-07-29 International Business Machines Corporation Client program, terminal, method, server system and server program
CN101997854A (en) * 2009-08-31 2011-03-30 阿里巴巴集团控股有限公司 Processing system and method for providing data service
CN102065111A (en) * 2009-11-13 2011-05-18 北京神州绿盟信息安全科技股份有限公司 Reverse proxy method and reverse proxy server

Similar Documents

Publication Publication Date Title
US9661049B2 (en) Systems and methods of providing interspersed manifest file specifications for adaptive streaming video
CN106850581B (en) Distribution backup method, system and server for interactive live broadcast streaming media data
AU2011274249B2 (en) Systems and methods for storing digital content
CN113037869B (en) Method and apparatus for back-sourcing of content distribution network system
US20170099345A1 (en) Content delivery network load balancing
EP2852125A1 (en) Server selection for content distribution
US20140165119A1 (en) Offline download method, multimedia file download method and system thereof
CN101156407B (en) Method for supplying content through communication network
CN108737500B (en) Target resource obtaining and providing method and device, storage medium and computer equipment
GB2477513A (en) Load balancing method between streaming servers based on weighting of connection and processing loads.
CN102882939A (en) Load balancing method, load balancing equipment and extensive domain acceleration access system
CN105025391A (en) Video playing method and apparatus
CN101729593A (en) Method, system and device for uploading and receiving file
CN102761572A (en) Method and system for dynamically adjusting data flow
CN108306923A (en) A kind of live video method for uploading, device, electronic equipment and storage medium
JP5856795B2 (en) Content distribution system
CN101958934B (en) Electronic program guide incremental content synchronization method, device and system
CN103188278B (en) Method and system for content data distribution
CN103188323B (en) The system and method for Web service is provided based on subscriber's main station buffer memory device
CN103916415A (en) Reverse proxy system and method thereof
CN105706412A (en) Bandwith policy management in a self-corrected content delivery network
CN113301445B (en) Address allocation method and device for content distribution network
KR20150011087A (en) Distributed caching management method for contents delivery network service and apparatus therefor
CN102843428A (en) Uploaded data processing system and method
CN105162720A (en) Data transmission reducing communication network and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1196997

Country of ref document: HK

WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140709

WD01 Invention patent application deemed withdrawn after publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1196997

Country of ref document: HK