A method, apparatus, electronic device, and storage medium for parsing encrypted video traffic.
By acquiring and structuring URL feature fingerprint rules, and combining them with user browsing logs to parse HTTPS encrypted video traffic, the problems of high parsing cost and low accuracy in existing technologies are solved, achieving efficient and accurate video traffic parsing.
Patent Information
- Application Number
- CN202210239518.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-11
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-03-11
AI Technical Summary
Existing technologies require significant manpower and resources to parse HTTPS encrypted video traffic, and their accuracy is low when there is network packet loss or buffering.
By obtaining the URL feature fingerprints of users accessing video applications, performing structured processing to form URL feature fingerprint rules, combining the target user's browsing logs, determining the target video identifier and parsing traffic information, and using the video identifier code for information matching, the system avoids cracking HTTPS encrypted information.
It achieves accurate and efficient parsing of encrypted video traffic, reducing time and equipment costs while improving parsing speed and accuracy.
Smart Images

Figure CN116781966B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, and specifically relates to a method, apparatus, electronic device and storage medium for parsing encrypted video traffic. Background Technology
[0002] With the development of network communication technology, in order to protect users and website content from being spied on, and to safeguard the security of online browsing and transactions, more and more applications on the Internet are encrypting traffic. Hypertext Transfer Protocol over Secure Socket Layer (HTTPS) can enable encrypted transmission of various types of traffic on the Internet, such as video traffic.
[0003] To effectively identify HTTPS encrypted video traffic, an HTTPS domain name backfilling scheme is generally used. This scheme requires developing new software modules based on a unified Deep Packet Inspection (DPI) system and deploying multiple devices such as DPI equipment, domain name backfilling servers, and data synthesis servers. This consumes a lot of manpower and resources and has a long identification cycle. On the other hand, the method of parsing HTTPS encrypted video traffic by using statistical characteristics such as packet size, packet arrival time interval, byte rate, and the ratio of uplink to downlink bytes is not very accurate when there is network packet loss or buffering. Summary of the Invention
[0004] This application provides a method, apparatus, electronic device, and storage medium for parsing encrypted video traffic, which can achieve accurate and efficient parsing of encrypted video traffic.
[0005] In a first aspect, embodiments of this application provide an encrypted video traffic parsing method, the method comprising: obtaining a Uniform Resource Locator (URL) feature fingerprint of a user accessing a first video application; performing structured processing on the URL feature fingerprint to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier; determining multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet access logs; and determining the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and multiple video information corresponding to the multiple target video identifiers.
[0006] Secondly, an encrypted video traffic parsing device is provided, comprising: an acquisition module for acquiring a Uniform Resource Locator (URL) feature fingerprint of a user accessing a first video application; a processing module for performing structured processing on the URL feature fingerprint to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier; a determination module for determining multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet access logs; and for determining the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and multiple video information corresponding to the multiple target video identifiers.
[0007] Thirdly, embodiments of the present invention provide an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method described in the first aspect.
[0008] In a sixth aspect, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0009] In this embodiment, by obtaining the Uniform Resource Locator (URL) feature fingerprint of a user's access to a first video application; performing structured processing on the URL feature fingerprint to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier; determining multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet access logs; and determining the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and the multiple video information corresponding to the multiple target video identifiers, accurate and efficient parsing of encrypted video traffic can be achieved. Attached Figure Description
[0010] Figure 1 This is a flowchart illustrating an encrypted video traffic parsing method provided in an embodiment of this application;
[0011] Figure 2 This is a flowchart illustrating another encrypted video traffic parsing method provided in an embodiment of this application;
[0012] Figure 3 This is a flowchart illustrating another encrypted video traffic parsing method provided in an embodiment of this application;
[0013] Figure 4 This is a schematic diagram of the structure of an encrypted video traffic parsing device provided in an embodiment of this application;
[0014] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0015] Figure 6 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0016] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0017] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0018] The following description, in conjunction with the accompanying drawings, details a method, apparatus, electronic device, and storage medium for parsing encrypted video traffic provided in this application, through specific embodiments and application scenarios.
[0019] Figure 1 This illustration shows a flowchart of an encrypted video traffic parsing method according to an embodiment of this application. The method can be executed by an electronic device, which may include a server or a terminal device. In other words, the method can be executed by software or hardware installed on the electronic device, and the method includes the following steps:
[0020] S101: Obtain the Uniform Resource Locator (URL) feature fingerprint of the user's access to the first video application.
[0021] Considering that the URLs containing detailed video information are HTTPS when browsing videos on mobile phones, we first establish a URL feature fingerprint database of user access to video applications (Apps). This step provides a data foundation for implementing HTTPS-encrypted video traffic parsing by obtaining the URL feature fingerprint of the user's access to the first video application.
[0022] S102: The URL feature fingerprint is processed in a structured manner to form multiple URL feature fingerprint rules.
[0023] Each URL feature fingerprint rule corresponds to at least one video identifier. This step, based on the URL feature fingerprints, uses a reasonable and effective rule structuring method to store the feature fingerprints, forming multiple URL feature fingerprint rules. This provides a data foundation for the efficiency of subsequent feature fingerprint matching and the recognition rate of right-based users.
[0024] S103: Based on the multiple URL feature fingerprint rules and the target user's internet access logs, determine multiple target video identifiers corresponding to the target user.
[0025] Since each of the multiple URL feature fingerprint rules corresponds to at least one video identifier, multiple target video identifiers corresponding to the target user are determined based on the multiple URL feature fingerprint rules and the target user's internet access logs.
[0026] S104: Determine the traffic information of the target user browsing videos in the first video application based on the plurality of target video identifiers and the plurality of video information corresponding to the plurality of target video identifiers.
[0027] In one implementation, the multiple video information corresponding to the multiple target video identifiers is crawled from the server-side video library of the first video application using a web crawler. For example, an automated tool calls programs such as Postman to send requests to the corresponding server-side video website's video library and records the generated response messages. Websites containing information such as feature fingerprints, video names, and actors are identified for crawling, and detailed data is structured. Then, the multiple target video identifiers are matched with the crawled data, and information encrypted with HTTPS, such as user number, video name, video size, video actors, director, release date, and lead actors, is output. Based on the above information corresponding to the multiple target videos, the traffic information of the target user browsing videos in the first video application is statistically obtained.
[0028] In this embodiment, by establishing a feature fingerprint rule base containing video identification information, the URLs of videos viewed by users in the user's browsing logs with feature fingerprints are matched. It is not necessary to crack HTTPS encrypted information; only unencrypted information related to Hypertext Transfer Protocol (HTTP), such as URLs, needs to be analyzed. The parsing speed is fast, and the information matching using video identification codes has high parsing accuracy. In addition, compared with the prior art, which requires the deployment of multiple servers, this embodiment only needs to deploy the parsing program in the DPI device, saving time and equipment costs.
[0029] This application provides a method for parsing encrypted video traffic. It obtains the Uniform Resource Locator (URL) feature fingerprint of a user's access to a first video application; performs structured processing on the URL feature fingerprint to form multiple URL feature fingerprint rules, where each URL feature fingerprint rule corresponds to at least one video identifier; determines multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet browsing logs; and determines the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and the multiple video information corresponding to the multiple target video identifiers. This method enables accurate and efficient parsing of encrypted video traffic.
[0030] Figure 2 This illustration shows a flowchart of an encrypted video traffic parsing method according to an embodiment of this application. The method can be executed by an electronic device, which may include a server or a terminal device. In other words, the method can be executed by software or hardware installed on the electronic device, and the method includes the following steps:
[0031] S201: Obtain URL sample data of multiple users accessing the first video application, wherein the multiple users do not include the target user; determine the URL feature fingerprint based on the URL sample data.
[0032] In the user's browsing logs, multiple URLs generated by the user's access to the video app are extracted as initial samples, and then URL feature fingerprints are determined based on the initial sample data.
[0033] In one implementation, S201 may mark the URL sample data containing a video identifier as positive sample data; and mark the URL sample data not containing a video identifier as negative sample data.
[0034] In one implementation, S201 can construct a decision tree to determine whether a user has browsed a video in the first video application based on the positive sample data and the negative sample data; and extract the URL feature fingerprint based on the decision tree.
[0035] In one implementation, this embodiment may further include the step of: preprocessing the URL sample data, wherein the preprocessing includes at least one of filtering, deduplication, segmentation, and extraction.
[0036] In one implementation, this embodiment may further include the steps of: extracting the URL sample data from the internet access logs of the plurality of users; and / or, using a web crawler to capture the URL sample data of the plurality of users accessing the first video application.
[0037] This step removes irrelevant URLs from the initial sample data based on the domain name and the package name corresponding to the video app, and performs deduplication to form a preliminary URL library. URLs in the preliminary URL library containing a uniquely unique video identifier (UUID) in the format of domain name + path + parameters, with the UUID in the parameters and the video's cover image (using a static path to indicate the image's location), serve as feature URLs proving video browsing and are identified as positive samples. URLs generated by user actions such as opening the video app, browsing the video list, searching for videos, and purchasing paid products are captured using packet capture tools such as Wireshark and Charles, and these URLs are identified as negative samples.
[0038] In addition, this step can calculate the similarity distance between positive and negative samples and remove data with a similarity distance of 1, which are completely identical. In this way, only URLs generated by users browsing videos remain in the positive samples, which reduces invalid data for training subsequent positive and negative samples, thereby improving computational efficiency.
[0039] This step can use the C4.5 machine learning decision tree algorithm to train and analyze the positive and negative samples constructed above, build a decision tree structure, calculate the information gain entropy value of the feature fingerprint, and obtain the feature with the higher entropy value as the optimal feature fingerprint, providing basic data for the subsequent feature fingerprint database.
[0040] S202: The URL feature fingerprint is processed in a structured manner to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier.
[0041] In one implementation, the method of structuring the URL feature fingerprint includes at least one of value equality, fuzziness, and regular expression.
[0042] To ensure the complete and accurate structuring of feature fingerprint rules, this embodiment employs regular expressions, value equality, and fuzzy logic for data structuring, forming multiple URL feature fingerprint value equality rules, multiple URL feature fingerprint fuzzy rules, and multiple URL feature fingerprint regular expression rules, thus establishing a URL feature fingerprint rule library. For the three structuring methods, selection can be made based on feature variation location, feature fixed location, and feature complete matching, taking into account factors such as feature fingerprint morphology and parsing efficiency.
[0043] S203: Based on the multiple URL feature fingerprint rules and the target user's internet access logs, determine multiple target video identifiers corresponding to the target user.
[0044] S204: Based on the plurality of target video identifiers and the plurality of video information corresponding to the plurality of target video identifiers, determine the traffic information of the target user browsing the videos in the first video application.
[0045] This step can be adopted. Figure 1 The descriptions of steps S103 and S104 in the embodiment are repeated here, and the repeated parts will not be repeated.
[0046] This application provides a method for parsing encrypted video traffic. The method involves acquiring URL sample data from multiple users accessing a first video application, where the multiple users do not include the target user; determining URL feature fingerprints based on the URL sample data; performing structured processing on the URL feature fingerprints to form multiple URL feature fingerprint rules, where each URL feature fingerprint rule corresponds to at least one video identifier; determining multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet browsing logs; and determining the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and the multiple video information corresponding to the multiple target video identifiers. This method enables accurate and efficient parsing of encrypted video traffic.
[0047] Figure 3 This diagram illustrates a flowchart of another encrypted video traffic parsing method provided in an embodiment of this application. The method can be executed by an electronic device, which may include a server or a terminal device. In other words, the method can be executed by software or hardware installed on the electronic device, and includes the following steps:
[0048] S301: Obtain the Uniform Resource Locator (URL) feature fingerprint of the user's access to the first video application.
[0049] S302: The URL feature fingerprint is processed in a structured manner to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier.
[0050] This step can be adopted. Figure 1 Description of steps S101 and S102 in the embodiment Figure 2 The descriptions of steps S201 and S202 in the embodiment are repeated here, and the repeated parts will not be repeated.
[0051] S303: Based on the multiple URL feature fingerprint rules, construct a target automaton; based on the target automaton, perform matching processing on the target user's internet access logs to obtain multiple successful matching results; based on the multiple successful matching results, determine multiple video identifiers corresponding to the target user.
[0052] This step utilizes the high matching efficiency of the classic AC automaton to match and output DPI data in the user's internet browsing logs. However, due to the limitations of the AC automaton itself, it can only match values and cannot satisfy fuzzy or regular expression matching conditions. This step constructs a target automaton based on the multiple URL feature fingerprint value rules, multiple URL feature fingerprint fuzzy rules, and multiple URL feature fingerprint regular expression rules formed in the previous steps. Boolean node states are added to the state transition function of the target automaton to provide special explanations for certain characters in fuzzy and regular expressions, allowing skipping of those characters and matching of subsequent characters. Based on the target automaton, the target user's internet browsing logs are matched, resulting in multiple successful matching results, each containing a target video identifier. Based on these multiple successful matching results, multiple target video identifiers corresponding to the target user are determined.
[0053] S304: Based on the plurality of target video identifiers and the plurality of video information corresponding to the plurality of target video identifiers, determine the traffic information of the target user browsing the videos in the first video application.
[0054] This step can be adopted. Figure 1 The description of step S104 in the embodiment will not be repeated here for the repeated parts.
[0055] This application provides a method for parsing encrypted video traffic. The method involves acquiring URL sample data from multiple users accessing a first video application, where the multiple users do not include the target user; determining URL feature fingerprints based on the URL sample data; performing structured processing on the URL feature fingerprints to form multiple URL feature fingerprint rules, where each URL feature fingerprint rule corresponds to at least one video identifier; determining multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet browsing logs; and determining the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and the multiple video information corresponding to the multiple target video identifiers. This method enables accurate and efficient parsing of encrypted video traffic.
[0056] It should be noted that the encrypted video traffic parsing method provided in this application embodiment can be executed by an encrypted video traffic parsing device, or a control module within that device for executing the encrypted video traffic parsing method. This application embodiment uses the encrypted video traffic parsing device executing the encrypted video traffic parsing method as an example to illustrate the encrypted video traffic parsing device provided in this application embodiment.
[0057] Figure 4This is a schematic diagram of the structure of an encrypted video traffic parsing device provided in an embodiment of this application. Figure 4 As shown, the encrypted video traffic parsing device 400 includes: an acquisition module 410, used to acquire the Uniform Resource Locator (URL) feature fingerprint of a user accessing a first video application; a processing module 420, used to perform structured processing on the URL feature fingerprint to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier; and a determination module 430, used to determine multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet access logs; and to determine the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and the multiple video information corresponding to the multiple target video identifiers.
[0058] In one implementation, the acquisition module 410 is further configured to acquire URL sample data of multiple users accessing the first video application, wherein the multiple users do not include the target user; and determine the URL feature fingerprint based on the URL sample data.
[0059] In one implementation, the acquisition module 410 is further configured to: mark the URL sample data containing video identifiers as positive sample data; mark the URL sample data not containing video identifiers as negative sample data; construct a decision tree to determine whether a user has browsed a video in the first video application based on the positive sample data and the negative sample data; and extract the URL feature fingerprint based on the decision tree.
[0060] In one implementation, the method of structuring the URL feature fingerprint includes at least one of value equality, fuzziness, and regular expression.
[0061] In one implementation, the determining module 430 is further configured to: construct a target automaton based on the multiple URL feature fingerprint rules; perform matching processing on the target user's internet access logs based on the target automaton to obtain multiple successful matching results; and determine multiple video identifiers corresponding to the target user based on the multiple successful matching results.
[0062] In one implementation, the acquisition module 410 is further configured to preprocess the URL sample data, wherein the preprocessing includes at least one of filtering, deduplication, segmentation, and extraction.
[0063] In one implementation, the acquisition module 410 is further configured to extract the URL sample data from the internet access logs of the multiple users; and / or to crawl the URL sample data of the multiple users accessing the first video application using a web crawler tool.
[0064] This application provides an encrypted video traffic parsing device, which includes an acquisition module for acquiring the Uniform Resource Locator (URL) feature fingerprint of a user accessing a first video application; a processing module for structuring the URL feature fingerprint to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier; a determination module for determining multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet access logs; and a determination module for determining the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and the multiple video information corresponding to the multiple target video identifiers, thereby achieving accurate and efficient parsing of encrypted video traffic.
[0065] The encrypted video traffic parsing device provided in this application embodiment can achieve... Figures 1 to 3 The various processes implemented in the encrypted video traffic parsing method embodiment achieve the same technical effect, and will not be described again here to avoid repetition.
[0066] The encrypted video traffic parsing device in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal device. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network-attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.
[0067] The encrypted video traffic parsing device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.
[0068] Optional, such as Figure 5As shown, this application embodiment also provides an electronic device 500, including a processor 501, a memory 502, and a program or instructions stored in the memory 502 and executable on the processor 501. When the program or instructions are executed by the processor 501, they implement the various processes of the above-described encrypted video traffic parsing method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0069] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0070] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0071] The electronic device 600 includes, but is not limited to, components such as: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
[0072] Those skilled in the art will understand that the electronic device 600 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 610 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0073] The processor 610 is configured to: acquire the Uniform Resource Locator (URL) feature fingerprint of a user's access to a first video application; perform structured processing on the URL feature fingerprint to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier; determine multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet access logs; and determine the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and the multiple video information corresponding to the multiple target video identifiers.
[0074] In one implementation, the processor 610 is configured to acquire URL sample data of multiple users accessing the first video application, wherein the multiple users do not include the target user; and determine the URL feature fingerprint based on the URL sample data.
[0075] In one implementation, the processor 610 is configured to mark the URL sample data containing video identifiers as positive sample data; mark the URL sample data not containing video identifiers as negative sample data; construct a decision tree based on the positive sample data and the negative sample data to determine whether a user has browsed a video in the first video application; and extract the URL feature fingerprint based on the decision tree.
[0076] In one implementation, the processor 610 is configured to construct a target automaton based on the multiple URL feature fingerprint rules; perform matching processing on the target user's internet access logs based on the target automaton to obtain multiple successful matching results; and determine multiple video identifiers corresponding to the target user based on the multiple successful matching results.
[0077] This embodiment can implement all the processes of the above-described encrypted video traffic parsing method embodiment and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0078] It should be understood that, in this embodiment, the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042. The GPU 6041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here. The memory 609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understandable that the aforementioned modem processor may not be integrated into the processor 610.
[0079] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described encrypted video traffic parsing method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0080] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0081] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described encrypted video traffic parsing method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0082] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0083] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0084] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0085] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for encrypted video traffic resolution, the method comprising: The method includes: Obtain the Uniform Resource Locator (URL) feature fingerprint of the user's access to the first video application; The URL feature fingerprint is structured to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier; Based on the multiple URL feature fingerprint rules and the target user's internet access logs, multiple target video identifiers corresponding to the target user are determined; Based on the plurality of target video identifiers and the plurality of video information corresponding to the plurality of target video identifiers, determine the traffic information of the target user browsing the videos in the first video application; The step of obtaining the Uniform Resource Locator (URL) feature fingerprint of the user's access to the first video application includes: Obtain sample URL data of multiple users accessing the first video application, wherein the multiple users do not include the target user; Based on the URL sample data, the URL feature fingerprint is determined.
2. The method of claim 1, wherein, After obtaining sample URL data of multiple users accessing the first video application, the method further includes: The URL sample data containing the video identifier is marked as positive sample data; The URL sample data that does not contain a video identifier is marked as negative sample data; Determining the URL feature fingerprint based on the URL sample data includes: Based on the positive sample data and the negative sample data, a decision tree is constructed to determine whether a user browses a video in the first video application; Based on the decision tree, the URL feature fingerprint is extracted.
3. The method of claim 1, wherein, The method for structuring the URL feature fingerprint includes at least one of value equality, fuzzy processing, and regular expression.
4. The method of claim 1, wherein, The step of determining multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet access logs includes: Based on the aforementioned multiple URL feature fingerprint rules, a target automaton is constructed; Based on the target automaton, the internet access logs of the target user are matched to obtain multiple successful matching results; Based on the multiple successful matching results, multiple target video identifiers corresponding to the target user are determined.
5. The method according to claim 1, characterized in that, Before determining the URL feature fingerprint based on the URL sample data, the method further includes: The URL sample data is preprocessed, wherein the preprocessing includes at least one of filtering, deduplication, segmentation, and extraction.
6. The method according to claim 1, characterized in that, The step of obtaining sample URL data of multiple users accessing the first video application includes: Extract the URL sample data from the internet access logs of the multiple users; And / or, The URL sample data of the multiple users accessing the first video application was obtained by crawling tools.
7. A device for analyzing encrypted video traffic, characterized in that, The device includes: The acquisition module is used to acquire the Uniform Resource Locator (URL) feature fingerprint of the user's access to the first video application; The processing module is used to perform structured processing on the URL feature fingerprint to form multiple URL feature fingerprint rules, wherein each URL feature fingerprint rule corresponds to at least one video identifier; The determination module is used to determine multiple target video identifiers corresponding to the target user based on the multiple URL feature fingerprint rules and the target user's internet access logs; and to determine the traffic information of the target user browsing videos in the first video application based on the multiple target video identifiers and the multiple video information corresponding to the multiple target video identifiers. The acquisition module is further configured to acquire URL sample data of multiple users accessing the first video application, wherein the multiple users do not include the target user; and determine the URL feature fingerprint based on the URL sample data.
8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, include: The storage medium stores a computer program that, when executed by a processor, implements the steps of the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Information analysis method and system
CN107341153A
Short video service quality detection method and device
CN113542880A
