[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2017012475A1 - Data acquisition method and device - Google Patents

Data acquisition method and device Download PDF

Info

Publication number
WO2017012475A1
WO2017012475A1 PCT/CN2016/089307 CN2016089307W WO2017012475A1 WO 2017012475 A1 WO2017012475 A1 WO 2017012475A1 CN 2016089307 W CN2016089307 W CN 2016089307W WO 2017012475 A1 WO2017012475 A1 WO 2017012475A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
acquisition request
routing device
data acquisition
cache server
Prior art date
Application number
PCT/CN2016/089307
Other languages
French (fr)
Chinese (zh)
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 阿里巴巴集团控股有限公司
Publication of WO2017012475A1 publication Critical patent/WO2017012475A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a data acquiring method and device.
  • the traditional CDN domain name can only be returned to a storage center, and the content returned by the source station is cached on the CDN node and transparently transmitted to the client. This also means that the domain name of a CDN can only correspond to the file of a single storage center. Storage facility.
  • CDN domain name can only be returned to one storage center, which results in multiple domain names when data resources are distributed in multiple storage centers, and cannot be merged into one domain name to access, resulting in high user cost. , affecting the user's experience.
  • a domain name can only be returned to a storage center, which causes the cost of using multiple storage centers to be too high, and affects the user experience.
  • the present application proposes a data acquisition method, including:
  • the routing device receives the data acquisition request from the source of the CDN cache server,
  • the routing device searches for data corresponding to the data acquisition request based on the data acquisition request;
  • the routing device generates a feedback message based on the search result
  • the routing device sends the feedback message to the CDN cache server to cause the CDN cache server to obtain the data based on the feedback message.
  • the method before the routing device receives the data acquisition request of the CDN cache server, the method further includes:
  • the data acquisition request includes a URL of the data, where the data is stored in a storage center.
  • the routing device searches for data corresponding to the data acquisition request based on the data acquisition request, and specifically includes:
  • the routing device performs a data search based on the URI to determine a storage center where the data is located;
  • the routing device extracts a domain name of a storage center where the data is located.
  • a data index table is pre-stored in the routing device, where the index table stores a correspondence between each storage center and data stored in each storage center.
  • the routing device performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
  • the routing device performs a lookup in the index table based on the URI to determine a storage center where the data is located.
  • the routing device stores, in advance, a correspondence between a domain name of each storage center and the data acquisition request.
  • the routing device performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
  • the routing device looks up the data in various storage centers based on the URI to determine a storage center in which the data resides.
  • the routing device generates a feedback message based on the search result, which specifically includes:
  • the routing device generates a second URL based on the extracted domain name and the URI as a feedback message.
  • the application also proposes a data acquisition method, including:
  • the CDN cache server returns the received data acquisition request to the routing device
  • the CDN cache server receives a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
  • the CDN cache server acquires data corresponding to the data acquisition request based on the feedback message.
  • the feedback message includes a URL of the data, where the data is stored in a storage center;
  • the acquiring, by the CDN cache server, the data corresponding to the data acquisition request, based on the feedback message specifically includes:
  • the CDN cache server acquires the data in the determined storage center according to the URI.
  • the method further includes:
  • the CDN cache server caches the data and sends the data to a user terminal corresponding to the data acquisition request.
  • the application also proposes a routing device, including:
  • a receiving module configured to receive a data acquisition request from a source of the CDN cache server
  • a searching module configured to search for data corresponding to the data acquisition request based on the data acquisition request
  • a generating module configured to generate a feedback message based on the search result
  • a sending module configured to send the feedback message to the CDN cache server, so that the CDN cache server acquires the data based on the feedback message.
  • it also includes:
  • a modifying module configured to modify a return source address of the CDN cache server to an address of the routing device, so that when the CDN cache server returns to the source, the routing device receives a data acquisition request of the CDN cache server back to the source.
  • the data acquisition request includes a URL of the data, where the data is stored in a storage center.
  • the searching module is specifically configured to:
  • the routing device performs a data search based on the URI to determine a storage center where the data is located;
  • the routing device extracts a domain name of a storage center where the data is located.
  • a data index table is pre-stored in the routing device, where the index table stores a correspondence between each storage center and data stored in each storage center.
  • the searching module performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
  • a lookup is performed in the index table based on the URI to determine a storage center where the data is located.
  • the routing device stores, in advance, a correspondence between a domain name of each storage center and the data acquisition request.
  • the searching module performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
  • the data is looked up in various storage centers based on the URI to determine a storage center in which the data resides.
  • the generating module is specifically configured to:
  • a second URL is generated as a feedback message based on the extracted domain name and the URI.
  • the application also proposes a CDN cache server, comprising:
  • a source module configured to return the received data acquisition request to the routing device
  • a receiving module configured to receive a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
  • an obtaining module configured to acquire data corresponding to the data acquisition request based on the feedback message.
  • the feedback message includes a URL of the data, where the data is stored in a storage center;
  • the obtaining module is specifically configured to:
  • the data is obtained in the determined storage center according to the URI.
  • the CDN cache server further includes:
  • a sending module configured to cache the data, and send the data to a user terminal corresponding to the data obtaining request.
  • the application also discloses a data acquisition system, including:
  • a routing device configured to receive a data acquisition request from a source of the CDN cache server, search for data corresponding to the data acquisition request based on the data acquisition request, generate a feedback message based on the search result, and send the feedback message to the a CDN cache server, such that the CDN cache server acquires the data based on the feedback message;
  • a CDN cache server configured to: return a received data acquisition request to the routing device; and receive, by the routing device, a feedback message that is based on the data acquisition request, where the feedback message includes data corresponding to the data acquisition request. And the address corresponding to the data acquisition request is obtained based on the feedback message.
  • the data acquisition request of the CDN cache server is received by the device, and the data corresponding to the data acquisition request is searched based on the data acquisition request; and the feedback message is generated based on the search result.
  • a domain name can be returned to multiple storage centers, which reduces the cost of use and improves the user experience.
  • FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a data acquisition method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart diagram of a data acquisition method according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a routing device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a routing device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a CDN cache server according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a data acquisition system according to an embodiment of the present application.
  • the embodiment of the present application discloses a data acquisition method, which is applied to a system as shown in FIG. 1 including multiple storage centers, in which the CDN cache server will data from the user terminal.
  • the request source is sent back to the routing device, and after the routing device finds the data, the feedback message generated by the storage center based on the data is fed back to the CDN cache server, so that the CDN cache server caches the data and returns the data to the user terminal, thereby reducing the user and the user.
  • the workload of the CDN cache server improves the user experience.
  • the method is shown in Figure 2 and includes the following steps:
  • Step 201 The routing device receives a data acquisition request from a source of the CDN cache server.
  • the method further includes:
  • the source address of the CDN cache server is modified to the address of the routing device, so that when the CDN cache server returns to the source, the routing device receives the data acquisition request from the source of the CDN cache server.
  • the terminal where the user is located sends a data acquisition request to the CDN cache server
  • the data corresponding to the data acquisition request is not in the cache of the CDN cache server
  • the corresponding data is obtained by the other device based on the data acquisition request, by default.
  • the CDN cache server has a preset source address, that is, a preset source address.
  • the CDN cache server receives the data acquisition request and does not cache the required data, it will obtain the source back to the source station based on the data. Obtain the data in the medium.
  • the source address of the CDN cache server is modified in this application.
  • the routing device may be modified by the routing device, or may be modified by any other device or manual setting, and modified to be the address of the routing device, so that when the source needs to be returned, the CDN cache server will data.
  • the obtaining request is sent to the routing device, and then the routing device searches for the corresponding data based on the data obtaining request; for example, the original source address of the CDN cache server is address 1 (ie, the source station address), and the address of the routing device is address 2.
  • the CDN cache server returns the data acquisition request to address 1, and after changing the source address from address 1 to address 2, the CDN cache server will request the data acquisition when it needs to return the source. Returning the source to address 2, that is, sending a data acquisition request to the routing device.
  • Step 202 The routing device searches for data corresponding to the data acquisition request based on the data acquisition request.
  • the data acquisition request includes a URL (Uniform Resource Locator), and the data is stored in the storage center.
  • URL Uniform Resource Locator
  • the routing device searches for data corresponding to the data acquisition request based on the data acquisition request, and specifically includes:
  • the routing device determines a URI (Uniform Resource Identifier) in the URL based on the URL in the data acquisition request; the routing device performs data search based on the URI to determine a storage center where the data is located; and the storage device where the routing device extracts the data domain name.
  • a URI Uniform Resource Identifier
  • the data is searched by the URI, and the specific search has the following two methods:
  • a data index table is pre-stored in the routing device, and a correspondence relationship between each storage center and data stored in each storage center is stored in the index table.
  • the routing device performs data search based on the URI to determine the storage center where the data is located, and specifically includes: the routing device searches the index table based on the URI, and determines the storage center where the data is located.
  • the routing device stores an index table in advance, and the index table may be as shown in Table 1.
  • the data acquisition request includes a URL
  • the URL includes the domain name and the URI. Therefore, after receiving the data acquisition request, the routing device extracts the URI, and the URI can determine the data to be searched, for example, to check If the data G is found, it can be found in the storage center 2 through the index table, thereby searching for the data and recording the domain name of the storage center 2.
  • mapping between the domain name of each storage center and the data acquisition request is pre-stored in the routing device
  • the routing device performs data search based on the URI to determine the storage center where the data is located, and specifically includes: the routing device determines each storage center corresponding to the data acquisition request based on the correspondence relationship; the routing device searches for data in each storage center based on the URI to determine the data. Storage center.
  • Step 203 The routing device generates a feedback message based on the search result.
  • the routing device generates a feedback message based on the search result, which specifically includes:
  • the routing device generates a feedback message based on the search result, which specifically includes:
  • the routing setting generates a second URI as a feedback message based on the extracted domain name (ie, the domain name of the storage center where the data is located) and the URI.
  • the storage center includes a data center and a source station as an example. If the data is found in the data center, the domain name of the data center (for example, www.ABCD.com) and the URI (for example, 1.jpg) are used. Generating a second URL as a feedback message, for example, may be www.ABCD.com/1.jpg as a feedback message, and if it is determined that the data is stored in the source station, similarly, the domain name of the source station is extracted, for example, www. EFC.com, and URI, for example 1.jpg, generate a second URL as a feedback message, for example, www.EFC.com/1.jpg as a feedback message.
  • the domain name of the data center for example, www.ABCD.com
  • the URI for example, 1.jpg
  • Step 204 The routing device sends a feedback message to the CDN cache server, so that the CDN cache service acquires the data based on the feedback message.
  • step 203 a feedback message is generated, and then the routing device sends the generated feedback message to the CDN cache server, so that the CDN cache server receives the feedback message (either the second URL or the third URL).
  • the corresponding data is found based on the feedback message (either in the data center or at the source station), the data is cached, and the data is presented to the terminal where the user is located.
  • the above is based on the routing device side.
  • the second embodiment of the present application also provides a data acquisition method in the CDN cache server, as shown in FIG. 3, including:
  • Step 301 The CDN cache server returns the received data acquisition request to the routing device.
  • Step 302 The CDN cache server receives a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
  • Step 303 The CDN cache server acquires data corresponding to the data acquisition request based on the feedback message.
  • the feedback message includes a URL of the data, and the data is stored in the storage center;
  • the CDN cache server obtains the data corresponding to the data acquisition request based on the feedback message, and specifically includes:
  • the CDN cache server determines the domain name of the storage center where the data is located and the URI of the data based on the URL in the feedback message;
  • the CDN cache server fetches data in the determined storage center based on the URI.
  • the method further includes:
  • the CDN cache server caches the data and sends the data to the user terminal corresponding to the data acquisition request.
  • the second embodiment of the present application further provides a data acquisition method in a specific scenario, including:
  • the user has a lot of picture data, part of which is stored in the data center (data center domain name: user-bucket.oss.aliyuncs.com), and part of it is stored in the user-defined source station (source domain name is In :image-source.somesite.com), the user visits www.somesitecdn.com (the CDN domain name of the image). Since the user wants to migrate the image from the source station to the data center, the user needs to fill in his source domain name. Image-source.somesite.com, and register his current CDN domain name www.somesitecdn.com, and the routing device stores the mapping relationship between www.somesitecdn.com and image-source.somesite.com;
  • the CDN cache server When the user visits www.somesitecdn.com, it passes through the CDN cache server. Since the source address of the CDN cache server is modified into a routing device in advance, the CDN cache server returns the access request to the routing device, whereby the routing device is based on The access request looks up the data to determine if the data is stored in the data center or the source station.
  • a picture abc.jpg has been uploaded to the data center, then when the user visits www.somesitecdn.com/abc.jpg, the routing device finds the picture in the data center, then returns X-SECOND-PROXY- PASS: user-bucket.oss.aliyuncs.com/abc.jpg Header to the CDN cache server, CDN cache server then go to user-bucket.oss.aliyuncs.com/abc.jpg to capture the image, cache the image and return to user.
  • the CDN cache server performs multiple times of returning through the routing device, so that the user actually sees and accesses the same CDN domain name, and realizes that a CDN domain name can be returned to multiple source stations.
  • the third embodiment of the present application further discloses a routing device, as shown in FIG. 4, including:
  • the receiving module 401 is configured to receive a data acquisition request of a source back of the CDN cache server, where
  • the searching module 402 is configured to search for data corresponding to the data acquisition request based on the data acquisition request;
  • a generating module 403, configured to generate a feedback message based on the search result
  • the sending module 404 is configured to send the feedback message to the CDN cache server, so that the CDN cache server obtains the data based on the feedback message.
  • the routing device further includes:
  • the modifying module 505 is configured to modify the return source address of the CDN cache server from the source station address to the address of the routing device, so that when the CDN cache server returns the source, the routing device receives the data returned by the CDN cache server. Get the request.
  • the data acquisition request includes a URL of the data, and the data is stored in a storage center.
  • the searching module 402 is specifically configured to:
  • the routing device Determining, by the routing device, a URI in the URL based on a URL in the data acquisition request; the routing device performs a data search based on the URI to determine a storage center where the data is located; and the routing device extracts the The domain name of the storage center where the data resides.
  • the routing device is pre-stored with a data index table, where the index table stores a correspondence between each storage center and data stored in each storage center;
  • the searching module 402 performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
  • a lookup is performed in the index table based on the URI to determine a storage center where the data is located.
  • the routing device stores in advance a correspondence between a domain name of each storage center and the data acquisition request;
  • the searching module 402 performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
  • the data is looked up in various storage centers based on the URI to determine a storage center in which the data resides.
  • the generating module 403 is specifically configured to:
  • a second URI is generated as a feedback message based on the extracted domain name and the URI.
  • the embodiment of the present application further discloses a CDN cache server, as shown in FIG. 6, comprising:
  • the source module 601 is configured to return the received data acquisition request to the routing device.
  • the receiving module 602 is configured to receive a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
  • the obtaining module 603 is configured to acquire data corresponding to the data acquisition request based on the feedback message.
  • the feedback message includes a URL of the data, and the data is stored in a storage center;
  • the obtaining module 603 is specifically configured to:
  • the data is obtained in the determined storage center according to the URI.
  • the CDN cache server further includes:
  • a sending module configured to cache the data, and send the data to a user terminal corresponding to the data obtaining request.
  • the embodiment of the present application further discloses a data acquisition system, as described in FIG. 1 and FIG. 7, including:
  • a routing device configured to receive a data acquisition request from a source of the CDN cache server, search for data corresponding to the data acquisition request based on the data acquisition request, generate a feedback message based on the search result, and send the feedback message to the a CDN cache server, such that the CDN cache server acquires the data based on the feedback message;
  • a CDN cache server configured to: return a received data acquisition request to the routing device; and receive, by the routing device, a feedback message that is based on the data acquisition request, where the feedback message includes data corresponding to the data acquisition request. And the address corresponding to the data acquisition request is obtained based on the feedback message.
  • the data receiving request of the source of the CDN cache server is received by the routing device, and the data corresponding to the data obtaining request is searched based on the data obtaining request; and a feedback message is generated based on the search result,
  • a domain name can be returned to multiple storage centers, which reduces the cost of use and improves the user experience.
  • the present application can be implemented by hardware, or by software plus a necessary general hardware platform.
  • the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various implementation scenarios of the present application.
  • modules in the apparatus in the implementation scenario may be distributed in the apparatus for implementing the scenario according to the implementation scenario description, or may be correspondingly changed in one or more devices different from the implementation scenario.
  • the modules of the above implementation scenarios may be combined into one module, or may be further split into multiple sub-modules.

Landscapes

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

Abstract

Disclosed are a data acquisition method and device. The method comprises: a routing device receiving a data acquisition request back to the source by a content distribution network (CDN) cache server, and the routing device searching for data corresponding to the data acquisition request based on the data acquisition request; and the routing device generating a feedback message based on a search result, and sending the feedback message to the CDN cache server so that the CDN cache server acquires the data based on the feedback message. In this way, by means of a routing device, a domain name back to the source of a plurality of storage centres is realized, thereby saving resources and improving the user experience.

Description

一种数据获取方法和设备Data acquisition method and device
本申请要求2015年07月17日递交的申请号为201510423689.3、发明名称为“一种数据获取方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application Serial No. No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No
技术领域Technical field
本申请实施例涉及通信技术领域,特别涉及一种数据获取方法和设备。The embodiments of the present invention relate to the field of communications technologies, and in particular, to a data acquiring method and device.
背景技术Background technique
传统的CDN域名只能回源到一个存储中心,并将源站返回的内容缓存在CDN节点上,同时透明透出给客户端,这也意味着一个CDN的域名只能对应单个存储中心的文件存储设施。The traditional CDN domain name can only be returned to a storage center, and the content returned by the source station is cached on the CDN node and transparently transmitted to the client. This also means that the domain name of a CDN can only correspond to the file of a single storage center. Storage facility.
对于用户如果想要同时让一个CDN域名支持多个存储中心的代理服务,目前是没有解决方案的,用户只能将所有文件数据迁移到一个集中的存储中心,然后配置CDN的回源地址到那个集中的存储中心去。这样中间会发生一段时间的访问中断,导致服务不可用,同时也限制了存储中心的可扩展性,随着业务量的增长,势必会导致存储中心的存储容量不够。For users who want to have a CDN domain name supporting multiple storage center proxy services at the same time, there is currently no solution. Users can only migrate all file data to a centralized storage center, and then configure the CDN's return source address to that. Centralized storage center to go. In this way, a period of access interruption occurs in the middle, which results in the service being unavailable, and also limits the scalability of the storage center. As the traffic volume increases, the storage capacity of the storage center is bound to be insufficient.
可见在现有技术中,一个CDN域名只能回源一个存储中心,这样导致当数据资源分布在多个存储中心时必须用多个域名,无法合并到一个域名来访问,导致用户使用成本太高,影响用户的体验。It can be seen that in the prior art, a CDN domain name can only be returned to one storage center, which results in multiple domain names when data resources are distributed in multiple storage centers, and cannot be merged into one domain name to access, resulting in high user cost. , affecting the user's experience.
发明内容Summary of the invention
针对现有技术中一个域名只能回源到一个存储中心,导致存在多个存储中心时使用成本过高,且影响用户体验的缺陷,本申请提出了一种数据获取方法,包括:In the prior art, a domain name can only be returned to a storage center, which causes the cost of using multiple storage centers to be too high, and affects the user experience. The present application proposes a data acquisition method, including:
路由设备接收CDN缓存服务器回源的数据获取请求,The routing device receives the data acquisition request from the source of the CDN cache server,
所述路由设备基于所述数据获取请求查找与所述数据获取请求对应的数据;The routing device searches for data corresponding to the data acquisition request based on the data acquisition request;
所述路由设备基于查找结果生成反馈消息;The routing device generates a feedback message based on the search result;
所述路由设备将所述反馈消息发送给所述CDN缓存服务器,以使得所述CDN缓存服务器基于所述反馈消息获取到所述数据。The routing device sends the feedback message to the CDN cache server to cause the CDN cache server to obtain the data based on the feedback message.
可选的,在所述路由设备接收CDN缓存服务器回源的数据获取请求之前,还包括:Optionally, before the routing device receives the data acquisition request of the CDN cache server, the method further includes:
将所述CDN缓存服务器的回源地址修改为所述路由设备的地址,以便在所述CDN缓存服务器回源时,路由设备接收所述CDN缓存服务器回源的数据获取请求。 Modifying a return source address of the CDN cache server to an address of the routing device, so that when the CDN cache server returns to the source, the routing device receives a data acquisition request from the CDN cache server.
可选的,所述数据获取请求中包含有所述数据的URL,所述数据存储在存储中心,Optionally, the data acquisition request includes a URL of the data, where the data is stored in a storage center.
所述路由设备基于所述数据获取请求查找与所述数据获取请求对应的数据,具体包括:The routing device searches for data corresponding to the data acquisition request based on the data acquisition request, and specifically includes:
所述路由设备基于所述数据获取请求中的URL确定所述URL中的URI;Determining, by the routing device, a URI in the URL based on a URL in the data acquisition request;
所述路由设备基于所述URI进行数据查找,以确定所述数据所在的存储中心;The routing device performs a data search based on the URI to determine a storage center where the data is located;
所述路由设备提取所述数据所在的存储中心的域名。The routing device extracts a domain name of a storage center where the data is located.
可选的,所述路由设备中预先存储有数据索引表,所述索引表中存储有各存储中心与各存储中心存储的数据的对应关系;Optionally, a data index table is pre-stored in the routing device, where the index table stores a correspondence between each storage center and data stored in each storage center.
所述路由设备基于所述URI进行数据查找,以确定所述数据所在的存储中心,具体包括:The routing device performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
所述路由设备基于所述URI在所述索引表中进行查找,确定所述数据所在的存储中心。The routing device performs a lookup in the index table based on the URI to determine a storage center where the data is located.
可选的,所述路由设备中预先存储有各个存储中心的域名与所述数据获取请求的对应关系;Optionally, the routing device stores, in advance, a correspondence between a domain name of each storage center and the data acquisition request.
所述路由设备基于所述URI进行数据查找,以确定所述数据所在的存储中心,具体包括:The routing device performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
所述路由设备基于对应关系确定所述数据获取请求对应的各个存储中心;Determining, by the routing device, each storage center corresponding to the data acquisition request according to a correspondence relationship;
所述路由设备基于所述URI在各个存储中心中查找所述数据以确定所述数据所在的存储中心。The routing device looks up the data in various storage centers based on the URI to determine a storage center in which the data resides.
可选的,所述路由设备基于查找结果生成反馈消息,具体包括:Optionally, the routing device generates a feedback message based on the search result, which specifically includes:
所述路由设备基于提取的域名和所述URI生成第二URL来作为反馈消息。The routing device generates a second URL based on the extracted domain name and the URI as a feedback message.
本申请还提出了一种数据获取方法,包括:The application also proposes a data acquisition method, including:
CDN缓存服务器将接收到的数据获取请求回源给路由设备;The CDN cache server returns the received data acquisition request to the routing device;
所述CDN缓存服务器接收路由设备基于所述数据获取请求反馈的反馈消息,其中所述反馈消息中包含有与所述数据获取请求对应的数据所在的地址;The CDN cache server receives a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
所述CDN缓存服务器基于所述反馈消息获取所述数据获取请求对应的数据。The CDN cache server acquires data corresponding to the data acquisition request based on the feedback message.
可选的,所述反馈消息中包含有所述数据的URL,所述数据存储在存储中心;Optionally, the feedback message includes a URL of the data, where the data is stored in a storage center;
所述CDN缓存服务器基于所述反馈消息获取所述数据获取请求对应的数据,具体包括: The acquiring, by the CDN cache server, the data corresponding to the data acquisition request, based on the feedback message, specifically includes:
所述CDN缓存服务器基于所述反馈消息中的URL确定所述数据所在的存储中心的域名以及所述数据的URI;Determining, by the CDN cache server, a domain name of the storage center where the data is located and a URI of the data based on a URL in the feedback message;
所述CDN缓存服务器根据所述URI在所述确定的存储中心中获取所述数据。The CDN cache server acquires the data in the determined storage center according to the URI.
可选的,在所述CDN缓存服务器基于所述反馈消息获取所述数据获取请求对应的数据之后,还包括:Optionally, after the CDN cache server acquires the data corresponding to the data acquisition request based on the feedback message, the method further includes:
所述CDN缓存服务器缓存所述数据,并将所述数据发送给所述数据获取请求对应的用户终端。The CDN cache server caches the data and sends the data to a user terminal corresponding to the data acquisition request.
本申请还提出了一种路由设备,包括:The application also proposes a routing device, including:
接收模块,用于接收CDN缓存服务器回源的数据获取请求,a receiving module, configured to receive a data acquisition request from a source of the CDN cache server,
查找模块,用于基于所述数据获取请求查找与所述数据获取请求对应的数据;a searching module, configured to search for data corresponding to the data acquisition request based on the data acquisition request;
生成模块,用于基于查找结果生成反馈消息;a generating module, configured to generate a feedback message based on the search result;
发送模块,用于将所述反馈消息发送给所述CDN缓存服务器,以使得所述CDN缓存服务器基于所述反馈消息获取到所述数据。And a sending module, configured to send the feedback message to the CDN cache server, so that the CDN cache server acquires the data based on the feedback message.
可选的,还包括:Optionally, it also includes:
修改模块,用于将所述CDN缓存服务器的回源地址修改为所述路由设备的地址,以便在所述CDN缓存服务器回源时,路由设备接收所述CDN缓存服务器回源的数据获取请求。And a modifying module, configured to modify a return source address of the CDN cache server to an address of the routing device, so that when the CDN cache server returns to the source, the routing device receives a data acquisition request of the CDN cache server back to the source.
可选的,所述数据获取请求中包含有所述数据的URL,所述数据存储在存储中心,Optionally, the data acquisition request includes a URL of the data, where the data is stored in a storage center.
所述查找模块,具体用于:The searching module is specifically configured to:
所述路由设备基于所述数据获取请求中的URL确定所述URL中的URI;Determining, by the routing device, a URI in the URL based on a URL in the data acquisition request;
所述路由设备基于所述URI进行数据查找,以确定所述数据所在的存储中心;The routing device performs a data search based on the URI to determine a storage center where the data is located;
所述路由设备提取所述数据所在的存储中心的域名。The routing device extracts a domain name of a storage center where the data is located.
可选的,所述路由设备中预先存储有数据索引表,所述索引表中存储有各存储中心与各存储中心存储的数据的对应关系;Optionally, a data index table is pre-stored in the routing device, where the index table stores a correspondence between each storage center and data stored in each storage center.
所述查找模块基于所述URI进行数据查找,以确定所述数据所在的存储中心,具体包括:The searching module performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
基于所述URI在所述索引表中进行查找,确定所述数据所在的存储中心。A lookup is performed in the index table based on the URI to determine a storage center where the data is located.
可选的,所述路由设备中预先存储有各个存储中心的域名与所述数据获取请求的对应关系; Optionally, the routing device stores, in advance, a correspondence between a domain name of each storage center and the data acquisition request.
所述查找模块基于所述URI进行数据查找,以确定所述数据所在的存储中心,具体包括:The searching module performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
基于对应关系确定所述数据获取请求对应的各个存储中心;Determining, according to the correspondence relationship, each storage center corresponding to the data acquisition request;
基于所述URI在各个存储中心中查找所述数据以确定所述数据所在的存储中心。The data is looked up in various storage centers based on the URI to determine a storage center in which the data resides.
可选的,所述生成模块,具体用于:Optionally, the generating module is specifically configured to:
基于提取的域名和所述URI生成第二URL来作为反馈消息。A second URL is generated as a feedback message based on the extracted domain name and the URI.
本申请还提出了一种CDN缓存服务器,包括:The application also proposes a CDN cache server, comprising:
回源模块,用于将接收到的数据获取请求回源给路由设备;a source module, configured to return the received data acquisition request to the routing device;
接收模块,用于接收路由设备基于所述数据获取请求反馈的反馈消息,其中所述反馈消息中包含有与所述数据获取请求对应的数据所在的地址;a receiving module, configured to receive a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
获取模块,用于基于所述反馈消息获取所述数据获取请求对应的数据。And an obtaining module, configured to acquire data corresponding to the data acquisition request based on the feedback message.
可选的,所述反馈消息中包含有所述数据的URL,所述数据存储在存储中心;Optionally, the feedback message includes a URL of the data, where the data is stored in a storage center;
所述获取模块,具体用于:The obtaining module is specifically configured to:
基于所述反馈消息中的URL确定所述数据所在的存储中心的域名以及所述数据的URI;Determining, according to a URL in the feedback message, a domain name of a storage center where the data is located and a URI of the data;
根据所述URI在所述确定的存储中心中获取所述数据。The data is obtained in the determined storage center according to the URI.
可选的,该CDN缓存服务器还包括:Optionally, the CDN cache server further includes:
发送模块,用于缓存所述数据,并将所述数据发送给所述数据获取请求对应的用户终端。And a sending module, configured to cache the data, and send the data to a user terminal corresponding to the data obtaining request.
本申请还公开了一种数据获取系统,包括:The application also discloses a data acquisition system, including:
路由设备,用于接收CDN缓存服务器回源的数据获取请求,基于所述数据获取请求查找与所述数据获取请求对应的数据;基于查找结果生成反馈消息;并将所述反馈消息发送给所述CDN缓存服务器,以使得所述CDN缓存服务器基于所述反馈消息获取到所述数据;a routing device, configured to receive a data acquisition request from a source of the CDN cache server, search for data corresponding to the data acquisition request based on the data acquisition request, generate a feedback message based on the search result, and send the feedback message to the a CDN cache server, such that the CDN cache server acquires the data based on the feedback message;
CDN缓存服务器,用于将接收到的数据获取请求回源给路由设备;接收路由设备基于所述数据获取请求反馈的反馈消息,其中所述反馈消息中包含有与所述数据获取请求对应的数据所在的地址;并基于所述反馈消息获取所述数据获取请求对应的数据。 a CDN cache server, configured to: return a received data acquisition request to the routing device; and receive, by the routing device, a feedback message that is based on the data acquisition request, where the feedback message includes data corresponding to the data acquisition request. And the address corresponding to the data acquisition request is obtained based on the feedback message.
与现有技术相比,本申请中通过由设备接收CDN缓存服务器回源的数据获取请求,以及基于所述数据获取请求查找与所述数据获取请求对应的数据;并基于查找结果生成反馈消息,实现了一个域名可以回源到多个存储中心,降低了使用成本,提高了用户的体验。Compared with the prior art, in the present application, the data acquisition request of the CDN cache server is received by the device, and the data corresponding to the data acquisition request is searched based on the data acquisition request; and the feedback message is generated based on the search result. A domain name can be returned to multiple storage centers, which reduces the cost of use and improves the user experience.
附图说明DRAWINGS
图1为本申请实施例的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application;
图2为本申请实施例公开的一种数据获取方法的流程示意图;2 is a schematic flowchart of a data acquisition method according to an embodiment of the present application;
图3为本申请实施例公开的一种数据获取方法的流程示意图;FIG. 3 is a schematic flowchart diagram of a data acquisition method according to an embodiment of the present application;
图4为本申请实施例公开的一种路由设备的结构示意图;4 is a schematic structural diagram of a routing device according to an embodiment of the present disclosure;
图5为本申请实施例公开的一种路由设备的结构示意图;FIG. 5 is a schematic structural diagram of a routing device according to an embodiment of the present disclosure;
图6为本申请实施例公开的一种CDN缓存服务器的结构示意图;FIG. 6 is a schematic structural diagram of a CDN cache server according to an embodiment of the present application;
图7为本申请实施例公开的一种数据获取系统的结构示意图。FIG. 7 is a schematic structural diagram of a data acquisition system according to an embodiment of the present application.
具体实施方式detailed description
针对背景技术的缺陷,本申请实施例公开了一种数据获取方法,应用于包括多次存储中心的如图1所示的系统中,在该系统中,CDN缓存服务器会将来自用户终端的数据获取请求回源至路由设备,路由设备查找到数据后基于数据所在的存储中心生成反馈消息反馈给CDN缓存服务器,以使CDN缓存服务器缓存该数据,并返回给用户终端,以此减少了用户和CDN缓存服务器的工作负荷,提高了用户体验。For the defects of the background art, the embodiment of the present application discloses a data acquisition method, which is applied to a system as shown in FIG. 1 including multiple storage centers, in which the CDN cache server will data from the user terminal. The request source is sent back to the routing device, and after the routing device finds the data, the feedback message generated by the storage center based on the data is fed back to the CDN cache server, so that the CDN cache server caches the data and returns the data to the user terminal, thereby reducing the user and the user. The workload of the CDN cache server improves the user experience.
该方法如图2所示,包括以下步骤:The method is shown in Figure 2 and includes the following steps:
步骤201、路由设备接收CDN缓存服务器回源的数据获取请求。Step 201: The routing device receives a data acquisition request from a source of the CDN cache server.
在路由设备接收CDN(Content distribution network,内容分发网络)缓存服务器回源的数据获取请求,之前还包括:Before the routing device receives the data acquisition request from the CDN (Content Distribution Network) cache server, the method further includes:
将CDN缓存服务器的回源地址修改为路由设备的地址,以便在CDN缓存服务器回源时,路由设备接收CDN缓存服务器回源的数据获取请求。The source address of the CDN cache server is modified to the address of the routing device, so that when the CDN cache server returns to the source, the routing device receives the data acquisition request from the source of the CDN cache server.
具体的,当用户所在终端向CDN缓存服务器发送数据获取请求,CDN缓存服务器自身的缓存中没有该数据获取请求对应的数据时,会基于该数据获取请求去其他设备获取对应的数据,在默认情况下,CDN缓存服务器有预设回源地址,也即预设的源站地址,当CDN缓存服务器接收到数据获取请求,而自身没有缓存需要的数据时,会基于该数据获取回源到源站中获取数据,为此,本申请中对CDN缓存服务器的回源地址进行修改, 具体的,可以是通过路由设备来进行修改,也可以是其他的任何设备或者人工设置等方式来进行修改,将其修改为路由设备的地址,以此当需要回源时,CDN缓存服务器将数据获取请求发送给路由设备,后续有路由设备来基于数据获取请求来查找对应的数据;例如,CDN缓存服务器原先的回源地址为地址1(即源站地址),路由设备的地址为地址2,原来在需要回源时,CDN缓存服务器是将数据获取请求回源到地址1,而在将回源地址从地址1修改为地址2之后,CDN缓存服务器在需要进行回源时,将数据获取请求回源到地址2,也即发送数据获取请求给路由设备。Specifically, when the terminal where the user is located sends a data acquisition request to the CDN cache server, if the data corresponding to the data acquisition request is not in the cache of the CDN cache server, the corresponding data is obtained by the other device based on the data acquisition request, by default. The CDN cache server has a preset source address, that is, a preset source address. When the CDN cache server receives the data acquisition request and does not cache the required data, it will obtain the source back to the source station based on the data. Obtain the data in the medium. To this end, the source address of the CDN cache server is modified in this application. Specifically, it may be modified by the routing device, or may be modified by any other device or manual setting, and modified to be the address of the routing device, so that when the source needs to be returned, the CDN cache server will data. The obtaining request is sent to the routing device, and then the routing device searches for the corresponding data based on the data obtaining request; for example, the original source address of the CDN cache server is address 1 (ie, the source station address), and the address of the routing device is address 2. Originally, when the source is needed, the CDN cache server returns the data acquisition request to address 1, and after changing the source address from address 1 to address 2, the CDN cache server will request the data acquisition when it needs to return the source. Returning the source to address 2, that is, sending a data acquisition request to the routing device.
步骤202、路由设备基于数据获取请求查找与数据获取请求对应的数据。Step 202: The routing device searches for data corresponding to the data acquisition request based on the data acquisition request.
数据获取请求中包含有数据的URL(Uniform Resource Locator,统一资源定位符),数据存储在存储中心。The data acquisition request includes a URL (Uniform Resource Locator), and the data is stored in the storage center.
由此,路由设备基于数据获取请求查找与数据获取请求对应的数据,具体包括:Therefore, the routing device searches for data corresponding to the data acquisition request based on the data acquisition request, and specifically includes:
路由设备基于数据获取请求中的URL确定URL中的URI(Uniform Resource Identifier,统一资源标识符);路由设备基于URI进行数据查找,以确定数据所在的存储中心;路由设备提取数据所在的存储中心的域名。The routing device determines a URI (Uniform Resource Identifier) in the URL based on the URL in the data acquisition request; the routing device performs data search based on the URI to determine a storage center where the data is located; and the storage device where the routing device extracts the data domain name.
也即通过URI来进行数据的查找,而具体的查找中,有以下两种方式:That is, the data is searched by the URI, and the specific search has the following two methods:
方式一,路由设备中预先存储有数据索引表,索引表中存储有各存储中心与各存储中心存储的数据的对应关系;In a first method, a data index table is pre-stored in the routing device, and a correspondence relationship between each storage center and data stored in each storage center is stored in the index table.
路由设备基于URI进行数据查找,以确定数据所在的存储中心,具体包括:路由设备基于URI在索引表中进行查找,确定数据所在的存储中心。The routing device performs data search based on the URI to determine the storage center where the data is located, and specifically includes: the routing device searches the index table based on the URI, and determines the storage center where the data is located.
具体的,在本申请的一个实施例中,路由设备预先存储有索引表,该索引表可以如表1所示。Specifically, in an embodiment of the present application, the routing device stores an index table in advance, and the index table may be as shown in Table 1.
表1Table 1
存储中心Storage center 存储中心中存储的数据Data stored in the storage center
存储中心1Storage center 1 数据A,数据B,数据CData A, Data B, Data C
存储中心2Storage center 2 数据F,数据GData F, data G
存储中心3Storage center 3 数据JData J
······ ······
存储中心nStorage center n 数据KData K
而数据获取请求中包含有URL,而URL中包含有域名以及URI,因此路由设备接收到数据获取请求后,提取出其中的URI,由URI就可以确定需要查找的数据,例如要查 找的是数据G,则可以通过索引表得知其存储在存储中心2中,以此查找数据,并记录存储中心2的域名。The data acquisition request includes a URL, and the URL includes the domain name and the URI. Therefore, after receiving the data acquisition request, the routing device extracts the URI, and the URI can determine the data to be searched, for example, to check If the data G is found, it can be found in the storage center 2 through the index table, thereby searching for the data and recording the domain name of the storage center 2.
方式二,路由设备中预先存储有各个存储中心的域名与数据获取请求的对应关系;In the second manner, the mapping between the domain name of each storage center and the data acquisition request is pre-stored in the routing device;
路由设备基于URI进行数据查找,以确定数据所在的存储中心,具体包括:路由设备基于对应关系确定数据获取请求对应的各个存储中心;路由设备基于URI在各个存储中心中查找数据以确定数据所在的存储中心。The routing device performs data search based on the URI to determine the storage center where the data is located, and specifically includes: the routing device determines each storage center corresponding to the data acquisition request based on the correspondence relationship; the routing device searches for data in each storage center based on the URI to determine the data. Storage center.
步骤203、路由设备基于查找结果生成反馈消息。Step 203: The routing device generates a feedback message based on the search result.
路由设备基于查找结果生成反馈消息,具体包括:The routing device generates a feedback message based on the search result, which specifically includes:
路由设备基于查找结果生成反馈消息,具体包括:The routing device generates a feedback message based on the search result, which specifically includes:
路由设置基于提取的域名(即数据所在的存储中心的域名)和URI生成第二URI来作为反馈消息。The routing setting generates a second URI as a feedback message based on the extracted domain name (ie, the domain name of the storage center where the data is located) and the URI.
具体的,以存储中心包括一个数据中心和一个源站为例来进行说明,若在数据中心查找到数据,利用数据中心的域名(例如为www.ABCD.com)与URI(例如为1.jpg)生成第二URL来作为反馈消息,例如可以为www.ABCD.com/1.jpg来作为反馈消息,而若是确定数据存储在源站中,类似的,提取源站的域名,例如为www.EFC.com,和URI,例如为1.jpg来生成第二URL来作为反馈消息,例如可以为www.EFC.com/1.jpg来作为反馈消息。Specifically, the storage center includes a data center and a source station as an example. If the data is found in the data center, the domain name of the data center (for example, www.ABCD.com) and the URI (for example, 1.jpg) are used. Generating a second URL as a feedback message, for example, may be www.ABCD.com/1.jpg as a feedback message, and if it is determined that the data is stored in the source station, similarly, the domain name of the source station is extracted, for example, www. EFC.com, and URI, for example 1.jpg, generate a second URL as a feedback message, for example, www.EFC.com/1.jpg as a feedback message.
步骤204、路由设备将反馈消息发送给CDN缓存服务器,以使得CDN缓存服务基于反馈消息获取到数据。Step 204: The routing device sends a feedback message to the CDN cache server, so that the CDN cache service acquires the data based on the feedback message.
在步骤203中,生成了反馈消息,之后,路由设备将生成的反馈消息发送给CDN缓存服务器,以便CDN缓存服务器在接收到该反馈消息后(或者是第二URL,或者是第三URL),基于反馈消息找到对应的数据(或者在数据中心,或者在源站),缓存该数据,并将该数据展示给用户所在终端。In step 203, a feedback message is generated, and then the routing device sends the generated feedback message to the CDN cache server, so that the CDN cache server receives the feedback message (either the second URL or the third URL). The corresponding data is found based on the feedback message (either in the data center or at the source station), the data is cached, and the data is presented to the terminal where the user is located.
以上是基于路由设备侧来进行说明,本申请实施例二在CDN缓存服务器还提出了一种数据获取方法,如图3所示,包括:The above is based on the routing device side. The second embodiment of the present application also provides a data acquisition method in the CDN cache server, as shown in FIG. 3, including:
步骤301、CDN缓存服务器将接收到的数据获取请求回源给路由设备;Step 301: The CDN cache server returns the received data acquisition request to the routing device.
步骤302、CDN缓存服务器接收路由设备基于数据获取请求反馈的反馈消息,其中反馈消息中包含有与数据获取请求对应的数据所在的地址;Step 302: The CDN cache server receives a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
步骤303、CDN缓存服务器基于反馈消息获取数据获取请求对应的数据。Step 303: The CDN cache server acquires data corresponding to the data acquisition request based on the feedback message.
具体的,反馈消息中包含有数据的URL,数据存储在存储中心; Specifically, the feedback message includes a URL of the data, and the data is stored in the storage center;
CDN缓存服务器基于反馈消息获取数据获取请求对应的数据,具体包括:The CDN cache server obtains the data corresponding to the data acquisition request based on the feedback message, and specifically includes:
CDN缓存服务器基于反馈消息中的URL确定数据所在的存储中心的域名以及数据的URI;The CDN cache server determines the domain name of the storage center where the data is located and the URI of the data based on the URL in the feedback message;
CDN缓存服务器根据URI在确定的存储中心中获取数据。The CDN cache server fetches data in the determined storage center based on the URI.
在CDN缓存服务器基于反馈消息获取数据获取请求对应的数据之后,还包括:After the CDN cache server obtains the data corresponding to the data acquisition request based on the feedback message, the method further includes:
CDN缓存服务器缓存数据,并将数据发送给数据获取请求对应的用户终端。The CDN cache server caches the data and sends the data to the user terminal corresponding to the data acquisition request.
为了进一步对本申请进行说明,本申请实施例二还提出了一种具体场景下的数据获取方法,包括:In order to further illustrate the application, the second embodiment of the present application further provides a data acquisition method in a specific scenario, including:
在该实施例中,用户有很多图片的数据,一部分存储在数据中心(数据中心域名为:user-bucket.oss.aliyuncs.com),还一部分存储在用户自定义的源站(源站域名为:image-source.somesite.com)中,用户访问www.somesitecdn.com(即图片的CDN域名),由于用户希望把图片从源站迁移到数据中心,为此,用户需要填写他的源站域名image-source.somesite.com,以及注册他当前使用的CDN域名www.somesitecdn.com,也由此路由设备中存储有www.somesitecdn.com与image-source.somesite.com的映射关系;In this embodiment, the user has a lot of picture data, part of which is stored in the data center (data center domain name: user-bucket.oss.aliyuncs.com), and part of it is stored in the user-defined source station (source domain name is In :image-source.somesite.com), the user visits www.somesitecdn.com (the CDN domain name of the image). Since the user wants to migrate the image from the source station to the data center, the user needs to fill in his source domain name. Image-source.somesite.com, and register his current CDN domain name www.somesitecdn.com, and the routing device stores the mapping relationship between www.somesitecdn.com and image-source.somesite.com;
当用户访问www.somesitecdn.com时,会经过CDN缓存服务器,由于预先将CDN缓存服务器的回源地址修改为路由设备,CDN缓存服务器将该访问请求回源到路由设备,由此,路由设备基于访问请求查找数据,确定数据是存储在数据中心还是源站。When the user visits www.somesitecdn.com, it passes through the CDN cache server. Since the source address of the CDN cache server is modified into a routing device in advance, the CDN cache server returns the access request to the routing device, whereby the routing device is based on The access request looks up the data to determine if the data is stored in the data center or the source station.
具体的,例如有一张图片abc.jpg已经被上传数据中心,那么用户访问www.somesitecdn.com/abc.jpg时,路由设备发现这张图片在数据中心里,那么就返回X-SECOND-PROXY-PASS:user-bucket.oss.aliyuncs.com/abc.jpg的Header给CDN缓存服务器,CDN缓存服务器再去user-bucket.oss.aliyuncs.com/abc.jpg抓取图片,缓存该图片并返回给用户。Specifically, for example, if a picture abc.jpg has been uploaded to the data center, then when the user visits www.somesitecdn.com/abc.jpg, the routing device finds the picture in the data center, then returns X-SECOND-PROXY- PASS: user-bucket.oss.aliyuncs.com/abc.jpg Header to the CDN cache server, CDN cache server then go to user-bucket.oss.aliyuncs.com/abc.jpg to capture the image, cache the image and return to user.
另外有一张图片def.jpg,不在数据中心,在用户的自定义源站上,那么用户访问www.sitesitecdn.com/def.jpg时,路由设备发现这张图片不在数据中心,那么就返回X-SECOND-PROXY-PASS:image-source.somesite.com/def.jpg的Header给CDN缓存服务器,CDN缓存服务器再去image-source.somesite.com/def.jpg抓取图片,缓存该图片并返回给用户。There is also a picture def.jpg, not in the data center, on the user's custom source station, then when the user visits www.sitesitecdn.com/def.jpg, the routing device finds that the picture is not in the data center, then returns X- SECOND-PROXY-PASS: image-source.somesite.com/def.jpg Header to the CDN cache server, CDN cache server to image-source.somesite.com/def.jpg to capture the image, cache the image and return to user.
以此,不管源站有多少个,通过路由设备来使得CDN缓存服务器进行多次回源,使得用户实际看到和访问是同一个CDN域名,实现了一个CDN域名可以回源到多个源站。 In this way, regardless of the number of source stations, the CDN cache server performs multiple times of returning through the routing device, so that the user actually sees and accesses the same CDN domain name, and realizes that a CDN domain name can be returned to multiple source stations.
本申请实施例三还公开了一种路由设备,如图4所示,包括:The third embodiment of the present application further discloses a routing device, as shown in FIG. 4, including:
接收模块401,用于接收CDN缓存服务器回源的数据获取请求,The receiving module 401 is configured to receive a data acquisition request of a source back of the CDN cache server, where
查找模块402,用于基于所述数据获取请求查找与所述数据获取请求对应的数据;The searching module 402 is configured to search for data corresponding to the data acquisition request based on the data acquisition request;
生成模块403,用于基于查找结果生成反馈消息;a generating module 403, configured to generate a feedback message based on the search result;
发送模块404,用于将所述反馈消息发送给所述CDN缓存服务器,以使得所述CDN缓存服务器基于所述反馈消息获取到所述数据。The sending module 404 is configured to send the feedback message to the CDN cache server, so that the CDN cache server obtains the data based on the feedback message.
如图5所示,该路由设备,还包括:As shown in FIG. 5, the routing device further includes:
修改模块505,用于将所述CDN缓存服务器的回源地址从源站地址修改为所述路由设备的地址,以便在所述CDN缓存服务器回源时,路由设备接收CDN缓存服务器回源的数据获取请求。The modifying module 505 is configured to modify the return source address of the CDN cache server from the source station address to the address of the routing device, so that when the CDN cache server returns the source, the routing device receives the data returned by the CDN cache server. Get the request.
具体的,所述数据获取请求中包含有所述数据的URL,所述数据存储在存储中心,Specifically, the data acquisition request includes a URL of the data, and the data is stored in a storage center.
所述查找模块402,具体用于:The searching module 402 is specifically configured to:
所述路由设备基于所述数据获取请求中的URL确定所述URL中的URI;所述路由设备基于所述URI进行数据查找,以确定所述数据所在的存储中心;所述路由设备提取所述数据所在的存储中心的域名。Determining, by the routing device, a URI in the URL based on a URL in the data acquisition request; the routing device performs a data search based on the URI to determine a storage center where the data is located; and the routing device extracts the The domain name of the storage center where the data resides.
具体的,所述路由设备中预先存储有数据索引表,所述索引表中存储有各存储中心与各存储中心存储的数据的对应关系;Specifically, the routing device is pre-stored with a data index table, where the index table stores a correspondence between each storage center and data stored in each storage center;
所述查找模块402基于所述URI进行数据查找,以确定所述数据所在的存储中心,具体包括:The searching module 402 performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
基于所述URI在所述索引表中进行查找,确定所述数据所在的存储中心。A lookup is performed in the index table based on the URI to determine a storage center where the data is located.
具体的,所述路由设备中预先存储有各个存储中心的域名与所述数据获取请求的对应关系;Specifically, the routing device stores in advance a correspondence between a domain name of each storage center and the data acquisition request;
所述查找模块402基于所述URI进行数据查找,以确定所述数据所在的存储中心,具体包括:The searching module 402 performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
基于对应关系确定所述数据获取请求对应的各个存储中心;Determining, according to the correspondence relationship, each storage center corresponding to the data acquisition request;
基于所述URI在各个存储中心中查找所述数据以确定所述数据所在的存储中心。The data is looked up in various storage centers based on the URI to determine a storage center in which the data resides.
所述生成模块403,具体用于:The generating module 403 is specifically configured to:
基于提取的域名和所述URI生成第二URI来作为反馈消息。A second URI is generated as a feedback message based on the extracted domain name and the URI.
本申请实施例还公开了一种CDN缓存服务器,如图6所示,包括: The embodiment of the present application further discloses a CDN cache server, as shown in FIG. 6, comprising:
回源模块601,用于将接收到的数据获取请求回源给路由设备;The source module 601 is configured to return the received data acquisition request to the routing device.
接收模块602,用于接收路由设备基于所述数据获取请求反馈的反馈消息,其中所述反馈消息中包含有与所述数据获取请求对应的数据所在的地址;The receiving module 602 is configured to receive a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
获取模块603,用于基于所述反馈消息获取所述数据获取请求对应的数据。The obtaining module 603 is configured to acquire data corresponding to the data acquisition request based on the feedback message.
所述反馈消息中包含有所述数据的URL,所述数据存储在存储中心;The feedback message includes a URL of the data, and the data is stored in a storage center;
所述获取模块603,具体用于:The obtaining module 603 is specifically configured to:
基于所述反馈消息中的URL确定所述数据所在的存储中心的域名以及所述数据的URI;Determining, according to a URL in the feedback message, a domain name of a storage center where the data is located and a URI of the data;
根据所述URI在所述确定的存储中心中获取所述数据。The data is obtained in the determined storage center according to the URI.
具体的,该CDN缓存服务器还包括:Specifically, the CDN cache server further includes:
发送模块,用于缓存所述数据,并将所述数据发送给所述数据获取请求对应的用户终端。And a sending module, configured to cache the data, and send the data to a user terminal corresponding to the data obtaining request.
本申请实施例还公开了一种数据获取系统,如图1以及图7所述,包括:The embodiment of the present application further discloses a data acquisition system, as described in FIG. 1 and FIG. 7, including:
路由设备,用于接收CDN缓存服务器回源的数据获取请求,基于所述数据获取请求查找与所述数据获取请求对应的数据;基于查找结果生成反馈消息;并将所述反馈消息发送给所述CDN缓存服务器,以使得所述CDN缓存服务器基于所述反馈消息获取到所述数据;a routing device, configured to receive a data acquisition request from a source of the CDN cache server, search for data corresponding to the data acquisition request based on the data acquisition request, generate a feedback message based on the search result, and send the feedback message to the a CDN cache server, such that the CDN cache server acquires the data based on the feedback message;
CDN缓存服务器,用于将接收到的数据获取请求回源给路由设备;接收路由设备基于所述数据获取请求反馈的反馈消息,其中所述反馈消息中包含有与所述数据获取请求对应的数据所在的地址;并基于所述反馈消息获取所述数据获取请求对应的数据。a CDN cache server, configured to: return a received data acquisition request to the routing device; and receive, by the routing device, a feedback message that is based on the data acquisition request, where the feedback message includes data corresponding to the data acquisition request. And the address corresponding to the data acquisition request is obtained based on the feedback message.
与现有技术相比,本申请中通过路由设备接收CDN缓存服务器回源的数据获取请求,以及基于所述数据获取请求查找与所述数据获取请求对应的数据;并基于查找结果生成反馈消息,实现了一个域名可以回源到多个存储中心,降低了使用成本,提高了用户的体验。Compared with the prior art, the data receiving request of the source of the CDN cache server is received by the routing device, and the data corresponding to the data obtaining request is searched based on the data obtaining request; and a feedback message is generated based on the search result, A domain name can be returned to multiple storage centers, which reduces the cost of use and improves the user experience.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本申请可以通过硬件实现,也可以借助软件加必要的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施场景所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various implementation scenarios of the present application.
本领域技术人员可以理解附图只是一个优选实施场景的示意图,附图中的模块或流程并不一定是实施本申请所必须的。A person skilled in the art can understand that the drawings are only a schematic diagram of a preferred implementation scenario, and the modules or processes in the drawings are not necessarily required to implement the application.
本领域技术人员可以理解实施场景中的装置中的模块可以按照实施场景描述进行分布于实施场景的装置中,也可以进行相应变化位于不同于本实施场景的一个或多个装置中。上述实施场景的模块可以合并为一个模块,也可以进一步拆分成多个子模块。A person skilled in the art may understand that the modules in the apparatus in the implementation scenario may be distributed in the apparatus for implementing the scenario according to the implementation scenario description, or may be correspondingly changed in one or more devices different from the implementation scenario. The modules of the above implementation scenarios may be combined into one module, or may be further split into multiple sub-modules.
上述本申请序号仅仅为了描述,不代表实施场景的优劣。The above serial numbers are only for the description, and do not represent the advantages and disadvantages of the implementation scenario.
以上公开的仅为本申请的几个具体实施场景,但是,本申请并非局限于此,任何本领域的技术人员能思之的变化都应落入本申请的保护范围。 The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any changes that can be made by those skilled in the art should fall within the protection scope of the present application.

Claims (14)

  1. 一种数据获取方法,其特征在于,包括:A data acquisition method, comprising:
    路由设备接收CDN缓存服务器回源的数据获取请求,The routing device receives the data acquisition request from the source of the CDN cache server,
    所述路由设备基于所述数据获取请求查找与所述数据获取请求对应的数据;The routing device searches for data corresponding to the data acquisition request based on the data acquisition request;
    所述路由设备基于查找结果生成反馈消息;The routing device generates a feedback message based on the search result;
    所述路由设备将所述反馈消息发送给所述CDN缓存服务器,以使得所述CDN缓存服务器基于所述反馈消息获取到所述数据。The routing device sends the feedback message to the CDN cache server to cause the CDN cache server to obtain the data based on the feedback message.
  2. 如权利要求1所述的方法,其特征在于,在所述路由设备接收CDN缓存服务器回源的数据获取请求之前,还包括:The method of claim 1, wherein before the routing device receives the data acquisition request from the source of the CDN cache server, the method further includes:
    将所述CDN缓存服务器的回源地址修改为所述路由设备的地址,以便在所述CDN缓存服务器回源时,路由设备接收所述CDN缓存服务器回源的数据获取请求。Modifying a return source address of the CDN cache server to an address of the routing device, so that when the CDN cache server returns to the source, the routing device receives a data acquisition request from the CDN cache server.
  3. 如权利要求1所述的方法,其特征在于,所述数据获取请求中包含有所述数据的URL,所述数据存储在存储中心,The method according to claim 1, wherein the data acquisition request includes a URL of the data, and the data is stored in a storage center.
    所述路由设备基于所述数据获取请求查找与所述数据获取请求对应的数据,具体包括:The routing device searches for data corresponding to the data acquisition request based on the data acquisition request, and specifically includes:
    所述路由设备基于所述数据获取请求中的URL确定所述URL中的URI;Determining, by the routing device, a URI in the URL based on a URL in the data acquisition request;
    所述路由设备基于所述URI进行数据查找,以确定所述数据所在的存储中心;The routing device performs a data search based on the URI to determine a storage center where the data is located;
    所述路由设备提取所述数据所在的存储中心的域名。The routing device extracts a domain name of a storage center where the data is located.
  4. 如权利要求3所述的方法,其特征在于,所述路由设备中预先存储有数据索引表,所述索引表中存储有各存储中心与各存储中心存储的数据的对应关系;所述路由设备基于所述URI进行数据查找,以确定所述数据所在的存储中心,具体包括:The method of claim 3, wherein the routing device pre-stores a data index table, wherein the index table stores a correspondence between each storage center and data stored in each storage center; Performing a data search based on the URI to determine a storage center where the data is located, specifically including:
    所述路由设备基于所述URI在所述索引表中进行查找,确定所述数据所在的存储中心;或The routing device performs a lookup in the index table based on the URI to determine a storage center where the data is located; or
    所述路由设备中预先存储有各个存储中心的域名与所述数据获取请求的对应关系;所述路由设备基于所述URI进行数据查找,以确定所述数据所在的存储中心,具体包括:The routing device pre-stores the corresponding relationship between the domain name of each storage center and the data acquisition request; the routing device performs a data search based on the URI to determine a storage center where the data is located, and specifically includes:
    所述路由设备基于对应关系确定所述数据获取请求对应的各个存储中心;Determining, by the routing device, each storage center corresponding to the data acquisition request according to a correspondence relationship;
    所述路由设备基于所述URI在各个存储中心中查找所述数据以确定所述数据所在的存储中心。The routing device looks up the data in various storage centers based on the URI to determine a storage center in which the data resides.
  5. 一种数据获取方法,其特征在于,包括: A data acquisition method, comprising:
    CDN缓存服务器将接收到的数据获取请求回源给路由设备;The CDN cache server returns the received data acquisition request to the routing device;
    所述CDN缓存服务器接收路由设备基于所述数据获取请求反馈的反馈消息,其中所述反馈消息中包含有与所述数据获取请求对应的数据所在的地址;The CDN cache server receives a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
    所述CDN缓存服务器基于所述反馈消息获取所述数据获取请求对应的数据。The CDN cache server acquires data corresponding to the data acquisition request based on the feedback message.
  6. 如权利要求5所述的方法,其特征在于,所述反馈消息中包含有所述数据的URL,所述数据存储在存储中心;The method according to claim 5, wherein the feedback message includes a URL of the data, and the data is stored in a storage center;
    所述CDN缓存服务器基于所述反馈消息获取所述数据获取请求对应的数据,具体包括:The acquiring, by the CDN cache server, the data corresponding to the data acquisition request, based on the feedback message, specifically includes:
    所述CDN缓存服务器基于所述反馈消息中的URL确定所述数据所在的存储中心的域名以及所述数据的URI;Determining, by the CDN cache server, a domain name of the storage center where the data is located and a URI of the data based on a URL in the feedback message;
    所述CDN缓存服务器根据所述URI在所述确定的存储中心中获取所述数据。The CDN cache server acquires the data in the determined storage center according to the URI.
  7. 如权利要求5或6所述的方法,其特征在于,在所述CDN缓存服务器基于所述反馈消息获取所述数据获取请求对应的数据之后,还包括:The method according to claim 5 or 6, wherein after the CDN cache server acquires the data corresponding to the data acquisition request based on the feedback message, the method further includes:
    所述CDN缓存服务器缓存所述数据,并将所述数据发送给所述数据获取请求对应的用户终端。The CDN cache server caches the data and sends the data to a user terminal corresponding to the data acquisition request.
  8. 一种路由设备,其特征在于,包括:A routing device, comprising:
    接收模块,用于接收CDN缓存服务器回源的数据获取请求,a receiving module, configured to receive a data acquisition request from a source of the CDN cache server,
    查找模块,用于基于所述数据获取请求查找与所述数据获取请求对应的数据;a searching module, configured to search for data corresponding to the data acquisition request based on the data acquisition request;
    生成模块,用于基于查找结果生成反馈消息;a generating module, configured to generate a feedback message based on the search result;
    发送模块,用于将所述反馈消息发送给所述CDN缓存服务器,以使得所述CDN缓存服务器基于所述反馈消息获取到所述数据。And a sending module, configured to send the feedback message to the CDN cache server, so that the CDN cache server acquires the data based on the feedback message.
  9. 如权利要求8所述的路由设备,其特征在于,还包括:The routing device of claim 8 further comprising:
    修改模块,用于将所述CDN缓存服务器的回源地址修改为所述路由设备的地址,以便在所述CDN缓存服务器回源时,路由设备接收所述CDN缓存服务器回源的数据获取请求。And a modifying module, configured to modify a return source address of the CDN cache server to an address of the routing device, so that when the CDN cache server returns to the source, the routing device receives a data acquisition request of the CDN cache server back to the source.
  10. 如权利要求8所述的路由设备,其特征在于,所述数据获取请求中包含有所述数据的URL,所述数据存储在存储中心,The routing device according to claim 8, wherein the data acquisition request includes a URL of the data, and the data is stored in a storage center.
    所述查找模块,具体用于:The searching module is specifically configured to:
    所述路由设备基于所述数据获取请求中的URL确定所述URL中的URI; Determining, by the routing device, a URI in the URL based on a URL in the data acquisition request;
    所述路由设备基于所述URI进行数据查找,以确定所述数据所在的存储中心;The routing device performs a data search based on the URI to determine a storage center where the data is located;
    所述路由设备提取所述数据所在的存储中心的域名。The routing device extracts a domain name of a storage center where the data is located.
  11. 一种CDN缓存服务器,其特征在于,包括:A CDN cache server, comprising:
    回源模块,用于将接收到的数据获取请求回源给路由设备;a source module, configured to return the received data acquisition request to the routing device;
    接收模块,用于接收路由设备基于所述数据获取请求反馈的反馈消息,其中所述反馈消息中包含有与所述数据获取请求对应的数据所在的地址;a receiving module, configured to receive a feedback message that is sent by the routing device based on the data acquisition request, where the feedback message includes an address where the data corresponding to the data acquisition request is located;
    获取模块,用于基于所述反馈消息获取所述数据获取请求对应的数据。And an obtaining module, configured to acquire data corresponding to the data acquisition request based on the feedback message.
  12. 如权利要求11所述的CDN缓存服务器,其特征在于,所述反馈消息中包含有所述数据的URL,所述数据存储在存储中心;The CDN cache server according to claim 11, wherein the feedback message includes a URL of the data, and the data is stored in a storage center;
    所述获取模块,具体用于:The obtaining module is specifically configured to:
    基于所述反馈消息中的URL确定所述数据所在的存储中心的域名以及所述数据的URI;Determining, according to a URL in the feedback message, a domain name of a storage center where the data is located and a URI of the data;
    根据所述URI在所述确定的存储中心中获取所述数据。The data is obtained in the determined storage center according to the URI.
  13. 如权利要求11或12所述的CDN缓存服务器,其特征在于,还包括:The CDN cache server according to claim 11 or 12, further comprising:
    发送模块,用于缓存所述数据,并将所述数据发送给所述数据获取请求对应的用户终端。And a sending module, configured to cache the data, and send the data to a user terminal corresponding to the data obtaining request.
  14. 一种数据获取系统,其特征在于,包括:A data acquisition system, comprising:
    路由设备,用于接收CDN缓存服务器回源的数据获取请求,基于所述数据获取请求查找与所述数据获取请求对应的数据;基于查找结果生成反馈消息;并将所述反馈消息发送给所述CDN缓存服务器,以使得所述CDN缓存服务器基于所述反馈消息获取到所述数据;a routing device, configured to receive a data acquisition request from a source of the CDN cache server, search for data corresponding to the data acquisition request based on the data acquisition request, generate a feedback message based on the search result, and send the feedback message to the a CDN cache server, such that the CDN cache server acquires the data based on the feedback message;
    CDN缓存服务器,用于将接收到的数据获取请求回源给路由设备;接收路由设备基于所述数据获取请求反馈的反馈消息,其中所述反馈消息中包含有与所述数据获取请求对应的数据所在的地址;并基于所述反馈消息获取所述数据获取请求对应的数据。 a CDN cache server, configured to: return a received data acquisition request to the routing device; and receive, by the routing device, a feedback message that is based on the data acquisition request, where the feedback message includes data corresponding to the data acquisition request. And the address corresponding to the data acquisition request is obtained based on the feedback message.
PCT/CN2016/089307 2015-07-17 2016-07-08 Data acquisition method and device WO2017012475A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510423689.3A CN106357539B (en) 2015-07-17 2015-07-17 A kind of data capture method and equipment
CN201510423689.3 2015-07-17

Publications (1)

Publication Number Publication Date
WO2017012475A1 true WO2017012475A1 (en) 2017-01-26

Family

ID=57833615

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089307 WO2017012475A1 (en) 2015-07-17 2016-07-08 Data acquisition method and device

Country Status (2)

Country Link
CN (1) CN106357539B (en)
WO (1) WO2017012475A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037869A (en) * 2021-04-14 2021-06-25 北京百度网讯科技有限公司 Method and apparatus for back-sourcing of content distribution network system
CN113472852A (en) * 2021-06-02 2021-10-01 乐视云计算有限公司 CDN node back-source method, device and equipment
CN115051876A (en) * 2022-08-12 2022-09-13 中兴通讯股份有限公司 Communication method, XR linkage communication system, operation control device and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050188B (en) * 2017-03-09 2021-11-30 贵州白山云科技股份有限公司 Data stream scheduling method, system, device and medium
CN107562803B (en) * 2017-08-08 2020-10-30 上海数据交易中心有限公司 Data supply system and method and terminal
CN110875941A (en) * 2018-09-03 2020-03-10 阿里巴巴集团控股有限公司 Source station access flow adjusting method and device, electronic device and storage device
CN112241335A (en) * 2019-07-16 2021-01-19 腾讯科技(北京)有限公司 Data processing method and device
CN113296690A (en) * 2020-07-27 2021-08-24 阿里巴巴集团控股有限公司 Data migration method, device and equipment
CN113676563B (en) * 2021-08-19 2022-11-08 平安普惠企业管理有限公司 Scheduling method, device, equipment and storage medium of content distribution network service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102668518A (en) * 2011-12-02 2012-09-12 华为技术有限公司 Content distribution network routing method, system, and user terminal
US20140143301A1 (en) * 2012-11-21 2014-05-22 Netflix, Inc. Multi-cdn digital content streaming
CN103873451A (en) * 2012-12-17 2014-06-18 中国移动通信集团公司 Data synchronization method, equipment and system
CN104702617A (en) * 2015-03-20 2015-06-10 广东睿江科技有限公司 Data distribution method and device based on CDN (content distribution network)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102668518A (en) * 2011-12-02 2012-09-12 华为技术有限公司 Content distribution network routing method, system, and user terminal
US20140143301A1 (en) * 2012-11-21 2014-05-22 Netflix, Inc. Multi-cdn digital content streaming
CN103873451A (en) * 2012-12-17 2014-06-18 中国移动通信集团公司 Data synchronization method, equipment and system
CN104702617A (en) * 2015-03-20 2015-06-10 广东睿江科技有限公司 Data distribution method and device based on CDN (content distribution network)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037869A (en) * 2021-04-14 2021-06-25 北京百度网讯科技有限公司 Method and apparatus for back-sourcing of content distribution network system
CN113037869B (en) * 2021-04-14 2022-09-30 北京百度网讯科技有限公司 Method and apparatus for back-sourcing of content distribution network system
CN113472852A (en) * 2021-06-02 2021-10-01 乐视云计算有限公司 CDN node back-source method, device and equipment
CN113472852B (en) * 2021-06-02 2023-07-25 乐视云网络技术(北京)有限公司 Method, device and equipment for returning source of CDN node and storage medium
CN115051876A (en) * 2022-08-12 2022-09-13 中兴通讯股份有限公司 Communication method, XR linkage communication system, operation control device and storage medium

Also Published As

Publication number Publication date
CN106357539B (en) 2019-06-21
CN106357539A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
WO2017012475A1 (en) Data acquisition method and device
US9160703B2 (en) Request routing management based on network components
US9800539B2 (en) Request routing management based on network components
KR101379864B1 (en) Request routing using network computing components
CN107025234B (en) Information pushing method and cache server
JP5974079B2 (en) Global traffic management using changed hostnames
TWI652585B (en) Method and server for remotely querying information
WO2017080459A1 (en) Method, device and system for caching and providing service contents and storage medium
WO2014063550A1 (en) Method and system for microblog resource sharing
US11463513B2 (en) CDN-based client messaging
EP3217611A1 (en) Media resource feedback method and device
WO2017161965A1 (en) Method, device, and system for dynamic domain name system (dns) redirection
CN103997479B (en) A kind of asymmetric services IP Proxy Methods and equipment
CN104301415A (en) Global load balancing method based on HTTP redirection
US10455039B2 (en) Method and router for sending and processing data
US20160323365A1 (en) Content delivery method, apparatus, and system
US20220345466A1 (en) Provision of data from a service provider network
CN106790176B (en) Method and system for accessing network
US11425114B2 (en) Systems and methods for supporting a secure connectivity
WO2016106557A1 (en) Method and apparatus for sending video
JP2023537468A (en) Network node for indirect communication and method in network node
TW201828653A (en) Data acquisition method and device wherein a domain name is returned to multiple storage centers by the routing device, thereby saving the resources and improving the user's experience
CN113079226B (en) Domain name allocation method, device, server and storage medium
JP2024539408A (en) Information transmission method, device, and communication device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16827166

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16827166

Country of ref document: EP

Kind code of ref document: A1