CN105472402A - P2P-based video streaming media resource obtaining method and equipment - Google Patents
P2P-based video streaming media resource obtaining method and equipment Download PDFInfo
- Publication number
- CN105472402A CN105472402A CN201510807784.3A CN201510807784A CN105472402A CN 105472402 A CN105472402 A CN 105472402A CN 201510807784 A CN201510807784 A CN 201510807784A CN 105472402 A CN105472402 A CN 105472402A
- Authority
- CN
- China
- Prior art keywords
- video stream
- stream media
- resource
- media resource
- territory
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000004891 communication Methods 0.000 claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 15
- 230000005540 biological transmission Effects 0.000 claims description 18
- 238000012544 monitoring process Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 description 14
- 238000005206 flow analysis Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000007596 consolidation process Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000004807 localization Effects 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 241000931705 Cicada Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23103—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion using load balancing strategies, e.g. by placing or distributing content on different disks, different memories or different servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23106—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64723—Monitoring of network processes or resources, e.g. monitoring of network load
- H04N21/64738—Monitoring network characteristics, e.g. bandwidth, congestion level
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a P2P-based video streaming media resource obtaining method and equipment. The method comprises: a resource positioning request that is sent by a user and includes a video streaming media resource that the user needs to obtain is obtained; and when existence of the video streaming media resource in a cache node in a domain is determined, the user is indicated to establish communication connection with the cache node in the domain, so that the user can obtain the video streaming media resource from the cache node in the domain, wherein the cache node in the domain is used for representing a network node belonging to the same domain as a network node where the user is located based on the P2P network. On the basis of the idea of local resource processing, whether the video streaming media resource exits in the cache node in the domain is determined; if so, an objective of obtaining the video streaming media resource in the domain is achieved, so that the capacity expanding pressure on the exit bandwidth of the operator is effectively reduced. Meanwhile, the user can obtain the nearest video streaming media resource in the domain, thereby effectively guaranteeing the network quality and improving the user experience synchronously.
Description
Technical field
The present invention relates to wireless communication technology field, particularly relate to a kind of acquisition methods and equipment of the video stream media business based on P2P.
Background technology
Point-to-point (peer-to-peer, be called for short P2P) network is otherwise known as peer-to-peer network, and in P2P network, each node both as client, as server, that is can only have the node of the ad eundem of equality again in P2P network.Because P2P network does not need specific server to realize network support, also do not need other application component to improve network performance, therefore, the application of some large discharge such as Internet video, online game etc. based on P2P network produce thereupon.But in P2P network, the essence of P2P technology is that internet, applications service provider allows different user to participate in resource sharing, and resource sharing cost is imputed to operator and user, has broken the original business model based on user's statistic multiplexing of operator.
Such as: when user needs the resource obtaining or share other users in P2P network, the resource of other users can directly be obtained or share easily by P2P network to realize sharing of resource; Again such as: when user needs to obtain Internet resources by the webserver, user can initiate resource request to the webserver, Internet resources are downloaded to local data base by request, and the webserver receives the resource request of user, and allows user to carry out the download of Internet resources.When other users in P2P network also need to obtain identical Internet resources, the webserver can, simultaneously for these users provide service, be about to download to the network resources locating of other users to the user needed at present, to realize sharing of Internet resources.
But in P2P network, increasing user obtains the Internet resources in the webserver by the mode shared or download, cause the bandwidth of the webserver of the CU in P2P network increasing.According to statistics, in the flow distribution of general networking operator, P2P flow (mainly comprising: P2P resource-sharing and the application of P2P video stream media) has accounted for 40% ~ 50% of whole internet traffic, but this ratio is increase trend, research finds, the consumption of large discharge business to Internet resources exceedes networking speed, and then network quality is declined, synchronous impact Consumer's Experience.
Summary of the invention
In view of this, embodiments providing a kind of acquisition methods and equipment of the video stream media resource based on P2P, causing more greatly for solving P2P flow proportional in prior art the problem that network quality is not high.
Embodiments provide a kind of acquisition methods of the video stream media resource based on point-to-point P2P, comprising:
Obtain the Resource orientation request that user sends, wherein, in described Resource orientation request, comprise the video stream media resource that user needs to obtain;
According to the video stream media resource comprised in described Resource orientation request, judge whether there is described video stream media resource in cache node in territory, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place;
When determining to there is described video stream media resource in territory in cache node, indicating cache node in the network node at described user place and described territory to establish a communications link, making described user obtain described video stream media resource from cache node in described territory.
Alternatively, described method also comprises:
When determining there is not described video stream media resource in territory in cache node, establish a communications link with the overseas network node that there is described video stream media resource, and described video stream media resource is obtained from described overseas network node, the described video stream media resource got is sent to described user;
When obtaining described streaming media resource from described user, cache node in the territory network node at described user place being defined as described video stream media resource.
Alternatively, obtain the Resource orientation request that user sends, comprising:
The Resource orientation request of the transmission on monitoring data transmission link;
Analyze the type that the user comprised in described Resource orientation request needs the video stream media resource obtained;
When analyzing the Resource orientation request with the type matching set, obtain described Resource orientation request.
Alternatively, when determining to there is described video stream media resource in territory in cache node, indicating cache node in the network node at described user place and described territory to establish a communications link, comprising:
When the number of cache node is greater than 1 in the territory that there is described video stream media resource if determine, determine the load information of cache node in each territory;
According to the load information of cache node in each territory, cache node in the territory selecting load to be less than setting threshold, and indicate cache node in the network node at described user place and the described territory of selection to establish a communications link.
Alternatively, described method also comprises:
When getting the Resource orientation request that user sends, the video stream media resource required for the user comprised in described Resource orientation request and the resource keyword of setting, judge the legitimacy of described video stream media resource;
When judged result is legal, performing the video stream media resource according to comprising in described Resource orientation request, judging the operation that whether there is described video stream media resource in territory in cache node.
Embodiments provide a kind of acquisition equipment of the video stream media resource based on point-to-point P2P, comprising:
Acquiring unit, for obtaining the Resource orientation request that user sends, wherein, comprises the video stream media resource that user needs to obtain in described Resource orientation request;
Judging unit, for according to the video stream media resource comprised in described Resource orientation request, judge whether there is described video stream media resource in cache node in territory, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place;
Processing unit, for when determining to there is described video stream media resource in territory in cache node, indicate cache node in the network node at described user place and described territory to establish a communications link, make described user obtain described video stream media resource from cache node in described territory.
Alternatively, described processing unit, also for when determining there is not described video stream media resource in territory in cache node, establish a communications link with the overseas network node that there is described video stream media resource, and described video stream media resource is obtained from described overseas network node, the described video stream media resource got is sent to described user;
When obtaining described video stream media resource from described user, cache node in the territory network node at described user place being defined as described video stream media resource.
Alternatively, described acquiring unit obtains the Resource orientation request that user sends, and comprising:
The Resource orientation request of the transmission on monitoring data transmission link;
Analyze the type that the user comprised in described Resource orientation request needs the video stream media resource obtained;
When analyzing the Resource orientation request with the type matching set, obtain described Resource orientation request.
Alternatively, described processing unit, when determining to there is described video stream media resource in territory in cache node, indicates cache node in the network node at described user place and described territory to establish a communications link, comprising:
When the number of cache node is greater than 1 in the territory that there is described video stream media resource if determine, determine the load information of cache node in each territory;
According to the load information of cache node in each territory, cache node in the territory selecting load to be less than setting threshold, and indicate cache node in the network node at described user place and the described territory of selection to establish a communications link.
Alternatively, described acquisition equipment also comprises: authentication unit, wherein:
Described authentication unit, for when getting the Resource orientation request that user sends, video stream media resource required for the user comprised in described Resource orientation request and the resource keyword of setting, judge the legitimacy of described video stream media resource;
When judged result is legal, performing the video stream media resource according to comprising in described Resource orientation request, judging the operation that whether there is described video stream media resource in territory in cache node.
Beneficial effect of the present invention is as follows:
Embodiments providing a kind of acquisition methods and equipment of the video stream media resource based on P2P, by obtaining the Resource orientation request that user sends, in described Resource orientation request, comprising the video stream media resource that user needs to obtain; According to the video stream media resource comprised in described Resource orientation request, judge whether there is described video stream media resource in cache node in territory, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place; When determining to there is described video stream media resource in territory in cache node, indicating cache node in described user and described territory to establish a communications link, making described user obtain described video stream media resource from cache node in described territory.Like this, based on the thinking of resource localization process, by judging whether there is described video stream media resource in cache node in territory, and then when there is described video stream media resource in cache node in territory, realize the object obtaining video stream media resource in territory, effectively alleviate the flash pressure of operator's outlet bandwidth, intra domain user obtains video stream media resource nearby simultaneously, the network quality of effective guarantee, Synchronous lifting Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the acquisition methods of a kind of video stream media resource based on P2P that Fig. 1 provides for the embodiment of the present invention;
The structural representation of the acquisition equipment of a kind of video stream media resource based on P2P that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the acquisition equipment of a kind of video stream media resource based on P2P that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the acquisition system of a kind of video stream media resource based on P2P that Fig. 4 provides for the embodiment of the present invention.
Embodiment
In order to realize object of the present invention, a kind of acquisition methods and equipment of the video stream media resource based on P2P is provided in the embodiment of the present invention, obtain the Resource orientation request that user sends, in described Resource orientation request, comprise the video stream media resource that user needs to obtain; According to the video stream media resource comprised in described Resource orientation request, judge whether there is described video stream media resource in cache node in territory, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place; When determining to there is described video stream media resource in territory in cache node, indicating cache node in described user and described territory to establish a communications link, making described user obtain described video stream media resource from cache node in described territory.Like this, based on the thinking of resource localization process, by judging whether there is described video stream media resource in cache node in territory, and then when there is described video stream media resource in cache node in territory, realize the object obtaining video stream media resource in territory, effectively alleviate the flash pressure of operator's outlet bandwidth, intra domain user obtains video stream media resource nearby simultaneously, the network quality of effective guarantee, Synchronous lifting Consumer's Experience.
It should be noted that, the embodiment of the present invention, in order to realize the object of improving network quality, proposes resource (can be called flow) localized thinking, the request of Resource orientation feelings is dredged as much as possible and serve to the local user territory of network edge.Specific implementation: one is propose cache way, namely disposes cache node at network edge, the P2P of user and HTTP request is redirected to cache node, realizes flow and terminate in as far as possible in local domain, save in territory and pass through flow to overseas; Two is propose optimized network sensor selection problem mode, namely realizes the preferential network practical topology of selection of network node, guide local network node preferentially interconnected, thus it is localized as much as possible to realize flow.
Below in conjunction with Figure of description, each embodiment of the present invention is described in further detail.Obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The schematic flow sheet of the acquisition methods of a kind of video stream media resource based on P2P that Fig. 1 provides for the embodiment of the present invention, described method is as described below.
Step 101: obtain the Resource orientation request that user sends.
Wherein, the video stream media resource that user needs to obtain is comprised in described Resource orientation request.
In a step 101, the Resource orientation request of the transmission on monitoring data transmission link; Analyze the type that the user comprised in described Resource orientation request needs the video stream media resource obtained; When analyzing the Resource orientation request with the type matching set, obtain described Resource orientation request.
Particularly, the flow on monitoring data transmission link, and identifying this flow, according to recognition result, judges the flow that can serve, namely with the Resource orientation request of the type matching of setting.
The type of setting here can be that the procotol supported according to Resource orientation request is determined, also can be determine according to P2P application type, not limit here.
In embodiments of the present invention, P2P application type can comprise BitTorrent, eDokey, Xunlei, PPlive, PPStream etc.; In the embodiment of the present application, the procotol supported can be support the agreement of Bypass Control, such as: http protocol, RSTP agreement, VOIP agreement etc., do not limit here.
Alternatively, in embodiments of the present invention, described method also comprises:
When getting the Resource orientation request that user sends, the video stream media resource required for the user comprised in described Resource orientation request and the resource keyword of setting, judge the legitimacy of described video stream media resource;
When judged result is legal, performing the video stream media resource according to comprising in described Resource orientation request, judging the operation that whether there is described video stream media resource in territory in cache node.
That is, for the Resource orientation request got in the embodiment of the present invention, the video stream media resource required for user judging further to comprise in this Resource orientation request is needed whether to belong to legal streaming media resource, in the embodiment of the present invention the judgment mode adopted can according to the resource keyword of setting, also can according to the black and white lists strategy of setting, other modes can also be taked, do not limit here.
It should be noted that, the resource keyword of the setting of institute's data in the embodiment of the present invention by obtaining historical data analysis, also can be determined, not limiting here according to actual needs.
Step 102: according to the video stream media resource comprised in described Resource orientation request, judges whether there is described video stream media resource in cache node in territory, if exist, then performs step 103; Otherwise, perform step 104.
Wherein, in described territory cache node for characterizing the network node belonging to same territory based on P2P network and described user.
In a step 102, because the P2P for Internet user downloads, Online Video is watched, VOD accesses, the internet access such as game on line, can with user's access habits and access times, automatically analyze by the mathematical model for learning of setting, buffer memory, and synchronous or asynchronous computing is carried out with cloud computing technology between each Internet information center, each Internet information center can be designed to cloud memory node simultaneously, dynamically hot information source (the video stream media resource that in IncFlds, network node has obtained) was converged in the network idle period, local network services is realized so that follow-up.
Therefore, when receiving Resource orientation request, according to the video stream media resource comprised in described Resource orientation request, can judge whether there is described video stream media resource in cache node in territory.
Step 103: when determining to there is described video stream media resource in territory in cache node, indicate cache node in the network node at described user place and described territory to establish a communications link, make described user obtain described video stream media resource from cache node in described territory.
In step 103, once determine to there is described video stream media resource in territory in cache node, cache node in the network node at described user place and described territory can be indicated to establish a communications link, make described user obtain required video stream media resource from cache node in described territory.
In embodiments of the present invention, when the number of cache node is greater than 1 in the territory that there is described video stream media resource if determine, the load information of cache node in each territory is determined;
According to the load information of cache node in each territory, cache node in the territory selecting load to be less than setting threshold, and indicate cache node in the network node at described user place and the described territory of selection to establish a communications link.
It should be noted that, select the foundation of cache node in territory to be select cache node in the territory of least-loaded to be described user service here, can network service quality be ensured like this.
In addition, when selecting cache node in territory, can start according to demand and call cache node in multiple territory, like this when the load of cache node in a territory reaches setting numerical value, in the territory that another load of synchronization request is relatively little, cache node is its service, under the prerequisite ensureing network service quality, improve the acquisition speed of video stream media resource.
Step 104: when determining there is not described video stream media resource in territory in cache node, establish a communications link with the overseas network node that there is described video stream media resource, and described video stream media resource is obtained from described overseas network node, the described video stream media resource got is sent to described user.
At step 104, when determining there is not described video stream media resource in territory in cache node, local agent can be indicated to establish a communications link with the overseas network node that there is described video stream media resource, and obtain described video stream media resource from described overseas network node.After there is video stream media resource like this in local agent, this video stream media resource is sent to described user.
Or, described user can be indicated to establish a communications link with the overseas network node that there is described video stream media resource, and obtain described video stream media resource from described overseas network node.
Alternatively, when obtaining described video stream media resource from described user, cache node in the territory network node at described user place being defined as described video stream media resource, and the mapping relations set up between this network node and this video stream media resource, there are other users to need to get from this network node during this video stream media resource so that follow-up.
As can be seen here, in the embodiment of the present invention, identical video stream media resource only to overseas request once, need can provide service by cache node in territory, greatly reduce cross-domain and pass through flow afterwards.
It should be noted that, can refer to that the user scope that a local area network (LAN) covers is referred to as a territory in territory described in the embodiment of the present invention, can also refer to and the user scope that dns server covers not limit here.
By the acquisition methods described in the embodiment of the present invention, obtain the Resource orientation request that user sends, in described Resource orientation request, comprise the video stream media resource that user needs to obtain; According to the video stream media resource comprised in described Resource orientation request, judge whether there is described video stream media resource in cache node in territory, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place; When determining to there is described video stream media resource in territory in cache node, indicating cache node in described user and described territory to establish a communications link, making described user obtain described video stream media resource from cache node in described territory.Like this, based on the thinking of resource localization process, by judging whether there is described video stream media resource in cache node in territory, and then when there is described video stream media resource in cache node in territory, realize the object obtaining video stream media resource in territory, effectively alleviate the flash pressure of operator's outlet bandwidth, intra domain user obtains video stream media resource nearby simultaneously, the network quality of effective guarantee, Synchronous lifting Consumer's Experience.
The structural representation of the acquisition equipment of a kind of video stream media resource based on point-to-point P2P that Fig. 2 provides for the embodiment of the present invention.Described acquisition equipment comprises: acquiring unit 21, judging unit 22 and processing unit 23, wherein:
Acquiring unit 21, for obtaining the Resource orientation request that user sends, wherein, comprises the video stream media resource that user needs to obtain in described Resource orientation request;
Judging unit 22, for according to the video stream media resource comprised in described Resource orientation request, judge whether there is described video stream media resource in cache node in territory, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place;
Processing unit 23, for when determining to there is described video stream media resource in territory in cache node, indicating cache node in described user and described territory to establish a communications link, making described user obtain described video stream media resource from cache node in described territory.
In another embodiment of the invention, described processing unit 23, also for when determining there is not described video stream media resource in territory in cache node, establish a communications link with the overseas network node that there is described video stream media resource, and described video stream media resource is obtained from described overseas network node, the described video stream media resource got is sent to described user;
When obtaining described video stream media resource from described user, cache node in the territory network node at described user place being defined as described video stream media resource.
In another embodiment of the invention, described acquiring unit 21 obtains the Resource orientation request that user sends, and comprising:
The Resource orientation request of the transmission on monitoring data transmission link;
Analyze the type that the user comprised in described Resource orientation request needs the video stream media resource obtained;
When analyzing the Resource orientation request with the type matching set, obtain described Resource orientation request.
In another embodiment of the invention, described processing unit 23, when determining to there is described video stream media resource in territory in cache node, indicates cache node in described user and described territory to establish a communications link, comprising:
When the number of cache node is greater than 1 in the territory that there is described video stream media resource if determine, determine the load information of cache node in each territory;
According to the load information of cache node in each territory, cache node in the territory selecting load to be less than setting threshold, and indicate cache node in the network node at described user place and the described territory of selection to establish a communications link.
In another embodiment of the invention, described acquisition equipment also comprises: authentication unit 24, wherein:
Described authentication unit 24, for when getting the Resource orientation request that user sends, video stream media resource required for the user comprised in described Resource orientation request and the resource keyword of setting, judge the legitimacy of described video stream media resource;
When judged result is legal, performing the video stream media resource according to comprising in described Resource orientation request, judging the operation that whether there is described video stream media resource in territory in cache node.
It should be noted that, the acquisition equipment that the embodiment of the present application provides can be realized by hardware mode, also can be realized by software mode, not limit here.
The acquisition equipment that the embodiment of the present invention provides is based on the thinking of resource localization process, by judging whether there is described video stream media resource in cache node in territory, and then when there is described video stream media resource in cache node in territory, realize the object obtaining video stream media resource in territory, effectively alleviate the flash pressure of operator's outlet bandwidth, intra domain user obtains video stream media resource nearby simultaneously, the network quality effectively ensured, Synchronous lifting Consumer's Experience.
The structural representation of the acquisition equipment of a kind of video stream media resource based on point-to-point P2P that Fig. 3 provides for the embodiment of the present invention.Described acquisition equipment comprises: flow analysis equipment 31, resource guiding device 32 and buffer memory service equipment 33, wherein: be electrically connected between flow analysis equipment 31 with resource guiding device 32, is electrically connected between resource guiding device 32 with buffer service equipment 33.
Described flow analysis equipment 31, for obtaining the Resource orientation request that user sends, wherein, comprises the video stream media resource that user needs to obtain in described Resource orientation request;
Described resource guiding device 32, for the video stream media resource comprised in the described Resource orientation request that obtains according to described flow analysis equipment 31, judge whether there is described video stream media resource in cache node in the territory in described buffer service equipment 33, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place; When determining to there is described video stream media resource in territory in cache node, indicating cache node in the network node at described user place and described territory to establish a communications link, making described user obtain described video stream media resource from cache node in described territory.
In another embodiment provided by the invention, described buffer service equipment 33, also for when determining there is not described video stream media resource in territory in cache node, establish a communications link with the overseas network node that there is described video stream media resource, and described video stream media resource is obtained from described overseas network node, the described video stream media resource got is sent to described user.
Described resource guiding device 32, also for when obtaining described video stream media resource from described user, cache node in the territory network node at described user place being defined as described video stream media resource.
In another embodiment provided by the invention, described flow analysis equipment 31, specifically for the Resource orientation request of the transmission on monitoring data transmission link;
Analyze the type that the user comprised in described Resource orientation request needs the video stream media resource obtained;
When analyzing the Resource orientation request with the type matching set, obtain described Resource orientation request.
It should be noted that, the network port type that flow analysis equipment is supported is generally GE, 10GE or pos interface.For 10GE or pos interface, can directly support 10GE or pos interface, also 10GE or pos interface can be carried out preliminary treatment, be converted into GE interface.
Alternatively, described acquisition equipment also comprises: load-balancing device 34, is electrically connected between load-balancing device 34 with resource guiding device 32, wherein:
Described resource guiding device 32, specifically for when determining to there is described video stream media resource in territory in cache node, when the number of cache node is greater than 1 in the territory that there is described video stream media resource if determine, described Resource orientation request is sent to described load-balancing device 34.
Described load-balancing device 34, specifically for determining the load information of cache node in each territory;
According to the load information of cache node in each territory, cache node in the territory selecting load to be less than setting threshold, and indicate cache node in the network node at described user place and the described territory of selection to establish a communications link.
In another embodiment provided by the invention, described acquisition equipment also comprises: operation support equipment 35, is electrically connected between operation support equipment 35 with flow analysis equipment 31, wherein:
Described flow analysis equipment 31, also for the Resource orientation request getting user's transmission is sent to operation support equipment 35;
Described operation support equipment 35, specifically for the resource keyword of the video stream media resource required for the user comprised in described Resource orientation request and setting, judges the legitimacy of described video stream media resource;
When judged result is legal, triggers resource guiding device 32 performs the video stream media resource according to comprising in described Resource orientation request, judges the operation that whether there is described video stream media resource in territory in cache node.
It should be noted that, DPI (deep packet inspection technical) equipment that flow analysis equipment 31 described in the embodiment of the present invention can adopt operator to dispose, is undertaken interconnected by the reliable network link of high speed between flow analysis equipment 31 and resource guiding device 32; Resource guiding device 32, interconnected between two between load-balancing device 34 and buffer memory service equipment 33, and buffer service equipment 33 can access external the Internet at a high speed reliably.In addition, the access of buffer service equipment 33 guarantees that GE link is normal, to ensure buffer memory delivery efficiency.
The structural representation of the acquisition system of a kind of video stream media resource based on point-to-point P2P that Fig. 4 provides for the embodiment of the present invention.Described system comprises: analysis of object server 41 and resource consolidation server 42, wherein:
Described analysis of object server 41, for obtaining the Resource orientation request that user sends, wherein, comprises the video stream media resource that user needs to obtain in described Resource orientation request;
Described resource consolidation server 42, for according to the video stream media resource comprised in described Resource orientation request, judge whether there is described video stream media resource in cache node in territory, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place; When determining to there is described video stream media resource in territory in cache node, indicating cache node in the network node at described user place and described territory to establish a communications link, making described user obtain described video stream media resource from cache node in described territory.
In another embodiment provided by the invention, described resource consolidation server 42, also for when determining there is not described video stream media resource in territory in cache node, establish a communications link with the overseas network node that there is described video stream media resource, and described video stream media resource is obtained from described overseas network node, the described video stream media resource got is sent to described user.
Described resource consolidation server 42, also for when obtaining described video stream media resource from described user, cache node in the territory network node at described user place being defined as described video stream media resource.
In another embodiment provided by the invention, described analysis of object server 41, specifically for the Resource orientation request of the transmission on monitoring data transmission link;
Analyze the type that the user comprised in described Resource orientation request needs the video stream media resource obtained;
When analyzing the Resource orientation request with the type matching set, obtain described Resource orientation request.
Alternatively, described acquisition equipment also comprises: task balance server 43, wherein:
Described resource consolidation server 42, specifically for when determining to there is described video stream media resource in territory in cache node, when the number of cache node is greater than 1 in the territory that there is described video stream media resource if determine, described Resource orientation request is sent to described task balance server 43.
Described task balance server 43, specifically for determining the load information of cache node in each territory;
According to the load information of cache node in each territory, cache node in the territory selecting load to be less than setting threshold, and indicate cache node in the network node at described user place and the described territory of selection to establish a communications link.
In another embodiment provided by the invention, described analysis of object server 41, also for when getting the Resource orientation request that user sends, video stream media resource required for the user comprised in described Resource orientation request and the resource keyword of setting, judge the legitimacy of described video stream media resource;
When judged result is legal, triggers resource integrated service device 42 performs the video stream media resource according to comprising in described Resource orientation request, judges the operation that whether there is described video stream media resource in territory in cache node.
The system that the embodiment of the present invention provides is based on the thinking of resource localization process, by judging whether there is described video stream media resource in cache node in territory, and then when there is described video stream media resource in cache node in territory, realize the object obtaining video stream media resource in territory, effectively alleviate the flash pressure of operator's outlet bandwidth, intra domain user obtains video stream media resource nearby simultaneously, the network quality effectively ensured, Synchronous lifting Consumer's Experience.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, device (equipment) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1., based on an acquisition methods for the video stream media resource of point-to-point P2P, it is characterized in that, comprising:
Obtain the Resource orientation request that user sends, wherein, in described Resource orientation request, comprise the video stream media resource that user needs to obtain;
According to the video stream media resource comprised in described Resource orientation request, judge whether there is described video stream media resource in cache node in territory, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place;
When determining to there is described video stream media resource in territory in cache node, indicating cache node in the network node at described user place and described territory to establish a communications link, making described user obtain described video stream media resource from cache node in described territory.
2. acquisition methods according to claim 1, is characterized in that, described method also comprises:
When determining there is not described video stream media resource in territory in cache node, establish a communications link with the overseas network node that there is described video stream media resource, and described video stream media resource is obtained from described overseas network node, the described video stream media resource got is sent to described user;
When obtaining described video stream media resource from described user, cache node in the territory network node at described user place being defined as described video stream media resource.
3. acquisition methods according to claim 1, is characterized in that, obtains the Resource orientation request that user sends, comprising:
The Resource orientation request of the transmission on monitoring data transmission link;
Analyze the type that the user comprised in described Resource orientation request needs the video stream media resource obtained;
When analyzing the Resource orientation request with the type matching set, obtain described Resource orientation request.
4. acquisition methods according to claim 1, is characterized in that, when determining to there is described video stream media resource in territory in cache node, indicating cache node in the network node at described user place and described territory to establish a communications link, comprising:
When the number of cache node is greater than 1 in the territory that there is described video stream media resource if determine, determine the load information of cache node in each territory;
According to the load information of cache node in each territory, cache node in the territory selecting load to be less than setting threshold, and indicate cache node in the network node at described user place and the described territory of selection to establish a communications link.
5. acquisition methods according to claim 1, is characterized in that, described method also comprises:
When getting the Resource orientation request that user sends, the video stream media resource required for the user comprised in described Resource orientation request and the resource keyword of setting, judge the legitimacy of described video stream media resource;
When judged result is legal, performing the video stream media resource according to comprising in described Resource orientation request, judging the operation that whether there is described video stream media resource in territory in cache node.
6., based on an acquisition equipment for the video stream media resource of point-to-point P2P, it is characterized in that, comprising:
Acquiring unit, for obtaining the Resource orientation request that user sends, wherein, comprises the video stream media resource that user needs to obtain in described Resource orientation request;
Judging unit, for according to the video stream media resource comprised in described Resource orientation request, judge whether there is described video stream media resource in cache node in territory, wherein, in described territory, cache node belongs to the network node in same territory for the network node characterized based on P2P network and described user place;
Processing unit, for when determining to there is described video stream media resource in territory in cache node, indicate cache node in the network node at described user place and described territory to establish a communications link, make described user obtain described video stream media resource from cache node in described territory.
7. acquisition equipment according to claim 6, is characterized in that,
Described processing unit, also for when determining there is not described video stream media resource in territory in cache node, establish a communications link with the overseas network node that there is described video stream media resource, and described video stream media resource is obtained from described overseas network node, the described video stream media resource got is sent to described user;
When obtaining described video stream media resource from described user, cache node in the territory network node at described user place being defined as described video stream media resource.
8. acquisition equipment according to claim 6, is characterized in that, described acquiring unit obtains the Resource orientation request that user sends, and comprising:
The Resource orientation request of the transmission on monitoring data transmission link;
Analyze the type that the user comprised in described Resource orientation request needs the video stream media resource obtained;
When analyzing the Resource orientation request with the type matching set, obtain described Resource orientation request.
9. acquisition equipment according to claim 6, it is characterized in that, described processing unit, when determining to there is described video stream media resource in territory in cache node, indicates cache node in the network node at described user place and described territory to establish a communications link, comprising:
When the number of cache node is greater than 1 in the territory that there is described video stream media resource if determine, determine the load information of cache node in each territory;
According to the load information of cache node in each territory, cache node in the territory selecting load to be less than setting threshold, and indicate cache node in the network node at described user place and the described territory of selection to establish a communications link.
10. acquisition equipment according to claim 6, is characterized in that, described acquisition equipment also comprises: authentication unit, wherein:
Described authentication unit, for when getting the Resource orientation request that user sends, video stream media resource required for the user comprised in described Resource orientation request and the resource keyword of setting, judge the legitimacy of described video stream media resource;
When judged result is legal, performing the video stream media resource according to comprising in described Resource orientation request, judging the operation that whether there is described video stream media resource in territory in cache node.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510807784.3A CN105472402A (en) | 2015-11-19 | 2015-11-19 | P2P-based video streaming media resource obtaining method and equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510807784.3A CN105472402A (en) | 2015-11-19 | 2015-11-19 | P2P-based video streaming media resource obtaining method and equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105472402A true CN105472402A (en) | 2016-04-06 |
Family
ID=55609616
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510807784.3A Pending CN105472402A (en) | 2015-11-19 | 2015-11-19 | P2P-based video streaming media resource obtaining method and equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105472402A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105933406A (en) * | 2016-04-20 | 2016-09-07 | 烽火通信科技股份有限公司 | Equipment processing method and system of Ethernet packet mutual conversion of XGE and GE |
| WO2019134440A1 (en) * | 2018-01-04 | 2019-07-11 | 海信集团有限公司 | Method and device for downloading resources |
| CN112449248A (en) * | 2019-08-28 | 2021-03-05 | 杭州海康威视系统技术有限公司 | Video data on demand method and device and video on demand node |
Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030063771A1 (en) * | 2001-10-01 | 2003-04-03 | Morris Robert Paul | Network-based photosharing architecture for search and delivery of private images and metadata |
| CN101098272A (en) * | 2006-06-27 | 2008-01-02 | 腾讯科技(深圳)有限公司 | Seed enquiring method of P2P system and P2P server |
| CN101277256A (en) * | 2007-03-30 | 2008-10-01 | 华为技术有限公司 | System and method for realizing network resource location and server |
| CN101394428A (en) * | 2008-11-10 | 2009-03-25 | 北京邮电大学 | A method of service location |
| CN101420337A (en) * | 2007-10-26 | 2009-04-29 | 北大方正集团有限公司 | Method, device and indexing server for resource positioning |
| CN101459614A (en) * | 2008-12-24 | 2009-06-17 | 腾讯科技(深圳)有限公司 | Method, system and equipment for network data transmission |
| CN101631061A (en) * | 2008-07-15 | 2010-01-20 | 中国移动通信集团公司 | Method for informing resource node message and network entity device |
| US20100115031A1 (en) * | 2008-10-31 | 2010-05-06 | International Business Machines Corporation | System and Method For Enabling P2P Applications in a Wireless Mobile Network |
| CN101873348A (en) * | 2010-06-09 | 2010-10-27 | 清华大学 | Cloud storage system based on network egress device and network access method thereof |
| CN102098209A (en) * | 2009-12-14 | 2011-06-15 | 中国电信股份有限公司 | P2P traffic control method and system |
| CN102265568A (en) * | 2011-06-13 | 2011-11-30 | 华为技术有限公司 | Communication method and load equalizer |
| CN102685083A (en) * | 2011-03-17 | 2012-09-19 | 开心人网络科技(北京)有限公司 | Point-to-point document download method, server and client |
| US20140164563A1 (en) * | 2012-12-07 | 2014-06-12 | Gregory H. Leekley | Peer-to-peer content delivery network, method, and manager |
-
2015
- 2015-11-19 CN CN201510807784.3A patent/CN105472402A/en active Pending
Patent Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030063771A1 (en) * | 2001-10-01 | 2003-04-03 | Morris Robert Paul | Network-based photosharing architecture for search and delivery of private images and metadata |
| CN101098272A (en) * | 2006-06-27 | 2008-01-02 | 腾讯科技(深圳)有限公司 | Seed enquiring method of P2P system and P2P server |
| CN101277256A (en) * | 2007-03-30 | 2008-10-01 | 华为技术有限公司 | System and method for realizing network resource location and server |
| CN101420337A (en) * | 2007-10-26 | 2009-04-29 | 北大方正集团有限公司 | Method, device and indexing server for resource positioning |
| CN101631061A (en) * | 2008-07-15 | 2010-01-20 | 中国移动通信集团公司 | Method for informing resource node message and network entity device |
| US20100115031A1 (en) * | 2008-10-31 | 2010-05-06 | International Business Machines Corporation | System and Method For Enabling P2P Applications in a Wireless Mobile Network |
| CN101394428A (en) * | 2008-11-10 | 2009-03-25 | 北京邮电大学 | A method of service location |
| CN101459614A (en) * | 2008-12-24 | 2009-06-17 | 腾讯科技(深圳)有限公司 | Method, system and equipment for network data transmission |
| CN102098209A (en) * | 2009-12-14 | 2011-06-15 | 中国电信股份有限公司 | P2P traffic control method and system |
| CN101873348A (en) * | 2010-06-09 | 2010-10-27 | 清华大学 | Cloud storage system based on network egress device and network access method thereof |
| CN102685083A (en) * | 2011-03-17 | 2012-09-19 | 开心人网络科技(北京)有限公司 | Point-to-point document download method, server and client |
| CN102265568A (en) * | 2011-06-13 | 2011-11-30 | 华为技术有限公司 | Communication method and load equalizer |
| US20140164563A1 (en) * | 2012-12-07 | 2014-06-12 | Gregory H. Leekley | Peer-to-peer content delivery network, method, and manager |
Non-Patent Citations (1)
| Title |
|---|
| 周学广,孙艳,任延珍编著: "《信息内容安全》", 30 November 2012, 武汉:武汉大学出版社 * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105933406A (en) * | 2016-04-20 | 2016-09-07 | 烽火通信科技股份有限公司 | Equipment processing method and system of Ethernet packet mutual conversion of XGE and GE |
| WO2019134440A1 (en) * | 2018-01-04 | 2019-07-11 | 海信集团有限公司 | Method and device for downloading resources |
| CN112449248A (en) * | 2019-08-28 | 2021-03-05 | 杭州海康威视系统技术有限公司 | Video data on demand method and device and video on demand node |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12309640B2 (en) | Predictive user plane function (UPF) load balancing based on network data analytics | |
| CN104918288B (en) | A traffic sharing method, device and system | |
| EP2913978A1 (en) | Business scheduling method and apparatus and convergence device | |
| WO2020019519A1 (en) | Task allocation method and apparatus | |
| CN103888539B (en) | Bootstrap technique, device and the P2P caching systems of P2P cachings | |
| CN104348798B (en) | A kind of method, apparatus, dispatch server and system for distributing network | |
| US20230007457A1 (en) | Systems, devices and methods for edge node computing | |
| CN109218216B (en) | Link aggregation traffic distribution method, device, equipment and storage medium | |
| EP2869524A1 (en) | A method and system for providing multipath TCP proxy services | |
| Capelle et al. | Online virtual links resource allocation in Software-Defined Networks | |
| CN101729583A (en) | System and method used for supporting peer-to-peer transmission application in wireless mobile network | |
| CN111787038A (en) | A method, system and computing device for providing edge services | |
| CN104967528A (en) | A bandwidth adjustment method and system based on an SDN controller | |
| JP2023514689A (en) | Method for delivering audio and/or video content in mobile network infrastructure | |
| CN118432916A (en) | Attack protection method and device, electronic device, storage medium, computer program product | |
| CN105472402A (en) | P2P-based video streaming media resource obtaining method and equipment | |
| WO2016180188A1 (en) | Distributed link establishment method, apparatus and system | |
| WO2017071669A1 (en) | Cache acceleration method and device | |
| CN105144778B (en) | Service quality improvement method and device | |
| CN106209952A (en) | Service node distribution method, device, CDN management server and system | |
| CN105681266B (en) | A kind of communication cluster method and device of mediaphone MMTel | |
| CN109302302B (en) | Method, system and computer-readable storage medium for scaling of service network element | |
| CN101964741A (en) | Method and equipment for sending node list | |
| CN205647588U (en) | Acquisition device and system of video flowing media resource based on point -to -point P2P | |
| CN111405614B (en) | Method for calculating APP load sharing at mobile edge |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160406 |