CN103986600A - Enterprise-level network automatic finding and filtering method and system based on multiple protocols - Google Patents

Enterprise-level network automatic finding and filtering method and system based on multiple protocols Download PDF

Info

Publication number
CN103986600A
CN103986600A CN201410203594.6A CN201410203594A CN103986600A CN 103986600 A CN103986600 A CN 103986600A CN 201410203594 A CN201410203594 A CN 201410203594A CN 103986600 A CN103986600 A CN 103986600A
Authority
CN
China
Prior art keywords
resource
network
resource information
network equipment
descriptor
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
CN201410203594.6A
Other languages
Chinese (zh)
Other versions
CN103986600B (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.)
Upper Marine Infotech Share Co Ltd Of Interrogating
Original Assignee
Upper Marine Infotech Share Co Ltd Of Interrogating
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 Upper Marine Infotech Share Co Ltd Of Interrogating filed Critical Upper Marine Infotech Share Co Ltd Of Interrogating
Priority to CN201410203594.6A priority Critical patent/CN103986600B/en
Publication of CN103986600A publication Critical patent/CN103986600A/en
Application granted granted Critical
Publication of CN103986600B publication Critical patent/CN103986600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an enterprise-level network automatic finding and filtering method and system based on multiple protocols. The method and system are suitable for network resource management. The method includes the steps that a resource information station is established, the basic attribute of each resource is listed, and a unique keyword value is configured for each resource of the resource information station; description information of network devices in a network is acquired through the SNMP, and the description information and the resource information in the resource information station are matched so that the basic attributes of the network devices can be acquired; description information of the network devices in the network is acquired through the NetBIOS protocol, and the description information and the resource information of the resource information station are matched so that the basic attributes of the network devices can be acquired; filtering and duplication elimination are conducted on the network devices. The problems that maximum finding of the network devices cannot be achieved and informationized classification is not clear can be solved, and a part of unknown devices are known through the multiple protocols.

Description

