Traffic detection method and device
A traffic detection and traffic technology, which is applied in the computer field, can solve the problem of inability to distinguish network protocols and accurately detect the traffic consumed by each network protocol, and achieve the effect of improving detection accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] According to an embodiment of the present invention, a method embodiment of a traffic detection method is provided.
[0030] Optionally, in this embodiment, the above traffic detection method can be applied to such as figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. Such as figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The traffic detection method in the embodiment of the present invention may be executed by the server 102, may also be executed by the terminal 104, and may also be executed jointly by the server 102 and the terminal 104. Wherein, the execution of the traffic detection method in the embodiment of the present invention by the terminal 104 may also be...
Embodiment 2
[0131] According to an embodiment of the present invention, a flow detection device for implementing the above flow detection method is also provided. Figure 9 is a schematic diagram of an optional flow detection device according to an embodiment of the present invention, such as Figure 9 As shown, the device may include:
[0132]The first obtaining unit 22 is used to obtain the MAC data packet transmitted on the network interface of the terminal; the second obtaining unit 24 is used to obtain the protocol identification and port number from the MAC data packet, wherein the protocol identification is used to indicate the transmission MAC The network protocol adopted by the data packet, the port number is used to indicate the port used to transmit the MAC data packet; the search unit 26 is used to search for the application identification corresponding to the port number; the third acquisition unit 28 is used for the data packet according to the MAC data packet The size obta...
Embodiment 3
[0158] According to an embodiment of the present invention, a server or terminal for implementing the above traffic detection method is also provided.
[0159] Figure 17 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 17 As shown, the terminal may include: one or more (only one is shown in the figure) processor 201, memory 203, and transmission device 205 (such as the sending device in the above-mentioned embodiment), such as Figure 17 As shown, the terminal may also include an input and output device 207 .
[0160]Among them, the memory 203 can be used to store software programs and modules, such as the program instructions / modules corresponding to the flow detection method and device in the embodiment of the present invention, and the processor 201 executes various functions by running the software programs and modules stored in the memory 203. A functional application and data processing, that is, to reali...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com