CN102143204A - Method, device and system for realizing reorientation of hypertext transfer protocol in content delivery network - Google Patents

Method, device and system for realizing reorientation of hypertext transfer protocol in content delivery network Download PDF

Info

Publication number
CN102143204A
CN102143204A CN2010105697767A CN201010569776A CN102143204A CN 102143204 A CN102143204 A CN 102143204A CN 2010105697767 A CN2010105697767 A CN 2010105697767A CN 201010569776 A CN201010569776 A CN 201010569776A CN 102143204 A CN102143204 A CN 102143204A
Authority
CN
China
Prior art keywords
mode
request
response
terminal equipment
http
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
CN2010105697767A
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.)
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 CN2010105697767A priority Critical patent/CN102143204A/en
Priority to PCT/CN2011/074490 priority patent/WO2011137809A1/en
Publication of CN102143204A publication Critical patent/CN102143204A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method, a device and a system for making a request for the reorientation of a hypertext transfer protocol in a content delivery network. The method in the technical scheme comprises that: routing equipment transmits an HTTP reorientation request to a routing server, wherein the request is transmitted in a user datagram protocol (UDP) way; the terminal equipment receives a response from the routing server, wherein the response comprises a reorientation destination server address and a way indicator used by the transmission of the HTTP request to a destination server; and the terminal equipment transmits the HTTP request to the destination server according to a way indicated in the response. By the technical scheme provided by the invention, the reorientation speed is increased technically, the user request response of the content delivery network (CDN) is quickened from the angle of users, and delay from the request clicking to started content acquisition of the user is shortened.

Description

Realize method, the Apparatus and system that HTML (Hypertext Markup Language) is redirected in a kind of content distributing network
Technical field
The present invention relates to communication technical field, in particular, relate to and realize method, the Apparatus and system that HTML (Hypertext Markup Language) is redirected in a kind of content distributing network.
Background technology
HTTP (HyperText Transfer Protoco, HTML (Hypertext Markup Language)) is to carry out the topmost mode of information exchange by Internet at present, is based upon on request (request/response) model.Set up a TCP (Transmission Control Protocol with server by the client, transmission control protocol) link, and send one and ask server, server can be at statusline of this request response, comprise protocol of messages version, success and failure code and the relevant message that comprises server info, resource entity information and possible resource content MIME (Multipurpose Internet Mail Extensions, multi purpose internet mail extensions) pattern.HTTP/1.0[3] be that the request of HTTP is set up a new TCP link each time, therefore page that comprises HTML content and picture just can offer the user after will needing to set up repeatedly the TCP link of short-term, and the foundation of a TCP link will need three-way handshake.In order to obtain suitable transmission speed, guarantee link reliability HTTP/1.1[4] implementation method of sustainable link proposed, to only set up the link of a TCP and repeatedly use it to transmit a series of requests/response messages, can reduce the number of times of link foundation and regular link expense.
CDN (Content Delivery Network, content distributing network) is a kind of new-type network building mode, is for issuing the special network coverage layer of optimizing of broadband rich-media at traditional IP network.
At present existing CDN system is positioned Content Management of future generation and distributing network, is the content distributing network that is superimposed upon on existing Internet, Cable, the Moblie network.Redirected route in the CDN network is to be finished by the routing server in the CDN network (following abbreviation MC), its function comprises two parts, the one, handle the request that UE sends, as the HTTP request, routing server is selected suitable Edge Server (following abbreviation MX) to offer the user service is provided.Click the HTTP link of certain content on the website as UE after, send DNS (Domain Name System, domain name system) request message to LocalDNS and obtain the address of link; LocalDNS obtains the address of content link to higher level DNS; Dns server is with the CDN routing server in the address sensing CDN network of this content; LocalDNS gives UE with the address of content link; UE sends HTTP GET request to the CDN routing server; The CDN routing server selects the Edge Server an of the best to provide content to UE according to predetermined policy; And UE is given in URL (Uniform/Universal Resource Locator, the URL(uniform resource locator)) address of carrying Edge Server in HTTP302 message; UE obtains the URL address of Edge Server and initiates the HTTP request by dns resolution backward dege edge server.As seen, client is obtained final content from the CDN network generally will be through twice HTTP reciprocal process: (1) client sends to the HTTP request on the routing server the CDN network, and routing server returns final media server address by redirect message; (2) client is initiated HTTP request download content or is watched video to final media server according to the URL address of being redirected.
HTTP is mutual for the network element of second function treatment CDN network internal of the routing server in the CDN network (Edge Server, service management/equipment control, central store server), obtains the information of miscellaneous equipment.Such as: when Edge Server can be downloaded content to the address of CDN routing server request central store server under the situation of Cache miss, and then this content sent to client, this redirected route that also is based on above-mentioned HTTP is alternately finished.Therefore current Edge Server download content from the central store server also will be through the reciprocal process of twice HTTP: (1) Edge Server sends HTTP and asks address to the concrete central store server of routing server request, and routing server returns the central store server address of appointment by http response; (2) Edge Server is downloaded content by the HTTP request to the central store server, and the central store server provides content to Edge Server by response message.
In the existing scheme, two processes of the redirected route in the CDN network all are based on http protocol, and HTTP is based on the realization of TCP technology, therefore, the slow startup of TCP itself and request affirmation mechanism cause that the interactive messages bag is many, the time is long, and the speed that causes client to obtain content is difficult to raising.
Summary of the invention
Embodiments of the invention provide method, the Apparatus and system that the request HTML (Hypertext Markup Language) is redirected in a kind of content distributing network, can improve the speed that is redirected in the CDN network.
The technical scheme of the embodiment of the invention is as follows:
The embodiment of the invention provides the method that the request HTML (Hypertext Markup Language) is redirected in a kind of content distributing network, comprising:
Routing server in content distributing network CDN sends HTML (Hypertext Markup Language) HTTP redirection request; This request is based on that the user datagram protocol UDP mode sends;
Receive the response that described routing server returns, comprise redirected destination server address in this response and ask used mode to be indicated to described destination server initiation HTTP;
According to the mode of indicating in the described response, initiate the HTTP request to described destination server.
The embodiment of the invention provides the terminal equipment in a kind of content distributing network, comprising:
First sending module is used for sending the HTTP redirection request to the routing server of content distributing network CDN; This request is based on that the UDP mode sends;
The response receiver module is used to receive the response that described routing server returns, and comprises redirected destination server address in this response and asks used mode to be indicated to described destination server initiation HTTP;
Second sending module is used for the mode of indicating according to described response, initiates the HTTP request to described destination server.
The embodiment of the invention provides the routing server in a kind of content distributing network, comprising:
The request receiver module is used for the HTTP redirection request that receiving terminal apparatus sends; This request is that terminal equipment sends based on the UDP mode;
The response sending module is used for returning response at described redirect request to described terminal equipment, comprises redirected destination server address in this response and asks used mode to be indicated to described destination server initiation HTTP.
The embodiment of the invention provides and has realized the system that HTML (Hypertext Markup Language) is redirected in a kind of content distributing network, comprising:
Terminal equipment is used for sending the HTTP redirection request to routing server; This request is based on that the UDP mode sends; Receive the response that described routing server returns, comprise redirected destination server address in this response and ask used mode to be indicated to described destination server initiation HTTP; According to the mode of indicating in the described response, initiate the HTTP request to described destination server;
Routing server is used to receive the described redirect request that described terminal equipment sends; Return response at described redirect request to described terminal equipment, comprise in this response that terminal equipment is to the address of the destination server that is redirected and initiate the used mode of HTTP request to described destination server and indicate.
The technical scheme that is provided by the embodiment of the invention described above as can be seen, terminal equipment sends the HTTP redirection request by the mode with U DP to routing server, not only improved the speed that is redirected in the CDN network, and for the user, improve the time of CDN response user request, shortened the user asks to get access to the content of beginning from click delay.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of request HTTP redirection in a kind of CDN network of the embodiment of the invention;
Fig. 2 is the structural representation of the terminal equipment in a kind of CDN network of the embodiment of the invention;
Fig. 3 is a method flow diagram of realizing HTTP redirection in a kind of CDN network of the embodiment of the invention;
Fig. 4 is the structural representation of the routing server in a kind of CDN network of the embodiment of the invention;
Fig. 5 is the HTTP redirection system configuration schematic diagram in a kind of CDN network of the embodiment of the invention;
Fig. 6 is the method application scenarios figure one that realizes HTTP redirection in a kind of CDN network of the embodiment of the invention;
Fig. 7 is the method application scenarios figure two that realizes HTTP redirection in a kind of CDN network of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides method, the Apparatus and system that the request HTML (Hypertext Markup Language) is redirected in a kind of content distributing network, terminal equipment sends the HTTP redirection request based on the mode of the UDP routing server in the CDN network, and the indication in the response message that returns according to routing server to select with the TCP mode still be that the UDP mode is initiated to ask to the destination server that will be redirected.Realization of the present invention has solved existing based on Transmission Control Protocol initiation redirect request process, interacting message quantity is many, and the problem of length consuming time can improve the redirected speed of CDN network, improve the time of CDN response user request, shortened the user asks to obtain content from click delay.
Need to prove that the terminal equipment that the embodiment of the invention relates to refers to all and uses HTTP to initiate clients of request, is with mutual UE of CDN or the equipment in the CDN network, including but not limited to PC, server, the CDN network equipment etc.
Routing server in the CDN network that relates in the embodiment of the invention refers to the routing server equipment in the CDN network.The destination server that is redirected is meant the equipment that content finally is provided in the CDN network, can be MX/MS.
Further specify technical scheme of the present invention below in conjunction with specific embodiment.
As shown in Figure 1, the embodiment of the invention proposes the method that the request HTML (Hypertext Markup Language) is redirected in a kind of content distributing network with the angle of terminal equipment, and technical scheme comprises:
Step 101: the routing server of terminal equipment in content distributing network CDN sends HTML (Hypertext Markup Language) HTTP redirection request; This request is based on that the user datagram protocol UDP mode sends;
Step 102: terminal equipment receives the response that described routing server returns, and comprises redirected destination server address in this response and asks used mode to be indicated to described destination server initiation HTTP;
Step 103: terminal equipment is initiated the HTTP request according to the mode of indicating in the described response to described destination server.
In one embodiment of the invention, the destination server address described in the step 302 can be the URL form, also can be other forms of server address.
Terminal equipment wants to support the HTTP redirection request of TCP mode (HTTP over TCP) and UDP mode (HTTPover UDP) transmission, terminal equipment specifically sends the HTTP redirection request in which kind of mode, can realize according to the following technical scheme that the embodiment of the invention provides:
Terminal equipment can be provided with the UDP mode and initiate the HTTP redirection request for the acquiescence send mode to routing server, and perhaps, terminal equipment is provided with preferentially and initiates described redirect request based on the UDP mode for the domain name that specific suffix is arranged of configuration.
In one embodiment of the invention, the described method of the embodiment of the invention can also comprise:
Terminal equipment in the described redirect request of determining to send overtime or routing server do not support under the situation of U DP mode, use instead based on transmission control protocol TCP mode and initiate described redirect request.
Concrete, at configuration specific suffix domain name, can dispose a certain quasisuffix domain name, as: huawei.cdn.net, always acquiescence is initiated request with HTTP over UDP earlier.
Need to prove, when terminal equipment is during with the mutual UE of CDN, when UE and routing server are mutual, routing server can occur and not support the situation of UDP mode, because in standard, http protocol is based on Transmission Control Protocol, and many manufacturers do not support based on the http protocol of UDP, so the CDN equipment in some scene may have the situation of not supporting HTTP over UDP.
When terminal equipment is equipment in the CDN network,, because CDN internal unit and routing server all are the equipment of a producer, or all to support, or do not support when mutual with routing server, therefore the incompatible situation of oneself can not appear.
Specifically, when terminal equipment based on the HTTP mode when routing server is initiated the HTTP redirection request, the reliability of HTTP message needs terminal equipment self to guarantee, for example: terminal equipment is when waiting for the HTTP request timed out, when finding that perhaps this request message is unreachable, terminal equipment will reactivate the mode of HTTP over TCP and initiate redirect request.
In one embodiment of the invention, terminal equipment receives the response that described routing server returns, comprise: the response that described routing server returns is discerned, comprise an extended field in the described response, described extended field is used to indicate initiates the used mode of HTTP request, and described mode comprises TCP or UDP;
Mode according to described extended field indication is initiated described HTTP request to described destination server.
Specifically, in the implementation procedure of the embodiment of the invention, described extended field can be arranged to: X-Connection-Type=" TCP "! " UDP " and form realize.
As shown in Figure 2, the embodiment of the invention proposes terminal equipment in a kind of content distributing network with the angle of terminal equipment equipment, comprises following functional module:
First sending module 21 is used for sending the HTTP redirection request to the routing server of content distributing network; This request is based on that the UDP mode sends;
Response receiver module 22 is used to receive the response that described routing server returns, and comprises redirected destination server address in this response and asks used mode to be indicated to described destination server initiation HTTP;
Second sending module 23 is used for the mode of indicating according to described response, initiates the HTTP request to described destination server.
Optionally, in one embodiment of the invention, described terminal equipment also comprises:
Dispensing unit 24 is used to be provided with the UDP mode and initiates described redirect request for the acquiescence send mode, and perhaps, the domain name that specific suffix is arranged for configuration is provided with preferentially to initiate described redirect request based on the UDP mode;
Optionally, in one embodiment of the invention, described first sending module 21 also is used for:
After initiating described redirect request with the send mode of described dispensing unit configuration, overtime or routing server is not supported to use instead based on the TCP mode and initiate described redirect request under the situation of UDP mode in definite described redirect request.
Optionally, in one embodiment of the invention, described second sending module 23 can comprise:
Recognition unit 231 is used for the response that described routing server returns is discerned, and comprises an extended field in the described response, and described extended field is used to indicate initiates the used mode of HTTP request, and described mode comprises TCP or UDP;
Transmitting element 232 is used for initiating described HTTP request according to the mode of described extended field indication to described destination server.
In one embodiment of the invention, terminal equipment described in the present embodiment comprises with the user side of CDN network interaction or the internal unit of CDN network; Described routing server comprises the routing server equipment in the CDN network; Described destination server comprises the equipment that content finally can be provided in the CDN network.
Need to prove, the technical scheme that each step relates among the function that each functional module realizes among the device embodiment shown in Figure 2 and Fig. 1 embodiment is corresponding, wherein, has comprised identical or the corresponding techniques feature, do not give unnecessary details one by one at this, see also the associated description among the method embodiment of Fig. 1.
As shown in Figure 3, the embodiment of the invention proposes to realize the method that HTML (Hypertext Markup Language) is redirected in a kind of content distributing network that with the angle of routing server in the CDN network technical scheme comprises:
Step 301: the HTTP redirection request that the routing server receiving terminal apparatus sends; This request is that terminal equipment sends based on UDP User Datagram Protocol mode;
Step 302: routing server returns response at described redirect request to described terminal equipment, comprises the address of redirected destination server in this response and asks used mode to be indicated to described destination server initiation HTTP.
Optionally, in one embodiment of the invention, step 301 further comprises:
Receive the described redirect request that the acquiescence mode of described terminal equipment setting is initiated for the UDP mode, perhaps, receive described terminal equipment, the preferential described redirect request of setting to initiate based on the UDP mode for the domain name that disposes specific suffix;
The redirect request that described UDP mode is initiated is judged routing server sends it back and should or respond to described terminal equipment when determining self not support the request that described UDP mode is initiated;
Determine that at described terminal equipment the overtime or routing server of described redirect request do not support under the situation of UDP mode, receive described terminal equipment and initiate described redirect request in the TCP mode.
Need to prove how terminal equipment sets the process of preferentially initiating redirect request in the mode of UDP in embodiments of the present invention, has made associated description in the method embodiment of Fig. 1, is not described further at this.
In one embodiment of the invention, returning described response to terminal equipment in the step 302 specifically comprises:
Carry described indication by increase an extended field in the response of returning to described terminal equipment, described extended field is used to indicate described terminal equipment to initiate the used mode of HTTP request to destination server, and described mode comprises TCP or UDP;
Specifically, in the implementation procedure of the embodiment of the invention, extended field can be arranged to: X-Connection-Type=" TCP "! " UDP " and mode, the HTTP link of indicating follow-up described terminal equipment to initiate to the destination server that will be redirected is to carry or carry with the UDP mode with the TCP mode.
Specifically, the message pattern behind extended field of increase is as follows in response message:
HTTP/1.1302Found
Content-Length:153
Expires:Wed,30Jun?201009:16:41GMT
Date:Wed,30Jun?201009:17:41GMT
Location:http://mxserver-1.cdn.net/runonce3.aspx
Content-Type:text/html;charset=utf-8
Server:Microsoft-IIS/6.0
X-Powered-By:ASP.NET
X-Connection-Type:TCP
X-AspNet-Version:2.0.50727
Cache-Control:private
By the way, the bearing mode notice terminal equipment that the follow-up redirected HTTP of terminal equipment can be linked.
As shown in Figure 4, the embodiment of the invention proposes the routing server in a kind of content distributing network with the angle of routing server in the CDN network, can be used with terminal equipment shown in Figure 2, comprises following functional module:
Request receiver module 41 is used for the HTTP redirection request that receiving terminal apparatus sends; This request is that terminal equipment sends based on the UDP mode;
Response sending module 42 is used for returning response at described redirect request to described terminal equipment, comprises redirected destination server address in this response and asks used mode to be indicated to described destination server initiation HTTP.
In one embodiment of the invention, request receiver module 41 further comprises:
Receiving element 411, the acquiescence mode that is used to receive described terminal equipment setting is initiated described redirect request for the UDP mode, perhaps, receive described terminal equipment for the configuration the domain name that specific suffix is arranged, setting preferentially to initiate described redirect request based on the UDP mode;
Identifying unit 412 is used to judge self whether to support the described redirect request that sends in described UDP mode, when determining to support described UDP mode, indicates described response sending module to return described response to terminal equipment; When determining not support described UDP mode, send it back and should or respond to described terminal equipment;
Described receiving element 411 also is used for receiving described terminal equipment and initiating the HTTP redirection request based on the TCP mode when described terminal equipment is determined described redirect request that local terminal do not support that described UDP mode sends.
In one embodiment of the invention, response sending module 42 further comprises:
Setup unit 421 is used for increasing an extended field in the response of returning to described terminal equipment, and described extended field is used to indicate described terminal equipment to initiate the used mode of HTTP request to destination server, and described mode comprises TCP or UDP;
Response unit 422 is used for comprising to described terminal equipment feedback the response of described extended field.
Specifically, in the implementation procedure of the embodiment of the invention, can be set to X-Connection-Type=" TCP " by described extended field! " UDP " and mode, the HTTP link of indicating follow-up described terminal equipment to initiate to the destination server that will be redirected is to carry or carry with the UDP mode with the TCP mode.
In one embodiment of the invention, the described terminal equipment that the present invention relates to comprises with the user side of CDN network interaction or the internal unit of CDN network; Described routing server comprises the routing server equipment in the CDN network; Described destination server comprises the equipment that content finally can be provided in the CDN network.
The technical scheme that each step relates among the function that each functional module realizes among the device embodiment shown in Figure 4 and Fig. 3 embodiment is corresponding, has comprised identical or the corresponding techniques feature, does not give unnecessary details one by one at this, sees also the associated description among the method embodiment of Fig. 3.
As shown in Figure 5, the embodiment of the invention also provides and has realized the system that HTML (Hypertext Markup Language) is redirected in a kind of content distributing network, and technical scheme comprises
Terminal equipment 51 shown in Fig. 2 embodiment is used for sending the HTTP redirection request to routing server; This request is based on that the UDP mode sends; Receive the response that described routing server returns, comprise redirected destination server address in this response and ask used mode to be indicated to described destination server initiation HTTP; According to the mode of indicating in the described response, initiate the HTTP request to described destination server;
CDN routing server 52 shown in Fig. 4 embodiment is used to receive the described redirect request that described terminal equipment sends; Return response at described redirect request to described terminal equipment, comprise in this response that terminal equipment is to the address of the destination server that is redirected and initiate the used mode of HTTP request to described destination server and indicate.
Technical scheme for a better understanding of the present invention is elaborated below in conjunction with the application scenarios of two class HTTP redirection processes in the CDN network.
When the technical scheme of the embodiment of the invention is applied in the application scenarios of the redirection process between UE and the routing server, terminal equipment is the UE with the CDN network interaction, routing server is the routing server equipment in the CDN network, the destination server that needs to be redirected is for finally providing the Edge Server of content service for the user, as shown in Figure 6, idiographic flow comprises:
Step 601:UE clicks certain website links, and this link has finally been pointed to routing server in the CDN network by dns server with it, and UE preferentially initiates HTTP GET redirect request in HTTP over UDP mode to routing server;
Step 602: after routing server is received HTTP GET request, routing policy according to self is selected an Edge Server, and feed back 302 message and give UE, specified the URL address of the Edge Server that is redirected in this 302 message, and to be used to indicate follow-up redirected HTTP link be the extended field header field that carries or carry with UDP with TCP;
The concrete form of this field is: X-Connection-Type=" TCP "! " UDP ";
302 message patterns behind the increase extended field are:
HTTP/1.1302Found
Content-Length:153
Expires:Wed,30Jun?201009:16:41GMT
Date:Wed,30Jun?201009:17:41GMT
Location:http://mxserver-1.cdn.net/runonce3.aspx
Content-Type:text/html;charset=utf-8
Server:Microsoft-IIS/6.0
X-Powered-By:ASP.NET
X-Connection-Type:TCP
X-AspNet-Version:2.0.50727
Cache-Control:private
Specifically, routing server is received the process of HTTP GET request back according to the Edge Server of routing policy selection of self, and routing policy comprises:
Routing server selects the Edge Server an of the best to provide content to UE according to the situations such as load condition of each Edge Server in the content of the position of UE, request, the CDN network.
Step 603:UE receives 302 message that routing server returns, and the HTTP request is initiated in the address of the Location appointment in message, and selects TCP to connect the request of initiation according to the indication among the X-Connection-Type.
Need to prove that UE is when initiating the HTTP redirection request based on the mode of udp protocol, if UE waits for the HTTP request timed out or find that message is unreachable that then UE can reactivate HTTP overTCP and send request.Concrete timeout mechanism can be formulated according to configuration, as long as whether unusually can in time judge the HTTP request, formulates the mode embodiment of the invention and does not do concrete qualification.
When the technical scheme of the embodiment of the invention is applied in the application scenarios of the HTTP redirection process between CDN internal unit and the routing server, terminal equipment is other network element (comprising Edge Server, central store, network/service managing server) in the CDN network, routing server is the routing server equipment in the CDN network, the destination server that needs to be redirected is for finally providing the Edge Server of content, as shown in Figure 7, idiographic flow comprises:
Step 701:CDN network element is preferentially initiated the HTTP redirection request in HTTP over UDP mode to routing server;
How how the CDN network element is provided with preferentially UE among method that mode with UDP sends the HTTP redirection request and Fig. 7 embodiment is preferentially set the UDP mode to send the process of HTTP redirection request identical;
Step 702: routing server is received the request of HTTP over UDP, select the Edge Server an of the best to provide content according to the situations such as load condition of each Edge Server in the content of asking, the CDN network to the CDN network element, and the address of in the response message that returns to the CDN network element, carrying this Edge Server, and one to be used to indicate follow-up redirected HTTP link be an extended field header field who carries or carry with UDP with TCP;
Step 703:CDN network element is initiated the HTTP request according to the Redirect Address in 302 message.
Need to prove, wait for that when the CDN network element http response of routing server is overtime, then initiate request in HTTP over TCP mode again.
Need to prove, other network element in the technical scheme shown in Figure 7 in the CDN network (comprising Edge Server, central store, network/service managing server) is redirected reciprocal process with routing server, in the practical application scene, often relate to, receive the request of UE such as Edge Server after, discovery does not have the content of this UE of buffer memory, this moment, Edge Server can send the address that HTTP request user obtains best central store server to routing server, for the user provides content service.
In sum, realize method, the Apparatus and system that HTML (Hypertext Markup Language) is redirected in a kind of content distributing network that the embodiment of the invention provides, from technical standpoint, the requesting party who initiates to be redirected initiates redirect request by the mode with UDP, substituted with the reciprocal process of two message and existingly to have initiated to be redirected the reciprocal process that needs 10 message, improved the speed of redirection process in the CDN network based on TCP; In addition,, improved the time of CDN response user request, shortened the user asks to get access to the content of beginning from click delay from user perspective.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (14)

