CN103581765B - The method and apparatus that a kind of message forwards - Google Patents

The method and apparatus that a kind of message forwards Download PDF

Info

Publication number
CN103581765B
CN103581765B CN201210273271.5A CN201210273271A CN103581765B CN 103581765 B CN103581765 B CN 103581765B CN 201210273271 A CN201210273271 A CN 201210273271A CN 103581765 B CN103581765 B CN 103581765B
Authority
CN
China
Prior art keywords
request message
rule
equipment
message
resource
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
CN201210273271.5A
Other languages
Chinese (zh)
Other versions
CN103581765A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210273271.5A priority Critical patent/CN103581765B/en
Priority to PCT/CN2013/080530 priority patent/WO2014019516A1/en
Publication of CN103581765A publication Critical patent/CN103581765A/en
Application granted granted Critical
Publication of CN103581765B publication Critical patent/CN103581765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2521Translation architectures other than single NAT servers
    • H04L61/2525Translation at a client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Abstract

The embodiment of the present invention provides the method and apparatus that a kind of message forwards, relate to network information transfer field, select the principle of buffer memory device inconsistent and repeated each buffer memory device resource allocation information of acquisition and the problem that network resource transmission time delay is relatively big and system loss is bigger that causes solving edge router.The method includes: receive the first request message that ustomer premises access equipment sends;After determining that the first request message and first forwards rule match, send the second request message to cache management equipment;Receiving the response message for the second request message that cache management equipment sends, response message carries the IP address of the target cache equipment of cache management equipment choice;Edge router according to the IP address of target cache equipment to target cache device request resource.The embodiment of the present invention forwards for message.

Description

