CN111953532A - Equipment model identification method, device and equipment - Google Patents

Equipment model identification method, device and equipment Download PDF

Info

Publication number
CN111953532A
CN111953532A CN202010750302.6A CN202010750302A CN111953532A CN 111953532 A CN111953532 A CN 111953532A CN 202010750302 A CN202010750302 A CN 202010750302A CN 111953532 A CN111953532 A CN 111953532A
Authority
CN
China
Prior art keywords
target
equipment
characteristic information
associated data
data set
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
CN202010750302.6A
Other languages
Chinese (zh)
Other versions
CN111953532B (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010750302.6A priority Critical patent/CN111953532B/en
Publication of CN111953532A publication Critical patent/CN111953532A/en
Application granted granted Critical
Publication of CN111953532B publication Critical patent/CN111953532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Abstract

The application provides a method, a device and equipment for identifying equipment models, which can be used in the financial field or other fields, wherein the method comprises the following steps: acquiring a target IP address of target equipment; acquiring a related data set; the associated data set comprises associated data between the model of the equipment and characteristic information of the equipment, and the characteristic information is used for representing the attribute of the equipment; based on a simple network management protocol, determining target characteristic information of the target equipment according to a target IP address; and determining the equipment model corresponding to the target characteristic information according to the target characteristic information and the associated data set. In the embodiment of the application, the manufacturer models of different devices can be identified conveniently and efficiently according to the attribute of the characterization device and the associated data between the device model and the feature information of the device, and for the new device, only the associated data between the device model and the feature information of the device needs to be stored in advance, and no additional different devices need to develop new drivers.

Description

Equipment model identification method, device and equipment
Technical Field
The present application relates to the field of artificial intelligence technologies, and in particular, to a method, an apparatus, and a device for identifying a device model. It should be noted that the method, the apparatus, and the device for identifying a device model disclosed in the present application may be used in the financial field, and may also be used in any field other than the financial field.
Background
With the rapid development of internet services, the network scale is becoming larger and the models of heterogeneous manufacturers are becoming more and more complex. Aiming at the problem that automatic network management is a complicated project when heterogeneous network equipment models in a large-scale mechanism are more at present, the project firstly identifies manufacturer models of different equipment so as to develop different drivers for different manufacturer equipment.
In the prior art, a configuration management system is usually maintained by a special network operation and maintenance worker, the network operation and maintenance worker manually inputs manufacturer models when network equipment is on line, certain manpower and time are consumed for manually inputting manufacturer models of different equipment, and the possibility of input errors exists in manual input. Therefore, the technical scheme in the prior art cannot efficiently identify the manufacturer models of different devices.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides an equipment model identification method, an equipment model identification device and equipment, and aims to solve the problem that in the prior art, manufacturer models of different equipment cannot be identified efficiently.
The embodiment of the application provides an equipment model identification method, which comprises the following steps: acquiring a target IP address of target equipment; acquiring a related data set; the associated data set comprises associated data between the model of the equipment and characteristic information of the equipment, and the characteristic information is used for representing the attribute of the equipment; based on a simple network management protocol, determining target characteristic information of the target equipment according to the target IP address; and determining the equipment model corresponding to the target characteristic information according to the target characteristic information and the associated data set.
The embodiment of the present application further provides an apparatus for identifying a device model, including: the first acquisition module is used for acquiring a target IP address of target equipment; the second acquisition module is used for acquiring the associated data set; the associated data set comprises associated data between the model of the equipment and characteristic information of the equipment, and the characteristic information is used for representing the attribute of the equipment; the first determining module is used for determining target characteristic information of the target equipment according to the target IP address based on a simple network management protocol; and the second determining module is used for determining the equipment model corresponding to the target characteristic information according to the target characteristic information and the associated data set.
The embodiment of the application also provides equipment for identifying the equipment model, which comprises a processor and a memory for storing executable instructions of the processor, wherein the processor executes the instructions and realizes the steps of the method for identifying the equipment model.
The embodiment of the application also provides a computer readable storage medium, which stores computer instructions, and when the instructions are executed, the steps of the device model identification method are realized.
The embodiment of the application provides an equipment model identification method, which can acquire attribute representing equipment and associated data between equipment model and characteristic information of equipment by acquiring an associated data set and a target IP address of the target equipment. Further, the target characteristic information of the target device can be determined according to the target IP address based on the simple network management protocol, so that the device model corresponding to the target characteristic information can be determined according to the target characteristic information and the associated data set. The manufacturer models of different devices can be conveniently and efficiently identified even in the heterogeneous network, and only the associated data between the device models and the feature information of the devices needs to be stored in advance for new devices, and no additional different devices are needed to develop new drivers.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application, are incorporated in and constitute a part of this application, and are not intended to limit the application. In the drawings:
fig. 1 is a schematic step diagram of an identification method of a device model according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an associated data set provided in accordance with an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an apparatus for identifying a device model according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an identification device for identifying a device model provided according to an embodiment of the present application.
Detailed Description
The principles and spirit of the present application will be described with reference to a number of exemplary embodiments. It should be understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the present application, and are not intended to limit the scope of the present application in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present application may be embodied as a system, apparatus, device, method or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
Although the flow described below includes operations that occur in a particular order, it should be appreciated that the processes may include more or less operations that are performed sequentially or in parallel (e.g., using parallel processors or a multi-threaded environment).
Referring to fig. 1, the present embodiment may provide a method for identifying a device model. The identification method of the device model can be used for efficiently identifying the models of different devices. The method for identifying the model of the equipment comprises the following steps.
S101: and acquiring the target IP address of the target equipment.
In this embodiment, the target IP address of the target device may be acquired. The target device may be a device that has been brought online, and when the device is brought online, an IP address may be allocated to the device in the device management IP network segment, and the allocated IP address may be stored in a preset database in advance.
In this embodiment, the preset database may be a database for storing various types of data in the system, and the preset database may store, in addition to the IP address of each online device, a pre-planned device management IP network segment, associated data between a device model and feature information of the device, and the like. The device management IP network segment refers to an IP network segment available to a device, for example: 192.168.1.0/24, with 254 IP addresses, may include: 192.168.1.1, 192.168.1.2 … 192.168.1.253, 192.168.1.254.
In this embodiment, it can be understood that the associated data set may also be obtained before obtaining the target IP address of the target device, or the associated data set may also be obtained while obtaining the target IP address of the target device, which may be determined specifically according to an actual situation, and this application does not limit this.
S102: acquiring a related data set; the associated data set comprises associated data between the model of the equipment and characteristic information of the equipment, and the characteristic information is used for representing the attribute of the equipment.
In this embodiment, a related data set may be obtained, where the feature information may be used to characterize an attribute of the device, and in some embodiments, the feature information may include at least one of: SysObjectId and device version, etc. It is of course understood that the above feature information may also include other data, such as: the online time of the device, the public MIB value (Management Information Base), the private MIB value, and the like may be determined according to actual conditions, and this application does not limit this.
In the present embodiment, the MIB, which defines data items that the managed device must hold, operations allowed to be performed on each data item, and their meanings, is one of contents of the TCP/IP network management protocol standard framework. The public MIB refers to an MIB defined by some standard organizations, such as IEEE (Institute of Electrical and Electronics Engineers ), and the like, and has a very important definition for network management software to uniformly manage network devices, and defines a uniform external interface of the network devices.
Since the public MIB cannot cover all service characteristics, an enterprise can define its own private MIB, which must be hung under iso.org.did.internet.private.enterprises (1.3.6.1.4.1), according to its own needs. The above SysObjectId is a variable in the system set of the MIB, is a provider authority identification of the network management subsystem contained in the entity, is assigned in the enterprise sub-tree (1.3.6.1.4.1), and provides a simple and unambiguous method for determining what box to manage. The value of SysObjectId may be expressed as (1.3.6.1.4.1.9999.1.2), and may be determined according to the actual situation, which is not limited in the present application.
In this embodiment, the association data between the device model and the feature information of the device included in the association data set may be pre-established, the association relationship between the device model and the feature information of the device may be provided by a manufacturer corresponding to the device, or a common command may be run in advance to automatically obtain and fill the association data, so that the value of the feature information of the device may be associated with the device model, and if a new device is added, the association data set may be additionally entered.
In this embodiment, the related data sets may be displayed in a table format, and data of the same device model is displayed in the same row. It will of course be appreciated that the above-described associated data sets may also be presented in other forms, for example: the image and the like can be determined according to actual conditions, and the application is not limited to this.
S103: and based on the simple network management protocol, determining target characteristic information of the target equipment according to the target IP address.
In this embodiment, the target feature information of the target device may be determined according to the target IP address based on the simple network management protocol. The Simple Network Management Protocol (SNMP) is a network management standard based on the TCP/IP protocol suite, a standard protocol specifically designed for managing network nodes (servers, workstations, etc.) in IP networks, and is an application layer protocol.
In this embodiment, the target feature information corresponding to the target IP address of the target device may be automatically acquired using a public MIB value based on SNMP. Taking Linux operating system as an example, the command snmp-v [ version ] -c [ password ] public device OID can be directly used to obtain the command running result, and the command can be revised according to the actual situation, which is not limited in the present application. For device, the name or IP address of the device needs to be replaced, and for password, the community String configured on the device side needs to be used for replacement.
In this embodiment, v in the snmp get command refers to version and c refers to key. The above-mentioned OID (Object Identifier) is a flag added to find an Object in the whole body. In one embodiment, the SysObjectId information can be obtained by using the public MIB value (.1.3.6.1.2.1.1.2.0), and the command operation result can be obtained by directly using the command snmpget-v2c-c public 192.168.1.1.1.3.6.1.2.1.1.2.0.
S104: and determining the equipment model corresponding to the target characteristic information according to the target characteristic information and the associated data set.
Since the associated data set includes associated data between the device model and the feature information of the device, in this embodiment, the device model corresponding to the target feature information may be determined according to the target feature information and the associated data set. The device model corresponding to the target characteristic information can be determined by adopting a key value matching mode, and certain data in the target characteristic information is used as a key value for matching.
In this embodiment, the SysObjectId of the target device determined based on the simple network management protocol may be matched with the data in the associated data set, so as to determine the device model corresponding to the SysObjectId of the target device. In some embodiments, the device model corresponding to the SysObjectId of the target device may also be determined by matching the private MIB value corresponding to the target feature information determined based on the simple network management protocol with the data in the associated data set.
In one embodiment, since there may be a case where a plurality of types of devices of the same manufacturer share one piece of feature information, there may be a case where one or more types of devices correspond to the target feature information, and there may be a case where at least a part of types of devices in the association data set and feature information of the devices are in a one-to-many association relationship.
In this embodiment, it may be further determined whether the device model corresponding to the target feature information is unique, and if the device model corresponding to the target feature information is unique, it indicates that the device model can be uniquely determined according to the target feature information.
In one embodiment, if the device model corresponding to the target feature information is not unique, it indicates that the device model of the target device cannot be uniquely determined by using the target feature information, in this case, the matching result of the target feature information and the target feature information may be sent to a relevant network operation and maintenance person for manual processing, or further, other information of the target device may be acquired secondarily and secondary matching may be performed. The specific method can be determined according to actual conditions, and the method is not limited in the application.
In one embodiment, in a case that it is determined that the device model corresponding to the target feature information is not unique, a plurality of device models corresponding to the target feature information may be used as candidate device models, a private MIB value corresponding to the target feature information is determined based on a simple network management protocol, and a device model of the target device is determined from the candidate device models according to the private MIB value corresponding to the target feature information. Further, when the obtained device model is determined to be unique according to the private MIB value, the determined device model may be used as the device model of the target device.
In this embodiment, since there may be a case where a plurality of device models of some manufacturers share one piece of feature information, and thus the device model cannot be uniquely determined using the feature information, for a device model that cannot be uniquely determined using the feature information, a corresponding relationship between a private MIB value and the device model, the feature information of the device, and the device model may be stored in an association data set in advance.
In one embodiment, in a case that it is determined that the device model corresponding to the target feature information is not unique, a plurality of device models corresponding to the target feature information may be used as candidate device models, and software version description (e.g., sh version) information corresponding to the target feature information is determined based on a telnet protocol. The device model of the target device may be determined from the plurality of candidate device models according to software version description information corresponding to the target feature information. Further, when the determined device model is unique according to the software version description, the determined device model may be used as the device model of the target device.
In this embodiment, the remote login protocol may be a telnet (telecommunications Network protocol) protocol or an ssh (secure shell) protocol, and the remote login protocol provides a capability of completing remote host work on a local computer for a user, and is mainly used for using information resources that the local computer owned by the remote computer does not have, and is a commonly used method for remotely controlling a Web server.
In this embodiment, since there may be a case where a plurality of device models of some manufacturers share one piece of feature information, and thus the device model cannot be uniquely determined using the feature information, for a device model that cannot be uniquely determined using the feature information, the correspondence between the software version description and the device model, the feature information of the device, and the device model may be stored in the association data set in advance.
In one embodiment, since different devices may have different information uniquely identifying the device model, the second matching may be performed in conjunction with a combination of simple network management protocol and telnet protocol. Before acquiring the association data set, the association between the device model and the SysObjectId may be acquired from the device vendor, and the first association data set may be established according to the association between the device model and the SysObjectId. Further, it may be determined whether each SysObjectId in the first associated data set uniquely corresponds to one device model, and for a target SysObjectId that cannot uniquely correspond to one device model, a private MIB value and/or software version description information corresponding to each of a plurality of device models corresponding to the target SysObjectId may be acquired.
Further, since some devices may uniquely determine the device model by using the private MIB value and some devices may uniquely determine the device model by using the software version description information, in some embodiments, the private MIB value corresponding to each device model may be added to the associated data corresponding to each device model in the first associated data set, or the software version description information corresponding to each device model may be added to the associated data corresponding to each device model in the first associated data set. Or adding the private MIB value and the software version description information corresponding to each device model into the associated data corresponding to each device model in the first associated data set.
In this embodiment, a plurality of sets of data may be stored in the associated data set, and each set of data may include: manufacturer of the device, model of the device, SysObjectId of the device, protocol adopted by the secondary acquisition, MIB or adopted command adopted by the secondary acquisition, values used by the respective devices for secondary matching, and the like. Therefore, the equipment which cannot be uniquely identified by the SysObjectId can be effectively identified, and the universality of the identification method of the equipment model is improved.
In some embodiments, for a device whose device model can be uniquely determined using the SysObjectId of the device, its corresponding association data may include only: the manufacturer of the device, the model of the device, and the SysObjectId of the device, it is understood that the above-mentioned other data may be included, and the details may be determined according to the actual situation, which is not limited in this application.
In one embodiment, the association data set may be presented in a table form, and specifically, as shown in fig. 2, line 1 may uniquely identify the device model by using SysObjectId, lines 2-4 may be collected by using SNMP protocol, the result value of 1.3.6.1.4.1.222 and uniquely identify the device model by using a private MIB value, and lines 5-6 may log in the device by using telnet protocol and execute a command sh version to obtain the result value and uniquely identify the device model by using software version description information (sh version).
In one embodiment, for example: the result value obtained by executing the sh version command based on the telnet protocol is a string: device: USG-B _ 1; a Serial: 12 rtrwq; the Hostname: ***8. This result value can be matched to the data in fig. 2 described above, since it contains "Device: USG-B _ 1', therefore, the corresponding model of the device is: b _ 1.
In one embodiment, if the matching result is null when the first matching or the second matching is performed, the processing object corresponding to the target device may be determined, error information may be generated according to the target IP address of the target device, and the error information may be sent to the processing object. The processing object can be a person in charge of network operation and maintenance, and the person in charge of network operation and maintenance can perform corresponding manual processing according to the error information after receiving the error information.
In one embodiment, when the target IP address of the target device is obtained, the device management IP network segment may be obtained from the preset database, and the device management IP network segment is scanned by using the Ping command, so as to obtain the IP address capable of Ping. Furthermore, an IP address capable of Ping can be used as an IP address of the online device, and a target IP address of a target device in the online device is determined according to the IP address of the online device.
In this embodiment, in order to determine that the target device is online and the network connectivity is normal, Ping scanning may be performed in batches for the device management IP network segments before determining the target IP address of the target device. In the case of performing Ping scanning in batches, the Ping scanning may be performed in a concurrent manner in consideration of efficiency. Ping is a computer network tool that tests whether packets can reach a particular host via IP protocol. Ping is a command under Windows, Unix and Linux systems, belongs to a communication protocol, and is part of a TCP/IP protocol. Whether the network is connected or not can be checked by using the 'Ping' command, network faults can be well analyzed and judged, and the Ping scanning process is actually the working process of the ICMP (Internet Control Message Protocol).
From the above description, it can be seen that the embodiments of the present application achieve the following technical effects: the association data between the attribute and the device model characterizing the device and the feature information of the device may be obtained by obtaining the association data set and the target IP address of the target device. Further, the target characteristic information of the target device can be determined according to the target IP address based on the simple network management protocol, so that the device model corresponding to the target characteristic information can be determined according to the target characteristic information and the associated data set. The manufacturer models of different devices can be conveniently and efficiently identified even in the heterogeneous network, and only the associated data between the device models and the feature information of the devices needs to be stored in advance for new devices, and no additional different devices are needed to develop new drivers.
Based on the same inventive concept, the embodiment of the present application further provides an apparatus for identifying a device model, as in the following embodiments. Because the principle of solving the problem of the device model identification device is similar to the device model identification method, the implementation of the device model identification device can refer to the implementation of the device model identification method, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated. Fig. 3 is a block diagram of a structure of an apparatus for identifying a device model according to an embodiment of the present application, and as shown in fig. 3, the apparatus may include: a first obtaining module 301, a second obtaining module 302, a first determining module 303, and a second determining module 304, and the structure will be described below.
A first obtaining module 301, configured to obtain a target IP address of a target device;
a second obtaining module 302, which may be configured to obtain an associated data set; the associated data set comprises associated data between the model of the equipment and characteristic information of the equipment, and the characteristic information is used for representing the attribute of the equipment;
a first determining module 303, configured to determine target feature information of the target device according to the target IP address based on a simple network management protocol;
the second determining module 304 may be configured to determine, according to the target feature information and the associated data set, a device model corresponding to the target feature information.
The embodiment of the present application further provides an electronic device, which may specifically refer to a schematic structural diagram of the electronic device based on the identification method of the device model provided in the embodiment of the present application shown in fig. 4, and the electronic device may specifically include an input device 41, a processor 42, and a memory 43. The input device 41 may be specifically configured to input the associated data set and a target IP address of the target device. Processor 42 may be specifically configured to obtain a target IP address of a target device; acquiring a related data set; the associated data set comprises associated data between the model of the equipment and characteristic information of the equipment, and the characteristic information is used for representing the attribute of the equipment; based on a simple network management protocol, determining target characteristic information of the target equipment according to the target IP address; and determining the equipment model corresponding to the target characteristic information according to the target characteristic information and the associated data set. The memory 43 may be specifically configured to store parameters such as a device model of the target device.
In this embodiment, the input device may be one of the main apparatuses for information exchange between a user and a computer system. The input devices may include a keyboard, mouse, camera, scanner, light pen, handwriting input panel, voice input device, etc.; the input device is used to input raw data and a program for processing the data into the computer. The input device can also acquire and receive data transmitted by other modules, units and devices. The processor may be implemented in any suitable way. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth. The memory may in particular be a memory device used in modern information technology for storing information. The memory may include multiple levels, and in a digital system, memory may be used as long as binary data can be stored; in an integrated circuit, a circuit without a physical form and with a storage function is also called a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card and the like.
In this embodiment, the functions and effects specifically realized by the electronic device can be explained by comparing with other embodiments, and are not described herein again.
The embodiment of the present application further provides a computer storage medium based on the device model identification method, where the computer storage medium stores computer program instructions, and when the computer program instructions are executed, the computer storage medium may implement: acquiring a target IP address of target equipment; acquiring a related data set; the associated data set comprises associated data between the model of the equipment and characteristic information of the equipment, and the characteristic information is used for representing the attribute of the equipment; based on a simple network management protocol, determining target characteristic information of the target equipment according to the target IP address; and determining the equipment model corresponding to the target characteristic information according to the target characteristic information and the associated data set.
In this embodiment, the storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects specifically realized by the program instructions stored in the computer storage medium can be explained by comparing with other embodiments, and are not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different from that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Although the present application provides method steps as described in the above embodiments or flowcharts, additional or fewer steps may be included in the method, based on conventional or non-inventive efforts. In the case of steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application. When the method is executed in an actual device or end product, the method can be executed sequentially or in parallel according to the embodiment or the method shown in the figure (for example, in the environment of a parallel processor or a multi-thread processing).
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many embodiments and many applications other than the examples provided will be apparent to those of skill in the art upon reading the above description. The scope of the application should, therefore, be determined not with reference to the above description, but instead should be determined with reference to the pending claims along with the full scope of equivalents to which such claims are entitled.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and it will be apparent to those skilled in the art that various modifications and variations can be made in the embodiment of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for identifying a device model is characterized by comprising the following steps:
acquiring a target IP address of target equipment;
acquiring a related data set; the associated data set comprises associated data between the model of the equipment and characteristic information of the equipment, and the characteristic information is used for representing the attribute of the equipment;
based on a simple network management protocol, determining target characteristic information of the target equipment according to the target IP address;
and determining the equipment model corresponding to the target characteristic information according to the target characteristic information and the associated data set.
2. The method according to claim 1, wherein at least a part of the device models in the associated data set and the feature information of the devices are in a one-to-many association relationship, and correspondingly, determining the device model corresponding to the target feature information according to the target feature information and the associated data set comprises:
according to the target characteristic information and the associated data set, under the condition that the equipment model corresponding to the target characteristic information is unique, taking the equipment model corresponding to the target characteristic information as the equipment model of the target equipment;
according to the target characteristic information and the associated data set, under the condition that the equipment model corresponding to the target characteristic information is not unique, determining a private MIB value corresponding to the target characteristic information based on a simple network management protocol;
and determining the equipment model of the target equipment according to the private MIB value corresponding to the target characteristic information.
3. The method according to claim 1, wherein at least a part of the device models in the associated data set and the feature information of the devices are in a one-to-many association relationship, and correspondingly, determining the device model corresponding to the target feature information according to the target feature information and the associated data set comprises:
according to the target characteristic information and the associated data set, under the condition that the equipment model corresponding to the target characteristic information is unique, taking the equipment model corresponding to the target characteristic information as the equipment model of the target equipment;
according to the target characteristic information and the associated data set, under the condition that the equipment model corresponding to the target characteristic information is not unique, software version description information corresponding to the target characteristic information is determined based on a remote login protocol;
and determining the equipment model of the target equipment according to the software version description information corresponding to the target characteristic information.
4. The method of claim 1, wherein obtaining the target IP address of the target device comprises:
acquiring a device management IP network segment from a preset database;
scanning the equipment management IP network segment by using a Ping command to obtain an IP address capable of being communicated by Ping;
taking the IP address capable of Ping communication as the IP address of the on-line equipment;
and determining the target IP address of the target equipment in the online equipment according to the IP address of the online equipment.
5. The method of claim 1, wherein the feature information comprises: SysObjectId and device version.
6. The method of claim 5, further comprising, prior to obtaining the associated data set:
acquiring an association relation between the device model and the SysObjectId from a device manufacturer;
establishing a first association data set according to the association relationship between the equipment model and the SysObjectId;
determining whether each SysObjectId in the first associated data set uniquely corresponds to a device model number;
for a target SysObjectId which cannot uniquely correspond to one equipment model, acquiring private MIB values and/or software version description information corresponding to each equipment model in a plurality of equipment models corresponding to the target SysObjectId;
and adding the private MIB values and/or the software version description information corresponding to the equipment models into the associated data corresponding to the equipment models in the first associated data set.
7. The method according to claim 1, after determining the device model corresponding to the target feature information according to the target feature information and the associated data set, further comprising:
determining a processing object corresponding to the target equipment under the condition that the equipment model corresponding to the target characteristic information is determined to be empty;
generating error reporting information according to the target IP address of the target equipment;
and sending the error reporting information to the processing object.
8. An apparatus for recognizing a device model, comprising:
the first acquisition module is used for acquiring a target IP address of target equipment;
the second acquisition module is used for acquiring the associated data set; the associated data set comprises associated data between the model of the equipment and characteristic information of the equipment, and the characteristic information is used for representing the attribute of the equipment;
the first determining module is used for determining target characteristic information of the target equipment according to the target IP address based on a simple network management protocol;
and the second determining module is used for determining the equipment model corresponding to the target characteristic information according to the target characteristic information and the associated data set.
9. An apparatus model identification device comprising a processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon computer instructions which, when executed, implement the steps of the method of any one of claims 1 to 7.
CN202010750302.6A 2020-07-30 2020-07-30 Equipment model identification method, device and equipment Active CN111953532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010750302.6A CN111953532B (en) 2020-07-30 2020-07-30 Equipment model identification method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010750302.6A CN111953532B (en) 2020-07-30 2020-07-30 Equipment model identification method, device and equipment

Publications (2)

Publication Number Publication Date
CN111953532A true CN111953532A (en) 2020-11-17
CN111953532B CN111953532B (en) 2022-10-11

Family

ID=73338276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010750302.6A Active CN111953532B (en) 2020-07-30 2020-07-30 Equipment model identification method, device and equipment

Country Status (1)

Country Link
CN (1) CN111953532B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114724069A (en) * 2022-04-09 2022-07-08 北京天防安全科技有限公司 Video equipment model confirming method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360271A (en) * 2017-08-22 2017-11-17 顺丰科技有限公司 Network equipment information obtains and IP address automatic division method, system and equipment
CN109522421A (en) * 2018-12-18 2019-03-26 清创网御(合肥)科技有限公司 A kind of product attribute recognition methods of the network equipment
CN109656625A (en) * 2018-11-15 2019-04-19 平安科技(深圳)有限公司 Recognition methods, device, computer equipment and the storage medium of mobile device model
CN110324169A (en) * 2018-03-30 2019-10-11 北京京东尚科信息技术有限公司 A kind of method and apparatus of interface management
CN111178760A (en) * 2019-12-30 2020-05-19 成都烽创科技有限公司 Risk monitoring method and device, terminal equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360271A (en) * 2017-08-22 2017-11-17 顺丰科技有限公司 Network equipment information obtains and IP address automatic division method, system and equipment
CN110324169A (en) * 2018-03-30 2019-10-11 北京京东尚科信息技术有限公司 A kind of method and apparatus of interface management
CN109656625A (en) * 2018-11-15 2019-04-19 平安科技(深圳)有限公司 Recognition methods, device, computer equipment and the storage medium of mobile device model
CN109522421A (en) * 2018-12-18 2019-03-26 清创网御(合肥)科技有限公司 A kind of product attribute recognition methods of the network equipment
CN111178760A (en) * 2019-12-30 2020-05-19 成都烽创科技有限公司 Risk monitoring method and device, terminal equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
柯栋梁等: "基于SNMP协议的流量监测系统的设计与实现", 《微计算机信息》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114724069A (en) * 2022-04-09 2022-07-08 北京天防安全科技有限公司 Video equipment model confirming method, device, equipment and medium

Also Published As

Publication number Publication date
CN111953532B (en) 2022-10-11

Similar Documents

Publication Publication Date Title
US11909598B2 (en) Component detection and management using relationships
US11469950B2 (en) Non-intrusive device discovery and configuration cloning
CN108600029B (en) Configuration file updating method and device, terminal equipment and storage medium
CN100417081C (en) Method, system for checking and repairing a network configuration
US11789802B2 (en) System and method of mapping and diagnostics of data center resources
US7647397B2 (en) Method and apparatus for modifying remote devices monitored by a monitoring system
US20080098454A1 (en) Network Management Appliance
US9306806B1 (en) Intelligent resource repository based on network ontology and virtualization
US8930964B2 (en) Automatic event correlation in computing environments
EP3531624B1 (en) Mechanisms for cloud-based configuration and management of network devices using network mediators implemented separately from the network devices
US20060085683A1 (en) System and method for managing computer networks
US20190268229A1 (en) Mechanisms for cloud-based configuration and management of network devices using network mediators implemented in the network devices
EP1704672A1 (en) Automatic update system and method for using a meta mib
US20140258525A1 (en) Computer Network Management Tools
US8190416B2 (en) Computer network management
WO2018010176A1 (en) Method and device for acquiring fault information
CN111953532B (en) Equipment model identification method, device and equipment
JP5157775B2 (en) Network management apparatus, network management method, network management program, and recording medium
US8656011B2 (en) Method and management apparatus for detecting communication apparatus coupled to communication network
CN111090853B (en) Account management method, system, electronic equipment and storage medium
US7126964B1 (en) Method and apparatus for network analysis, such as analyzing and correlating identifiers of frame relay circuits in a network
CN109947451B (en) Cluster application file updating method, system, medium and equipment
Sheybani et al. SNMP-Based RMA Analysis of Wired and Wireless Networks
US20220405106A1 (en) Policy driven zero touch provisioning of network devices
CN113709210A (en) Device discovery method, device, system, electronic device and storage medium

Legal Events

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