1. ask the redirected method of HTML (Hypertext Markup Language) in a content distributing network, it is characterized in that, comprising:
Routing server in content distributing network CDN sends HTML (Hypertext Markup Language) HTTP redirection request; This request is based on that the user datagram protocol UDP mode sends;
Receive the response that described routing server returns, comprise redirected destination server address in this response and ask used mode to be indicated to described destination server initiation HTTP;
According to the mode of indicating in the described response, initiate the HTTP request to described destination server.
2. method according to claim 1 is characterized in that, described method also comprises:
The UDP mode is set initiates described redirect request for the acquiescence send mode, perhaps, the domain name that specific suffix is arranged for configuration is provided with preferentially and initiates described redirect request based on the UDP mode.
3. method according to claim 2 is characterized in that, described method also comprises:
Overtime or routing server is not supported under the situation of UDP mode in definite described redirect request, uses instead based on transmission control protocol TCP mode and initiates described redirect request.
4. according to claim 1 or 3 described methods, it is characterized in that, further comprise:
The response that described routing server returns is discerned, comprised an extended field in the described response, described extended field is used to indicate initiates the used mode of HTTP request, and described mode comprises TCP or UDP;
Mode according to described extended field indication is initiated described HTTP request to described destination server.
5. the terminal equipment in the content distributing network is characterized in that, comprising:
First sending module is used for sending the HTTP redirection request to the routing server of content distributing network CDN; This request is based on that the UDP mode sends;
The response receiver module is used to receive the response that described routing server returns, and comprises redirected destination server address in this response and asks used mode to be indicated to described destination server initiation HTTP;
Second sending module is used for the mode of indicating according to described response, initiates the HTTP request to described destination server.
6. terminal equipment according to claim 5 is characterized in that, described terminal equipment also comprises:
Configuration module is used to be provided with the UDP mode and initiates described redirect request for the acquiescence send mode, and perhaps, the domain name that specific suffix is arranged for configuration is provided with preferentially to initiate described redirect request based on the UDP mode.
7. terminal equipment according to claim 6 is characterized in that, described first sending module also is used for:
After initiating described redirect request with the send mode of described dispensing unit configuration, overtime or routing server is not supported to use instead based on the TCP mode and initiate described redirect request under the situation of UDP mode in definite described redirect request.
8. according to claim 5 or 7 described terminal equipments, it is characterized in that described second sending module comprises:
Recognition unit is used for the response that described routing server returns is discerned, and comprises an extended field in the described response, and described extended field is used to indicate initiates the used mode of HTTP request, and described mode comprises TCP or UDP;
Transmitting element is used for initiating described HTTP request according to the mode of described extended field indication to described destination server.
9. according to arbitrary described terminal equipment in the claim 5 to 7, it is characterized in that described terminal equipment comprises the internal unit with the user side of CDN network interaction or CDN network; Described routing server comprises the routing server equipment in the CDN network; Described destination server comprises the equipment that content finally can be provided in the CDN network.
10. the CDN routing server in the content distributing network is characterized in that, comprising:
The request receiver module is used for the HTTP redirection request that receiving terminal apparatus sends; This request is that terminal equipment sends based on the UDP mode;
The response sending module is used for returning response at described redirect request to described terminal equipment, comprises redirected destination server address in this response and asks used mode to be indicated to described destination server initiation HTTP.
11. CDN routing server according to claim 10 is characterized in that, the request receiver module comprises:
Receiving element, the acquiescence mode that is used to receive described terminal equipment setting is initiated described redirect request for the UDP mode, perhaps, receive described terminal equipment for the configuration the domain name that specific suffix is arranged, setting preferentially to initiate described redirect request based on the UDP mode;
Identifying unit is used to judge self whether to support the described redirect request that sends in described U DP mode, when determining to support described U DP mode, indicates described response sending module to return described response to terminal equipment; When determining not support described UDP mode, send it back and should or respond to described terminal equipment;
Described receiving element also is used for receiving described terminal equipment and initiating the HTTP redirection request based on the TCP mode when described terminal equipment is determined described redirect request that local terminal do not support that described UDP mode sends.
12., it is characterized in that the response sending module comprises according to claim 10 or 11 described CDN routing servers:
Setup unit is used for increasing an extended field in the response of returning to described terminal equipment,, described extended field is used to indicate described terminal equipment to initiate the used mode of HTTP request to destination server, and described mode comprises TCP or UDP;
Response unit is used for comprising to described terminal equipment feedback the response of described extended field.
13., it is characterized in that described terminal equipment comprises the internal unit with the user side of CDN network interaction or CDN network according to claim 10 or 11 described routing servers; Described routing server comprises the routing server equipment in the CDN network; Described destination server comprises the equipment that content finally can be provided in the CDN network.
14. realize the system that HTML (Hypertext Markup Language) is redirected in the content distributing network, it is characterized in that, comprise
Terminal equipment is used for sending the HTTP redirection request to routing server; This request is based on that the UDP mode sends; Receive the response that described routing server returns, comprise redirected destination server address in this response and ask used mode to be indicated to described destination server initiation HTTP; According to the mode of indicating in the described response, initiate the HTTP request to described destination server;
Routing server is used to receive the described redirect request that described terminal equipment sends; Return response at described redirect request to described terminal equipment, comprise in this response that terminal equipment is to the address of the destination server that is redirected and initiate the used mode of HTTP request to described destination server and indicate.
CN2010105697767A 2010-11-26 2010-11-26 Method, device and system for realizing reorientation of hypertext transfer protocol in content delivery network Pending CN102143204A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010105697767A CN102143204A (en) 2010-11-26 2010-11-26 Method, device and system for realizing reorientation of hypertext transfer protocol in content delivery network
PCT/CN2011/074490 WO2011137809A1 (en) 2010-11-26 2011-05-23 Method, apparatus and system for realizing hypertext transfer protocol redirection in content delivery network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105697767A CN102143204A (en) 2010-11-26 2010-11-26 Method, device and system for realizing reorientation of hypertext transfer protocol in content delivery network

