CN103973747B - A kind of method and apparatus for obtaining content - Google Patents

A kind of method and apparatus for obtaining content Download PDF

Info

Publication number
CN103973747B
CN103973747B CN201310043365.8A CN201310043365A CN103973747B CN 103973747 B CN103973747 B CN 103973747B CN 201310043365 A CN201310043365 A CN 201310043365A CN 103973747 B CN103973747 B CN 103973747B
Authority
CN
China
Prior art keywords
content
context identifier
distribution rule
identification code
network node
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.)
Expired - Fee Related
Application number
CN201310043365.8A
Other languages
Chinese (zh)
Other versions
CN103973747A (en
Inventor
陈学梁
李丹
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 CN201310043365.8A priority Critical patent/CN103973747B/en
Publication of CN103973747A publication Critical patent/CN103973747A/en
Application granted granted Critical
Publication of CN103973747B publication Critical patent/CN103973747B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method and apparatus for obtaining content.This method includes:Receive the content acquisition request that the user equipment that network node is serviced is sent, the context identifier for asking to include asked content;According to the context identifier, the content distribution rule corresponding with the context identifier is obtained;According to content distribution rule, the content that the context identifier is identified is obtained in the content storage object included from the content distribution rule;The content of acquisition is sent to the user equipment.The invention also discloses the corresponding device for obtaining content.Using a kind of technical scheme for the method and apparatus for obtaining content provided by the invention, the content that user equipment can be enable to obtain content server by merging the wireless access network of CDN functions and distribute.

Description

A kind of method and apparatus for obtaining content
Technical field
The present invention relates to communication technical field, and in particular to a kind of method and apparatus for obtaining content.
Background technology
Content distributing network (Content Delivery Network, CDN) technology is more and more ripe, CDN purpose It is by increasing by one layer of new network architecture in existing internet, the content of website being published into the network closest to user " edge ", user is obtained required content nearby, solve the crowded situation of internet network, improve user and access website Response speed.
A kind of wireless access planar network architecture for controlling and carrying separation is proposed so that wireless access network can merge CDN Function.However, how prior art obtains the technical scheme of the content of content server distribution there has been no user equipment.
The content of the invention
The technical problems to be solved by the invention are, there is provided a kind of method and apparatus for obtaining content, to make user Equipment can obtain the content of content server distribution by merging the wireless access network of CDN functions.
In order to solve the above-mentioned technical problem, in a first aspect, the embodiment provides it is a kind of obtain content method, Including:
The content acquisition request that the user equipment that network node is serviced is sent is received, the request is interior including being asked The context identifier of appearance;
According to the context identifier, the content distribution rule corresponding with the context identifier is obtained;
According to content distribution rule, obtained in the content storage object included from the content distribution rule in described Hold the content that identification code is identified;
The content of acquisition is sent to the user equipment.
It is described according to the context identifier in the first possible implementation, obtain and the context identifier Corresponding content distribution rule, including:
According to the context identifier, obtained from the user equipment belonging network node relative with the context identifier The content distribution rule answered.
It is described according to the context identifier in second of possible implementation, obtain and the context identifier Corresponding content distribution rule, including:
The context identifier is sent to content controller;
Obtain the content distribution rule that the content controller generates according to the context identifier.
Second with reference to the possible implementation of the first of first aspect or first aspect or first aspect is possible Implementation, it is described according to content distribution rule in the third possible implementation, from content distribution rule Comprising content storage object in obtain the content that the context identifier identified, including:
When the content that the context identifier is identified is deposited in object positioned at a content, according to the content distribution Rule, obtain the identification code for the content storage object that the content distribution rule includes;
According to the context identifier, obtained in the content storage object identified from the identification code of content storage object The content for taking the context identifier to be identified;
Wherein, content storage object for it is following any one:Content server, the user equipment belonging network section Point, a network node in addition to the user equipment belonging network node.
Second with reference to the possible implementation of the first of first aspect or first aspect or first aspect is possible Implementation, it is described according to content distribution rule in the 4th kind of possible implementation, from content distribution rule Comprising content storage object in obtain the content that the context identifier identified, including:
When the content that the context identifier is identified is located at least two contents storage object, according to the content Distribution rules, obtain the identification code for each content storage object that the content distribution rule includes;
The identification code of object is deposited according to the context identifier, each content fragment identification code and each content, respectively Each content fragment identification is obtained in the content storage object identified from the identification code of each content storage object The content fragment that code is identified;
Wherein, the content includes at least two content fragments, and each content fragment has content fragment identification code;
Wherein, the content storage object is network node.
Second aspect, the embodiment provides a kind of device for obtaining content, including:
Receiving unit, the content acquisition request sent for receiving the user equipment that network node is serviced, the request Including the context identifier for the content asked;
First acquisition unit, for according to the context identifier, obtaining the content corresponding with the context identifier Distribution rules;
Second acquisition unit, for according to content distribution rule, the content included from the content distribution rule to be deposited It is rivals in a contest as the middle content for obtaining the context identifier and being identified;
First transmitting element, for the content of acquisition to be sent into the user equipment.
In the first possible implementation, the first acquisition unit includes:
3rd acquiring unit, for according to the context identifier, from the user equipment belonging network node obtain with The corresponding content distribution rule of the context identifier.
In second of possible implementation, the first acquisition unit includes:
Second transmitting element, for the context identifier to be sent to content controller;
4th acquiring unit, advised for obtaining the content distribution that the content controller generates according to the context identifier Then.
Second with reference to the possible implementation of the first of second aspect or second aspect or second aspect is possible Implementation, in the third possible implementation, the second acquisition unit includes:
5th acquiring unit, the content for being identified when the context identifier are deposited in object positioned at a content When, according to content distribution rule, obtain the identification code that the content that the content distribution rule includes deposits object;
6th acquiring unit, for according to the context identifier, being identified from the identification code of content storage object Content storage object in obtain the content that the context identifier is identified;
Wherein, content storage object for it is following any one:Content server, the user equipment belonging network section Point, a network node in addition to the user equipment belonging network node.
Second with reference to the possible implementation of the first of second aspect or second aspect or second aspect is possible Implementation, in the 4th kind of possible implementation, the second acquisition unit includes:
7th acquiring unit, the content for being identified when the context identifier are located at least two contents storage object When middle, according to content distribution rule, the identification code that each content that the content distribution rule includes deposits object is obtained;
8th acquiring unit, for being deposited according to the context identifier, each content fragment identification code and each content The identification code of object, the content identified respectively from the identification code of each content storage object are deposited in object described in acquisition The content fragment that each content fragment identification code is identified;
Wherein, the content includes at least two content fragments, and each content fragment has content fragment identification code;
Wherein, the content storage object is network node.
Using a kind of technical scheme for the method and apparatus for obtaining content provided by the invention, by receiving network node institute The content acquisition request that the user equipment of service is sent, the context identifier included according to content acquisition request, obtain content point Hair rule, content that the context identifier is identified is obtained simultaneously in the content storage object included from the content distribution rule The user equipment of request is sent to, user equipment can be enable to obtain content clothes by merging the wireless access network of CDN functions The content of business device distribution.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of a scenario that user equipment of the present invention obtains content;
Fig. 2 is a kind of method flow diagram of the embodiment for the method for obtaining content of the present invention;
Fig. 3 is an a kind of specific implementation of the further refinement of the embodiment of the method for acquisition content of the present invention Method flow diagram;
Fig. 4 is a kind of another specific implementation side of the further refinement of the embodiment of the method for acquisition content of the present invention The method flow diagram of formula;
Fig. 5 is a kind of another specific implementation side of the further refinement of the embodiment of the method for acquisition content of the present invention The method flow diagram of formula;
Fig. 6 is a kind of structural representation of the embodiment for the device for obtaining content of the present invention;
Fig. 7 is an a kind of specific implementation of the further refinement of the embodiment of the device of acquisition content of the present invention Structural representation;
Fig. 8 is a kind of another specific implementation side of the further refinement of the embodiment of the device of acquisition content of the present invention The structural representation of formula;
Fig. 9 is a kind of another specific implementation side of the further refinement of the embodiment of the device of acquisition content of the present invention The structural representation of formula.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Fig. 1 is the schematic diagram of a scenario that user equipment of the present invention obtains content.As shown in figure 1, content server 101 is by content Each network node 104 of wireless access network 103 is distributed to, by the content-control for being arranged on wireless access network 103 or core net The distribution of the control content of device 102.The user equipment 105 of the present invention can get asked content by network node 104.
Fig. 2 is a kind of method flow diagram of the embodiment for the method for obtaining content of the present invention.As shown in Fig. 2 this method bag Include:
Step S101, receives the content acquisition request that the user equipment that network node is serviced is sent, and the request includes The context identifier for the content asked.
In this step, content requests are initiated in such as base station of the network node belonging to user equipment to its, and the content requests are taken Band context identifier, the context identifier are used to identify asked content., can be with when content includes multiple content fragments Carry the content fragment identification code of each content fragment.
Network node receives the content acquisition request that its user equipment serviced is sent.
Step S102, according to the context identifier, obtain the content distribution rule corresponding with the context identifier.
In the present embodiment, content distribution to each network node, different contents are present in difference by content server Network node.After network node receives the content acquisition request of user equipment, content is obtained, first to obtain content distribution rule Then, content distribution rule generates for corresponding content identification code or content fragment identification code, including the object of content storage and From the instruction of the object acquisition content of content storage.Specifically, according to context identifier, obtain corresponding with context identifier Content distribution rule;When content includes multiple content fragments, then according to context identifier and content fragment identification code, obtain with Context identifier and each burst identification code it is corresponding content distribution rule.
Step S103, according to content distribution rule, in the content storage object included from the content distribution rule Obtain the content that the context identifier is identified.
In this step, after network node obtains content distribution rule, according to the instruction of content distribution rule, from content point The content that context identifier is identified is obtained in the content storage object that hair rule includes.Content storage object is probably user Network node belonging to equipment, it is also possible to content server, it is also possible to other network nodes.
Step S104, the content of acquisition is sent to the user equipment.
After network node obtains the content that context identifier is identified, the content of acquisition is sent to user equipment.
A kind of method of the acquisition content provided according to embodiments of the present invention, the user serviced by receiving network node The content acquisition request that equipment is sent, the context identifier included according to content acquisition request, content distribution rule is obtained, from institute State and obtain the content that the context identifier is identified in the content storage object that content distribution rule includes and be sent to request User equipment, can enable user equipment by merge CDN functions wireless access network obtain content server distribute Content.
Content distribution scene is as follows corresponding to the present invention:
Scene 1:User equipment belonging network node stores asked content.
Scene 2:All network nodes do not store to the content asked, the network node of served user equipment Asked content is obtained from content server.
Scene 3:User equipment belonging network node does not store to the content asked, and other network nodes are to asking The content asked is stored.
The method that content is obtained under above content distribution scene is described by concrete implementation mode separately below.
Fig. 3 is an a kind of specific implementation of the further refinement of the embodiment of the method for acquisition content of the present invention Method flow diagram.As shown in figure 3, this method includes:
Step S201, receives the content acquisition request that the user equipment that network node is serviced is sent, and the request includes The context identifier for the content asked.
Step S202, according to the context identifier, obtained and the content from the user equipment belonging network node The corresponding content distribution rule of identification code.
Step S203, when the content that the context identifier is identified is located in user equipment belonging network node, root It is regular according to the content distribution, obtain the identification code for the user equipment belonging network node that the content distribution rule includes.
Step S204, according to the context identifier, identified from the identification code of the user equipment belonging network node User equipment belonging network node in obtain the content that the context identifier is identified.
Step S205, the content of acquisition is sent to the user equipment.
It is the method for the acquisition content of above-mentioned scene 1 corresponding to this implementation, and content controller is being controlled content When being stored in the user equipment belonging network node, content distribution rule the network node is stored in also, the content point The message format of hair rule is as shown in table 1 below, and the head (Header Fields) of content distribution rule contains content recognition Code (Content ID) and base station identity code (eNodeB ID), can also include storage address (Cache ID) and content fragment Identification code (Fragment ID), its regular (Actions) partly contain the instruction for obtaining content.Due to content distribution rule The network node is stored in, so, can be according to context identifier, from user equipment belonging network node in step S202 Obtain the content distribution rule corresponding with the context identifier.
Step S201 and S205 are same or like with the step S101 and S104 of above-described embodiment respectively, no longer superfluous herein State.
Step S203 and S204 are the further refinements to the step S103 of above-described embodiment.According to the content got point Hair rule, the identification code such as eNodeB ID for the network node that the content included in the message of content distribution rule is deposited are obtained, Obtained according to the context identifier Content ID for the content asked in the network node that the identification code of network node is identified Take the content corresponding with context identifier;Due to a content, therefore, network node may be deposited in the network node incessantly The relation table of middle storage network node identification code, context identifier and storage address Cache ID, from network node with content Asked content is obtained in storage address corresponding to identification code;If the content asked includes multiple content fragments, each Content fragment has content fragment identification code Fragement ID, and network node identification code, content recognition are stored in network node The relation table of code, content fragment identification code and storage address, according to each content fragment identification code from corresponding storage address Obtain each content fragment asked.
The message format example of the content distribution of table 1 rule
Fig. 4 is a kind of another specific implementation side of the further refinement of the embodiment of the method for acquisition content of the present invention The method flow diagram of formula.As shown in figure 4, this method includes:
Step S301, receives the content acquisition request that the user equipment that network node is serviced is sent, and the request includes The context identifier for the content asked.
Step S302, the context identifier is sent to content controller.
Step S303, obtain the content distribution rule that the content controller generates according to the context identifier.
Step S304, when the content that the context identifier is identified is deposited in object positioned at a content, according to institute Content distribution rule is stated, obtains the identification code for the content storage object that the content distribution rule includes.
Step S305, according to the context identifier, the content identified from the identification code of content storage object is deposited It is rivals in a contest as the middle content for obtaining the context identifier and being identified.
Step S306, the content of acquisition is sent to the user equipment.
It is that the content asked in above-mentioned scene 1, scene 2 and scene 3 is present in one corresponding to this specific implementation The method of the acquisition content in network node in addition to user equipment belonging network node.Wherein, step S301 and S306 difference It is same or like with the step S101 and S104 of above-described embodiment, it will not be repeated here.
Wherein, step S302 and S303 is the further refinement to the step S102 of above-described embodiment, in being asked Hold the content storage for being stored in that user equipment belonging network node but the network node do not have storage content distribution rules, asked In content server or other network nodes, the context identifier for the content asked is sent to content controller, from content Controller obtains the content distribution rule that content controller generates according to the context identifier, the message lattice of content distribution rule Formula is similar with upper table 1, will not be repeated here.
Wherein, step S304 and S305 is the further refinement to the step S103 of above-described embodiment, according in acquisition Hold distribution rules, the identification code for the content storage object that content distribution rule includes is obtained, from the identification code of content storage object The content that context identifier is identified is obtained in the content storage object identified, content storage object is probably user equipment Belonging network node, it is also possible to content server, it is also possible to other network nodes.When content is deposited in described in user equipment During network node, step S304 and S305 is similar respectively with the step S203 and S204 of previous embodiment, will not be repeated here;When When content is deposited in content server or a network node for removing user equipment belonging network node, according to context identifier Or context identifier and content fragment identification code, obtain from content server or the network node and perhaps asked in being asked Each burst.
Fig. 5 is a kind of another specific implementation side of the further refinement of the embodiment of the method for acquisition content of the present invention The method flow diagram of formula.As shown in figure 5, this method includes:
Step S401, receives the content acquisition request that the user equipment that network node is serviced is sent, and the request includes The context identifier for the content asked.
Step S402, the context identifier is sent to content controller.
Step S403, obtain the content distribution rule that the content controller generates according to the context identifier.
Step S404, when the content that the context identifier is identified is located at least two contents storage object, root According to content distribution rule, the identification code that each content that the content distribution rule includes deposits object is obtained.
Step S405, the knowledge of object is deposited according to the context identifier, each content fragment identification code and each content Other code, the content identified respectively from the identification code of each content storage object, which is deposited in object, obtains each content The content fragment that burst identification code is identified.
Step S406, the content of acquisition is sent to the user equipment.
The multiple content fragments asked in the corresponding above-mentioned scene 3 of this implementation are stored in the storage pair of at least two contents Situation as in.This implementation it is different from above-mentioned implementation be step S404 and S405, from the content point of acquisition In hair rule, the identification code of content storage object where obtaining the content fragment that each content fragment identification code is identified, every In the content storage object that the identification code of individual content storage object is identified, if there is no storage address, then known according to content The corresponding relation of other code, content fragment identification code and the identification code of content storage object, obtains each content fragment identification code institute The content fragment of mark;If there is storage address, then according to pair of context identifier, content fragment identification code and storage address It should be related to, obtain the content fragment that each content fragment identification code is identified, at this time, it is also possible in a content deposits object At least two content fragments are obtained respectively from different storage address.
Fig. 6 is a kind of structural representation of the embodiment for the device for obtaining content of the present invention.As shown in fig. 6, the device bag Include:
Receiving unit 201, the content acquisition request sent for receiving the user equipment that network node is serviced are described to ask Seek the context identifier of the content including being asked.
Content requests are initiated in network node such as base station belonging to user equipment to its, and the content requests carry content recognition Code, the context identifier are used to identify asked content.When content includes multiple content fragments, can also carry in each Hold the content fragment identification code of burst.
Receiving unit 201 receives the content acquisition request that its user equipment serviced is sent.
First acquisition unit 202, it is corresponding with the context identifier interior for according to the context identifier, obtaining Hold distribution rules.
In the present embodiment, content distribution to each network node, different contents are present in difference by content server Network node.After network node receives the content acquisition request of user equipment, content is obtained, first to obtain content distribution rule Then, content distribution rule generates for corresponding content identification code or content fragment identification code, including the object of content storage and From the instruction of the object acquisition content of content storage.Specifically, first acquisition unit 202 is according to context identifier, obtain with it is interior Hold the corresponding content distribution rule of identification code;When content includes multiple content fragments, then according to context identifier and content Burst identification code, obtain the content distribution rule corresponding with context identifier and each burst identification code.
Second acquisition unit 203, for regular, the content included from the content distribution rule according to the content distribution The content that the context identifier is identified is obtained in storage object.
After first acquisition unit 202 obtains content distribution rule, second acquisition unit 203 is according to the regular finger of content distribution Show, the content that context identifier is identified is obtained in the content storage object included from content distribution rule.Content storage pair Network node as belonging to being probably user equipment, it is also possible to content server, it is also possible to other network nodes.
First transmitting element 204, for the content of acquisition to be sent into the user equipment.
After second acquisition unit 203 obtains the content that context identifier is identified, the first transmitting element 204 is by acquisition Appearance is sent to user equipment.
A kind of device of the acquisition content provided according to embodiments of the present invention, the user serviced by receiving network node The content acquisition request that equipment is sent, the context identifier included according to content acquisition request, content distribution rule is obtained, from institute State and obtain the content that the context identifier is identified in the content storage object that content distribution rule includes and be sent to request User equipment, can enable user equipment by merge CDN functions wireless access network obtain content server distribute Content.
Fig. 7 is an a kind of specific implementation of the further refinement of the embodiment of the device of acquisition content of the present invention Structural representation.As shown in fig. 7, the device includes:
Receiving unit 201, the content acquisition request sent for receiving the user equipment that network node is serviced are described to ask Seek the context identifier of the content including being asked.
First acquisition unit 202, it is corresponding with the context identifier interior for according to the context identifier, obtaining Hold distribution rules.In this implementation, first acquisition unit 202 includes:3rd acquiring unit 301.
3rd acquiring unit 301, for according to the context identifier, being obtained from the user equipment belonging network node The content distribution rule corresponding with the context identifier.
Second acquisition unit 203, for regular, the content included from the content distribution rule according to the content distribution The content that the context identifier is identified is obtained in storage object.In this implementation, second acquisition unit 203 includes: 5th acquiring unit 302 and the 6th acquiring unit 303.
5th acquiring unit 302, the content for being identified when the context identifier are located at user equipment belonging network When in node, according to content distribution rule, the user equipment belonging network node that the content distribution rule includes is obtained Identification code.
6th acquiring unit 303, for according to the context identifier, from the knowledge of the user equipment belonging network node The content that the context identifier is identified is obtained in the user equipment belonging network node that other code is identified.
First transmitting element 204, for the content of acquisition to be sent into the user equipment.
It is the device of the acquisition content of above-mentioned scene 1 corresponding to this implementation, and content controller is being controlled content When being stored in the user equipment belonging network node, content distribution rule the network node is stored in also, the content point The message format of hair rule is as shown in table 1, and the head (Header Fields) of content distribution rule contains context identifier (Content ID) and base station identity code (eNodeB ID), can also include storage address (Cache ID) and content fragment is known Other code (Fragment ID), its regular (Actions) partly contain the instruction for obtaining content.Because content distribution rule is deposited Store up in the network node, so, in step S202, it can be obtained according to context identifier from user equipment belonging network node Take the content distribution rule corresponding with the context identifier.
The 3rd acquiring unit 301 in this implementation is to enter one to the first acquisition unit 202 in above-described embodiment Step refines, and the 5th acquiring unit 302 and the 6th acquiring unit 303 in this implementation are that second in above-described embodiment is obtained Take the further refinement of unit 203.5th acquiring unit 302 obtains content distribution rule according to the content distribution rule got The identification code for the network node that the content included in message then is deposited such as eNodeB ID, the 6th acquiring unit 303 is according to institute The context identifier Content ID of the content of request obtained in the network node that the identification code of network node is identified with it is interior Hold the corresponding content of identification code;Due to a content may be deposited in the network node incessantly, therefore, stored in network node The relation table of network node identification code, context identifier and storage address Cache ID, from network node with context identifier Asked content is obtained in corresponding storage address;If the content asked includes multiple content fragments, each content point Piece has content fragment identification code Fragement ID, and network node identification code, context identifier, content are stored in network node The relation table of burst identification code and storage address, obtained and asked from corresponding storage address according to each content fragment identification code The each content fragment asked.
Fig. 8 is a kind of another specific implementation side of the further refinement of the embodiment of the device of acquisition content of the present invention The structural representation of formula.As shown in figure 8, the device includes:
Receiving unit 201, the content acquisition request sent for receiving the user equipment that network node is serviced are described to ask Seek the context identifier of the content including being asked.
First acquisition unit 202, it is corresponding with the context identifier interior for according to the context identifier, obtaining Hold distribution rules.In this implementation, first acquisition unit 202 includes:Second transmitting element 304 and the 4th acquiring unit 305。
Second transmitting element 304, for the context identifier to be sent to content controller.
4th acquiring unit 305, the content point generated for obtaining the content controller according to the context identifier Hair rule.
Second acquisition unit 203, for regular, the content included from the content distribution rule according to the content distribution The content that the context identifier is identified is obtained in storage object.In this implementation, second acquisition unit 203 includes: 5th acquiring unit 302 ' and the 6th acquiring unit 303 '.
5th acquiring unit 302 ', the content for being identified when the context identifier deposit object positioned at a content When middle, according to content distribution rule, the identification code that the content that the content distribution rule includes deposits object is obtained.
6th acquiring unit 303 ', for according to the context identifier, from the identification code institute of content storage object The content that the context identifier is identified is obtained in the content storage object of mark.
First transmitting element 204, for the content of acquisition to be sent into the user equipment.
It is that the content asked in above-mentioned scene 1, scene 2 and scene 3 is present in one corresponding to this specific implementation The device of the acquisition content in network node in addition to user equipment belonging network node.
Wherein, the second transmitting element 304 in this implementation and the 4th acquiring unit 305 are to above-described embodiment One acquiring unit 202 further refines.When the content asked is stored in user equipment belonging network node but the network node The content for do not have storage content distribution rules, being asked is stored in content server or other network nodes, in being asked The context identifier of appearance is sent to content controller, and obtain content controller from content controller generates according to the context identifier Content distribution rule, the content distribution rule message format it is similar with upper table 1, will not be repeated here.
Wherein, the 5th acquiring unit 302 ' in this implementation and the 6th acquiring unit 303 ' are in above-described embodiment Second acquisition unit 203 further refinement, the 5th acquiring unit 302 ' obtains content according to the content distribution of acquisition rule The identification code for the content storage object that distribution rules include, the content identified from the identification code of content storage object deposit object The middle content for obtaining context identifier and being identified, content storage object is probably user equipment belonging network node, it is also possible to It is content server, it is also possible to other network nodes.When network node described in content deposits in user equipment, the 5th obtains Unit 302 ' and the 6th acquiring unit 303 ' are distinguished with the 5th acquiring unit 302 of previous embodiment and the 6th acquiring unit 303 It is similar, it will not be repeated here;When content deposits in content server or a network section for removing user equipment belonging network node When in point, the 6th acquiring unit 303 ' is according to context identifier or context identifier and content fragment identification code, from content service Device or the network node obtain the interior each burst perhaps asked asked.
Fig. 9 is a kind of another specific implementation side of the further refinement of the embodiment of the device of acquisition content of the present invention The structural representation of formula.As shown in figure 9, the device includes:
Receiving unit 201, the content acquisition request sent for receiving the user equipment that network node is serviced are described to ask Seek the context identifier of the content including being asked.
First acquisition unit 202, it is corresponding with the context identifier interior for according to the context identifier, obtaining Hold distribution rules.In this implementation, first acquisition unit 202 includes:Second transmitting element 304 ' and the 4th acquiring unit 305’。
Second transmitting element 304 ', for the context identifier to be sent to content controller.
4th acquiring unit 305 ', the content point generated for obtaining the content controller according to the context identifier Hair rule.
Second acquisition unit 203, for regular, the content included from the content distribution rule according to the content distribution The content that the context identifier is identified is obtained in storage object.In this implementation, second acquisition unit 203 includes: 7th acquiring unit 306 and the 8th acquiring unit 307.Wherein:
7th acquiring unit 306, the content for being identified when the context identifier are located at the storage of at least two contents When in object, according to content distribution rule, the knowledge for each content storage object that the content distribution rule includes is obtained Other code.
8th acquiring unit 307, for being deposited according to the context identifier, each content fragment identification code and each content It is rivals in a contest the identification code of elephant, institute is obtained in the content storage object identified respectively from the identification code of each content storage object State the content fragment that each content fragment identification code is identified.
First transmitting element 204, for the content of acquisition to be sent into the user equipment.
The multiple content fragments asked in the corresponding above-mentioned scene 3 of this implementation are stored in the storage pair of at least two contents Situation as in.This implementation it is different from above-mentioned implementation be second acquisition unit 203, it includes:7th obtains Take the acquiring unit 307 of unit 306 and the 8th.7th acquiring unit 306 obtains each content from the content distribution rule of acquisition The identification code of content storage object where the content fragment that burst identification code is identified, in the identification code of each content storage object In the content storage object identified, if there is no storage address, then the 8th acquiring unit 307 is according to context identifier, interior Hold the corresponding relation of the identification code of burst identification code and content storage object, obtain each content fragment identification code identified it is interior Hold burst;If there is storage address, then the 8th acquiring unit 307 is according to context identifier, content fragment identification code and storage The corresponding relation of address, the content fragment that each content fragment identification code is identified is obtained, at this time, it is also possible to be deposited in a content It is rivals in a contest and obtains at least two content fragments respectively from different storage address as in.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium can for example include:Read-only storage, random access memory, disk or CD etc..
The method, apparatus and network of a kind of acquisition network node adjacent relation provided above the embodiment of the present invention are set Standby to be described in detail, specific case used herein is set forth to the principle and embodiment of the present invention, the above The explanation of embodiment is only intended to help the method and its core concept for understanding the present invention;Meanwhile for the general skill of this area Art personnel, according to the thought of the present invention, the there will be changes on specific embodiment and application, to sum up, this specification Content should not be construed as limiting the invention.

Claims (8)

  1. A kind of 1. method for obtaining content, it is characterised in that including:
    The content acquisition request that the user equipment that network node is serviced is sent is received, the request includes asked content Context identifier;
    According to the context identifier, the content distribution rule corresponding with the context identifier, the content distribution are obtained Rule includes the instruction of the object of content storage and the object acquisition content from content storage;
    The content is obtained according to content distribution rule, in the content storage object included from the content distribution rule to know The content that other code is identified;
    The content of acquisition is sent to the user equipment;
    It is described that it is regular to obtain the content distribution corresponding with the context identifier according to the context identifier, including:
    The context identifier is sent to content controller;
    Obtain the content distribution rule that the content controller generates according to the context identifier;
    Wherein, the head of the content distribution rule includes context identifier and base station identity code.
  2. 2. the method as described in claim 1, it is characterised in that it is described according to the context identifier, obtain and the content The corresponding content distribution rule of identification code, including:
    If the user equipment belonging network node stores the content distribution rule corresponding with the context identifier, according to The context identifier, the content distribution corresponding with the context identifier is obtained from the user equipment belonging network node Rule.
  3. 3. the method as described in claim 1-2 any one, it is characterised in that it is described regular according to the content distribution, from The content that the context identifier is identified is obtained in the content storage object that the content distribution rule includes, including:
    When the content that the context identifier is identified is deposited in object positioned at a content, advised according to the content distribution Then, the identification code for the content storage object that the content distribution rule includes is obtained;
    According to the context identifier, institute is obtained in the content storage object identified from the identification code of content storage object State the content that context identifier is identified;
    Wherein, content storage object for it is following any one:Content server, the user equipment belonging network node, A network node in addition to the user equipment belonging network node.
  4. 4. the method as described in claim 1-2 any one, it is characterised in that it is described regular according to the content distribution, from The content that the context identifier is identified is obtained in the content storage object that the content distribution rule includes, including:
    When the content that the context identifier is identified is located at least two contents storage object, according to the content distribution Rule, obtain the identification code for each content storage object that the content distribution rule includes;
    The identification code of object is deposited according to the context identifier, each content fragment identification code and each content, respectively from every Each content fragment identification code institute is obtained in the content storage object that the identification code of the individual content storage object is identified The content fragment of mark;
    Wherein, the content includes at least two content fragments, and each content fragment has content fragment identification code;
    Wherein, the content storage object is network node.
  5. A kind of 5. device for obtaining content, it is characterised in that including:
    Receiving unit, the content acquisition request sent for receiving the user equipment that network node is serviced, the request include The context identifier for the content asked;
    First acquisition unit, for according to the context identifier, obtaining the content distribution corresponding with the context identifier Rule, the content distribution rule include the instruction of the object of content storage and the object acquisition content from content storage;
    Second acquisition unit, for according to content distribution rule, the content storage pair included from the content distribution rule As the middle content for obtaining the context identifier and being identified;
    First transmitting element, for the content of acquisition to be sent into the user equipment;
    The first acquisition unit includes:
    Second transmitting element, for the context identifier to be sent to content controller;
    4th acquiring unit, the content distribution rule generated for obtaining the content controller according to the context identifier;
    Wherein, the head of the content distribution rule includes context identifier and base station identity code.
  6. 6. device as claimed in claim 5, it is characterised in that the first acquisition unit includes:
    3rd acquiring unit, if being stored for the user equipment belonging network node corresponding with the context identifier Content distribution rule, according to the context identifier, obtained and the content recognition from the user equipment belonging network node Content distribution rule corresponding to code-phase.
  7. 7. the device as described in claim 5-6 any one, it is characterised in that the second acquisition unit includes:
    5th acquiring unit, when the content for being identified when the context identifier is located in a content storage object, root According to content distribution rule, the identification code that the content that the content distribution rule includes deposits object is obtained;
    6th acquiring unit, for according to the context identifier, identified from the identification code of content storage object in Hold in storage object and obtain the content that the context identifier is identified;
    Wherein, content storage object for it is following any one:Content server, the user equipment belonging network node, A network node in addition to the user equipment belonging network node.
  8. 8. the device as described in claim 5-6 any one, it is characterised in that the second acquisition unit includes:
    7th acquiring unit, the content for being identified when the context identifier are located at least two contents storage object When, according to content distribution rule, obtain the identification code that each content that the content distribution rule includes deposits object;
    8th acquiring unit, for depositing object according to the context identifier, each content fragment identification code and each content Identification code, obtain in the content storage object identified respectively from the identification code of each content storage object described each The content fragment that content fragment identification code is identified;
    Wherein, the content includes at least two content fragments, and each content fragment has content fragment identification code;
    Wherein, the content storage object is network node.
CN201310043365.8A 2013-02-04 2013-02-04 A kind of method and apparatus for obtaining content Expired - Fee Related CN103973747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310043365.8A CN103973747B (en) 2013-02-04 2013-02-04 A kind of method and apparatus for obtaining content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310043365.8A CN103973747B (en) 2013-02-04 2013-02-04 A kind of method and apparatus for obtaining content

Publications (2)

Publication Number Publication Date
CN103973747A CN103973747A (en) 2014-08-06
CN103973747B true CN103973747B (en) 2017-11-17

Family

ID=51242789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310043365.8A Expired - Fee Related CN103973747B (en) 2013-02-04 2013-02-04 A kind of method and apparatus for obtaining content

Country Status (1)

Country Link
CN (1) CN103973747B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245598B (en) * 2015-10-14 2018-07-13 中国联合网络通信集团有限公司 A kind of method and device of content storage
WO2018112804A1 (en) * 2016-12-21 2018-06-28 Zte Corporation Handling a content user request in a content delivery network
CN109873855B (en) * 2018-04-13 2022-01-25 贵州白山云科技股份有限公司 Resource acquisition method and system based on block chain network
CN113762673A (en) * 2020-10-20 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for determining number of objects and storage medium
CN112561465A (en) * 2020-12-01 2021-03-26 中广核工程有限公司 Service content distribution method and device, computer equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118376A (en) * 2010-01-06 2011-07-06 中兴通讯股份有限公司 CDN server and content download method
CN102118323A (en) * 2010-01-04 2011-07-06 中兴通讯股份有限公司 Content delivery network server and content downloading method
WO2011137850A1 (en) * 2010-11-23 2011-11-10 华为技术有限公司 Method and device for content obtaining and delivery
CN102377748A (en) * 2010-08-16 2012-03-14 中兴通讯股份有限公司 Content delivery network and content delivery method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118323A (en) * 2010-01-04 2011-07-06 中兴通讯股份有限公司 Content delivery network server and content downloading method
CN102118376A (en) * 2010-01-06 2011-07-06 中兴通讯股份有限公司 CDN server and content download method
CN102377748A (en) * 2010-08-16 2012-03-14 中兴通讯股份有限公司 Content delivery network and content delivery method
WO2011137850A1 (en) * 2010-11-23 2011-11-10 华为技术有限公司 Method and device for content obtaining and delivery

Also Published As

Publication number Publication date
CN103973747A (en) 2014-08-06

Similar Documents

Publication Publication Date Title
CN103973747B (en) A kind of method and apparatus for obtaining content
CN106031116B (en) A kind of correlating method, the apparatus and system of NS and VNF
CN107347205B (en) A kind of network slice selection method, apparatus and system
CN108810903A (en) A kind of configuration of data transmission and data transmission method and device
CN105282003B (en) Establish the method and system and tunnel control device and virtual switch in tunnel
CN103929368B (en) Load balance method and device for multiple service units
CN105744579B (en) Method, switching control and the access device that terminal switches between AP
CN104320502B (en) Terminating gateway IP address distribution method, the method for data transfer, MME and system
CN109391502A (en) A kind of information configuring methods and administrative unit
CN103338252A (en) Distributed database concurrence storage virtual request mechanism
CN108259218A (en) A kind of IP address distribution method and device
CN108418766A (en) Band width control method, device and system
CN109561054A (en) A kind of data transmission method, controller and access device
CN108964964A (en) A kind of network topology display methods and device
CN105656978B (en) A kind of resource share method and device
CN107820246A (en) The methods, devices and systems of user authentication
CN107547675A (en) A kind of user equipment migration method and apparatus
CN104582011B (en) A kind of method and apparatus for mobile terminal to be connected to network
CN105657009B (en) Object gateway SiteServer LBS, method and trans-regional object gateway storage system
CN107689923A (en) Message processing method and router
CN103560974B (en) Method and device for maintaining tokens
CN106126723A (en) A kind of method and device of mobile destination object
CN105100151B (en) A kind of method, apparatus and system of content distribution
CN105814958B (en) Channel method and access point apparatus
CN106059882A (en) Route insertion 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171207

Address after: 225327 Mingzhu Avenue, Yongan Town, Taizhou City, Jiangsu Province, No. 108

Patentee after: Wei Liqiang

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

Patentee before: Huawei Technologies Co., Ltd.

CB03 Change of inventor or designer information

Inventor after: Xie Junjie

Inventor after: Li Dan

Inventor before: Chen Xueliang

Inventor before: Li Dan

CB03 Change of inventor or designer information
TR01 Transfer of patent right

Effective date of registration: 20171220

Address after: 061300 Cangzhou city Yanshan town Xie village of Hebei County of Yanshan province No. 46

Patentee after: Xie Junjie

Address before: 225327 Mingzhu Avenue, Yongan Town, Taizhou City, Jiangsu Province, No. 108

Patentee before: Wei Liqiang

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171117

Termination date: 20190204