A kind of based on the automatic discovery of multi-protocols business network and filter method, system
Technical field
The present invention relates to network resource management, relate in particular to a kind of based on the automatic discovery of multi-protocols business network and filter method, system.
Background technology
Along with network becomes increasingly complex, more and more huger, the more and more polynary change of the network equipment, traditional Network finding can not maximize finds to be not easy to management and non-SNMP (Simple Network Management Protocol, Simple Network Management Protocol) equipment, make subnetwork equipment in the unknown stage, need personnel to manage by hand, traditional Network finding carrys out the essential information of judgment device by collection network equipment much information simultaneously, sorts out complicated unintelligible.In summary, obviously there is inconvenience and defect in prior art in actual use, so be necessary to be improved.
Summary of the invention
For above-mentioned defect, the object of the present invention is to provide a kind of based on the automatic discovery of multi-protocols business network and filter method, system, can solve the network equipment and can not maximize discovery and the unintelligible problem of information-based classification, adopt multi-protocols to make knownization of part the unknownization equipment.
To achieve these goals, the invention provides one and automatically find and filter method based on multi-protocols business network, described method comprises:
Setting up resource information station, list the base attribute of each resource, is the unique keyword value of every resource distribution at described resource information station;
Obtain the descriptor of network apparatus in networks by snmp protocol, and described descriptor is mated with the resource information at resource information station;
Obtain the descriptor of network apparatus in networks by netbios protocol, and described descriptor is mated with the resource information at resource information station;
The network equipment is filtered to duplicate removal processing.
The method according to this invention, the step of " listing the base attribute of each resource " comprising: classification, manufacturer, purposes and the series of listing each resource.
The method according to this invention, in the step of " being the unique keyword value of every resource distribution at described resource information station ", described keyword value is taken from unique key value of network equipment descriptor, for generic resource, multiple keyword values can be set, between multiple keyword values, cut apart by branch.
The method according to this invention, in the step of " described descriptor is mated with the resource information at resource information station ", described descriptor need comprise the keyword value of resource, many keyword values only with mate it first for mating completely.
The method according to this invention, the step of " network equipment is filtered to duplicate removal processing " comprising:
Judge whether network appliance IP address exists;
If existed, the base attribute of the network equipment of two identical ip addresses is mated, if two network equipments are identical, remove and repeat;
If there is no identical IP address, by the MAC Address of the network equipment is mated with the MAC Address of the network equipment of finding, if the same remove and repeat.
The present invention is corresponding provides a kind of based on multi-protocols business network discovery and filtration system automatically, and described system comprises:
Module is set up at resource information station, for setting up resource information station, lists the base attribute of each resource, is the unique keyword value of every resource distribution at described resource information station;
First network device discovery module, for obtain the descriptor of network apparatus in networks by snmp protocol, and mates described descriptor with the resource information at resource information station;
Second network device discovery module, obtains the descriptor of network apparatus in networks, and described descriptor is mated with the resource information at resource information station by netbios protocol;
Filter, for filtering duplicate removal processing to the network equipment.
According to system of the present invention, module is set up also for listing classification, manufacturer, purposes and the series of each resource in resource information station.
According to system of the present invention, described keyword value is taken from unique key value of network equipment descriptor, for generic resource, multiple keyword values can be set, and between multiple keyword values, cuts apart by branch.
According to system of the present invention, described descriptor need comprise the keyword value of resource, and many keyword values are only mated it first for mating completely.
According to system of the present invention, described filter comprises:
Judge module, judges whether network appliance IP address exists;
Base attribute matching module, mates the base attribute of the network equipment identical two IP addresses when there is the network equipment of two identical ip addresses, if two network equipments are identical, remove and repeats;
MAC Address matching module, in the time there is no identical IP address, by the MAC Address of the network equipment is mated with the MAC Address of the network equipment of finding, if the same removes and repeats.
The present invention is by setting up resource information station, list the base attribute of each resource, for the unique keyword value of every resource distribution at resource information station, then snmp protocol and netbios protocol obtain the descriptor of network apparatus in networks, and described descriptor is mated with the resource information at resource information station, finally the network equipment of finding is filtered to duplicate removal processing.The present invention adopts snmp protocol to carry out network equipment discovery and filtration in conjunction with netbios protocol, can solve the network equipment and can not maximize discovery and the unintelligible problem of information-based classification, adopts multi-protocols to make knownization of part the unknownization equipment.
Brief description of the drawings
Fig. 1 is a kind of frame diagram based on the automatic discovery of multi-protocols business network and filtration system of the present invention;
Fig. 2 is the flow chart of finding and filtering based on User Defined IP network section in an embodiment of the present invention;
Fig. 3 is the flow chart filtering in an embodiment of the present invention;
Fig. 4 is a kind of flow chart based on the automatic discovery of multi-protocols business network and filter method of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, one of the present invention automatically finds and filtration system 100 based on multi-protocols business network, comprises that resource information station sets up module 10, first network device discovery module 20, second network device discovery module 30 and filter 40.
Module 10 is set up at resource information station, for setting up the base attribute of listing each resource, is the unique keyword of every resource distribution at resource information station (keyword) value.Concrete, module is set up also for listing classification, manufacturer, purposes and the series etc. of each resource in resource information station.Resource refers to all network relevant devices, comprises router, switch, fire compartment wall, main frame, printer etc.Wherein classification can comprise the network equipment, host computer system, application, self-defined etc.; Purposes can comprise interchanger, router etc.For the unique keyword value of every resource distribution of station resource, keyword value is taken from unique key value of network equipment descriptor, and Keyword is the special summary of sub-fraction of descriptor.For generic resource, multiple keyword values can be set; Between multiple keyword values, cut apart by branch.Keyword is the information of summary during the network equipment is described, such as descriptor is:
“H3C?Comware?Platform?Software
Comware?Software?Version5.20,Release2603P06
H3C?Service?Router?SR6604
Copyright(c)2004-2011Hangzhou?H3C?Technologies?Co.,Ltd.“
Keyword can be set to H3C SR6604.
First network device discovery module 20, for obtain the descriptor of network apparatus in networks by snmp protocol, and mates descriptor and the resource information at resource information station to obtain the base attribute of the network equipment.Descriptor is the description of equipment, and essential information comprises the title of equipment, manufacturer, series etc.Matching principle is: descriptor need comprise the keyword value of resource, and many keyword values are only mated it first for mating completely.After coupling is complete, can obtain the essential information of the network equipment.For example descriptor is:
“Huawei?Versatile?Routing?Platform?Software
VRP(R)software,Version5.90(NE20E?V600R003C00SPCa00)
Copyright(C)2000-2012Huawei?Technologies?Co.,Ltd.
NE20E-X6 " with " STRING:Huawei Versatile Routing Platform Software
VRP(R)software,Version5.90(NE20E?V600R003C00SPCa00)
Copyright(C)2000-2012Huawei?Technologies?Co.,Ltd.
NE40E“
Two descriptors all belong to the router of NE series, and now keyword can be set to Huawei NE40E, Huawei NE20E, and first descriptor only need to match keyword Huawei NE20E, even if the match is successful.
Second network device discovery module 30, obtains the descriptor of network apparatus in networks, and descriptor is mated with the resource information at resource information station by netbios protocol.Concrete can supplement discovery by netbios protocol for non-configuration SNMP lizard equipment, get Hostname, MAC (the Media Access Control of equipment by netbios protocol, media interviews control) address, CDP (Cisco Discovery Protocol, CISCO discovery protocol) and FDB (Forwarding Database, forwarding database) etc. relevant information, make non-configuration SNMP equipment be converted into knownization by the unknown.NetBIOS can only get indivedual information of equipment, cannot get descriptor, uses in order to supplement, and does not need to carry out keyword value and mates.
Filter 40, for filtering duplicate removal processing to the network equipment.Filter 40 comprises:
Judge module 41, judges whether network appliance IP address exists.
Base attribute matching module 42, the base attribute of the network equipment identical two IP addresses is mated when there is the network equipment of two identical ip addresses, if two network equipments are identical, remove and repeat, if the network equipment corresponding to newfound this IP address is recorded to information resources station by not identical person.
MAC Address matching module 43, for in the time there is no identical IP address, by the MAC Address of the network equipment is mated with the MAC Address of the network equipment of finding, if the same remove and repeat, if not identical, the network equipment corresponding this MAC Address is recorded to information resources station.
Fig. 2 is the flow chart of finding and filtering based on User Defined IP network section in an embodiment of the present invention.Before discovery, first user needs self-defined network segment information, and Network finding device travels through the each IP address in the network segment, is first operated and is filtered non-existent IP address by PING, reduces that SNMP is overtime when obtaining data causes hysteresis behavior.Detailed performing step is as follows:
Step S201, obtains IP address.
Step S202, judges that whether PING is logical in this IP address, if enter step S203, otherwise gets back to step S202.
Step S203, judges whether to pass through the descriptor of SNMP acquisition of information to IP address, if enter step S204, otherwise enters step S205.
Step S204, judges that whether descriptor mates with the keyword value at information resources station, if enter step S206, otherwise enters step S205.The descriptor that for example gets IP address is DESC, if DESC exists, mates with keyword, if there is no adopts netbios protocol to carry out essential information and obtains.Suppose that keyword information is (Cisco C2600, Cisco C1841), cuts apart with comma, if DESC comprises Cisco and comprises C2600, the match is successful, and the essential information of this equipment is the network equipment, manufacturer is Cisco, and series is C2600, and function is router.
Step S205, obtains the equipment essential information of IP address by netbios protocol, enter step S206 after completing.
Step S206, carries out equipment filtration.
Fig. 3 is the flow chart filtering in an embodiment of the present invention.
Step S301, discovering network equipment.
Step S302, loads known network device.
Step S303, judges whether this IP address exists, if enter step S304, otherwise enters step S305.
Step S304, whether the network equipment that judges this IP address mates with the essential information of the network equipment of identical ip addresses in Internet resources station, if get back to step S301, otherwise enters step S306.
Step S305, judges whether the MAC Address of the network equipment of this IP address exists, if get back to step S301, otherwise enters step S306.
Step S306, is recorded to information resources station by this network equipment.
Fig. 4 is a kind of flow chart based on the automatic discovery of multi-protocols business network and filter method of the present invention, and the method realizes by system as shown in Figure 1, and the method comprises the steps:
Step S401, sets up resource information station, lists the base attribute of each resource, is the unique keyword value of every resource distribution at resource information station.Concrete, the step of " listing the base attribute of each resource " comprising: classification, manufacturer, purposes and the series of listing each resource.Keyword value is taken from unique key value of network equipment descriptor, for generic resource, multiple keyword values can be set, and between multiple keyword values, cuts apart by branch.
Step S402, obtains the descriptor of network apparatus in networks by snmp protocol, and descriptor and the resource information at resource information station is mated to obtain the base attribute of the network equipment.In the step of " descriptor and the resource information at resource information station being mated to obtain to the base attribute of the network equipment ", descriptor need comprise the keyword value of resource, many keyword values only with mate it first for mating completely.
Step S403, obtains the descriptor of network apparatus in networks by netbios protocol, and descriptor and the resource information at resource information station is mated to obtain the base attribute of the network equipment.In the step of " descriptor and the resource information at resource information station being mated to obtain to the base attribute of the network equipment ", descriptor need comprise the keyword value of resource, many keyword values only with mate it first for mating completely.
Step S404, filters duplicate removal processing to the network equipment.
Preferably step S404 also comprises: judge whether network appliance IP address exists; If existed, the base attribute of the network equipment of two identical ip addresses is mated, if two network equipments are identical, remove and repeat; If there is no identical IP address, by the MAC Address of the network equipment is mated with the MAC Address of the network equipment of finding, if the same remove and repeat.
In sum, the present invention is by setting up resource information station, list the base attribute of each resource, for the unique keyword value of every resource distribution at resource information station, then snmp protocol and netbios protocol obtain the descriptor of network apparatus in networks, and described descriptor is mated with the resource information at resource information station, finally the network equipment of finding is filtered to duplicate removal processing.The present invention adopts snmp protocol to carry out network equipment discovery and filtration in conjunction with netbios protocol, can solve the network equipment and can not maximize discovery and the unintelligible problem of information-based classification, adopts multi-protocols to make knownization of part the unknownization equipment.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. automatically find and a filter method based on multi-protocols business network, it is characterized in that, described method comprises:
Setting up resource information station, list the base attribute of each resource, is the unique keyword value of every resource distribution at described resource information station;
Obtain the descriptor of network apparatus in networks by snmp protocol, and described descriptor and the resource information at resource information station are mated to obtain the base attribute of the network equipment;
Obtain the descriptor of network apparatus in networks by netbios protocol, and described descriptor and the resource information at resource information station are mated to obtain the base attribute of the network equipment;
The network equipment is filtered to duplicate removal processing.
2. method according to claim 1, is characterized in that, the step of " listing the base attribute of each resource " comprising: classification, manufacturer, purposes and the series of listing each resource.
3. method according to claim 2, it is characterized in that, in the step of " being the unique keyword value of every resource distribution at described resource information station ", described keyword value is taken from unique key value of network equipment descriptor, for generic resource, multiple keyword values can be set, between multiple keyword values, cut apart by branch.
4. method according to claim 1, it is characterized in that, in the step of " described descriptor and the resource information at resource information station being mated to obtain to the base attribute of the network equipment ", described descriptor need comprise the keyword value of resource, many keyword values only with mate it first for mating completely.
5. method according to claim 1, is characterized in that, the step of " network equipment is filtered to duplicate removal processing " comprising:
Judge whether network appliance IP address exists;
If existed, the base attribute of the network equipment of two identical ip addresses is mated, if two network equipments are identical, remove and repeat;
If there is no identical IP address, by the MAC Address of the network equipment is mated with the MAC Address of the network equipment of finding, if the same remove and repeat.
6. automatically find and a filtration system based on multi-protocols business network, it is characterized in that, described system comprises:
Module is set up at resource information station, for setting up resource information station, lists the base attribute of each resource, is the unique keyword value of every resource distribution at described resource information station;
First network device discovery module, for obtain the descriptor of network apparatus in networks by snmp protocol, and mates described descriptor and the resource information at resource information station to obtain the base attribute of the network equipment;
Second network device discovery module, obtains the descriptor of network apparatus in networks by netbios protocol, and described descriptor and the resource information at resource information station is mated to obtain the base attribute of the network equipment;
Filter, for filtering duplicate removal processing to the network equipment.
7. system according to claim 6, is characterized in that, module is set up also for listing classification, manufacturer, purposes and the series of each resource in resource information station.
8. system according to claim 7, is characterized in that, described keyword value is taken from unique key value of network equipment descriptor, for generic resource, multiple keyword values can be set, and between multiple keyword values, cuts apart by branch.
9. system according to claim 6, is characterized in that, described descriptor need comprise the keyword value of resource, and many keyword values are only mated it first for mating completely.
10. system according to claim 6, is characterized in that, described filter comprises:
Judge module, judges whether network appliance IP address exists;
Base attribute matching module, mates the base attribute of the network equipment identical two IP addresses when there is the network equipment of two identical ip addresses, if two network equipments are identical, remove and repeats;
MAC Address matching module, in the time there is no identical IP address, by the MAC Address of the network equipment is mated with the MAC Address of the network equipment of finding, if the same removes and repeats.
CN201410203594.6A 2014-05-14 2014-05-14 One kind is found automatically based on multi-protocols business network and filter method, system Active CN103986600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410203594.6A CN103986600B (en) 2014-05-14 2014-05-14 One kind is found automatically based on multi-protocols business network and filter method, system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410203594.6A CN103986600B (en) 2014-05-14 2014-05-14 One kind is found automatically based on multi-protocols business network and filter method, system

Publications (2)

Publication Number Publication Date
CN103986600A true CN103986600A (en) 2014-08-13
CN103986600B CN103986600B (en) 2018-12-04

Family

ID=51278427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410203594.6A Active CN103986600B (en) 2014-05-14 2014-05-14 One kind is found automatically based on multi-protocols business network and filter method, system

Country Status (1)

Country Link
CN (1) CN103986600B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618375A (en) * 2015-01-30 2015-05-13 普联技术有限公司 Method and device for discovering network devices
CN105138546A (en) * 2015-07-10 2015-12-09 国家电网公司 Dom4J based IMS information equipment ledger duplicate elimination method
CN108737145A (en) * 2017-04-24 2018-11-02 中兴通讯股份有限公司 A kind of matched method and device of system resource application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6131117A (en) * 1997-12-29 2000-10-10 Cisco Technology, Inc. Technique for correlating logical names with IP addresses on internetworking platforms
CN102088377A (en) * 2011-01-04 2011-06-08 深圳市易聆科信息技术有限公司 Man-machine correspondence method and device for assets management
CN102118271A (en) * 2011-03-29 2011-07-06 上海北塔软件股份有限公司 Method for discovering illegally-accessed equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6131117A (en) * 1997-12-29 2000-10-10 Cisco Technology, Inc. Technique for correlating logical names with IP addresses on internetworking platforms
CN102088377A (en) * 2011-01-04 2011-06-08 深圳市易聆科信息技术有限公司 Man-machine correspondence method and device for assets management
CN102118271A (en) * 2011-03-29 2011-07-06 上海北塔软件股份有限公司 Method for discovering illegally-accessed equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618375A (en) * 2015-01-30 2015-05-13 普联技术有限公司 Method and device for discovering network devices
CN105138546A (en) * 2015-07-10 2015-12-09 国家电网公司 Dom4J based IMS information equipment ledger duplicate elimination method
CN105138546B (en) * 2015-07-10 2018-11-06 国家电网公司 IMS information equipment accounts based on Dom4J disappear weighing method
CN108737145A (en) * 2017-04-24 2018-11-02 中兴通讯股份有限公司 A kind of matched method and device of system resource application