Publications (1)

Publication Number Publication Date
CN102143204A true CN102143204A (en) 2011-08-03

Family

ID=44410424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105697767A Pending CN102143204A (en) 2010-11-26 2010-11-26 Method, device and system for realizing reorientation of hypertext transfer protocol in content delivery network

Country Status (2)

Country Link
CN (1) CN102143204A (en)
WO (1) WO2011137809A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917076A (en) * 2012-11-16 2013-02-06 网宿科技股份有限公司 Redundancy encoding-based HTTP (Hyper Text Transport Protocol) message transmission, sending and receiving method
WO2014114086A1 (en) * 2013-01-22 2014-07-31 中兴通讯股份有限公司 Hypertext transfer protocol living streaming content distribution method, system and device
WO2015061938A1 (en) * 2013-10-28 2015-05-07 华为技术有限公司 Method, device and system for redirecting data service proxy
CN105872028A (en) * 2016-03-25 2016-08-17 努比亚技术有限公司 Server, client, and access policy management method
CN105897767A (en) * 2016-06-16 2016-08-24 乐视控股(北京)有限公司 Scheduling method, equipment and system and scheduling response method and equipment
CN106453123A (en) * 2016-09-30 2017-02-22 广州视睿电子科技有限公司 Cross-region business processing method and apparatus
CN107426228A (en) * 2017-08-02 2017-12-01 上海斐讯数据通信技术有限公司 A kind of application authentication method and system based on UDP transmission
US9871722B2 (en) 2011-12-02 2018-01-16 Huawei Technologies Co., Ltd. Content delivery network routing method, system and user terminal
CN108270829A (en) * 2016-12-30 2018-07-10 阿里巴巴集团控股有限公司 Resource dissemination processing method and processing device
CN108600281A (en) * 2017-03-16 2018-09-28 杭州海康威视数字技术股份有限公司 A kind of cloud storage system, media data storage method and system
CN108781232A (en) * 2015-12-03 2018-11-09 微软技术许可有限责任公司 Protocol fallback during signaling of conversing
CN109561058A (en) * 2017-09-27 2019-04-02 中兴通讯股份有限公司 A kind of media server reorientation method, apparatus and system based on udp protocol
CN109818905A (en) * 2017-11-21 2019-05-28 中国移动通信有限公司研究院 A kind of method, network element device and the system of transport layer protocol adaptation
CN110495155A (en) * 2017-03-24 2019-11-22 奥兰治 Method for recommending communication stack
CN111163133A (en) * 2015-08-28 2020-05-15 华为技术有限公司 Network system and network communication method
CN114785778A (en) * 2022-03-10 2022-07-22 聚好看科技股份有限公司 Gateway apparatus and content distribution method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107624231B (en) * 2016-12-02 2021-06-04 达闼机器人有限公司 Method, device, server and computer program product for transmitting and receiving data

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808118A (en) * 2010-03-02 2010-08-18 浪潮(北京)电子信息产业有限公司 Access method, device and system of server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1551569A (en) * 2003-04-08 2004-12-01 Adv通讯公司 Transmission method of multimedia data over a network
US20060095573A1 (en) * 2004-11-01 2006-05-04 Microsoft Corporation Delayed HTTP response
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808118A (en) * 2010-03-02 2010-08-18 浪潮(北京)电子信息产业有限公司 Access method, device and system of server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘洋等: "基于SIP协议的IP电话技术", 《计算机技术与发展》, vol. 16, no. 4, 30 April 2006 (2006-04-30) *
王超: "基于混合TCP-UDP的HTTP协议实现方法", 《单片机与嵌入式系统应用》, 28 February 2003 (2003-02-28) *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9871722B2 (en) 2011-12-02 2018-01-16 Huawei Technologies Co., Ltd. Content delivery network routing method, system and user terminal
CN102917076B (en) * 2012-11-16 2016-04-13 网宿科技股份有限公司 Based on the HTTP message transmission method of redundancy encoding
CN102917076A (en) * 2012-11-16 2013-02-06 网宿科技股份有限公司 Redundancy encoding-based HTTP (Hyper Text Transport Protocol) message transmission, sending and receiving method
WO2014114086A1 (en) * 2013-01-22 2014-07-31 中兴通讯股份有限公司 Hypertext transfer protocol living streaming content distribution method, system and device
WO2015061938A1 (en) * 2013-10-28 2015-05-07 华为技术有限公司 Method, device and system for redirecting data service proxy
CN111163133B (en) * 2015-08-28 2022-03-11 华为技术有限公司 Network system and network communication method
CN111163133A (en) * 2015-08-28 2020-05-15 华为技术有限公司 Network system and network communication method
CN108781232A (en) * 2015-12-03 2018-11-09 微软技术许可有限责任公司 Protocol fallback during signaling of conversing
CN105872028A (en) * 2016-03-25 2016-08-17 努比亚技术有限公司 Server, client, and access policy management method
CN105897767A (en) * 2016-06-16 2016-08-24 乐视控股(北京)有限公司 Scheduling method, equipment and system and scheduling response method and equipment
WO2017215144A1 (en) * 2016-06-16 2017-12-21 乐视控股(北京)有限公司 Scheduling method, device and system, and scheduling response method and device
CN106453123A (en) * 2016-09-30 2017-02-22 广州视睿电子科技有限公司 Cross-region business processing method and apparatus
CN108270829A (en) * 2016-12-30 2018-07-10 阿里巴巴集团控股有限公司 Resource dissemination processing method and processing device
CN108270829B (en) * 2016-12-30 2021-08-03 阿里巴巴集团控股有限公司 Resource distribution processing method and device
CN108600281A (en) * 2017-03-16 2018-09-28 杭州海康威视数字技术股份有限公司 A kind of cloud storage system, media data storage method and system
CN108600281B (en) * 2017-03-16 2021-12-31 杭州海康威视数字技术股份有限公司 Cloud storage system, media data storage method and system
EP3603024B1 (en) * 2017-03-24 2021-11-24 Orange Method for recommending a communication stack
CN110495155A (en) * 2017-03-24 2019-11-22 奥兰治 Method for recommending communication stack
WO2019024197A1 (en) * 2017-08-02 2019-02-07 上海斐讯数据通信技术有限公司 Application authentication method and system based on udp transmission
CN107426228A (en) * 2017-08-02 2017-12-01 上海斐讯数据通信技术有限公司 A kind of application authentication method and system based on UDP transmission
CN109561058A (en) * 2017-09-27 2019-04-02 中兴通讯股份有限公司 A kind of media server reorientation method, apparatus and system based on udp protocol
WO2019100831A1 (en) * 2017-11-21 2019-05-31 中国移动通信有限公司研究院 Transmission layer protocol adaptation method, and network element device and system
CN109818905A (en) * 2017-11-21 2019-05-28 中国移动通信有限公司研究院 A kind of method, network element device and the system of transport layer protocol adaptation
CN109818905B (en) * 2017-11-21 2022-06-03 中国移动通信有限公司研究院 Method, network element equipment and system for adapting transport layer protocol
CN114785778A (en) * 2022-03-10 2022-07-22 聚好看科技股份有限公司 Gateway apparatus and content distribution method
CN114785778B (en) * 2022-03-10 2023-09-01 聚好看科技股份有限公司 Gateway device and content distribution method

