CN102137145A - Method, device and system for managing distributed contents - Google Patents

Method, device and system for managing distributed contents Download PDF

Info

Publication number
CN102137145A
CN102137145A CN2010105725076A CN201010572507A CN102137145A CN 102137145 A CN102137145 A CN 102137145A CN 2010105725076 A CN2010105725076 A CN 2010105725076A CN 201010572507 A CN201010572507 A CN 201010572507A CN 102137145 A CN102137145 A CN 102137145A
Authority
CN
China
Prior art keywords
content
storage site
storage
client
routing server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105725076A
Other languages
Chinese (zh)
Other versions
CN102137145B (en
Inventor
杨旭
张德文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010572507.6A priority Critical patent/CN102137145B/en
Publication of CN102137145A publication Critical patent/CN102137145A/en
Priority to PCT/CN2011/083455 priority patent/WO2012072047A1/en
Application granted granted Critical
Publication of CN102137145B publication Critical patent/CN102137145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a device and a system for managing distributed contents, which relate to the technical field of information, and are capable of storing the contents in part storage stations in classification so as to realize the aim of enhancing the effective utilization rate of storage space. The method for managing the distributed contents comprises the steps of receiving content classification identification sent by an addressing client side; obtaining storage stations corresponding to the content classification identification according to the corresponding relationship between pre-stored content classification identification and the storage stations; and sending address information of the storage stations back to the addressing client side. The method, the device and the system for managing the distributed contents are applicable to classified management on the contents.

Description

Method, device and system for distributed content management
Technical Field
The present invention relates to the field of information technologies, and in particular, to a method, an apparatus, and a system for distributed content management.
Background
In a CDN (Content Delivery Network) system, a conventional storage center stores all data in one storage site in a centralized manner, and is provided with one or more backup storage sites. In this way, when a Content Provider (CP) injects Content into a CDN system, the CDN system provides the CP with a storage address for Content injection, and after the Content injection, the storage sites automatically copy the Content, so that finally, each storage site stores the same piece of Content provided by the CP, that is, each storage site stores Content provided by all CPs.
The centralized content management mode enables each storage site to store all content provided by the CP, so that even if a part of content stored by a certain storage site is not used in a normal situation, the part of content still occupies a storage space in the storage site, thereby causing the effective utilization rate of the storage space of the storage site to be low.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, and a system for distributed content management, so as to achieve the purpose of improving the effective utilization rate of a storage space.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
receiving a content classification identifier sent by an addressing client;
acquiring a storage site corresponding to the content classification identifier according to a corresponding relation between the pre-stored content classification identifier and the storage site;
and returning the address information of the storage site to the addressing client.
A content routing server, comprising:
the receiving unit is used for receiving the content classification identification sent by the addressing client;
the acquisition unit is used for acquiring a storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site;
and the return unit is used for returning the address information of the storage site to the addressing client.
An injection system for distributed content management, comprising:
the content routing server is used for receiving the content classification identification sent by the content client, acquiring a storage site corresponding to the content classification identification according to the corresponding relation between the pre-stored content classification identification and the storage site, and returning the address information of the storage site to the content client;
the content client is used for sending a content classification identifier to the content routing server and injecting content into a storage site corresponding to address information according to the address information returned by the content routing server;
the storage site is used for storing the content injected by the content client.
A download system for distributed content management, comprising:
the content routing server is used for receiving the content classification identifier sent by the edge server, acquiring a storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site, and returning the address information of the storage site to the edge server;
the edge server is used for sending content classification identification to the content routing server and acquiring the content to be downloaded from the storage site corresponding to the address information according to the address information returned by the content routing server;
and the storage site is used for storing the content to be downloaded by the edge server.
A distributed content management system, comprising: the system comprises a content routing server, a content client, an edge server and a storage site;
the content routing server is used for receiving the content classification identifier sent by the content client, acquiring a storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site, and returning the address information of the storage site to the content client; or,
the content routing server is used for receiving the content classification identifier sent by the edge server, acquiring a storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site, and returning the address information of the storage site to the edge server;
the content client is used for sending a content classification identifier to the content routing server and injecting content into a storage site corresponding to address information according to the address information returned by the content routing server;
the edge server is used for sending content classification identification to the content routing server and acquiring the content to be downloaded from the storage site corresponding to the address information according to the address information returned by the content routing server;
the storage site is used for storing the content injected by the content client; or,
and the storage site is used for storing the content to be downloaded by the edge server.
According to the method, the device and the system for distributed content management, provided by the embodiment of the invention, the content routing server can obtain the storage site corresponding to the content classification identifier according to the corresponding relation by pre-storing the corresponding relation between the content classification identifier and the storage site, and the address information of the storage site is returned to the addressing client, so that the addressing client can find the storage site to inject or download the content; because the content provided by the content provider can be classified and stored in the storage sites corresponding to the content classification identifiers, the management of the storage space of each storage site is detailed, and the effective utilization rate of the storage space can be improved; in addition, because the content is stored in part of the storage sites in a classified manner, the storage space of the storage sites can be saved to a certain extent, so that the requirement for the storage space required by the newly added CP or the expansibility of the storage space of the existing CP can be met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a distributed content management method according to an embodiment of the present invention;
fig. 2 is a flowchart of a distributed content management method provided for a content injection process according to an embodiment;
FIG. 3 is a flowchart illustrating a distributed content management method provided for a content download process according to an embodiment;
fig. 4 is a block diagram of a content routing server according to a third embodiment;
FIG. 5 is a block diagram of a content routing server according to a third embodiment;
fig. 6 is a block diagram of an injection system for distributed content management according to an embodiment of the present invention;
fig. 7 is a block diagram of a download system for distributed content management according to an embodiment of the present invention;
fig. 8 is a block diagram of a distributed content management system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a method for distributed content management according to an embodiment of the present invention includes:
101. and receiving the content classification identification sent by the addressing client.
When the content provider injects content, for the CDN system, the addressing client may be a standard client (such as an FTP client), or may be a client provided by the CDN system;
when a user downloads content, for a CDN system, the addressing client may be an edge server, and when the user requests the edge server for content miss, the edge server sends a content classification identifier to the content routing server; however, for non-CDN systems, the addressing client is not limited to being an edge server.
102. And acquiring the storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site.
The content routing server prestores the corresponding relation between the content classification identification and the storage site. The content classification identifier may have a corresponding relationship with one or more storage sites, so that content injection or downloading may be performed only for the storage site corresponding to the content classification identifier, rather than for all storage sites, so as to improve the effective utilization rate of the storage space.
103. And returning the address information of the storage site to the addressing client.
The address information may refer to an IP (Internet Protocol) address of the storage site.
The executing body of each step may be a content routing server in the content delivery network CDN system, that is, the method provided in this embodiment may be implemented by the content routing server in the content delivery network CDN system.
In the distributed content management method provided by the embodiment of the invention, the content routing server can obtain the storage sites corresponding to the content classification identifications through the mapping rule by pre-storing the corresponding relationship between the content classification identifications and the storage sites, and return the address information of the storage sites to the addressing client, so that the addressing client can find the storage sites to inject or download the content; because the content provided by the content provider can be classified and stored in the storage sites corresponding to the content classification identifiers, the management of the storage space of each storage site is detailed, and the effective utilization rate of the storage space can be improved; in addition, because the content is stored in part of the storage sites in a classified manner, the storage space of the storage sites can be saved to a certain extent, so that the requirement for the storage space required by the newly added CP or the expansibility of the storage space of the existing CP can be met.
The first embodiment is as follows:
a specific embodiment will be provided below for the method of distributed content management.
In the distributed content management method provided in this embodiment, a mapping rule needs to be set in the content routing server in advance, a correspondence between the content classification identifier and the storage site is established according to the mapping rule, and the correspondence is stored in the content routing server.
The mapping rule may be an algorithm, the algorithm associates the content classification identifier with the storage site, and the correspondence between the content classification identifier and the storage site may be embodied in a mapping table. In the following, a mapping table is taken as an example to explain the distributed content management method provided in this embodiment, but in a specific implementation process, a correspondence between the content classification identifier recorded in the mapping table and the storage site may be implemented by an algorithm.
Since there are many cases of content classification provided by content providers, the construction of the mapping table is not unique. In this embodiment, a scheme for setting a mapping table is provided as a reference to describe the method for distributed content management in detail, and for other distributed content management methods that use a mapping table as a distinction, the method is similar to that of this embodiment, and thus, details are not repeated.
In view of practical requirements, in order to enable content providers to implement different storage strategies for target users in different areas, a mapping table is provided in the present embodiment, referring to table 1. The scheme for generating the mapping table comprises the following steps:
and S1, establishing the corresponding relation between the content classification identification and the storage site.
The content classification identifier may be a classification domain name set by different content providers for storage sites in different regions.
For example, there is a content provider CP1 setting classification domain name www.cp1.us for storage sites in the united states; in this case, the storage sites corresponding to the domain name are all storage sites in the united states, that is, some or all storage sites of users in the united states as target users, such as storage sites in san francisco and new york.
Likewise, the content provider CP1 sets a classification domain name www.cp1.cn for the storage site of china; at this time, the storage sites corresponding to the classified domain names are all storage sites in china, that is, some or all storage sites that use users in china as target users, such as storage sites in beijing, shanghai, and the like.
As another example, there is a content provider CP2 setting classification domain name www.cp2.com for storage sites around the globe; at this time, the storage sites corresponding to the classified domain names are partial or all storage sites of the whole world, including partial or all storage sites of all countries such as the united states and china.
S2, generating a mapping table according to the corresponding relation in the step S1, see Table 1.
TABLE 1
S3, storing the mapping table generated in the step S2.
The corresponding relation between the content classification identifier displayed in the mapping table and the storage site can be established by using an algorithm or a mapping rule in other modes, and the corresponding relation is stored in the content routing server; of course, the mapping table may also be directly stored in the content routing server, so that the content routing server finds the address information of the storage site corresponding to the received content classification identifier according to the received content classification identifier, and thus, the content service provider may store the content classification in different storage sites.
In addition, the content classification identifier may also be a path added to domain names corresponding to storage sites of different areas by a content provider. For this scheme, embodiments provide a mapping table as shown in table 2.
TABLE 2
Content classification identification Storage site
www.cp1.com/us In the United states: site 1 (san Francisco), site 2 (New York), etc
www.cp1.com/cn China: site 3 (Beijing), site 4 (Shanghai), etc
The content provider CP1 in the above example may be a domain name plus a path www.cp1.com/us for the content classification identifier corresponding to the storage site in the united states.
For the content routing server, the form change of the content classification identifier only causes the form change of the mapping table, but does not affect the corresponding relationship between the content classification identifier and the storage site, so the distributed content management method performed in the way of adding the path to the domain name of the content classification identifier is not repeated herein, and the specific process can refer to the distributed content management method performed in the way of adding the domain name of the content classification identifier. Of course, in practical application, if necessary, the correspondence between the content classification identifiers and the storage sites established by the mapping tables in table 1 and table 2 may be stored in the content routing server.
The content classification flag is not limited to the form in the mapping table. The mapping table is only used as an example to illustrate the correspondence between the content classification identifier and the storage site.
Next, according to the correspondence relationship established by the mapping table in table 1, the content routing server may implement distributed content management on content provided by the content provider by performing routing selection for different areas, and the specific implementation process is as follows:
first, for a process of injecting content into a storage site by a content provider, as shown in fig. 2, the distributed content management method provided in this embodiment specifically includes the following steps:
201. and the content routing server receives the content classification identification sent by the content client.
Wherein the content client may be an FTP client in this specific example.
In this embodiment, if the content provider CP1 has a part of content that is only distributed to users in the united states, the content provider CP1 sends the content classification identifier www.cp1.us of the part of content to the content routing server through the FTP client.
202. And the content routing server acquires the storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site.
In this specific example, the correspondence relationship pre-stored in the content routing server may be established according to the mapping rule in table 1. The storage sites corresponding to the content classification identifier www.cp1.us are found to be all storage sites in the united states according to the mapping table in table 1.
203. And the content routing server returns the address information of the storage site to the content client.
Wherein, the address information may be an IP address.
In this particular example, the content provider CP1 is known to be injecting content into the storage site in the united states, per step 202, where the content routing server returns one or more IP addresses of the storage site in the united states to the FTP client.
Thereafter, the FTP client may store the content provider CP1 for the content provided by the user in the united states in the storage site corresponding to the IP address returned by the content routing server in step 203.
By utilizing the distributed content management method, the corresponding relation between the content classification identification and the storage sites is established, so that a content provider can publish the content in part of the storage sites according to the difference of the content classification identification, and the storage space is saved; by applying the method, the content provider can also publish different contents aiming at the target users in different areas, namely realizing the regional management of the published contents, thus being beneficial to the content provider to implement different published content strategies aiming at the target users in different areas.
Next, as shown in fig. 3, for a process of downloading content from a storage site by a user, the distributed content management method provided in this embodiment specifically includes the following steps:
it should be noted that, in the CDN system, the addressing client is an edge server; of course, in a non-CDN system, the addressing client may be another server available for addressing. In the following, the CDN system is taken as an example for explanation.
301. And the content routing server receives the content classification identification sent by the edge server.
In this embodiment, for the CDN system, when the content requested by the user from the edge server is not hit, the edge server sends a content classification identifier to the content routing server.
In this embodiment, assuming that there is a user in the united states who wishes to download the content provided by the content provider CP1, the user sends a content request www.cp1.com to the edge server, and at this time, if the cache of the edge server does not have the content requested by the user, the edge server may determine that the user is in the united states, and then obtain the content classification identifier www.cp1.us, and send the content classification identifier to the content routing server; of course, the content request sent by the user to the edge server may also be directly the content classification identifier, and at this time, the edge server sends the content classification identifier to the content routing server without conversion after judgment.
302. And the content routing server acquires the storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site.
In this specific example, the storage site corresponding to the content classification identifier www.cp1.us may be found to be a storage site in the united states according to the mapping table in table 1.
303. And the content routing server returns the address information of the storage site to the edge server.
Wherein, the address information may be an IP address.
In this particular example, if the content that the us user wishes to download is stored in a storage site in the us according to step 302, the content routing server selects one or more available IP addresses from the IP addresses of the storage site in the us to return to the edge server.
Then, the edge server may obtain the content required by the user from the storage site corresponding to the IP address returned by the content routing server in step 303.
By using the distributed content management method, the user can also acquire the content sent to the area where the user is located by the content provider through the corresponding relationship between the content classification identifier and the storage site only when the content provider stores the content in part of the storage site.
The method for distributed content management provided by the embodiment of the invention establishes the corresponding relation between the content classification identification and the storage site; the content routing server can obtain a storage site corresponding to the content classification identifier according to the corresponding relation, and return the address information of the storage site to the addressing client, so that the addressing client finds the storage site to inject or download the content; because the content provided by the content provider can be classified and stored in the storage sites corresponding to the content classification identifiers, the management of the storage space of each storage site is detailed, and the effective utilization rate of the storage space can be improved; in addition, because the content is stored in part of the storage sites in a classified manner, the storage space of the storage sites can be saved to a certain extent, so that the requirement for the storage space required by the newly added CP or the expansibility of the storage space of the existing CP can be met.
Example two:
in this embodiment, another mapping table is provided for the correspondence between the content classification identifiers pre-stored in the content routing server and the storage sites, see table 3.
TABLE 3
Figure BDA0000036025140000101
The method for distributed content management provided by the present embodiment according to the mapping table in table 3 will be described with respect to a specific example. Suppose that: the content injection process is that the content provider CP1 injects content to some or all of the storage sites in the united states, and the content download process is that a user in the united states wishes to download content that the CP1 publishes to the united states.
For this specific example, the distributed content management method provided in this embodiment specifically includes the following steps:
401. the content routing server receives the content classification identification sent by the addressing client.
For the process of content injection, in this specific example, the addressing client is a content client. When the content provider CP1 injects content into the storage site in the united states, the content client sends a content classification identification www.cp1.us.upload.cdn.net to the content routing server.
For the content download process, in this implementation, the addressing client is an edge server. A U.S. user makes a content request (e.g., www.cp1.us) to an edge server, which sends a content classification identification www.cp1.us.download.cdn.net to a content routing server when there is no content in the edge server that the user needs.
402. And the content routing server acquires the storage site corresponding to the content classification identifier according to the corresponding relation established by the pre-stored mapping table.
For the process of content injection, in this specific example, the content routing server finds that the storage site corresponding to the content classification identifier www.cp1.us.upload.cdn.net is a partial or full storage site in the united states according to the mapping table in table 3.
For the content downloading process, in this specific example, the content routing server obtains the storage site corresponding to the content classification identifier www.cp1.us.download.cdn.net according to the mapping table in table 3 as a partial or full storage site in the united states.
403. And the content routing server returns the address information of the storage site to the addressing client.
For the content injection process, the content provider CP1 is known to be injecting content to the storage site in the united states according to step 402, where the content routing server returns the IP address of some or all of the storage site in the united states to the content client; and then, injecting the content into a storage site corresponding to the content classification identification by the content client.
For the content downloading process, if it is known from step 402 that the content that the us user wishes to download is stored in some or all of the us storage sites, the content routing server selects one or more available IP addresses from the IP addresses of some or all of the us storage sites and returns the selected IP addresses to the edge server; and then, the edge server acquires the content required by the user from the storage site corresponding to the returned IP address.
In fact, in this specific example, for the mapping table in table 3, the correspondence between the content classification identifier and the storage site may be stored on the content routing server; in order to facilitate the use of the user, the user can search the corresponding storage site through the CP classification identifier, so that the correspondence between the CP classification identifier and the content classification identifier can be stored in the addressing client. For example, for the content injection process, the addressing client may be a content client, in which the correspondence between the CP class identifier and the content class identifier is stored, and in which the correspondence between the content class identifier and the storage site is stored in the content routing server. At this time, the content provider may use the CP class identifier (www.cp1.us), find the content class identifier (www.cp1.us.upload.cdn.net) corresponding to the CP class identifier by the content client, send the content class identifier (www.cp1.us.upload.cdn.net) to the content routing server, find the storage site (all or part of the storage site in the united states) corresponding to the content class identifier by the content routing server, and return the address information of the storage site to the content client. In addition, for the content downloading process, the above content injection process may be referred to, and details are not described herein.
Of course, according to actual needs, a mapping table shown in table 3 may be set on the content routing server, and a pairwise correspondence between the CP classification identifier, the content classification identifier, and the storage site is established according to the mapping table.
Similarly, if a domain name plus a path is used when looking up the content of a certain content provider at a certain storage site, a mapping table can be set on the content routing server with reference to table 4.
TABLE 4
Figure BDA0000036025140000121
Of course, table 3 does not conflict with the mapping tables in table 4 and may coexist on the content routing server.
It should be noted that, in practical application, the correspondence between the content classification identifier and the storage site established in the mapping table may be stored in the content routing server, or the content classification identifier may be associated with the storage site or the IP address of the storage site through some algorithms, and the algorithms are set in the content routing server as mapping rules.
The method for distributed content management provided by the embodiment of the invention provides another mapping table for reference aiming at the corresponding relation prestored in the content routing server, and the specific implementation process is similar to the method in the first embodiment; according to the scheme, the content provided by the content provider can be classified and stored in the storage sites corresponding to the content classification identifiers, so that the effective utilization rate of the storage space can be improved by refining the management of the storage space of each storage site; in addition, because the content is stored in part of the storage sites in a classified manner, the storage space of the storage sites can be saved to a certain extent, so that the requirement for the storage space required by the newly added CP or the expansibility of the storage space of the existing CP can be met.
Example three:
for the method for distributed content management provided above, this embodiment also provides a corresponding device, and the device may also be applied in a CDN system. As shown in fig. 4, the apparatus is a content routing server, including:
a receiving unit 41, configured to receive a content classification identifier sent by an addressing client;
wherein, for the process of content injection, the addressing client may be a content client; for the process of content download, the addressing client may be an edge server.
In addition, the content classification identification is a classification domain name set for storage sites in different areas according to domain name writing rules; or the content classification identification is the domain name plus path corresponding to the storage sites of different areas.
An obtaining unit 42, configured to obtain, according to a correspondence between a pre-stored content classification identifier and a storage site, a storage site corresponding to the content classification identifier;
the content classification identifier may have a corresponding relationship with one or more storage sites, so that content injection or downloading may be performed only for the storage site corresponding to the content classification identifier, rather than for all storage sites, so as to improve the effective utilization rate of the storage space.
A returning unit 43, configured to return address information of the storage site to the addressing client;
wherein, in the case of content injection, the returning unit 43 is configured to return the address information of the storage site to the content client; in case of content download, the returning unit 43 is configured to return address information of the storage site to the edge server.
The content routing server provided by the embodiment of the invention can store the content provided by the content service provider in part of the storage sites according to the content classification identifier by establishing the corresponding relation between the content classification identifier and the storage sites, thereby refining the management of the storage space of each storage site and improving the effective utilization rate of the storage space.
As shown in fig. 5, the content routing server may further include:
the establishing unit 44 is configured to establish a corresponding relationship between the content classification identifier and a storage site according to a preset mapping rule;
the mapping rule may be an algorithm for establishing a correspondence between the content classification identifier and the storage site.
A storage unit 45, configured to store a correspondence between the content classification identifier in the establishing unit 44 and a storage site.
Wherein the corresponding relation between the content classification identifier stored in the storage unit 45 and the storage site is applied in the obtaining unit 42.
In addition, the content provided by the content provider is stored in the storage sites of different areas in a classified manner, and the content classification is identified as a classified domain name set for the storage sites of different areas according to domain name writing rules; or, the content classification identifier is a domain name plus a path corresponding to a storage site in different areas.
According to the content routing server provided by the embodiment of the invention, the corresponding relation between the content classification identifier and the storage site is pre-stored in the storage unit, the acquisition unit can obtain the storage site corresponding to the content classification identifier received by the receiving unit according to the corresponding relation, and the return unit returns the address information of the storage site to the addressing client so that the addressing client can inject or download the content into the storage site; the device provided by the embodiment can improve the effective utilization rate of the storage space by refining the management of the storage space of each storage site; in addition, because the content is stored in part of the storage sites in a classified manner, the storage space of the storage sites can be saved to a certain extent, so that the requirement for the storage space required by the newly added CP or the expansibility of the storage space of the existing CP can be met.
Two distributed content management systems are introduced below:
an injection system for distributed content management, as shown in fig. 6, comprises:
the content routing server 61 is configured to receive a content classification identifier sent by a content client 62, obtain a storage site 63 corresponding to the content classification identifier according to a correspondence between a pre-stored content classification identifier and the storage site, and return address information of the storage site 63 to the content client 62;
the content client 62 is configured to send a content classification identifier to the content routing server 61, and inject content into the storage site 63 corresponding to the address information according to the address information returned by the content routing server 61;
the storage site 63 is configured to store the content injected by the content client 62.
The content client 62 may be an FTP client.
Further, the content routing server 61 is further configured to establish a corresponding relationship between the content classification identifier and the storage site according to a preset mapping rule, and the mapping rule may be an algorithm.
In addition, the content provided by the content provider is stored in the storage sites of different areas in a classified manner, and the content classification is identified as a classified domain name set for the storage sites of different areas according to domain name writing rules; or, the content classification identifier is a domain name plus a path corresponding to a storage site in different areas.
In the injection system for distributed content management provided in this embodiment, a content client sends a content classification identifier to a content routing server, the content routing server returns address information of a storage site corresponding to the content classification identifier to the content client, and the content client injects content provided by a content provider into the storage site corresponding to the address information; the system can improve the effective utilization rate of the storage space by refining the management of the storage space of each storage station; in addition, because the content is stored in part of the storage sites in a classified manner, the storage space of the storage sites can be saved to a certain extent, so that the requirement for the storage space required by the newly added CP or the expansibility of the storage space of the existing CP can be met.
A download system for distributed content management, as shown in fig. 7, comprising:
the content routing server 61 is configured to receive the content classification identifier sent by the edge server 64, obtain the storage site 63 corresponding to the content classification identifier according to a correspondence between a pre-stored content classification identifier and a storage site, and return address information of the storage site 63 to the edge server 64;
the edge server 64 is configured to send a content classification identifier to the content routing server 61, and obtain, according to address information returned by the content routing server 61, content to be downloaded from the storage site 63 corresponding to the address information;
the storage site 63 is configured to store the content to be downloaded by the edge server 64.
Further, the content routing server 61 is further configured to establish a corresponding relationship between the content classification identifier and the storage site according to a preset mapping rule, and the mapping rule may be an algorithm.
In addition, the content provided by the content provider is stored in the storage sites of different areas in a classified manner, and the content classification is identified as a classified domain name set for the storage sites of different areas according to domain name writing rules; or, the content classification identifier is a domain name plus a path corresponding to a storage site in different areas.
In the download system for distributed content management provided in this embodiment, the edge server sends the content classification identifier to the content routing server, the content routing server returns the address information of the storage site corresponding to the content classification identifier to the edge server, and the edge server obtains the content to be downloaded from the storage site corresponding to the address information; the system may allow the user to download the desired content in the case where the content provider publishes the content only on a portion of the storage site.
Both of the above systems can be applied to CDN systems. In addition, since the two systems have a certain correlation, another embodiment of the present invention further provides a distributed content management system, see fig. 8, including: a content routing server 61, a content client 62, an edge server 64, and a storage site 63;
the content routing server 61 is configured to receive a content classification identifier sent by a content client 62, obtain a storage site 63 corresponding to the content classification identifier according to a correspondence between a pre-stored content classification identifier and the storage site, and return address information of the storage site 63 to the content client 62; or,
the content routing server 61 is configured to receive the content classification identifier sent by the edge server 64, obtain the storage site 63 corresponding to the content classification identifier according to a correspondence between a pre-stored content classification identifier and a storage site, and return address information of the storage site 63 to the edge server 64;
the content client 62 is configured to send a content classification identifier to the content routing server 61, and inject content into the storage site 63 corresponding to the address information according to the address information returned by the content routing server 61;
the edge server 64 is configured to send a content classification identifier to the content routing server 61, and obtain, according to address information returned by the content routing server 61, content to be downloaded from the storage site 63 corresponding to the address information.
The storage site 63, which is used for storing the content injected by the content client 62; or,
the storage site 63 is configured to store the content to be downloaded by the edge server 64.
The system provided by this embodiment may be applied in a CDN system, and the content client 62 may be an FTP client.
In the distributed content management system provided in this embodiment, by pre-storing the corresponding relationship between the content classification identifier and the storage site in the content routing server, the content client/edge server can obtain the address information of the storage site corresponding to the content classification identifier through the content routing server, so that the content client injects content into the storage site corresponding to the address information, or the edge server can download content from the storage site corresponding to the address information; the system can store the contents in a part of storage sites in a classified manner, so that the storage space of the storage sites can be saved to a certain extent, and the requirement on the expansibility of the storage space required by a newly added CP or the storage space of an existing CP can be met.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus necessary general hardware, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be substantially implemented or a part of the technical solutions contributing to the prior art may be embodied in the form of a software product, which is stored in a readable storage medium, such as a floppy disk, a hard disk, or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (16)

1. A method of distributed content management, comprising:
receiving a content classification identifier sent by an addressing client;
acquiring a storage site corresponding to the content classification identifier according to a corresponding relation between the pre-stored content classification identifier and the storage site;
and returning the address information of the storage site to the addressing client.
2. The method of distributed content management according to claim 1, further comprising:
and establishing a corresponding relation between the content classification identification and the storage site according to a preset mapping rule.
3. The method of distributed content management according to claim 1 or 2, wherein the content classification identifier is a classification domain name set for storage sites of different regions according to domain name writing rules; or,
the content classification identification is a domain name plus a path corresponding to storage sites of different areas.
4. The method for distributed content management according to claim 1, wherein in case that the addressed client is a content client, the content client injects content into the storage site corresponding to the address information;
and under the condition that the addressing client is an edge server, the edge server acquires content from the storage site corresponding to the address information.
5. The method of distributed content management according to claim 4, wherein said content client is a file transfer protocol, FTP, client.
6. The method for distributed content management according to claim 1, 2, 4 or 5, wherein said method is implemented by a content routing server in a CDN system of a content delivery network.
7. A content routing server, comprising:
the receiving unit is used for receiving the content classification identification sent by the addressing client;
the acquisition unit is used for acquiring a storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site;
and the return unit is used for returning the address information of the storage site to the addressing client.
8. The content routing server according to claim 7, further comprising:
the establishing unit is used for establishing the corresponding relation between the content classification identification and the storage site according to a preset mapping rule;
and the storage unit is used for storing the corresponding relation between the content classification identification and the storage site in the establishing unit.
9. The content routing server according to claim 7 or 8, wherein the content classification identifier is a classification domain name set for storage sites of different regions according to domain name writing rules; or,
the content classification identification is a domain name plus a path corresponding to storage sites of different areas.
10. An injection system for distributed content management, comprising:
the content routing server is used for receiving the content classification identification sent by the content client, acquiring a storage site corresponding to the content classification identification according to the corresponding relation between the pre-stored content classification identification and the storage site, and returning the address information of the storage site to the content client;
the content client is used for sending a content classification identifier to the content routing server and injecting content into a storage site corresponding to address information according to the address information returned by the content routing server;
the storage site is used for storing the content injected by the content client.
11. The distributed content management injection system according to claim 10, wherein the content routing server is further configured to establish a correspondence between the content classification identifier and a storage site according to a preset mapping rule.
12. The injection system for distributed content management according to claim 10 or 11, wherein the content classification identifier is a classification domain name set for storage sites of different regions according to domain name writing rules; or,
the content classification identification is a domain name plus a path corresponding to storage sites of different areas.
13. A download system for distributed content management, comprising:
the content routing server is used for receiving the content classification identifier sent by the edge server, acquiring a storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site, and returning the address information of the storage site to the edge server;
the edge server is used for sending content classification identification to the content routing server and acquiring the content to be downloaded from the storage site corresponding to the address information according to the address information returned by the content routing server;
and the storage site is used for storing the content to be downloaded by the edge server.
14. The download system of distributed content management as claimed in claim 13, wherein the content routing server is further configured to establish a correspondence between the content classification identifier and a storage site according to a preset mapping rule.
15. The download system of distributed content management according to claim 13 or 14, wherein the content classification identifier is a classification domain name set for storage sites of different regions according to domain name writing rules; or,
the content classification identification is a domain name plus a path corresponding to storage sites of different areas.
16. A distributed content management system, comprising: the system comprises a content routing server, a content client, an edge server and a storage site;
the content routing server is used for receiving the content classification identifier sent by the content client, acquiring a storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site, and returning the address information of the storage site to the content client; or,
the content routing server is used for receiving the content classification identifier sent by the edge server, acquiring a storage site corresponding to the content classification identifier according to the corresponding relation between the pre-stored content classification identifier and the storage site, and returning the address information of the storage site to the edge server;
the content client is used for sending a content classification identifier to the content routing server and injecting content into a storage site corresponding to address information according to the address information returned by the content routing server;
the edge server is used for sending content classification identification to the content routing server and acquiring the content to be downloaded from the storage site corresponding to the address information according to the address information returned by the content routing server;
the storage site is used for storing the content injected by the content client; or,
and the storage site is used for storing the content to be downloaded by the edge server.
CN201010572507.6A 2010-12-03 2010-12-03 Method, device and system for managing distributed contents Active CN102137145B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010572507.6A CN102137145B (en) 2010-12-03 2010-12-03 Method, device and system for managing distributed contents
PCT/CN2011/083455 WO2012072047A1 (en) 2010-12-03 2011-12-05 Method, device and system for distributed content management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010572507.6A CN102137145B (en) 2010-12-03 2010-12-03 Method, device and system for managing distributed contents

Publications (2)

Publication Number Publication Date
CN102137145A true CN102137145A (en) 2011-07-27
CN102137145B CN102137145B (en) 2015-03-18

Family

ID=44296800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010572507.6A Active CN102137145B (en) 2010-12-03 2010-12-03 Method, device and system for managing distributed contents

Country Status (2)

Country Link
CN (1) CN102137145B (en)
WO (1) WO2012072047A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012072047A1 (en) * 2010-12-03 2012-06-07 华为技术有限公司 Method, device and system for distributed content management
CN102497402A (en) * 2011-12-01 2012-06-13 深圳市同洲视讯传媒有限公司 Content injection method and system thereof, and content delivery method and system thereof
WO2013086707A1 (en) * 2011-12-14 2013-06-20 华为技术有限公司 Routing method, device, and system in content delivery network (cdn)
CN103533042A (en) * 2013-10-10 2014-01-22 北京奇虎科技有限公司 Position-based information publishing method and device
CN103916437A (en) * 2013-01-05 2014-07-09 中国移动通信集团公司 File release system, device and method
CN104092776A (en) * 2014-07-25 2014-10-08 北京赛科世纪数码科技有限公司 Method and system for accessing information
CN104125162A (en) * 2014-07-29 2014-10-29 小米科技有限责任公司 Network source access processing method and device
CN104765749A (en) * 2014-01-07 2015-07-08 阿里巴巴集团控股有限公司 Data storage method and device
CN106686050A (en) * 2016-08-18 2017-05-17 北京泰尔英福网络科技有限责任公司 Domain name based classified information distributing method and system
CN106878476A (en) * 2016-06-02 2017-06-20 阿里巴巴集团控股有限公司 Network environment isolation, service acquisition method and device
CN107295027A (en) * 2016-03-30 2017-10-24 中国移动通信有限公司研究院 A kind of content injection method, device and controller
CN107392489A (en) * 2017-07-31 2017-11-24 深圳英之泰教育科技有限公司 A kind of educational management method based on distributed network
CN109978735A (en) * 2019-02-25 2019-07-05 常州轻工职业技术学院 Intelligent campus assists autonomous learning platform
CN110673957A (en) * 2019-09-25 2020-01-10 上海岐素信息科技有限公司 Health big data analysis system
CN111625421A (en) * 2020-05-26 2020-09-04 云和恩墨(北京)信息技术有限公司 Method and device for monitoring distributed storage system, storage medium and processor
CN111722973A (en) * 2019-03-20 2020-09-29 顺丰科技有限公司 Event timeout monitoring method, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083533A (en) * 2006-05-29 2007-12-05 北京中青凯诚网络电视传媒有限公司 Distributed network subnet service method across platform
CN101710901A (en) * 2009-10-22 2010-05-19 乐视网信息技术(北京)股份有限公司 Distributed type storage system having p2p function and method thereof
CN101741731A (en) * 2009-12-03 2010-06-16 中兴通讯股份有限公司 Content metadata storing, inquiring method and managing system in content delivery network (CDN)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150421B (en) * 2006-09-22 2011-05-04 华为技术有限公司 A distributed content distribution method, edge server and content distribution network
CN101753610B (en) * 2008-12-19 2012-11-21 华为技术有限公司 Distributed network structure method, device, system and task processing method
CN101572710B (en) * 2009-06-03 2012-06-27 杭州华三通信技术有限公司 Interprocess communication method and system
CN102137145B (en) * 2010-12-03 2015-03-18 华为技术有限公司 Method, device and system for managing distributed contents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083533A (en) * 2006-05-29 2007-12-05 北京中青凯诚网络电视传媒有限公司 Distributed network subnet service method across platform
CN101710901A (en) * 2009-10-22 2010-05-19 乐视网信息技术(北京)股份有限公司 Distributed type storage system having p2p function and method thereof
CN101741731A (en) * 2009-12-03 2010-06-16 中兴通讯股份有限公司 Content metadata storing, inquiring method and managing system in content delivery network (CDN)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WYSTEC: "同一域名下跨地域分布式邮件系统解决方案", 《HTTP://WYSTEC.BLOG.163.COM/BLOG/STATIC/296144472010321115611251/》 *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012072047A1 (en) * 2010-12-03 2012-06-07 华为技术有限公司 Method, device and system for distributed content management
CN102497402A (en) * 2011-12-01 2012-06-13 深圳市同洲视讯传媒有限公司 Content injection method and system thereof, and content delivery method and system thereof
CN102497402B (en) * 2011-12-01 2014-11-26 深圳市同洲电子股份有限公司 Content injection method and system thereof, and content delivery method and system thereof
WO2013086707A1 (en) * 2011-12-14 2013-06-20 华为技术有限公司 Routing method, device, and system in content delivery network (cdn)
CN103535011A (en) * 2011-12-14 2014-01-22 华为技术有限公司 Routing method, device, and system in content delivery network (CDN)
CN103916437A (en) * 2013-01-05 2014-07-09 中国移动通信集团公司 File release system, device and method
CN103533042A (en) * 2013-10-10 2014-01-22 北京奇虎科技有限公司 Position-based information publishing method and device
CN104765749A (en) * 2014-01-07 2015-07-08 阿里巴巴集团控股有限公司 Data storage method and device
CN104092776A (en) * 2014-07-25 2014-10-08 北京赛科世纪数码科技有限公司 Method and system for accessing information
CN104125162B (en) * 2014-07-29 2017-09-26 小米科技有限责任公司 The access processing method and device of Internet resources
CN104125162A (en) * 2014-07-29 2014-10-29 小米科技有限责任公司 Network source access processing method and device
CN107295027A (en) * 2016-03-30 2017-10-24 中国移动通信有限公司研究院 A kind of content injection method, device and controller
CN106878476A (en) * 2016-06-02 2017-06-20 阿里巴巴集团控股有限公司 Network environment isolation, service acquisition method and device
CN106878476B (en) * 2016-06-02 2020-04-24 阿里巴巴集团控股有限公司 Network environment isolation and service acquisition method and device
CN106686050A (en) * 2016-08-18 2017-05-17 北京泰尔英福网络科技有限责任公司 Domain name based classified information distributing method and system
CN106686050B (en) * 2016-08-18 2020-02-07 中国信息通信研究院 Domain name based classification information issuing method and system
CN107392489A (en) * 2017-07-31 2017-11-24 深圳英之泰教育科技有限公司 A kind of educational management method based on distributed network
CN107392489B (en) * 2017-07-31 2020-12-29 深圳英之泰教育科技有限公司 Education management method based on distributed network
CN109978735A (en) * 2019-02-25 2019-07-05 常州轻工职业技术学院 Intelligent campus assists autonomous learning platform
CN111722973A (en) * 2019-03-20 2020-09-29 顺丰科技有限公司 Event timeout monitoring method, system and storage medium
CN111722973B (en) * 2019-03-20 2023-05-23 顺丰科技有限公司 Event timeout monitoring method, system and storage medium
CN110673957A (en) * 2019-09-25 2020-01-10 上海岐素信息科技有限公司 Health big data analysis system
CN110673957B (en) * 2019-09-25 2020-08-14 上海岐素信息科技有限公司 Health big data analysis system
CN111625421A (en) * 2020-05-26 2020-09-04 云和恩墨(北京)信息技术有限公司 Method and device for monitoring distributed storage system, storage medium and processor
CN111625421B (en) * 2020-05-26 2021-07-16 云和恩墨(北京)信息技术有限公司 Method and device for monitoring distributed storage system, storage medium and processor

Also Published As

Publication number Publication date
WO2012072047A1 (en) 2012-06-07
CN102137145B (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN102137145B (en) Method, device and system for managing distributed contents
US10305797B2 (en) Request routing based on class
US10491534B2 (en) Managing resources and entries in tracking information in resource cache components
CN102118376B (en) Content delivery network service device and content download method
KR101725306B1 (en) Energy-efficient content caching with custodian-based routing in content-centric networks
CN103873451B (en) A kind of method, apparatus and system of data syn-chronization
CN109491758A (en) Docker mirror image distribution method, system, data gateway and computer readable storage medium
CN109819068B (en) User terminal, block chain domain name resolution method thereof, computer equipment and computer readable storage medium
CN106331215A (en) Data request processing system and processing method
CN101442558B (en) Method and system for providing index service for P2SP network
CN102438278B (en) Load allocation method and device for mobile communication network
CN109729183A (en) Request processing method, device, equipment and storage medium
US20160323238A1 (en) Ip management method, client and server
CN111917896B (en) Credible domain name resolution method, system, electronic equipment and storage medium
CN109951482A (en) User terminal and its block chain domain name analytic method
CN102118323A (en) Content delivery network server and content downloading method
CN102065107A (en) Peer-to-peer universal content delivery network and content caching method
CN103905574A (en) DNS service access method and DNS data synchronization method and device
CN106210158B (en) Domain name resolution synchronization method and device
WO2014101240A1 (en) Data storage method and apparatus, data operation method and system, and access server
CN106936945A (en) Distributed domain name analysis method and device
CN104581977B (en) WLAN user management method, apparatus and system
CN109951481B (en) Information processing method and system based on block chain network adjacent nodes
CN101567879A (en) Method, server, equipment and system for treating terminal request
CN111104376B (en) Resource file query method and device

Legal Events

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

Effective date of registration: 20220218

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technologies Co.,Ltd.

Address before: 518129 headquarters building of Bantian HUAWEI base, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right