CN101064729B - System and method for realizing FTP download service through CDN network - Google Patents

System and method for realizing FTP download service through CDN network Download PDF

Info

Publication number
CN101064729B
CN101064729B CN 200610076642 CN200610076642A CN101064729B CN 101064729 B CN101064729 B CN 101064729B CN 200610076642 CN200610076642 CN 200610076642 CN 200610076642 A CN200610076642 A CN 200610076642A CN 101064729 B CN101064729 B CN 101064729B
Authority
CN
China
Prior art keywords
ftp
user
service
server
cdn
Prior art date
Application number
CN 200610076642
Other languages
Chinese (zh)
Other versions
CN101064729A (en
Inventor
广小明
杨占宏
杨明川
谭国权
雷葆华
Original Assignee
中国电信股份有限公司
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 中国电信股份有限公司 filed Critical 中国电信股份有限公司
Priority to CN 200610076642 priority Critical patent/CN101064729B/en
Publication of CN101064729A publication Critical patent/CN101064729A/en
Application granted granted Critical
Publication of CN101064729B publication Critical patent/CN101064729B/en

Links

Abstract

The invention discloses CDN system and method to realize the distributed FTP service, the system includes: media source library that works as the FTP download content source of CDN system; managing support system, which manages the FTP download business of CDN system and device management; content route/load balanced system, which is used in the whole CDN system, and schedules the requirement of FTP download content to certain service spot; CDN node network, which works as the device cluster providing FTP download service; and user terminal which is used to download FTP in the CDN system.

Description

通过CDN网络实现FTP下载服务的系统和方法 System and method to achieve FTP download service through the CDN network

技术领域 FIELD

[0001] 本发明涉及数据通信。 [0001] The present invention relates to data communications. 更具体地说,本发明涉及一种通过CDN网络实现FTP下载服务的系统和方法。 More particularly, the present invention relates to a system and method for implementing a FTP download service through the CDN network. 基于CDN(内容分发网络)网络,本发明实现了一种分布式FTP下载服务系统及其方法。 Based CDN (Content Delivery Network) network, the present invention implements a distributed system and method for FTP download service.

背景技术 Background technique

[0002] 随着宽带互联网的发展,下载已成为一种主要的网络应用。 [0002] With the development of broadband Internet, downloading has become a major network applications. 根据CNNIC调查显示, 对上网经常使用的网络功能调查中37%的用户选择下载。 According to CNNIC survey, the survey of the network access functions frequently used 37% of users to download. 其中,由于FTP下载方式具备传输速度快、连接稳定和具备断点续传等功能,更是被广泛采用。 Wherein, due to the embodiment includes a FTP download transmission speed, stable connection and includes features such as HTTP, it is widely used.

[OOOS] FTP下载服务基于FTP (文件传输协议)实现,采用C/S (即客户端/服务器)的工作模式。 [OOOS] FTP download service FTP (file transfer protocol), using the C / S (i.e., client / server) based on the operating mode. 传统的实现方式是一种简单的多对一结构,即在中心架设一台FTP服务器,多个用户终端通过FTP客户端向这台服务器发出请求,此服务器对各客户机分别作出应答,如图1 所示。 Traditional implementation is many-a simple structure that an FTP server set up in the center, a plurality of user terminals makes a request to this server by FTP client, the server responds to the respectively each client as 1 shown in FIG. 这种方法的主要缺点就是随着FTP用户的增加,FTP服务器本身的性能将成为整个系统的瓶颈。 The main disadvantage of this method is that with the increase in the FTP user, FTP server performance itself will become the bottleneck of the whole system. 导致服务器的网络传输效率会显著下降,表现为数据传输速度不稳定,服务器对请求响应迟缓,甚至拒绝应答。 Resulting in server network transmission efficiency will be significantly decreased, showing the data transmission speed is unstable, slow server response to the request, and even refused to answer.

[0004] 为了解决这一问题,也曾提出一些简单的解决方法。 [0004] In order to solve this problem, we have raised some simple solutions.

[0005] 第一种方法是采用FTP服务器集群的方式,如图2的结构所示。 [0005] The first method is to use an FTP server cluster embodiment, the structure shown in Figure 2. 通过一个负载均衡交换机并行连接多台服务器,提高并发服务能力。 Concurrent connections to multiple servers via a load balancing switches, improve concurrent service capabilities. 这一方法解决了服务器性能的问题,但由于用户的所有请求都汇聚到了一点,产生很大的骨干网络流量,又容易造成网络带宽瓶颈, 同时该解决方案的成本很高。 This approach solves the problem of server performance, but because of all the requests of users converge to a point, have a great backbone network traffic, network bandwidth bottlenecks and easy to create, but this solution is costly solutions.

[0006] 第二种方法则是有些FTP系统采用了人为限制客户机到服务器的并发连接数,以 [0006] The second method is that some system uses FTP artificially limit the number of concurrent connections to a server client to

保证大多数客户机拥有较快的应答速度,但这种方式意味着FTP服务器在某个时间段要抛 Ensure that most clients have a faster response speed, but in this way means that the FTP server in a certain period of time to throw

弃部分用户,且无法满足业务增长的需要,所以这种解决方法并不合理。 Abandoned part of the user, and can not meet the needs of business growth, so this solution is unreasonable.

[0007] 另外,目前基于CDN技术的Web缓存技术和流媒体分发技术已经基本成熟,并已大 [0007] In addition, the current Web caching and streaming media distribution technology based on CDN technology has matured, and has a large

规模的部署和应用。 Deploy and scale applications. CDN技术可以用于分发Web内容,提高页面访问速度;同时也是一种能 CDN technology can be used to distribute Web content, improve the speed of page views; also a kind of energy

够有效缓解流媒体传输的高吞吐率对骨干网络带宽带来的压力,同时提升流媒体服务质量 Enough to effectively alleviate the pressure of high-throughput streaming media transmission backbone network bandwidth brings, while improving the quality of streaming service

的有效手段。 Effective means. CDN的核心思想是将内容从中心推倒边缘靠近用户的地方,这样,不但有效提 CDN's core idea is to tear down the content from a central place near the edge of the user, so that not only effectively improve

高了用户访问内容的性能,而且有效减轻了中心设备和骨干网络的压力。 High performance user access to content, and effectively reduce the center of pressure equipment and backbone networks. 通过CDN,可以将 By CDN, you can

内容服务从原来的单一中心结构变为分布式的结构。 Content services from the original structure into a distributed single central structure.

发明内容 SUMMARY

[0008] 有鉴于此,本发明提出一种通过CDN网络实现FTP下载服务的系统和方法。 [0008] Accordingly, the present invention provides a system and method for implementing a FTP download service through the CDN network. 基于CDN网络的内容分发能力,本发明实现了一种改进的、可实现分布式FTP服务的系统和方法。 CDN-based content delivery network capacity, the present invention achieves an improved system and method for distributed FTP service may be implemented.

[0009] 根据本发明的一个方面,为了实现上述目的,本发明提供一种可实现分布式FTP 服务的CDN系统,其特征在于包括:媒体资源库,用作整个CDN系统的FTP下载内容源;管 [0009] In accordance with one aspect of the present invention, in order to achieve the above object, the present invention provides a distributed system may be implemented CDN FTP service, characterized by comprising: a media repository, as FTP downloads the entire source CDN system; tube

6理支撑系统,负责整个CDN系统的FTP下载的业务和设备管理;内容路由/负载均衡系统,用于在整个CDN网络中,将用户的FTP下载内容请求调度到一个特定的服务点;CDN节点网络,用作CDN网络中面向用户提供FTP下载服务的设备集群;以及用户终端,用于从CDN系统中进行FTP下载。 Management support system 6, is responsible for the entire FTP download CDN service and system management apparatus; Content Routing / load balancing system for the entire network, CDN, the FTP downloads user requests to a particular scheduling service point; CDN node network, as the CDN network users provide FTP download service for device cluster; and a user terminal for performing FTP download from the CDN system.

[0010] 根据本发明的另一个方面,为了实现上述目的,本发明提供一种内容发布和分发方法,其特征在于包括步骤:内容管理服务器向FTPCache下发内容分发指令,告知其内容源的信息;FTP Cache向内容源服务器发起内容下载请求;内容从FTP源服务器下载到FTPCache ;FTP Cache将发送成功的结果返回给内容管理服务器;以及内容管理服务器根据内容的文件名、存放的位置信息,添加CDN服务标识,生成URL信息,将其发布到门户服务器上。 [0010] According to another aspect of the present invention, in order to achieve the above object, the present invention provides a content distribution method and distribution, comprising the steps of: distributing instruction to the content management server delivers content FTPCache, inform the content source information ; FTP Cache initiates a content source server content download request; content downloaded from the FTP source server to FTPCache; FTP Cache sends the successful results back to the content management server; and location content management server based on the file name of the content, storage, add CDN service marks, generates URL information, post it on the portal server.

[0011] 根据本发明的再一个方面,为了实现上述目的,本发明提供一种通过CDN网络实现FTP下载服务的方法,其特征在于包括步骤:业务引导,将用户的请求调度到离其最近的、最合适的FTP Cache上;业务认证,对用户的业务请求进行认证授权,在确定用户的合法性后提供服务;以及服务提供,向用户提供服务,并对服务提供过程中进行必要的服务控制。 [0011] According to a further aspect of the present invention, in order to achieve the above object, the present invention provides a method for implementing a CDN FTP download service network, characterized by comprising the step of: a service guide, to the scheduled user requests from its nearest , the most appropriate FTP Cache; service authentication, user authentication service request authorization to provide services in determining the validity of the user; and a service provider to provide services to users, and the service provided during the service control necessary .

[0012] 根据本发明的另一个方面,为了实现上述目的,本发明提供一种通过CDN网络实现FTP下载服务的方法,其特征在于包括步骤:用户终端访问门户服务器,点击URL链接获取服务;根据用户终端的CDN标识,将全局负载均衡设备的IP地址返回给用户终端;用户终端向全局负载均衡设备发起请求;全局负载均衡设备判断用户'地址,根据就近性原则返回到用户终端最近的本地负载均衡设备的地址给用户终端;用户终端向本地负载均衡设备发起请求;本地负载均衡设备将用户信息发送到认证服务器进行认证;若认证通过,则认证服务器通知本地负载均衡设备认证通过,否则认证服务器向用户终端返回拒绝服务消息;在认证通过后,本地负载均衡设备向策略管理服务器发起请求;策略管理服务器生成用户访问FTP Cache所用的用户名和密码,并生成相应的策略;策 [0012] According to another aspect of the present invention, in order to achieve the above object, the present invention provides a method for implementing a FTP download service through the CDN network, comprising the steps of: a user terminal accesses the portal server, click on the URL to obtain service; The CDN identifying the user terminal, the IP address of the global load balancing device is returned to the user terminal; user terminal device sends a request to the global load balancing; global load balancing device determines that the user 'address, returns to the user the nearest local load terminal according to the proximity advises address equalization apparatus to the user terminal; user terminal device sends a request to the local load balancing; local load balancing device transmits the user information to the authentication server for authentication; if the authentication is passed, the authentication server notifies the local load balancing device authentication, or authentication server denial of service to the user terminal returns a message; after the authentication, local load balancing device initiates a request to the policy management server; policy management server generates user access FTP Cache using the same user name and password, and generate the appropriate policy; policy 略管理服务器将所生成的用户名、密码、以及相关策略返回给本地负载均衡设备;本地负载均衡设备判断内容是否本地命中;在判断本地命中时,本地负载均衡设备根据内容分布、负载情况,选择合适的FTPCache,将其地址、用户名和密码等信息返回给用户终端;用户终端向FTP Cache发起FTP下载请求;FTP Cache将用户请求中的用户名和密码信息送至策略管理服务器进行验证;验证通过后,策略管理服务器向FTP Cache下发策略;以及FTP Cache根据策略管理服务器设定的策略为用户终端提供服务,进行数据传输。 Strategic management server generated user name, password, and related policy back to the local load balancing equipment; local load balancing device determines whether the contents of local hits; when determining local hit, the local load balancing device based on content distribution, load, select after verification by; suitable FTPCache, its information address, user name and password back to the user terminal; user terminal initiates FTP download request to the FTP Cache; FTP Cache username and password information user request to the policy management server for authentication. , the policy management server delivers the policy to the FTP Cache; and FTP Cache service for the user terminal according to a policy set by the policy management server, for data transmission.

[0013] 根据本发明的再一个方面,为了实现上述目的,本发明提供一种通过CDN网络实现FTP下载服务的方法,其特征在于包括步骤:用户终端访问门户服务器,点击URL链接获取服务;根据用户终端的CDN标识,将全局负载均衡设备的IP地址返回给用户终端;用户终端向全局负载均衡设备发起请求;全局负载均衡设备判断用户IP地址,根据就近性原则返回到用户终端最近的本地负载均衡设备的地址给用户终端;用户终端向本地负载均衡设备发起请求;本地负载均衡设备选择合适的FTP Cache,将其地址返回给用户终端,从而将用户终端重定向到FTP Cache ;用户终端向FTP Cache发起FTP下载请求;FTP Cache将用户信息发送到认证服务器进行认证;若认证通过,则认证服务器通知FTP Cache认证通过;在通过认证之后,FTP Cache向策略管理服务器发起请求;策略管理服务器生成用户 [0013] According to a further aspect of the present invention, in order to achieve the above object, the present invention provides a method for implementing a FTP download service through the CDN network, comprising the steps of: a user terminal accesses the portal server, click on the URL to obtain service; The CDN identifying the user terminal, the IP address of the global load balancing device is returned to the user terminal; user terminal device sends a request to the global load balancing; global load balancing device determines that the user IP address, returns to the user's most recent local load terminal according to the proximity advises equalization apparatus address to the user terminal; user terminal device sends a request to the local load balancing; local load balancing apparatus the Cache select the appropriate FTP, its address is returned to the user terminal, so as to redirect the user terminal to the Cache FTP; FTP to the user terminal Cache initiate FTP download request; FTP Cache sends the user information to the authentication server for authentication; if authenticated, the authentication server notifies the FTP Cache authentication; after certification, FTP Cache initiate a request to the policy management server; policy management server generates user 问FTP服务器所用的用户名和密码,并生成相应的策略;策略管理服务器将所生成的用户名、密码、以及相关策略返回给FTP Cache ;判断内容是否本地命中;在内容本地命中时,用户终端向FTP Cache中的FTP服务器发起FTP下载请求;FTP Cache中的FTP服务器将用户请求中的用户名和密码信息送至策略管理服务器进行验证;验证通过后,策略管理服务器向FTPCache中的FTP服务器下发策略;FTP Cache中的FTP服务器根据策略管理服务器设定的策略为用户终端提供服务,进行数据传输。 Q. FTP server using the same user name and password, and generates the corresponding policy; policy management server generated user name, password, and related strategies to return to the FTP Cache; determine whether the contents of local hits; when the contents of a local hit, the user terminal to FTP Cache the FTP server initiates FTP download request; the FTP Cache FTP server user name and password information user request to the policy management server for authentication; after verification by, the policy management server sends the policy to the next FTPCache the FTP server ; in the Cache FTP server FTP service for the user terminal according to a policy set by the policy management server, for data transmission.

[0014] 此外,本发明还提供一种计算机程序产品,该计算机程序产品包括在计算机可读存储介质中实施的程序代码,用于进行内容发布和分发,所述计算机程序代码包括实现下列步骤的计算机程序代码:内容管理服务器向FTP Cache下发内容分发指令,告知其内容源的信息;FTPCache向内容源服务器发起内容下载请求;内容从FTP源服务器下载到FTPCache ;FTP Cache将发送成功的结果返回给内容管理服务器;以及内容管理服务器根据内容的文件名、存放的位置信息,添加CDN服务标识,生成URL信息,将其发布到门户服务器上。 [0014] Further, the present invention also provides a computer program product, the computer program product comprising program code on a computer-readable storage medium of the embodiment, the content for publishing and distribution, the computer program code comprises the following steps to achieve computer program code for: the content management server to send the content distribution instruction under FTP Cache, notification information which content source; FTPCache initiating a content download request to the content source server; content download from the FTP source server to FTPCache; FTP Cache transmitting a successful result is returned to the content management server; and a content management server based on the content of the file name, location information is stored, add the CDN service marks, generates URL information, post it on the portal server.

[0015] 另外,本发明还提供一种计算机程序产品,该计算机程序产品包括在计算机可读存储介质中实施的程序代码,用于通过CDN网络实现FTP下载服务,所述计算机程序代码包括实现下列步骤的计算机程序代码:业务引导,将用户的请求调度到离其最近的、最合适的FTP Cache上;业务认证,对用户的业务请求进行认证授权,在确定用户的合法性后提供服务;以及服务提供,向用户提供服务,并对服务提供过程中进行必要的服务控制。 [0015] Further, the present invention also provides a computer program product, the computer program product comprising program code embodied in a computer-readable storage medium, for implementing a CDN FTP download service network, the computer program code includes implementations computer program code steps: a service guide, to the scheduled user requests from its nearest most suitable FTP Cache; service authentication, service request of the user authentication and authorization, service after determining the validity of the user; and service providers to provide services to users, and to provide the necessary service service control process. [0016] 此外,本发明还提供一种计算机程序产品,该计算机程序产品包括在计算机可读存储介质中实施的程序代码,用于通过CDN网络实现FTP下载服务,所述计算机程序代码包括实现下列步骤的计算机程序代码:用户终端访问门户服务器,点击URL链接获取服务;根据用户终端的CDN标识,将全局负载均衡设备的IP地址返回给用户终端;用户终端向全局负载均衡设备发起请求;全局负载均衡设备判断用户IP地址,根据就近性原则返回到用户终端最近的本地负载均衡设备的地址给用户终端;用户终端向本地负载均衡设备发起请求;本地负载均衡设备将用户信息发送到认证服务器进行认证;若认证通过,则认证服务器通知本地负载均衡设备认证通过,否则认证服务器向用户终端返回拒绝服务消息;在认证通过后,本地负载均衡设备向策略管理服务器发起请求; [0016] Further, the present invention also provides a computer program product, the computer program product comprising program code embodied in a computer-readable storage medium, for implementing a CDN FTP download service network, the computer program code includes implementations computer program code steps: user terminal accesses the portal server, click on the URL link for the service; according to CDN identify the user terminal, the IP address of the global load balancing equipment is returned to the user terminal; user terminal equipment sends a request to the global load balancing; global load equalization apparatus determines that the user IP address, returns accordance nearest principle to address the nearest local load balancing apparatus of a user terminal to the user terminal; user terminal device sends a request to the local load balancing; local load balancing device transmits the user information to the authentication server for authentication. ; if authenticated, the authentication server notifies the local load balancing device authentication, or authentication server to the user terminal returns a denial of service messages; after the authentication, local load balancing device initiates a request to the policy management server; 略管理服务器生成用户访问FTP Cache所用的用户名和密码,并生成相应的策略;策略管理服务器将所生成的用户名、密码、以及相关策略返回给本地负载均衡设备;本地负载均衡设备判断内容是否本地命中;在判断本地命中时,本地负载均衡设备根据内容分布、负载情况,选择合适的FTP Cache,将其地址、用户名和密码等信息返回给用户终端;用户终端向FTP Cache发起FTP下载请求;FTP Cache将用户请求中的用户名和密码信息送至策略管理服务器进行验证;验证通过后,策略管理服务器向FTP Cache下发策略;以及FTP Cache根据策略管理服务器设定的策略为用户终端提供服务,进行数据传输。 Strategic management server generates a user access to FTP Cache using the same user name and password, and generates the corresponding policy; policy management server generated user name, password, and related policy back to the local load balancing equipment; local load balancing device determines whether the content locally miss; when determining local hit, the local load balancing device according to a content distribution, load, select the appropriate FTP the Cache, it returns information its address, user name and password to the user terminal; user terminal initiates the FTP download requests to FTP the Cache; FTP Cache user name and password information of the user request to the policy management server for authentication; after the verification, the policy management server delivers the policy to the FTP Cache; Cache and the FTP service for the user terminal according to a policy set by the policy management server, for data transmission.

[0017] 另外,本发明还提供一种计算机程序产品,该计算机程序产品包括在计算机可读存储介质中实施的程序代码,用于通过CDN网络实现FTP下载服务,所述计算机程序代码包括实现下列步骤的计算机程序代码:用户终端访问门户服务器,点击URL链接获取服务;根据用户终端的CDN标识,将全局负载均衡设备的IP地址返回给用户终端;用户终端向全局负载均衡设备发起请求;全局负载均衡设备判断用户IP地址,根据就近性原则返回到用户终端最近的本地负载均衡设备的地址给用户终端;用户终端向本地负载均衡设备发起请求;本地负载均衡设备选择合适的FTP Cache,将其地址返回给用户终端,从而将用户终端重定向到FTP Cache ;用户终端向FTP Cache发起FTP下载请求;FTP [0017] Further, the present invention also provides a computer program product, the computer program product comprising program code embodied in a computer-readable storage medium, for implementing a CDN FTP download service network, the computer program code includes implementations computer program code steps: user terminal accesses the portal server, click on the URL link for the service; according to CDN identify the user terminal, the IP address of the global load balancing equipment is returned to the user terminal; user terminal equipment sends a request to the global load balancing; global load equalization apparatus determines that the user IP address, returns accordance nearest principle to address the nearest local load balancing apparatus of a user terminal to the user terminal; user terminal device sends a request to the local load balancing; local load balancing device to select the appropriate FTP Cache, its address returned to the user terminal, so as to redirect the user terminal to the Cache FTP; FTP user terminal initiates a download request to the Cache FTP; FTP

[0018] Cache将用户信息发送到认证服务器进行认证;若认证通过,则认证服务器通知FTP Cache认证通过;在通过认证之后,FTP Cache向策略管理服务器发起请求;策略管理服务器生成用户访问FTP服务器所用的用户名和密码,并生成相应的策略;策略管理服务器将所生成的用户名、密码、以及相关策略返回给FTP Cache ;判断内容是否本地命中;在内容本地命中时,用户终端向FTP Cache中的FTP服务器发起FTP下载请求;FTP Cache中的FTP服务器将用户请求中的用户名和密码信息送至策略管理服务器进行验证;验证通过后,策略管理服务器向FTP Cache中的FTP服务器下发策略;FTP Cache中的FTP服务器根据策略管理服务器设定的策略为用户终端提供服务,进行数据传输。 [0018] Cache transmits the user information to the authentication server for authentication; if the authentication is passed, the authentication server notifies the FTP the Cache authentication; after certification, FTP the Cache initiates a request to the policy management server; the policy management server generates a user to access the FTP server used the user name and password, and generates the corresponding policy; policy management server generated user name, password, and related strategies to return to the FTP Cache; determine whether the contents of local hits; when hit in the contents of the local user terminal to the FTP Cache of FTP server initiates FTP download request; FTP Cache the FTP server user name and password information user request to the policy management server for authentication; after verification by, the policy management server sends the policy to lower the FTP Cache FTP server; FTP Cache the FTP server to serve a user terminal according to a policy set by the policy management server, for data transmission.

[0019] 根据本发明的上述通过CDN网络实现FTP下载服务的系统、方法及计算机程序产品,能够实现分布式FTP服务,可以大大提高FTP下载的服务能力。 System [0019] FTP download service implemented by the CDN according to the above present invention, method and computer program product can be distributed to achieve the FTP service, can greatly improve the service capacity FTP download.

[0020] 另外,根据本发明的上述通过CDN网络实现FTP下载服务的系统、方法及计算机程序产品,还能够提高整个系统对用户的服务能力,降低骨干网络流量,保证服务质量,提高用户体验。 [0020] Further, to achieve FTP download service according to the above through the CDN according to the present invention, systems, methods and computer program products, can also improve overall system service capability of the user, reducing the backbone network traffic, guarantee quality of service, improve the user experience.

[0021] 此外,根据本发明的上述通过CDN网络实现FTP下载服务的系统、方法及计算机程序产品,内容分布式存放,提高了整个系统的性能和可靠性。 [0021] Further, to achieve the above-described the present invention by the CDN service FTP download system, method and computer program product, distributed content storage, improves the performance and reliability of the overall system.

[0022] 另一方面,根据本发明的上述通过CDN网络实现FTP下载服务的系统、方法及计算机程序产品,提供了完善的用户认证、鉴权和防盗链功能,且由于大部分用户的请求由CDN节点提供服务,对源服务器提供了保护,提高了整个系统的安全性。 [0022] On the other hand, to achieve the above-described FTP download service through the network of the present invention CDN systems, methods and computer program products, provides a comprehensive user authentication, authorization, and security chain function, and since most users requested by CDN node to provide services, to provide protection from the source server to improve the security of the entire system.

[0023] 另外,根据本发明的上述通过CDN网络实现FTP下载服务的系统、方法及计算机程序产品,该系统对用户是透明的,用户使用FTP下载的方法和习惯保持不变。 [0023] Further, to achieve the above-described FTP download service through the CDN network system of the invention, a method and a computer program product, the system is transparent to the user, the user uses the FTP download method and habits remain unchanged.

附图说明 BRIEF DESCRIPTION

[0024] 本发明的细节,关于其结构和操作,可以参考附图来最好地理解,其中相似的参考 [0024] The details of the invention, its structure and operation, can best be understood with reference to the accompanying drawings, wherein like reference

数字指的是相似部分,并且其中: Numbers refer to like parts, and wherein:

[0025] 图1示出传统的FTP系统结构; [0025] Figure 1 shows a system configuration of a conventional FTP;

[0026] 图2示出采用服务器集群技术的增强的FTP系统结构;[0027] 图3示出根据本发明实施例的可实现分布式FTP服务的CDN系统结构图;[0028] 图4示出在根据本发明实施例的可实现分布式FTP服务的CDN系统中用户请求的内容路由过程; [0026] Figure 2 illustrates a server cluster using FTP art reinforced system configuration; [0027] FIG. 3 illustrates a CDN configuration diagram of an embodiment of the system of the present invention may be implemented in accordance with the FTP service distributed; [0028] FIG. 4 shows in the routing process content request according to an embodiment of the CDN system of the present invention may be implemented in a distributed FTP service user;

[0029] 图5是在根据本发明实施例的可实现分布式FTP服务的CDN系统中内容发布和分发流程的示意图; [0029] FIG. 5 is a schematic view of the flow of the publication and distribution system CDN embodiment of the present invention embodiments may be implemented in a distributed FTP service content;

[0030] 图6示出在根据本发明实施例的可实现分布式FTP服务的CDN系统中FTP下载服务(命中)的流程图; [0030] FIG. 6 shows a flowchart of an embodiment of the CDN system of the present invention may be implemented in a distributed FTP service FTP download service (hit) according to;

[0031] 图7示出在根据本发明实施例的可实现分布式FTP服务的CDN系统中FTP下载服务(未命中)的流程图;以及 [0031] FIG. 7 shows a flowchart FTP download service (miss) in the CDN system according to embodiments of the present invention may be implemented in a distributed FTP service; and

[0032] 图8示出在根据本发明实施例的可实现分布式FTP服务的CDN系统中FTP下载服务的另一种实现实例。 [0032] FIG. 8 illustrates another example of a CDN system implemented according to embodiments of the present invention may be implemented in a distributed FTP service FTP download service. 具体实施方式 Detailed ways

[0033] 下面参照附图对本发明进行更全面的描述,其中说明本发明的示例性实施例。 [0033] The following more fully described with reference to the accompanying drawings of the present invention, wherein the exemplary embodiments described exemplary embodiment of the present invention. However

而,本发明可以以多种不同形式实施,并且不应解释为受限于在此所述的实施例。 And, the present invention may be embodied in many different forms and should not be construed as limited to the embodiments herein described embodiments.

[0034] 本发明包含了利用CDN系统的内容分发能力来实现分布式FTP下载服务的系统和方法。 [0034] The present invention includes the ability to utilize CDN content distribution system to distributed systems and methods FTP download service.

[0035] 如图1所示,示出了根据本发明的实施例的可实现分布式FTP服务的CDN系统结构图。 [0035] FIG 1, there is shown a system configuration diagram of a distributed CDN FTP service may be implemented in an embodiment of the present invention. 该系统主要由五部分组成:媒体资源库IO,是整个CDN系统的内容源,由CDN管理支撑系统20统一管理,包括FTP服务器11和内容存储服务器12等;管理支撑系统20,负责整个CDN系统的业务和设备管理,包括内容管理服务器21、门户服务器(Portal) 22、认证服务器23、以及策略管理服务器24等;内容路由/负载均衡系统30,实现在整个CDN网络中,将用户的内容请求导向到一个特定的服务点的调度系统,包括全局负载均衡(GSLB)31和本地负载均衡(SLB) 32等;CDN节点网络40,是CDN网络中面向用户提供服务的设备集群,包括多个FTP Cache 41 ;以及用户终端51。 The system consists of five components: a media resource library IO, is the content source throughout the CDN system, 20 unified management by the CDN management support system, including FTP server 11 and the content storage server 12 and so on; management support system 20, responsible for the entire CDN system operations and equipment management, including the content management server 21, gateway server (portal) 22, the authentication server 23, and the policy management server 24 and the like; content routing / load balancing system 30, implemented throughout the CDN network, the user's content request dispatching system directed to a specific service point, including the global load balancing (GSLB) 31 and local load balancing (SLB) 32 and the like; CDN network nodes 40, is the CDN network providing services for the user device cluster, comprising a plurality of FTP Cache 41; and a user terminal 51.

[0036] FTP源服务器11是执行FTP分发的原始内容服务器,本系统的各个FTP Cache 41都通过该FTP源服务器11从内容存储服务器12中获取内容,该FTP源服务器11也可直接向用户提供服务。 [0036] FTP source server 11 performs the original content server FTP distribution, each FTP the Cache of the system 41 through the FTP source server 11 acquires content from the content storage server 12, the FTP source server 11 may also be provided directly to the user service.

[0037] 内容存储服务器12负责存储各种类型和格式的内容。 [0037] content storage server 12 is responsible for storing various types and formats.

[0038] 内容管理服务器21负责内容的发布、分发、查询和内容访问信息统计等功能。 [0038] the content management server 21 responsible for the content of the publication, distribution, content query and access information and statistics functions. [0039] 门户服务器(Portal) 22负责从CDN资源和服务系统中获取数据和服务,并整合在一个网页窗口中,统一展示给用户。 [0039] Portal Server (Portal) 22 is responsible for access to data and services from CDN resources and service systems, and integrated in a web page window, unified display to the user. 门户服务器(Portal) 22是用户服务的入口,用户通过点击该页面上的URL链接获取相应的服务。 Portal Server (Portal) 22 is the entry user services, users get the appropriate service by clicking on the URL link on the page.

[0040] 认证服务器23负责对用户身份、业务使用权限等信息进行认证和鉴权,并负责对用户的业务使用进行计费。 [0040] The authentication server 23 is responsible for user identity information, such as authentication services permissions and authentication, and is responsible for user service usage for billing purposes.

[0041] 策略管理服务器24是FTP服务策略的生成点,负责向用户分配FTP用户名和密码、制订服务策略、以及维护相关的数据信息。 [0041] 24 is to generate policy management server FTP service point strategy, responsible for the distribution to the user FTP user name and password, the development of service strategy, and maintains relevant data.

[0042] 全局负载均衡(GSLB)31根据就近性原则,将用户的访问请求导向到离用户最近的CDN网络节点。 [0042] Global Load Balancing (GSLB) 31 in accordance with the principle near the user's access request directed to the CDN network closest to the user node.

[0043] 本地负载均衡(SLB)32在CDN网络节点的多台FTP Cache 41中,选择一个最适合的FTP Cache为用户提供服务。 [0043] The local load balancing (SLB) 32 in multiple FTP Cache CDN network node 41, select a most suitable FTP Cache provide services for users.

[0044] FTP Cache 41是CDN系统的边缘服务设备,直接向用户提供服务。 [0044] FTP Cache 41 is an edge CDN service equipment system, to provide services directly to the user. 从用户的角度看,FTP Cache 41就是一个FTP服务器。 From the user's perspective, FTP Cache 41 is an FTP server.

[0045] 用户终端51为支持HTTP和FTP协议的客户端设备,用于发起服务访问和下载请求、执行下载操作,包括PC机、机顶盒或其他形态的终端。 [0045] The user terminal 51 to support the HTTP and FTP protocols client device for initiating service access and download request, the download operation, including a terminal PC, set-top box, or other forms.

[0046] 在根据本发明的可实现分布式FTP服务的CDN系统中,业务的实现主要包括以下几个步骤:业务引导,将用户的请求调度到离他最近的、最合适的FTP Cache 41上;业务认证,系统对用户的业务请求进行认证授权,在确定用户的合法性后提供服务;以及服务提供,系统向用户终端提供服务,并对服务提供过程中进行必要的服务控制。 The service guide, the user's request to dispatch the nearest, most suitable FTP Cache 41: [0046] In the distributed system may implement a CDN according to the present invention, the FTP service, the service is implemented mainly comprises the following steps ; authentication service, the system requests the user authentication and authorization services, service after determining the validity of the user; and a service providing system providing services to a user terminal, and the service providing the necessary service control process. [0047] 首先,对于业务引导,在根据本发明的可实现分布式FTP服务的CDN系统中,利用HTTP重定向机制和HTTP/FTP协议转换的方法实现对FTP请求的调度。 [0047] First, direct traffic, the system may be implemented in a distributed CDN FTP service according to the present invention, to achieve the scheduling request using the method of the FTP HTTP redirect mechanism and HTTP / FTP protocol conversion. 图4示出了在根据本发明实施例的可实现分布式FTP服务的CDN系统中用户请求的内容路由过程。 FIG. 4 shows the contents of a CDN routing process system according to embodiments of the present invention may be implemented in a distributed FTP service requested by the user. [0048] 由于标准的FTP协议不支持重定向机制,因此内容调度分为两个阶段来实现。 [0048] Since the standard FTP protocol does not support redirection mechanism, so the contents of the scheduling is implemented in two phases. 在第一阶段,用户访问Portal 22后(图4中的步骤S41),将获取一个HTTP格式的URL(图4中的步骤S42),用户通过HTTP协议发起访问请求(图4中的步骤S43),利用HTTP的重定向机制,内容路由/负载均衡系统30对用户的请求进行调度,经过GSLB31、SLB 32等设备,将最终确定一个FTP Cache 41为用户提供服务(图4中的步骤S44、 S45)。 In the first stage, (step S41 in FIG. 4) user access Portal 22, the format of an HTTP URL acquired (step S42 in FIG. 4), the user initiates the access request (step S43, FIG. 4) via the HTTP protocol using the HTTP redirect mechanism, the contents of the routing / load balancing system 30 requests the user's schedule, after GSLB31, SLB 32 and other equipment, will ultimately determine a FTP Cache 41 serve the user (step S44 in FIG. 4, S45 ). 第二阶段,在确定为用户提供FTP服务的FTP Cache 41后,SLB 32将返回一个FTP格式的URL给用户终端51 (图4中的步骤S46),用户终端51根据该URL,使用FTP协议访问FTP Cache 41,获取下载服务(图4中的步骤S47、S48)。 The second stage, the user is determined to provide FTP service FTP after the Cache 41, SLB 32 will return an FTP URL format to the user terminal 51 (step S46 in FIG. 4), the user terminal 51 according to the URL, using the FTP protocol to access FTP Cache 41, the service for downloading (step in FIG. 4 S47, S48). 整个过程如图4所示,其中步骤S41〜S45采用HTTP协议,步骤S46〜S48采用FTP协议。 The whole process shown in Figure 4, wherein the step of using HTTP protocol S41~S45, S46~S48 step using FTP.

[0049] 通过这一方法,可以充分利用CDN系统的分布服务能力,且保持了FTP服务器的标 [0049] By this method, you can make full use of the distribution system CDN service capabilities, and maintain a standard FTP server

准化,以最大限度的支持各种FTP客户端。 Normalized to the maximum support of various FTP clients. 既可利用HTTP协议支持重定向的功能完成用户 You can use HTTP protocol support redirection function complete the user

请求的内容路由/负载均衡,又可保证用户采用标准的FTP流程完成下载服务。 Content routing requests / load balancing, but also to ensure the user's standard FTP process to complete the download service.

[0050] 在完成业务引导,将用户的请求调度到离他最近的、最合适的FTPCache 41之后, [0050] After completion of the service guide, the scheduled user requests to the closest, most suitable FTPCache 41 away from him,

进行业务认证,系统对用户的业务请求进行认证授权,在确定用户的合法性后才能为其提 Conduct business certification system for user authentication and authorization service request in order to determine the legitimacy of its mention in the user's

供服务。 For service.

[0051] 对于业务认证,主要通过用户名、密码的动态生成方法来实现。 [0051] For authentication service, primarily through dynamic method for generating a user name, password. 为保证用户能够正常访问FTP Cache 41获取服务,策略管理服务器24会为用户生成用于FTP请求的用户名和密码,并设定有效期限。 To ensure that users can access FTP Cache 41 normal access to services, policy management server 24 will be generated for the user requests for FTP user name and password, and set the expiration date. 其中,用户名与用户ID保持一致。 Among them, the user name and user ID consistent. 密码将是一个随机生成数,且该密码与用户的IP地址、用户名、业务标识等信息进行绑定,策略管理服务器24负责维护这些映射关系和有效期限等参数信息。 The password is a randomly generated number, and the password to the user's IP address, user name, service identification information such as binding, policy management server is responsible for maintaining 24 These mappings and expiration date and other parameters. 生成的用户名和密码将由SLB 32以URL的方式返回给用户终端51,其格式如下:ftp:〃User :Password@CacheIP/appdir/path/file謹e.filetype。 Username and password generated by the SLB 32 so as to return the URL to the user terminal 51, the following format: ftp: 〃User: Password @ CacheIP / appdir / path / file wish e.filetype. 用户终端51使用上面的URL信息,通过FTP协议访问FTP Cache 41, FTPCache41将用户名、密码送回至策略管理服务器24进行验证,看账户是否在有效期内,用户名、密码和IP地址等信息是否一致,判断账户的有效性,从而决定是否为用户提供服务。 The user terminal 51 using the URL above information, access via FTP protocol FTP Cache 41, FTPCache41 user name, password back to the policy management server 24 are verified whether the account within the validity period, user name, password and IP address information is unanimously, to determine the validity of the account in order to decide whether to provide services for users. [0052] 如果决定为用户提供服务,则系统向用户终端提供服务,并对服务提供过程中进行必要的服务控制。 [0052] If the user decides to provide the service, the system provides the service to the user terminal and the service providing the necessary service control process. 通过灵活的策略管理机制,能够实现对FTP下载服务进行控制。 Flexible policy management mechanism to achieve FTP download service control. [0053] 策略管理服务器24在生成用户名和密码时,会同时根据用户的ID、账户类型和申请的业务类型,选择适当的FTP服务策略与该服务进行绑定,当用户验证通过时,根据绑定的策略为用户提供服务。 [0053] policy management server 24 when generating a user name and password, while according to the user's business type ID, account type and application, choose the appropriate FTP service policy to bind with the service, when the user is verified, according to tie set policies for users.

[0054] 通过策略管理服务器24,可以实现对服务的灵活控制。 [0054] through the policy management server 24, allows flexible control of the services. 各种策略是基于XML的描 Various strategies are XML-based description

述实现的,可根据业务和用户的需要灵活设定,可由系统管理员随时调整。 Realized later, and can be set flexibly according to the service needs of the user, the system administrator may be adjusted at any time.

[0055] 下面将参照附图5〜7详细描述在根据本发明的上述可实现分布式FTP服务的 Detailed Description 5 ~ 7 [0055] In the following with reference to the accompanying drawings distributed FTP service may be implemented according to the present invention.

CDN系统中的一个完整的业务生成、实现和服务的流程。 A complete business system CDN generation, implementation and process services. 其中,图5是在根据本发明实施例 Wherein, in the embodiment of FIG. 5 in accordance with the present invention,

的可实现分布式FTP服务的CDN系统中内容发布和分发流程的示意图,图6示出在根据本 Schematic content publishing and distribution process can be implemented distributed CDN FTP service system is shown in FIG. 6 according to the present

发明实施例的可实现分布式FTP服务的CDN系统中FTP下载服务(命中)的流程图;图7 CDN flowchart of an embodiment of the invention the system may be implemented in a distributed FTP service FTP download service (hit); Figure 7

示出在根据本发明实施例的可实现分布式FTP服务的CDN系统中FTP下载服务(未命中) Shows FTP download service (miss) system may be implemented in a distributed CDN FTP services according to embodiments of the present invention,

11的流程图。 11 flowchart.

[0056] 这里,在CDN中,用户的请求会被重定向到靠近用户的一台FTPCache 41上,如果该节点有用户请求访问的内容,可直接为用户提供服务,则就说用户的访问命中;如果没有,就说未命中。 [0056] Here, in the CDN, the user's request will be redirected to a station near the user's FTPCache 41, if the node is a user request to access content, to provide users with services directly, the access of said user hits ; if not, say miss.

[0057] 首先,参照图5描述内容发布和分发的过程。 [0057] First, a description with reference to the process of publishing and distribution of FIG. 如图5所示,在步骤S51,内容管理服务器21向FTP Cache 41下发内容分发指令,告知其内容源的信息。 5, in step S51, the content management server 21 an instruction to distribute FTP Cache 41 delivers the content, the content of notification information source. 接着,在步骤S52,FTP Cache 41向内容源服务器21发起内容下载请求。 Next, at step S52, FTP Cache 41 to initiate a content download request to the server 21 a content source. 在步骤S53,内容从FTP源服务器11下载到FTPCache 41中,并且在步骤S54, FTP Cache 41将发送成功的结果返回给内容管理服务器21。 In step S53, the content is downloaded from the FTP server 11 to the source FTPCache 41, and at step S54, FTP Cache 41 transmits the successful result back to the content management server 21. 最后,在步骤S55,内容管理服务器21根据内容的文件名、存放的位置等信息,添加CDN服务标识,生成URL信息,将其发布到Portal 22上。 Finally, in step S55, the content management server 21 according to the contents of the file name, storage location and other information, add CDN service marks, generates URL information, post it on the Portal 22.

[0058] 在完成上述内容发布和分发之后,用户就可以通过访问Portal 22来实现FTP下 [0058] After completing the above content publishing and distribution, users can be accomplished by accessing the Portal 22 under FTP

载。 Load. 图6所示的是用户下载文件在本地命中时的内容路由和服务提供的流程图。 6 is a flowchart routing and service contents when the user hits the download file locally provided in FIG.

[0059] 如图6所示,首先,在步骤S601,用户终端51访问Portal 22,点击URL链接获取 [0059] As shown in FIG 6, first, in step S601, the user terminal 51 to access Portal 22, click on the URL Get

服务。 service. 根据其CDN标识,在步骤S602系统将全局负载均衡设备(GSLB)31的IP地址返回给 The identification of its CDN, at step S602 will be the IP address of the global load balancing device (GSLB) 31 is returned to the

用户终端51。 The user terminal 51.

[0060] 然后,在步骤S603用户终端51向GSLB 31发起请求。 [0060] Then, a request to initiate GSLB 31 in step S603, the user terminal 51. GSLB 31判断用户IP地址, 根据就近性原则在步骤S604返回到用户终端51最近的本地负载均衡设备(SLB) 32的地址给用户终端51。 GSLB 31 determines the IP address of the user, according to the principle of the nearest to 51 in step S604 returns the nearest local load balancing device user terminal (SLB) 32 address to the user terminal 51.

[0061] 接着,用户终端51在步骤S605向SLB 32发起请求,SLB 32在步骤S606将用户信息发送到认证服务器23进行认证。 [0061] Next, at step S605, the user terminal 51 to 32 to initiate a request SLB, SLB 32 at step S606 transmits the information to the user authentication server 23 for authentication. 若认证通过,则认证服务器23在步骤S607通知SLB 32认证通过,并执行下面的步骤S608及后面的处理;否则认证服务器23向用户终端51返回拒绝服务消息。 If authenticated, the authentication server 23 in step S607 SLB 32 notifies the authentication, and performs the processing following step S608 and the following; otherwise the authentication server 23 to the user terminal 51 returns a denial of service message.

[0062] 在步骤S608中,SLB 32向策略管理服务器24发起请求。 [0062] In step S608, SLB 32 initiates a request to the policy management server 24. 在步骤S609,策略管理服务器24生成用户访问FTP Cache 41所用的用户名和密码,并生成相应的策略。 In step S609, the policy management server 24 generates a user access to FTP Cache 41 using the same user name and password, and generate appropriate policy. 策略管理服务器24将所生成的用户名、密码、以及相关策略返回给SLB 32。 Policy management server 24 will be generated user name, password, and related policy back to the SLB 32.

[0063] 接着,在步骤S610,判断内容是否本地命中。 [0063] Next, at step S610, the content is determined whether the local hit. 在该实施例中,假定内容本地命中。 In this embodiment, assume that the contents of the local hit. 此时,SLB 32根据内容分布、负载等情况,选择合适的FTP Cache 41,将其地址、用户名和密码等信息返回给用户终端51。 In this case, SLB 32 where the content distribution according to the load, etc., to select the appropriate FTP Cache 41, its address information, user name and password back to the user terminal 51.

[0064] 然后,在步骤S611,用户终端51向FTP Cache 41发起FTP下载请求。 [0064] Then, a request to initiate a FTP download FTP Cache 41 at step S611, the user terminal 51. FTP Cache 41在步骤S612将用户请求中的用户名和密码信息送至策略管理服务器24进行验证。 FTP Cache 41 at step S612 the user name and password information of the user request to the policy management server 24 for authentication. [0065] 验证通过后,在步骤S613策略管理服务器24向FTP Cache 41下发策略。 After [0065] is verified, in step S613 policy made the policy management server 24 at the FTP Cache 41. 之后, 在步骤S614, FTP Cache 41根据策略管理服务器24设定的策略为用户终端51提供服务, 在步骤S614进行数据传输。 Thereafter, in step S614, FTP Cache 41 provides services to a user terminal 51 according to the policy set in the policy management server 24, data transmission at step S614. 否则,如果验证未通过,则拒绝服务,并返回错误原因。 Otherwise, if the verification is not passed, then a denial of service, and return the wrong reasons. [0066] 另外,若在文件未传输完成后就发生中断,在步骤S615用户终端51将首先向上次提供服务的FTP Cache 41发起请求,FTP Cache 41在步骤S616到策略管理服务器24对用户名、密码进行验证。 [0066] In addition, an interrupt event, after the file transfer is not completed, will initially provide services to the last step S615 in the user terminal 51 FTP Cache 41 initiates a request, FTP Cache 41 in step S616 to the policy management server 24 to the user name, password for authentication. 若在步骤S617中确定用户名和密码仍在有效期内,则在步骤S618 提供断点续传服务。 If the step is determined within the user name and password are still valid S617, the HTTP service is provided in step S618. 否则,若在步骤S616中未能通过验证,用户需要重新点击Portal 22, 开始以上过程。 Otherwise, if in step S616 validation fails, users need to click on Portal 22, start the process over.

[0067] 图7示出了在用户下载文件本地未命中时的内容路由和服务提供的流程图,其中 [0067] FIG. 7 shows a flowchart of routing and service contents when the download file local user misses provided, wherein

12步骤S701〜S709与图6所示的本地命中时的步骤S601〜S609的流程完全相同。 Local hit at step 12 shown in FIG. 6 and steps S701~S709 S601~S609 of identical flow. [0068] 如图7所示,首先,在步骤S701,用户终端51访问Portal 22,点击URL链接获取服务。 [0068] As shown in FIG 7, first, in step S701, the user terminal 51 to access Portal 22, click on the URL for service. 根据其CDN标识,在步骤S702系统将全局负载均衡设备(GSLB)31的IP地址返回给用户终端51。 The identification of its CDN, in step S702, the IP address of the system global load balancing device (GSLB) 31 is returned to the user terminal 51.

[0069] 然后,在步骤S703用户终端51向GSLB 31发起请求。 [0069] Then, a request to initiate GSLB 31 the user terminal 51 at step S703. GSLB 31判断用户IP地址, 根据就近性原则在步骤S704返回到用户终端51最近的本地负载均衡设备(SLB) 32的地址给用户终端51。 GSLB 31 determines the IP address of the user, according to the principle of the nearest to 51 in step S704 returns the nearest local load balancing device user terminal (SLB) 32 address to the user terminal 51.

[0070] 接着,用户终端51在步骤S705向SLB 32发起请求,SLB 32在步骤S706将用户信息发送到认证服务器23进行认证。 [0070] Next, at step S705, the user terminal 51 to 32 to initiate a request SLB, SLB 32 at step S706 transmits the information to the user authentication server 23 for authentication. 若认证通过,则认证服务器23在步骤S707通知SLB 32认证通过,并执行下面的步骤S708及后面的处理;否则认证服务器23向用户终端51返回拒绝服务消息。 If authenticated, the authentication server 23 in step S707 SLB 32 notifies the authentication, and performs the processing following step S708 and the following; otherwise the authentication server 23 to the user terminal 51 returns a denial of service message.

[0071] 在步骤S708中,SLB 32向策略管理服务器24发起请求。 [0071] In step S708, SLB 32 initiates a request to the policy management server 24. 在步骤S709,策略管理服务器24生成用户访问FTP Cache 41所用的用户名和密码,并生成相应的策略。 In step S709, the policy management server 24 generates a user access to FTP Cache 41 using the same user name and password, and generate appropriate policy. 策略管理服务器24将所生成的用户名、密码、以及相关策略返回给SLB 32。 Policy management server 24 will be generated user name, password, and related policy back to the SLB 32.

[0072] 接着,在步骤S710,判断内容是否本地命中。 [0072] Next, at step S710, the content is determined whether the local hit. 在该实施例中,假定内容本地未命中。 In this embodiment, assume that the contents of the local miss. 也就是说,本地的FTP Cache 41上没有用户请求的内容,SLB 32根据内容分布、负载等情况,未能选择到合适的FTPCache 41。 That is, the local FTP Cache contents requested by the user is not on the 41, SLB 32 where the content distribution according to the load, etc., failed to select the appropriate FTPCache 41. 此时,SLB 32将用户的请求重定向到文件存放的FTP 源服务器11 ,并将用户名和密码等信息告诉给用户终端。 In this case, SLB 32 will be redirected to the user's request source server FTP file storage 11, and information telling the user name and password to the user terminal.

[0073] 然后,用户终端51在步骤S711向FTP源服务器11发起FTP下载请求。 [0073] Then, the user terminal 51 at step S711 to initiate a request to the FTP download source server FTP 11. FTP源服务器11在步骤S712将用户请求中的用户名和密码信息送至策略管理服务器24进行验证。 FTP source server 11 in step S712 the user name and password information user request to the policy management server 24 for verification. [0074] 验证通过后,在步骤S713策略管理服务器24向FTP源服务器11下发策略。 After [0074] is verified, in step S713 the policy management server 2411 delivers the policy to the source server FTP. 之后,在步骤S714, FTP源服务器11根据策略管理服务器24设定的策略为用户终端51提供服务,在步骤S714进行数据传输。 Thereafter, in step S714, FTP server 11 provides service to the source user terminal 51 according to the policy set in the policy management server 24, data transmission at step S714. 否则,如果验证未通过,则拒绝服务,并返回错误原因。 Otherwise, if the verification is not passed, then a denial of service, and return the wrong reasons. [0075] 在这种情况下,若在文件未传输完成后就发生中断,用户终端51将首先向上次提供服务的FTP源服务器11发起请求,FTP源服务器11到策略管理服务器24对用户名、密码进行验证。 [0075] In this case, if the file does not occur after the transfer complete interrupt, the user terminal 51 will first provide services to the last source FTP server 11 initiates a request, FTP server source 11 to the policy management server 24 to the user name, password for authentication. 若确定用户名和密码仍在有效期内,则提供断点续传服务。 If it is determined the user name and password is still valid, provides HTTP services. 否则,若未能通过验证,用户需要重新点击Portal 22,开始以上过程。 Otherwise, if not pass validation, the user needs to re-click Portal 22, start the process over. 此过程同样与图6所示的断点续传类似,因此图7中未详细给出其流程。 This process is the same as shown in FIG. 6 HTTP similar, and therefore not shown in detail in FIG. 7 processes thereof.

[0076] 以上描述了根据本发明优选实施例的可实现分布式FTP服务的CDN系统、以及在该系统中的一个完整的业务生成、实现和服务的流程。 [0076] The above described system may be implemented distributed CDN FTP service according to a preferred embodiment of the present invention, and a full service in the system to generate, process, and implement the service. 但是,本发明不仅限于此,而是可以对其进行各种变化和修改。 However, the present invention is not limited thereto, but may be various changes and modifications.

[0077] 例如,在具体实现本发明时,策略管理服务器可以作为一个单独的设备,也可以集成到SLB设备中作为其中的一个模块。 [0077] For example, in the specific implementation of the present invention, the policy management server can act as a stand-alone device, the device may also be integrated as a module SLB therein.

[0078] 此外,除图6、图7所示的典型实现流程外,还可以采用另一种实现方式,将策略管理服务器集成在FTP Cache 41中,由FTP Cache 41完成协议转换、密码生成和服务策略管理等功能。 [0078] Further, in addition to typical implementation of the flow shown in FIG. 6, FIG. 7, may be adopted another implementation, the policy management server is integrated in the FTP Cache 41, converted by the protocol to complete FTP Cache 41, and password generation service policy management.

[0079] 如图8所示,示出在根据本发明实施例的可实现分布式FTP服务的CDN系统中FTP 下载服务的另一种实现实例。 [0079] As shown in FIG 8, illustrating another example of a CDN system implemented according to embodiments of the present invention may be implemented in a distributed FTP service FTP download service. 其中,FTP服务器是一个逻辑组件,具体实现时集成在FTP Cache 41中。 Wherein, FTP server is a logical component, FTP Cache 41 is integrated in a specific implementation. [0080] 首先,在步骤S801,用户终端51访问Portal 22,点击URL链接获取服务。 [0080] First, in step S801, the user terminal 51 to access Portal 22, click on the URL link for service. 根据其CDN标识,在步骤S802系统将全局负载均衡设备(GSLB)31的IP地址返回给用户终端51。 The identification of its CDN, at step S802 will be the IP address of the global load balancing device (GSLB) 31 is returned to the user terminal 51. [0081] 然后,在步骤S803用户终端51向GSLB 31发起请求。 [0081] Then, a request to initiate GSLB 31 the user terminal 51 at step S803. GSLB 31判断用户IP地址, 根据就近性原则在步骤S804返回到用户终端51最近的本地负载均衡设备(SLB) 32的地址给用户终端51。 GSLB 31 determines the IP address of the user, according to the principle of the nearest to 51 in step S804 returns the nearest local load balancing device user terminal (SLB) 32 address to the user terminal 51.

[0082] 接着,用户终端51在步骤S805向SLB 32发起请求,SLB 32在步骤S806选择合适的FTP Cache 41,将其地址返回给用户终端51,从而将用户终端51重定向到FTPCache 41。 [0082] Next, in step S805, the user terminal 51 to 32 to initiate a request SLB, SLB 32 in step S806 to select the appropriate FTP Cache 41, its address is returned to the user terminal 51, so that the terminal 51 is redirected to the user FTPCache 41.

[0083] 然后,在步骤S807,用户终端51向FTP Cache 41发起FTP下载请求。 [0083] Then, at step S807, the user terminal 51 initiates a request to the FTP download FTP Cache 41. 在步骤S808 中,FTP Cache 41将用户信息发送到认证服务器23进行认证。 In step S808, FTP Cache 41 transmits the user information to the authentication server 23 for authentication. 若认证通过,则认证服务器23在步骤S809通知FTP Cache41认证通过,并执行下面的步骤S810及后面的处理;否则认证服务器23向用户终端51返回拒绝服务消息。 If authenticated, the authentication server 23 in step S809 notifies FTP Cache41 authentication, and performs the processing following step S810 and later; otherwise, the authentication server 23 to the user terminal 51 returns a denial of service message.

[0084] 之后,在步骤S810,FTP Cache 41向策略管理服务器24发起请求。 After [0084] In step S810, FTP Cache 41 sends a request to the policy management server 24. 在步骤S811, 策略管理服务器24生成用户访问FTP服务器所用的用户名和密码,并生成相应的策略。 In step S811, the policy management server 24 generates a user to access the FTP server using the same user name and password, and generate appropriate policy. 策略管理服务器24将所生成的用户名、密码、以及相关策略返回给FTP Cache 41。 Policy management server 24 will be generated user name, password, and related strategies to return to the FTP Cache 41. [0085] 接着,在步骤S812,判断内容是否本地命中。 [0085] Next, at step S812, the content is determined whether the local hit. 在该实施例中,假定内容本地命中,返回FTP Cache 41中的FTP服务器的地址。 In this embodiment, assume that the contents of the local hit, the return address FTP Cache 41 FTP server. 在步骤S813中,用户终端51向FTP Cache 41 中的FTP服务器发起FTP下载请求。 In step S813, the user terminal 51 initiates the FTP download request to the FTP server FTP 41 is in the Cache. FTP Cache 41中的FTP服务器在步骤S814将用户请求中的用户名和密码信息送至策略管理服务器24进行验证。 FTP Cache 41 FTP server in step S814 the user name and password information of the user request to the policy management server 24 for authentication.

[0086] 验证通过后,在步骤S815策略管理服务器24向FTP Cache 41中的FTP服务器下发策略。 [0086] After the verification is passed, step S815 policy management server 24 sent to the FTP Cache policy in 41 FTP server. 之后,在步骤S816,FTP Cache 41中的FTP服务器根据策略管理服务器24设定的策略为用户终端51提供服务,进行数据传输。 Thereafter, in step S816, FTP Cache of 41 FTP server to serve a user terminal 51 according to the policy set in the policy management server 24, for data transmission. 否则,如果验证未通过,则拒绝服务,并返回错误原因。 Otherwise, if the verification is not passed, then a denial of service, and return the wrong reasons.

[0087] 同样,在这种情况下,若在文件未传输完成后就发生中断,用户终端51将首先向 [0087] Also, in this case, if it occurs after the file is not in the transfer completion interrupt, the user terminal 51 will first

上次提供服务的FTP Cache 41中的FTP服务器发起请求,FTP Cache 41中的FTP服务器 FTP Cache in the last 41 FTP server service initiation request, FTP Cache of 41 FTP server

到策略管理服务器24对用户名、密码进行验证。 Policy management server 24 to the user name and password for authentication. 若确定用户名和密码仍在有效期内,则提 If it is determined the user name and password is still valid, is carrying

供断点续传服务。 For the HTTP service. 否则,若未能通过验证,用户需要重新点击Portal 22,开始以上过程。 Otherwise, if not pass validation, the user needs to re-click Portal 22, start the process over. this

过程同样与图6所示的断点续传类似,因此图8中未详细给出其流程。 And resuming process also shown in FIG. 6 is similar and therefore not shown in detail in FIG. 8 which processes.

[0088] 此外,还应该指出的是,图8仅仅描述了本地命中情况下的数据传输。 [0088] Further, it should also be noted that, in FIG. 8 only describes the data transmission in a local hit situation. 本领域的普 Those skilled in the P

通技术人员应该理解,与图7的本地未命中的情况类似,采用与图8的结构类似的方式也可 Skill in the art should be understood, similarly to the case of FIG. 7 local miss, using the configuration of FIG. 8 may be similar manner

以进行本地未命中时从FTP源服务器11进行FTP下载。 FTP downloads from the FTP server source 11 for local misses. 在此,略去其详细描述。 Here, a detailed description thereof is omitted.

[0089] 另外,虽然上面详细描述了本发明的实施例的示例,但是本发明也可以采取例如 [0089] Further, although the embodiments described above in detail exemplary embodiments of the present invention, but the present invention can also take e.g.

系统、设备、方法、程序或存储介质(记录介质)等的形式。 Form of a system, apparatus, method, program, or storage medium (recording medium) or the like. 更具体地说,本发明可以应用于 More particularly, the present invention can be applied

由多个装置组成的系统或者包括单个装置的设备。 A system comprising a plurality of devices or a single device.

[0090] 应该指出的是,本发明也可以通过这样的方式实现,即直接或间接地将实现前述实施例的功能的软件程序(与在根据这些实施例的附图中示出的流程图相对应的程序)提供给系统或设备,通过该系统或设备的计算机读取所提供的程序代码,然后执行该程序代码。 [0090] It should be noted that the present invention may be implemented in such a way that directly or indirectly implement the functions of a software program according to the embodiment (and in accordance with the flowchart shown in these drawings embodiments corresponding to the program) is supplied to a system or apparatus, reading the program codes by a computer system or apparatus is provided, and then executing the program code.

[0091] 从而,由于本发明的功能处理由计算机实现,因此安装在计算机中的程序代码本 [0091] Accordingly, since the functions of the present invention is implemented by a process computer, installed in the computer program code according to the present

14身也能够实现本发明。 14 it is possible to implement the present invention. 换句话说,本发明的权利要求也涵盖用于实现本发明的功能处理的目的的计算机程序本身。 In other words, the claims of the present invention also encompasses the process for the purpose of the present invention implement the functions of the computer program itself.

[0092] 在这种情况下,只要系统或设备具有该程序的功能,就可以以任何形式,例如作为 [0092] In this case, as long as the system or apparatus has the functions of the program, you can be in any form, for example as

目标代码由解释器执行的程序、或者提供给操作系统的脚本数据,执行该程序。 Object code program executed by an interpreter, or script data supplied to an operating system, the program is executed.

[0093] 可以用来提供该程序的记录介质的例子是软盘、硬盘、光盘、磁光盘、M0、 CD-R0M、 Examples [0093] may be used to provide a recording medium having the program are a floppy disk, a hard disk, an optical disk, a magneto-optical disk, M0, CD-R0M,

CD-R、 CD-RW、磁带、非易失性类型的存储卡、ROM和DVD (DVD-ROM和DVD-R)。 CD-R, CD-RW, magnetic tape, a nonvolatile type memory card, ROM, and DVD (DVD-ROM and DVD-R).

[0094] 对于提供该程序的方法,客户端计算机可以使用该客户端计算机的浏览器连接到 [0094] for the method of supplying the program, a client computer can use the client computer's browser to connect to the

因特网上的网站,并且可以将本发明的计算机程序或者该程序的可自动安装压縮文件下载 Website on the Internet, and may be automatically installing a computer program according to the present invention or a compressed file of the program downloads

到诸如硬盘的记录介质。 To a recording medium such as a hard disk. 此外,可以通过将组成程序的程序代码划分成多个文件并且从不 Further, by a program consisting of program code into a plurality of files and never

同的网站下载这些文件来提供本发明的程序。 The same site to download these files to provide a program of the present invention. 换句话说,通过计算机向多个用户下载实现 In other words, a plurality of users to download implemented by a computer

本发明的功能处理的程序文件的WWW(万维网)服务器也被本发明的权利要求涵盖。 WWW program file processing functions of the present invention (Web) server as claimed in the present invention are also encompassed requirements.

[0095] 此外,还有可能对本发明的程序进行加密并将其存储在诸如CD-ROM的存储介质 [0095] In addition, it is also possible to encrypt and store the program of the present invention in a storage medium such as a CD-ROM

上,将该存储介质分发给用户,允许满足特定要求的用户通过因特网从网站下载解密密钥 Users, the storage medium to users, allow to meet specific requirements from the website through the Internet to download decryption key

信息,并允许这些用户通过使用该密钥信息对被加密程序进行解密,由此将该程序安装在 Information, and allow these users by using the key information to decrypt the encrypted program, whereby the program is installed

用户计算机中。 The user's computer.

[0096] 此外,除了通过由计算机执行所读取的程序来实现根据这些实施例的前述功能的情况之外,在计算机上运行的操作系统等也可以基于该程序的指令而执行全部或部分实际处理,以便可以通过该处理实现前述实施例的功能。 [0096] Further, in addition to embodiments implemented according to the addition of these features of the embodiment, the operating system or the like running on the computer may perform all or part of the actual process based on instructions of the program by computer executing the read processing, so the functions of the embodiments can be implemented by this processing.

[0097] 此外,在将从记录介质读取的程序写入到被插入到计算机中的功能扩展板或者在连接到计算机的功能扩展单元中提供的存储器之后,安装在该功能扩展板或功能扩展单元上的CPU等基于该程序的指令而执行全部或部分实际处理,以便可以通过该处理实现前述实施例的功能。 After [0097] Further, the program read from the recording medium into the memory expansion board is inserted into the function of the computer or provided in a function expansion unit connected to the computer is mounted on the function expansion board or function expansion CPU or the like on the unit performs all or part of the actual processing based on instructions of the program, so that the functions of the embodiments can be implemented by this processing.

[0098] 如上所述,根据本发明的采用统一入口网站地址集成和推送多网站内容的方法及系统,用户无需记住不同的子网站域名,对于在不同物理地点部署的网站群,不同地点的用户可以采用统一域名访问到其本地的网站内容,统一了用户的体验。 [0098] As described above, according to the method and system for unified portal address and pushing multiple integration sites of the present disclosure, the user does not need to remember a different sub-domain, for the website group deployed in different physical locations, in different locations users can access a unified domain name to its local website content, unified user experience. 而且,相对于单纯的HTTP重定向技术,内容推送中心可以做到对用户访问首页更灵活的控制,既可返回统一的内容,也可返回本地化的内容。 Moreover, with respect to a simple HTTP redirection techniques, content push center can do for users to access home more flexible control, we can return to a unified content, also can return localized content.

[0099] 由于在不脱离本发明的精神和范围的情况下可以获得很多显而易见的、具有较大差别的本发明的实施例,因此应当理解,本发明不局限于其特定实施例,而是在所附权利要求中加以限定。 [0099] Since many possible to obtain apparent without departing from the spirit and scope of the present invention, embodiments of the present invention has a larger difference, thus it should be understood that the present invention is not limited to the specific embodiments thereof, but requirements to be defined in the appended claims.

Claims (25)

  1. 一种可实现分布式FTP服务的CDN系统,其特征在于包括:媒体资源库,用作整个CDN系统的FTP下载内容源;管理支撑系统,负责整个CDN系统的FTP下载的业务和设备管理,其中包括:内容管理服务器,用于内容的发布、分发、查询和内容访问信息的统计;门户服务器,用于从CDN系统中获取数据和服务,并整合在一个网页窗口中,统一展示给用户;认证服务器,用于对用户身份、业务使用权限信息进行认证和鉴权,并负责对用户的业务使用进行计费;以及策略管理服务器,用作FTP服务策略的生成点,负责向用户分配FTP用户名和密码、制订服务策略、以及维护相关的数据信息;内容路由/负载均衡系统,用于在整个CDN网络中,将用户的FTP下载内容请求调度到一个特定的服务点;CDN节点网络,用作CDN网络中面向用户提供FTP下载服务的设备集群;以及用户终端,用 A distributed system implemented CDN FTP service, characterized by comprising: a media repository, as FTP downloads the entire source CDN system; management support system, responsible for the entire system CDN service and FTP download management apparatus, wherein include: content management server publishing for content distribution, content access and query statistics information; portal server for access to data and services from CDN system and integrated in a web page window, unified display to the user; authentication server for user identity, service usage rights information for authentication and authorization, and is responsible for user service usage for billing; and policy management server, FTP services as a strategy to generate points, responsible for allocating FTP user for the username and password formulate service policy, and the data associated with the information; content routing / load balancing system for the entire network, CDN, the FTP downloads user requests to a particular scheduling service point; CDN nodes of the network, as the CDN. users in the network to provide FTP download service for device cluster; and a user terminal, with 于从CDN系统中进行FTP下载。 In FTP downloads from CDN system.
  2. 2. 根据权利要求1所述的可实现分布式FTP服务的CDN系统,其中媒体资源库由CDN 管理支撑系统统一管理,并且包括:内容存储服务器,用于存储各种类型和格式的内容;以及FTP源服务器,用作执行FTP分发的原始内容服务器,CDN节点网络通过该FTP源服务器从内容存储服务器中获取内容。 FTP service that enables distributed CDN 2. The system according to claim 1, wherein the media repository managed by the CDN unified management support system, and comprising: a contents storing server for storing contents of various types and formats; and source server FTP, FTP server content as that performed the original distribution, the CDN network node acquires content from the content storage server by the source server FTP.
  3. 3. 根据权利要求2所述的可实现分布式FTP服务的CDN系统,其中FTP源服务器直接向用户提供服务。 FTP service that enables distributed CDN 3. The system according to claim 2, wherein the source server FTP to provide services directly to the user.
  4. 4. 根据权利要求1所述的可实现分布式FTP服务的CDN系统,其中门户服务器是用户服务的入口,用户通过点击该页面上的URL链接获取相应的服务。 FTP service that enables distributed CDN system according to claim 1, wherein the entrance portal server user services, the user obtains the corresponding service by clicking the link on this page URL.
  5. 5. 根据权利要求1所述的可实现分布式FTP服务的CDN系统,其中: CDN节点网络包括多个FTP Cache ;并且内容路由/负载均衡系统包括:全局负载均衡,根据就近性原则,将用户的访问请求导向到离用户最近的CDN网络节点;以及本地负载均衡,用于在CDN网络节点的多台FTP Cache中,选择一个最适合的FTP Cache为用户提供服务。 FTP service that enables distributed CDN system according to claim 1, wherein: the network comprises a plurality of nodes CDN FTP the Cache; and Content Routing / load balancing system comprising: a global load balancing, in accordance with the principle near the user access request directed to the CDN network closest to the user node; and local load balancing for the plurality of FTP Cache CDN network node, select a most suitable FTP Cache provide services for users.
  6. 6. 根据权利要求1至5任一所述的可实现分布式FTP服务的CDN系统,其中用户终端支持FTP和FTP协议,用于发起服务访问和下载请求、执行下载操作。 According to any one of the claims 1 to 5, a system may be implemented CDN distributed FTP service, wherein the user terminal supports FTP and FTP protocol for initiating service access and download request, the download operation.
  7. 7. 根据权利要求6所述的可实现分布式FTP服务的CDN系统,其中用户终端包括PC 机、机顶盒。 FTP service that enables distributed CDN 7. A system according to claim 6, wherein the user terminal comprises a PC, set-top boxes.
  8. 8. —种通过CDN网络实现FTP下载服务的方法,其特征在于包括步骤: 业务引导,将用户的请求调度到离其最近的、最合适的FTP Cache上;其中包括步骤:用户访问门户服务器,获取一个HTTP格式的URL ;用户通过HTTP协议发起访问请求;利用HTTP的重定向机制,内容路由/负载均衡系统对用户的请求进行调度,确定为用户提供服务的FTPCache ;在确定为用户提供FTP服务的FTP Cache后,返回FTP格式的URL给用户终端;用户终端根据该URL,使用FTP协议访问FTP Cache,获取下载服务;业务认证,对用户的业务请求进行认证授权,在确定用户的合法性后服务提供;以及服务提供,向用户提供服务,并对服务提供过程中进行必要的服务控制。 8. - FTP download method implemented by the CDN service network, characterized by comprising the step of: a service guide, the scheduled user requests to the closest thereto, the Cache most suitable FTP; which comprises the steps of: a user accesses the portal server, get a HTTP URL format; user initiates the access request via HTTP protocol; the use of HTTP redirect mechanism, content routing / load balancing system to the user's request to schedule, determine FTPCache to provide users with services; determined to provide users with FTP service after the FTP Cache, FTP URL in the format returned to the user terminal; the user terminal based on the URL, using the FTP protocol to access FTP Cache, get download service; service authentication, user authentication and authorization service requests, after determining the validity of users service providers; and service providers to provide services to users, and to provide the necessary service service control process.
  9. 9. 根据权利要求8所述的通过CDN网络实现FTP下载服务的方法,其中在业务弓I导中, 利用HTTP重定向机制和HTTP/FTP协议转换的方法实现对FTP请求的调度。 According to claim 8, the CDN network via FTP download method implementation of the service, wherein the service guide bow I, using the method of HTTP redirect mechanism and HTTP / FTP protocol to achieve conversion scheduling for FTP requests.
  10. 10. 根据权利要求9所述的通过CDN网络实现FTP下载服务的方法,其中业务认证包括步骤:策略管理服务器为用户生成用于FTP请求的用户名和密码,并设定有效期限; 将生成的用户名和密码以URL的方式返回给用户终端; 用户终端使用该URL信息,通过FTP协议访问FTP Cache ;以及FTP Cache将用户名,密码送回至策略管理服务器进行验证。 The resulting user; policy management server generates a user request FTP user name and password, and set the expiration date: a CDN network according to claim 9, wherein the method implemented FTP download service, which service authentication comprising the steps of name and password in the manner of the URL returned to the user terminal; the user terminal using the URL information, visit FTP Cache via FTP protocol; and FTP Cache the user name, password back to the policy management server for authentication.
  11. 11. 根据权利要求10所述的通过CDN网络实现FTP下载服务的方法,其中: 用户名与用户ID保持一致;密码是一个随机生成数,且该密码与用户的IP地址、用户名、业务标识信息进行绑定; 策略管理服务器负责维护密码与用户的IP地址、用户名、业务标识信息的映射关系和有效期限的参数信息;并且策略管理服务器进行验证时,看账户是否在有效期内,用户名、密码和IP地址信息是否一致,从而判断账户的有效性,并决定是否为用户提供服务。 11. The method according to claim 10 through claim CDN network implemented FTP download service, wherein: the user name is consistent with the user ID; password is a randomly generated number, and the IP address of the user's password, user name, service identifier information bind; policy management server is responsible for maintaining password and user's IP address, user name, and expiration date of the mapping between the parameter information service identification information; and when the policy management server for authentication, to see whether the account within the validity period, the user name , password and IP address information is consistent, in order to determine the validity of the account, and decide whether to provide services for users.
  12. 12. 根据权利要求11所述的通过CDN网络实现FTP下载服务的方法,其中策略管理服务器在生成用户名和密码时,同时根据用户的ID、账户类型和申请的业务类型,选择适当的FTP服务策略与该服务进行绑定,当用户验证通过时,根据绑定的策略为用户提供服务。 12. A method according to implement FTP download service through the CDN network of claim 11, wherein when the policy management server generates the user name and password, at the same time according to the service type of the user ID, account type and application, select the appropriate FTP service policy to bind with the service, when the user is validated, providing services to users based on the policy bound.
  13. 13. 根据权利要求8至12任一所述的通过CDN网络实现FTP下载服务的方法,其中用户的请求会被重定向到靠近用户的一台FTP Cache上,如果该节点有用户请求访问的内容, 可直接为用户提供服务;否则,直接通过FTP源服务器为用户提供服务。 13. The method as claimed in claim 8-1 by the CDN to any one of claim 12 to achieve FTP download service, where the user's request will be redirected to a station close to the Cache FTP users, if the node has access to a user request content , can provide users with services directly; otherwise, the direct provision of services to users via FTP source server.
  14. 14. 一种通过CDN网络实现FTP下载服务的方法,其特征在于包括步骤: 用户终端访问门户服务器,点击URL链接获取服务;根据用户终端的CDN标识,将全局负载均衡设备的IP地址返回给用户终端; 用户终端向全局负载均衡设备发起请求;全局负载均衡设备判断用户IP地址,根据就近性原则返回到用户终端最近的本地负载均衡设备的地址给用户终端;用户终端向本地负载均衡设备发起请求; 本地负载均衡设备将用户信息发送到认证服务器进行认证;若认证通过,则认证服务器通知本地负载均衡设备认证通过,否则认证服务器向用户终端返回拒绝服务消息;在认证通过后,本地负载均衡设备向策略管理服务器发起请求;策略管理服务器生成用户访问FTP Cache所用的用户名和密码,并生成相应的策略; 策略管理服务器将所生成的用户名、密码、以及相关策略返 14. A method implemented by the CDN FTP download service network, characterized by comprising the steps of: a user terminal accesses the portal server, click on the URL for service; CDN identifier according to the user terminal, the IP address of the global load balancing device is returned to the user terminal; user terminal load to the global balancing device initiates a request; global load balancing device determines that the user IP address, returns to the user's most recent address local load balancing apparatus terminal to the user terminal according to the proximity advises; user terminal requests to local load balancing device to initiate ; local load balancing device transmits the user information to the authentication server for authentication; if the authentication is passed, the authentication server notifies the local load balancing device authentication otherwise, the authentication server returns a denial of service message to the user terminal; after authentication, the local load balancing device to initiate a policy management server requests; policy management server generates user access FTP Cache using the same user name and password, and generates the corresponding policy; policy management server generated user name, password, and related policy return 给本地负载均街设备; 本地负载均衡设备判断内容是否本地命中;在判断本地命中时,本地负载均衡设备根据内容分布、负载情况,选择合适的FTP Cache,将其地址、用户名和密码等信息返回给用户终端; 用户终端向FTP Cache发起FTP下载请求;FTP Cache将用户请求中的用户名和密码信息送至策略管理服务器进行验证; 验证通过后,策略管理服务器向FTP Cache下发策略;以及FTP Cache根据策略管理服务器设定的策略为用户终端提供服务,进行数据传输。 To the local load all street equipment; local load balancing device determines whether the contents of local hits; when determining local hit, the local load balancing device based on content distribution, load, select the appropriate FTP Cache, the information about its address, user name and password to return to the user terminal; the user terminal initiates the FTP Cache FTP download request; FTP Cache username and password information user request to the policy management server for authentication; after verification by, the policy management server sends the policy to the next FTP Cache; and FTP Cache provide services for user terminals based on policies set by the policy management server for data transmission.
  15. 15. 根据权利要求14所述的通过CDN网络实现FTP下载服务的方法,还包括步骤: 若在文件未传输完成后就发生中断,用户终端将首先向上次提供服务的FTP Cache发起请求;FTP Cache到策略管理服务器对用户名、密码进行验证;以及若确定用户名和密码仍存在有效期内,则提供断点续传服务。 15. The method as claimed in claim 14 by the CDN network implemented FTP download services, further comprising the step of: if an interrupt occurs after the file transfer is not completed, the user terminal will be the first to the last of the FTP service initiation request the Cache; FTP the Cache policy management server to validate the user name, password; and if a user name and password are still within the validity period, provides HTTP services OK.
  16. 16. 根据权利要求15所述的通过CDN网络实现FTP下载服务的方法,还包括步骤: 若未能通过验证,用户需要重新点击门户服务器,重新开始下载过程。 16. The network according to claim 15, a CDN FTP download services implemented method, further comprising the step of: if not pass authentication, user needs to click on the portal server, restart the download process.
  17. 17. 根据权利要求14所述的通过CDN网络实现FTP下载服务的方法,其中在内容本地未命中时,本地的FTP Cache上没有用户请求的内容,本地负载均衡设备将用户的请求重定向到文件存放的FTP源服务器,从FTP源服务器直接提供服务。 17. The network according to claim 14, a CDN FTP download services implemented method, wherein when the contents of the local miss, no content requested by the user locally on the Cache FTP, local load balancing device to redirect the user requests a file FTP server to store the source, the source from the FTP server to provide services directly.
  18. 18. 根据权利要求17所述的通过CDN网络实现FTP下载服务的方法,还包括步骤: 若在文件夹传输完成后就发生中断,用户终端将首先向上次提供服务的FTP源服务器发起请求;FTP源服务器到策略管理服务器对用户名、密码进行验证;以及若确定用户名和密码仍在效期内,则提供断点续传服务。 18. The method of claim 17 through claim CDN network implemented FTP download services, further comprising the step of: if an interrupt occurs after the completion of the transfer folder, a user terminal will be the first to the last service initiation request source server FTP; FTP source server to the policy management server for user name and password for authentication; and if it is determined the user name and password is still within the limitation period, provides HTTP services.
  19. 19. 根据权利要求18所述的通过CDN网络实现FTP下载服务的方法,还包括步骤: 若未能通过验证,用户需要重新点击门户服务器,重新开始下载过程。 19. The CDN network through the method according to claim 18, FTP download service is implemented, further comprising the step of: if not pass authentication, user needs to click on the portal server, restart the download process.
  20. 20. —种通过CDN网络实现FTP下载服务的方法,其特征在于包括步骤: 用户终端访问门户服务器,点击URL链接获取服务;根据用户终端的CDN标识,将全局负载均衡设备的IP地址返回给用户终端; 用户终端向全局负载均衡设备发起请求;全局负载均衡设备判断用户IP地址,根据就近性原则返回到用户终端最近的本地负载均衡设备的地址给用户终端;用户终端向本地负载均衡设备发起请求;本地负载均衡设备选择合适的FTP Cache,将其地址返回给用户终端,从而将用户终端重定向到FTP Cache ;用户终端向FTP Cache发起FTP下载请求; FTP Cache将用户信息发送到认证服务器进行认证; 若认证通过,则认证服务器通知FTP Cache认证通过; 在通过认证之后,FTP Cache向策略管理服务器发起请求;策略管理服务器生成用户访问FTP服务器所用的用户名和密码,并生成相应的策略; 20. - The method of implementations of FTP download service through the CDN network, comprising the steps of: a user terminal accesses the portal server, click on the URL for service; CDN identifier according to the user terminal, the IP address of the global load balancing device is returned to the user terminal; user terminal load to the global balancing device initiates a request; global load balancing device determines that the user IP address, returns to the user's most recent address local load balancing apparatus terminal to the user terminal according to the proximity advises; user terminal requests to local load balancing device to initiate ; local load balancing apparatus the Cache select the appropriate FTP, its address is returned to the user terminal, so as to redirect the user terminal to the Cache FTP; FTP user terminal initiates a download request to the FTP Cache; FTP Cache transmits the user information to the authentication server for authentication. ; if authenticated, the authentication server notifies the FTP Cache authentication; after certification, FTP Cache initiate a request to the policy management server; policy management server generates the user to access the FTP server using the same user name and password, and an appropriate strategy; 略管理服务器将所生成的用户名、密码、以及相关策略返回给FTPCache ; 判断内容是否本地命中;在内容本地命中时,用户终端向FTP Cache中的FTP服务器发起FTP下载请求; FTP Cache中的FTP服务器将用户请求中的用户名和密码信息送至策略管理服务器进行验证;验证通过后,策略管理服务器向FTP Cache中的FTP服务器下发策略; FTP Cache中的FTP服务器根据策略管理服务器设定的策略为用户终端提供服务,进行数据传输。 Strategic management server generated user name, password, and related policy back to the FTPCache; determine whether the contents of local hits; when the contents of a local hit, the user terminal initiates FTP download request to the FTP Cache The FTP server; FTP Cache in FTP server the user name and password information of the user request to the policy management server for authentication; after the verification, the management server delivers the policy to the policy of the Cache FTP server FTP; FTP server FTP in the Cache set in accordance with the policy management server policy provide services for the user terminal, for data transmission.
  21. 21. 根据权利要求20所述的通过CDN网络实现FTP下载服务的方法,还包括步骤: 若在文件未传输完成后就发生中断,用户终端将首先向上次提供服务的FTP Cache发起请求;FTP Cache到策略管理服务器对用户名、密码进行验证;以及若确定用户名和密码仍在有效期内,则提供断点续传服务。 21. The method of claim 20 a CDN network according to claim 1. FTP download services, further comprising the step of: if an interrupt occurs after the file transfer is not completed, the user terminal will be the first to the last of the FTP service initiation request the Cache; FTP the Cache policy management server to validate the user name, password; and if it is determined in the user name and password are still valid, provides HTTP services.
  22. 22. 根据权利要求21所述的通过CDN网络实现FTP下载服务的方法,还包括步骤: 若未能通过验证,用户需要生产点击门户服务器,重新开始下载过程。 22. The method as claimed in claim 21 by the CDN network implemented FTP download service, further comprising the step of: if not pass authentication, the user needs to click on the production of the portal server, restart the download process.
  23. 23. 根据权利要求20所述的通过CDN网络实现FTP下载服务的方法,其中在内容本地未命中时,本地的FTP Cache中的FTP服务器上没有用户请求的内容,本地负载均衡设备将用户的请求重定向到文件存放的FTP源服务器,从FTP源服务器直接提供服务。 23. The network of claim 20 CDN through FTP download service realization method of claim, wherein when the contents of the local miss, no content requested by the user on the local FTP server FTP in the Cache, the local load balancing device user's request redirected to the FTP server source file is stored, a source from the FTP server to provide services directly.
  24. 24. 根据权利要求23所述的通过CDN网络实现FTP下载服务的方法,还包括步骤: 若在文件未传输完成后就发生中断,用户终端将首先向上次提供服务的FTP源服务器发起请求;FTP源服务器到策略管理服务器对用户名、密码进行验证;以及若确定用户名和密码仍在有效期内,则提供断点续传服务。 24. The network according to claim 23, a CDN FTP download services implemented method, further comprising the step of: if an interrupt occurs after the file transfer is not completed, the user terminal will be the first to the last service initiation request source server FTP; FTP source server to the policy management server for user name and password for authentication; and if it is determined the user name and password is still valid, provides HTTP services.
  25. 25. 根据权利要求24所述的通过CDN网络实现FTP下载服务的方法,还包括步骤: 若未能通过验证,用户需要重新点击门户服务器,重新开始下载过程。 25. The method as claimed in claim 24, by the CDN network implemented FTP download service, further comprising the step of: if not pass authentication, user needs to click on the portal server, restart the download process.
CN 200610076642 2006-04-27 2006-04-27 System and method for realizing FTP download service through CDN network CN101064729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610076642 CN101064729B (en) 2006-04-27 2006-04-27 System and method for realizing FTP download service through CDN network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610076642 CN101064729B (en) 2006-04-27 2006-04-27 System and method for realizing FTP download service through CDN network

Publications (2)

Publication Number Publication Date
CN101064729A CN101064729A (en) 2007-10-31
CN101064729B true CN101064729B (en) 2010-06-09

Family

ID=38965433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610076642 CN101064729B (en) 2006-04-27 2006-04-27 System and method for realizing FTP download service through CDN network

Country Status (1)

Country Link
CN (1) CN101064729B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015096745A1 (en) * 2013-12-24 2015-07-02 乐视网信息技术(北京)股份有限公司 Data processing method and device in content delivery network

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222424B (en) 2007-12-24 2011-02-09 中国电信股份有限公司 Content distribution network and scheduling method based on content in the network
CN101729497B (en) 2008-10-22 2013-02-27 国际商业机器公司 Method and system for providing content
US20100223364A1 (en) * 2009-02-27 2010-09-02 Yottaa Inc System and method for network traffic management and load balancing
CN101621545B (en) 2009-07-07 2012-11-14 中兴通讯股份有限公司 Device and method for pulling down media resource towards terminal device
CN101998145B (en) * 2009-08-18 2015-05-13 中兴通讯股份有限公司 Content distribution method and system for improving mobile terminal unicast service quality
CN101662658B (en) 2009-09-08 2013-06-05 中兴通讯股份有限公司 Program push method, set-top box and electronic program guide
CN101808118A (en) * 2010-03-02 2010-08-18 浪潮(北京)电子信息产业有限公司 Access method, device and system of server
CN101867613B (en) * 2010-06-08 2014-12-17 中兴通讯股份有限公司 Content delivery CDN sub system and data synchronization method
CN102143212B (en) * 2010-12-31 2014-02-26 华为技术有限公司 Cache sharing method and device for content delivery network
CN102148835A (en) * 2011-04-27 2011-08-10 许式伟 Method and system for transmitting and sharing electronic documents
CN102143237A (en) * 2011-05-09 2011-08-03 宋健 Grid-based Internet content delivery method and system
CN102325164B (en) * 2011-07-20 2017-07-21 南京中兴新软件有限责任公司 Ftp user management approach, method and apparatus for ftp user login
CN102368833B (en) * 2011-11-29 2013-09-04 乐视网信息技术(北京)股份有限公司 Method for carrying out segment download equalization on video information
CN102387220A (en) * 2011-12-22 2012-03-21 乐视网信息技术(北京)股份有限公司 Offline downloading method and system based on cloud storage
CN104065693A (en) * 2013-04-16 2014-09-24 腾讯科技(深圳)有限公司 Method, device and system for accessing network data in webpage applications
CN104168300B (en) * 2013-05-17 2017-06-27 中国电信股份有限公司 Method and system for accelerating content
CN104580076B (en) * 2013-10-14 2018-02-23 中国移动通信集团北京有限公司 An information publishing method, system and apparatus
CN103731506B (en) * 2014-01-20 2017-08-11 中国联合网络通信集团有限公司 A content injection method, the first business services and content delivery network node
CN103986735B (en) * 2014-06-05 2017-04-19 北京赛维安讯科技发展有限公司 Cdn network security systems and theft methods
CN105991603A (en) * 2015-02-26 2016-10-05 阿里巴巴集团控股有限公司 Authority determination method and device
CN105162878B (en) * 2015-09-24 2018-08-31 网宿科技股份有限公司 Distributed storage file distribution system and method based on
CN105897852A (en) * 2015-12-29 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement downloading method, client and server
CN106130951A (en) * 2016-05-31 2016-11-16 努比亚技术有限公司 Application store service management method and device
CN107147661A (en) * 2017-06-01 2017-09-08 郑州云海信息技术有限公司 System and method for enhancing FTP protocol security based on dynamic command

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6477522B1 (en) 1999-06-10 2002-11-05 Gateway, Inc. Dynamic performance based server selection
CN1432248A (en) 2000-03-30 2003-07-23 英特尔公司 Method and device for distributed caching
CN1481635A (en) 2000-10-26 2004-03-10 普里斯梅迪亚网络有限公司 Method and appts. for large payload distribution in network
CN1484403A (en) 2002-09-20 2004-03-24 华为技术有限公司 Method for distributing content in network system
CN1585357A (en) 2003-08-19 2005-02-23 华为技术有限公司 Method for selecting server in network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6477522B1 (en) 1999-06-10 2002-11-05 Gateway, Inc. Dynamic performance based server selection
CN1432248A (en) 2000-03-30 2003-07-23 英特尔公司 Method and device for distributed caching
CN1481635A (en) 2000-10-26 2004-03-10 普里斯梅迪亚网络有限公司 Method and appts. for large payload distribution in network
CN1484403A (en) 2002-09-20 2004-03-24 华为技术有限公司 Method for distributing content in network system
CN1585357A (en) 2003-08-19 2005-02-23 华为技术有限公司 Method for selecting server in network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
同上.

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015096745A1 (en) * 2013-12-24 2015-07-02 乐视网信息技术(北京)股份有限公司 Data processing method and device in content delivery network

Also Published As

Publication number Publication date
CN101064729A (en) 2007-10-31

Similar Documents

Publication Publication Date Title
Ahlgren et al. Design considerations for a network of information
Dannewitz et al. Network of information (netinf)–an information-centric networking architecture
US9009465B2 (en) Augmenting name/prefix based routing protocols with trust anchor in information-centric networks
US9961143B2 (en) Providing enhanced data retrieval from remote locations
US7590704B2 (en) Systems and methods for processing dynamic content
US9026616B2 (en) Content delivery reconciliation
CA2475216C (en) Method and system for providing third party authentification of authorization
EP2663929B1 (en) Customized domain names in a content delivery network (cdn)
EP2294515B1 (en) Request routing using network computing components
Verma Content distribution networks
US7954144B1 (en) Brokering state information and identity among user agents, origin servers, and proxies
AU737742B2 (en) A method and system for distributed caching, prefetching and replication
KR100856674B1 (en) System and method for authenticating clients in a client-server environment
CN102546583B (en) The computer-executable method and system for facilitating network service virtualization
US8397073B1 (en) Managing secure content in a content delivery network
US6892218B2 (en) Extending network services using mobile agents
CN1287305C (en) network system
US7221935B2 (en) System, method and apparatus for federated single sign-on services
US7711647B2 (en) Digital rights management in a distributed network
US20120324036A1 (en) System And Method For Acceleration Of A Secure Transmission Over Satellite
US7992212B2 (en) Mobile terminal and gateway for remotely controlling data transfer from secure network
US7640578B2 (en) System and method for providing secure communication between computer systems
CN100592827C (en) System, method and apparatus for federated single sign-on services
CN1855884B (en) Load balancing server and system
US9172682B2 (en) Local authentication in proxy SSL tunnels using a client-side proxy agent

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted