CN1556622A - Universal network equipment register method based on universal attribute register protocol - Google Patents

Universal network equipment register method based on universal attribute register protocol Download PDF

Info

Publication number
CN1556622A
CN1556622A CNA2003101234592A CN200310123459A CN1556622A CN 1556622 A CN1556622 A CN 1556622A CN A2003101234592 A CNA2003101234592 A CN A2003101234592A CN 200310123459 A CN200310123459 A CN 200310123459A CN 1556622 A CN1556622 A CN 1556622A
Authority
CN
China
Prior art keywords
network
logon message
address
node
node device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2003101234592A
Other languages
Chinese (zh)
Other versions
CN100561958C (en
Inventor
向中青
李凌
李锐
吴军平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CNB2003101234592A priority Critical patent/CN100561958C/en
Publication of CN1556622A publication Critical patent/CN1556622A/en
Application granted granted Critical
Publication of CN100561958C publication Critical patent/CN100561958C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention relates to registering method for universal network device based on universal attributes registering protocol, each joint on network sends out a registering message using public media accessing control address as target address with multiple broadcast method, at the same time, each joint device receives the registering report, the media accessing control address needs to apply one in the preformed address table of the universal attributes registering protocol, once the function is started, it sends out the registering message to the joined device, realizes the aim form discovers and maintains the network topology structure with the method.

Description

A kind of universal network method for device registration based on Generic Attribute Registration Protocol
Technical field
The present invention relates to a kind of network device registration method, relate to a kind of universal network method for device registration particularly based on Generic Attribute Registration Protocol.
Background technology
Ethernet is present most popular local area network technology.In order to obtain the actual physics interconnected relationship between the network entities such as switch and switch, switch and router, switch and main frame, realize active and passive network management, server location, event correlation and source of trouble analysis or the like network task, find that the layout and the interconnected relationship of physics between the network element becomes key.The Topology discovery of Ethernet networks technology is arisen at the historic moment, and becomes hot technology day by day.Wherein, utilize the registration technology of Generic Attribute Registration Protocol to attract people's attention most.
Generic Attribute Registration Protocol (GARP) comprises general multi-cast registration agreement (GMRP) and general virtual local network log-on protocol (GVRP) at present, and a kind of ability of general propagation property is provided for the participant who uses.This ability allows each participant within the local area network (LAN) of mutual bridge joint to register or nullify certain property value mutually.The syntax and semantics that property value will be observed when property value that the definition of Attribute class, Attribute class can carry and registration all has different regulations in different GARP uses.
" statement " that certain participant that GARP operation allows GARP to use delivers relevant property value (declaration) or cancel " statement ", the delivering (cancelling) and can make other participant of this GARP application in the Bridged Local Area Network register (cancellation) this property value of these statements.
At present, each big communication equipment producer has all released based on the automatic network equipment on the proprietary protocol and the function of topology detection.But this function can not realize striding the automatic discovery of the network equipment of manufacturer and the automatic detection of network topology structure.This interconnection and interflow to the network equipment is very unfavorable.The present invention proposes a kind of based on Generic Attribute Registration Protocol (GARP), has carried the register method of network equipment identity and topological attribute, and it both can stablize the realization topology discovery function, can apply to the equipment of each producer again neatly.
Summary of the invention
The object of the invention provides a kind of universal network method for device registration based on Generic Attribute Registration Protocol (GARP).This method can realize automatic topological discover and network registry in the network that connects many apparatus for network node, and can be applicable to the equipment that different vendor produces.
Universal network method for device registration of the present invention comprises the following steps: for all node devices in the network a public medium access control (MAC) address to be set; All node devices are that destination address sends logon message with this public address all in the network, and this message comprises the MAC Address of other node of manufacturer's mark, device flag, Hostname, the IP address of sending node equipment, the Media Access Control address of node device oneself, affiliated domain name, the identity in the territory, direct physical connection, the local port number of connection; The logon message that it is destination address that all nodes in the network also all receive with above-mentioned common medium accessing to control address simultaneously is added on the Media Access Control address of other node device in the logon message that will send, and sends logon message once more on network; Each node device extracts the property parameters of all node devices in the network from the logon message that is received, and sets up dynamic network topology structure preparation table.
In the application of the inventive method, it is the logon message of destination address that each node device also regularly sends with the common medium accessing to control address on network; Each node device also regularly detects the logon message from the particular sections point device, do not continue the logon message of receiving that this particular sections point device is sent if surpass pre-specified time, then this particular sections point device is removed from network topology structure preparation table, and in the logon message that sends subsequently, circulated a notice of; When the property parameters of each node device changed, each node device was circulated a notice of in the logon message that sends subsequently; Each node device also preestablishes the time limit, surpasses after this time limit then the dynamic network topology structure preparation table that deletion has automatically been set up, so that set up new preparation table by the logon message that receives other all each node devices again subsequently.
Utilize method of the present invention, can carry out the network automatic topological discover, and dynamically update network topology structure preparation table, this method goes for the node device that different vendor produces.
Description of drawings
Fig. 1 is to use the high-level schematic functional block diagram that node device possessed of the inventive method;
Fig. 2 is the flow chart that the preparation table is upgraded in node device timed sending logon message in the inventive method, timing;
Fig. 3 is to use the flow chart of the node device executive program of the inventive method;
Fig. 4 is the structural representation of the employed logon message of universal network method for device registration of the present invention.
Embodiment
The present invention is based on concrete an application of Generic Attribute Registration Protocol (GARP) standard.As concrete application, universal network method for device registration of the present invention has also been followed general format and the coding of GARP.Use the log-in protocol of the inventive method to be called as universal network facility registration agreement (GNDRP).The inventive method is used a multicast message, and its medium access control (MAC) address will be applied for one from the address table that GARP reserves.The applied application IP addresses of the inventive method are 0180c2000022.In case the universal network facility registration function of an equipment is opened, it will reach the purpose of finding and safeguarding whole network topology structure in this way regularly to the equipment transmission logon message of adjacency.Describe the know-why and the implementation of the inventive method in detail below in conjunction with Fig. 1 to Fig. 4.
The functional module that realizes the inventive method on apparatus for network node is called as universal network facility registration protocol module, and this module requires to have every function as shown in Figure 1: i.e. command function, timer, protocol package acceptance and transmission, main task processing etc.
The command function module: the order of definition opening/closing GNDRP function, and to these orders of device command line pipe reason system registry.
Timer module: this module functions is the various timers in the management system, the inventive method has been used three kinds of timers, inserts timer (jointimer), release timer (leavetimer) and whole release timer (leavealltimer).Jointimer timer and leavealltimer timer only are provided with one in each node device, leavetimer is provided with one for each shown node device in the dynamic preparation table.In case use the node device (network equipment) of the inventive method to be connected into network, the jointimer timer is just controlled this node device and regularly sent logon message to its connection device, register the device attribute value of oneself in this article.When expiring, the Leavealltimer timer can make all from allocation list, delete by the node device that shows in the dynamic preparation table.The LeaveTimer timer is mainly used in Control Node equipment log-on message aging in the preparation table.If before the LeaveTimer timer expires, receive the logon message of particular sections point device, so just restart the timing of LeaveTimer for this node device, promptly do not wear out.To the main flow process of the processing of timer as shown in Figure 2.
Protocol package receiver module: if universal network facility registration function is opened, CPU in the node device need discern and handle the logon message that other adjacent devices send, this module is responsible for information extraction from logon message, and handles to main task processing module message queue transmission property parameters.
The protocol package sending module: in case a node device (network equipment) is connected into network, just timing sends logon message to other node device of its connection, and the device attribute parameter of registration oneself.This module is responsible for regularly the log-on message with oneself, and to send to each connection status be " connection " port (linkup).This process comprises the encapsulation logon message and calls two steps of bottom layer driving interface transmission logon message.
The main task processing module: this resume module logon message, this module receives message from other modules in the mode of message queue, handles accordingly according to the type of message, and handling process is as shown in Figure 3.
The employed logon message structure of the inventive method and the coding as shown in Figure 4, wherein:
Protocol label symbol coding: protocol identifier (Protocol ID) should be encoded into two bytes, is used for representing a signless binary number.Represent that with hexadecimal number its value is exactly 0 * 0001, it is used for indicating is the GARP protocol massages.
Attribute classification coding: Attribute class (Attribute Type) should be encoded into a byte, is used for representing a signless binary number.Attribute class is used for the classification of the applied attribute of banner message.Attribute class 0 as retention, all can not with 0 be come representation attribute class so any one GARP uses by GARP.Therefore, GNDRP uses the Attribute class that uses 0 * 01 expression oneself.
The attribute length coding: attribute length (Attribute Length) should be encoded into a byte, is used for representing a signless binary number.It equals the number of the shared byte of attribute, wherein will comprise a byte of attribute length, and a byte of attribute event.Legal attribute length should be between 2 to 255.
The attribute event coding: attribute event (Attribute Event) should be encoded into a byte, is used for representing a signless binary number.Value that allows and the meaning of their representatives are as follows:
0 * 02: insert (Joinln) incident: the property parameters of stating this attribute.
0 * 04: break away from (Leaveln) incident: the property parameters of nullifying this attribute.
0 * 06: revise (Modify) incident: the property parameters of revising this attribute.
0 * 00: all break away from (LeaveAll) incident: the property parameters of nullifying all properties in this message.
The property parameters encoded content, promptly the value of the inventive method Attribute domain should comprise: 9 kinds of the MAC Address of the adjacent node of the domain name in manufacturer's mark (ID) of attribute logging node device, device flag (ID), Hostname, Internet protocol (IP) address, medium access control (MAC) address, affiliated territory, the identity in affiliated territory, direct-connected physical connection, the local port numbers of connection etc.The coding of property parameters (Attribute Value) has different length according to different Attribute class.
End mark (End Mark) coding: end mark should be encoded into a byte, is used for representing a signless binary number.Its value is always 0.Other value is a retention, can not use.
The application process of the inventive method is described below by concrete example.In case a node device (network equipment) is connected into network, just regularly send universal network facility registration message to its connection device, and the device attribute value of registration oneself in message, " BE2024 " equipment (device id=0 * 0104) of manufacturer " FIBERHOME " (vendor id=0 * 0101) for example, main frame is called " Freelink-01 ", no IP address, and MAC Address is " 0 * 000209FD47 ", do not add any territory as yet, do not find any adjacent node equipment.Owing to be the device attribute of registration oneself, so during the encapsulation logon message, above-mentioned every host information is encapsulated in order as property parameters (attribute value), and the attribute event of each property parameters correspondence (attribute event) is 0 * 02, i.e. registered events.
Other node device in the network when the equipment of its connection sends logon message, is also received the logon message that miscellaneous equipment is sent in timing.Universal network facility registration module is responsible for resolving the logon message of receiving, after the certain hour, each node device can obtain the property parameters of its other node device that connects.Moreover, network-management application can also be set up a dynamic network topology structure preparation table that comprises all node devices of registering.
When the node device in the network is revised the node device attribute of oneself, will revise content transmission by logon message equally and give other node device.Only the attribute event of the property parameters correspondence that needs need be revised is set at 0 * 06 and gets final product.
If use the node device of the inventive method " to leave " network, through after the scheduled time, its immediate neighbor node equipment can not be received its logon message.Under this situation, assert that this node device has worn out.So this immediate neighbor node equipment is announced this variation to other node device.Equally also be to utilize logon message, nullify all property parameters values in the property parameters of aging node device correspondence therein, be about to the attribute event value and be set at 0 * 00, so other node device after receiving the logon message that comprises ageing information, the dynamic preparation table of can corresponding modify safeguarding.
Those skilled in the art as can be seen, the employed logon message of the inventive method belongs to a kind of protocol Data Unit in fact, this kind protocol Data Unit is applicable to the universal network facility registration agreement that adopts the inventive method.
Technology contents in the above-mentioned specific embodiment is not construed as limiting protection scope of the present invention.The protection range of universal network method for device registration of the present invention is limited by incidental claims.

Claims (2)

1. the universal network method for device registration based on Generic Attribute Registration Protocol is characterized in that comprising the following steps:
For all node devices in the network are provided with a public medium access control (MAC) address;
All node devices are that destination address sends logon message with this public address all in the network, and this message comprises the MAC Address of other node of manufacturer's mark, device flag, Hostname, the IP address of sending node equipment, the Media Access Control address of node device oneself, affiliated domain name, the identity in the territory, direct physical connection, the local port number of connection;
The logon message that it is destination address that all nodes in the network also all receive with above-mentioned common medium accessing to control address simultaneously;
All nodes in the network also are added on the Media Access Control address of other node device in the logon message that will send, and send logon message once more on network;
Each node device extracts the property parameters of all node devices in the network in the network from the logon message that is received, and sets up dynamic network topology structure preparation table.
2. according to the method for claim 1, it is characterized in that:
It is the logon message of destination address that each node device also regularly sends with the common medium accessing to control address on network;
Each node device also regularly detects the logon message from the particular sections point device, do not continue the logon message of receiving that this particular sections point device is sent if surpass pre-specified time, then this particular sections point device is removed from network topology structure preparation table, and in the logon message that sends subsequently, circulated a notice of;
When the property parameters of each node device changed, each node device was circulated a notice of in the logon message that sends subsequently;
Each node device also preestablishes the time limit, surpasses after this time limit then the dynamic network topology structure preparation table that deletion has automatically been set up, so that set up new preparation table by the logon message that receives other all each node devices again subsequently.
CNB2003101234592A 2003-12-30 2003-12-30 A kind of universal network method for device registration based on Generic Attribute Registration Protocol Expired - Fee Related CN100561958C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101234592A CN100561958C (en) 2003-12-30 2003-12-30 A kind of universal network method for device registration based on Generic Attribute Registration Protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101234592A CN100561958C (en) 2003-12-30 2003-12-30 A kind of universal network method for device registration based on Generic Attribute Registration Protocol

Publications (2)

Publication Number Publication Date
CN1556622A true CN1556622A (en) 2004-12-22
CN100561958C CN100561958C (en) 2009-11-18

Family

ID=34338877

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101234592A Expired - Fee Related CN100561958C (en) 2003-12-30 2003-12-30 A kind of universal network method for device registration based on Generic Attribute Registration Protocol

Country Status (1)

Country Link
CN (1) CN100561958C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008080341A1 (en) * 2007-01-01 2008-07-10 Huawei Technologies Co., Ltd. Method, system and device for identifying a user terminal
CN100442706C (en) * 2005-04-19 2008-12-10 华为技术有限公司 Method for making maintaining node labels to match with media visiting controlled addresses
WO2009049503A1 (en) * 2007-10-18 2009-04-23 Huawei Technologies Co., Ltd. Method and device for automatically discovering network topology and managing resource in pbb te network
CN101123566B (en) * 2006-08-09 2010-05-12 中兴通讯股份有限公司 Port processing method for VLAN using GVRP
CN101803405A (en) * 2007-09-24 2010-08-11 高通股份有限公司 De-registering a multicast group member from a multicast group within a wireless communications network
CN101145950B (en) * 2007-04-25 2010-10-13 中兴通讯股份有限公司 A topology management method based on multi-service transmission node
CN101252539B (en) * 2008-04-03 2011-08-10 杭州华三通信技术有限公司 General-purpose attribute logging method and node
CN102404360A (en) * 2010-09-09 2012-04-04 中兴通讯股份有限公司 Method and device for realizing M-channel control
CN104486345A (en) * 2014-12-22 2015-04-01 上海斐讯数据通信技术有限公司 Timer control method of GVRP (GARP VLAN registration protocol) system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442706C (en) * 2005-04-19 2008-12-10 华为技术有限公司 Method for making maintaining node labels to match with media visiting controlled addresses
CN101123566B (en) * 2006-08-09 2010-05-12 中兴通讯股份有限公司 Port processing method for VLAN using GVRP
WO2008080341A1 (en) * 2007-01-01 2008-07-10 Huawei Technologies Co., Ltd. Method, system and device for identifying a user terminal
CN101227506B (en) * 2007-01-01 2012-03-21 华为技术有限公司 Equipment, system and method for identifying subscriber terminal
CN101145950B (en) * 2007-04-25 2010-10-13 中兴通讯股份有限公司 A topology management method based on multi-service transmission node
CN101803405A (en) * 2007-09-24 2010-08-11 高通股份有限公司 De-registering a multicast group member from a multicast group within a wireless communications network
CN101803405B (en) * 2007-09-24 2013-06-12 高通股份有限公司 De-registering a multicast group member from a multicast group within a wireless communications network
WO2009049503A1 (en) * 2007-10-18 2009-04-23 Huawei Technologies Co., Ltd. Method and device for automatically discovering network topology and managing resource in pbb te network
CN101252539B (en) * 2008-04-03 2011-08-10 杭州华三通信技术有限公司 General-purpose attribute logging method and node
CN102404360A (en) * 2010-09-09 2012-04-04 中兴通讯股份有限公司 Method and device for realizing M-channel control
CN102404360B (en) * 2010-09-09 2016-08-10 中兴通讯股份有限公司 Realize the method and apparatus that M-channel controls
CN104486345A (en) * 2014-12-22 2015-04-01 上海斐讯数据通信技术有限公司 Timer control method of GVRP (GARP VLAN registration protocol) system

Also Published As

Publication number Publication date
CN100561958C (en) 2009-11-18

Similar Documents

Publication Publication Date Title
CN108075920A (en) A kind of management method and system regarding networked terminals
DE60309426T2 (en) Automated assignment of voice-over-IP devices to VLAN
CN1177439C (en) Method of acting address analytic protocol Ethernet Switch in application
US9154404B2 (en) Method and system of accessing network for access network device
CN108063741A (en) A kind of transport protocol conversion method and apparatus
CN108023910A (en) A kind of terminal monitoring method and system based on regarding networking
CN1414746A (en) Method of providing internal service apparatus in network for saving IP address
CN108121588A (en) It is a kind of access external resource method and its regarding networking access server
US9621512B2 (en) Dynamic network action based on DHCP notification
CN106941437B (en) Information transmission method and device
CN108228338A (en) One kind regards networked resources management method and system
CN108965367A (en) A kind of method and system of control view networked server
CN109743595A (en) Terminal data synchronous method and device
CN108810581A (en) A kind of update method and device of menu
CN109787992A (en) A kind of method and apparatus by view networking access private network
CN108880851A (en) A kind of method and interactive system that configuration updates
CN108881799A (en) A kind of system and method carrying out view networked video meeting
CN109889780A (en) Method of data synchronization and device
CN1556622A (en) Universal network equipment register method based on universal attribute register protocol
CN109787873A (en) A kind of method and apparatus of multi-to-multi incoming communication
EP3751421A1 (en) Method for providing control applications and configuration control device
CN108243343A (en) A kind of point bit distribution statistical method and its server based on regarding networking
CN109617830A (en) A kind of method and apparatus regarding real time demonstration business in networking
CN110475113A (en) Monitoring equipment fault processing method and processing device based on view networking
CN100344122C (en) Implementing Method for sending datagram type message from assigned port

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091118

Termination date: 20151230

EXPY Termination of patent right or utility model