The method and apparatus that a kind of message forwards
Technical field
The present invention relates to communication field, particularly relate to the method and apparatus that a kind of message forwards.
Background technology
Owing to broadband network is in high speed development all over the world, the audiovisual compression technology of high-quality Constantly weeding out the old and bring forth the new, the flourish of Internet video market makes Internet video flow drastically increase Long, the Internet video flow of sharp increase brings huge impact to carrier network, currently, with The the most soaring of Online Video number of users, the video flow transmission of carrier network will face Bigger pressure.Meanwhile, the Internet video flow of sharp increase can cause the user of existing network video Experiencing unsecured, particularly in peak time, user is often subjected to pause, spend the problems such as block, The satisfaction of user is the highest, and operator will face customer loss pressure, and therefore, operator needs The Internet video distribution method of a kind of optimization, by bringing up to the transmission speed of user, ensures The experience of user.
In order to reduce the impact that carrier network is brought by Internet video flow, operator is positive Dispose transparent Cache (caches) function, affix one's name to transparent caching near user's sidepiece Equipment obtains and caches Hot Contents.When user accesses Hot Contents, user asks can quilt Redirect or be forwarded to buffer memory device, as buffer memory device has been cached with this resource, then caching Content is directly pushed to user, owing to user is no longer necessary to far-end by equipment counterfeit one-tenth server Web Server (webserver) obtains video content, thus decreases backbone network and city The flow pressure of territory net, on the other hand, buffer memory device is closer to the user, thus improves user Speed of download, improves the Quality of experience of user.
In currently existing scheme, but, operator is when disposing buffer memory device, it will usually dispose Multiple buffer memory devices, owing to caching resource and the load of each buffer memory device are different, therefore, Edge router needs to select suitable buffer memory device, in prior art, and each edge router Be required for by obtain the load of all buffer memory devices or buffer memory device to user path also Suitable buffer memory device, so, obtaining of each edge router repeatability is determined by calculating Take and calculate, not only increase the time delay of data transmission and add the loss of system, meanwhile, Due to the independently selected suitable buffer memory device of each edge router so that each edge router Optimum principle is inconsistent.
Summary of the invention
Embodiments of the invention provide the method and apparatus that a kind of message forwards, to solve edge router Select the principle of buffer memory device inconsistent and repeated each buffer memory device resource allocation information of acquisition And the problem that the network resource transmission time delay caused is relatively big and system loss is bigger.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, it is provided that a kind of method that message forwards, including:
Edge router receives the first request message that ustomer premises access equipment sends, described first request message Carry the uniform resource position mark URL of the resource of described ustomer premises access equipment request;
Described edge router is determining that described first request message and first forwards after rule match, to Cache management equipment sends the second request message;
Described edge router receive that described cache management equipment sends for the second request message Response message, described response message carries the IP ground of the target cache equipment of cache management equipment choice Location;
Described edge router sets to described target cache according to the IP address of described target cache equipment The standby resource asking the request of described ustomer premises access equipment.
In the first possible implementation of first aspect, in conjunction with first aspect, described first turn Send out the URL of the resource that the Matching Elements of rule includes that described ustomer premises access equipment asks;Or,
Described first forward rule Matching Elements include described first request message purpose IP address, The destination slogan of described first request message and the transport layer protocol number of described first request message.
In the implementation that the second of first aspect is possible, in conjunction with the realization side that the first is possible Formula, described second request message carries described URL;
Or,
Described second request message carries IP address or the domain name of the server providing described resource, also Carry described resource local resource mark on described server.
In the third possible implementation of first aspect, in conjunction with first aspect or the first possibility Implementation or the possible implementation of the second, the method also includes:
After described edge router receives described response message, described edge router configures For the second forwarding rule of the message that ustomer premises access equipment sends, described second forwards corresponding the turning of rule Sending out purpose equipment is described target cache equipment;
The quantity of the described second Matching Elements forwarding rule is more than the described first coupling forwarding rule The quantity of key element;
When described edge router determines that the message received from ustomer premises access equipment both forwarded rule with first After then mating and forwarding rule match with second, rule is forwarded to forward according to second.
In the 4th kind of possible implementation of first aspect, in conjunction with the realization side that the third is possible Formula,
Described second forward rule Matching Elements include described first request message purpose IP address, The destination slogan of described first request message, the transport layer protocol number of described first request message, institute State source IP address and the source port number of described first request message of the first request message;
Or,
Described second forward rule Matching Elements include described first request message purpose IP address, The destination slogan of described first request message, the transport layer protocol number of described first request message and institute State the source IP address of the first request message;
Or,
Described second forward rule Matching Elements include described first request message purpose IP address, The destination slogan of described first request message, the transport layer protocol number of described first request message and institute State the source port number of the first request message.
In the 5th kind of possible implementation of first aspect, in conjunction with the 4th kind of possible realization side Formula, described second forwarding rule is after described edge router receives described response message, and And determining that described ustomer premises access equipment is set from described target cache by transmission control protocol TCP Configuration after the standby resource obtaining described first request message request.
Second aspect, it is provided that a kind of edge router, including:
First receives unit, for receiving the first request message that ustomer premises access equipment sends, and described first Request message carries the uniform resource position mark URL of the resource of described ustomer premises access equipment request;
First transmitting element, for determining that described first request message and first forwards rule match After, send the second request message to cache management equipment;
Response receive unit, for receive described cache management equipment send for the second request message Response message, described response message carries the IP of the target cache equipment of cache management equipment choice Address;
Request unit, delays to described target for the IP address according to described target cache equipment Deposit the resource of ustomer premises access equipment request described in device request.
In the first possible implementation of second aspect, in conjunction with second aspect, described One URL forwarding the resource that the Matching Elements of rule includes that described ustomer premises access equipment asks;Or Person,
Described first forwards the Matching Elements of rule to include purpose IP of described first request message Address, the destination slogan of described first request message and the transport layer of described first request message Protocol number.
In the implementation that the second of second aspect is possible, in conjunction with the realization side that the first is possible Formula,
Described second request message carries described URL;
Or,
Described second request message carries IP address or the territory of the server providing described resource Name, also carries described resource local resource mark on described server.
In implementation possible in the 3rd of second aspect the, in conjunction with second aspect or the first possibility Implementation or the possible implementation of the second, this edge router also includes:
Dispensing unit, after receiving described response message at described response reception unit, configuration pin The second forwarding rule to the message that ustomer premises access equipment sends, described second forwards the forwarding that rule is corresponding Purpose equipment is described target cache equipment, and wherein, described second forwards the number of the Matching Elements of rule Amount is more than the quantity of the described first Matching Elements forwarding rule;
Message retransmission unit, for when determining that the message received from ustomer premises access equipment both forwarded with first After rule match forwards rule match with second again, rule is forwarded to forward according to second.
In the 4th kind of possible implementation of second aspect, in conjunction with the realization side that the third is possible Formula, described dispensing unit is used for after described edge router receives described response message, and And determining that described ustomer premises access equipment is set from described target cache by transmission control protocol TCP After the standby resource obtaining described first request message request, configure described second and forward rule.
The method and apparatus that the message that the embodiment of the present invention provides forwards, edge router is managed by caching Reason equipment is that this subscriber equipment selects corresponding caching to set according to the request message that ustomer premises access equipment sends Standby request resource, so, not only ensure that the concordance to buffer memory device optimum principle, reduces simultaneously The time delay of network resource transmission also decreases the loss of system.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by right In embodiment or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, Accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art From the point of view of, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
The method flow schematic diagram that a kind of message that Fig. 1 provides for the embodiment of the present invention forwards;
The method flow schematic diagram that a kind of message that Fig. 2 provides for another embodiment of the present invention forwards;
A kind of edge router structural representation that Fig. 3 provides for the embodiment of the present invention;
The another kind of edge router structural representation that Fig. 4 provides for the embodiment of the present invention;
A kind of edge router structural representation that Fig. 5 provides for another embodiment of the present invention;
The system structure schematic diagram that a kind of message that Fig. 6 provides for the embodiment of the present invention forwards.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention Case is clearly and completely described, it is clear that described embodiment is only the present invention one Divide embodiment rather than whole embodiments.Based on the embodiment in the present invention, this area is general The every other embodiment that logical technical staff is obtained under not making creative work premise, Broadly fall into the scope of protection of the invention.
The embodiment of the present invention provides a kind of method that message forwards, as it is shown in figure 1, include as follows Step:
101, edge router receives the first request message that ustomer premises access equipment sends, and this is first years old Request message carries the URL (URL) of the resource of ustomer premises access equipment request.
102, edge router is after determining that the first request message and first forwards rule match, The second request message is sent to cache management equipment.
Optionally, described first the Matching Elements of rule is forwarded to include the money that ustomer premises access equipment is asked The URL in source;Or, first forwards the Matching Elements of rule to include the mesh of the first request message IP address, the destination slogan of the first request message and the first request message transport layer association View number.
Exemplary, the Matching Elements of the first forwarding rule of edge router configuration includes user The URL of resource of end device request, with to the URL of resource as site information As a example by video request corresponding for video.xyz.com carries out buffer memory device management process, when receiving The first request message that ustomer premises access equipment sends carries the system of the resource of this ustomer premises access equipment request One URLs URL is HTTP: //video.xyz.com/a.flv, is the discovery that regarding through resolving Frequently the video content of website video.xyz.com makes requests on, therefore, edge router according to Website video.xyz.com sends the second request message, request caching pipe to cache management equipment Reason equipment is this request distribution buffer memory device of this ustomer premises access equipment.
The most exemplary, the Matching Elements of the first forwarding rule of edge router configuration also may be used Think the destination slogan including the purpose IP address of the first request message, the first request message With the transport layer protocol number of the first request message, i.e. this first forwarding rule is for adding tlv triple row Table, it may be assumed that destination address, destination slogan and transport layer protocol number, specific as follows: destination Location: the IP address of Internet resources website, destination slogan: 80 (the i.e. ends of http protocol Slogan), transport layer protocol: 6 (i.e. Transmission Control Protocol), by the destination of the first request message Location, destination slogan and transport layer protocol are consistent with the tlv triple list of above-mentioned setting (i.e. should To ask the IP address of information network resource website, destination slogan be 80, transport layer protocol is 6) Then send the second request message to cache management equipment.
Here the second request message is that edge router regenerates according to the first request message Message;Or, the second request message is the first request message forwarded through edge router.
Optionally, the unified resource of the resource that the second request message carries ustomer premises access equipment request is fixed Position symbol URL;Or, the second request message carry provide resource server IP address and Resource local resource mark on the server.
103, edge router receive that cache management equipment sends for the second request message Response message, this response message carries the IP of the target cache equipment of cache management equipment choice Address.
104, edge router please to target cache equipment according to the IP address of target cache equipment Seek the resource that ustomer premises access equipment is asked.
The method that the message provided according to the embodiment of the present invention forwards, edge router is by caching Management equipment is that this subscriber equipment selects correspondence according to the request message that ustomer premises access equipment sends Buffer memory device request resource, so, not only ensure that the concordance to buffer memory device optimum principle, Decrease the time delay of network resource transmission simultaneously and decrease the loss of system.
The embodiment of the present invention provides a kind of method that message forwards, as in figure 2 it is shown, specifically include Following steps:
201, edge router receives the first request message that ustomer premises access equipment sends, and this is first years old Request message carries the URL (URL) of the resource of ustomer premises access equipment request.
202, edge router is after determining that the first request message and first forwards rule match, The second request message is sent to cache management equipment.
Optionally, first the Matching Elements of rule is forwarded to include the money that described ustomer premises access equipment is asked The URL in source;Or, first forwards the Matching Elements of rule to include the mesh of the first request message IP address, the destination slogan of the first request message and the first request message transport layer association View number.
Exemplary, the Matching Elements of the first forwarding rule of edge router configuration includes user The URL of resource of end device request, with to the URL of resource as site information As a example by video request corresponding for video.xyz.com carries out buffer memory device management process, when receiving The first request message that ustomer premises access equipment sends carries the system of the resource of this ustomer premises access equipment request One URLs URL is HTTP: //video.xyz.com/a.flv, is the discovery that regarding through resolving Frequently the video content a.flv of website video.xyz.com makes requests on, therefore, and edge router Sending the second request message according to website video.xyz.com to cache management equipment, request is slow Deposit this request distribution buffer memory device that management equipment is this ustomer premises access equipment.
The most exemplary, the Matching Elements of the first forwarding rule of edge router configuration also may be used Think the destination slogan including the purpose IP address of the first request message, the first request message With the transport layer protocol number of the first request message, i.e. this first forwarding rule is for adding tlv triple row Table, it may be assumed that destination address, destination slogan and transport layer protocol number, specific as follows: destination Location: the IP address of Internet resources website, destination slogan: 80 (the i.e. ends of http protocol Slogan), transport layer protocol: 6 (i.e. Transmission Control Protocol), by the destination of the first request message Location, destination slogan and transport layer protocol are consistent with the tlv triple list of above-mentioned setting (i.e. should To ask the IP address of information network resource website, destination slogan be 80, transport layer protocol is 6) Then send the second request message to cache management equipment.
Here the second request message is that edge router regenerates according to the first request message Message;Or, the second request message is the first request message forwarded through edge router.
Optionally, the unified resource of the resource that the second request message carries ustomer premises access equipment request is fixed Position symbol URL;Or, the second request message carries IP address and the territory of the server providing resource Name, also carries and identifies with resource local resource on the server.Such as, for HTTP: for //video.xyz.com/a.flv, video.xyz.com is domain name, and a.flv is local Resource identification.
203, cache management equipment receives the second request message of edge router.
204, edge router receive that cache management equipment sends for the second request message Response message, this response message carries the IP of the target cache equipment of cache management equipment choice Address.
Here the resource distribution according to connected buffer memory device of the cache management equipment it is specially Information and the second request message determine target cache equipment from buffer memory device.
Exemplarily, first cache management equipment parse the second request from the second request message The uniform resource position mark URL of the resource of the ustomer premises access equipment request that message carries;Or, Second request message carries provides the IP address of server of resource and resource on the server Local resource identifies, and then cache management equipment selects load according to the load information of buffer memory device Minimum buffer memory device is as target cache equipment.Alternatively, cache management equipment can not also Principle according to load balancing selects target cache equipment.
205, edge router please to target cache equipment according to the IP address of target cache equipment Seek the resource that ustomer premises access equipment is asked.
206, after target cache equipment receives the message that edge router forwards, resolve and used The uniform resource position mark URL of the resource of family end device request.
207, the requested resource determined according to URL is sent to user by target cache equipment End equipment.
Exemplary, as target cache equipment analytic message obtains the resource of ustomer premises access equipment request Uniform resource position mark URL: HTTP: //video.xyz.com/a.flv, find user side set Standby request is the a.flv video file of video.xyz.com website, then target cache equipment is looked into See whether this locality has stored this video resource;
If Query Result is yes, then these Internet resources are sent to ustomer premises access equipment;
If Query Result is no, then target cache equipment according to original request message from resource service Device (this Resource Server is Video Server video server) acquisition request resource, this mistake Journey is that target cache equipment sends request message to Video Server, is receiving Video Server After response user's request, the video resource starting just to obtain from Video Server is slow in this locality Deposit, and send to ustomer premises access equipment.
Preferably, when Internet resources are sent to ustomer premises access equipment by target cache equipment, will encapsulation The source address having the message of these Internet resources is set to the IP address of Internet resources website, by mesh Address be set to the IP address of ustomer premises access equipment, so, ustomer premises access equipment is receiving net During network resource, due to the IP address that source address is Internet resources website of this Internet resources message, Ustomer premises access equipment be not aware that Internet resources forward during exist cache management equipment and The equipment such as target cache equipment, it is achieved that cache management equipment and target cache equipment are to user side The information transparency transmission of equipment, simultaneously, it is to avoid the assailant attack to target cache equipment, Ensure the safety that information is transmitted.
208, the edge router configuration pin the second forwarding rule to the message that ustomer premises access equipment sends Then, the second forwarding purpose equipment forwarding rule corresponding is target cache equipment.Need explanation It is that step 208 can also perform before step 205,206 or 207.
Further, second forward the quantity of regular Matching Elements more than the first forwarding rule The quantity of Matching Elements.
Optionally, second the Matching Elements of rule is forwarded to include purpose IP of the first request message Address, the destination slogan of the first request message, the transport layer protocol number of the first request message, The source IP address of the first request message and the source port number of the first request message;
Or,
Second forward the Matching Elements of rule include the purpose IP address of the first request message, the The destination slogan of one request message, the transport layer protocol number of the first request message and the first request The source IP address of message;
Or,
Second forward the Matching Elements of rule include the purpose IP address of the first request message, the The destination slogan of one request message, the transport layer protocol number of the first request message and the first request The source port number of message.
When 206, edge router determine the message received from ustomer premises access equipment both with first turn Send out rule match to forward after rule match with second again, forward rule to carry out message according to second and turn Send out.
Exemplary, forward rule to include for adding five-tuple list, i.e. Matching Elements with second: Source address (source IP address of the first request message), source port number be (the first request message Source port number), destination address (the purpose IP address of the first request message), destination interface Number (the destination slogan of the first request message) and the transport layer protocol (biography of the first request message Defeated layer protocol number), by consistent with the five-tuple list information of above-mentioned setting for five-tuple information and The message of rule match is forwarded to send to target according to the address of this target cache equipment with first Buffer memory device.
Alternatively, edge router is after receiving response message, and is determining described use Family end equipment obtains the first request message by transmission control protocol TCP from target cache equipment After the resource of request, just configuration second forwards rule.
Sent the feelings of requested resource to ustomer premises access equipment by TCP at target cache equipment Under condition, owing to being configured with the second forwarding rule in edge router, therefore edge router is permissible The TCP produced during obtained requested resource by TCP by ustomer premises access equipment should Answer message and be directly forwarded to target cache equipment, reduce the impact on other equipment.
The method that the message that above-described embodiment provides forwards, edge router is set by cache management The standby request message sent according to ustomer premises access equipment is that this subscriber equipment selects corresponding caching to set Standby request resource, so, not only ensure that the concordance to buffer memory device optimum principle, simultaneously Decrease the time delay of network resource transmission and decrease the loss of system.
The embodiment of the present invention provides a kind of edge router 3, and edge router 3 has such as Fig. 1 Or the part or all of function of the edge router in the embodiment shown in Fig. 2.As it is shown on figure 3, Edge router 3 includes:
First receives unit 31, for receiving the first request message that ustomer premises access equipment sends, First request message carries the URL (URL) of the resource of ustomer premises access equipment request;
First transmitting element 32, for determining that the first request message and first forwards rule After joining, send the second request message to cache management equipment;
Here optional, first forwards the Matching Elements of rule to include the money that ustomer premises access equipment is asked The URL in source;Or,
First forward the Matching Elements of rule include the purpose IP address of the first request message, the The destination slogan of one request message and the transport layer protocol number of the first request message.
Response receives unit 33, for receiving asking for second of cache management equipment transmission The response message of message, response message carries the target cache equipment of cache management equipment choice IP address.
Request unit 34, is used for the IP address according to target cache equipment to target cache equipment The resource of request ustomer premises access equipment request.
Additionally, optional, the second request message carries the unification of the resource of ustomer premises access equipment request URLs URL;
Or,
Second request message carries IP address or the domain name of the server providing resource, also carries Resource local resource mark on the server.
Further alternative, as shown in Figure 4, edge router 3 also includes:
Dispensing unit 35, after receiving response message at response reception unit, configuration pin The second forwarding rule to the message that ustomer premises access equipment sends, second forwards the forwarding that rule is corresponding Purpose equipment is target cache equipment, and wherein, the quantity of the Matching Elements of the second forwarding rule is many Quantity in the first Matching Elements forwarding rule;
Message retransmission unit 36, for when determine the message received from ustomer premises access equipment both with After first forwards rule match to forward rule match with second again, rule is forwarded to carry out according to second Forward.
Optionally, dispensing unit 34 is additionally operable to after edge router receives response message, And determining that ustomer premises access equipment passes through transmission control protocol TCP and obtains from target cache equipment After the resource of the first request message request, configuration the second forwarding rule.
The edge router that above-described embodiment provides, it is possible to by cache management equipment according to user The request message that end equipment sends is that this subscriber equipment selects corresponding buffer memory device request resource, So, not only ensure that the concordance to buffer memory device optimum principle, decrease network money simultaneously The time delay of source transmission also decreases the loss of system.
The embodiment of the present invention provides a kind of edge router 5.As it is shown in figure 5, edge router 5 include: at least one inbound port 51, at least one go out port 52, at least one processor 53 and at least one memorizer 54.Described inbound port 51, go out port 52, processor 53 and Memorizer 54 cooperates, it is possible to perform the edge in embodiment as shown in Figure 1 or 2 Part or all of operation performed by router.
At least one inbound port 51 described may be used for receiving the first of ustomer premises access equipment transmission please The unified of resource asking message, described first request message to carry the request of described ustomer premises access equipment provides Source location symbol (URL).
Described at least one go out port 52 and may be used for determining at least one processor 53 described After described first request message and first forwards rule match, send second to cache management equipment Request message.
At least one inbound port 51 described can also receive the pin that described cache management equipment sends Response message to the second request message, described response message carries cache management equipment choice The IP address of target cache equipment.
Described at least one go out port 52 can also be according to the IP address of described target cache equipment To the resource of ustomer premises access equipment request described in described target cache device request.
Described first forwards the Matching Elements of rule to include the resource that described ustomer premises access equipment is asked URL;Or, described first forwards the Matching Elements of rule to include described first request report The purpose IP address of literary composition, the destination slogan of described first request message and described first request The transport layer protocol number of message.
Described second request message carries described URL;Or, described second request message is taken Band provides IP address or the domain name of the server of described resource, also carries described resource described Local resource mark on server.
After at least one inbound port 51 described receives described response message, described at least one Ustomer premises access equipment is sent by individual processor 53 configuration pin at least one memorizer 54 described Second forwarding rule of message, the described second forwarding purpose equipment forwarding rule corresponding is described Target cache equipment.The quantity of the described second Matching Elements forwarding rule is more than described first turn Send out the quantity of the Matching Elements of rule.Receive from ustomer premises access equipment when described edge router determines After the message arrived not only forwards rule match with first but also forwards rule match with second, according to second Rule is forwarded to forward.
Alternatively, described second forwarding rule is that described edge router receives described response report Wen Hou, and determining that described ustomer premises access equipment passes through transmission control protocol TCP from described mesh Mark buffer memory device configures after obtaining the resource that described first request message is asked.
Described second forwards the Matching Elements of rule to include purpose IP of described first request message Address, the destination slogan of described first request message, the transport layer of described first request message Protocol number, the source IP address of described first request message and the source of described first request message Slogan;
Or,
Described second forwards the Matching Elements of rule to include purpose IP of described first request message Address, the destination slogan of described first request message, the transport layer of described first request message Protocol number and the source IP address of described first request message;
Or,
Described second forwards the Matching Elements of rule to include purpose IP of described first request message Address, the destination slogan of described first request message, the transport layer of described first request message Protocol number and the source port number of described first request message.
The edge router that the present embodiment provides, it is possible to by cache management equipment according to user side The request message that equipment sends is that this subscriber equipment selects corresponding buffer memory device request resource, this Sample, not only ensure that the concordance to buffer memory device optimum principle, decreases Internet resources simultaneously The time delay transmitted the loss decreasing system.
The message that the edge router provided in various embodiments above can be applicable to Fig. 6 and provides turns In the system of sending out, this system includes cache management equipment 601, target cache equipment 602, user End equipment 604, respectively with target cache equipment 602, ustomer premises access equipment 604 and cache management The edge router 603 that equipment 601 connects, edge router 603 is in above-described embodiment Any edge router.
Concrete Fig. 6 also show Resource Server 605 and other buffer memory device 606。
The message forwarding system that above-described embodiment provides, edge router can pass through cache management Equipment is that this subscriber equipment selects corresponding caching according to the request message that ustomer premises access equipment sends Device request resource, so, not only ensure that the concordance to buffer memory device optimum principle, with Time decrease the time delay of network resource transmission and decrease the loss of system.
One of ordinary skill in the art will appreciate that: realize the whole of said method embodiment or portion Can be completed by the hardware that programmed instruction is relevant step by step, aforesaid program can be stored in In one computer read/write memory medium, this program upon execution, performs to include that said method is real Execute the step of example;And aforesaid storage medium includes: ROM, RAM, magnetic disc or CD Etc. the various media that can store program code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is also Being not limited to this, any those familiar with the art is at the technology model that the invention discloses In enclosing, change can be readily occurred in or replace, all should contain within protection scope of the present invention.
Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (11)

