Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Monitoring method and device for port access

A technology of ports and port numbers, which is applied in the monitoring field of port access, can solve problems such as complexity, cumbersome monitoring methods, and high host requirements, and achieve the effect of reducing requirements and simple and fast monitoring methods

Active Publication Date: 2020-06-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since the terminal device needs to have debug symbol, GCD and root authority in advance when performing port access monitoring, the requirements for the host are too high, and the monitoring method is too cumbersome and complicated

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Monitoring method and device for port access
  • Monitoring method and device for port access
  • Monitoring method and device for port access

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0023] figure 1 It is a flowchart of a method for monitoring port access provided by an embodiment of the present invention. see figure 1 , the method flow provided by the embodiment of the present invention includes:

[0024] 101. Determine at least one target port accessed by a current host.

[0025] 102. According to the control field set in the kernel, judge whether to record the specified process of accessing the target port; if it is determined to record the specified process of accessing the target port, perform the following step 103.

[0026] Wherein, the control field records the port connection information.

[0027] 103. If it is determined that the specified process accessing the target port is to be recorded, record th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a port access monitoring method and device, and belongs to the technical field of computers. The method comprises the following steps: determining at least one target port visited by a current host; judging whether a specified progress of visiting of the target port is recorded or not according to control fields set in a core, wherein the control fields record port connecting information; if the specified progress of visiting of the target port is recorded, recording identification information of the specific progress in log information of the core. Because the control fields are added in the core, the access condition of the progress to the port is recorded by correcting the Linux core, requirements to terminal equipment are reduced, and a monitoring mode is simple, convenient and speedy.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a monitoring method and device for port access. Background technique [0002] As a necessary component of the TCP / IP (Transmission Control Protocol / Internet Protocol, network communication protocol) protocol, the port can assist the process in data transmission with the outside world. Usually, multiple processes run on a host, and each process transmits data with the outside world through port access. As we all know, port access is a necessary condition for data forwarding and port occupation by termination processes, so it is necessary to monitor port access. [0003] In the prior art, when monitoring port access conditions, it is realized through the Linux debugging tool systemtap. Among them, systemtap is a dynamic method to monitor and track the operation of the running Linux kernel. When the debug symbol (debugging symbol), GCC (GNU Compiler Collection, GNU compiler sui...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/30
Inventor 皮振伟
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products