Port detection method, electronic device and computer-readable storage medium
A port detection and computer technology, applied in the computer field, can solve problems such as low efficiency, achieve the effects of improving efficiency, reducing network resources and time-consuming, and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 A flow chart of a port detection method according to an embodiment of the present invention is shown.
[0033] Such as figure 1 As shown, the process of the port detection method according to an embodiment of the present invention includes:
[0034]Step 102, sending a specified number of port detection information to the server through the first thread, the first thread is closed after sending all the port detection information, each of the port detection information is composed of the server's binary IP address and Binary port numbers to be detected are composed in sequence.
[0035] Send a specified number of port detection information to the server through the first thread, in this process, the client uses all the network resources that the first thread can obtain to send the port detection information, regardless of whether the response information is received . Wherein, each of the port detection information is composed of the binary IP address of the ...
Embodiment 2
[0052] figure 2 A flow chart of a port detection method according to another embodiment of the present invention is shown.
[0053] Such as figure 2 As shown, the process of the port detection method according to another embodiment of the present invention includes:
[0054] Step 202, sending a specified amount of port detection information to the server through the first thread, and the first thread closes after sending all the port detection information.
[0055] Step 204, passively receiving the server's response information to any of the port detection information through the second thread.
[0056] Step 206 , using the direct checking method, subtracting 1 from the response information, and determining the last 16 digits of the response information after subtracting 1 as the port number to be checked.
[0057] The client first sends a SYN message as the port detection information, and the server uses a SYN+ACK response as the response information, wherein the port de...
Embodiment 3
[0061] image 3 A flow chart of a port detection method according to yet another embodiment of the present invention is shown.
[0062] Such as image 3 As shown, the process of the port detection method according to another embodiment of the present invention includes:
[0063] Step 302, sending a specified amount of port detection information to the server through the first thread, and the first thread closes after sending all the port detection information.
[0064] Step 304, passively receiving the server's response information to any of the port detection information through the second thread.
[0065] Step 306: When the hash value checking mode is selected, subtract 1 from the response information, and convert the response information after subtracting 1 into a hash value.
[0066] The description of performing decrement processing on the response information by 1 is the same as that in Embodiment 2, and will not be repeated here.
[0067] Step 308, if the hash value...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



