A method, device, system and storage medium for detecting packet loss
A technology for detecting packets and packets, applied in the Internet field, can solve problems such as tunnel establishment failure, fragmented packet loss, unfragmented packet discarding, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] The embodiment of the present invention provides a method for detecting message loss, which is applied to the initiator in the national secret VPN key negotiation process, such as figure 1 As shown, the method specifically includes the following steps:
[0048] Step S101: During the key negotiation process based on the national secret algorithm, when the first negotiation message is sent to the responder, a detection message is constructed; wherein, the detection message is used to detect that the first negotiation message is in Check whether multiple fragmented packets obtained after IP layer fragmentation are lost during transmission.
[0049] Wherein, the first negotiation message is a message used for key negotiation between the initiator and the responder. Since the national secret standard needs to use a double national secret certificate for key negotiation, it will cause the first The case where the negotiation packet is too large; if the first negotiation pack...
Embodiment 2
[0068] The embodiment of the present invention provides a method for detecting message loss, which is applied to the responding party in the national secret VPN key negotiation process, such as figure 2 As shown, the method specifically includes the following steps:
[0069] Step S201: During the key negotiation process based on the National Secret Algorithm, receive a plurality of fragmented messages and detection messages from the initiator; wherein, the plurality of fragmented messages are responses to the first A negotiation message is obtained after performing IP layer fragmentation, and the detection message includes a first characteristic value that is calculated by using a preset algorithm and has a unique mapping relationship with the first negotiation message.
[0070] Wherein, the first negotiation message is a message used for key negotiation between the initiator and the responder. Since the national secret standard needs to use a double national secret certifica...
Embodiment 3
[0087] The embodiment of the present invention provides a device for detecting message loss, which is applied to the initiator in the national secret VPN key negotiation process, such as image 3As shown, the device specifically includes the following components:
[0088] A construction module 301, configured to construct a detection message when sending a first negotiation message to the responder during the key negotiation process based on the national secret algorithm; wherein, the detection message is used to detect the first negotiation message Whether the multiple fragmented packets obtained after the packet is fragmented at the IP layer during transmission are lost;
[0089] The first calculation module 302 is configured to use a preset algorithm to calculate the first negotiation message, obtain a first feature value that has a unique mapping relationship with the first negotiation message, and calculate the first feature value added to the detection message;
[0090...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


