Method for obtaining equipment port information by using multicast PIM protocol message

A technology of protocol messages and port information, which is applied in the field of network communication, can solve problems such as increasing program complexity, increasing coupling between modules, and unclear module interfaces, so as to improve robustness and maintainability, reduce coupling, The effect of reducing data flow

Inactive Publication Date: 2008-06-18
HUAWEI TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, the existing two methods have a common problem, that is, they both need to modify the interface of the original process and add interface parameters
Such modification will increase the complexity of the program, make software maintenance difficult, the module interface is unclear, and the coupling degree between modules will increase, thus increasing the possibility of introducing problems

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 for obtaining equipment port information by using multicast PIM protocol message
  • Method for obtaining equipment port information by using multicast PIM protocol message
  • Method for obtaining equipment port information by using multicast PIM protocol message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] When the IP module hands over the PIM multicast protocol Hello protocol message to the PIM protocol processing module, it will inevitably bring the source address of the protocol message to the PIM protocol processing part. The source address of the message is a standard IP V4 address. The structure is as follows:

[0023] typedef struct sockaddr_in

[0024] {

[0025] unsigned char sin_len;

[0026] unsigned char sin_family;

[0027] unsigned short sin_port;

[0028] struct in_addr sin_addr;

[0029] char sin_zero[8];

[0030]} sockaddr_in;

[0031] In the above structure, the field char sin_zero[8] has no specific content defined in the standard, so the basic idea of ​​the first embodiment of the present invention is to use this field to transfer the port information of the received message.

[0032] figure 2 It is a schematic flowchart of the port information carrying method according to the first embodiment of the present invention. Such as figure 2 As sh...

Embodiment 2

[0034] image 3 It is a schematic flowchart of the port information carrying method according to the second embodiment of the present invention. Such as image 3 As shown, in this embodiment, in order to solve the problem of correspondence between neighbors and ports, some changes are made to the multicast Hello message, that is, when the IP layer sends the protocol message to the application protocol layer, Add the port information to the end of the original protocol message. This forms the Figure 4 A new multicast protocol message is shown. If the message type is a Hello message, the multicast PIM protocol module in the application protocol layer will extract the port information from the message, and use this port information to maintain the corresponding relationship between the port and the multicast neighbor, and then realize the multicast forwarding of data. If it is not a Hello packet, the PIM protocol module will ignore and discard these port information. By 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 method of using multicast PIM protocol message to obtain device port information, including the steps: 1) as IP protocol module of a route device supporting PIM multicast protocol receives the PIM protocol message, it directly adds physical port information for receiving the message to the message and reports the message with the port information to a PIM protocol processing module for processing; 2) the PIM protocol processing module receives the message, and then takes the port information out of it; 3) the PIM protocol processing module uses the port information to build a corresponding relationship between port and neighbor; and 4) the PIM protocol realizes the transmission of multicast data according to the corresponding relationship. It is simple to implement, good in extensibility and compatibility, and unnecessary to modify the interface between original modules, thus making the software easy to implement on a platform and it reduces the coupling factor between different modules and then enhances the robustness and maintainability of the software.

Description

field of invention [0001] The present invention generally relates to network communication technology, and in particular relates to a technology for transmitting information between different software modules inside a network device by "tapping" the Hello message in the multicast PIM protocol. Background technique [0002] Traditional Internet applications use point-to-point IP transmission (unicast technology), while point-to-multipoint IP transmission (broadcast technology) is limited to the internal application of the LAN, and multicast technology is to realize point-to-multipoint IP in the wide area network. transmission technology. [0003] In the 1980s, Steve Deering, a doctoral student at Stanford University, started research on three-layer multicast technology and published his doctoral thesis in December 1991 - "Multicast in a Datagram Network". Describes the basis of multicast group management IGMP protocol and multicast routing DVMRP protocol, and successfully ad...

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): H04L29/06H04L12/16H04L12/24H04Q3/545H04Q3/00
Inventor 赵文鹏赵辉陈克华于勇顾新
Owner HUAWEI TECH CO LTD
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