US10250521B2ActiveUtilityA1

Data stream identifying method and device

Assignee: HUAWEI TECH CO LTDPriority: Nov 29, 2013Filed: May 27, 2016Granted: Apr 2, 2019
Est. expiryNov 29, 2033(~7.3 yrs left)· nominal 20-yr term from priority
Inventors:Huaxin Tang
H04L 67/2833H04L 67/10H04L 47/70H04L 67/566H04L 47/803
19
PatentIndex Score
0
Cited by
23
References
18
Claims

Abstract

A data stream identifying method and device is presented, which may include receiving a data stream of a first application and a data stream of a second application; extracting a common resource address in the data stream of the first application and the data stream of the second application; determining that the data stream of the first application belongs to the second application when the common resource address includes an address of a server of the first application; and determining that the data stream of the second application belongs to the first application when the common resource address includes an address of a server of the second application. Further, an application to which a data stream belongs can be more correctly identified, so that more accurate data is provided for services, such as traffic statistics and charging, thereby improving user experience.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A method implemented by an identification computing device, comprising:
 receiving, by the identification computing device, a data stream of a first application and a data stream of a second application, the data stream of the first application and the data stream of the second application being received from a terminal computing device that executes the first application and the second application, and either the first application is nested within the second application or the second application is nested within the first application; 
 extracting, by the identification computing device, a common resource address in the data stream of the first application and the data stream of the second application, the common resource address either being an address of a server of the first application or an address of a server of the second application; 
 identifying, by the identification computing device, that the first application is nested within the second application when the common resource address comprises the address of the server of the first application; 
 identifying, by the identification computing device, that the second application is nested within the first application when the common resource address comprises the address of the server of the second application; and 
 identifying, by the identification computing device, applications associated with data streams to collect statistics of application usage based on the identification of whether the first application is nested within the second application or the second application is nested within the first application. 
 
     
     
       2. The method of  claim 1 , wherein after receiving the data stream of the first application and the data stream of the second application and before extracting the common resource address in the data stream of the first application and the data stream of the second application, the method further comprises:
 determining, by the identification computing device, whether the data stream of the first application and the data stream of the second application are complete; and 
 restoring, by the identification computing device, the data stream of the first application and the data stream of the second application to complete data streams in a fragmentation and reassembling manner when the data stream of the first application and the data stream of the second application are not complete. 
 
     
     
       3. The method of  claim 1 , wherein extracting the common resource address in the data stream of the first application and the data stream of the second application comprises:
 respectively acquiring, by the identification computing device, all data packets in the data stream of the first application and the data stream of the second application to obtain a first data packet group and a second data packet group; 
 respectively parsing, by the identification computing device, the first data packet group and the second data packet group to obtain a first dataset and a second dataset; and 
 extracting, by the identification computing device, the common resource address in the first dataset and the second dataset. 
 
     
     
       4. The method of  claim 1 , wherein extracting the common resource address in the data stream of the first application and the data stream of the second application comprises:
 respectively acquiring, by the identification computing device, all data packets in the data stream of the first application and the data stream of the second application to obtain a first data packet group and a second data packet group; 
 respectively parsing, by the identification computing device, the first data packet group and the second data packet group to obtain a first compressed dataset and a second compressed dataset; 
 respectively decompressing, by the identification computing device, the first compressed dataset and the second compressed dataset to obtain a first dataset and a second dataset; and 
 extracting, by the identification computing device, the common resource address in the first dataset and the second dataset. 
 
     
     
       5. The method of  claim 1 , further comprising providing to a charging system either information indicating that the first application is nested within the second application or information indicating that the second application is nested within the first application. 
     
     
       6. The method of  claim 1 , wherein the common resource address comprises a uniform resource locator. 
     
     
       7. The method of  claim 1 , wherein the common resource address comprises an Internet Protocol address. 
     
     
       8. The method of  claim 1 , wherein the common resource address comprises a HOST address. 
     
     
       9. The method of  claim 1 , wherein the data stream of the first application and the data stream of the second application comprise hypertext transfer protocol data packets. 
     
     
       10. The method of  claim 1 , wherein the first application and the second application comprise social media websites. 
     
     
       11. The method of  claim 1 , wherein the identification computing device comprises a deep packet inspection computing device. 
     
     
       12. A data stream identifying device, comprising:
 a processor; and 
 a memory storing an operation instruction executable by the processor, the processor being configured to execute the operation instruction and cause the data stream identifying device to:
 receive a data stream of a first application and a data stream of a second application, the data stream of the first application and the data stream of the second application being received from a terminal computing device that executes the first application and the second application, and either the first application is nested within the second application or the second application is nested within the first application; 
 extract a common resource address in the data stream of the first application and the data stream of the second application, the common resource address either being an address of a server of the first application or an address of a server of the second application; 
 identify that the first application is nested within the second application when the common resource address comprises the address of the server of the first application; 
 identify that the second application is nested within the first application when the common resource address comprises the address of the server of the second application; and 
 identify applications associated with data streams to collect statistics of application usage based on the identification of whether the first application is nested within the second application or the second application is nested within the first application. 
 
 
     
     
       13. The device of  claim 12 , wherein the data stream identifying device is further configured to:
 determine whether the data stream of the first application and the data stream of the second application are complete; and 
 restore the data stream of the first application and the data stream of the second application to complete data streams in a fragmentation and reassembling manner when the data stream of the first application and the data stream of the second application are not complete. 
 
     
     
       14. The device of  claim 12 , wherein the data stream identifying device is further configured to:
 respectively acquire all data packets in the data stream of the first application and the data stream of the second application to obtain a first data packet group and a second data packet group; 
 respectively parse the first data packet group and the second data packet group to obtain a first dataset and a second dataset; and 
 extract the common resource address in the first dataset and the second dataset. 
 
     
     
       15. The device of  claim 12 , wherein the data stream identifying device is further configured to:
 respectively acquire all data packets in the data stream of the first application and the data stream of the second application to obtain a first data packet group and a second data packet group; 
 respectively parse the first data packet group and the second data packet group to obtain a first compressed dataset and a second compressed dataset; 
 respectively decompress the first compressed dataset and the second compressed dataset to obtain a first dataset and a second dataset; and 
 extract the common resource address in the first dataset and the second dataset. 
 
     
     
       16. The device of  claim 12 , wherein the data stream identifying device is further configured to provide to a charging system either information indicating that the first application is nested within the second application or information indicating that the second application is nested within the first application. 
     
     
       17. The device of  claim 12 , wherein the common resource address comprises a uniform resource locator, an Internet Protocol address, or a HOST address. 
     
     
       18. The device of  claim 12 , wherein the first application and the second application comprise social media websites.

Join the waitlist — get patent alerts

Track US10250521B2 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.