1. the method that a message forwards, it is characterised in that including:
Edge router receives the first request message that ustomer premises access equipment sends, described first request Message carries the uniform resource position mark URL of the resource of described ustomer premises access equipment request;
Described edge router is determining that described first request message and first forwards rule match After, send the second request message to cache management equipment;
Described edge router receive described cache management equipment send for the second request message Response message, described response message carries the target cache equipment of cache management equipment choice IP address;
Described edge router according to the IP address of described target cache equipment to described target cache The resource of ustomer premises access equipment request described in device request.
Method the most according to claim 1, it is characterised in that
Described first forwards the resource that the Matching Elements of rule includes that described ustomer premises access equipment asks URL;Or,
Described first forwards the Matching Elements of rule to include the purpose IP ground of described first request message The transport layer association of location, the destination slogan of described first request message and described first request message View number.
Method the most according to claim 2, it is characterised in that
Described second request message carries described URL;
Or,
Described second request message carries IP address or the domain name of the server providing described resource, Also carry described resource local resource mark on described server.
4. according to the method described in claim 1,2 or 3, it is characterised in that also include:
After described edge router receives described response message, on described edge router The configuration pin the second forwarding rule to the message that ustomer premises access equipment sends, described second forwards rule Corresponding forwarding purpose equipment is described target cache equipment;
Described second forward rule Matching Elements quantity more than described first forward rule Join the quantity of key element;
When described edge router determines that the message received from ustomer premises access equipment both forwarded with first After rule match forwards rule match with second again, rule is forwarded to forward according to second.
Method the most according to claim 4, it is characterised in that
Described second forwards the Matching Elements of rule to include the purpose IP ground of described first request message Location, the destination slogan of described first request message, the transport layer association of described first request message View number, the source IP address of described first request message and the source port number of described first request message;
Or,
Described second forwards the Matching Elements of rule to include the purpose IP ground of described first request message Location, the destination slogan of described first request message, the transport layer association of described first request message View number and the source IP address of described first request message;
Or,
Described second forwards the Matching Elements of rule to include the purpose IP ground of described first request message Location, the destination slogan of described first request message, the transport layer association of described first request message View number and the source port number of described first request message.
Method the most according to claim 5, it is characterised in that described second forwards rule It is after described edge router receives described response message, and is determining that described user side sets Described first request message is obtained from described target cache equipment for by transmission control protocol TCP Configuration after the resource of request.
7. an edge router, it is characterised in that including:
First receives unit, for receiving the first request message that ustomer premises access equipment sends, described First request message carries the URL of the resource of described ustomer premises access equipment request URL;
First transmitting element, for determining that described first request message and first forwards rule After joining, send the second request message to cache management equipment;
Response receives unit, for receiving asking for second of described cache management equipment transmission The response message of message, described response message carries the target cache of cache management equipment choice and sets Standby IP address;
Request unit, is used for the IP address according to described target cache equipment to described target cache The resource of ustomer premises access equipment request described in device request.
Edge router the most according to claim 7, it is characterised in that
Described first forwards the resource that the Matching Elements of rule includes that described ustomer premises access equipment asks URL;Or,
Described first forwards the Matching Elements of rule to include the purpose IP ground of described first request message The transport layer association of location, the destination slogan of described first request message and described first request message View number.
Edge router the most according to claim 8, it is characterised in that
Described second request message carries described URL;
Or,
Described second request message carries IP address or the domain name of the server providing described resource, Also carry described resource local resource mark on described server.
10. according to the edge router described in claim 7,8 or 9, it is characterised in that also Including:
Dispensing unit, after receiving described response message at described response reception unit, joins Putting the second forwarding rule of the message sent for ustomer premises access equipment, described second forwards rule right The forwarding purpose equipment answered is described target cache equipment, and wherein, described second forwards rule The quantity of Matching Elements is more than the quantity of the described first Matching Elements forwarding rule;
Message retransmission unit, for when determine that the message received from ustomer premises access equipment is both with first After forwarding rule match to forward rule match with second again, rule is forwarded to forward according to second.
11. edge routers according to claim 10, it is characterised in that described configuration Unit is for after described edge router receives described response message and described determining Ustomer premises access equipment obtains described first by transmission control protocol TCP from described target cache equipment After the resource of request message request, configure described second and forward rule.
CN201210273271.5A 2012-08-02 2012-08-02 The method and apparatus that a kind of message forwards Active CN103581765B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210273271.5A CN103581765B (en) 2012-08-02 2012-08-02 The method and apparatus that a kind of message forwards
PCT/CN2013/080530 WO2014019516A1 (en) 2012-08-02 2013-07-31 Method and device for forwarding message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210273271.5A CN103581765B (en) 2012-08-02 2012-08-02 The method and apparatus that a kind of message forwards

Publications (2)

Publication Number Publication Date
CN103581765A CN103581765A (en) 2014-02-12
CN103581765B true CN103581765B (en) 2016-12-21

Family

ID=50027267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210273271.5A Active CN103581765B (en) 2012-08-02 2012-08-02 The method and apparatus that a kind of message forwards

Country Status (2)

Country Link
CN (1) CN103581765B (en)
WO (1) WO2014019516A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161427B (en) * 2016-06-08 2020-02-11 北京兰云科技有限公司 Webpage processing method, network analyzer and HTTP server
CN106230979A (en) * 2016-08-31 2016-12-14 北京奇艺世纪科技有限公司 Method of video distribution, system and video dispatching equipment
EP3531745A4 (en) * 2016-11-18 2019-09-18 Huawei Technologies Co., Ltd. Cache data acquisition method, related device and communication system
CN110297732B (en) * 2019-06-14 2024-01-23 杭州迪普科技股份有限公司 FPGA state detection method and device
CN110120917B (en) * 2019-06-28 2024-02-02 北京瑛菲网络科技有限公司 Routing method and device based on content
CN110581890B (en) * 2019-09-10 2022-02-22 中国建设银行股份有限公司 Routing method and device for service request
CN112839078A (en) * 2020-12-30 2021-05-25 奇点新源国际技术开发(北京)有限公司 Data forwarding method and device for 5G private network environment and electronic equipment
CN116627772B (en) * 2023-07-20 2023-09-15 北京微吼时代科技有限公司 Cache tracking and monitoring method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764824A (en) * 2010-01-28 2010-06-30 深圳市同洲电子股份有限公司 Distributed cache control method, device and system
US7826487B1 (en) * 2005-05-09 2010-11-02 F5 Network, Inc Coalescing acknowledgement responses to improve network communications
CN101938524A (en) * 2010-09-19 2011-01-05 中兴通讯股份有限公司 Method and system for handling P2P (Peer-to-Peer) services
CN102014053A (en) * 2010-11-17 2011-04-13 华为技术有限公司 Service transmitting method and device and communication system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051118B2 (en) * 1999-12-22 2006-05-23 Tibo Software, Inc. Method and apparatus for anonymous subject-based addressing
US7525949B1 (en) * 2002-05-07 2009-04-28 Cisco Technology, Inc. Forwarding for network devices
CN101022414B (en) * 2007-03-08 2010-11-03 华为技术有限公司 Message retransmitting method and apparatus
CN101394333B (en) * 2007-09-17 2016-01-20 华为技术有限公司 The method E-Packeted, device and network system
CN101170452A (en) * 2007-11-30 2008-04-30 中国电信股份有限公司 Content distribution network service provision node system for enhancing management capability and its affiliated network
CN101247210B (en) * 2008-03-12 2011-02-23 中兴通讯股份有限公司 Method for implementing multicast forwarding tree based on multicast source discovering protocol
CN101714926B (en) * 2009-11-02 2013-01-30 福建星网锐捷网络有限公司 Method, device and system for managing network equipment
CN101827039B (en) * 2010-06-04 2013-03-20 杭州华三通信技术有限公司 Method and equipment for load sharing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7826487B1 (en) * 2005-05-09 2010-11-02 F5 Network, Inc Coalescing acknowledgement responses to improve network communications
CN101764824A (en) * 2010-01-28 2010-06-30 深圳市同洲电子股份有限公司 Distributed cache control method, device and system
CN101938524A (en) * 2010-09-19 2011-01-05 中兴通讯股份有限公司 Method and system for handling P2P (Peer-to-Peer) services
CN102014053A (en) * 2010-11-17 2011-04-13 华为技术有限公司 Service transmitting method and device and communication system