Also Published As

Publication number Publication date
WO2011137809A1 (en) 2011-11-10

Similar Documents

Publication Publication Date Title
CN102143204A (en) Method, device and system for realizing reorientation of hypertext transfer protocol in content delivery network
US7139813B1 (en) Timedependent hyperlink system in videocontent
CN1879081B (en) Cache server at hotspots for downloading services
CN101997759B (en) Service implementation method and service system
CN101156407B (en) Method for supplying content through communication network
US7453993B2 (en) Apparatus and method for a world wide web-based directory with automatic call capability
US20050038874A1 (en) System and method for downloading data using a proxy
US20100121914A1 (en) Contents delivery system and method based on content delivery network provider and replication server thereof
CN102271165B (en) Device and method for sharing and managing resources searched on Internet
JP2008015593A (en) Repeater, program, relay method and communication system
EP1139631A1 (en) Method of initiating a data transfer from a server to a client
CN102158518B (en) Data transmission method in content distribution network (CDN), network node and system
CN101202716A (en) Method for storing information and communication system and related devices
US7293069B2 (en) Method and apparatus for supplying network path bookmark information remotely to a mobile device
CN101741769A (en) Redirection method for gateway and webpage
CN106604119A (en) Network penetrating method and system of intelligent TV private cloud equipment
CN100377522C (en) OMA download realizing method in content distributing network
CN101378407A (en) Method, system and equipment for pushing information
KR101346394B1 (en) Multimedia ring tone display method and system for instant messaging
CN105027610B (en) Delivery method, the apparatus and system of network video
JP5029495B2 (en) Event control program, event control method, and event control apparatus
JP2012108909A (en) File transmission management system and file transmission controlling method for supporting file transmission on mobile messaging service
EP1274017A1 (en) Electronic document delivery
JP4908671B2 (en) Image communication apparatus and image management method thereof
Wright et al. A reliable multicast webcast protocol for multimedia collaboration and caching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110803