CN104936043A - Video resource recognition method and device - Google Patents
Video resource recognition method and device Download PDFInfo
- Publication number
- CN104936043A CN104936043A CN201510398808.4A CN201510398808A CN104936043A CN 104936043 A CN104936043 A CN 104936043A CN 201510398808 A CN201510398808 A CN 201510398808A CN 104936043 A CN104936043 A CN 104936043A
- Authority
- CN
- China
- Prior art keywords
- video
- link
- original video
- resource
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2181—Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video 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/21—Server components or server architectures
- H04N21/226—Characteristics of the server or Internal components of the server
- H04N21/2265—Server identification by a unique number or address, e.g. serial number
-
- 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/64—Addressing
-
- 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
- H04N21/64322—IP
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a video resource recognition method and device. The video resource recognition method comprises the following steps: acquiring an original video link of a target website; analyzing the original video link to obtain an IP of the original video link; searching a server for storing the video resource corresponding to the original video link according to the IP of the original video link; and displaying a distribution state of the video resource corresponding to the original video link according to the searched distribution position of the server for storing the video resource. The technical problem that the video resource distribution cannot be automatically recognized by an IDC (internet data center) in the prior art is solved.
Description
Technical field
The present invention relates to internet arena, in particular to a kind of video resource recognition methods and device.
Background technology
Internet data center (Internet Data Center, be called for short IDC) is based on the Internet, for the equipment of centralised collection, storage, process and transmission provides the facility base of operation maintenance and provides related service.
With regard to IDC present circumstances, IDC Service Provider does not know to store which video resource in oneself IDC machine room, do not know whether the video resource of targeted website is stored in the IDC machine room of oneself, and do not know on any platform equipment that this video resource is stored in IDC machine room after knowing the video resource that the IDC machine room of oneself stores.Therefore, IDC Service Provider intuitively cannot arrive the distribution situation of the video resource that IDC machine room stores.
Prior art is in order to solve the problem, and IDC Service Provider adopts following two kinds of methods to determine to store which video resource in oneself IDC machine room and which platform equipment these video resources are specifically stored on usually.
1, industry experience
A) illustrate: as IDC Service Provider, by cooperation that is long-term and video website, may know which video resource whole IDC machine room stores, but not know on concrete each equipment which video resource of buffer memory, usually adopt the mode of artificial investigation to solve.
Which b) illustrate: as network provider, by the access resources of netizen in long-time statistical net, count video resource and be stored in the IDC machine room of oneself.
2, manually find
A) illustrating: by manually going to access this video, check access result, judging in the video resource whether this video resource stores at the IDC machine room of oneself, then judging which platform equipment this video resource is stored on.This kind method cost of labor is very high, efficiency is low, especially substantially cannot realize when identifying multitude of video resource.
In sum, the scheme close with the present application technical scheme is a blank, the recognition device of current this high performance video resource does not have a set of intellectuality, robotic solution, the present application technical scheme makes up the blank in this field, achieves the intellectuality of the recognition device of video resource and robotic.
Automatically cannot identify for IDC in prior art the problem that video resource distributes, not yet propose effective solution at present.
Summary of the invention
Main purpose of the present invention is to provide a kind of video resource recognition methods and device, automatically cannot identify to solve IDC in prior art the problem that video resource distributes.
To achieve these goals, according to an aspect of the present invention, a kind of video resource recognition methods is provided.Video resource recognition methods according to the present invention comprises: the original video link obtaining targeted website; Analysis original video links, and obtains the IP of original video link; The server storing video resource corresponding to original video link is searched according to the IP of original video link; And the distribution of the video resource that original video link is corresponding is shown according to the distributing position of the server of the store video resource found.
Further, after the original video link obtaining targeted website, video resource recognition methods also comprises: linked by original video and obtain corresponding real video link, analyze original video link, the IP obtaining original video link comprises: analyze the IP that real video links.
Further, obtain corresponding real video link by original video link to comprise: utilize simulation browser seizure original video to be linked to 302 redirection process of real video link; And obtain real video link corresponding to original video link according to 302 redirection process.
Further, the IP of real video link is analyzed: the IP resolving real video link; And according to the corresponding relation that original video link links with real video, and the IP of real video link, determine the IP that original video links.
Further, the IP linked according to described original video searches the server storing video resource corresponding to described original video link; Obtain the IP of video link; Obtain the IP of server; Whether the IP of contrast original video link is identical with the IP of server; And if the IP of original video link is identical with the IP of server, then the video storage that the IP of video link is corresponding is on the server that the IP of server is corresponding.
Further, the original video link obtaining targeted website comprises: the multiple original video links obtaining targeted website, analysis original video links, the IP obtaining original video link comprises: analyze the link of multiple original video, obtain the IP of multiple original video link, search according to the IP of original video link the server storing video resource corresponding to original video link and comprise: the IP linked according to multiple original video searches the server storing multiple video resources corresponding to multiple original video link; Gather the server of the multiple video resource of the storage found, show that the distribution of the video resource that original video link is corresponding comprises according to the distributing position of the server of the store video resource found: the distribution of showing the video resource that the link of multiple original video is corresponding according to the distributing position of the server of the multiple video resource of the storage found.
To achieve these goals, according to a further aspect in the invention, a kind of video resource recognition device is provided.Video resource recognition device according to the present invention comprises: acquiring unit, for obtaining the original video link of targeted website; Analytic unit, for analyzing original video link, obtains the IP of original video link; Search unit, the IP for linking according to original video searches the server storing video resource corresponding to original video link; And display unit, the distributing position for the server according to the store video resource found shows the distribution of the video resource that original video link is corresponding.
Further, acquiring unit also for after the original video link obtaining targeted website, links by original video the real video obtaining correspondence and links, and analytic unit is also for analyzing the IP of real video link.
Further, acquiring unit comprises: capture module, utilizes simulation browser seizure original video to be linked to 302 redirection process of real video link; And acquisition module, obtain real video link corresponding to original video link according to 302 redirection process.
Further, analytic unit comprises: parsing module, for resolving the IP of real video link; And determination module, for the corresponding relation linked with real video according to original video link, and the IP of real video link, determine the IP that original video links.
By the present invention, adopt the original video link obtaining targeted website; Analysis original video links, and obtains the IP of original video link; The server storing video resource corresponding to original video link is searched according to the IP of original video link; And the distribution of the video resource that original video link is corresponding is shown according to the distributing position of the server of the store video resource found, solve IDC in prior art and automatically cannot identify the technical problem that video resource distributes, and then reach the effect of the distribution automatically identifying video resource.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of video resource recognition methods according to a first embodiment of the present invention;
Fig. 2 is the flow chart of video resource recognition methods according to a second embodiment of the present invention;
Fig. 3 is the schematic diagram of video resource recognition device according to a first embodiment of the present invention; And
Fig. 4 is the schematic diagram of video resource recognition device according to a second embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part 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 the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
According to the embodiment of the present invention, provide a kind of video resource recognition methods embodiment, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
Fig. 1 is the flow chart of video resource recognition methods according to a first embodiment of the present invention.As shown in Figure 1, this video resource recognition methods comprises the steps:
Step S101, obtains the original video link of targeted website.
In order to the object of internet security; website usually can utilize 302 be redirected the real links of video is shown with the video link directly seen on webpage; the video link directly can seen on webpage is called the original video link of video, and namely web video connects.Alternatively, the original video link obtaining the video of targeted website can be obtained by web crawlers device.Web crawlers device is arranged on multiple servers, form reptile device clustering, the reptile device can dispatched on multiple server mutually cooperates, thus makes load balancing, carry out reptile work efficiently, the original video link crawled can be placed in a memory database.
Step S102, analyzes original video link, obtains the IP of original video link.
Agreement (Internet Protocol, referred to as IP) interconnected between network is that computer network interlinks and carries out communicating and the agreement designed.In the internet, it to make to be connected to the set of rule that online all computer networks realize intercoming mutually, defines the rule should observed when computer communicates on the internet.The computer system of any manufacturer production, just can interconnect with internet as long as accept IP agreement.IP address has uniqueness, and the every platform computer in internet and other equipment have unique address.
By the original video link that the video link of web crawlers device acquisition targeted website can be video, but the link of the original video of video is not the real video link of video, cannot obtain the IP of corresponding video from the original video link crawled.
Preferably, after the original video link obtaining targeted website, video resource recognition methods also comprises: link by original video the real video obtaining correspondence and link.Obtain corresponding real video link by original video link to comprise: utilize simulation browser seizure original video to be linked to 302 redirection process of real video link; And obtain real video link corresponding to original video link according to 302 redirection process.
From memory database, take out initial data connect, the IP of simulation browser device to the original video link got can be utilized to analyze, particularly, this browser realizes the method for a simulation browser at Server end, can open the process of webpage at simulation browser when not open any browser.Be arranged on multiple servers by simulation browser device, form simulation browser device clustering, the simulation browser device can dispatched on multiple server mutually cooperates, thus makes load balancing, carries out work efficiently.302 are redirected and are also called 302 and represent temporary transfer, are also considered to temporarily be redirected, and are one and are required the instruction of use when webpage web browser when the network address change of short-term.Temporarily being redirected is being redirected of a kind of server end, can correctly process by searched engine spider.Such as, from network address A do be redirected to network address B for one 302 time, the implicit network address A that is meant to of host server likely changes mind at any time, the interior place perhaps turning to other of display again itself.Major part search engine receives 302 when being redirected in most cases, general only captures target network address B, the original video link namely in the embodiment of the present invention.Due to video website usually utilize 302 be redirected to real video link be redirected, therefore utilize simulation browser capture targeted website original video link, do 302 be redirected after can get real video link, namely identify real video connect.Therefore, the corresponding relation that the original video link can setting up targeted website links with real video, and this corresponding relation is stored in memory database.
After getting real video link, analyze original video link, the IP obtaining original video link comprises: the IP analyzing the real video link got.Preferably, the IP analyzing the real video link got comprises: the IP resolving real video link; And according to the corresponding relation that original video link links with real video, and the IP of real video link, determine the IP that original video links.
Obtain real video link because original video link can be redirected through 302 of simulation browser, after obtaining real video link, for different video website, have different algorithms can obtain the IP of real video link according to real video link.Alternatively, the real video link of some video website directly can read the IP of corresponding real video link, and the real video link of some video website can at the IP obtaining the link of corresponding real video after server request.Such as, the original video link of excellent cruel video obtains real video and is linked as http after 302 of simulation browser is redirected: // 60.217.235.15/youku/asdasdqweqasda.swf/, the IP of real video link is carried in the link of this real video, thus the IP directly reading the link of this real video is 60.217.235.15.
After said method, the corresponding relation that the original video link that can obtain targeted website links with real video, and the IP of real video link.On the basis setting up the corresponding relation that original video link links with real video, the IP that real video links is linked corresponding with original video, thus the link of acquisition original video and real video link the relation of IP, the IP of the original video link of this targeted website just can be obtained.
Step S103, searches the server storing video resource corresponding to original video link according to the IP of original video link.
The IP of the local video link stored comprises the IP of video resource on home server, also can comprise the IP of video resource on other service provider's servers.Home server can set up IP book, be used for storing the IP of video resource on home server and the IP of video resource on other service provider's servers.The IP of original video link has uniqueness, and the IP of therefore original video link can only a corresponding server.The IP of the IP linked by comparison original video and the local video resource stored, can determine whether this video resource is stored on home server.If the IP of video resource is identical on the IP of original video link and the local server stored, then according to the uniqueness lookup of the IP server to this video resource of storage, this server can be the server of the video resource of correspondence in IP book.If the IP of original video link is not identical with the IP of video resource on the server that this locality stores, so this video resource is not stored in home video servers.
Step S104, shows the distribution of the video resource that original video link is corresponding according to the distributing position of the server of the store video resource found.
According to the distributing position of the server of the store video resource found, and the one-to-one relationship of the IP of original video link and the IP of video resource on the local server stored, determine video storage is on which platform equipment concrete, show the distribution of the video resource that original video link is corresponding.
Alternatively, the original video link of targeted website comprises multiple, the original video link obtaining targeted website comprises: the multiple original video links obtaining targeted website, analysis original video links, the IP obtaining original video link comprises: analyze the link of multiple original video, obtain the IP of multiple original video link, search according to the IP of original video link the server storing video resource corresponding to original video link and comprise: the IP linked according to multiple original video searches the server storing multiple video resources corresponding to multiple original video link; Gather the server of the multiple video resource of the storage found, distribution according to the video resource of the distributing position displaying original video link correspondence of the server of the store video resource found comprises: the distribution of showing the video resource that the link of multiple original video is corresponding according to the distributing position of the server of the multiple video resource of the storage found, so that IDC Service Provider adjusts service plan, Optimized Service content according to the distribution of video resource, promotes service quality.
This embodiment adopts the original video link obtaining targeted website; Analysis original video links, and obtains the IP of original video link; The server storing video resource corresponding to original video link is searched according to the IP of original video link; And the distribution of the video resource that original video link is corresponding is shown according to the distributing position of the server of the store video resource found.Solve IDC in prior art by the video resource recognition methods of this embodiment and automatically cannot identify the technical problem that video resource distributes, and then reach the effect of the distribution automatically identifying video resource.
Fig. 2 is the flow chart of video resource recognition methods according to a second embodiment of the present invention.The method showing the server searching the video resource storing original video link correspondence according to the IP of original video link embodiment illustrated in fig. 2, the method comprises the steps:
Step S201, obtains the IP of original video link.
By obtaining original video link, and obtaining real video link according to original video link, obtaining the relation that original video link links with real video, resolving the IP of real video link, thus obtaining the IP of original video link.The method of the IP of concrete acquisition original video link is identical with method embodiment illustrated in fig. 1, does not repeat at this.
Step S202, obtains the IP of server.
Internet data center (Internet Data Center, referred to as IDC) be exactly utilize existing internet communication circuit, bandwidth resources, the professional building environment of Criterion, can comprise application domain name for user provides, rent the services such as fictitious host computer space, hosting.
Because IDC contains a lot of servers, when server only accesses an operator, each server has unique IP.Conveniently analyze and safeguard these servers, can the IP of multiple home server be recorded in IP book, if the IP of other service providers can be got, also the IP of other service providers can be stored in local IP book, after the IP obtaining original video link, just can know on the server that this video resource stores as long as there is this IP in IP book.
Step S203, whether the IP of contrast original video link is identical with the IP of server.
The IP of the local video resource stored is stored in the IP in IP book, IP and corresponding server is stored in IP book, by search original video link IP and local IP book in IP, can determine that whether the IP that original video links is identical with the IP of the local video resource stored further, can find according to IP in IP book and the corresponding relation of server the server that corresponding video resource stores if identical, if not identical, then this video resource is not stored on home server.
Step S204, if the IP of original video link is identical with the IP of server, then the video storage that the IP of original video link is corresponding is on the server that the IP of server is corresponding.
Because the IP of Internet data center has uniqueness, the IP video identical with the IP of Internet data center of original video link and the equipment of Internet data center are one to one, thus whether the IP that can search original video link in the IP of Internet data center exists the equipment of Internet data center and specifically storage to the video that the IP determining original video and link is corresponding.If when the IP of original video link is identical with the IP of Internet data center, can determine that the video storage that the IP of video link is corresponding has on the equipment of identical IP at internet centre.
Show that according to the distributing position of the server of the store video resource found the method for the distribution of the video resource that original video link is corresponding is identical with method embodiment illustrated in fig. 1, do not repeat at this.
The video resource recognition methods of this embodiment adopts the IP obtaining original video link; Obtain the IP of server; Whether the IP of contrast original video link is identical with the IP of server; And if the IP of original video link is identical with the IP of server, then the video storage that the IP of original video link is corresponding is on the server that the IP of server is corresponding.The server storing video resource corresponding to original video link is searched according to the IP that original video links by the video resource recognition methods of this embodiment, solve IDC in prior art and automatically cannot identify the technical problem that video resource distributes, and then reach the effect of the distribution automatically identifying video resource.
Embodiments of the invention additionally provide a kind of video resource recognition device.
The video resource recognition device that the video resource recognition methods of the embodiment of the present invention can be provided by the embodiment of the present invention performs, and the video resource recognition device of the embodiment of the present invention also may be used for performing the video resource recognition methods that the embodiment of the present invention provides.
Fig. 3 is the schematic diagram of video resource recognition device according to a first embodiment of the present invention.As shown in the figure, this video resource recognition device comprises acquiring unit 10, analytic unit 20, searches unit 30 and display unit 40.
Acquiring unit 10, for obtaining the original video link of targeted website.
In order to the object of internet security; website usually can utilize 302 be redirected the real links of video is shown with the video link directly seen on webpage; the video link directly can seen on webpage is called the original video link of video, and namely web video connects.Alternatively, the original video link obtaining the video of targeted website can be obtained by web crawlers device.Web crawlers device is arranged on multiple servers, form reptile device clustering, the reptile device can dispatched on multiple server mutually cooperates, thus makes load balancing, carry out reptile work efficiently, the original video link crawled can be placed in a memory database.Alternatively, acquiring unit 10 is also for obtaining multiple original video links of targeted website.
Analytic unit 20, for analyzing original video link, obtains the IP of original video link.
Agreement (Internet Protocol, referred to as IP) interconnected between network carries out communicating and the agreement designed for computer network interlinks.In the internet, it to make to be connected to the set of rule that online all computer networks realize intercoming mutually, defines the rule should observed when computer communicates on the internet.The computer system of any manufacturer production, just can interconnect with internet as long as accept IP agreement.IP address has uniqueness, and the every platform computer in internet and other equipment have unique address.
By the original video link that the video link of web crawlers device acquisition targeted website can be video, but the link of the original video of video is not the real video link of video, cannot obtain the IP of corresponding video from the original video link crawled.
Preferably, acquiring unit 10 is also for after the original video link obtaining targeted website, linked by original video and obtain corresponding real video link, acquiring unit 10 also comprises: capture module, utilizes simulation browser seizure original video to be linked to 302 redirection process of real video link; And acquisition module, obtain real video link corresponding to original video link according to 302 redirection process.
From memory database, take out initial data connect, the IP of simulation browser device to the original video link got can be utilized to analyze, particularly, this browser realizes the method for a simulation browser at Server end, can open the process of webpage at simulation browser when not open any browser.Be arranged on multiple servers by simulation browser device, form simulation browser device clustering, the simulation browser device can dispatched on multiple server mutually cooperates, thus makes load balancing, carries out work efficiently.302 are redirected and are also called 302 and represent temporary transfer, also be considered to temporarily be redirected, be one when a webpage through short-term network address change time web browser be required use instruction, temporarily being redirected is being redirected of a kind of server end, can correctly process by searched engine spider.Such as, from network address A do be redirected to network address B for one 302 time, the implicit network address A that is meant to of host server likely changes mind at any time, the interior place perhaps turning to other of display again itself.Major part search engine receives 302 when being redirected in most cases, general only captures target network address B, the original video link namely in the embodiment of the present invention.Due to video website usually utilize 302 be redirected to real video link be redirected, therefore utilize simulation browser capture targeted website original video link, do 302 be redirected after can get real video link.Therefore, the corresponding relation that the original video link can setting up targeted website links with real video, and this corresponding relation is stored in memory database.
Preferably, analytic unit 20 is also for analyzing the IP of real video link.Analytic unit 20 comprises: parsing module, for resolving the IP of real video link; And determination module, for the corresponding relation linked with real video according to original video link, and the IP of real video link, determine the IP that original video links.
Obtain real video link because original video link can be redirected through 302 of simulation browser, after obtaining real video link, for different video website, have different algorithms can obtain the IP of real video link according to real video link.Alternatively, the real video link of some video website directly can read the IP of corresponding real video link, and the real video link of some video website can at the IP obtaining the link of corresponding real video after server request.Such as, the original video link of excellent cruel video obtains real video and is linked as http after 302 of simulation browser is redirected: // 60.217.235.15/youku/asdasdqweqasda.swf/, the IP of real video link is carried in the link of this real video, thus the IP directly reading the link of this real video is 60.217.235.15.
After said apparatus, the corresponding relation that the original video link that can obtain targeted website links with real video, and the IP of real video link.On the basis setting up the corresponding relation that original video link links with real video, the IP that real video links is linked corresponding with original video, thus the link of acquisition original video and real video link the relation of IP, the IP of the original video link of this targeted website just can be obtained.Alternatively, analytic unit 20 also for analyzing the link of multiple original video, obtains the IP of multiple original video link.
Search unit 30, the IP for linking according to original video searches the server storing video resource corresponding to original video link.
The IP of the local video link stored comprises the IP of video resource on home server, also can comprise the IP of video resource on other service provider's servers.Home server can set up IP book, be used for storing the IP of video resource on home server and the IP of video resource on other service provider's servers.The IP of original video link has uniqueness, and the IP of therefore original video link can only a corresponding server.The IP of the IP linked by comparison original video and the local video resource stored, can determine whether this video resource is stored on home server.If the IP of video resource is identical on the IP of original video link and the local server stored, then according to the uniqueness lookup of the IP server to this video resource of storage, this server can be the server of the video resource of correspondence in IP book.If the IP of original video link is not identical with the IP of video resource on the server that this locality stores, so this video resource is not stored in home video servers.Alternatively, searching the IP of unit 30 also for linking according to multiple original video and search the server storing multiple video resources corresponding to multiple original video link, wherein, comprising summarizing module, for gathering the server of the multiple video resource of the storage found.
Display unit 40, the distributing position for the server according to the store video resource found shows the distribution of the video resource that original video link is corresponding.
According to the distributing position of the server of the store video resource found, and the one-to-one relationship of the IP of original video link and the IP of video resource on the local server stored, determine video storage is on which equipment concrete, show the distribution of the video resource that original video link is corresponding.Alternatively, for the distributing position of the server according to the multiple video resource of storage found, display unit 40 also shows that multiple original video links the distribution of corresponding video resource, so that IDC Service Provider is according to distribution adjustment service plan, Optimized Service content, the lifting service quality of video resource.
Fig. 4 is the schematic diagram of video resource recognition device according to a second embodiment of the present invention.As shown in the figure, this video resource recognition device comprises acquiring unit 10, analytic unit 20, searches unit 30 and display unit 40, wherein, searches unit 30 and comprises the first acquisition module 301, second acquisition module 302, contrast module 303 and judge module 304.
First acquisition module 301, for obtaining the IP of original video link.
By obtaining original video link, and obtaining real video link according to original video link, obtaining the relation that original video link links with real video, resolving the IP of real video link, thus obtaining the IP of original video link.The method of the IP of concrete acquisition original video link is identical with method embodiment illustrated in fig. 1, does not repeat at this.
Second acquisition module 302, for obtaining the IP of server.
Internet data center (Internet Data Center, referred to as IDC) be exactly utilize existing internet communication circuit, bandwidth resources, the professional building environment of Criterion, can comprise application domain name for user provides, rent the services such as fictitious host computer space, hosting.
Because IDC contains a lot of servers, when server only accesses an operator, each server has unique IP.Conveniently analyze and safeguard these servers, can the IP of multiple home server be recorded in IP book, if the IP of other service providers can be got, also the IP of other service providers can be stored in local IP book, after the IP obtaining original video link, just can know on the server that this video resource stores as long as there is this IP in IP book.
Whether contrast module 303 is identical with the IP of server for the IP contrasting original video link.
The IP of the local video resource stored is stored in the IP in IP book, IP and corresponding server is stored in IP book, by search original video link IP and local IP book in IP, can determine that whether the IP that original video links is identical with the IP of the local video resource stored further, can find according to IP in IP book and the corresponding relation of server the server that corresponding video resource stores if identical, if not identical, then this video resource is not stored on home server.
Determination module 304, if the IP of original video link is identical with the IP of server, then for determining that video storage that IP that original video links is corresponding is at server corresponding to the IP of server.
Because the IP of Internet data center has uniqueness, the IP video identical with the IP of Internet data center of original video link and the equipment of Internet data center are one to one, thus whether the IP that can search original video link in the IP of Internet data center exists the equipment of Internet data center and specifically storage to the video that the IP determining original video and link is corresponding.When the IP of original video link is identical with the IP of Internet data center, determine that the video storage that the IP of video link is corresponding has on the equipment of identical IP at internet centre.
The video resource recognition device of the present embodiment, the original video link of targeted website is obtained by acquiring unit 10, original video link is analyzed by analytic unit 20, obtain the IP of original video link, search by searching unit 30 server storing video resource corresponding to original video link according to the IP that original video links, and show the distribution of the video resource that original video link is corresponding according to the distributing position of the server of the store video resource found by display unit 40.The video resource recognition device of this embodiment solves IDC in prior art and automatically cannot identify the technical problem that video resource distributes, and then reaches the effect of the distribution automatically identifying video resource.
Embodiments of the invention achieve the high efficiency of video resource recognition methods and device, intellectuality and robotic.IDC Service Provider determines whether there is in the IDC machine room of oneself by video resource recognition methods and device for the video resource of targeted website, and on concrete which platform equipment of existence, whole process does not need manual intervention, whole discovery procedure is completed completely by system self, make IDC Service Provider more directly perceived, recognize the distribution of video resource rapidly, to bring better video to accelerate to experience, more easily for each video website provides service, adjust working strategies more in time, thus make video acceleration service move to maturity and stablize, there is general applicability and generalization.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, 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 by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the division of such as unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform each embodiment method of the present invention.And aforesaid storage medium comprises: USB flash disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a video resource recognition methods, is characterized in that, comprising:
Obtain the original video link of targeted website;
Analyze the link of described original video, obtain the IP of described original video link;
The IP linked according to described original video searches the server storing video resource corresponding to described original video link; And
The distribution of the video resource that the link of described original video is corresponding is shown according to the distributing position of the server of the described video resource of the storage found.
2. video resource recognition methods according to claim 1, is characterized in that,
After the original video link obtaining targeted website, described video resource recognition methods also comprises: link by described original video the real video obtaining correspondence and link,
Analyze the link of described original video, the IP obtaining the link of described original video comprises: the IP analyzing the link of described real video.
3. video resource recognition methods according to claim 2, is characterized in that, links the real video link obtaining correspondence comprise by described original video:
Utilize simulation browser catch described original video be linked to described real video link 302 redirection process; And
Real video link corresponding to described original video link is obtained according to described 302 redirection process.
4. video resource recognition methods according to claim 2, is characterized in that, the IP analyzing the link of described real video comprises:
Resolve the IP of described real video link; And
According to the corresponding relation that described original video link links with described real video, and the IP of described real video link, determine the IP that described original video links.
5. video resource recognition methods according to claim 1, is characterized in that, the IP linked according to described original video searches the server storing video resource corresponding to described original video link:
Obtain the IP of described original video link;
Obtain the IP of described server;
Whether the IP contrasting the link of described original video is identical with the IP of described server; And
If the IP of described original video link is identical with the IP of described server, then the video storage that the IP of described original video link is corresponding is on the server that the IP of described server is corresponding.
6. video resource recognition methods according to claim 1, is characterized in that,
The original video link obtaining targeted website comprises: the multiple original video links obtaining described targeted website,
Analyze the link of described original video, the IP obtaining the link of described original video comprises: analyze described multiple original video link, obtains the IP of described multiple original video link,
The IP linked according to described original video searches the server storing video resource corresponding to described original video link and comprises: search the server storing multiple video resources corresponding to described multiple original video link according to the IP of described multiple original video link; Gather the server of the described multiple video resource of the storage found,
Show that the distribution of the video resource that the link of described original video is corresponding comprises according to the distributing position of the server of the described video resource of the storage found: the distribution of showing the video resource that described multiple original video link is corresponding according to the distributing position of the server of the described multiple video resource of the storage found.
7. a video resource recognition device, is characterized in that, comprising:
Acquiring unit, for obtaining the original video link of targeted website;
Analytic unit, for analyzing the link of described original video, obtains the IP of described original video link;
Search unit, the IP for linking according to described original video searches the server storing video resource corresponding to described original video link; And
Display unit, the distributing position for the server according to the described video resource of storage found shows the distribution of the video resource that the link of described original video is corresponding.
8. video resource recognition device according to claim 7, is characterized in that,
Described acquiring unit also for after the original video link obtaining targeted website, links by described original video the real video obtaining correspondence and links,
Described analytic unit is also for analyzing the IP of described real video link.
9. video resource recognition device according to claim 8, is characterized in that, described acquiring unit comprises:
Capture module, utilize simulation browser catch described original video be linked to described real video link 302 redirection process; And
Acquisition module, obtains real video link corresponding to described original video link according to described 302 redirection process.
10. video resource recognition device according to claim 8, is characterized in that, described analytic unit comprises:
Parsing module, for resolving the IP of described real video link; And
Determination module, for the corresponding relation linked with described real video according to described original video link, and the IP of described real video link, determine the IP that described original video links.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510398808.4A CN104936043A (en) | 2015-07-08 | 2015-07-08 | Video resource recognition method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510398808.4A CN104936043A (en) | 2015-07-08 | 2015-07-08 | Video resource recognition method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104936043A true CN104936043A (en) | 2015-09-23 |
Family
ID=54122952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510398808.4A Pending CN104936043A (en) | 2015-07-08 | 2015-07-08 | Video resource recognition method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104936043A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105550310A (en) * | 2015-12-14 | 2016-05-04 | 中国联合网络通信集团有限公司 | Method and apparatus for determining webpage resource distribution |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546309A (en) * | 2008-03-26 | 2009-09-30 | 国际商业机器公司 | Method and equipment for constructing indexes to resource content in computer network |
CN101662464A (en) * | 2008-08-26 | 2010-03-03 | 阿里巴巴集团控股有限公司 | System for realizing HTTP request service and method thereof |
CN101715004A (en) * | 2009-11-12 | 2010-05-26 | 中国科学院计算技术研究所 | Internet video-oriented distributed acquisition method and system |
CN102355449A (en) * | 2011-06-30 | 2012-02-15 | 深信服网络科技(深圳)有限公司 | Method, gateway and system for implicitly transmitting reorientation request |
CN102783119A (en) * | 2012-05-25 | 2012-11-14 | 华为终端有限公司 | Access control method and system, and access terminal |
CN104038471A (en) * | 2013-03-08 | 2014-09-10 | 中国移动通信集团浙江有限公司 | Method for managing IDC resources in internet and service provider network |
CN104426718A (en) * | 2013-09-10 | 2015-03-18 | 方正宽带网络服务股份有限公司 | Data monitoring server, cache server and redirection downloading method |
-
2015
- 2015-07-08 CN CN201510398808.4A patent/CN104936043A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546309A (en) * | 2008-03-26 | 2009-09-30 | 国际商业机器公司 | Method and equipment for constructing indexes to resource content in computer network |
CN101662464A (en) * | 2008-08-26 | 2010-03-03 | 阿里巴巴集团控股有限公司 | System for realizing HTTP request service and method thereof |
WO2010025185A1 (en) * | 2008-08-26 | 2010-03-04 | Alibaba Group Holding Limited | In-server redirection of http requests |
CN101715004A (en) * | 2009-11-12 | 2010-05-26 | 中国科学院计算技术研究所 | Internet video-oriented distributed acquisition method and system |
CN102355449A (en) * | 2011-06-30 | 2012-02-15 | 深信服网络科技(深圳)有限公司 | Method, gateway and system for implicitly transmitting reorientation request |
CN102783119A (en) * | 2012-05-25 | 2012-11-14 | 华为终端有限公司 | Access control method and system, and access terminal |
CN104038471A (en) * | 2013-03-08 | 2014-09-10 | 中国移动通信集团浙江有限公司 | Method for managing IDC resources in internet and service provider network |
CN104426718A (en) * | 2013-09-10 | 2015-03-18 | 方正宽带网络服务股份有限公司 | Data monitoring server, cache server and redirection downloading method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105550310A (en) * | 2015-12-14 | 2016-05-04 | 中国联合网络通信集团有限公司 | Method and apparatus for determining webpage resource distribution |
CN105550310B (en) * | 2015-12-14 | 2019-03-15 | 中国联合网络通信集团有限公司 | Method and device for determining distribution of webpage resources |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108737467B (en) | Server log viewing method, device and system | |
CN110380954B (en) | Data sharing method and device, storage medium and electronic device | |
CN109729044B (en) | Universal internet data acquisition reverse-crawling system and method | |
CN105939313B (en) | Status code reorientation method and device | |
CN106156055B (en) | The identification of search engine crawler, processing method and processing device | |
CN107980241B (en) | Gateway multi-connection method and device | |
CN110609937A (en) | Crawler identification method and device | |
WO2016184163A1 (en) | Method and device for generating a dpi rules | |
CN105069011A (en) | Webpage favorite management method, device and system | |
CN103067198A (en) | Method and system related to Cookie identity (ID) of user | |
CN106878108A (en) | Network traffic playback test method and device | |
US20180217885A1 (en) | Remote session information based on process identifier | |
CN111641996A (en) | Equipment network access method and device based on Bluetooth Mesh network, and storage medium | |
CN102739811A (en) | Method and device of domain name resolution | |
CN103455587B (en) | Obtain and push the method and device of content, receive the method and device for pushing content | |
CN103186666A (en) | Method, device and equipment for searching based on favorites | |
CN104219230A (en) | Method and device for identifying malicious websites | |
CN105468981A (en) | Vulnerability identification technology-based plugin safety scanning device and scanning method | |
CN105447151A (en) | Method for accessing distributed database, data source proxy apparatus and application server | |
CN107396423A (en) | Method for network access and device, storage medium and electronic installation | |
CN112417164A (en) | Information recommendation method and device, storage medium and electronic device | |
CN110198227A (en) | Processing method, device, storage medium and the electronic device of journal file | |
CN105512318A (en) | Page generation method and device | |
CN105491094A (en) | HTTP request handling method and device | |
CN102930016A (en) | Method and equipment for providing search results on mobile terminals |
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: 20150923 |