Also Published As

Publication number Publication date
WO2014019516A1 (en) 2014-02-06
CN103581765A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103581765B (en) The method and apparatus that a kind of message forwards
CN102301682B (en) Method and system for network caching, domain name system redirection sub-system thereof
EP3021537B1 (en) Method, device and system for determining content acquisition path and processing request
WO2016082289A1 (en) Content distribution network (cdn)-based website acceleration method and system
CN103780714B (en) The detection method of a kind of dns server and device
CN108259425A (en) The determining method, apparatus and server of query-attack
CN103139137B (en) Network service provider method and device
US11848845B2 (en) Content delivery network server testing
CN103338279A (en) Optimal sorting method and system based on domain name resolution
CN102045403A (en) Method, device and system for processing data of distributed network
CN102739717B (en) Method for down loading, download agent server and network system
CN102970384B (en) Proxy server and communication system
CN105704246A (en) Network distribution device and method based on SDN architecture
CN105657072A (en) Method and device for pushing control data
CN103607410B (en) A kind of contents access method and equipment
CN103475626B (en) A kind of method for asking resource, equipment and system
CN110392123A (en) The methods, devices and systems of detection outlet IP address
CN106411819A (en) Method and apparatus for recognizing proxy Internet protocol address
CN106411978A (en) Resource caching method and apparatus
RU2664480C2 (en) Method, device and system for content delivery
CN103686852B (en) A kind of method, equipment and Wireless acceleration system that interaction data is processed
CN102831237B (en) A kind of web application access method and device
CN103181140B (en) Identify the method for service request type, media server and terminal unit
CN103731396B (en) Resource access method, system and cache resources information push-delivery apparatus
WO2012075870A1 (en) Hypertext transfer protocol (http) stream association method and device

Legal Events

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