TW202101944A - Network connected apparatus and traffic estimation method thereof - Google Patents
Network connected apparatus and traffic estimation method thereof Download PDFInfo
- Publication number
- TW202101944A TW202101944A TW108142511A TW108142511A TW202101944A TW 202101944 A TW202101944 A TW 202101944A TW 108142511 A TW108142511 A TW 108142511A TW 108142511 A TW108142511 A TW 108142511A TW 202101944 A TW202101944 A TW 202101944A
- Authority
- TW
- Taiwan
- Prior art keywords
- network
- traffic
- domain name
- queries
- item
- Prior art date
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本發明是有關於一種網路管理技術,且特別是有關於一種聯網裝置及其流量預估方法。The present invention relates to a network management technology, and particularly relates to a networked device and a method for estimating traffic.
現今,幾乎每個人都有可連接網際網路(Internet)的裝置(例如,行動電話、平板電腦、筆記型電腦、智慧手錶、智慧家電等),且這些裝置可經由行動網路、其他無線網路或有線網路連接至網際網路。而隨著網路應用服務(例如,社群媒體、串流媒體、線上遊戲、數位教育等)多元化發展,網路營運商的用戶數量及其使用量也指數增長。為了提供給用戶更好的上網體驗,營運商不斷積極增加或升級硬體設備。除了硬體方面的更新,營運商也會透過網路管理方式來配置網路資源。然而,不同用戶對於應用服務的需求不同。因此,如何針對各用戶、公司、政府或企業提供更合適的網路管理、設備佈建及軟硬體配置,是各營運商努力的目標之一。Nowadays, almost everyone has Internet-connected devices (for example, mobile phones, tablets, laptops, smart watches, smart home appliances, etc.), and these devices can be connected via mobile networks and other wireless networks. Connect to the Internet through a road or wired network. With the diversified development of network application services (for example, social media, streaming media, online games, digital education, etc.), the number of users and usage of network operators has also increased exponentially. In order to provide users with a better Internet experience, operators continue to actively increase or upgrade hardware devices. In addition to hardware updates, operators will also configure network resources through network management. However, different users have different requirements for application services. Therefore, how to provide more suitable network management, equipment deployment, and software and hardware configuration for each user, company, government or enterprise is one of the goals of each operator.
有鑑於此,本發明實施例提供一種聯網裝置及其流量預估方法,基於網域名稱查詢來得出網路流量,並據以評估用戶使用服務的行為,進而基於分析結果來調整設備佈建及軟硬體配置。In view of this, the embodiment of the present invention provides a networked device and a method for estimating its traffic. The network traffic is obtained based on the query of the domain name, and the behavior of the user using the service is evaluated accordingly, and the equipment deployment and deployment are adjusted based on the analysis result Software and hardware configuration.
本發明實施例的流量預估方法,其包括下列步驟:擷取數筆網路封包,統計那些網路封包中對於至少一個網域名稱(domain name)的查詢次數,並依據查詢次數判斷網路流量。The traffic estimation method of the embodiment of the present invention includes the following steps: capturing several network packets, counting the number of queries for at least one domain name in those network packets, and judging the network based on the number of queries flow.
本發明實施例的聯網裝置包括但不僅限於通訊收發器及處理器。通訊收發器用以接收數筆網路封包。處理器耦接通訊收發器。處理器擷取那些網路封包,統計那些網路封包中對於至少一個網域名稱的查詢次數。依據查詢次數判斷網路流量。The networking device of the embodiment of the present invention includes but is not limited to a communication transceiver and a processor. The communication transceiver is used to receive several network packets. The processor is coupled to the communication transceiver. The processor retrieves those network packets and counts the number of queries for at least one domain name in those network packets. Judge network traffic based on the number of queries.
基於上述,本發明實施例的聯網裝置及其流量預估方法,藉由分析網域名稱查詢來預測網路流量,並據以評估用戶所欲使用或常用的網路服務應用類型。這些流量及用戶特徵評估,可作為網路營運商後續對設備佈建、資源配置、管理組態等提供更佳的規劃,進而提升用戶的上網體驗。Based on the above, the networked device and the traffic estimation method of the embodiment of the present invention predicts the network traffic by analyzing the domain name query, and then evaluates the types of network service applications that users want to use or commonly used. These traffic and user characteristic assessments can be used as network operators to provide better plans for equipment deployment, resource allocation, management configuration, etc., so as to enhance users' online experience.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
圖1是依據本發明一實施例的聯網裝置100的元件方塊圖。請參照圖1,聯網裝置100包括但不僅限於通訊收發器110、儲存器130及處理器150。聯網裝置100可以是電腦、智慧型手機、平板電腦、伺服器、路由器、交換機、電信設備或其他電子裝置。FIG. 1 is a block diagram of components of a
通訊收發器110可以是支援諸如第四代(4G)或其他世代行動通訊、Wi-Fi、乙太網路(Ethernet)、光纖網路等通訊收發器,也可以是通用串列匯流排(Universal Serial Bus,USB)、Thunderbolt或其他通訊傳輸介面。在本發明實施例中,通訊收發器110用以接收網路封包。而網路封包是網路中傳輸的資料單元。The
儲存器130可以是任何型態的固定或可移動隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash Memory)、傳統硬碟(Hard Disk Drive,HDD)、固態硬碟(Solid-State Drive,SSD)或類似元件或上述元件之組合的儲存器。在本發明實施例中,儲存器130用於儲存暫存或永久的資料(例如,訓練樣本、預估模型、流量貢獻係數、網路服務應用類型等)、網路封包、軟體模組或其他檔案,且其詳細內容待後續實施例詳述。The
處理器150耦接於通訊收發器110及儲存器130,處理器150並可以是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application-Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合。在本發明實施例中,處理器150用以執行聯網裝置100的所有作業,且可載入並執行儲存器130所記錄的各軟體模組、檔案及資料。The
需說明的是,聯網裝置100可設於任何網路中。舉例而言,圖2是依據本發明一實施例的通訊系統20的示意圖。請參照圖2,假設此通訊系統20屬於第三代(3G)、第四代(4G)或其他世代行動通訊網路。通訊系統20可包括使用者設備UE、基地台BS、接取(access)網路21、傳輸/網際網路協定(Internet Protocol,IP)網路22、核心網路23及網際網路24。視實際需求,聯網裝置100可設於傳輸/網際網路協定(Internet Protocol,IP) 網路22、核心網路23或由使用者設備UE與基地台BS所形成的無線網路中。即聯網裝置100是處於所屬網路的某一台網路節點(可以是兩個網路之間的輸入或輸出閘道(gateway),或是設於特定路由路徑上的節點)。It should be noted that the
需說明的是,在其他實施例中,依據不同系統架構,圖2的無線網路也可以置換成Wi-Fi無線網路,或是置換成有線乙太網路、數位用戶迴路(Digital Subscriber Line,DSL)、光纖網路、或電纜網路,且接取網路21、傳輸/IP網路22、及/或核心網路23內設備也可對應改變,本發明不加以限制。It should be noted that in other embodiments, depending on different system architectures, the wireless network in Figure 2 can also be replaced with a Wi-Fi wireless network, or with a wired Ethernet network, or a digital subscriber line (Digital Subscriber Line). , DSL), optical fiber network, or cable network, and the equipment in the
為了方便理解本新型創作實施例的操作流程,以下將舉諸多實施例詳細說明本新型創作實施例中聯網裝置100對網路流量的預估方法。下文中,將搭配聯網裝置100中的各項元件及模組說明本新型創作實施例所述之方法。本方法的各個流程可依照實施情形而隨之調整,且並不僅限於此。In order to facilitate the understanding of the operation flow of the creative embodiment of the present invention, a number of embodiments will be given below to describe in detail the method of estimating network traffic by the
圖3是依據本發明一實施例的流量預估方法的流程圖。請參照圖3,處理器150透過通訊收發器110擷取網路封包(步驟S310)。具體而言,處理器150可透過諸如Wireshark、tcpdump、SmartSniff、libpcap、winpcap或相似者的軟體或程式庫來抓取網路封包,並對接收的網路封包進一步解析。在一實施例中,處理器150至少具備解析網域名稱系統(Domain Name System,DNS)查詢(query)/要求(quest)、或DNS相關封包的功能,並可得出DNS相關封包中所欲查詢的網域名稱(及/或對應IP位址)。Fig. 3 is a flowchart of a flow estimation method according to an embodiment of the present invention. Referring to FIG. 3, the
舉例而言,表(1)是一範例說明對DNS查詢的封包解析結果:
表(1)
需說明的是,依據聯網裝置100的所處網路,其可監控的節點數可能高達上萬台,也可能少於10台,但本發明實施例不加以限制監控數量。It should be noted that, depending on the network where the
接著,處理器150統計那些網路封包中對於一個或更多個網域名稱的查詢次數(步驟S330)。在一實施例中,處理器150可依據需求設定特定監聽網路封包(例如,來自使用者設備UE)的時間長度(例如,5、15、或30分鐘等)、及/或頻率(例如,每天一次、每周三次、每個月10次等),本發明不加以限制。處理器150可進一步在統計時間內(例如,15分鐘、一天、或一個月等)對各網域名稱的DNS查詢的數量加總,從而分別得出對於這些網域名稱的查詢數量。Next, the
舉例而言,表(2)是一範例說明對DNS查詢的統計結果:
表(2)
接著,處理器150依據查詢次數判斷網路流量(步驟S350)。具體而言,在多數網路行為的初始階段,用戶終端會發出DNS查詢以得到對應網路位址,並進一步依據此網路位址對遠端伺服器或其他電子裝置連線。由DNS查詢中可得知用戶終端所欲訪問的網域、網站甚至網路服務。例如,www.facebook.com是社群媒體服務,www.youtube.com是影音串流服務。此外,經實驗或數據統計結果,不同網路服務可能對應不同網路流量。基於前述層層關係,本發明實施例即是透過網域名稱查詢與網路流量的對應關係,來預估監控節點或群組的網路流量。Next, the
在一實施例中,本發明借重人工智慧(Artificial Intelligence,AI)技術的高準確性推論的功效,並透過AI的機器學習(machine learning)技術(例如,人工神經網路(Artificial Neural Network,ANN)、決策樹(Decision tree)、或支援向量機(Support Vector Machine,SVM)等)來對網路流量的評估進行決策。處理器150可將數筆歷史網路封包(代表過去某一段時間接收的網路封包)及其實際流量作為數筆訓練樣本。相同或相似地,處理器150是解析並統計歷史網路封包中對各網域名稱的查詢次數,並統計各網域名稱對應的實際流量(自特定網域名稱接收及/或傳送的網路封包的大小總和)。處理器150基於機器學習技術使用那些訓練樣本(即,訓練集)來訓練預估模型。例如,處理器150透過誤差函數定義、特徵萃取、差異最小化、分類產生等步驟來得出預估模型。處理器150可將步驟S330統計的對各網域名稱的查詢次數輸入至此預估模型,即可得出對應網路流量。In one embodiment, the present invention relies on the high accuracy of artificial intelligence (AI) technology to infer the effect, and uses AI machine learning technology (for example, artificial neural network (Artificial Neural Network, ANN) ), decision tree (Decision tree), or Support Vector Machine (Support Vector Machine, SVM), etc.) to make decisions on the evaluation of network traffic. The
圖4是一範例說明實際流量與預估流量的比較圖。請參照圖4,假設此預估模型是針對68個網域名稱。二月15日至二月26日間統計的查詢次數及對應實際流量作為訓練集,二月26日至四月14日期間統計的查詢次數作為驗證集的輸入。由圖中可得出,經預估模型得出的預估流量401幾乎與實際流量402重疊。訓練集的準確度幾乎是百分之百,而驗證集的準確度可高於百分之九十七(此值可能會變動且本發明不加以限制)。由此可知,現有機器學習演算法已經可提供極高的推論準確度。Figure 4 is an example illustrating the comparison between actual flow and estimated flow. Please refer to Figure 4, assuming that this estimation model is for 68 domain names. The number of queries counted from February 15 to February 26 and the corresponding actual traffic are used as the training set, and the number of queries counted from February 26 to April 14 is used as the input to the validation set. It can be drawn from the figure that the estimated
需說明的是,在其他實施例中,處理器150也可基於算術平均、推論統計等演算法得出查詢次數與網路流量的對應關係,並依據此對應關係來預估網路流量。It should be noted that, in other embodiments, the
在一實施例中,處理器150可取得各網域名稱的流量貢獻係數。此流量貢獻係數是對網域名稱查詢一次所對應的流量。處理器150可基於機器學習或其他演算法得出此流量貢獻係數。例如,特定網域名稱的查詢次數設定為一次,並基於前述對應關係得出網路流量。需說明的是,查詢次數也可能設定超過一次,但須對所有網域名稱的流量貢獻係數進行標準化運算。處理器150接著可分別依據這些網域名稱的流量貢獻係數判斷各網域名稱的查詢次數對應的網路流量。例如,處理器150將查詢次數乘以對應流量貢獻係數的結果作為預估的網路流量。需說明的是,在一些實施例中,前述算法可能依據需求而賦予權重、偏差(bias)或考量其他參數而有所不同。In an embodiment, the
舉例而言,表(3)是一範例說明網路服務的統計資料:
依據聯網裝置100的不同設置位置,步驟S310所接收的網路封包可能是流經接取網路、傳輸網路或核心網路。在一實施例中,處理器150可依據所有網路名稱對應的網路流量判斷流經接取網路、傳輸網路或核心網路的網路流量(即,代表所屬網路下的總網路流量)。例如,聯網裝置100處於核心網路,則處理器150將所有網域名稱對應的網路流量加總之值,即可代表核心網路的總網路流量。需說明的是,依據不同需求,特定網域名稱的網路流量可能賦予權重或偏差。而藉由預估的結果,營運商可評估此網路的設備佈建或管理組態是否合適或足夠。Depending on the location of the
在一些實施例中,處理器150還能進一步依據路由策略預估網路節點的流量。In some embodiments, the
在另一實施例中,處理器150可設定數個網路服務應用類型。例如,網路服務應用類型可以是影音串流、社群媒體、線上遊戲、購物網站等,或者是特定網路服務名稱(例如,YouTube、抖音、淘寶等)。各網域名稱可能對應到一個或更多個網路服務應用類型。例如,Facebook可能對應到社群媒體、直播串流、購物等類型。處理器150可依據一個用戶或更多個用戶(對應於使用者設備UE)對於那些網域名稱的查詢次數判斷此用戶或那些用戶使用各網路服務應用類型的對應網路流量。即,以網路服務取向,來分析各網路服務應用類型的網路流量。例如,表(3)中YouTube服務的流量總和。由於查詢次數及/或網路流量的多寡可反應用戶使用特定類型的喜好程度、或常用程度,處理器150還能進一步依據各網路服務應用類型的對應網路流量來判斷用戶所屬的網路服務應用類型。各用戶所屬的網路服務應用類型可能有一個或更多個。處理器150可依據類型分析結果來對各用戶產生類型特徵的標籤。例如,影音、購物、遊戲等標籤。以表(3)為例,YouTube的所有流量與權重之乘積所佔的比例最高,則處理器150判斷此用戶的標籤為影音用戶。藉由預估的結果,營運商可針對不同標籤的用戶額外提供諸如代理、快取伺服器來提升特定服務類型的上網體驗。In another embodiment, the
綜上所述,本發明實施例的聯網裝置及其流量預估方法,在每一層的網路,精確地預估網域名稱查詢與應用服務的網路流量之對應關係,並可進一步套用於核心網路、傳輸/IP網路,進而到接取及無線/有線網路。不僅可即時(或幾乎即時)預估每一層網路的服務流量,且可預估網路節點流量。另一方面,基於網域查詢紀錄自動對用戶產生類型特徵,並據以得出符合各用戶的標籤,以了解用戶的服務需求。藉此,可基於評估結果而進一步改善系統架構中軟硬體的管理規劃,進而改善用戶的上網體驗。In summary, the networking device and the traffic estimation method of the embodiment of the present invention accurately predict the correspondence between the domain name query and the network traffic of the application service in each layer of the network, and can be further applied to Core network, transmission/IP network, then access and wireless/wired network. Not only can the service traffic of each layer of the network be estimated in real time (or almost instantly), but also the network node traffic can be estimated. On the other hand, based on the domain query records, the type characteristics are automatically generated for the users, and the labels that meet each user are obtained accordingly to understand the service needs of the users. In this way, the management plan of the software and hardware in the system architecture can be further improved based on the evaluation result, thereby improving the user's online experience.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be determined by the scope of the attached patent application.
100:聯網裝置 110:通訊收發器 130:儲存器 150:處理器 20:通訊系統 21:接取網路 22:傳輸/IP網路 23:核心網路 24:網際網路 UE:使用者設備 BS:基地台 S310~S350:步驟 401:預估流量 402:實際流量100: networked devices 110: Communication transceiver 130: storage 150: processor 20: Communication system 21: Access to the Internet 22: Transmission/IP network 23: core network 24: Internet UE: User Equipment BS: base station S310~S350: steps 401: Estimated traffic 402: Actual flow
圖1是依據本發明一實施例的聯網裝置的元件方塊圖。 圖2是依據本發明一實施例的通訊系統的示意圖。 圖3是依據本發明一實施例的流量預估方法的流程圖。 圖4是一範例說明實際流量與預估流量的比較圖。FIG. 1 is a block diagram of components of a networked device according to an embodiment of the invention. Fig. 2 is a schematic diagram of a communication system according to an embodiment of the invention. Fig. 3 is a flowchart of a flow estimation method according to an embodiment of the present invention. Figure 4 is an example illustrating the comparison between actual flow and estimated flow.
S310~S350:步驟 S310~S350: steps
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/891,083 US11316772B2 (en) | 2019-06-21 | 2020-06-03 | Network connected device and traffic estimation method thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201962864507P | 2019-06-21 | 2019-06-21 | |
US62/864,507 | 2019-06-21 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202101944A true TW202101944A (en) | 2021-01-01 |
TWI718778B TWI718778B (en) | 2021-02-11 |
Family
ID=72603202
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108142511A TWI718778B (en) | 2019-06-21 | 2019-11-22 | Network connected apparatus and traffic estimation method thereof |
TW108215511U TWM598572U (en) | 2019-06-21 | 2019-11-22 | Network connected apparatus and communication system |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108215511U TWM598572U (en) | 2019-06-21 | 2019-11-22 | Network connected apparatus and communication system |
Country Status (1)
Country | Link |
---|---|
TW (2) | TWI718778B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114416972B (en) * | 2021-12-10 | 2022-10-14 | 厦门市世纪网通网络服务有限公司 | DGA domain name detection method based on density improvement unbalance sample |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9473364B2 (en) * | 2014-01-06 | 2016-10-18 | Cisco Technology, Inc. | Learning machine-based granular segment/path characteristic probing technique |
-
2019
- 2019-11-22 TW TW108142511A patent/TWI718778B/en active
- 2019-11-22 TW TW108215511U patent/TWM598572U/en unknown
Also Published As
Publication number | Publication date |
---|---|
TWI718778B (en) | 2021-02-11 |
TWM598572U (en) | 2020-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7178646B2 (en) | Network security monitoring method, network security monitoring device and system | |
Wang et al. | A smart home gateway platform for data collection and awareness | |
Zhang et al. | Understanding the characteristics of cellular data traffic | |
US9282012B2 (en) | Cognitive data delivery optimizing system | |
US10326848B2 (en) | Method for modeling user behavior in IP networks | |
US8656284B2 (en) | Method for determining a quality of user experience while performing activities in IP networks | |
US10530671B2 (en) | Methods, systems, and computer readable media for generating and using a web page classification model | |
US8838820B2 (en) | Method for embedding meta-commands in normal network packets | |
Mangla et al. | VideoNOC: Assessing video QoE for network operators using passive measurements | |
CN109818820A (en) | Data on flows monitoring method, device, electronic equipment and storage medium | |
US11316772B2 (en) | Network connected device and traffic estimation method thereof | |
Umoren et al. | Methodical Performance Modelling of Mobile Broadband Networks with Soft Computing Model | |
TWI718778B (en) | Network connected apparatus and traffic estimation method thereof | |
Li et al. | Cellular smartphone traffic and user behavior analysis | |
Middleton et al. | Scalable classification of QoS for real-time interactive applications from IP traffic measurements | |
Manzoor et al. | The curious case of parallel connections in http/2 | |
Aouini et al. | Towards understanding residential internet traffic: From packets to services | |
EP2605480B1 (en) | Apparatus and method for HTTP analysis | |
AT&T | ||
Goleva et al. | 3G network traffic sources measurement and analysis | |
Sawabe et al. | Data diet pills: in-network video quality control system for traffic usage reduction | |
Sahni et al. | Real time monitoring and analysis of available bandwidth in cellular network-using big data analytics | |
Al-Shehri et al. | Metrics for broadband networks in the context of the digital economies | |
Xiaolin et al. | Fine-grained analysis of cellular smartphone usage characteristics based on massive network traffic | |
Torres et al. | A popularity-aware method for discovering server IP addresses related to websites |