CN104301806B - Video frequency identifying method, device and system - Google Patents
Video frequency identifying method, device and system Download PDFInfo
- Publication number
- CN104301806B CN104301806B CN201410461436.0A CN201410461436A CN104301806B CN 104301806 B CN104301806 B CN 104301806B CN 201410461436 A CN201410461436 A CN 201410461436A CN 104301806 B CN104301806 B CN 104301806B
- Authority
- CN
- China
- Prior art keywords
- url
- sampling
- video
- parts
- quey
- 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.)
- Active
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/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
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
-
- 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/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
-
- 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/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8352—Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A kind of video frequency identifying method and device are provided, method includes:Receive the destination Uniform Resource finger URL URL that target UE is sent, it is determined that the target video corresponding with target URL, wherein, target URL includes first object URL and the second target URL, the target video includes the first object video corresponding with first object URL, and second target video corresponding with second target URL;According to session section extraction model, determine first object URL session section, and second target URL session section, the session section extraction model is determined according at least two first sampling URL session section, wherein, respectively first sampling URL is corresponding with the first user equipment, and respectively the character string of first sampling URL session section is identical;If first object URL session section is identical with second target URL session section, it is determined that the first object video belongs to same video playback session with second target video.
Description
Technology is led
The present invention relates to the communications field, and more particularly, to a kind of video frequency identifying method, device and system.
Background technology
At present, with the rapid development of Internet, the transmission of video service based on open the Internet also obtains on a large scale should
With, i.e. internet video publisher utilizes the network that telecom operators provide, and video playback service is provided to terminal user, its
In, telecom operators are merely responsible for transmitting video, do not set foot in control, distribution, copyright of video content etc..
In the prior art, transmission of video is to be based on HTTP (HTTP, Hypertext transfer
Protocol) carry out, specifically, user is it is desirable that watch what internet video publisher (for example, video website) provided
During video, HTTP message is sent to telecom operators' (for example, gateway device) by user equipment, carry in the HTTP message with
The corresponding uniform resource position mark URL (Uniform Resoure Locator) of the video of desired viewing, telecom operators
The HTTP message can be transmitted to internet video publisher (for example, server of video website), with from internet video
Publisher obtains the video, and is issued to user equipment.
In order to improve Consumer's Experience, shorten the stand-by period that user watches video, telecom operators would generally set caching
Equipment, to cache the video obtained from telecom operators, and the mapping table established between acquired each video and each URL
, so as to when receiving the HTTP message that carry the URL corresponding with the video cached, be obtained from buffer memory device
The video is taken, and is handed down to user equipment.
For example, at present, it is already possible to realize support of the transmission of video to network condition adaptive ability, i.e., same video
Content, the copy of multiple code checks or the copy of multiple coded formats is stored with the server, for example, high definition code check, SD
Code check.The higher copy of code check, video pictures are more clear, and video data corresponding to unit reproduction time is more, to transmission bandwidth
Demand it is bigger, when network condition is good transmit high definition fragment, when network condition difference transmit SD fragment, so
Ensure the fluency during video-see, improve Consumer's Experience.But when network condition changes, primary video is seen
Multiple copies of same video content (in other words, same video playback session) may be transmitted during seeing, meanwhile, video
URL is usually video website dynamic generation, and different user accesses same video, and same user's different time accesses same
Individual video, it may all get different URL;Accordingly, it is possible to cause the appearance of problems with, for example, causing clicking rate to calculate
It is non-equivalence with video playback gauge.
For another example the increment processing (for example, advertisement putting, antivirus processing etc.) of the plurality of copy and independent progress, sternly
The efficiency and accuracy of processing are have impact on again.
Accordingly, it is desirable to provide a kind of technology, can identify the different video for belonging to same video playback session by URL.
The content of the invention
The embodiment of the present invention provides a kind of video frequency identifying method, device and system, can differentiate video content phase by URL
Same multiple videos.
First aspect, there is provided a kind of video frequency identifying method, this method include:Receive the target that target UE is sent
Uniform resource position mark URL, it is determined that the target video corresponding with target URL, wherein, target URL includes first object
URL and the second target URL, the target video include the first object video corresponding with first object URL, and with this
The second corresponding two target URL target video;According to session section extraction model, first object URL session portion is determined
Point, and second target URL session section, the session section extraction model are according at least two first sampling URL
What session section determined, wherein, respectively first sampling URL is corresponding with the first user equipment, respectively first sampling URL meeting
The character string of words part is identical, and first sampling URL session section is included in first sampling URL in addition to User Part
Part, first sampling URL User Part are used to indicate first user equipment, first sampling URL session section
Be contained in first sampling URL non-host name Host parts, non-Host part be URL character string in except Host parts with
Outer part, at least two first samplings URL and at least two first the sample videos one-to-one corresponding, and this at least two first
Sample video belongs to same video playback session;If the session of first object URL session section and second target URL
Part is identical, it is determined that the first object video belongs to same video playback session with second target video.
With reference in a first aspect, in the first implementation of first aspect, according to session section extraction model, it is determined that
Before first object URL session section, this method also includes:Receive at least two first sampling URL;Travel through this first
URL non-Host parts are sampled, it is determined that respectively first sampling URL session section;According at least two first sampling URL's
Session section, determine the session section extraction model.
With reference to first aspect and its above-mentioned implementation, in second of implementation of first aspect, the reception this extremely
Few two first samplings URL, including:Within the first period, at least two first sampling URL is received, first period is root
Determined according to the duration of the first corresponding sample video for the URL being initially received at least two first sampling URL.
With reference to first aspect and its above-mentioned implementation, in the third implementation of first aspect, it is determined that respectively should
Before first sampling URL session section, this method also includes:Outside first period, at least one second sampling is received
URL, second sampling URL are corresponding with first user equipment;According to respectively this first sampling URL and this second sampling URL, really
Fixed respectively first sampling URL User Part, in the first sampling URL and second sampling URL, the character of the User Part
Go here and there identical;From at least two first sampling URL, the User Part is removed.
With reference to first aspect and its above-mentioned implementation, in the 5th kind of implementation of first aspect, this at least two
The depth of first sampling URL path P ath parts is identical.
With reference to first aspect and its above-mentioned implementation, in the 6th kind of implementation of first aspect, respectively this first is adopted
In the Quey Param that sample URL search parameter Quey Param parts include, the different Quey Param quantity of parameter name is small
In equal to first threshold.
With reference to first aspect and its above-mentioned implementation, in the 7th kind of implementation of first aspect, travel through this
Before one sampling URL non-Host parts, this method also includes:According to identification division extraction model, determine this at least two
One sampling URL identification division, wherein, the identification division extraction model is the mark part according at least two the 3rd sampling URL
Divide what is determined, wherein, respectively the character string of the 3rd sampling URL identification division is identical, respectively the 3rd sampling URL character string phase
Different, the user equipment respectively corresponding to the 3rd sampling URL is different, and respectively the 3rd sampling URL is corresponding with the second sample video,
3rd sampling URL identification division is contained in the 3rd sampling URL non-Host parts;From at least two first sampling
In URL, the identification division is removed.
With reference to first aspect and its above-mentioned implementation, in the 8th kind of implementation of first aspect, travel through this
Before one sampling URL non-Host parts, this method also includes:According to part charge extraction model, determine this at least two
One sampling URL part charge, wherein, the part charge extraction model is determined according to the segment information, the segment information
To be based on part charge extraction conditions, to the first sample information set and the second sample information set carry out contrast processing and from this
Determined in first sample information set and the second sample information set, the first sample information set is according to the 4th sampling
What URL was determined, the 4th sampling URL includes path P ath parts and search parameter Quey Param parts, the 4th sampling URL
Quey Param parts include K Quey Param, the first sample information set is including in the first information and the second information
It is at least one, the first information be used for indicate the 4th sampling URL Path parts depth and Path values, second information
For K Quey Param for indicating the 4th sampling URL title and parameter value, the second sample information set is according to the
What five sampling URL were determined, the 5th sampling URL includes Path parts and Quey Param parts, the 5th sampling URL Quey
Param parts are identical with corresponding 3rd videos of the 5th sampling URL including M Quey Param, the 4th sampling URL, should
Including at least one in the 3rd information and the 4th information, the 3rd information is used to indicate that the 5th adopts for 5th sample information set
The depth and Path values of sample URL Path parts, the 4th information are used for M Quey Param for indicating the 5th sampling URL
Title and parameter value, the part charge extraction conditions include first condition, second condition and third condition in it is at least one,
The first condition is:The depth of the Path parts of segment information instruction is in the first sample information set and the second sampling letter
It is identical in breath set, and segment information instruction Path values are in the first sample information set and the second sample information set
In it is different, the second condition is:The segment information instruction Quey Param title belong to the first sample information set and
Second sample information set both sides, and the Quey Param of segment information instruction parameter value is in the first sample information collection
Different in conjunction and the second sample information set, the third condition is:The Quey Param of segment information instruction title is only
The side belonged in the first sample information set and the second sample information set;From at least two first sampling URL,
Remove the part charge.
With reference to first aspect and its above-mentioned implementation, in the 9th kind of implementation of first aspect, the 4th sampling
URL is the URL that the first user equipment is sent in three sample video of acquisition request, and the 5th sampling URL is first use
The URL that family equipment is sent in the fragment of the sample video of acquisition request the 3rd;Or the 4th sampling URL be the first user equipment
The URL sent in the fragment of the sample video of acquisition request the 3rd, the 5th sampling URL is that first user equipment is being asked
Obtain the URL sent during three sample videos;Or the 4th sampling URL be that the first user equipment is adopted in acquisition request the 3rd
The URL sent during the first fragment of sample video, the 5th sampling URL are that first user equipment samples in acquisition request the 3rd
The URL sent during the second fragment of video, wherein, first fragment and second fragment are different.
With reference to first aspect and its above-mentioned implementation, in the tenth kind of implementation of first aspect, the determination is with being somebody's turn to do
Target video corresponding target URL, including:Reception and memory buffers video and at least one caching in the buffer memory device
URL, wherein, respectively caching URL is corresponding with the buffered video;According to identification division extraction model, determine caching URL's
Identification division, wherein, the identification division extraction model is determined according at least two the 3rd sampling URL identification division, its
In, respectively the character string of the 3rd sampling URL identification division is identical, and respectively the 3rd sampling URL character string is different, and respectively the 3rd
The user equipment sampled corresponding to URL is different, and respectively the 3rd sampling URL is corresponding with the second sample video, the 3rd sampling
URL identification division is contained in the 3rd sampling URL non-Host parts;Target URL non-Host parts are traveled through, if really
The character string of identification division comprising caching URL in fixed target URL non-Host parts, it is determined that the buffered video is should
Target video.
With reference to first aspect and its above-mentioned implementation, in a kind of the tenth implementation of first aspect, this method is also
Including:At least one authentication URL is received, and caching URL identification division is included in the non-Host substrings of the authentication URL
Character string;The authentication URL is forwarded to server;Receive the checking video that the server is sent according to the authentication URL;It is determined that should
Verify that video is identical with the buffered video.
With reference to first aspect and its above-mentioned implementation, in the 12nd kind of implementation of first aspect, this method is also
Including:The 6th sampling URL and the 4th sample video are received, wherein, the 6th sampling URL is corresponding with the 4th video, should
4th sample video and second sample video are different;According to the identification division extraction model, the 6th mark for sampling URL is determined
Know part;The lap between the 6th sampling URL identification division and the 3rd sampling URL identification division is determined, this is heavy
Folded part includes at least one in Path values identical Path ranks and parameter value identical Quey Param;Adopted from the 3rd
The lap is removed in sample URL identification division, to update the 3rd sampling URL identification division;According to after renewal
Three sampling URL identification division, updates the identification division extraction model.
Second aspect, there is provided a kind of video identification device, the device include:Transmit-Receive Unit, for receiving targeted customer
The destination Uniform Resource finger URL URL that equipment is sent;Determining unit, for determining the target video corresponding with target URL,
Wherein, target URL includes first object URL and the second target URL, and the target video includes relative with first object URL
The first object video answered, and second target video corresponding with second target URL, mould is extracted according to session section
Type, determine first object URL session section, and second target URL session section, the session section extraction model
It is to be determined according at least two first sampling URL session section, wherein, respectively first sampling URL is set with the first user
Standby corresponding, respectively the character string of first sampling URL session section is identical, and first sampling URL session section includes should
Part in first sampling URL in addition to User Part, first sampling URL User Part are used to indicate that first user sets
It is standby, the non-host name Host parts for being contained in first sampling URL of first sampling URL session section, the non-Host portions
Point be URL character string in part in addition to Host parts, at least two first sampling URL samples with least two first
Video corresponds, and at least two first sample video belongs to same video playback session;Identifying unit, if for being somebody's turn to do
First object URL session section is identical with second target URL session section, it is determined that the first object video with this
Two target videos belong to same video playback session.
With reference to second aspect, in the first implementation of second aspect, the Transmit-Receive Unit is additionally operable to receive this at least
Two first sampling URL;The determining unit is additionally operable to travel through first sampling URL non-Host parts, it is determined that respectively this first is adopted
Sample URL session section, according at least two first sampling URL session section, determine the session section extraction model.
With reference to second aspect and its above-mentioned implementation, in second of implementation of second aspect, the Transmit-Receive Unit
Specifically within the first period, receive this at least two first sampling URL, first period be according to this at least two first
What the duration of the first corresponding sample video for the URL being initially received in sampling URL determined.
With reference to second aspect and its above-mentioned implementation, in the third implementation of second aspect, the Transmit-Receive Unit
It is additionally operable to outside first period, receives at least one second sampling URL, the second sampling URL and the first user equipment phase
It is corresponding;The determining unit is additionally operable to according to the respectively first sampling URL and second sampling URL, it is determined that respectively first sampling URL
User Part, this first sampling URL with this second sampling URL in, the character string of the User Part is identical, from this at least two
In first sampling URL, the User Part is removed.
With reference to second aspect and its above-mentioned implementation, in the 4th kind of implementation of second aspect, the determining unit
It is additionally operable to, according to identification division extraction model, determine at least two first sampling URL identification division, wherein, the mark part
Point extraction model is determined according at least two the 3rd sampling URL identification division, wherein, each the 3rd mark for sampling URL
The character string of knowledge part is identical, and respectively the 3rd sampling URL character string is different, and respectively the user corresponding to the 3rd sampling URL sets
Standby different, respectively the 3rd sampling URL is corresponding with the second sample video, and the 3rd sampling URL identification division is contained in this
3rd sampling URL non-Host parts;For from least two first sampling URL, removing the identification division.
With reference to second aspect and its above-mentioned implementation, in the 5th kind of implementation of second aspect, the determining unit
It is additionally operable to, according to part charge extraction model, determine at least two first sampling URL part charge, wherein, the subsection part
Dividing extraction model is determined according to the segment information, and the segment information is to be based on part charge extraction conditions, is sampled to first
Information aggregate and the second sample information set carry out contrasting processing and from the first sample information set and second sample information
Determined in set, the first sample information set is determined according to the 4th sampling URL, and the 4th sampling URL includes path
Path parts and search parameter Quey Param parts, the 4th sampling URL Quey Param parts include K Quey
Param, including at least one in the first information and the second information, the first information is used to indicate for the first sample information set
The depth and Path values of 4th sampling URL Path parts, second information are used for indicate the 4th sampling URL K
Quey Param title and parameter value, the second sample information set are determined according to the 5th sampling URL, the 5th sampling
URL includes Path parts and Quey Param parts, and the 5th sampling URL Quey Param parts include M Quey
Param, the 4th sampling URL and the 5th corresponding 3rd videos of sampling URL are identical, and the 5th sample information set includes the
At least one in three information and the 4th information, the 3rd information is used for the depth for indicating the 5th sampling URL Path parts
With Path values, the 4th information is used for the title and parameter value for indicating the 5th sampling URL M Quey Param, the segmentation
Including at least one in first condition, second condition and third condition, the first condition is extracting section condition:The segmentation is believed
It is identical in the first sample information set and the second sample information set to cease the depth of the Path parts of instruction, and the segmentation
Information instruction Path values are different in the first sample information set and the second sample information set, and the second condition is:
The Quey Param of segment information instruction title belongs to the first sample information set and the second sample information set is double
Side, and the Quey Param of segment information instruction parameter value is in the first sample information set and the second sample information collection
Different in conjunction, the third condition is:The Quey Param of segment information instruction title only belongs to the first sample information collection
A side in conjunction and the second sample information set;For from least two first sampling URL, removing the part charge.
With reference to second aspect and its above-mentioned implementation, in the 6th kind of implementation of second aspect, the Transmit-Receive Unit
Reception and memory buffers video and at least one caching URL in the buffer memory device are additionally operable to, wherein, respectively caching URL is equal
It is corresponding with the buffered video;The determining unit is specifically used for the mark for according to identification division extraction model, determining caching URL
Part, wherein, the identification division extraction model is determined according at least two the 3rd sampling URL identification division, wherein, respectively
The character string of 3rd sampling URL identification division is identical, and respectively the 3rd sampling URL character string is different, respectively the 3rd sampling
User equipment corresponding to URL is different, and respectively the 3rd sampling URL is corresponding with the second sample video, the 3rd sampling URL's
Identification division is contained in the 3rd sampling URL non-Host parts;Travel through target URL non-Host parts, if it is determined that should
The character string of identification division comprising caching URL in target URL non-Host parts, it is determined that the buffered video is the target
Video.
With reference to second aspect and its above-mentioned implementation, in the 7th kind of implementation of second aspect, the Transmit-Receive Unit
It is additionally operable to receive the 6th sampling URL and the 4th sample video, wherein, the 6th sampling URL is corresponding with the 4th video, should
4th sample video and second sample video are different;The determining unit is additionally operable to be used for according to the identification division extraction model,
The 6th sampling URL identification division is determined, determines the mark part of the 6th sampling URL identification division and the 3rd sampling URL
/ lap, the lap include Path values identical Path ranks and parameter value identical Quey Param in
At least one of, for removing the lap from the 3rd sampling URL identification division, to update the 3rd sampling URL
Identification division;For the identification division according to the 3rd sampling URL after renewal, the identification division extraction model is updated.
The third aspect, there is provided a kind of video recognition system, the system include:Each realization of second aspect and second aspect
Each video identification device of mode, user equipment and server.
Video frequency identifying method according to embodiments of the present invention, device and system, utilize content identical at least two first
Sample video distinguish corresponding to first sampling URL, training obtain session section extraction model, the session section extraction model use
In the session section of the video playback session belonging to the extraction instruction video from URL, so as to receive first object video
When distinguishing corresponding first object URL and the second target URL with the second target video, mould can be extracted according to the session section
Type, the session section in first object URL and the second target URL is determined, and then it is determined that first object URL and the second target
After session section in URL is identical, it can determine that first object video and the second target video belong to same video playback meeting
Words, thus, it is possible to which one click will be considered as to the click of first object video and the second target video, so as to improve clicking rate
The accuracy of calculating, also, in the case of only by identifying URL, being just able to confirm that needs to first object video and second
Target video carries out identical increment processing, improves the efficiency of processing.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention
Accompanying drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for
For ability those of ordinary skill, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other
Accompanying drawing.
Fig. 1 is the indicative flowchart of video frequency identifying method according to embodiments of the present invention.
Fig. 2 is the schematic diagram of one for representing the dividing mode of each several part in URL.
Fig. 3 is the schematic diagram of one of the depth and Path values that represent the Path parts in URL.
Fig. 4 is the schematic block diagram of video identification device according to embodiments of the present invention.
Fig. 5 is the schematic diagram of video identification equipment according to embodiments of the present invention.
Fig. 6 is the schematic architectural diagram of video recognition system according to embodiments of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that ability those of ordinary skill is obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that ability those of ordinary skill is obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
In technical scheme, the communication network access offer that user equipment can be provided by telecom operators regards
The server of frequency business, also, the communication network can be for example:Global system for mobile communications (GSM, Global System
Of Mobile communication), CDMA (CDMA, Code Division Multiple Access) system is wide
Band CDMA (WCDMA, Wideband Code Division Multiple Access Wireless), general packet without
Line service (GPRS, General Packet Radio Service), Long Term Evolution (LTE, Long Term Evolution)
Deng.
User equipment (UE, User Equipment), also referred to as mobile terminal (Mobile Terminal), movement
User equipment etc., can be through above-mentioned communication network (for example, RAN, Radio Access Network) and one or more cores
Net (for example, network where above-mentioned server) is communicated, and user equipment can be mobile terminal, as mobile phone (or
For " honeycomb " phone) and with mobile terminal computer, for example, it may be in portable, pocket, hand-held, computer
Mobile device put or vehicle-mounted, they exchange language and/or data with wireless access network.
Also, http communication mode in embodiments of the present invention, can be used between user equipment and server, or
Say, the information transmitted between user equipment and server meets http communication rule.
For example, user is by user equipment access video website, during watching video, video website can wish for user
The video (for example, video desired by user is known by the click behavior of user) of viewing is hoped, distributes and is somebody's turn to do for the user equipment
The corresponding URL of video, user equipment send the request message for carrying the URL to the server of the video website, so as to clothes
Business device can find the video according to the URL, and be handed down to user equipment.
In addition, in embodiments of the present invention, what the communication between user equipment and server provided via telecom operators
Communication network is carried out, for example, user equipment is sent to message (for example, request plays the message of video segment) needs of server
The form for meeting above-mentioned communication network transmission rule is packaged into first, and should via the gateway device of such as communication network
Message is converted to the form that server can identify.Similar, server from gateway device after the message is received, Ke Yicha
The video corresponding with the message is looked for, and can be by the video encapsulation by the transmission of video to above-mentioned gateway device, gateway device
Meet the form of above-mentioned communication network transmission rule into service, and be issued to user equipment.
In order to improve Consumer's Experience, shorten the stand-by period that user watches video, telecom operators would generally set caching
Equipment, to cache the video obtained from telecom operators.Also, the buffer memory device is generally communicated to connect or integrated with gateway device
In one.
In order to make it easy to understand, the video identification side of the embodiment of the present invention is used as using the gateway device with video cache function
The executive agent of method, is illustrated.
Fig. 1 shows the indicative flowchart of video frequency identifying method 100 according to embodiments of the present invention.As shown in figure 1, should
Method includes:
S110, the destination Uniform Resource finger URL URL that target UE is sent is received, it is determined that relative with target URL
The target video answered, wherein, target URL includes first object URL and the second target URL, the target video include with this
First object video corresponding one target URL, and second target video corresponding with second target URL;
S120, according to session section extraction model, determine first object URL session section, and second target
URL session section, the session section extraction model are determined according at least two first sampling URL session section, its
In, respectively first sampling URL is corresponding with the first user equipment, respectively the character string phase of first sampling URL session section
Together, first sampling URL session section includes the part in addition to User Part, first sampling in first sampling URL
URL User Part is used to indicate first user equipment, and first sampling URL session section is contained in first sampling
URL non-host name Host parts, non-Host part be URL character string in part in addition to Host parts, this is at least
Two first sampling URL and at least two first sample videos correspond, and at least two first sample video belongs to same
One video playback session;
S130, if first object URL session section is identical with second target URL session section, it is determined that
The first object video belongs to same video playback session with second target video.
Specifically, for example, the reason such as player used due to network state, user class and user equipment, equally
Video content, might have miscellaneous editions, for example, SD format version, high-definition format version, product placement version, go it is wide
Accuse format version that version and various video players are supported etc..Also, video website is to regard the video of each version
For different videos, for example, different servers is stored in for the video of different editions, thus, watch difference in user's request
During the video of version, video website also can be the different URL of the video distribution of different editions.It should be understood that listed above causes
There is same video the reason for multiple video versions to be merely illustrative, and the present invention is not limited to this.
Also, in URL, it will usually carry for indicating video playback session (in other words, the video belonging to the video
Play service) character string, i.e. session section, also, belonging to the different video of same video playback business (for example, code check
Different videos) URL in, this is used to indicate the character of the video playback session (in other words, video content) belonging to video
Go here and there identical.
Therefore in the embodiment of the present invention, it can be trained by sampling URL (that is, the first sampling URL), obtain session portion
Point extraction model (following, for the ease of understanding and illustrating, referred to as Session extracting sections model), thus, it is possible to realize from
Above-mentioned session section (following, for the ease of understanding and illustrating, referred to as Session parts) is extracted in URL, and it is possible to judge
The video content of the multiple videos of session section identical is also identical.
Below, the training process of the Session extracting section models is described in detail first.
Alternatively, according to session section extraction model, before the session section for determining first object URL, this method
Also include:
Receive at least two first sampling URL;
First sampling URL non-Host parts are traveled through, it is determined that respectively first sampling URL session section;
According at least two first sampling URL session section, the session section extraction model is determined
Specifically, for example, gateway device obtains URL#A one of URL (that is, first sampling), wherein, the URL#A with
User equipment A (one of the first user equipment) is corresponding, also, the URL#A and video A (that is, the one of the first sample video
Example) it is corresponding, for example, it may be gateway device is from the HTTP message for being used to ask to play video A from user equipment A
Extraction, or or gateway device from the HTTP for being used to ask to play video A fragment from user equipment A
Extracted in message.
It should be noted that URL#A listed above acquisition process is merely illustrative, the present invention is not limited to
This, for example, the URL#A can also be supplied to gateway device by internet video publisher, as long as being able to ensure that the URL#A
It is corresponding with user equipment A, and the URL#A is corresponding with video A, for example, in the prior art, the URL#A can conduct
Complete video A index, or the URL#A can be as the index of video A a certain fragment.
In the URL that user equipment is sent in acquisition request video, corresponding with the video content of the video is above-mentioned
Session parts are typically found in URL path (Path) part or search parameter (Quey Param) part, i.e. should
Session parts are probably the Path values of a certain depth in Path parts, it is also possible to a certain in Quey Param parts
The value of parameter.
Therefore, in embodiments of the present invention, gateway device can extract the Path of the URL#A after the URL#A is obtained
Part and/or Quey Param parts.
Fig. 2 shows one of the composition of each several part in URL character string, as shown in Fig. 2 URL domain name (Host) portion
Divide and separated between Path parts by "/" symbol, therefore, the network equipment can be by first "/" symbol after Host parts
Character recognition after (in other words, last "/" symbol in URL) is the bebinning character of Path parts.
Also, as shown in Fig. 2 URL Path part Quey Param parts between by "" symbol separates, therefore, net
Network equipment can by Path part (in other words, last "/" symbol in URL) after first "" word after symbol
Symbol is identified as the bebinning character of Path parts.Thus, it is possible to realize the extraction of Quey Param parts.
In addition, the network equipment can by after the path parts first "" character recognition after symbol is Path portions
The termination character divided, so as to which with reference to the bebinning character of above-mentioned Path parts, the extraction of Path parts can be realized.
It should be understood that the extracting method of Path parts listed above and the extracting method of Quey Param parts are only to show
Example property explanation, the present invention is not limited to this, can accordingly changed according to URL change, for example, some URL be present
Only exist Path part and in the absence of Quey Param parts situation, in this case, need only its determination Path parts starting
Character.Also, Host parts and the list separator (that is, "/" symbol) of Path parts and Path parts listed above
Between Quey Param parts list separator (that is, "" symbol) be merely illustrative, the present invention is not limited to this,
In the prior art, it can realize that the symbol for separating mark action is each fallen within protection scope of the present invention used by URL.
Gateway device is after completing to URL#A Path extracting sections, it may be determined that the depth of URL#A Path parts
Degree and Path values.
Specifically, the depth (in other words, rank) of Path parts can be according to the "/" symbol that Path parts include
Quantity determines, for example, Fig. 3 shows the schematic diagram of one of the Path parts in URL.By taking the URL shown in Fig. 3 as an example, the URL
Including six "/" symbols, hence, it can be determined that its depth is 6, wherein,
The Path values of 1st grade of depth are " sec (44ab57eec5d981faa33) ";
The Path values of 2nd grade of depth are " frag (0) ";
The Path values of 3rd level depth are " video ";
The Path values of 4th grade of depth are " 484 ";
The Path values of 5th grade of depth are " 516 ";
The Path values of 6th grade of depth are " 56615484_mp4_h264_aac_1.flv ".
Equally, gateway device is after completing to URL#A Quey Param extracting sections, it may be determined that URL#A's
Whole Quey Param title and parameter value in Quey Param parts.
Under normal circumstances, Quey Param form is " NAME=VALUE " in URL, and NAME is parameter name, and Value is
Parameter value.It can be only NAME but the present invention is not limited to this, can be that NAME is that empty or VALUE is
It is empty, i.e. Quey Param form can be in URL:
" NAME=VALUE ", or
" NAME ", or
" NAME=" or
"=VALUE ".
Specifically, by taking the URL shown in Fig. 2 as an example, the URL includes 9 " & " symbols, hence, it can be determined that it includes 9
Individual Quey Param, wherein,
Character string corresponding to 1st Quey Param is " 4 ", and its parameter is entitled " 4 ", and parameter value is sky;
Character string corresponding to 2nd Quey Param is " ipbits=0 ", and its parameter is entitled " ipbits ", parameter value
For " 0 ";
Character string corresponding to 3rd Quey Param is
" signature=.BC606865625583C2BE5AA6472A7536D827ED7E58 ",
Its parameter is entitled " signature ", and parameter value is
“.BC606865625583C2BE5AA6472A7536D827ED7E58”;
Character string corresponding to 4th Quey Param is " sver=3 ", and its parameter is entitled " sver ", and parameter value is
“3”;
Character string corresponding to 5th Quey Param is " expire=1252105200 ", and its parameter is entitled
" expire ", parameter value are " 1252105200 ";
Character string corresponding to 6th Quey Param is " key=yt1 ", and its parameter is entitled " key ", and parameter value is
“yt1”;
Character string corresponding to 7th Quey Param is factor=1.25 ", and its parameter is entitled " factor ", parameter
It is worth for " 1.25 ";
Character string corresponding to 8th Quey Param is burst=40 ", and its parameter is entitled " burst ", and parameter value is
“40”;
Character string corresponding to 9th Quey Param is " id=c19764dece17ab ", and its parameter is entitled " id ", ginseng
Numerical value is " c19764dece17ab ".
So as to as set forth above, it is possible in determining depth Path values and the Quey Param parts of URL#A Path parts
Each Quey Param title and parameter value.
In addition, gateway device obtains URL#B (that is, the first sampling URL another example), wherein, the URL#B and user equipment
A is corresponding, also, the URL#B and video B (that is, another example of the first sample video) is corresponding, for example, it may be gateway is set
It is standby to extract from the HTTP message for being used to ask to play video B from user equipment A, or or gateway set
It is standby to be used in the HTTP message for the fragment that request plays video B what is extracted from from user equipment A.
Gateway device can extract the Path parts and/or Quey Param portions of the URL#B after the URL#B is obtained
Point, and the depth and Path values of URL#B Path parts can be determined, and in URL#B Quey Param parts all
Quey Param title and parameter value.The process is similar to the above-mentioned processing procedure for URL#A, here, in order to avoid superfluous
State, description is omitted.
It should be noted that video website by same user equipment ask belong to same video playback session (or
Say, video playback business) the URL that is distributed of different video (for example, different video format or code check) in, generally only
Session is partly and for indicating that the user's signature part (that is, part corresponding with user equipment) of the user equipment is phase
With, therefore, in order to accurately determine Session parts, it is necessary to make URL#A and URL#B belong to same video playback session,
In other words, therefore, to assure that the video content of the video corresponding to URL#A and URL#B is identical, furthermore, it is desirable to exclude above-mentioned user's label
The interference of name part.
For determining that URL#A and URL#B belongs to the method for same video playback session, procedure below can be enumerated.
Alternatively, the reception at least two first sampling URL, including:
Within the first period, receive this at least two first sampling URL, first period be according to this at least two first
What the duration of the first corresponding sample video for the URL being initially received in sampling URL determined.
Specifically, gateway device can record the reception of the URL#A after the URL#A from user equipment A is received
Moment t1, and the modes such as video content analysis can be used, the video duration L of the video A corresponding to the URL#A is obtained, this
In it should be noted that when corresponding to URL#A being video A video segment, video duration L refers to belonging to the video segment
In complete video A duration.
Set when being received in the time range T that the length using the t1 moment as initial time is video duration L from user
During standby A URL#B, because the URL#B and URL#A is all from user equipment A, also, the URL#B is in above-mentioned time range T
Inside receive, therefore, gateway device may infer that the URL#B is during the broadcasting of video A (or video A fragment)
Inside receive, and then gateway device can determine that the video corresponding to the URL#B and URL#A belongs to same video playback meeting
Words.
Alternatively, the depth of at least two first sampling URL path P ath parts is identical.
Specifically, the Path parts for belonging to each URL corresponding to the video of same video playback session generally have phase
With Path depth, therefore, can be further by after it is determined that the URL#B is identical with the depth of URL#A Path parts
The reliability that the video corresponding to the URL#B and URL#A belongs to same video playback session is improved, and then improves the present invention and implements
The accuracy of the Session extracting section models of example.
Alternatively, in the Quey Param that respectively first sampling URL search parameter Quey Param parts include, parameter
The different Quey Param quantity of name is less than or equal to first threshold.
Specifically, belong in the Quey Param parts of each URL corresponding to the video of same video playback session and wrap
The Quey Param's contained generally has certain similitude, for example, the different Quey Param of parameter name quantity is typically smaller than
Equal to first threshold, for example, 5, therefore, by it is determined that parameter name is different in the URL#B and URL#A Quey Param
Quey Param quantity is less than or equal to first threshold, and the video that can further improve corresponding to the URL#B and URL#A belongs to
The reliability of same video playback session, and then improve the accuracy of the Session extracting section models of the embodiment of the present invention.
It should be understood that the quantity listed above as first threshold is merely illustrative, the present invention is not limited to this,
It can be needed according to standard or the requirement of internet video publisher carries out any change.
Also, the video corresponding to determination URL#A and URL#B listed above belongs to the method for same video playback session
It is merely illustrative, the present invention is not limited to this, for example, again with the mode sampled offline, directly from management equipment or number
Obtained according to storehouse and belong to the different video of same video playback session and corresponding URL.
For the method for the interference for excluding user's signature part, procedure below can be enumerated.
Alternatively, outside the first period, at least one second sampling URL, the second sampling URL and first user are received
Equipment is corresponding, and first period is according to the corresponding of the URL being initially received in described at least two first sampling URL
What the duration of the first sample video determined;
Traversal respectively this first sampling URL and this second sampling URL non-Host parts, with determine respectively this first sampling URL
In the part corresponding with first user equipment, wherein, the first sampling URL with this with second sampling URL, first using
The character string of the corresponding part of family equipment is identical
Specifically, gateway device can record the reception of the URL#A after the URL#A from user equipment A is received
Moment t1, and the modes such as video content analysis can be used, the video duration L of the video A corresponding to the URL#A is obtained, this
In it should be noted that when corresponding to URL#A being video A video segment, video duration L refers to belonging to the video segment
In complete video A duration.
When being beyond video duration L time range T, for example, with the t1 moment in the length using the t1 moment as initial time
For initial time, at the time of after 2 times of video duration L, URL#C (the second sampling URL from user equipment A are received
One) when, because the URL#C and URL#A are all from user equipment A, also, the URL#C is external in above-mentioned time range T
Receive, therefore, gateway device may infer that the URL#C be during the broadcasting of video A (or video A fragment) beyond
Receive, and then gateway device can determine that the video corresponding to the URL#C and URL#A is not belonging to same video playback meeting
Words.Also, because URL#C and URL#A are all from user equipment A, therefore, the URL#C in URL#A for identifying the user with setting
Standby A character string (that is, user's signature part) is identical, therefore, by removing the same section from URL#A, can remove use
The interference of family signature section.By same method, the interference of user's signature part can be removed from URL#B.
Alternatively, the character string of the Host parts of at least two the oneth URL is identical.
Specifically, due to same video website, when generating URL, used rule is generally identical, for example, for two
Individual video content identical video, the rank of Path parts or Quey Param title for indicating its video content are led to
Chang Xiangtong, therefore by being used as above-mentioned URL#A and URL#B from Host part identical URL, it can be ensured that generate the URL#A
It is identical with URL#B video website, so as to improve the accuracy of the Session extracting section models.
In embodiments of the present invention, internet video publisher may will belong to the different video of same video playback session
Copy is considered as same video, so that the different video pair is identified with identical identification information, therefore, in URL#A and URL#B
In addition to above-mentioned session section, the identification division for identifying video may also be identical, therefore, it is necessary to removes the identification division
Interference.
For the method for the interference for excluding identification division, procedure below can be enumerated.
Alternatively, before first sampling URL non-Host parts are traveled through, this method also includes:
According to identification division extraction model, at least two first sampling URL identification division is determined, wherein, the mark
Extracting section model is determined according at least two the 3rd sampling URL identification division, wherein, respectively the 3rd sample URL's
The character string of identification division is identical, and respectively the 3rd sampling URL character string is different, respectively the user corresponding to the 3rd sampling URL
Equipment is different, and respectively the 3rd sampling URL is corresponding with the second sample video, and the 3rd sampling URL identification division is contained in
3rd sampling URL non-Host parts;
From at least two first sampling URL, the identification division is removed.
Specifically, for same video, in multiple URL (for example, what different user used when accessing the same video
Multiple URL, or same user access multiple URL that the same video uses in multiple times) in, exist in identical
Hold, for example, continuous a part of character string in URL is i.e., identification division.
In embodiments of the present invention, can utilize and sample URL (that is, the 3rd sampling URL), by train obtain be used for from
The identification division extraction model of identification division is extracted in URL.
In embodiments of the present invention, as the 3rd sampling URL, corresponding to together from different user devices can be used
The URL of one video (for the ease of distinguishing, being denoted as video D).Also, in embodiments of the present invention, the 3rd sampling URL quantity
For two or more, for the ease of understanding and illustrating, below, so that the 3rd sampling URL is URL#D and URL#E as an example, enter
Row explanation.
Wherein, the URL#D is corresponding with user equipment D, also, the URL#D is corresponding with video D, for example, it may be net
Close what equipment was extracted from the HTTP message for being used to ask to play video D from user equipment D, or or net
Close what equipment was extracted from the HTTP message for being used to ask to play video D fragment from user equipment D.
The URL#E is corresponding with user equipment E, also, the URL#E is corresponding with video D, for example, it may be gateway is set
It is standby to extract from the HTTP message for being used to ask to play video D from user equipment E, or or gateway set
It is standby to be used in the HTTP message for the fragment that request plays video D what is extracted from from user equipment E
It should be noted that URL#D listed above and URL#E acquisition process are merely illustrative, the present invention is simultaneously
This is not defined in, for example, the URL#D can also be supplied to gateway device by internet video publisher, as long as can be true
It is corresponding with user equipment D to protect the URL#D, and the URL#D is corresponding with video D that (for example, in the prior art, the URL#D can be with
As complete video D index, or the URL#D can be as the index of video D a certain fragment).
Equally, the URL#E can also be supplied to gateway device by internet video publisher, as long as being able to ensure that this
URL#E is corresponding with user equipment E, and the URL#E is corresponding with video D (for example, in the prior art, the URL#E can conduct
Complete video D index, or the URL#E can be as the index of video D a certain fragment).
In addition, in embodiments of the present invention, therefore, to assure that URL#D same videos (that is, video D) corresponding with URL#E.As
Implementation method, it may be determined that the video frequency abstract D of the video corresponding to URL#D, and the video frequency abstract of the video corresponding to URL#E
E, when it is determined that video frequency abstract D is identical with video frequency abstract E, it may be determined that URL#D same videos corresponding with URL#E.
In the URL that user equipment is sent in acquisition request video or video segment, the above-mentioned mark corresponding with video
Part is typically found in URL path (Path) part or search parameter (Quey Param) part, i.e. the identification division can
It can be the Path values of a certain depth in Path parts, it is also possible to the value of a certain parameter in Quey Param parts.
Therefore, in embodiments of the present invention, gateway device can extract the URL# after the URL#D and URL#E is obtained
D Path parts and/or Quey Param parts, and the Path parts of the URL#E and/or Quey Param parts.
Fig. 2 shows one of the composition of each several part in URL character string, as shown in Fig. 2 URL domain name (Host) portion
Divide and separated between Path parts by "/" symbol, therefore, the network equipment can be by first "/" symbol after Host parts
Character recognition after (in other words, last "/" symbol in URL) is the bebinning character of Path parts.
Also, as shown in Fig. 2 URL Path part Quey Param parts between by "" symbol separates, therefore, net
Network equipment can by Path part (in other words, last "/" symbol in URL) after first "" word after symbol
Symbol is identified as the bebinning character of Path parts.Thus, it is possible to realize the extraction of Quey Param parts.
In addition, the network equipment can by after the path parts first "" character recognition after symbol is Path portions
The termination character divided, so as to which with reference to the bebinning character of above-mentioned Path parts, the extraction of Path parts can be realized.
It should be understood that the extracting method of Path parts listed above and the extracting method of Quey Param parts are only to show
Example property explanation, the present invention is not limited to this, can accordingly changed according to URL change, for example, some URL be present
Only exist Path part and in the absence of Quey Param parts situation, in this case, need only its determination Path parts starting
Character.Also, Host parts and the list separator (that is, "/" symbol) of Path parts and Path parts listed above
Between Quey Param parts list separator (that is, "" symbol) be merely illustrative, the present invention is not limited to this,
In the prior art, it can realize that the symbol for separating mark action is each fallen within protection scope of the present invention used by URL.
Gateway device is after completing to URL#D and URL#E Path extracting sections, it may be determined that URL#D Path
Partial depth and Path values.
Specifically, the depth (in other words, rank) of Path parts can be according to the "/" symbol that Path parts include
Quantity determines, for example, Fig. 3 shows the schematic diagram of one of the Path parts in URL.By taking the URL shown in Fig. 3 as an example, the URL
Including six "/" symbols, hence, it can be determined that its depth is 6, wherein,
The Path values of 1st grade of depth are " sec (44ab57eec5d981faa33) ";
The Path values of 2nd grade of depth are " frag (0) ";
The Path values of 3rd level depth are " video ";
The Path values of 4th grade of depth are " 484 ";
The Path values of 5th grade of depth are " 516 ";
The Path values of 6th grade of depth are " 56615484_mp4_h264_aac_1.flv ".
Equally, gateway device is after completing to URL#D Quey Param extracting sections, it may be determined that URL#A's
Whole Quey Param title and parameter value in Quey Param parts.
Under normal circumstances, Quey Param form is " NAME=VALUE " in URL, and NAME is parameter name, and Value is
Parameter value.It can be only NAME but the present invention is not limited to this, can be that NAME is that empty or VALUE is
It is empty, i.e. Quey Param form can be in URL:
" NAME=VALUE ", or
" NAME ", or
" NAME=" or
"=VALUE ".
Specifically, by taking the URL shown in Fig. 2 as an example, the URL includes 9 " & " symbols, hence, it can be determined that it includes 9
Individual Quey Param, wherein,
Character string corresponding to 1st Quey Param is " 4 ", and its parameter is entitled " 4 ", and parameter value is sky;
Character string corresponding to 2nd Quey Param is " ipbits=0 ", and its parameter is entitled " ipbits ", parameter value
For " 0 ";
Character string corresponding to 3rd Quey Param is
" signature=.BC606865625583C2BE5AA6472A7536D827ED7E58 ",
Its parameter is entitled " signature ", and parameter value is
“.BC606865625583C2BE5AA6472A7536D827ED7E58”;
Character string corresponding to 4th Quey Param is " sver=3 ", and its parameter is entitled " sver ", and parameter value is
“3”;
Character string corresponding to 5th Quey Param is " expire=1252105200 ", and its parameter is entitled
" expire ", parameter value are " 1252105200 ";
Character string corresponding to 6th Quey Param is " key=yt1 ", and its parameter is entitled " key ", and parameter value is
“yt1”;
Character string corresponding to 7th Quey Param is factor=1.25 ", and its parameter is entitled " factor ", parameter
It is worth for " 1.25 ";
Character string corresponding to 8th Quey Param is burst=40 ", and its parameter is entitled " burst ", and parameter value is
“0”;
Character string corresponding to 9th Quey Param is " id=c19764dece17ab ", and its parameter is entitled " id ", ginseng
Numerical value is " c19764dece17ab ".
So as to as set forth above, it is possible to determine the depth Path values and Quey of URL#D and URL#E Path parts
Each Quey Param title and parameter value in Param parts.
Quey Param parts are not present due to there is a situation where URL to only exist Path parts as described above, therefore, can
Depth and Path values (that is, situation 1) that URL#D and URL#E only include Path parts can be present, it is also possible to URL# be present
Depth comprising Path parts and the title of whole Quey Param in Path values and Quey Param parts in D and URL#E
With the situation (that is, situation 2) of parameter value.
Below, the processing respectively to above-mentioned two situations illustrates.
Situation 1
Gateway device can travel through the Path values of depth at different levels in URL#D and URL#E Path parts, as URL#D and
The depth of URL#E Path parts is identical, in other words, when the series that Path parts include is identical, is compared step by step, for example,
The first order Path values in URL#D and URL#E Path parts can be compared first, i.e. first "/" symbol and second
Character string between "/" symbol, then compare the second level Path values in URL#D and URL#E Path parts, i.e. second
Character string between "/" symbol and the 3rd "/" symbol, the like.
Thus, it is possible to path values identical rank in URL#D and URL#E, and, identical Path values.
For example, set URL#D Path part as:/sec(44ab57eec5d981faa33)/frag(0)/video/484/
516/56615484_mp4_h264_aac_1.flv;
Also, URL#E Path parts are:/sec(98ac09efd2e662cef97)/frag(0)/video/580/
720/56615484_mp4_h264_aac_1.flv
Then gateway device can determine the 2nd grade of path values identical rank, 3rd level and the 5th grade in URL#D and URL#E.
So as to which the video website that gateway device can determine to issue video D is by the 2nd in Path parts in URL
Level, 3rd level and the 5th grade identify the fragment of video, for example, it may be determined that the 2nd grade in Path parts, 3rd level and the 5th grade of value
For indicating video D.
And then identification division extraction model can be defined as extract URL Path parts in the 2nd in Path parts
Level, 3rd level and the 5th grade of Path values.
Alternatively, this method also includes:
The 4th sampling URL and the 4th video is obtained, wherein, the 4th sampling URL is corresponding with the 4th video, and this
Four sample videos and the 3rd sample video are different;
According to identification division extraction model, the 4th identification division for sampling URL is determined;
The lap between the 4th sampling URL identification division and the 3rd sampling URL identification division is determined, should
Lap includes Path values identical Path ranks and/or parameter value identical Quey Param;
The lap is removed from the 3rd sampling URL identification division, to update the 3rd sampling URL mark part
Point;
According to the identification division of the 3rd sampling URL after renewal, the identification division extraction model is updated.
Specifically, can be with order to further improve the accuracy of the identification division extraction model determined as described above
Acquisition and the URL#N (one of the 4th sampling URL) corresponding to video N (one of the 4th sample video), wherein, issue this and regard
Frequency N is identical with video D video website, also, video N and video D different (for example, video frequency abstract is different).
For example, set URL#N Path part as:/sec(74cf57abe5f336fbe78)/frag(0)/video/665/
896/91362310_wma_p135_aac_8.flv;
Then gateway device can determine the 2nd grade of path values identical rank and 3rd level in URL#N, URL#D and URL#E, enter
And it can be determined that the 2nd grade cannot be used for distinguishing video with 3rd level in Path parts.
So as to which the video website that gateway device can determine to issue video D and video N is by Path parts in URL
In the 5th grade identify the fragment of video, for example, it may be determined that the 5th grade of value is used to indicate that this is regarded in URL#D Path parts
Frequency D.
And then identification division extraction model can be defined as extract URL Path parts in the 5th in Path parts
The Path values of level.
Situation 2
Gateway device can travel through the parameter value of each Quey Param in URL#D and URL#E Quey Param parts, from
And parameter value identical Quey Param in URL#D and URL#E are can determine, and, identical Path values.
For example, set URL#D Quey Param part as:
4&ipbits=0&signature=.BC606865625583C2BE5AA6472A7536D827 ED7E58&sver
=3&expire=1252105200&key=yt1&factor=1.25&burst=40&id=c197 64dece17ab
Also, URL#E Quey Param parts are:
5&ipbits=1&signature=9879DD9541B65704625CAB118092DFD1518 56C&sver=
4&expire=1252105201&key=yt1&factor=2.25&burst=50&id=c197 64dece17ab
Then gateway device can determine " and id " the Quey Param parameter of parameter entitled " key " in URL#D and URL#E
It is worth identical.
So as to which gateway device can determine that the video website for issuing video D is by Quey Param parts in URL
" key " " and id " parameters identify video, and " and id " parameter value is used to indicate video D for example, it may be determined that " key ".
And then identification division extraction model can be defined as the Quey Param parts for extracting URL by gateway device
In " key " " and id " parameters.
Train the method and process for obtaining identification division extraction model similar with situation 3 based on Path parts in situation 4,
Here, in order to avoid repeating, the description thereof will be omitted.
Further, since same video website used rule when generating URL is generally identical, for example, for different use
Family device request is watched in the different URL generated during same video, for the Path parts that identify the video rank or
Quey Param title is generally identical, therefore by being used as above-mentioned URL#D and URL#E, energy from Host part identical URL
Enough ensure, the generation URL#D and URL#E video website is identical, so as to improve the standard of the identification division extraction model
True property.
It should be noted that in the embodiment above, list and obtain identification division extraction mould using two URL to train
The process of type, but the present invention is not limited to this, can obtain identification division extraction model using more URL to train,
For example, as described above by contrast URL#D and URL#E so that it is determined that same section (including identical Path ranks and Path
Value, and/or, identical Quey Param title and parameter value, it is denoted as the ease of distinguishing, same section A) after, can be with
URL#Z is obtained, the URL#Z is corresponding with user equipment Z, also, the URL#Z is corresponding with video D, the acquisition of the URL#Z
Journey can be similar with URL#A and URL#B acquisition process, and here in order to avoid repeating, description is omitted.Thereafter, can be with
Contrast URL#Z and URL#D or contrast URL#Z and URL#E, find out same section (including identical Path ranks and Path values,
And/or identical Quey Param title and parameter value, it is denoted as the ease of distinguishing, same section B), and by the identical portions
Point A and same section B is contrasted, and therefrom removes different part (including mutually Path ranks and Path values, and different
Quey Param title and parameter value) training foundation as identification division extraction model, it can further improve the present invention
Identification division extraction model accuracy.
In embodiments of the present invention, gateway device can be to video (that is, the one of buffered video that is obtained from each server
Example) cached, and it is possible to according to the identification division extraction model obtained as described above, from the URL corresponding to each video
The mark of each video of extraction in (that is, one that caches URL), the index as corresponding video.
Alternatively, this method also includes:
At least one authentication URL is received, and caching URL mark is included in the non-Host substrings of the authentication URL
Partial character string;
The authentication URL is forwarded to server;
Receive the checking video that the server is sent according to the authentication URL;
Determine that the checking video is identical with the buffered video.
Specifically, in embodiments of the present invention, in order to verify the accuracy of above-mentioned identification division extraction model, Ke Yijin
Row online verification, for example, after the URL#X that a user equipment X is sent is received, mould can be extracted according to above-mentioned identification division
Type extracts the identification division in the URL#X, and as index, corresponding with the URL#X regard is determined from above-mentioned buffered video
Frequency X1, and it is possible to which the URL#X is forwarded into server, and the video X2 corresponding with the video is obtained from server, such as
Fruit video X1 is identical with video X2, then it is considered that above-mentioned identification division extraction model is exactly.If video X1 and video
X2 is differed, then it is considered that above-mentioned identification division extraction model is inaccurately, and sampling URL can be reselected, with instruction
Practice and obtain new identification division extraction model.
After as described above, obtaining identification division extraction model, URL#A can be determined according to the identification division extraction model
With the identification division in URL#B, and remove it, thus, it is possible to the interference of identification division is excluded, and then, it is possible to increase should
The accuracy of Session extracting section models.
In embodiments of the present invention, above-mentioned video A and video B may be video segment, also, when video A and video B is
When same video segment is identical and is only form or different code check, in URL#A and URL#B in addition to above-mentioned session section,
For identifying the part charge (hereinafter referred to as Rang parts) of the fragment (in other words, identifying position of the video in former video)
May also be identical, therefore, it is necessary to remove the interference of the Rang parts.
For the method for the interference for excluding identification division, procedure below can be enumerated.
Alternatively, this method also includes:
Before first sampling URL non-Host parts are traveled through, this method also includes:
According to part charge extraction model, at least two first sampling URL part charge is determined, wherein, the segmentation
Extracting section model is determined according to the segment information, and the segment information is to be based on part charge extraction conditions, is adopted to first
Sample information aggregate and the second sample information set contrast processing and believe from the first sample information set and second sampling
Determined in breath set, the first sample information set is determined according to the 4th sampling URL, and the 4th sampling URL includes road
Footpath Path parts and search parameter Quey Param parts, the 4th sampling URL Quey Param parts include K Quey
Param, including at least one in the first information and the second information, the first information is used to indicate for the first sample information set
The depth and Path values of 4th sampling URL Path parts, second information are used for indicate the 4th sampling URL K
Quey Param title and parameter value, the second sample information set are determined according to the 5th sampling URL, the 5th sampling
URL includes Path parts and Quey Param parts, and the 5th sampling URL Quey Param parts include M Quey
Param, the 4th sampling URL and the 5th corresponding 3rd videos of sampling URL are identical, and the 5th sample information set includes the
At least one in three information and the 4th information, the 3rd information is used for the depth for indicating the 5th sampling URL Path parts
With Path values, the 4th information is used for the title and parameter value for indicating the 5th sampling URL M Quey Param, the segmentation
Extracting section condition include first condition, second condition and third condition in it is at least one,
The first condition is:The depth of the Path parts of segment information instruction the first sample information set and this
It is identical in two sample information set, and segment information instruction Path values are in the first sample information set and second sampling
It is different in information aggregate,
The second condition is:The segment information instruction Quey Param title belong to the first sample information set and
Second sample information set both sides, and the Quey Param of segment information instruction parameter value is in the first sample information collection
It is different in conjunction and the second sample information set,
The third condition is:The Quey Param of segment information instruction title only belongs to the first sample information set
With the side in the second sample information set;
From at least two first sampling URL, the part charge is removed.
Period T1 (that is, one of the second period), gateway device obtains URL#F (that is, one of the 4th sampling URL),
Wherein, the URL#F is corresponding with user equipment F, also, the URL#F and video F (that is, one of the 3rd sample video) is relative
Should, for example, it may be what gateway device extracted from the HTTP message for being used to ask to play video F from user equipment F,
Or or gateway device carried from the HTTP message for being used to ask to play video F fragment from user equipment F
Take.
It should be noted that URL#F listed above acquisition process is merely illustrative, the present invention is not limited to
This, for example, the URL#F can also be supplied to gateway device by internet video publisher, as long as being able to ensure that the URL#F
It is corresponding with user equipment F, and the URL#F is corresponding with video F, for example, in the prior art, the URL#F can conduct
Complete video F index, or the URL#F can be as the index of video F a certain fragment.
In the URL that user equipment is sent in acquisition request video segment, the above-mentioned Range corresponding with fragment parts are logical
It is normally present in URL path (Path) part or search parameter (Quey Param) part, i.e. Range parts are probably
The Path values of a certain depth in Path parts, it is also possible to the value of a certain parameter in Quey Param parts.
Therefore, in embodiments of the present invention, gateway device can extract the Path of the URL#F after the URL#F is obtained
Part and/or Quey Param parts.
Fig. 2 shows one of the composition of each several part in URL character string, as shown in Fig. 2 URL domain name (Host) portion
Divide and separated between Path parts by "/" symbol, therefore, the network equipment can be by first "/" symbol after Host parts
Character recognition after (in other words, last "/" symbol in URL) is the bebinning character of Path parts.
Also, as shown in Fig. 2 URL Path part Quey Param parts between by "" symbol separates, therefore, net
Network equipment can by Path part (in other words, last "/" symbol in URL) after first "" word after symbol
Symbol is identified as the bebinning character of Path parts.Thus, it is possible to realize the extraction of Quey Param parts.
In addition, the network equipment can by after the path parts first "" character recognition after symbol is Path portions
The termination character divided, so as to which with reference to the bebinning character of above-mentioned Path parts, the extraction of Path parts can be realized.
It should be understood that the extracting method of Path parts listed above and the extracting method of Quey Param parts are only to show
Example property explanation, the present invention is not limited to this, can accordingly changed according to URL change, for example, some URL be present
Only exist Path part and in the absence of Quey Param parts situation, in this case, need only its determination Path parts starting
Character.Also, Host parts and the list separator (that is, "/" symbol) of Path parts and Path parts listed above
Between Quey Param parts list separator (that is, "" symbol) be merely illustrative, the present invention is not limited to this,
In the prior art, it can realize that the symbol for separating mark action is each fallen within protection scope of the present invention used by URL.
Gateway device is after completing to URL#F Path extracting sections, it may be determined that the depth of URL#F Path parts
Degree and Path values.
Specifically, the depth (in other words, rank) of Path parts can be according to the "/" symbol that Path parts include
Quantity determines, for example, Fig. 3 shows the schematic diagram of one of the Path parts in URL.By taking the URL shown in Fig. 3 as an example, the URL
Including six "/" symbols, hence, it can be determined that its depth is 6, wherein,
The Path values of 1st grade of depth are " sec (44ab57eec5d981faa33) ";
The Path values of 2nd grade of depth are " frag (0) ";
The Path values of 3rd level depth are " video ";
The Path values of 4th grade of depth are " 484 ";
The Path values of 5th grade of depth are " 516 ";
The Path values of 6th grade of depth are " 56615484_mp4_h264_aac_1.flv ".
Equally, gateway device is after completing to URL#F Quey Param extracting sections, it may be determined that URL#F's
Whole Quey Param title and parameter value in Quey Param parts.
Under normal circumstances, Quey Param form is " NAME=VALUE " in URL, and NAME is parameter name, and Value is
Parameter value.It can be only NAME but the present invention is not limited to this, can be that NAME is that empty or VALUE is
It is empty, i.e. Quey Param form can be in URL:
" NAME=VALUE ", or
" NAME ", or
" NAME=" or
"=VALUE ".
Specifically, by taking the URL shown in Fig. 2 as an example, the URL includes 9 " & " symbols, hence, it can be determined that it includes 9
Individual Quey Param, wherein,
Character string corresponding to 1st Quey Param is " 4 ", and its parameter is entitled " 4 ", and parameter value is sky;
Character string corresponding to 2nd Quey Param is " ipbits=0 ", and its parameter is entitled " ipbits ", parameter value
For " 0 ";
Character string corresponding to 3rd Quey Param is
" signature=.BC606865625583C2BE5AA6472A7536D827ED7E58 ",
Its parameter is entitled " signature ", and parameter value is
“.BC606865625583C2BE5AA6472A7536D827ED7E58”;
Character string corresponding to 4th Quey Param is " sver=3 ", and its parameter is entitled " sver ", and parameter value is
“3”;
Character string corresponding to 5th Quey Param is " expire=1252105200 ", and its parameter is entitled
" expire ", parameter value are " 1252105200 ";
Character string corresponding to 6th Quey Param is " key=yt1 ", and its parameter is entitled " key ", and parameter value is
“yt1”;
Character string corresponding to 7th Quey Param is factor=1.25 ", and its parameter is entitled " factor ", parameter
It is worth for " 1.25 ";
Character string corresponding to 8th Quey Param is burst=40 ", and its parameter is entitled " burst ", and parameter value is
“40”;
Character string corresponding to 9th Quey Param is " id=c19764dece17ab ", and its parameter is entitled " id ", ginseng
Numerical value is " c19764dece17ab ".
So as to as set forth above, it is possible in determining depth Path values and the Quey Param parts of URL#F Path parts
Each Quey Param title and parameter value, and above- mentioned information is recorded to generate first information set.
Period T2 (that is, one of the 3rd period), gateway device obtains URL#G (that is, one of the 5th sampling URL),
Wherein, the URL#G is corresponding with user equipment F, also, the URL#G and video F (that is, one of the 3rd sample video) is relative
Should, for example, it may be what gateway device extracted from the HTTP message for being used to ask to play video F from user equipment F,
Or or gateway device carried from the HTTP message for being used to ask to play video F fragment from user equipment F
Take.
It should be noted that what the different fragments from same video that video website is asked by same user were distributed
In URL, generally only Rang parts (for example, character string of instruction video time started) is different, therefore, in order to exactly
Determining the Rang parts, therefore, to assure that URL#F and URL#G corresponds to same video (that is, above-mentioned video F) different fragments respectively,
For example, URL#F corresponds to complete video F and URL#G corresponds to a video F fragment, or, URL#F corresponds to one of video F
Fragment and URL#G correspond to complete video, then or, URL#F corresponds to a video F fragment and URL#G corresponds to the another of video F
One fragment.
In embodiments of the present invention, can be by the way of on-line sampling, while video is forwarded for user, training obtains
Rang extracting section models are obtained, therefore, can be improved by making URL#F and URL#G correspond to same video (that is, above-mentioned video F)
The accuracy of the Rang extracting section models.
In embodiments of the present invention, whether URL#F and URL#G can be judged according to the URL#F and URL#G acquisition time
Corresponding same video.
I.e., alternatively, the 4th URL was received in the second period, and the 5th URL was received in the 3rd period, should
Interval between second period and the 3rd period is determined according to the duration of the 3rd video.
Specifically, if gateway device is firstly received URL#F, the video F corresponding with URL#F can be determined
(here, URL#F can correspond to complete video F, can also correspond to a video F fragment), wherein, video F can be
Gateway device obtains from server or gateway device is using the identification division in URL#F and from the video of caching
(then, exemplified by determining the second video corresponding to target URL, the process is described in detail) obtained.Thereafter, can be with
Determine video F total duration (that is, the duration of the first video).It may thereby determine that judges a scope (that is, preset range),
The initial time of the judgement scope for URL#F the time of reception, the judgement scope when a length of video F total duration.
If the URL#G reception time is located in the range of the judgement, and the URL#G is also from user equipment F, then can be with
Think that URL#F and URL#G corresponds to same video.Receive URL of the time beyond the judgement scope and then cannot function as the URL#G.
Video frequency identifying method according to embodiments of the present invention, the 4th sampling URL and the 5th sampling URL acquisition time interval
In preset range, and the preset range is that 3rd sampling according to corresponding to the 4th sampling URL and the 5th sampling URL are equal regards
What the duration of frequency determined, it can be ensured that the 4th sampling URL and the 5th sampling URL corresponds to the different pieces of the 3rd sample video respectively
Section, so as to improve the validity of Rang extracting section models.
It should be understood that the method that determination URL#F and URL#G listed above corresponds to same video is merely illustrative, this
Invention is not limited to this, for example, URL#F and URL#G identification division can be extracted according to above-mentioned identification division extraction model,
And determine URL#F and URL#G identification division it is identical after, determine that URL#F and URL#G corresponds to same video.
Gateway device can extract the Path parts and/or Quey Param portions of the URL#G after the URL#G is obtained
Point, and the depth and Path values of URL#G Path parts can be determined, and in URL#G Quey Param parts all
Quey Param title and parameter value, and above- mentioned information is recorded to generate the second information aggregate.The process is directed to above-mentioned
URL#F processing procedure is similar, and here, in order to avoid repeating, description is omitted.
Alternatively, the 4th sampling URL is that the first user equipment is sent in three sample video of acquisition request
URL, the 5th sampling URL are the URL that first user equipment is sent in the fragment of the sample video of acquisition request the 3rd;Or
4th sampling URL is the URL that the first user equipment is sent in the fragment of the sample video of acquisition request the 3rd,
5th sampling URL is the URL that first user equipment is sent in three sample video of acquisition request;Or
4th sampling URL is that the first user equipment is sent in the first fragment of the sample video of acquisition request the 3rd
URL, the 5th sampling URL is that first user equipment is sent in the second fragment of the sample video of acquisition request the 3rd
URL, wherein, first fragment and second fragment are different.
When specifically, in embodiments of the present invention, before period T1 is in period T2, the URL#F can be user
When complete video is watched in request, (for example, user is clicked on when playing icon) video website is the URL that the user equipment issues.
And it is the URL that the user equipment issues that above-mentioned URL#G, which can be user's video website when drag action occurs,.Or at that time
When section T1 be in after period T2, the URL#G can be user when complete video is watched in request (for example, user's click is broadcast
When putting icon) video website is the URL that issues of the user equipment.And above-mentioned URL#F can be user when drag action occurs
Video website is the URL that the user equipment issues.Or, the URL#F can be that user asks to see in generation drag action again
Video website is the URL that the user equipment issues when seeing a fragment of video.And above-mentioned URL#G can be user is dragging
Act and ask the URL that video website issues for the user equipment during another fragment of viewing video, thus, it is possible to ensure
The URL#G is related with the fragment of video to the character string being had differences in the URL#F, and then can improve what the present invention was implemented
The accuracy of Rang extracting section models.
Alternatively, the 4th sampling URL is identical with the character string of the 5th sampling URL Host parts.
Specifically, due to same video website, when generating URL, used rule is generally identical, for example, for two
Individual video segment, for the rank of Path parts or Quey Param title for representing position of the fragment in source video
It is generally identical, therefore by being used as above-mentioned URL#F and URL#G from Host part identical URL, it can be ensured that generate the URL#
F and URL#G video website is identical, so as to improve the accuracy of the Rang extracting section models.
After first information set and the second information aggregate is obtained as described above, can to above-mentioned first information set and
Second information aggregate carries out contrast processing, to determine Rang extracting section models.
Quey Param parts are not present due to there is a situation where URL to only exist Path parts as described above, therefore, can
Depth and Path value (that is, situations that Path parts are only included in first information set and the second information aggregate can be present
3), it is also possible to the depth and Path values and Quey that Path parts are included in first information set and the second information aggregate be present
Whole Quey Param title and the situation (that is, situation 4) of parameter value in Param parts.
Below, the processing respectively to above-mentioned two situations illustrates.
Situation 3
Gateway device can travel through the Path values of depth at different levels in URL#F and URL#G Path parts, as URL#F and
The depth of URL#G Path parts is identical, in other words, when the series that Path parts include is identical, is compared step by step, for example,
The first order Path values in URL#F and URL#G Path parts can be compared first, i.e. first "/" symbol and second
Character string between "/" symbol, then compare the second level Path values in URL#F and URL#G Path parts, i.e. second
Character string between "/" symbol and the 3rd "/" symbol, the like.
Thus, it is possible to path values different rank each other in URL#F and URL#G, and, the different Path values, i.e. right
Answer above-mentioned first condition.
For example, set URL#F Path part as:/sec(44ab57eec5d981faa33)/frag(0)/video/484/
516/56615484_mp4_h264_aac_1.flv;
Also, URL#G Path parts are:/sec(44ab57eec5d981faa33)/frag(1)/video/484/
516/56615484_mp4_h264_aac_1.flv
Then gateway device can determine different the 2nd grade of the rank each other of path values in URL#F and URL#G, and URL#F and
Different path values are frag (0) and frag (1) each other in URL#G.
So as to which the video website that gateway device can determine to issue video F is by second in Path parts in URL
Level (that is, frag) identifies the fragment of video, for example, it may be determined that the value of " frag " is used to indicate the video segment relative to complete
The initial time of whole video or end time.
And then Rang extracting section models can be defined as extract URL Path parts in the 2nd grade of path
Value.
Situation 4
For example, in embodiments of the present invention, it is understood that there may be Quey Param in first information set and the second information aggregate
Quantity identical situation, i.e. the video corresponding to URL#F and URL#G is the different video fragment of same video, therefore,
The quantity of Quey Param in URL#F and URL#G Quey Param parts, or the quantity of Quey Param parameter name
It is generally identical.
In this case, Quey Param identical by reduced parameter name but different parameter value, can determine for identifying
The parameter name of the fragment of video, i.e. corresponding above-mentioned second condition.
For example, set URL#F Quey Param part as:
10200&key=25b11c805e36d6aef3038550860c680040cdaa4201&pla ytype=1&tk
=155012700719935787180022220&brt=3&bc=0&nt=0&du=538470&sz=179904090&
Tflvbegin=18055261;
Also, URL#G Quey Param parts are:
10200&key=25b11c805e36d6aef3038550860c680040cdaa4201&pla ytype=1&tk
=155012700719935787180022220&brt=3&bc=0&nt=0&du=538470&sz=213602090&
Tflvbegin=28941773,
Then gateway device can determine parameter entitled " sz " and " tflvbegin " Quey Param in URL#F and URL#G
Parameter value it is different each other.
So as to which gateway device can determine that the video website for issuing video F is by Quey Param parts in URL
" sz " and " tflvbegin " parameter identify the fragment of video, for example, it may be determined that " sz " and " tflvbegin " parameter
It is worth for indicating length and initial time of the video segment relative to complete video.
And then part charge extraction model can be defined as the Quey Param parts for extracting URL by gateway device
In " sz " parameter and " tflvbegin " parameter.
For another example in embodiments of the present invention, it is also possible to Quey in first information set and the second information aggregate be present
The different situation of Param quantity.For example, URL#F corresponds to complete video F and URL#G corresponds to a video F fragment, should
URL#F can be that user's (for example, user is clicked on when playing icon) video website when complete video is watched in request is the use
The URL that family equipment issues.And it is that the user equipment issues that above-mentioned URL#G, which can be user's video website when drag action occurs,
URL, therefore, the quantity of the Quey Param in URL#F and URL#G Quey Param parts, or Quey Param
The quantity of parameter name may be different, i.e. corresponding above-mentioned third condition.
For example, set URL#F Quey Param part as:
10200&key=25b11c805e36d6aef3038550860c680040cdaa4201&pla ytype=1&tk
=155012700719935787180022220&brt=3&bc=0&nt=0&du=538470;
Also, URL#G Quey Param parts are:
10200&key=25b11c805e36d6aef3038550860c680040cdaa4201&pla ytype=1&tk
=155012700719935787180022220&brt=3&bc=0&nt=0&du=538470&sz=179904090&
Tflvbegin=18055261,
Then gateway device can determine not depositing for parameter entitled " sz " and " tflvbegin " Quey Param in URL#G
It is URL#F.
So as to which gateway device can determine that the video website for issuing video F is by Quey Param parts in URL
" sz " and " tflvbegin " parameter identify the fragment of video, for example, it may be determined that " sz " and " tflvbegin " parameter
It is worth for indicating length and initial time of the video segment relative to complete video.
And then Rang extracting section models can be defined as the Quey Param parts for extracting URL by gateway device
In " sz " parameter and " tflvbegin " parameter.
It should be noted that in the embodiment above, list and obtain Rang extracting section moulds using two URL to train
The process of type, but the present invention is not limited to this, can obtain Rang extracting section models using more URL to train,
For example, as described above by contrast URL#F and URL#G so that it is determined that dissimilar parts (including different Path ranks and Path
Value, and/or, different Quey Param title and parameter value, it is denoted as the ease of distinguishing, dissimilar parts A) after, can be with
It is corresponding to obtain URL#Y, the URL#Y and user equipment F (that is, one of the first user equipment), also, the URL#Y and video F
It is corresponding, wherein, the acquisition process of the URL#Y can be similar with URL#F and URL#G acquisition process, here in order to avoid superfluous
State, description is omitted.Thereafter, URL#Y and URL#F or contrast URL#Y and URL#G can be contrasted, finds out dissimilar parts (bag
Different Path ranks and Path values are included, and/or, different Quey Param title and parameter value, remember for the ease of distinguishing
Do, dissimilar parts B), and dissimilar parts A and dissimilar parts B are contrasted, it is (including identical therefrom to remove identical part
Path ranks and Path values, and identical Quey Param title and parameter value) instruction as Rang extracting section models
Practice foundation, can further improve the accuracy of the Rang extracting section models of the present invention.
In addition, as described above, each character string can include multiple parameters in Rang parts, for example, " sz " and
" tflvbegin ", and multiple parameters can indicate respectively the video segment relative to complete video length and starting when
Between, it is thus necessary to determine that the specific effect of each parameter, for example, being come indicating length (or, initial time), still by " sz "
By " tflvbegin " come indicating length (or, initial time).
It is non-limiting as example, the specific effect of each parameter can be determined by verifying, specifically, such as.
Gateway device can obtain the URL#W corresponding with video W video segment, further, it is possible to utilize above-mentioned Rang extracting sections
Model obtains the Rang parts of the URL#W, indicates to grow by " sz " for example, the URL#W gateway devices assume that in the URL#W
Degree, and initial time is indicated by " tflvbegin ", thus, it is possible to obtain a video segment W1 from the video W of caching.
And it is possible to server will be sent to including the URL#W, thus, it is possible to accurate video segment W2 is obtained from server, if
Video segment W1 is identical with video segment W2, then can determine to assume to set up, i.e., by " sz " come indicating length, and by
" tflvbegin " indicates initial time, if it is not the same, then can determine to indicate initial time by " sz ", and by
" tflvbegin " indicates degree.
For another example gateway device can be obtained with video M multiple video segments (here, in order to make it easy to understand, with two
Exemplified by, i.e. video segment M1 and video segment M2) corresponding URL#M1 and URL#M2, further, it is possible to utilize above-mentioned Rang portions
Extraction model is divided to obtain the URL#M1 and URL#M2 Rang parts, for example, the URL#W gateway devices assume that the URL#M1
With in URL#M2 by " sz " come indicating length, and initial time is indicated by " tflvbegin ", thus, it is possible to according to the URL#
M1 and URL#M2 Rang parts, extrapolate video M length (be referred to as, calculate length), also, gateway device can be from
URL#M1 or URL#M2 video frequency abstract knows video M length (being referred to as, physical length), if calculating length and actual (tube) length
Spend it is identical, then can determine assume set up.
After as above acquisition Rang extracting section models, URL#A can be determined according to the Rang extracting section models
With the Rang parts in URL#B, and remove it, thus, it is possible to the interference of identification division is excluded, and then, it is possible to increase should
The accuracy of Session extracting section models.
After the interference of identification division and Rang parts is excluded as described above, it may be determined that in URL#A and URL#B
Session parts.
Quey Param parts are not present due to there is a situation where URL to only exist Path parts as described above, therefore, can
The Session parts only situation (that is, situation 5) of the depth comprising Path parts and Path values can be deposited, it is also possible to this be present
Whole Quey Param title in depth of the Session parts comprising Path parts and Path values and Quey Param parts
With the situation (that is, situation 6) of parameter value.
Below, the processing respectively to above-mentioned two situations illustrates.
Situation 5
Gateway device can travel through the Path values of depth at different levels in URL#A and URL#B Path parts, as URL#A and
The depth of URL#B Path parts is identical, in other words, when the series that Path parts include is identical, is compared step by step, for example,
The first order Path values in URL#A and URL#B Path parts can be compared first, i.e. first "/" symbol and second
Character string between "/" symbol, then compare the second level Path values in URL#A and URL#B Path parts, i.e. second
Character string between "/" symbol and the 3rd "/" symbol, the like.
Thus, it is possible to path values identical rank in URL#A and URL#B, and, identical Path values.
For example, set URL#A Path part as:/sec(44ab57eec5d981faa33)/frag(0)/video/484/
516/tape(NOR)56615484_mp4_h264_aac_1.flv;
Also, URL#B Path parts are:/sec(44ab57eec5d981faa33)/frag(0)/video/484/
516/tape (HD)/56615484_mp4_h264_aac_1.flv,
Gateway device is according to above-mentioned identification division extraction model, it may be determined that in the URL#A and URL#B Path parts
" 56615484_mp4_h264_aac_1.flv " is identification division.
Gateway device is according to above-mentioned Rang extracting sections model, it may be determined that in the URL#A and URL#B Path parts
" frag (0) " is Rang parts.
As described above, gateway device can determine " the sec in the URL#A and URL#B Path parts
(44ab57eec5d981faa33) " is user's signature part.
Also, as described above, " video " in Path parts distributes to other users equipment in video website or other are regarded
It is also identical in the URL of frequency.
So as to which remaining Path values identical part is the fourth stage and the 5th in the URL#A and URL#B Path parts
Level.
And then the video website that gateway device can determine to issue video A and video B is by Path parts in URL
In the fourth stage and level V identify the session of video.
It should be noted that the 6th grade in above-mentioned URL#A to be tape (NOR) represent video A is SD version, URL#
The 6th grade in B is that tape (HD) represents that video B is high definition version.So as to which server can be according to the 6th in Path parts
Level is defined as user device transmissions video A or video B.
Also, for example, the Session parts can be known according to modes such as emulation experiments.Specifically, it can be assumed that
Session extracting sections model is used to extract the fourth stage and level V in Path parts, as Session parts, and obtains
Two URL of the fourth stage and level V identical in Path parts, and the URL is sent to server, to obtain the two URL
Video corresponding to respectively, and according to the video content of each video of the determination such as video content analysis, if in the video of two videos
Hold identical, then video that can be corresponding to true two URL belongs to same video playback session.
And then the Session extracting section models can be defined as extract URL Path parts in the fourth stage and
The path values of level V.
Situation 6
For example, set URL#A Quey Param part as:
10200&key=25b11c805e36d6aef3038550860c680040cdaa4201&pla ytype=1&tk
=155012700719935787180022220&brt=3&bc=0&nt=0&du=538470&sz=179904090&
Tflvbegin=18055261;
Also, URL#B Quey Param parts are:
10201&key=25b11c805e36d6aef3038550860c680040cdaa4201&pla ytype=2&tk
=155012700719935787180022220&brt=4&bc=1&nt=1&du=538470&sz=213602090&
Tflvbegin=28941773,
Gateway device is according to above-mentioned identification division extraction model, it may be determined that the URL#A and URL#B Quey Param portions
The Quey Param of parameter entitled " key " are identification division in point.
Gateway device is according to above-mentioned Rang extracting sections model, it may be determined that the URL#A and URL#B Quey Param portions
Parameter entitled " sz " and " tflvbegin " Quey Param are Rang parts in point.
As described above, gateway device can determine that parameter is entitled " tk " in the URL#A and URL#B Quey Param parts
Quey Param be user's signature part.
Also, remaining parameter value identical parameter is entitled " du " in the URL#A and URL#B Quey Param parts,
The identical parameter value is " du=538470 ".
So as to which gateway device can determine that the video website for issuing video A and video B is the Quey by URL
The Quey Param of parameter entitled " du " identify the session of video in Param parts.
Also, for example, the Session parts can be known according to modes such as emulation experiments.Specifically, it can be assumed that
Session extracting sections model is used for the Quey Param conducts for extracting parameter is entitled in Quey Param parts " du "
Session partly identifies the session of video, and obtains two URL of parameter value identical of " du ", and the URL is sent into clothes
Be engaged in device, with obtain the two URL respectively corresponding to video, and determine according to video content analysis etc. the video content of each video,
If the video content of two videos is identical, video that can be corresponding to true two URL belongs to same video playback session.
And then the Session extracting section models can be defined as being used to extract parameter name in Quey Param parts
For " du " Quey Param parameter value.
It should be noted that in the embodiment above, list using two URL to train acquisition Session parts to carry
The process of modulus type, but the present invention is not limited to this, using more URL acquisition Session parts can be trained to carry
Modulus type, for example, as described above by contrast URL#A and URL#B so that it is determined that same section (including different Path ranks
And Path values, and/or, different Quey Param title and parameter value, it is denoted as the ease of distinguishing, same section A) after,
URL#Q (that is, the first sampling URL another example), the URL#Q and user equipment A phases can also be obtained in above-mentioned time range T
Corresponding, also, the URL#Y is corresponding with video Q, video Q, video A and video belong to same video access session, in video
Hold it is identical, wherein, the acquisition process of the URL#Q can be similar with URL#A and URL#B acquisition process, here in order to avoid superfluous
State, description is omitted.Should and it is possible to be removed using above-mentioned identification division extraction model and Rang extracting sections model
Identification division and Rang parts in URL#Q.Thereafter, URL#Q and URL#A or contrast URL#Q and URL#B can be contrasted, is found out
Same section (including different Path ranks and Path values, and/or, different Quey Param title and parameter value, in order to
It is easy to differentiation to be denoted as, same section B), and same section A and same section B are contrasted, therefrom remove different part
(including identical Path ranks and Path values, and identical Quey Param title and parameter value) it is used as Session parts
The training foundation of extraction model, it can further improve the accuracy of the Session extracting section models of the present invention.
After as above acquisition Session extracting section models, when receiving user equipment M (that is, target UEs
One) send URL#M (that is, one of first object URL) when, gateway device can obtain corresponding with the URL#M
Video M (that is, one of first object video).
Also, when URL#N (that is, the second targets for receiving user equipment M (that is, one of target UE) transmissions
One of URL) when, gateway device can obtain the video N corresponding with the URL#N (that is, one of the second target video).
It should be noted that in embodiments of the present invention, user equipment M can include above-mentioned user equipment A, so as to be somebody's turn to do
URL#M can be identical with above-mentioned URL#A or URL#B, can also be different with above-mentioned URL#A or URL#B, and the present invention does not limit especially
It is fixed, and video M can be identical with above-mentioned video A or video B, can also be different with above-mentioned video A or video B, the present invention is simultaneously
It is not particularly limited.Equally, the URL#N can be identical with above-mentioned URL#A or URL#B, can also be with above-mentioned URL#A or URL#B phases
Different, the present invention is simultaneously not particularly limited, and video N can be identical with above-mentioned video A or video B, can also with above-mentioned video A or
Video B is different, and the present invention is simultaneously not particularly limited.
The video M corresponding to above-mentioned determination URL#M method is described in detail below.
Alternatively, the determination target video corresponding with target URL, including:
Receive and memory buffers video and at least one caching URL in the buffer memory device, wherein, each caching URL
It is corresponding with the buffered video;
According to identification division extraction model, caching URL identification division is determined, wherein, the identification division extraction model
Be according at least two the 3rd sampling URL identification division determines, wherein, respectively the 3rd sample URL identification division word
Symbol string is identical, and respectively the 3rd sampling URL character string is different, and respectively the user equipment corresponding to the 3rd sampling URL is different, respectively should
3rd sampling URL is corresponding with the second sample video, and the 3rd sampling URL identification division is contained in the 3rd sampling URL
Non- Host parts;Travel through target URL non-Host parts, if it is determined that being included in target URL non-Host parts should
Cache the character string of URL identification division, it is determined that the buffered video is the target video.
Specifically, after gateway device receives URL#M, identification division extraction model can be utilized, obtains URL#M's
Identification division, as index, from the video cached, find video M.Also, the identification division extraction model obtains
Method is taken, similar to process described previously, here, in order to avoid repeating, the description thereof will be omitted.
Alternatively, respectively the character string of first sampling URL Host parts is identical, and
According to the session section extraction model, first object URL session section, and second target are being obtained
Before URL session section, this method also includes:
Determine the character string and the character string of first sampling URL Host parts of first object URL Host parts
It is identical;
Determine the character string and the character string of first sampling URL Host parts of second target URL Host parts
It is identical.
Specifically, due to same video website, when generating URL, used rule is generally identical, for example, for not
In the different URL generated when watching same video with user equipment requests, the rank of the Path parts for identifying the video
Or Quey Param title is generally identical, therefore, it is determined that URL#M Host parts and caching URL Host parts phase
With after, it can determine that the video website corresponding to URL#M is identical with caching URL video website, so as to reliably lead to
Cross the identification division extraction model to determine to be used for the character for identifying video M in URL#M, further improve the standard of acquired video
True property.
Alternatively, the non-Host parts include path P ath parts, and respectively the depth of caching URL Path parts is identical,
And
Before traversal target URL non-Host parts, this method also includes:
Determine that the depth of target URL Path parts is identical with the depth of respectively caching URL Path parts.
Specifically, due to same video website, when generating URL, used rule is generally identical, for example, for not
In the different URL generated when watching same video with user equipment requests, the Path of the Path parts for identifying the video
Partial depth is identical, therefore, if it is determined that the depth of Path part of the depth of URL#M Path parts with caching URL is not
It is identical, then it can determine that the video corresponding with the URL#M is not buffered, so as to without carrying out lookup action, it is possible to increase this
The efficiency of the video frequency identifying method of inventive embodiments, improve Consumer's Experience.
Alternatively, the non-Host parts include path P ath parts and search parameter Quey Param parts,
This method also includes:
The parameter name of search parameter that respectively caching URL Quey Param parts are included is obtained, to generate parameter name
Set;
Before traversal target URL non-Host parts, this method also includes:
Determine that the parameter name for the search parameter that target URL Quey Param parts are included belongs to the parameter name collection
Close.
Specifically, gateway device can determine to obtain each URL's of above-mentioned identification division extraction model for training
Quey Param parameter name, and generate and include the parameter name set of above-mentioned each parameter name, also, if URL#M include it is each
Quey Param parameter name is not admitted to the parameter name set, then it was determined that mould can not be extracted according to above-mentioned identification division
Type extracts the mark for indicating video M from the URL#M, without carrying out subsequent action, it is possible to increase the present invention
The efficiency of the video frequency identifying method of embodiment, improve Consumer's Experience.
It should be understood that the determination listed above video M corresponding with URL#M method is merely illustrative, the present invention
This is not limited to, for example, it is also possible to complete URL#M, the caching as video M indexes, or, it will directly can also be somebody's turn to do
URL#M is transmitted to server, to obtain video M from server.
, can be according to the Session extracting section moulds obtained as described above it is determined that after the video M corresponding with URL#M
Type, determine URL#M Session parts.
Based on similar method and process, the corresponding video N of URL#N can be obtained, and can be according to as described above
The Session extracting section models of acquisition, determine URL#N Session parts.
So as to, if URL#M Session part it is identical with URL#N Session parts, can determine video M with
Video N belongs to same video session, and its video content is identical.
And then for example, it can will be considered as one click to video N and video M broadcasting behavior, so as to make video network
Stand and the clicking rate of video is accurately calculated.
If for another example carry out first to video M increment processing, for example, obtain this use equipment M user profile,
For example, user class information, signing information or payment information of the user etc., and according to the user profile, video M is carried out
Advertisement processing, antivirus processing etc. are gone, then can record the detailed process of increment processing.So as to be carried out to video N at increment
During reason, without obtaining above-mentioned user profile, directly video N can handle with video M identicals.Thus, it is possible to mitigate
The processing load of gateway device, improve the treatment effeciency of gateway device.
Video frequency identifying method according to embodiments of the present invention, divided using the sample video of content identical at least two first
Not corresponding first sampling URL, training obtain session section extraction model, and the session section extraction model is used to carry from URL
Fetching shows the session section of the video playback session belonging to video, so as to receive first object video and the second target
Video distinguish corresponding to first object URL and the second target URL when, can be determined according to the session section extraction model
Session section in one target URL and the second target URL, and then it is determined that session in first object URL and the second target URL
After part is identical, it can determine that first object video and the second target video belong to same video playback session, thus, it is possible to
One click will be considered as to the click of first object video and the second target video, so as to improve the accurate of clicking rate calculating
Property, also, in the case of only by identifying URL, being just able to confirm that needs to enter first object video and the second target video
The increment of row identical is handled, and improves the efficiency of processing.
More than, video frequency identifying method according to embodiments of the present invention is described in detail with reference to Fig. 1 to Fig. 3, below, with reference to figure
Describe video identification device according to embodiments of the present invention in detail.
Fig. 4 shows the schematic block diagram of video identification device 200 according to embodiments of the present invention, as shown in figure 4, the dress
Putting 200 includes:
Transmit-Receive Unit 210, for receiving the destination Uniform Resource finger URL URL of target UE transmission;
Determining unit 220, for determining the target video corresponding with target URL, wherein, target URL includes the
One target URL and the second target URL, the target video include the first object video corresponding with first object URL, and
Second target video corresponding with second target URL, according to session section extraction model, determine first object URL's
Session section, and second target URL session section, the session section extraction model are according at least two first samplings
What URL session section determined, wherein, respectively first sampling URL is corresponding with the first user equipment, respectively first sampling
The character string of URL session section is identical, and first sampling URL session section, which includes removing in first sampling URL, uses the Ministry of Revenue
Part beyond point, first sampling URL User Part are used to indicate first user equipment, first sampling URL meeting
The non-host name Host parts for being contained in first sampling URL of words part, the non-Host parts are removed in URL character string
Part beyond Host parts, at least two first sampling URL and at least two first sample videos correspond, and this is extremely
Few two the first sample videos belong to same video playback session;
Determining unit 230, if the session section of the session section and second target URL for first object URL
It is identical, it is determined that the first object video belongs to same video playback session with second target video.
Alternatively, the character string of at least two first sampling URL Host parts is identical.
Alternatively, the Transmit-Receive Unit 210 is additionally operable to receive at least two first sampling URL;
The determining unit 220 is additionally operable to travel through first sampling URL non-Host parts, it is determined that respectively first sampling URL
Session section, according to this at least two first sampling URL session section, determine the session section extraction model.
Alternatively, the Transmit-Receive Unit 210 was specifically used within the first period, received at least two first sampling URL, should
First period was the first corresponding sample video according to the URL being initially received at least two first sampling URL
What duration determined.
Alternatively, the Transmit-Receive Unit 210 was additionally operable to outside first period, received at least one second sampling URL, this
Two sampling URL are corresponding with first user equipment;
The determining unit 220 is additionally operable to according to the respectively first sampling URL and second sampling URL, it is determined that respectively this first is adopted
Sample URL User Part, in the first sampling URL and second sampling URL, the character string of the User Part is identical, from this
In at least two first sampling URL, the User Part is removed.
Alternatively, the determining unit 220 is additionally operable to according to identification division extraction model, determines at least two first sampling
URL identification division, wherein, the identification division extraction model is determined according at least two the 3rd sampling URL identification division
, wherein, respectively the character string of the 3rd sampling URL identification division is identical, and respectively the 3rd sampling URL character string is different, respectively
User equipment corresponding to 3rd sampling URL is different, and respectively the 3rd sampling URL is corresponding with the second sample video, and this
Three sampling URL identification division is contained in the 3rd sampling URL non-Host parts;
For from least two first sampling URL, removing the identification division.
Alternatively, the determining unit 220 is additionally operable to according to part charge extraction model, determines at least two first sampling
URL part charge, wherein, the part charge extraction model is determined according to the segment information, and the segment information is to be based on
Part charge extraction conditions, the first sample information set and the second sample information set are carried out contrasting processing and first adopted from this
Determined in sample information aggregate and the second sample information set, the first sample information set is true according to the 4th sampling URL
Fixed, the 4th sampling URL includes path P ath parts and search parameter Quey Param parts, the 4th sampling URL's
Quey Param parts include K Quey Param, and the first sample information set is included in the first information and the second information
At least one, the first information is used for the depth and Path values for indicating the 4th sampling URL Path parts, and second information is used
In the sampling of instruction the 4th URL K Quey Param title and parameter value, the second sample information set is according to the 5th
Sample what URL was determined, the 5th sampling URL includes Path parts and Quey Param parts, the 5th sampling URL Quey
Param parts are identical with corresponding 3rd videos of the 5th sampling URL including M Quey Param, the 4th sampling URL, should
Including at least one in the 3rd information and the 4th information, the 3rd information is used to indicate that the 5th adopts for 5th sample information set
The depth and Path values of sample URL Path parts, the 4th information are used for M Quey Param for indicating the 5th sampling URL
Title and parameter value, the part charge extraction conditions include first condition, second condition and third condition in it is at least one,
The first condition is:The depth of the Path parts of segment information instruction the first sample information set and this
It is identical in two sample information set, and segment information instruction Path values are in the first sample information set and second sampling
It is different in information aggregate,
The second condition is:The segment information instruction Quey Param title belong to the first sample information set and
Second sample information set both sides, and the Quey Param of segment information instruction parameter value is in the first sample information collection
It is different in conjunction and the second sample information set,
The third condition is:The Quey Param of segment information instruction title only belongs to the first sample information set
With the side in the second sample information set;
For from least two first sampling URL, removing the part charge.
Alternatively, the Transmit-Receive Unit 210 is additionally operable to reception and the memory buffers video and at least one in the buffer memory device
Individual caching URL, wherein, respectively caching URL is corresponding with the buffered video;
The determining unit 220 is specifically used for the identification division for according to identification division extraction model, determining caching URL, its
In, the identification division extraction model is determined according at least two the 3rd sampling URL identification division, wherein, respectively the 3rd
The character string of sampling URL identification division is identical, and respectively the 3rd sampling URL character string is different, and respectively the 3rd sampling URL institutes are right
The user equipment answered is different, and respectively the 3rd sampling URL is corresponding with the second sample video, the 3rd sampling URL mark part
Subpackage is contained in the 3rd sampling URL non-Host parts;Travel through target URL non-Host parts, if it is determined that target URL
Non- Host parts in comprising caching URL identification division character string, it is determined that the buffered video is the target video.
Alternatively, the Transmit-Receive Unit 210 is additionally operable to receive the 6th sampling URL and the 4th sample video, wherein, the 6th
Sampling URL is corresponding with the 4th video, and the 4th sample video and second sample video are different;
The determining unit 220 is additionally operable to be used for the mark for according to the identification division extraction model, determining the 6th sampling URL
Part, the lap between the 6th sampling URL identification division and the 3rd sampling URL identification division is determined, this is overlapping
Part includes at least one in Path values identical Path ranks and parameter value identical Quey Param, for from the 3rd
Sample in URL identification division and remove the lap, to update the 3rd sampling URL identification division;
For the identification division according to the 3rd sampling URL after renewal, the identification division extraction model is updated..
The gateway that video identification device 200 according to embodiments of the present invention may correspond in the method for the embodiment of the present invention is set
It is standby, also, each unit in the video identification device 200 is module and other above-mentioned operation and/or functions respectively in order to realize
The corresponding flow of method 100 in Fig. 1, for sake of simplicity, will not be repeated here.
Video identification device according to embodiments of the present invention, divided using the sample video of content identical at least two first
Not corresponding first sampling URL, training obtain session section extraction model, and the session section extraction model is used to carry from URL
Fetching shows the session section of video content, so as to receive content identical first object video and the second target video institute
Corresponding to respectively during first object URL and the second target URL, first object can be determined according to the session section extraction model
Session section in URL and the second target URL, and then it is determined that session section phase in first object URL and the second target URL
With after, it can determine that the video content of first object video and the second target video is identical, thus, it is possible to will be to first object
The click of video and the second target video is considered as one click, so as to improve the accuracy of clicking rate calculating, also, only logical
In the case of crossing identification URL, being just able to confirm that needs to carry out at identical increment first object video and the second target video
Reason, improve the efficiency of processing.
More than, the video frequency identifying method of the embodiment of the present invention is described in detail with reference to Fig. 1 to Fig. 3, below, with reference to Fig. 5, in detail
Describe the video identification equipment of the bright embodiment of the present invention in detail.
Fig. 5 shows the video identification equipment 300 of the embodiment of the present invention, as shown in figure 5, the equipment 300 includes:
Bus 310;
The processor 320 being connected with the bus 310;
The memory 330 being connected with the bus 310;
The transceiver 340 being connected with the bus 310;
Wherein, the processor 320 calls the program stored in the memory 330 by the bus 310, for
Transceiver 340 is controlled to receive the destination Uniform Resource finger URL URL that target UE is sent, it is determined that relative with target URL
The target video answered, wherein, target URL includes first object URL and the second target URL, the target video include with this
First object video corresponding one target URL, and second target video corresponding with second target URL;
For according to session section extraction model, determining first object URL session section, and second target
URL session section, the session section extraction model are determined according at least two first sampling URL session section, its
In, respectively first sampling URL is corresponding with the first user equipment, respectively the character string phase of first sampling URL session section
Together, first sampling URL session section includes the part in addition to User Part, first sampling in first sampling URL
URL User Part is used to indicate first user equipment, and first sampling URL session section is contained in first sampling
URL non-host name Host parts, non-Host part be URL character string in part in addition to Host parts, this is at least
Two first sampling URL and at least two first sample videos correspond, and at least two first sample video belongs to same
One video playback session;
If the session section for first object URL is identical with second target URL session section, it is determined that should
First object video belongs to same video playback session with second target video.
Alternatively, the processor 320 is additionally operable to control transceiver 340 to receive at least two first sampling URL;
For traveling through first sampling URL non-Host parts, it is determined that respectively first sampling URL session section;
For the session section according at least two first sampling URL, the session section extraction model is determined.
Alternatively, the processor 320 is specifically used for control transceiver 340 within the first period, receive this at least two the
One sampling URL, first period are corresponding the according to the URL being initially received at least two first sampling URL
What the duration of one sample video determined.
Alternatively, the processor 320 is additionally operable to control transceiver 340 to receive at least one second outside first period
URL is sampled, second sampling URL is corresponding with first user equipment;
For according to respectively this first sampling URL and this second sampling URL, it is determined that respectively this first sampling URL User Part,
In the first sampling URL and second sampling URL, the character string of the User Part is identical;
For from least two first sampling URL, removing the User Part.
Alternatively, the depth of at least two first sampling URL path P ath parts is identical.
Alternatively, in the Quey Param that respectively first sampling URL search parameter Quey Param parts include, parameter
The different Quey Param quantity of name is less than or equal to first threshold.
Alternatively, the processor 320 is additionally operable to according to identification division extraction model, determines at least two first sampling
URL identification division, wherein, the identification division extraction model is determined according at least two the 3rd sampling URL identification division
, wherein, respectively the character string of the 3rd sampling URL identification division is identical, and respectively the 3rd sampling URL character string is different, respectively
User equipment corresponding to 3rd sampling URL is different, and respectively the 3rd sampling URL is corresponding with the second sample video, and this
Three sampling URL identification division is contained in the 3rd sampling URL non-Host parts;
For from least two first sampling URL, removing the identification division.
Alternatively, the processor 320 is additionally operable to according to part charge extraction model, determines at least two first sampling
URL part charge, wherein, the part charge extraction model is determined according to the segment information, and the segment information is to be based on
Part charge extraction conditions, the first sample information set and the second sample information set are carried out contrasting processing and first adopted from this
Determined in sample information aggregate and the second sample information set, the first sample information set is true according to the 4th sampling URL
Fixed, the 4th sampling URL includes path P ath parts and search parameter Quey Param parts, the 4th sampling URL's
Quey Param parts include K Quey Param, and the first sample information set is included in the first information and the second information
At least one, the first information is used for the depth and Path values for indicating the 4th sampling URL Path parts, and second information is used
In the sampling of instruction the 4th URL K Quey Param title and parameter value, the second sample information set is according to the 5th
Sample what URL was determined, the 5th sampling URL includes Path parts and Quey Param parts, the 5th sampling URL Quey
Param parts are identical with corresponding 3rd videos of the 5th sampling URL including M Quey Param, the 4th sampling URL, should
Including at least one in the 3rd information and the 4th information, the 3rd information is used to indicate that the 5th adopts for 5th sample information set
The depth and Path values of sample URL Path parts, the 4th information are used for M Quey Param for indicating the 5th sampling URL
Title and parameter value, the part charge extraction conditions include first condition, second condition and third condition in it is at least one,
The first condition is:The depth of the Path parts of segment information instruction the first sample information set and this
It is identical in two sample information set, and segment information instruction Path values are in the first sample information set and second sampling
It is different in information aggregate,
The second condition is:The segment information instruction Quey Param title belong to the first sample information set and
Second sample information set both sides, and the Quey Param of segment information instruction parameter value is in the first sample information collection
It is different in conjunction and the second sample information set,
The third condition is:The Quey Param of segment information instruction title only belongs to the first sample information set
With the side in the second sample information set;
For from least two first sampling URL, removing the part charge.
Alternatively, the 4th URL was received in the second period, and the 5th URL was received in the 3rd period, and this second
Interval between period and the 3rd period is determined according to the duration of the 3rd video.
Alternatively, the 4th sampling URL is that the first user equipment is sent in three sample video of acquisition request
URL, the 5th sampling URL are the URL that first user equipment is sent in the fragment of the sample video of acquisition request the 3rd;Or
4th sampling URL is the URL that the first user equipment is sent in the fragment of the sample video of acquisition request the 3rd,
5th sampling URL is the URL that first user equipment is sent in three sample video of acquisition request;Or
4th sampling URL is that the first user equipment is sent in the first fragment of the sample video of acquisition request the 3rd
URL, the 5th sampling URL is that first user equipment is sent in the second fragment of the sample video of acquisition request the 3rd
URL, wherein, first fragment and second fragment are different.
Alternatively, the processor 320 is additionally operable to control transceiver 340 to receive and the memory buffers video in the buffer memory device
And at least one caching URL, wherein, respectively caching URL is corresponding with the buffered video;
For according to identification division extraction model, determining caching URL identification division, wherein, identification division extraction
Model be according at least two the 3rd sampling URL identification division determines, wherein, respectively the 3rd sample URL identification division
Character string it is identical, respectively the 3rd sampling URL character string it is different, respectively the 3rd sampling URL corresponding to user equipment it is different,
Respectively the 3rd sampling URL is corresponding with the second sample video, and the 3rd sampling URL identification division is contained in the 3rd sampling
URL non-Host parts;Travel through target URL non-Host parts, if it is determined that included in target URL non-Host parts
The character string of caching URL identification division, it is determined that the buffered video is the target video.
Alternatively, the processor 320 is additionally operable to determine the depth of target URL Path parts with respectively caching URL's
The depth of Path parts is identical.
Alternatively, the processor 320 is additionally operable to determine target URL Path parts and at least the one of respectively caching URL
Individual URL Path parts are identical.
Alternatively, the processor 320 is additionally operable to the Quey Param parts for controlling transceiver 340 to determine respectively caching URL
Comprising search parameter parameter name, to generate parameter name set;
The parameter name for the search parameter that Quey Param parts for determining target URL are included belongs to the parameter name
Set.
Alternatively, the processor 320 is additionally operable to control transceiver 340 to receive at least one authentication URL, and the authentication URL
Non- Host substrings in comprising caching URL identification division character string, forward the authentication URL to server, receive
The checking video that the server is sent according to the authentication URL;
For determining that the checking video is identical with the buffered video.
Alternatively, the processor 320 is additionally operable to control transceiver 340 to receive the 6th sampling URL and the 4th sample video,
Wherein, the 6th sampling URL is corresponding with the 4th video, and the 4th sample video and second sample video are different;
For according to the identification division extraction model, determining the 6th identification division for sampling URL;
For determining the lap between the 6th sampling URL identification division and the 3rd sampling URL identification division,
The lap includes at least one in Path values identical Path ranks and parameter value identical Quey Param;
For removing the lap from the 3rd sampling URL identification division, to update the 3rd sampling URL mark
Know part;
For the identification division according to the 3rd sampling URL after renewal, the identification division extraction model is updated.
Alternatively, the processor 320 is additionally operable to determine that the character strings of first object URL Host parts first is adopted with this
The character string of sample URL Host parts is identical;
For the character string and the word of first sampling URL Host parts of the Host parts for determining second target URL
Symbol string is identical.
In embodiments of the present invention, CPU can also be referred to as by handling single device.Memory can include read-only storage and random
Memory is accessed, and instruction and signal are provided to processor.The a part of of memory can also include non-volatile row arbitrary access
Memory (NVRAM).In specific application, the equipment of transmission signal can be embedded in or itself can be exactly such as PC
Etc standard ethernet communication equipment, the modules of the equipment of transmission signal are coupled by bus system, wherein,
Bus system is in addition to including signal bus, in addition to power bus, controlling bus and status signal bus in addition.
Disclosed each step and logic diagram in the inventive method embodiment can be realized or performed to processor.It is general
Processor can be microprocessor or the processor can also be any conventional processor, decoder etc..With reference to the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware processor and perform completion, or with decoding processor
Hardware and software module combination perform completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed
In the ripe storage medium in this area such as read-only storage or electrically erasable programmable memory, register.The storage medium
Positioned at memory, the information in decoding unit or processing unit reading memory, with reference to the step of its hardware completion above method
Suddenly.
It should be understood that in embodiments of the present invention, the processor can be CPU (Central Processing
Unit, referred to as " CPU "), the processor can also be other general processors, digital signal processor (DSP), special integrated
Circuit (ASIC), ready-made programmable gate array (FPGA) either other PLDs, discrete gate or transistor logic
Device, discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional place
Manage device etc..
In implementation process, each step of the above method can by the integrated logic circuit of the hardware in processor or
The instruction of software form is completed.The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware processor
Completion is performed, or completion is performed with the hardware in processor and software module combination.Software module can be located at random storage
Device, flash memory, read-only storage, this area such as programmable read only memory or electrically erasable programmable memory, register into
In ripe storage medium.The storage medium is located at memory, and processor reads the information in memory, is completed with reference to its hardware
The step of stating method.To avoid repeating, it is not detailed herein.
The gateway that video identification equipment 300 according to embodiments of the present invention may correspond in the method for the embodiment of the present invention is set
It is standby, also, each unit in the video identification equipment 300 is module and other above-mentioned operation and/or functions respectively in order to realize
The corresponding flow of method 100 in Fig. 1, for sake of simplicity, will not be repeated here.
Video identification equipment according to embodiments of the present invention, divided using the sample video of content identical at least two first
Not corresponding first sampling URL, training obtain session section extraction model, and the session section extraction model is used to carry from URL
Fetching shows the session section of video content, so as to receive content identical first object video and the second target video institute
Corresponding to respectively during first object URL and the second target URL, first object can be determined according to the session section extraction model
Session section in URL and the second target URL, and then it is determined that session section phase in first object URL and the second target URL
With after, it can determine that the video content of first object video and the second target video is identical, thus, it is possible to will be to first object
The click of video and the second target video is considered as one click, so as to improve the accuracy of clicking rate calculating, also, only logical
In the case of crossing identification URL, being just able to confirm that needs to carry out at identical increment first object video and the second target video
Reason, improve the efficiency of processing.
More than, the video frequency identifying method of the embodiment of the present invention is described in detail with reference to Fig. 1 to Fig. 3, below, with reference to Fig. 6, in detail
Describe the video recognition system of the bright embodiment of the present invention in detail.
Fig. 6 shows the video recognition system 400 of the embodiment of the present invention, as shown in fig. 6, the system 600 includes:
User equipment 410, for sending uniform resource position mark URL to the video identification device, and from the video identification
Device obtains the video corresponding with the URL;
Video identification device 420, for receiving the destination Uniform Resource finger URL URL of target UE transmission, it is determined that
The target video corresponding with target URL, wherein, target URL includes first object URL and the second target URL, the target
Video includes the first object video corresponding with first object URL, and second mesh corresponding with second target URL
Mark video;According to session section extraction model, first object URL session section, and second target URL meeting are determined
Part is talked about, the session section extraction model is determined according at least two first sampling URL session section, wherein, respectively should
First sampling URL is corresponding with the first user equipment, and respectively the character string of first sampling URL session section is identical, and this
One sampling URL session section includes the part in addition to User Part in first sampling URL, first sampling URL use
The Ministry of Revenue point is used to indicate first user equipment, and first sampling URL session section is contained in the non-of first sampling URL
Host name Host parts, non-Host part be URL character string in part in addition to Host parts, this at least two first
Sample URL and at least two first sample videos correspond, and at least two first sample video belongs to same video and broadcast
Put session;If first object URL session section is identical with second target URL session section, it is determined that this first
Target video belongs to same video playback session with second target video;
Server 430, for receiving the URL of video identification device forwarding, it is determined that the video corresponding with the URL, and
The video is sent to the video identification device.
Video identification device 420 in video recognition system 400 according to embodiments of the present invention may correspond to of the invention real
Apply the gateway device in the method for example, also, each unit in video identification device 420 be module and other above-mentioned operations and/
Or function is respectively in order to realize the corresponding flow of the method 100 in Fig. 1, for sake of simplicity, will not be repeated here.
Video recognition system according to embodiments of the present invention, divided using the sample video of content identical at least two first
Not corresponding first sampling URL, training obtain session section extraction model, and the session section extraction model is used to carry from URL
Fetching shows the session section of video content, so as to receive content identical first object video and the second target video institute
Corresponding to respectively during first object URL and the second target URL, first object can be determined according to the session section extraction model
Session section in URL and the second target URL, and then it is determined that session section phase in first object URL and the second target URL
With after, it can determine that the video content of first object video and the second target video is identical, thus, it is possible to will be to first object
The click of video and the second target video is considered as one click, so as to improve the accuracy of clicking rate calculating, also, only logical
In the case of crossing identification URL, being just able to confirm that needs to carry out at identical increment first object video and the second target video
Reason, improve the efficiency of processing.
It should be understood that the terms "and/or", only a kind of incidence relation for describing affiliated partner, expression can deposit
In three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, these three situations of individualism B.
In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It should be understood that in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to perform suitable
The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of the reply embodiment of the present invention
Process forms any restriction.
Ability those of ordinary skill is it is to be appreciated that the unit of each example described with reference to the embodiments described herein
And algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions actually with
Hardware or software mode perform, application-specific and design constraint depending on technical scheme.Professional and technical personnel can
To realize described function using distinct methods to each specific application, but this realization is it is not considered that beyond this
The scope of invention.
The technical staff of affiliated neck can be understood that, for convenience and simplicity of description, the system of foregoing description, fill
The specific work process with unit is put, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Be familiar with the technical staff of this technology neck the invention discloses technical scope in, change or replacement can be readily occurred in, should all be covered
Within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (26)
1. a kind of video frequency identifying method, it is characterised in that methods described includes:
The destination Uniform Resource finger URL URL that target UE is sent is received, it is determined that the target corresponding with the target URL
Video, wherein, the target URL includes first object URL and the second target URL, and the target video includes and described first
First object video corresponding target URL, and second target video corresponding with the second target URL;
According to session section extraction model, the session section of the first object URL is determined, and the second target URL
Session section, the session section extraction model are determined according at least two first sampling URL session section, wherein,
Each first sampling URL is corresponding with the first user equipment, the character string phase of each first sampling URL session section
Together, the session section of the first sampling URL includes part in addition to User Part in the described first sampling URL, and described the
One sampling URL User Part is used to indicate first user equipment, and the session section of the first sampling URL is contained in institute
The first sampling URL non-host name Host parts are stated, the non-host name Host parts are to remove Host parts in URL character string
Part in addition, at least two first sampling URL and at least two first sample videos correspond, and described at least two
Individual first sample video belongs to same video playback session;
If the session section of the first object URL is identical with the session section of the second target URL, it is determined that described
One target video belongs to same video playback session with second target video.
2. according to the method for claim 1, it is characterised in that according to session section extraction model, determine described first
Before target URL session section, methods described also includes:
Receive at least two first samplings URL;
The non-host name Host parts of the first sampling URL are traveled through, determine each first sampling URL session section;
According to described at least two first sampling URL session section, the session section extraction model is determined.
3. according to the method for claim 2, it is characterised in that described to receive at least two first samplings URL, bag
Include:
Within the first period, at least two first samplings URL is received, first period is according to described at least two the
What the duration of the first corresponding sample video for the URL being initially received in one sampling URL determined.
4. according to the method for claim 3, it is characterised in that it is determined that it is each it is described first sampling URL session section it
Before, methods described also includes:
Outside first period, at least one second sampling URL is received, the second sampling URL is set with first user
It is standby corresponding;
According to each first sampling URL and the second sampling URL, each described first User Part for sampling URL is determined,
The first sampling URL is sampled in URL with described second, and the character string of the User Part is identical;
From described at least two first sampling URL, the User Part is removed.
5. method according to any one of claim 1 to 4, it is characterised in that at least two first samplings URL's
The depth of path P ath parts is identical.
6. method according to any one of claim 1 to 4, it is characterised in that each first sampling URL search ginseng
In the Quey Param that number Quey Param parts include, the different Quey Param quantity of parameter name is less than or equal to the first threshold
Value.
7. the method according to any one of claim 2 to 4, it is characterised in that traveling through the non-of the first sampling URL
Before host name Host parts, methods described also includes:
According to identification division extraction model, described at least two first identification divisions for sampling URL are determined, wherein, the mark
Extracting section model is determined according at least two the 3rd sampling URL identification division, wherein, each 3rd sampling URL
Identification division character string it is identical, it is each it is described 3rd sampling URL character string it is different, it is each it is described 3rd sampling URL corresponding to
User equipment it is different, it is each it is described 3rd sampling URL it is corresponding with the second sample video, it is described 3rd sampling URL mark
It is partially contained in the non-host name Host parts of the 3rd sampling URL;
From described at least two first sampling URL, the identification division is removed.
8. the method according to any one of claim 2 to 4, it is characterised in that traveling through the non-of the first sampling URL
Before host name Host parts, methods described also includes:
According to part charge extraction model, described at least two first part charges for sampling URL are determined, wherein, the segmentation
Extracting section model is determined according to the segment information, and the segment information is to be based on part charge extraction conditions, to
One sample information set and the second sample information set contrast processing and from the first sample information set and described the
Determined in two sample information set, the first sample information set is to determine that the described 4th adopts according to the 4th sampling URL
Sample URL includes path P ath parts and search parameter Quey Param parts, the Quey Param parts of the 4th sampling URL
Including K Quey Param, the first sample information set includes at least one, the institute in the first information and the second information
Depth and Path values that the first information is used to indicate the Path parts of the 4th sampling URL are stated, second information is used to refer to
Show the K Quey Param of the 4th sampling URL title and parameter value, the second sample information set is according to the 5th
Sample what URL was determined, the 5th sampling URL includes Path parts and Quey Param parts, the 5th sampling URL's
Quey Param parts include M Quey Param, the 4th sampling URL and the 5th sampling URL the corresponding 3rd is regarded
Frequently, the 5th sample information set includes at least one in the 3rd information and the 4th information, and the 3rd information is used to refer to
Show the depth and Path values of the Path parts of the 5th sampling URL, the 4th information is used to indicate the 5th sampling URL
M Quey Param title and parameter value, the part charge extraction conditions include first condition, second condition and the 3rd
It is at least one in condition,
The first condition is:The depth of the Path parts of the segment information instruction is in the first sample information set and institute
State it is identical in the second sample information set, and described in the segment information indicate Path values the first sample information set with
It is different in the second sample information set,
The second condition is:The Quey Param of segment information instruction title belongs to the first sample information set
Adopted with the parameter value of the second sample information set both sides, and the Quey Param of segment information instruction described first
It is different in sample information aggregate and the second sample information set,
The third condition is:The Quey Param of segment information instruction title only belongs to the first sample information collection
Close and the side in the second sample information set;
From described at least two first sampling URL, the part charge is removed.
9. according to the method for claim 8, it is characterised in that the 4th URL was received in the second period, and the 5th URL is
Received in the 3rd period, the interval between second period and the 3rd period is the duration according to the 3rd video
Determine.
10. according to the method for claim 8, it is characterised in that the 4th sampling URL is that the first user equipment is being asked
Obtain the URL sent during three sample videos, the 5th sampling URL is first user equipment described in acquisition request the
The URL sent during the fragment of three sample videos;Or
The 4th sampling URL is the URL that the first user equipment is sent in the fragment of the sample video of acquisition request the 3rd, described
5th sampling URL is the URL that first user equipment is sent in three sample video described in acquisition request;Or
The 4th sampling URL is the URL that the first user equipment is sent in the first fragment of the sample video of acquisition request the 3rd,
The 5th sampling URL is that first user equipment is sent in the second fragment of the 3rd sample video described in acquisition request
URL, wherein, first fragment and second fragment are different.
11. method according to any one of claim 1 to 4, it is characterised in that the determination and the target URL phases
Corresponding target video, including:
Receive and memory buffers video and at least one caching URL in buffer memory device, wherein, each caching URL with
The buffered video is corresponding;
According to identification division extraction model, the identification division of the caching URL is determined, wherein, the identification division extraction model
It is to be determined according at least two the 3rd sampling URL identification division, wherein, each 3rd sampling URL identification division
Character string is identical, and each 3rd sampling URL character string is different, the user equipment phase corresponding to each 3rd sampling URL
Different, each 3rd sampling URL is corresponding with the second sample video, and the identification division of the 3rd sampling URL is contained in institute
State the 3rd sampling URL non-host name Host parts;Travel through the non-host name Host parts of the target URL, if it is determined that institute
State the character string of the identification division comprising the caching URL in target URL non-host name Host parts, it is determined that the caching
Video is the target video.
12. according to the method for claim 11, it is characterised in that the non-host name Host parts include path P ath portions
Point, the depth of each caching URL Path parts is identical, and
Before the non-host name Host parts of the target URL are traveled through, methods described also includes:
Determine that the depth of the Path parts of the target URL is identical with the depth of each caching URL Path parts.
13. according to the method for claim 12, it is characterised in that the non-host name Host parts include path P ath portions
Point, and
Before the non-host name Host parts of the target URL are traveled through, methods described also includes:
Determine that the Path parts of the target URL are identical with each caching URL at least one URL Path parts.
14. the method according to claim 12 or 13, it is characterised in that the non-host name Host parts include path
Path parts and search parameter Quey Param parts,
Methods described also includes:
The parameter name for the search parameter that each caching URL Quey Param parts are included is determined, to generate parameter name collection
Close;
Before the non-host name Host parts of the target URL are traveled through, methods described also includes:
Determine that the parameter name for the search parameter that the Quey Param parts of the target URL are included belongs to the parameter name collection
Close.
15. the method according to claim 12 or 13, it is characterised in that methods described also includes:
At least one authentication URL is received, and the caching URL is included in the non-host name Host substrings of the authentication URL
Identification division character string;
The authentication URL is forwarded to server;
Receive the checking video that the server is sent according to the authentication URL;
Determine that the checking video is identical with the buffered video.
16. according to the method for claim 7, it is characterised in that methods described also includes:
The 6th sampling URL and the 4th sample video are received, wherein, the 6th sampling URL and the 4th sample video phase
Corresponding, the 4th sample video and second sample video are different;
According to the identification division extraction model, the described 6th identification division for sampling URL is determined;
The lap between the 6th sampling URL identification division and the identification division of the 3rd sampling URL is determined, it is described heavy
Folded part includes at least one in Path values identical Path ranks and parameter value identical Quey Param;
The lap is removed from the described 3rd sampling URL identification division, to update the mark of the 3rd sampling URL
Part;
According to the identification division of the 3rd sampling URL after renewal, the identification division extraction model is updated.
17. method according to any one of claim 1 to 4, it is characterised in that each first sampling URL Host
Partial character string is identical, and
According to the session section extraction model, the session section of the first object URL, and second target are being determined
Before URL session section, methods described also includes:
Determine the character string and the character string of the described first sampling URL Host parts of the Host parts of the first object URL
It is identical;
Determine the character string and the character string of the described first sampling URL Host parts of the Host parts of the second target URL
It is identical.
18. a kind of video identification device, it is characterised in that described device includes:
Transmit-Receive Unit, for receiving the destination Uniform Resource finger URL URL of target UE transmission;
Determining unit, for determining the target video corresponding with the target URL, wherein, the target URL includes the first mesh
URL and the second target URL is marked, the target video includes the first object video corresponding with the first object URL, and
Second target video corresponding with the second target URL, according to session section extraction model, determines the first object
URL session section, and the session section of the second target URL, the session section extraction model are according at least two
What individual first sampling URL session section determined, wherein, each first sampling URL is corresponding with the first user equipment, respectively
The character string of the session section of the first sampling URL is identical, and the session section of the first sampling URL is adopted including described first
Part in sample URL in addition to User Part, the User Part of the first sampling URL are used to indicate that first user sets
Standby, the session section of the first sampling URL is contained in the non-host name Host parts of the first sampling URL, described non-master
Machine name Host parts be URL character string in part in addition to Host parts, at least two first sampling URL with least
Two the first sample videos correspond, and at least two first sample video belongs to same video playback session;
Identifying unit, if the session section phase of the session section and the second target URL for the first object URL
Together, it is determined that the first object video belongs to same video playback session with second target video.
19. device according to claim 18, it is characterised in that the Transmit-Receive Unit is additionally operable to receive described at least two
First sampling URL;
The determining unit is additionally operable to travel through the non-host name Host parts of the first sampling URL, determines that each described first adopts
Sample URL session section, according to described at least two first sampling URL session section, determine the session section extraction mould
Type.
20. device according to claim 19, it is characterised in that the Transmit-Receive Unit was specifically used within the first period,
At least two first samplings URL is received, first period is connect at first according in described at least two first sampling URL
What the duration of the URL received the first corresponding sample video determined.
21. device according to claim 20, it is characterised in that the Transmit-Receive Unit was additionally operable in first period
Outside, at least one second sampling URL is received, the second sampling URL is corresponding with first user equipment;
The determining unit is additionally operable to, according to each first sampling URL and the second sampling URL, determine that each described first adopts
Sample URL User Part, in the described first sampling URL samples URL with described second, the character string phase of the User Part
Together, from described at least two first sampling URL, the User Part is removed.
22. the device according to any one of claim 18 to 21, it is characterised in that the determining unit is additionally operable to basis
Identification division extraction model, the identification division of at least two first samplings URL is determined, wherein, the identification division extraction
Model is determined according at least two the 3rd sampling URL identification division, wherein, each 3rd sampling URL mark part
The character string divided is identical, and each 3rd sampling URL character string is different, and the user corresponding to each 3rd sampling URL sets
Standby different, each 3rd sampling URL is corresponding with the second sample video, and the identification division of the 3rd sampling URL includes
In the described 3rd sampling URL non-host name Host parts;
For from described at least two first sampling URL, removing the identification division.
23. the device according to any one of claim 18 to 21, it is characterised in that the determining unit is additionally operable to basis
Part charge extraction model, the part charge of at least two first samplings URL is determined, wherein, the part charge extraction
Model is determined according to the segment information, and the segment information is to be based on part charge extraction conditions, and the first sampling is believed
Breath set and the second sample information set contrast processing and sample letter from the first sample information set and described second
Determined in breath set, the first sample information set is determined according to the 4th sampling URL, the 4th sampling URL bags
Path P ath parts and search parameter Quey Param parts are included, the Quey Param parts of the 4th sampling URL include K
Quey Param, the first sample information set include at least one in the first information and the second information, first letter
The depth and Path values of the Path parts for indicating the 4th sampling URL are ceased, second information is for indicating described the
Four sampling URL K Quey Param title and parameter value, the second sample information set are according to the 5th sampling URL
Determine, the 5th sampling URL includes Path parts and Quey Param parts, the Quey of the 5th sampling URL
Param parts include M Quey Param, the 4th sampling URL and the corresponding 3rd video phases of the 5th sampling URL
Together, the 5th sample information set includes at least one in the 3rd information and the 4th information, and the 3rd information is used to refer to
Show the depth and Path values of the Path parts of the 5th sampling URL, the 4th information is used to indicate the 5th sampling URL
M Quey Param title and parameter value, the part charge extraction conditions include first condition, second condition and the 3rd
It is at least one in condition,
The first condition is:The depth of the Path parts of the segment information instruction is in the first sample information set and institute
State it is identical in the second sample information set, and described in the segment information indicate Path values the first sample information set with
It is different in the second sample information set,
The second condition is:The Quey Param of segment information instruction title belongs to the first sample information set
Adopted with the parameter value of the second sample information set both sides, and the Quey Param of segment information instruction described first
Different in sample information aggregate and the second sample information set, the third condition is:The Quey of the segment information instruction
The side that Param title is only belonged in the first sample information set and the second sample information set;
For from described at least two first sampling URL, removing the part charge.
24. the device according to any one of claim 18 to 21, it is characterised in that the Transmit-Receive Unit is additionally operable to receive
And memory buffers video and at least one caching URL in buffer memory device, wherein, each caching URL with the caching
Video is corresponding;
The determining unit is specifically used for the identification division for according to identification division extraction model, determining the caching URL, wherein,
The identification division extraction model is determined according at least two the 3rd sampling URL identification division, wherein, each described 3rd
The character string of sampling URL identification division is identical, and each 3rd sampling URL character string is different, each 3rd sampling URL
Corresponding user equipment is different, and each 3rd sampling URL is corresponding with the second sample video, the 3rd sampling URL
Identification division be contained in it is described 3rd sampling URL non-host name Host parts;Travel through the non-host name of the target URL
Host parts, if it is determined that the word of the identification division comprising the caching URL in the non-host name Host parts of the target URL
Symbol string, it is determined that the buffered video is the target video.
25. device according to claim 22, it is characterised in that the Transmit-Receive Unit is additionally operable to receive the 6th sampling URL
And the 4th sample video, wherein, the 6th sampling URL is corresponding with the 4th sample video, and the described 4th samples and regard
Frequency is different with second sample video;
The determining unit is additionally operable to be used for the mark for according to the identification division extraction model, determining the 6th sampling URL
Part, the lap between the 6th sampling URL identification division and the identification division of the 3rd sampling URL is determined, it is described
Lap includes at least one in Path values identical Path ranks and parameter value identical Quey Param, for from institute
State in the 3rd sampling URL identification division and remove the lap, to update the identification division of the 3rd sampling URL;
For the identification division according to the 3rd sampling URL after renewal, the identification division extraction model is updated.
26. a kind of video recognition system, it is characterised in that the system includes:
Video identification device according to any one of claim 18 to 25;
User equipment, for sending uniform resource position mark URL to the video identification device, and obtained from the device of transmission video
Take the video corresponding with the URL;
Server, for receiving the URL of the video identification device forwarding, it is determined that the video corresponding with the URL, and
The video is sent to the video identification device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410461436.0A CN104301806B (en) | 2014-09-11 | 2014-09-11 | Video frequency identifying method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410461436.0A CN104301806B (en) | 2014-09-11 | 2014-09-11 | Video frequency identifying method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104301806A CN104301806A (en) | 2015-01-21 |
CN104301806B true CN104301806B (en) | 2017-11-24 |
Family
ID=52321334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410461436.0A Active CN104301806B (en) | 2014-09-11 | 2014-09-11 | Video frequency identifying method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104301806B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10547876B2 (en) * | 2017-02-08 | 2020-01-28 | Nanning Fugui Precision Industrial Co., Ltd. | Video cache rule generation system and method |
CN110727822B (en) * | 2019-11-19 | 2022-02-08 | 北京网聘咨询有限公司 | Online learning system based on personalized recommendation |
CN112084440B (en) * | 2020-09-11 | 2023-08-08 | 北京有竹居网络技术有限公司 | Data verification method, device, electronic equipment and computer readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714977A (en) * | 2007-04-13 | 2010-05-26 | 华为技术有限公司 | Method, system and device for modifying playing streaming media |
CN102761532A (en) * | 2011-04-29 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Information processing system and method for network video |
CN102868909A (en) * | 2011-10-17 | 2013-01-09 | 苏州迈科网络安全技术股份有限公司 | Method and device for caching MP4 online video |
CN103024535A (en) * | 2012-12-25 | 2013-04-03 | 北京奇虎科技有限公司 | Video playing method, server and video playing system |
CN103024526A (en) * | 2012-12-31 | 2013-04-03 | 上海全景数字技术有限公司 | Multi-screen interaction system based on digital television set-top box |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8683066B2 (en) * | 2007-08-06 | 2014-03-25 | DISH Digital L.L.C. | Apparatus, system, and method for multi-bitrate content streaming |
KR101105970B1 (en) * | 2009-09-02 | 2012-01-17 | 한국전자통신연구원 | Media mediator system and method for managing contents of various format |
-
2014
- 2014-09-11 CN CN201410461436.0A patent/CN104301806B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714977A (en) * | 2007-04-13 | 2010-05-26 | 华为技术有限公司 | Method, system and device for modifying playing streaming media |
CN102761532A (en) * | 2011-04-29 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Information processing system and method for network video |
CN102868909A (en) * | 2011-10-17 | 2013-01-09 | 苏州迈科网络安全技术股份有限公司 | Method and device for caching MP4 online video |
CN103024535A (en) * | 2012-12-25 | 2013-04-03 | 北京奇虎科技有限公司 | Video playing method, server and video playing system |
CN103024526A (en) * | 2012-12-31 | 2013-04-03 | 上海全景数字技术有限公司 | Multi-screen interaction system based on digital television set-top box |
Also Published As
Publication number | Publication date |
---|---|
CN104301806A (en) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104301743B (en) | Transmit method, gateway device and the Video transmission system of video | |
CN107194419A (en) | Video classification methods and device, computer equipment and computer-readable recording medium | |
CN104221006B (en) | The optimization of the web page contents including video | |
WO2018036272A1 (en) | News content pushing method, electronic device, and computer readable storage medium | |
US20140278747A1 (en) | Stratified sampling applied to a/b tests | |
CN108270738A (en) | A kind of method for processing video frequency and the network equipment | |
CN104954234B (en) | A kind of microblog data acquisition methods, device and the analysis of public opinion method | |
CN104301806B (en) | Video frequency identifying method, device and system | |
CN104581407A (en) | Video previewing method and device | |
CN106303669A (en) | A kind of video clipping method and device | |
CN102929938A (en) | Playable network resource ordering method and device | |
CN105490886A (en) | Method and device for testing network speed and electronic equipment | |
CN104216911B (en) | One kind browses tracking and device | |
CN105872721A (en) | Processing method and device of play-starting speed | |
CN109587521A (en) | The determination method and device of video cardton | |
CN108521405A (en) | A kind of risk management and control method, device and storage medium | |
CN106528851A (en) | Intelligent recommendation method and device | |
CN109522462A (en) | A kind of cloud querying method, device, equipment and storage medium based on block chain | |
CN106936930A (en) | A kind of breaking line preventive method and device of web game | |
Zhang et al. | Challenges and chances for the emerging short video network | |
CN107705105A (en) | A kind of resource transfers method, server, terminal and resource transfers system | |
CN107888989A (en) | A kind of interactive system and method live based on internet | |
CN103312540B (en) | Customer service demand parameter is determined method and apparatus | |
CN109408723A (en) | A kind of method for pushing and device | |
CN106682014A (en) | Game display data generation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |