Embodiment
Further specify the technical scheme of the embodiment of the invention below in conjunction with accompanying drawing and specific embodiment.
Fig. 4 is a content indexing processing method embodiment flow chart of the present invention, and is as shown in Figure 4, and this distribution comprises the steps:
Step 100, has content routing function entity (the Content RoutingFunction of SIP routing function; Hereinafter to be referred as: CRF) receiving media node (Media Station; Hereinafter to be referred as: content alteration announcement information MS);
On the MS of content network, increase in content, the deletion perhaps because fault is when causing situation such as content on the MS is unavailable, CRF all will receive MS or received content that content alteration takes place and distribute controlled function entity (Content Distribution Control Function; Hereinafter to be referred as: the content alteration announcement information of the MS of the generation content alteration of CDCF) transmitting; And said content alteration announcement information carries and the pairing sign of content or the identification list information that change; Whole when unavailable when media node, the content alteration announcement information will carry the identification information of the media node that content alteration takes place.
Step 101, CRF change the content indexing information of being stored according to the said content alteration announcement information that receives.
After CRF receives the content alteration announcement information of relevant MS content alteration; The pairing identification information of content according to the generation change of carrying in the said content alteration announcement information; Content indexing information to originally being stored in the MS in the CRF changes accordingly; As increasing or deletion content indexing information, or the partial content index information be set to unavailable etc., the selection of MS when carrying out the content route to be used for follow-up CRF.
Above-mentioned content identification is used for instruction content, and content indexing is based on that the content information that provides sets up, can the content sign, and the content routing function entity need be set up content indexing based on the content information that provides; In content alteration information, provide the content that change takes place, wherein can identify by content, be used to indicate the content that change takes place.
The content indexing processing method that present embodiment provides; CRF can be according to the content alteration announcement information of the MS that receives; The content indexing information of all these MS that annexation is arranged with it that is stored itself is carried out corresponding change; Guarantee the accuracy of content route, improved the quality that business service is provided for the user.
The reason that change takes place owing to the MS content has multiple situation, below introduces situation such as the probability higher increase of MS content, deletion and content be unavailable take place respectively.
For new content in content network two kinds of situation are arranged generally; Wherein a kind of is the initial distribution of content; Initial content is generally controlled by content supplier; This content needed to get in the content network before serving the user, specifically can be the content source entering content network of content from content supplier.The CDCF that is provided with in the content network is responsible for the unified control of the whole network content distribution.Because content network is classification, so the content distribution also can be carried out step by step in layering, promptly earlier be distributed to core MS by the CDCF control content, store by it; After this, according to distribution policy, control content is by the distribution of core MS to edge MS again.
Fig. 5 is that content increases the embodiment flow chart in the summary of the invention index process method, and is as shown in Figure 5, comprises the steps:
The content that step 200, CRF receive MS increases announcement information;
The content that CRF receives the MS of MS transmission increases announcement information; Or the content of the MS of received content distribution controlled function entity transmission increases announcement information; Being that the content increase announcement information that CRF receives can be that the MS that the content increase takes place sends, also can be that CDCF sends to CRF.
Receive at CRF before the content increase announcement information of MS, CDCF sends content dispense request information to said MS, and said content dispense request information comprises the content identification (ContentIdentifier of distributing contents; Hereinafter to be referred as: CID) information and content source information; Said MS returns the response message of said content dispense request information to CDCF; After CDCF receives said response message, control the said MS content source corresponding and set up the media delivery control channel, the content corresponding with said cid information transmitted with said content source information; Said MS sends said content increase announcement information to CRF or CDCF.
Step 201, CRF increase announcement information according to the said content that receives, and in the content indexing information of being stored, increase the index information of the content that this CID identified.
On CRF, store the content indexing information of media node; When the content of learning certain media node has increased; Just in the table that stores said content indexing information, increase the pairing index information of identification information that said content increases the increase content of carrying in the announcement information; Maintenance is synchronous with the media node content, is convenient to carry out the selection and the content route of media node.
Fig. 6 is for content initial distribution embodiment signaling diagram in the content indexing processing method of the present invention, and is as shown in Figure 6, comprises the steps:
Step 1a, at first CDCF initiates the content distributed tasks, and this task maybe be by (the Content Provider of content provider; Cause that hereinafter to be referred as: dispense request CP) CDCF sends the content dispense request to MS, wherein provide the parameters of distributed tasks, these parameters can simply be expressed as A}:
{{A}={cid,org(loc,auth),attribute(format,size,etc)}}
Specifically:
{{A}=
{ cid, the content CID of // needs distribution
Org (loc, auth), // content source information
Attribute (format, size, etc) }, // content specific information
}
Wherein parameter is pointed out: the CID that needs the content of distribution; Content source org (loc auth), wherein can provide positional information loc, authorization information auth etc., and wherein loc information can be ftp URL, auth information can be ftp the user name and password etc.; Content specific information, like content format format, big or small size etc., the reservation of storage resources in advance when size information can be used to distribute etc.;
Step 2a, MS are to the response message of CDCF returned content dispense request;
The MS that receives dispense request distributes necessary resource (like memory space) to prepare to carry out distribution of media, in the response that returns to CDCF, can carry necessary media delivery positional information (like ftp address and port information etc.) and medium and transmit authorization information etc.;
Step 3a, CDCF receive response message, set up the media delivery control channel between content source and MS and carry out media delivery, and for example MS uses ftp get to obtain content from content source;
After step 4a, content distribution were accomplished, MS was to CDCF report content Distribution Results; Wherein comprise the content identification of having distributed, perhaps content identification tabulation perhaps can characterize the information of a certain type of content, and the relevant media node sign of content etc.;
Step 5a, CDCF send update information on content to CRF, and CRF utilizes this lastest imformation to be used for carrying out when follow-up CRF carries out the content route selection or the content route of media node.
After step 6a, content distribution were accomplished, MS sent the content alteration notice to CRF; Wherein comprise the content identification of having distributed, perhaps content identification tabulation perhaps can characterize the information of a certain type of content, and the relevant media node sign of content etc.; CRF carries out content indexing in view of the above to be upgraded; Upgrade selection or content route that back information is used for carrying out when follow-up CRF carries out the content route media node.
Wherein, Step 4a and step 5a are that MS passes through CDCF to CRF forwarding content alteration notice; And step 6a to be MS directly report content alteration notice to CRF; That is to say that step 4a and step 5a and step 6a are two kinds of implementations arranged side by side, in practical application, can in two kinds of implementations, select wherein a kind of mode to carry out reporting of content alteration notice.
The process that the primary centre that step 7a~step 12a provides among the figure carries out the content distribution to the secondary media node, similar with aforesaid step 1a~step 6a, repeat no more here.In addition, content is also similar to the distribution procedure of fringe node by two-level node, repeats no more here.
Another kind of situation for new content in content network is distributed for content being carried out intelligence.So-called intelligence distribution is meant; Content generally is distributed to fringe node to serve the user fast as far as possible in CDN; But be not that all the elements all can send to fringe node in initial procedure; Along with the variation of user's clicking rate, some content that is stored in the core node possibly become the focus content gradually along with the rising of its clicking rate, is necessary this moment to consider these focus contents dynamically are distributed to fringe node to optimize service.
In the content network, content requests need be passed through CRF and carried out route, and this entity can be collected the content requests statistical information.In addition, provide the MS of content also can add up meaningful requested situation to the user.The information that can add up comprises: recently the unit interval is by the maximum content of request number of times, corresponding contents specifically by request number of times; Timing statistics can be 5 minutes statistics or 1 hour statistics etc., and varigrained statistics can provide more information that are used to make a strategic decision for content distribution control more.
These statistical informations send to CDCF and carry out content distribution decision-making after timing statistics arrives.The CDCF that receives content use statistical information can carry out the content distribution according to distribution policy.The certain content request is increased too fast situation for the short period, can in time carry out the content distribution, think promptly that as setting the interval request of statistics in 5 minutes this content becomes hot localised points, need carry out content and distribute above 200 times; If be lower than this threshold values, then can be further according to the statistical conditions of coarsegrain more, as set the interval request of statistics in 1 hour and surpass and also can think that this content need distribute for 300 times certain content.Certainly, be not that all contents that might become focus all need be distributed to fringe node, when distribution, need just sort by the focus degree, need the content storage capacity of CONSIDERING EDGE node and load-bearing capacity to carry out simultaneously.In case the CDCF decision-making need be carried out the intelligence distribution, then send content dispense request information to media node, the process of particular content distribution is identical with initial distribution.
Fig. 7 is for content intelligence distribution embodiment signaling diagram in the content indexing processing method of the present invention, and is as shown in Figure 7, comprises the steps:
Carry out the statistics of content operating position on step 1b, CRF or the edge MS;
CRF or edge MS can add up specific MS and go up unit interval content requests number, total content requests number of unit interval etc., and give CDCF with the statistics report information;
Step 2b, CDCF make the decision-making of content distribution according to the statistics information that receives in conjunction with the distribution policy analysis; Distribution policy can be " when to the request number of certain content when the unit interval surpasses threshold values, be distributed to the edge media node " etc.;
Step 3b, CDCF send the content dispense request to edge MS;
Step 4b, edge MS are to the response message of CDCF returned content dispense request;
After edge MS is the distributing contents reserved storage space according to the content dispense request, send response message to CDCF; CDCF receives response message;
Set up the media delivery control channel between step 5b, secondary MS and edge MS and carry out media delivery;
After step 6b, content distribution were accomplished, edge MS was to CDCF report content Distribution Results;
Step 7b, CDCF send update information on content to CRF, and CRF utilizes this lastest imformation to be used for carrying out when follow-up CRF carries out the content route selection or the content route of media node.
After step 8b, content distribution were accomplished, edge MS sent the content alteration notice to CRF.
Wherein, Step 6b and step 7b are that edge MS transmits the content alteration notice through CDCF to CRF; And step 8b to be edge MS directly report content alteration notice to CRF; That is to say that step 6b and step 7b and step 8b are two kinds of implementations arranged side by side, in practical application, can in two kinds of implementations, select wherein a kind of mode to carry out reporting of content alteration notice.
After above-mentioned content initial distribution or intelligence distribution, CDCF or MS have the index information of new content, can send the content alteration information on the media node to CRF by one of these two entities; Perhaps, after initial distribution, send the content alteration notice to CRF, when the intelligence distribution is upgraded, then send the content alteration notice to CRF by MS by CDCF.
For in content network, the situation of the content on the deletion media node, the content among the CDN in the edge media node possibly deleted under following situation: initial distribution causes memory space inadequate on the media node, thereby triggers the content deletion.Because the storage capacity of edge media node is limited; Generally impossible unconfined memory contents; When the issue of carrying out content or initial distribution, if the memory space inadequate on the node then generally need be deleted the content on the edge media node to store new content.When deletion, can use statistical conditions to carry out, delete, promptly think possible less by the minimum content of request number of times, thereby it is deleted by what ask once more in the interval content of statistics as adopting least recently used principle according to content.Media node also can initiatively be deleted according to the content operating position and use less content.
Fig. 8 is content deletion embodiment one flow chart in the summary of the invention index process method, and is as shown in Figure 8, comprises the steps:
The content deletion announcement information of step 300, CRF receiving media node;
Said content deletion announcement information can be institute the content deletion will take place media node directly to the CRF transmission; Also can be content deletion will take place media node at first content is deleted announcement information and sends to CDCF; By CDCF content is deleted announcement information again and send to CRF, include the sign or the identification list information of the content that said media node will delete in the said content deletion announcement information.
Media node first request CDCF deletion content indexing before the deletion content can carry media node information and the content deletion reason at the sign that will delete content or identification list, content place etc. in the request.CDCF and then content change is synchronized to CRF promptly asks CRF deletion content indexing, can carry sign or identification list with the deletion content in the request, and perhaps carry and can characterize the simple expression of waiting to delete content, and the media node information at content place etc.Media node also can directly be asked CRF deletion content indexing to be deleted, and can carry sign or identification list with the deletion content in the request, and perhaps carry and can characterize the simple expression of waiting to delete content, and the media node information at content place etc.
Step 301, CRF are according to the said content deletion announcement information that receives, the index information of the content correspondence that institute will delete in the content indexing information that deletion is stored.
After CRF receives content deletion announcement information, according to comprising institute to delete the identification information of content, index information corresponding in the content indexing information of storage is originally deleted.After the deletion, return response message to MS, the affirmation content is deleted; MS is after receiving the response message of CRF; Again the content on it is carried out deletion action, guaranteed that like this content indexing of CRF is deleted prior to the content on the MS, avoid the content route that makes a mistake.
Fig. 9 is content deletion embodiment two signaling diagrams in the content indexing processing method of the present invention, the content indexing step of updating when providing media node and carrying out the content deletion through CDCF as shown in Figure 9:
Step 1c, when MS will carry out content when deletion, MS sends content deletion request to CDCF, request CDCF deletion content indexing;
Carry sign or the identification list that remains to be deleted content in the solicited message or can characterize the simple method for expressing of waiting to delete content, represent a plurality of contents etc. of waiting to delete as adopting regular expression; In addition, possibly also it may be noted that the information such as media node sign at content place.
Step 2c, CDCF request CRF deletion are waited to delete the content indexing information of content, and are carried above-mentioned information;
Step 3c, the relevant content indexing of CRF deletion, and to CDCF feedback processing result;
Step 4c, CDCF further delete to MS affirmation content indexing information;
Step 5c, MS delete content to be deleted.
The distribution that present embodiment provides has guaranteed that content indexing can be deleted prior to content, thereby can fully avoid wrong content route.
Figure 10 is content deletion embodiment three signaling diagrams in the content indexing processing method of the present invention, the content indexing step of updating when providing media node notice CRF and carrying out the content deletion shown in figure 10:
Step 1d, to carry out content when deletion as MS; MS sends content deletion request to CRF; Request CRF deletion content indexing; Wherein carry and wait to delete the sign or the identification list of content or can characterize the simple method for expressing of waiting to delete content, represent a plurality of contents etc. of waiting to delete as adopting regular expression; In addition, possibly also it may be noted that the media node sign at content place;
The content indexing that step 2d, CRF deletion is relevant and to media node feedback processing result;
Step 3d, MS delete content to be deleted.
The distribution that present embodiment provides has guaranteed that content indexing can be deleted prior to content, thereby can fully avoid wrong content route.
The reason that content network carries out the content indexing information updating also possibly cause owing to media node is unavailable; Media node is unavailable generally to have two kinds of situation; A kind of to be that the media node failover is whole unavailablely can't provide content, and another kind is that media node causes partial content unavailable because of partial fault.When the media node content is unavailable, also can adopt two kinds of content indexing update mechanisms: the content indexing of a kind of CDCF of being based on upgrades, and in this case, the fault message of media node is obtained or detected by CDCF, and notifies CRF by it.For the failure condition of media node, CDCF can be through detecting the information that the MS state obtains its fault, as adopt keepalive mechanism regularly between the two; In addition, if MS still can send message, then MS can give CDCF with the unavailable event notice of media node; After CDCF obtained corresponding information, it can ask CRF mark in content indexing information all the elements relevant with this MS all unavailable; Perhaps MS also can ask CDCF from content indexing information, to delete all the elements index relevant with this MS; MS provides the information of unavailable content in the report that sends to CDCF, this report can be used content identification or identification list, and the methods such as characteristic that perhaps provide unavailable content are indicated disabled content; After CDCF obtained corresponding information, it can ask CRF from content indexing, to delete all the elements index relevant with this MS.
Another kind is based on the index upgrade of media node; Failure condition for MS; If MS still can send message, then MS can give CRF with the unavailable event notice of media node, and MS can provide the information of unavailable content in the report that sends to CRF; This report can be used content identification or identification list, and the methods such as characteristic that perhaps provide unavailable content are indicated disabled content.
Figure 11 carries out index upgrade embodiment one flow chart when media node is unavailable in the content indexing processing method of the present invention, under the whole unavailable situation of media node, comprising the steps:
Step 400, CRF receiving node failure notification message, said node failure announcement information comprises the identification information of said media node;
This node failure announcement information can be directly to be sent by the media node that breaks down, and also can be by the media node that breaks down the node failure announcement information to be sent to CDCF, then by CDCF to CRF forward node failure notification message; Through being detected, media node knows the node failure announcement information again or by CRF or CDCF.
Receive at above-mentioned relevant CRF before the node failure announcement information process of the said MS that MS sends through CDCF, comprise also that CDCF receives said node failure announcement information that MS sends or know the said node failure announcement information of said media node through detection; CDCF is with in the content indexing information of being stored, and the content indexing information setting of the MS corresponding with said identification information is unavailable; CDCF sends said node failure announcement information to CRF; The response message of the said node failure announcement information that CDCF reception CRF returns; CDCF sends the response message of said node failure announcement information to MS.
Step 401, CRF be according to the node failure announcement information that receives, and the content corresponding index information of the media node that breaks down of storage is changed;
The said identification information that mainly comprises according to receiving is handled in change, and in the content indexing information of being stored, the content indexing information setting of the media node corresponding with said identification information is unavailable; Or according to the said identification information that receives, the content indexing information of the media node corresponding in the content indexing information that deletion is stored with said identification information.
Figure 12 carries out index upgrade embodiment two flow charts when media node is unavailable in the content indexing processing method of the present invention; Provide the whole content indexing step of updating when unavailable of media node like Figure 12; This moment, media node can't provide content service, specifically comprised the steps:
Whole unavailable fault takes place in step 1e, MS, and its reason possibly be to safeguard needs, or the MS machine of delaying;
Step 2e, MS carry the identification information of this MS to CDCF sending node failure notification message in the said node failure announcement information, can also carry failure cause; Certainly, also possibly can't send this notice by MS, but CDCF can be through adopting keepalive mechanism to detect the generation of this incident with MS.After this incident took place, CDCF need carry out content indexing to be upgraded, can this media node integral body of mark unavailable;
Step 3e, CDCF notify the node failure announcement information to CRF, and it is unavailable to ask its deletion all the elements index relevant with this MS perhaps all related content index of this MS to be set, and wherein carries the identification information of MS etc.;
Step 4e, CRF carry out the content indexing update processing according to the request of CDCF, and to CDCF feedback acknowledgment information;
Step 5e, CDCF confirm this signalling trouble to this MS.
Whole flow process has guaranteed that content indexing can upgrade in time when the media node fault, thereby can fully avoid wrong content route.
Figure 13 carries out index upgrade embodiment three flow charts when media node is unavailable in the content indexing processing method of the present invention; Provide the whole content indexing step of updating when unavailable of media node among the figure; Be that with the embodiment difference of Figure 12 the fault message of media node notifies CRF but not CDCF, concrete steps are following:
Whole unavailable fault takes place in step 1f, MS, and its reason possibly be to safeguard needs, or the MS machine of delaying;
Step 2f, MS carry the identification information of this MS to CRF sending node failure notification message in the said node failure announcement information, can also carry failure cause; Certainly, also possibly can't send this notice by media node, but CRF can be through adopting keepalive mechanism to detect the generation of this incident with media node;
Step 3f, CRF carry out content indexing to be upgraded, and specifically can be that this MS of deletion relevant all the elements index or all related content index of this MS of mark are unavailable;
Step 4f, CRF confirm this signalling trouble to MS.
Whole flow process has guaranteed that content indexing can upgrade in time when the media node fault, thereby can fully avoid wrong content route.
Figure 14 carries out index upgrade embodiment four flow charts when media node is unavailable in the content indexing processing method of the present invention, under the unavailable situation of media node part, comprising the steps:
Step 500, CRF receiving node failure notification message, said node failure announcement information comprises the sign or the identification list of unavailable content;
This node failure announcement information can be directly to be sent by the media node that breaks down, and also can be by the media node that breaks down the node failure announcement information to be sent to CDCF, then by CDCF to CRF forward node failure notification message; Through being detected, media node knows the node failure announcement information again or by CRF or CDCF.
Receive at above-mentioned relevant CRF before the node failure announcement information process of the said MS that MS sends through CDCF, comprise also that CDCF receives said node failure announcement information that MS sends or know the said node failure announcement information of said media node through detection; In the content indexing information that the CDCF deletion is stored, the content indexing information corresponding with the content identification information that comprises in the said node failure announcement information; CDCF sends said node failure announcement information to CRF; The response message of the said node failure announcement information that CDCF reception CRF returns; CDCF sends the response message of said node failure announcement information to MS.
The sign or the identification list of the said unavailable content that step 501, CRF basis receive, content indexing information corresponding in the content indexing information that the content indexing information of correspondence or mark are stored in the content indexing information that deletion is stored is unavailable.
Figure 15 carries out index upgrade embodiment five flow charts when unavailable for media node in the content indexing processing method of the present invention, and it is following to provide the content indexing step of updating of media node part when unavailable like Figure 15:
The unavailable fault of part takes place in step 1g, MS, causes having partial content unavailable;
Step 2g, MS report disabled content information to CDCF; Wherein carry the sign of unavailable content or the simple method for expressing that identification list perhaps can characterize unavailable content, represent a plurality of unavailable contents etc. as adopting regular expression; In addition, possibly also it may be noted that the media node sign at content place;
Step 3g, CDCF send the request of the index information of the unavailable content of upgrading media node to CRF, and carry above-mentioned information;
Step 4g, CRF be according to the request that receives, and the index information of deleting the index information of unavailable content or unavailable content being set is unavailable, and to CDCF feedback processing result;
Step 5g, CDCF confirm that to MS content indexing upgrades.
Whole flow process has guaranteed that content indexing can upgrade in time when the media node partial fault, thereby can fully avoid wrong content route.
Figure 16 carries out index upgrade embodiment six flow charts when media node is unavailable in the content indexing processing method of the present invention; Provide the content indexing step of updating of media node part when unavailable like Figure 16; Be that with the difference of the embodiment that is provided among Figure 15 media node notifies the information of unavailable content to CRF but not CDCF, concrete steps are following:
The unavailable fault of part takes place in step 1h, MS, causes having partial content unavailable;
Step 2h, MS report disabled content information to CRF; Wherein carry the sign of unavailable content or the simple method for expressing that identification list perhaps can characterize unavailable content, represent a plurality of unavailable contents etc. as adopting regular expression; In addition, possibly also it may be noted that the media node sign at content place;
The index information that step 3h, CRF delete the corresponding unavailable content of index information or the mark of unavailable content is unavailable;
Step 4h, CRF upgrade to MS affirmation content indexing information.
Whole flow process has guaranteed that content indexing can upgrade in time when the media node partial fault, thereby can fully avoid wrong content route.
In above-mentioned all the elements index process method embodiment, at CRF according to the content alteration announcement information that receives, after the content indexing information of being stored changed, also will be to the response message of MS sending node failure notification message.
Adopt the method that the embodiment of the invention provided; Can be easy to carry out CDN and IMS-based IPTV adaptive; Content indexing information to the content route is used is upgraded timely, to carry out accurate service request route, strengthens the exploitativeness of IMS-based IPTV standard.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Figure 17 is a content routing function physical embodiment structural representation of the present invention, and is shown in figure 17, and this content routing function entity is that CRF comprises receiver module 11 and processing module 21, and wherein receiver module 11 is used for the content alteration announcement information of receiving media node; Processing module 21 is used for the content indexing information of being stored is changed.
Particularly; The receiver module 11 of CRF receives content alteration announcement information that media node sends or that media node is transmitted through CDCF; Comprise sign or identification list information that the content of change takes place on the media node in this content alteration announcement information; When if media node integral body is unavailable, carry the identification information of this media node, processing module 21 is according to the index information that receives; The content indexing information of media node to storage correspondingly changes, as increases or operation such as deletion.Further; According to different content alteration situation; Processing module 21 comprises increases processing sub 211, deletion processing sub 212 and troubleshooting submodule 213; Wherein increase processing sub 211 and be used for increasing announcement information according to the content that receives, in the content indexing information of being stored, increase the index information of new content, said content increases sign or the identification list that announcement information carries increases content; Deletion processing sub 212 is used for according to the content deletion announcement information that receives, and by the pairing index information of deletion content, said content deletion announcement information carries the sign or the identification list of deletion content in the content indexing information that deletion is stored; Troubleshooting submodule 213 is used for when media node integral body is unavailable; Identification information according to the said media node that comprises in the node failure announcement information that receives; In the content indexing information of being stored, the content indexing information setting of the media node corresponding with said identification information is unavailable; Or according to the said identification information that receives, the content indexing information of the media node corresponding in the content indexing information that deletion is stored with said identification information; Or when the media node part is unavailable; According to the sign or the identification list of the unavailable content that comprises in the node failure announcement information that receives, content indexing information corresponding in the content indexing information that deletion is stored is unavailable with content indexing information setting corresponding in the content indexing information of being stored perhaps.
CRF comprises that also memory module 31 is used for the content indexing information of medium node; In memory module 31, store the content indexing information of all media nodes that are connected with CRF; The content indexing information that promptly comprises edge and core media node; If the content of certain media node changes, then the content indexing information of storage changes processing accordingly in 21 pairs of memory modules 31 of processing module.
The content routing function entity that the embodiment of the invention provides can be made content indexing information-change in time according to the content alteration situation of media node, to guarantee to carry out the accuracy of media node selection or content route.
Figure 18 is a content distributing control entity example structure sketch map of the present invention; Shown in figure 18; This content distributing control entity; Be that CDCF comprises content distribution control module 41 and index upgrade module 51, wherein content distribution control module 41 is used for content is distributed to media node or between media node, distributed by content source controlling; Index upgrade module 51 is used to the content alteration announcement information that the content routing function entity provides media node.
Particularly, content distributing control entity CDCF carries out the unified control of the whole network content distribution by it.Because content network is classification, so the distribution of the content here also can be carried out step by step in layering, promptly earlier be distributed to the core media node by the CDCF control content, store by it; After this, according to distribution policy, control content is by the distribution of core media node to the edge media node again.
The CDCF control content is distributed to media node from content source, perhaps is distributed to another media node by a media node; Comprise that control content is distributed to core media node or edge media node from content source; Perhaps control from content source elder generation distributing contents to the core media node, then from core media node distributing contents to the edge media node etc.; It provides or the update content index information to the content routing function entity; The result of content distribution just content indexing information offers the content routing function entity and is used for it and carries out the content routing procedure.
Figure 19 is a content indexing treatment system example structure sketch map of the present invention; Shown in figure 19; This system comprises media node 3, content routing function entity CRF1 and content distributing control entity CDCF2; Wherein CRF1 comprises receiver module 11 and processing module 21, and wherein receiver module 11 is used for the content alteration announcement information of receiving media node; Processing module 21 is used for the content indexing information of being stored is changed.
Particularly; The receiver module 11 of CRF receives content alteration announcement information that media node sends or that media node is transmitted through CDCF; Comprise sign or identification list information that the content of change takes place on the media node in this content alteration announcement information; When if media node integral body is unavailable, carry the identification information of this media node, processing module 21 is according to the index information that receives; The content indexing information of media node to storage correspondingly changes, as increases or operation such as deletion.Further; According to different content alteration situation; Processing module 21 comprises increases processing sub 211, deletion processing sub 212 and troubleshooting submodule 213; Wherein increase processing sub 211 and be used for increasing announcement information according to the content that receives, in the content indexing information of being stored, increase the index information of new content, said content increases sign or the identification list that announcement information carries increases content; Deletion processing sub 212 is used for according to the content deletion announcement information that receives, and by the pairing index information of deletion content, said content deletion announcement information carries the sign or the identification list of deletion content in the content indexing information that deletion is stored; Troubleshooting submodule 213 is used for when media node integral body is unavailable; Identification information according to the said media node that comprises in the node failure announcement information that receives; In the content indexing information of being stored, the content indexing information setting of the media node corresponding with said identification information is unavailable; Or according to the said identification information that receives, the content indexing information of the media node corresponding in the content indexing information that deletion is stored with said identification information; Or when the media node part is unavailable; According to the sign or the identification list of the unavailable content that comprises in the node failure announcement information that receives, content indexing information corresponding in the content indexing information that deletion is stored is unavailable with content indexing information setting corresponding in the content indexing information of being stored perhaps.
CRF comprises that also memory module 31 is used for the content indexing information of medium node; In memory module 31, store the content indexing information of all media nodes that are connected with CRF; The content indexing information that promptly comprises edge and core media node; If the content of certain media node changes, then the content indexing information of storage changes processing accordingly in 21 pairs of memory modules 31 of processing module.
CDCF2 comprises content distribution control module 41 and index upgrade module 51, and wherein content distribution control module 41 is used for content is distributed to media node or between media node, distributed by content source controlling; Index upgrade module 51 is used to the content alteration announcement information that the content routing function entity provides media node.
Figure 20 is a content indexing treatment system embodiment logical construction sketch map of the present invention, and is shown in figure 20, in the logical framework of system, comprises: content source is the source point of content, provides content to content network, is generally controlled by content supplier; Business control function body (Service Control Function; Hereinafter to be referred as: SCF) be the IPTV business control function body, the professional payment of control to authorized user; UE is a user terminal, is used to initiate the IPTV service request based on SIP; IMScore is the IMS nuclear in the IMS standard, and function is followed existing 3gpp standard; MS refers to have the media server of media services control and delivery capability; In addition, CC+CDF or the CDF in Open IPTV Forum CDN framework; The perhaps MCF+MDF in the TISPAN IMS-based IPTV framework, perhaps MDF etc. can regard media node as; CRF has content indexing information, and this information comprises the content indexing information of edge and core media node, and it can receive the SIP service request that is used for request content, and according to content indexing information it is carried out the content route.Interface between CRF and the MS and the interface between the CRF are the content routing interface; CRF is through this interface route or transmit the content service request to media node or other CRF.The CDCF control content is distributed to media node from content source, perhaps is distributed to another media node by a media node; Comprise that control content is distributed to core media node or edge media node from content source; Perhaps control from content source elder generation distributing contents to the core media node, then from core media node distributing contents to the edge media node etc.; Provide or the update content index information to the content routing function entity; The result of content distribution just content indexing information (or being called distribution of content information) offers the content routing function entity and is used for it and carries out the content routing procedure.Interface between CDCF and the CRF is used for content indexing to be upgraded; In addition, has content distribution control interface between CDCF and all MS.Above-mentioned media node classification is disposed, and constitutes typical layering or classification CDN network.Here only having provided three grades of deployment architectures does also can carry out multistage deployment with explanation.
In system, CDCF is the unique distribution controlled entity of the whole network, carries out all content distribution Control work by it; For the flexibility of controlling, also can be at the content distributing control entities that are provided with respectively as required at different levels, such as content distributing control entity also being set at secondary center; At this time one-level distribution controlled entity only control content from the distribution of content source to the one-level media node; The secondary content distributing control entity then control content from the one-level media node to the secondary media node, and the secondary media node is to the distribution of edge media node.Its distribution control procedure is consistent with the content indexing renewal process in fact.
The content indexing update system of taking present embodiment to provide can avoid taking place content and also not be deployed to media node, and content indexing has appeared at the situation among the CRF; Also can avoid deleting from media node when content, and the situation that the index among the CRF still exists.Therefore CRF also just can not carry out wrong content service request route; CRF can be according to the content alteration situation of MS; Content indexing information to the MS that stored is upgraded timely and accurately, has guaranteed the selection of media node and the accuracy of content route, improves QoS.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.