Method and device for rapidly recovering port control protocol

A port control protocol and fast recovery technology, applied in the field of communication, can solve problems such as network attacks and normal communication effects, and achieve the effect of ensuring normal operation

Active Publication Date: 2012-07-25
泰州市海通资产管理有限公司
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing fast recovery mechanism has security flaws, and malicious attackers can use the security flaws to attack the network, which has a great impact on normal communication.

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
  • Method and device for rapidly recovering port control protocol
  • Method and device for rapidly recovering port control protocol
  • Method and device for rapidly recovering port control protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] According to an aspect of an embodiment of the present invention, a PCP fast recovery method is provided, including:

[0025] 100. The backup PCP server notifies the user that PCP server switching occurs;

[0026] Specifically, when the working primary PCP server fails, the backup PCP server replaces the failed primary PCP server, and notifies the user that PCP server switching occurs, and the user submits a PCP mapping request to the backup PCP server after receiving the notification. For example, when the network detects that the active PCP server has failed, it notifies the backup PCP server to take over the work of the failed active PCP server, or the backup PCP server detects the status of the active PCP server, and takes over when the active PCP server is found to be faulty. Work with PCP server.

[0027] 102. The backup PCP server receives the Token sent by the user;

[0028] After receiving the PCP server switching notification sent by the backup PCP server, t...

Embodiment 2

[0046]see image 3 According to another aspect of the embodiments of the present invention, a PCP fast recovery method is provided, including:

[0047] 300. The primary PCP server receives the PCP mapping request sent by the user;

[0048] 302. The primary PCP server generates mapping information, and generates a token Token according to the mapping information;

[0049] 304. The primary PCP server sends the generated token Token to the user.

[0050] For example, the primary PCP server generates mapping information according to the mapping request sent by the user, and then performs signature or MAC protection on the generated mapping information, thereby generating a Token, and sends the Token to the user. The user saves the Token for use when the main and standby PCP servers are switched. The algorithm for signing can be, for example, a general keyword cryptographic algorithm (Revest-Shamir-Adleman algorithm, RSA), and the algorithm for MAC protection can be, for example...

Embodiment 3

[0052] see Figure 4 According to another aspect of the embodiments of the present invention, a PCP fast recovery method is provided, including:

[0053] 400. The primary PCP server receives the PCP mapping request sent by the user;

[0054] 402. The primary PCP server generates mapping information, and generates a token Token according to the mapping information;

[0055] For example, the primary PCP server generates mapping information according to the mapping request sent by the user, and then performs signature or MAC protection on the generated mapping information, thereby generating a Token, and sends the Token to the user. The algorithm for signing can be, for example, a general keyword cryptographic algorithm (Revest-Shamir-Adleman algorithm, RSA), and the algorithm for MAC protection can be, for example, a message authentication code (Hashed-Base Message Authentication Code, HMAC) based on a hash algorithm, MAC -SHA1 (Secure Hash Algorithm, secure hash algorithm) or...

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 embodiment of the invention provides a method for rapidly recovering a port control protocol, which comprises the following steps that: a backup primary control program (PCP) server notifies a user to switch a PCP server; and the backup PCP server receives a Token sent by the user and generates new mapping information according to the received Token. According to the technical scheme provided by the embodiment of the invention, the Token is used to validate the identity validity of the user while the rapid PCP recovery is carried out, so that a main backup PCP server can complete the rapid switching safely and reliably; and the communication service of the user can be guaranteed to carry out normally.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for fast recovery of a port control protocol. Background technique [0002] Port Control Protocol (Port Control Protocol, PCP) provides IPv6 (Internet Protocol version 6, Internet Protocol version 6) or IPv4 (Internet Protocol version 4, Internet Protocol version 4) host control Network Address Translator (Network Address Translator, NAT) and how firewall devices translate and forward IPv6 or IPv4 packets. PCP allows applications to create mappings from external IP addresses and ports to internal IP addresses and ports. These mappings are necessary for proper communication with devices located behind NATs or firewalls. [0003] The PCP protocol provides a fast recovery mechanism. After the main PCP server fails, another backup PCP server will take over from the failed PCP server, quickly establish a mapping relationship, and maintain normal communication. However,...

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 Applications(China)
IPC IPC(8): H04L12/24H04L29/06H04L9/32H04L9/08H04L69/40
CPCH04L69/40H04L29/14H04L29/06
Inventor 张大成
Owner 泰州市海通资产管理有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products