Also Published As

Publication number Publication date
CN103986600B (en) 2018-12-04

Similar Documents

Publication Publication Date Title
CN101171809B (en) Method and system for transmitting a multicast stream in data exchange network
CN109257225B (en) Method, device, storage medium and processor for generating network topology
CN105187435A (en) Firewall rule filtration optimization method
JP2007129707A (en) Automated network blocking method and system
CN108206792B (en) Topological structure discovery method and device of switch
WO2015139533A1 (en) Method for network manager to back-calculate hybrid networking services
CN105634829A (en) Network device management method
WO2018023338A1 (en) Network-function management method and network-function management device
CN108134856B (en) Network tree-based virtualized MAC address anti-collision method and device
CN111885106A (en) Internet of things safety management and control method and system based on terminal equipment characteristic information
CN101904150A (en) Ethernet connectivity fault management with user verification option
WO2019204293A1 (en) Network data control method, system and security protection device
CN103986600A (en) Enterprise-level network automatic finding and filtering method and system based on multiple protocols
CN106067906B (en) A kind of method and monitoring device of reconnect
CN107888711B (en) Cross-network-segment equipment searching and communication method
CN104219100A (en) Information acquiring method and device
CN105530326B (en) Method and device for detecting three-layer interface IP address conflict
CN103259671A (en) Method, device and electronic equipment for logging in chat room automatically and chat room server
CN105049546A (en) Client terminal IP address allocation method through DHCP server and device thereof
CN101938411A (en) Method and equipment for processing ND snooping item
CN114257537B (en) Multi-dimensional priority-based network topology discovery method
CN110753135A (en) IP address configuration method, configuration equipment and storage medium
CN105897490A (en) Automatic network topology discovery method
KR20130007246A (en) System and method for managing signaling traffic
CN102763376A (en) Method and system for common group action filtering in telecom network environments

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant