A message matching method and device
A matching method and a technology of a matching device, which are applied in the field of network security and can solve problems such as low efficiency and long time-consuming message matching
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0053] see figure 1 , figure 1 A schematic flowchart of a packet matching method is provided in the embodiment of the present application. Wherein, the packet matching method includes:
[0054] S101. After sending the target request message, receive a response message.
[0055]In the embodiment of the present application, the method is applied to the matching scenario of request packets and response packets, and is specifically applied to the matching of request packets (that is, request packets) and reply packets (that is, response packets) based on the ICMP protocol. in the scene.
[0056] In the embodiment of the present application, the ICMP protocol on which the method is based is only for the specification of the IPv4 period.
[0057] In this embodiment of the present application, although the ICMP protocol does not transmit user data, it plays an important role in transmitting user data. ICMP messages are sent using the basic IP header, and each message contains at...
Embodiment 2
[0068] see figure 2 , figure 2 This is a schematic flowchart of a packet matching method provided by an embodiment of the present application. like figure 2 shown, wherein, the packet matching method includes:
[0069] S201. After sending the target request message, receive a response message.
[0070] In this embodiment of the present application, after a target request message of type 8 is sent, the next message of type 0 that arrives is a response message.
[0071] S202. Extract the first check value of the target request message.
[0072] In the embodiment of the present application, the first check value of the target request message is the Checksum field of the target request message, which is located in the 2-byte content starting from the third byte of the ICMP header.
[0073] In this embodiment of the present application, Checksum, that is, a sum check code and a checksum, in the field of data processing and data communication, is the sum of a group of data i...
Embodiment 3
[0130] see image 3 , image 3 This is a schematic structural diagram of a packet matching apparatus provided in an embodiment of the present application. like image 3 As shown, the message matching device includes:
[0131] a receiving unit 300, configured to receive a response message after sending the target request message;
[0132] The calculation unit 400 is configured to calculate the theoretical check value according to the target request message;
[0133] The matching determining unit 500 is configured to determine a message matching result between the response message and the target request message according to the theoretical check value.
[0134] In this embodiment of the present application, for the description of the packet matching apparatus, reference may be made to the description in Embodiment 1 or Embodiment 2, and details are not repeated in this embodiment.
[0135] It can be seen that implementing the packet matching device described in this embodim...
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