CN107517237B - Video identification method and device - Google Patents

Video identification method and device Download PDF

Info

Publication number
CN107517237B
CN107517237B CN201610435354.8A CN201610435354A CN107517237B CN 107517237 B CN107517237 B CN 107517237B CN 201610435354 A CN201610435354 A CN 201610435354A CN 107517237 B CN107517237 B CN 107517237B
Authority
CN
China
Prior art keywords
ticket
video stream
user
identification
request
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
Application number
CN201610435354.8A
Other languages
Chinese (zh)
Other versions
CN107517237A (en
Inventor
叶家恒
黄昭文
全俊斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Group Guangdong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Guangdong Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN201610435354.8A priority Critical patent/CN107517237B/en
Publication of CN107517237A publication Critical patent/CN107517237A/en
Application granted granted Critical
Publication of CN107517237B publication Critical patent/CN107517237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Abstract

The embodiment of the invention discloses a video identification method, which comprises the following steps: receiving hypertext transfer protocol (HTTP) parameters of call tickets of a plurality of sessions, wherein the HTTP parameters comprise HTTP header characteristics and other parameters, and the other parameters comprise characteristic information of the call tickets; determining video stream call tickets from the call tickets of the plurality of sessions according to the HTTP header characteristics and the other parameters; acquiring attribute information of each video stream ticket; and identifying the users and the series connection sequence of each video stream ticket according to the attribute information. The embodiment of the invention also discloses a video identification device.

Description

Video identification method and device
Technical Field
The present invention relates to the field of data service technologies, and in particular, to a video identification method and apparatus.
Background
With the development of mobile communication services, video services as mobile communication services are also widely used. In order to realize data analysis of online video services, specific data service behaviors of users need to be analyzed, and the analysis basis comprises analysis and identification of Hyper Text Transfer Protocol (HTTP) call ticket data so as to realize reproduction and indexing of related call tickets in the whole video process.
In the prior art, online video services are identified by analyzing HTTP header feature data in a ticket, where the analyzed HTTP header feature content includes Uniform Resource Locators (URLs), User Agents (UA), Internet Protocol (IP), and the like, and online video services of video websites or Applications (APPs) are identified by analyzing the HTTP header features.
In the prior art, the situation that the HTTP header characteristics of different types of call tickets are the same exists only by identifying through the HTTP header characteristics, so that video identification cannot be performed, and further video stream call ticket data in the whole video process cannot be associated.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention are expected to provide a video identification method and apparatus, which can identify and associate video stream ticket data in the whole video process.
The technical scheme of the invention is realized as follows:
in one aspect, a video recognition method is provided, and the method includes:
receiving hypertext transfer protocol (HTTP) parameters of call tickets of a plurality of sessions, wherein the HTTP parameters comprise HTTP header characteristics and other parameters, and the other parameters comprise characteristic information of the call tickets;
determining video stream call tickets from the call tickets of the plurality of sessions according to the HTTP header characteristics and the other parameters;
acquiring attribute information of each video stream ticket;
and identifying the users and the series connection sequence of each video stream ticket according to the attribute information.
Preferably, the attribute information includes user information and a uniform resource locator URL, and the identifying the user and the series order of each video stream ticket according to the attribute information includes:
determining request parameters in each URL according to each URL, wherein the request parameters are used for identifying the request ticket characteristics of each video stream ticket;
and identifying the users and the series connection sequence of each video stream ticket according to the request parameters and each user information.
Preferably, for a first video stream ticket, identifying the users and the series connection sequence of each video stream ticket according to the request parameter and each user information includes:
according to the request parameters of the first video stream call ticket, the user information of the first video stream call ticket and a first preset rule, a request call ticket identifier of a user of the first video stream call ticket is formed by linking;
determining a response ticket identifier of the user of the first video stream ticket according to the request ticket identifier of the user of the first video stream ticket;
and identifying the user and the series sequence of the first video stream ticket according to the response ticket identification and the video stream identification of the user of the first video stream ticket, wherein the video stream identification is used for identifying different video stream tickets.
Preferably, the determining the response ticket identifier of the user of the first video stream ticket according to the request ticket identifier of the user of the first video stream ticket includes:
analyzing address information from the request ticket identification of the user of the first video stream ticket;
analyzing target file information from the address information;
and linking to form a response ticket identifier of the user of the first video stream ticket according to the target file information and the first preset rule.
Preferably, the identifying the user and the series connection sequence of the first video stream ticket according to the response ticket identifier of the user of the first video stream ticket and the video stream identifier comprises:
judging whether the response ticket identification of the user of the first video stream ticket is a complete request response video stream;
when the response ticket identification of the user of the first video stream ticket is the complete request response video stream, associating the response ticket identification of the user of the first video stream ticket and the video stream identification by combining a second preset rule;
and identifying the user and the series sequence of the first video stream ticket according to the association result.
In another aspect, a video recognition apparatus is provided, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving hypertext transfer protocol (HTTP) parameters of call tickets of a plurality of sessions, the HTTP parameters comprise HTTP head characteristics and other parameters, and the other parameters comprise characteristic information of the call tickets;
the determining module is used for determining video stream call tickets from the call tickets of the plurality of sessions according to the HTTP header characteristics and the other parameters;
the acquisition module is used for acquiring the attribute information of each video stream ticket;
and the identification module is used for identifying the users and the series connection sequence of each video stream ticket according to the attribute information.
Preferably, the attribute information includes user information and a uniform resource locator URL, and the identification module includes:
a determining unit, configured to determine, according to each URL, a request parameter in each URL, where the request parameter is used to identify a request ticket feature of each video stream ticket;
and the identification unit is used for identifying the users and the series connection sequence of each video stream ticket according to the request parameters and each user information.
Preferably, for the first video stream ticket, the identifying unit includes:
the link sub-unit is used for linking and forming a request ticket identifier of a user of the first video stream ticket according to the request parameter of the first video stream ticket, the user information of the first video stream ticket and a first preset rule;
a determining subunit, configured to determine, according to the request ticket identifier of the user of the first video stream ticket, a response ticket identifier of the user of the first video stream ticket;
and the identification subunit is used for identifying the user and the series connection sequence of the first video stream ticket according to the response ticket identification of the user of the first video stream ticket and the video stream identification, wherein the video stream identification is used for identifying different video stream tickets.
Preferably, the determining subunit is specifically configured to:
analyzing address information from the request ticket identification of the user of the first video stream ticket;
analyzing target file information from the address information;
and linking to form a response ticket identifier of the user of the first video stream ticket according to the target file information and the first preset rule.
Preferably, the identifier unit is specifically configured to:
judging whether the response ticket identification of the user of the first video stream ticket is a complete request response video stream;
when the response ticket identification of the user of the first video stream ticket is the complete request response video stream, associating the response ticket identification of the user of the first video stream ticket and the video stream identification by combining a second preset rule;
and identifying the user and the series sequence of the first video stream ticket according to the association result.
The embodiment of the invention provides a video identification method and a device, firstly, receiving hypertext transfer protocol (HTTP) parameters of call tickets of a plurality of sessions, wherein the HTTP parameters comprise HTTP head characteristics and other parameters, and the other parameters comprise characteristic information of the call tickets; then, according to the HTTP header characteristics and other parameters, determining a video stream ticket from the tickets of a plurality of sessions; then, acquiring attribute information of each video stream ticket; and finally, identifying the users and the series connection sequence of each video stream ticket according to the attribute information. Therefore, the video stream call ticket can be determined from the call tickets of a plurality of sessions according to the HTTP parameters of the call tickets, and then the user and the series connection sequence of each video stream call ticket can be identified by combining the attribute information of the video stream call ticket, so that the video stream call ticket can be accurately identified according to the HTTP head characteristics, other parameters and attribute information, the problem that the video stream identification cannot be carried out in the prior art when the HTTP head characteristics of different types of call tickets are the same is avoided, and meanwhile, the identification and association of the video stream call ticket data in the whole video process can be realized.
In addition, accurate data support can be provided for the traffic operation analysis of the telecom operator, and the method is favorable for expanding and adapting to different video streaming service providers.
Drawings
Fig. 1 is a flowchart of a video recognition method according to an embodiment of the present invention;
fig. 2 is a flowchart of request parameter determination according to an embodiment of the present invention;
fig. 3 is a flowchart of forming a request ticket identifier of a user according to an embodiment of the present invention;
fig. 4 is a flowchart of determining a response ticket identifier of a user according to an embodiment of the present invention;
FIG. 5 is a flow chart of another video recognition method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a video recognition apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another video identification apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another video identification apparatus according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Example one
An embodiment of the present invention provides a video identification method, which is applied to a video identification device, where the device may be a part of a server or may be a separate device, as shown in fig. 1, and the method includes:
step 101, receiving HTTP parameters of call tickets of a plurality of sessions.
Specifically, the HTTP parameters include HTTP header characteristics and other parameters, and the other parameters include characteristic information of the ticket.
In order to realize data analysis of the online video service, specific data service operation behaviors of a user need to be analyzed, and the analysis basis comprises analysis and identification of HTTP head characteristics of a call ticket. In addition, in order to improve the accuracy of ticket identification, the identification of other parameters is increased. The data analysis refers to a process of analyzing a large amount of collected data by using a proper statistical analysis method, extracting useful information and forming a conclusion, and performing detailed research and summary on the data.
Therefore, the HTTP parameters of the tickets of all sessions need to be received before video identification. It is worth noting that the number of all sessions is a natural number greater than or equal to 1.
Step 102, determining a video stream ticket from the tickets of a plurality of sessions according to the HTTP header characteristics and other parameters.
The HTTP header feature content comprises URL, UA and IP, and the online video service of the video website or APP is preliminarily identified through the analysis of the HTTP header features.
For example, taking a video as an example, IP, URL, and UA for identifying different video services are extracted, and the result is shown in table 1. Therefore, video business service identification can be carried out according to the priority of IP, URL and UA characteristic data in HTTP header characteristics, and service indexes such as video business flow and the like are calculated.
TABLE 1
Figure BDA0001020667590000061
In practice, the HTTP header features of different types of call tickets are the same, so that when video service identification is performed only through the HTTP header features, there is a problem that all video call tickets in a certain session process cannot be identified, and because the complete video traffic includes the video traffic, a video-bearing web page and traffic of other media data on the web page, incomplete or even inaccurate video traffic calculation may be caused.
The invention also adds other parameters except HTTP head characteristics to further identify the online video service of the video website or APP.
Specifically, the other parameters include file suffixes and a feature of being transmitted (CONTENT-TYPE), and the video stream is determined by using feature words of a Moving Picture Experts Group (MP 4) and a Transport Stream (TS), so that the problem that occurs when video service identification is performed only according to HTTP header features can be solved, and all video tickets of a certain session can be completely identified. In addition, relevant indexes or applications for analyzing the video, such as video fluency, pause rate, response time delay, video downloading rate, playing time and the like, can be calculated, and marketing or flow change tracking based on pure video flow can be realized.
Therefore, the video stream call ticket can be completely and accurately determined from the call tickets of a plurality of sessions through HTTP header characteristics and other parameters.
And 103, acquiring the attribute information of each video stream ticket.
In this embodiment, not only all video stream call tickets are identified, but also all video stream call tickets are associated, that is, connected in series in sequence. This requires attribute information for each video stream ticket.
The server can extract the attribute information of each video stream ticket, and the specific extraction method is mature prior art and will not be described in detail here.
And step 104, identifying the users and the series connection sequence of each video stream ticket according to the attribute information.
Wherein the attribute information includes user information and a URL.
Specifically, according to each URL, determining a request parameter in each URL, wherein the request parameter is used for identifying the request ticket characteristics of each video stream ticket; and identifying the users and the series connection sequence of each video stream ticket according to the request parameters and each user information.
Here, the request parameters include a redefined did and a redefined vid, and the determination process of the request parameters is as shown in fig. 2, and includes:
step 1041, obtaining a parameter list in the URL according to the attribute information.
Attribute information has been acquired in step 103, and at the same time, the attribute information includes a URL. At this time, the 5 specific parameters, namely did, ouid, vid, id and shouid, can be parsed from the URL to form a parameter list. It is worth noting that for a certain URL, these 5 specific parameters do not necessarily all exist at the same time.
Step 1042, determining a first request parameter according to the parameter list in the URL.
Parsing out the parameter list redefines did and ouid to be redefined did. At this point, a request parameter is determined, which is named the first request parameter. The first request parameter is an indirect determination parameter which can indirectly determine the request ticket identification of the user.
And 1043, determining a second request parameter according to the parameter list in the URL.
In the same manner as step 1042, another request parameter is determined by redefining the vid, id and shouid to a redefined vid, which is named the second request parameter. The second request parameter is a directly determined parameter capable of directly determining the request ticket identification of the user. It should be noted that step 1042 and step 1043 may be executed simultaneously without being sequentially executed.
And step 1044 of outputting the first request parameter and the second request parameter.
The request parameters determined in step 1042 and step 1043, i.e. the redefined did and the redefined vid, are output.
Specifically, for a first video stream ticket, a request ticket identifier of a user of the first video stream ticket is formed by linking according to a request parameter of the first video stream ticket, user information of the first video stream ticket and a first preset rule; determining a response ticket identifier of the user of the first video stream ticket according to the request ticket identifier of the user of the first video stream ticket; and identifying the user and the series connection sequence of the first video stream ticket according to the response ticket identification and the video stream identification of the user of the first video stream ticket, wherein the video stream identification is used for identifying different video stream tickets.
Here, the process of linking the request ticket identifier of the user who forms the first video stream ticket according to the request parameter of the first video stream ticket, the user information of the first video stream ticket, and the first preset rule includes, as shown in fig. 3:
step 1041', obtaining the first request parameter and the second request parameter.
Here, the first request parameter and the second request parameter have already been obtained in step 1044.
Step 1042', determine if the second request parameter exists. If so, go to step 1044'; otherwise, go to step 1043'.
In particular, the second request parameter refers to the redefined vid.
Step 1043', link the user information with the first request parameter to form a second request parameter.
The user information is user _ ip, and may be obtained from a Transmission Control Protocol (TCP) Protocol layer of a packet where the HTTP is located, where the user information belongs to the attribute information and is obtained in step 103. The first request parameter refers to the redefined did.
Here, indicating that there is no redefined vid, then the user ip and the redefined did are linked, forming a redefined vid, i.e. forming the second request parameter. It should be noted that linking refers to concatenating these two parameters, so that the requested parameter has the user's attributes.
Step 1044', link the user information and the second request parameter to form a request ticket identifier of the user.
Linking the user information and the second request parameter in the step refers to concatenating the user _ ip and the redefined vid, so that the request parameter has the attribute of the user, a request ticket identifier of the user is further formed, and the request ticket identifier of the user is recorded as REQ _ ID.
Specifically, address information is analyzed from a request ticket identifier of a user of a first video stream ticket; analyzing target file information from the address information; and linking the response ticket identifications of the users forming the first video stream ticket according to the target file information and the first preset rule.
There can be two cases:
the first condition is as follows: and the call ticket request identification of the user does not exist.
In this case, the request ticket id of the user is not formed, and obviously, the corresponding user response ticket id cannot be generated. This is as if no stimulus is given in one circuit, no response is generated.
Case two: there is a request ticket identification of the user.
When there is a request ticket id of a user, a process of determining a response ticket id of the user according to the request ticket id of the user is shown in fig. 4, and includes:
step 1041 ", obtaining a ticket corresponding to the request ticket identification of the user.
When the request ticket identification of the user exists, a ticket corresponding to the request ticket identification of the user is obtained.
Step 1042', judging whether the call ticket corresponding to the user request call ticket identification has address information; if so, perform step 1043 "; otherwise, step 1041 "is performed.
Here, the address information includes a valid location and/or an m3u8 address. The definition of "valid" here is that the address contains complete server path pointing to the video and contains < file name > information with video file suffix, and other parameters except HTTP header features are used for further identifying the online video service of the video website or APP; specifically, the other parameters include file suffixes and CONTENT-TYPE characteristics, and video stream judgment is performed through MP4 and TS characteristic words, so that the problem that occurs when video service identification is performed only according to HTTP header characteristics can be solved, and all video tickets of a certain session process can be completely identified.
Step 1043 ", determining file information according to the address information.
Since the file information includes < file name > information and the address information includes file information, the < file name > information can be extracted from the address information.
Step 1044 ", determining the response call ticket identification of the user according to the user information and the file information.
And forming a response ticket identifier of the user by linking the user information and the file information. I.e. link user _ ip and < filename > information, form the RES _ ID. Specifically, according to a first preset rule, the user information and the file information are connected to form a response ticket identifier of the user. Here, the first preset rule means that the user information and the file information are concatenated.
Specifically, judging whether a response ticket identifier of a user of a first video stream ticket is a complete request response video stream; when the response ticket identification of the user of the first video stream ticket is a complete request response video stream, associating the response ticket identification of the user of the first video stream ticket and the video stream identification by combining a second preset rule; and identifying the user and the series connection sequence of the first video stream ticket according to the association result.
In actual communication, data loss often occurs due to software or hardware failure. Wherein the software failure comprises: the system is infected by virus, artificially damaged by hacker software, powered off during operation, accidental electromagnetic interference and the like; hardware failures include: disk scratches, head deformation, head amplifier damage, etc.
When the response ticket identification of the user of the first video stream is formed, whether the ticket corresponding to the response ticket identification of the user of the first video stream is a complete request video stream is firstly analyzed, that is, whether the data in the ticket corresponding to the response ticket identification of the user of the first video stream is not lost is judged, and the data is useful data only if the data is ensured not to be lost, that is, the ticket corresponding to the response ticket identification of the user of the first video stream is a useful ticket. It should be noted that a complete request video stream includes the user's request ticket and the user's response ticket. And then, when the call ticket corresponding to the response call ticket identification of the user of the first video stream is a complete request video stream, associating the response call ticket identification of the user of the first video stream and the video stream identification by combining a second preset rule. Finally, according to the association result, the users of the first video stream can be identified, and the video streams of the same user are orderly concatenated. Here, according to a second rule, the response ticket identification of the user of the first video stream is associated with the video stream identification. The second preset rule is a process of matching the response ticket identification of the user of the first video stream with the video stream identification, so that the response ticket identification of the user of the first video stream is orderly concatenated, and finally, the video behavior of the user is identified.
Therefore, the video stream call ticket can be determined from the call tickets of a plurality of sessions according to the HTTP parameters of the call tickets, and then the user and the series connection sequence of each video stream call ticket can be identified by combining the attribute information of the video stream call ticket, so that the video stream call ticket can be accurately identified according to the HTTP head characteristics, other parameters and attribute information, the problem that the video stream identification cannot be carried out in the prior art when the HTTP head characteristics of different types of call tickets are the same is avoided, and meanwhile, the identification and association of the video stream call ticket data in the whole video process can be realized.
In addition, accurate data support can be provided for the traffic operation analysis of the telecom operator, and the method is favorable for expanding and adapting to different video streaming service providers.
Example two
An embodiment of the present invention provides a video identification method, which is applied to a video identification device, and assuming that a user U is taken as an example, a video watched by the user U on a video website a is determined at present, as shown in fig. 5, the method includes:
step 201, receiving HTTP parameters of call tickets of all sessions.
The server can extract the HTTP parameters of the tickets of all sessions from its database. Here, the HTTP parameters of the ticket include HTTP header characteristics and other parameters.
Step 202, determining the A video session from all the sessions according to the HTTP parameters of the call ticket.
By combining the characteristics of the A video session, the A video session can be accurately screened out from all the sessions by utilizing the dual screening of HTTP header characteristics and other parameters. Here, the HTTP header feature content includes URL, UA, and IP; other parameters include file suffixes and CONTENT-TYPE characteristics.
Step 203, obtaining the attribute information of the call ticket of the video session A.
The server obtains the attribute information of the ticket of the video session a screened in step 202 from the database. Here, the attribute information includes user information and a URL.
And step 204, determining request parameters according to the attribute information of the call ticket.
Specifically, a parameter list is obtained from a URL; the request parameters are then determined from the parameter list.
Step 205, judging whether the request parameter exists, if so, executing step 206; otherwise, step 210 is performed.
Since the request parameter does not necessarily exist, it is necessary to determine whether the request parameter exists.
And step 206, determining the request ticket identification of the user U according to the request parameter and the attribute information.
The attribute information comprises user information, and the request ticket identification of the U can be obtained by combining the information of the user U and the obtained request parameters.
And step 207, determining the response call ticket identification of the U according to the request call ticket identification and the attribute information of the U.
Specifically, firstly, address information is obtained from a request ticket identifier of a U, wherein the address information is a pointed response ticket identifier, and a corresponding response ticket identifier can be found through the address information; then, the response ticket identification of the U can be determined by combining the information and the address information of the user U.
Step 208, judging whether the response ticket identification of the U is complete, if so, executing step 209; otherwise, step 210 is performed.
Because data loss may occur in the communication process, it is necessary to determine whether the response ticket identifier of U is complete, that is, it is ensured that no data loss occurs in the response ticket identifier of U. The completeness here means that the request ticket identification of the U and the response ticket identification of the U are in one-to-one correspondence and appear in pairs.
And step 209, determining the serial sequence of the response ticket identifications of the U according to the video stream identifications.
The video stream identifier is used for identifying different video stream call tickets, is equivalent to a template, and can sequence the video stream call tickets. And (4) associating the video stream call ticket with the response call ticket identification of the U, so as to determine the serial sequence of the response call ticket identification of the U, namely determining the complete content of the video A seen by the U.
Step 210, abandoning the call ticket.
The data in the call ticket is lost, so the data should be discarded.
Therefore, the video stream call ticket can be determined from the call tickets of a plurality of sessions according to the HTTP parameters of the call tickets, and then the user and the series connection sequence of each video stream call ticket can be identified by combining the attribute information of the video stream call ticket, so that the video stream call ticket can be accurately identified according to the HTTP head characteristics, other parameters and attribute information, the problem that the video stream identification cannot be carried out in the prior art when the HTTP head characteristics of different types of call tickets are the same is avoided, and meanwhile, the identification and association of the video stream call ticket data in the whole video process can be realized.
In addition, accurate data support can be provided for the traffic operation analysis of the telecom operator, and the method is favorable for expanding and adapting to different video streaming service providers.
EXAMPLE III
An embodiment of the present invention provides a video identification apparatus 30, as shown in fig. 6, where the apparatus 30 includes:
a receiving module 301, configured to receive HTTP parameters of call tickets of multiple sessions, where the HTTP parameters include HTTP header characteristics and other parameters, and the other parameters include characteristic information of the call tickets;
a determining module 302, configured to determine a video stream ticket from the tickets of the multiple sessions according to the HTTP header feature and the other parameters;
an obtaining module 303, configured to obtain attribute information of each video stream ticket;
and the identifying module 304 is configured to identify the user and the series order of each video stream ticket according to the attribute information.
Therefore, the video stream call ticket can be determined from the call tickets of a plurality of sessions according to the HTTP parameters of the call tickets, and then the user and the series connection sequence of each video stream call ticket can be identified by combining the attribute information of the video stream call ticket, so that the video stream call ticket can be accurately identified according to the HTTP head characteristics, other parameters and attribute information, the problem that the video stream identification cannot be carried out in the prior art when the HTTP head characteristics of different types of call tickets are the same is avoided, and meanwhile, the identification and association of the video stream call ticket data in the whole video process can be realized.
In addition, accurate data support can be provided for the traffic operation analysis of the telecom operator, and the method is favorable for expanding and adapting to different video streaming service providers.
Specifically, the attribute information includes user information and a uniform resource locator URL, as shown in fig. 7, the identifying module 304 includes:
a determining unit 3041, configured to determine, according to each URL, a request parameter in each URL, where the request parameter is used to identify a request ticket feature of each video stream ticket;
an identifying unit 3042, configured to identify the user and the concatenation sequence of each video stream ticket according to the request parameter and each user information.
As for the first video stream ticket, as shown in fig. 8, the identifying unit 3042 includes:
a linking subunit 30421, configured to link a request ticket identifier of a user who forms the first video stream ticket according to the request parameter of the first video stream ticket, the user information of the first video stream ticket, and a first preset rule;
a determining subunit 30422, configured to determine, according to the request ticket identifier of the user of the first video stream ticket, a response ticket identifier of the user of the first video stream ticket;
the identifying subunit 30423 is configured to identify the user and the series connection order of the first video stream ticket according to the response ticket identifier of the user of the first video stream ticket and the video stream identifier, where the video stream identifier is used to identify different video stream tickets.
Specifically, the determining subunit 30422 is specifically configured to: analyzing address information from the request ticket identification of the user of the first video stream ticket; analyzing target file information from the address information; and linking to form a response ticket identifier of the user of the first video stream ticket according to the target file information and the first preset rule.
Specifically, the identifier subunit 30423 is specifically configured to: judging whether the response ticket identification of the user of the first video stream ticket is a complete request response video stream; when the response ticket identification of the user of the first video stream ticket is the complete request response video stream, associating the response ticket identification of the user of the first video stream ticket and the video stream identification by combining a second preset rule; and identifying the user and the series sequence of the first video stream ticket according to the association result.
In practical applications, the receiving module 301, the determining module 302, the obtaining module 303, the identifying module 304, the determining Unit 3041, the identifying Unit 3042, the linking subunit 30421, the determining subunit 30422, and the identifying subunit 30423 may all be implemented by a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like, which are located in the video identifying apparatus 30.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A method for video recognition, the method comprising:
receiving hypertext transfer protocol (HTTP) parameters of call tickets of a plurality of sessions, wherein the HTTP parameters comprise HTTP header characteristics and other parameters, and the other parameters comprise characteristic information of the call tickets;
determining video stream call tickets from the call tickets of the plurality of sessions according to the HTTP header characteristics and the other parameters;
acquiring attribute information of each video stream ticket; wherein the attribute information comprises user information and a Uniform Resource Locator (URL);
and identifying the users and the series connection sequence of each video stream ticket according to the attribute information.
2. The method of claim 1, wherein the identifying the user and the concatenation sequence of each video stream ticket according to the attribute information comprises:
determining request parameters in each URL according to each URL, wherein the request parameters are used for identifying the request ticket characteristics of each video stream ticket;
and identifying the users and the series connection sequence of each video stream ticket according to the request parameters and each user information.
3. The method according to claim 1 or 2, wherein for a first video stream ticket, said identifying the user and the concatenation order of each video stream ticket according to the request parameters and each user information comprises:
according to the request parameters of the first video stream call ticket, the user information of the first video stream call ticket and a first preset rule, a request call ticket identifier of a user of the first video stream call ticket is formed by linking;
determining a response ticket identifier of the user of the first video stream ticket according to the request ticket identifier of the user of the first video stream ticket;
and identifying the user and the series sequence of the first video stream ticket according to the response ticket identification and the video stream identification of the user of the first video stream ticket, wherein the video stream identification is used for identifying different video stream tickets.
4. The method of claim 3, wherein the determining the response ticket id of the user of the first video stream ticket according to the request ticket id of the user of the first video stream ticket comprises:
analyzing address information from the request ticket identification of the user of the first video stream ticket;
analyzing target file information from the address information;
and linking to form a response ticket identifier of the user of the first video stream ticket according to the target file information and the first preset rule.
5. The method of claim 3, wherein identifying the user and the concatenation order of the first video stream ticket according to the response ticket identification of the user of the first video stream ticket and the video stream identification comprises:
judging whether the response ticket identification of the user of the first video stream ticket is a complete request response video stream;
when the response ticket identification of the user of the first video stream ticket is the complete request response video stream, associating the response ticket identification of the user of the first video stream ticket and the video stream identification by combining a second preset rule;
and identifying the user and the series sequence of the first video stream ticket according to the association result.
6. A video recognition apparatus, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving hypertext transfer protocol (HTTP) parameters of call tickets of a plurality of sessions, the HTTP parameters comprise HTTP head characteristics and other parameters, and the other parameters comprise characteristic information of the call tickets;
the determining module is used for determining video stream call tickets from the call tickets of the plurality of sessions according to the HTTP header characteristics and the other parameters;
the acquisition module is used for acquiring the attribute information of each video stream ticket; wherein the attribute information comprises user information and a Uniform Resource Locator (URL);
and the identification module is used for identifying the users and the series connection sequence of each video stream ticket according to the attribute information.
7. The apparatus of claim 6, wherein the identification module comprises:
a determining unit, configured to determine, according to each URL, a request parameter in each URL, where the request parameter is used to identify a request ticket feature of each video stream ticket;
and the identification unit is used for identifying the users and the series connection sequence of each video stream ticket according to the request parameters and each user information.
8. The apparatus according to claim 6 or 7, wherein for a first video stream ticket, the identifying unit comprises:
the link sub-unit is used for linking and forming a request ticket identifier of a user of the first video stream ticket according to the request parameter of the first video stream ticket, the user information of the first video stream ticket and a first preset rule;
a determining subunit, configured to determine, according to the request ticket identifier of the user of the first video stream ticket, a response ticket identifier of the user of the first video stream ticket;
and the identification subunit is used for identifying the user and the series connection sequence of the first video stream ticket according to the response ticket identification of the user of the first video stream ticket and the video stream identification, wherein the video stream identification is used for identifying different video stream tickets.
9. The apparatus of claim 8, wherein the determining subunit is specifically configured to:
analyzing address information from the request ticket identification of the user of the first video stream ticket;
analyzing target file information from the address information;
and linking to form a response ticket identifier of the user of the first video stream ticket according to the target file information and the first preset rule.
10. The apparatus according to claim 8, wherein the identifier subunit is specifically configured to:
judging whether the response ticket identification of the user of the first video stream ticket is a complete request response video stream;
when the response ticket identification of the user of the first video stream ticket is the complete request response video stream, associating the response ticket identification of the user of the first video stream ticket and the video stream identification by combining a second preset rule;
and identifying the user and the series sequence of the first video stream ticket according to the association result.
CN201610435354.8A 2016-06-17 2016-06-17 Video identification method and device Active CN107517237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610435354.8A CN107517237B (en) 2016-06-17 2016-06-17 Video identification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610435354.8A CN107517237B (en) 2016-06-17 2016-06-17 Video identification method and device

Publications (2)

Publication Number Publication Date
CN107517237A CN107517237A (en) 2017-12-26
CN107517237B true CN107517237B (en) 2021-05-07

Family

ID=60719850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610435354.8A Active CN107517237B (en) 2016-06-17 2016-06-17 Video identification method and device

Country Status (1)

Country Link
CN (1) CN107517237B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064996B (en) * 2019-12-09 2021-11-02 宜通世纪科技股份有限公司 Method, system and storage medium for identifying user watching video content preference
CN113542203B (en) * 2020-04-21 2022-06-28 中国移动通信集团贵州有限公司 Video service DPI identification method and server
CN115720242A (en) * 2022-10-25 2023-02-28 武汉虹旭信息技术有限责任公司 Method and device for identifying multimedia information on Internet and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744573A (en) * 2005-08-30 2006-03-08 杭州华为三康技术有限公司 Business flow idnetifying method
CN104348642A (en) * 2013-07-31 2015-02-11 华为技术有限公司 A spam information filtering method and device
CN105337932A (en) * 2014-06-30 2016-02-17 杭州迪普科技有限公司 WEB application protection method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9465995B2 (en) * 2013-10-23 2016-10-11 Gracenote, Inc. Identifying video content via color-based fingerprint matching

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744573A (en) * 2005-08-30 2006-03-08 杭州华为三康技术有限公司 Business flow idnetifying method
CN104348642A (en) * 2013-07-31 2015-02-11 华为技术有限公司 A spam information filtering method and device
CN105337932A (en) * 2014-06-30 2016-02-17 杭州迪普科技有限公司 WEB application protection method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于协议的互联网音视频识别方法;刘晨鸣;《新媒体》;20091231;第32-34页 *

Also Published As

Publication number Publication date
CN107517237A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
US11233819B2 (en) Method and apparatus for analyzing cyberattack
Krishnamoorthi et al. BUFFEST: Predicting buffer conditions and real-time requirements of HTTP (S) adaptive streaming clients
CN104463643B (en) A kind of method presenting user comment in advertisement
US20130191890A1 (en) Method and system for user identity recognition based on specific information
CN105979404A (en) Streaming media processing method and device
RU2015156608A (en) NETWORK DEVICE AND SERVICE PROCESS MANAGEMENT METHOD
CN103297270A (en) Application type recognition method and network equipment
US10250521B2 (en) Data stream identifying method and device
CN109982068B (en) Method, apparatus, device and medium for evaluating quality of synthesized video
CN105302885B (en) full-text data extraction method and device
CN107517237B (en) Video identification method and device
US10085046B2 (en) Video transmission method, gateway device, and video transmission system
WO2017000761A1 (en) Method and apparatus for extracting feature information of terminal device
US20170187837A1 (en) Ad download method, the client and the server
CN104394475A (en) Streaming media file playing method and media player
WO2016054558A1 (en) Fusing online media monitoring data with secondary online data feeds to generate ratings data for online media exposure
US20170142454A1 (en) Third-party video pushing method and system
CN112672381A (en) Data association method, device, terminal equipment and medium
US20160019266A1 (en) Query generating method and query generating device
JP2023514722A (en) FAILURE DETECTION METHOD, APPARATUS, ELECTRONIC DEVICE, AND READABLE STORAGE MEDIUM FOR LIVE BROADCAST SERVICE
CN113038153A (en) Financial live broadcast violation detection method, device and equipment and readable storage medium
US20160073137A1 (en) Transmission apparatus, transmission method, reception apparatus, and reception method
CN103036746A (en) Passive measurement method and passive measurement system of web page responding time based on network intermediate point
CN110460884B (en) Advertisement delivery monitoring method and device
CN105828122A (en) Video information obtaining method and device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant