New! View global litigation for patent families

CN102185737A - Automatic equipment information acquisition method and system - Google Patents

Automatic equipment information acquisition method and system Download PDF

Info

Publication number
CN102185737A
CN102185737A CN 201110119637 CN201110119637A CN102185737A CN 102185737 A CN102185737 A CN 102185737A CN 201110119637 CN201110119637 CN 201110119637 CN 201110119637 A CN201110119637 A CN 201110119637A CN 102185737 A CN102185737 A CN 102185737A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
equipment
information
acquisition
automatic
server
Prior art date
Application number
CN 201110119637
Other languages
Chinese (zh)
Inventor
王禹
Original Assignee
中兴通讯股份有限公司
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

Links

Abstract

The invention discloses an automatic equipment information acquisition method and an automatic equipment information acquisition system. The method comprises that: a server transmits an equipment information acquisition request to one or more pieces of equipment, and each piece of equipment acquires own equipment information and/or the equipment information of the equipment connected with the local equipment; and the equipment requested for the equipment information by the server transmits corresponding equipment information to the server according to the request of the server. By the technical scheme provided by the invention, the technical problems of automatic equipment information acquisition are solved.

Description

一种自动获取设备信息的方法及系统 An automatic device information acquiring method and system

技术领域 FIELD

[0001] 本发明涉及电子领域,尤其涉及一种自动获取设备信息的方法及系统。 [0001] The present invention relates to the field of electronics, in particular, it relates to a method and system for automatically acquiring device information. 背景技术 Background technique

[0002] 随着电子技术的发展,越来越多的手工操作被自动化操作所取代,以数通领域的自动化测试为例,数通领域的自动化测试虽然在测试的环节使用上了自动化,但是仍然需要结合许多的手工操作环节来完成,比如自动化测试执行前期的准备工作,其中就包括设备逻辑拓扑到物理拓扑的映射,包括获取端口名称、端口状态、设备MAC (Media Access Control)地址、IP (Internet Protocol)地址及通过网络连接到被测设备的用户名和密码等相关设备信息的操作,目前,在数通领域的自动化测试前期,这些设备信息的获取和填写均是采用手工的方式,手工操作的方式存在一些缺陷:效率低、成本高,还很容易发生错误, 比如数通领域的自动化测试前期,如果在获取设备信息的过程中出现错误,则会出现逻辑拓扑和物理拓扑不一致,或无法通过网络连接设备的现象,而 [0002] With the development of electronic technology, more and more manual operations are replaced by automation, automated test data communication field, for example, the number of automated testing through the use of although in the field of test automation on the link, but still it requires a combination of a lot of manual link to complete, such as automated test execution preparatory work, including equipment logical topology to the physical topology mapping, including access to the port name, port status, device MAC (Media Access Control) addresses, IP handling the equipment information (Internet Protocol) address and connection to the device under test through a network user name and password, at present, automated testing early in the data communication field, obtain and fill in the device information are using the manual way, by hand manner some drawbacks: the low efficiency, high cost, very prone to error, such as automated test previous data communication field, if an error occurs in the process of acquiring the device information, the physical topology and logical topology inconsistency occurs, or not through the network connected devices phenomenon, and 响自动化测试的正常执行。 Sound normal execution of automated tests.

发明内容 SUMMARY

[0003] 本发明提供一种自动获取设备信息的方法及系统,解决自动获取设备信息的技术问题。 [0003] The present invention provides a method and system for automatically acquiring device information, acquiring device information automatically resolve the technical problem.

[0004] 为解决上述技术问题,本发明采用以下技术方案: [0004] To solve the above problems, the present invention employs the following technical solution:

[0005] 一种自动获取设备信息的方法,包括: [0005] An automatic information acquisition apparatus, comprising:

[0006] 服务器向一个或多个设备发送获取设备信息的请求,以及各个设备获取本设备和/或所连设备的设备信息; [0006] The server sends the device information acquisition request, and the respective device to obtain one or more devices according to the present apparatus and / or device information of the connected device;

[0007] 被服务器请求设备信息的设备根据服务器的请求发送相应的设备信息至服务器。 [0007] The device information is requested of the server transmits the corresponding information to the server device the server according to the request.

[0008] 服务器向一个或多个设备发送获取设备信息的请求的方式包括:服务器以广播方式向一个或多个设备发送Discover消息(发现消息)或request消息(请求消息)中的一种,并在所述Discover消息或request消息中的Option字段发送请求的信息类型。 [0008] The server sends a device acquisition request or a plurality of the device information in a manner comprising: a broadcast server to one or more devices transmit Discover message (discovery message) A message, or request (request message) in, and Option field type information transmission request in the Discover message or the request message.

[0009] 各个设备获取所连设备的设备信息的方式包括:各个设备通过LLDP协议(Link Layer Discovery Protocol,链路层发现协议)获取所连设备的设备信息。 [0009] each device acquires the device information of the connected apparatus in a manner comprising: each device (Discovery Protocol Link Layer Discovery Protocol, the link layer) on the LLDP protocol to obtain device information of the connected device.

[0010] 被服务器请求设备信息的设备根据服务器的请求发送相应的设备信息至服务器的方式包括:被服务器请求设备信息的设备根据服务器的请求将相应的设备信息封装在Ack消息(反馈消息)的Option字段中发送至服务器。 [0010] manner requests the server device information transmitted according to the request the server corresponding to the device information to the server comprises: a server requests device information according to the request the server to the corresponding device information is encapsulated in Ack message (feedback message) Option field to the server.

[0011] 如果被服务器请求设备信息的设备中没有服务器所请求的设备信息,则向服务器反馈的Ack消息的相应Option字段值为空,当服务器接收的Ack消息中有全部或部分Option字段为空,则服务器再次向相应的设备发送请求,直到请求次数到达预定值。 [0011] If the device information is requested of the server apparatus information is not required by the server, a corresponding Ack message Option field is fed back to the server is empty, when the Ack message server receives all or part of the Option field is empty , the server re-transmission request to the appropriate device, a request until the number reaches a predetermined value.

[0012] 还包括服务器判断相连的设备反馈的设备信息是否存在冲突,如果存在冲突,则首先确定发生冲突的设备中的任一设备反馈的设备信息正确,而后向发生冲突的其他设备重新发出请求。 [0012] further comprises a server determines whether the device information fed back connected to whether there is a conflict, if there is a conflict, the first determination device information apparatus of any conflict in a fed back properly, and then sent to another device conflict re-request .

3[0013] 所述设备包括交换机或路由器中的一种。 3 [0013] The apparatus comprises one of a switch or router.

[0014] 所述设备信息包括设备自身信息和拓扑状态信息。 The [0014] device information comprises device status information and topology information itself.

[0015] 所述拓扑状态信息包括端口名称、端口类型、端口状态、IP地址、MAC地址信息中的一种或多种;所述设备自身信息包括用户名、密码信息中的一种或多种。 [0015] The topology state information comprises one or more port name, port type, port state, IP address, MAC address information; information about the device itself includes a user name, a cryptographic information or more .

[0016] 一种自动获取设备信息的系统,包括服务器、与服务器相连的一个或多个设备,还包括置于所述服务器上的请求模块、置于所述设备上的信息获取模块和信息反馈模块,其中, [0016] An automatic device information acquiring system, comprising a server device connected to one or more servers, further comprising a request module disposed on the server, information is placed on the device and obtaining feedback module module,

[0017] 所述请求模块用于服务器向一个或多个所述设备发送获取设备信息的请求; [0017] The requesting module for requesting the server to send to one or more of the device to obtain device information;

[0018] 所述信息获取模块用于各个设备获取本设备和/或所连设备的设备信息; [0018] The information acquiring module for acquiring the respective devices of the present apparatus and / or device information of the connected device;

[0019] 所述信息反馈模块用于被服务器请求设备信息的设备根据服务器的请求发送相应的设备信息至服务器。 [0019] The information feedback module is configured to request the server device information is transmitted to the server device information corresponding to the server according to the request.

[0020] 所述请求模块具体用于服务器以广播方式向一个或多个设备发送Discover消息或request消息中的一种,并在所述Discover消息或request消息中的Option字段发送请求的信息类型。 [0020] The request for the server module is specifically Discover message sent to one or more devices or a broadcast request message including the manner and type information transmission request Option field in the Discover message or the request message.

[0021] 所述信息获取模块用于各个设备通过LLDP协议获取所连设备的设备信息。 The [0021] information acquisition module for acquiring device information of each device connected device through the LLDP protocol.

[0022] 本发明提供一种自动获取设备信息的方法及系统,各个设备获取本设备和/或所连设备的设备信息,并根据服务器的请求将相应的设备信息反馈给服务器,本发明通过该技术方案取代了现有技术中手工获取设备信息的方式,相比于手工获取设备信息的方式, 本发明的技术方案效率高、成本低,还可避免手工操作的失误,由于是自动化的操作,还可以提升用户体验度高。 [0022] The present invention provides a method and system for automatically acquiring device information, each device acquires the equipment and / or device information of the connected device, and the server according to the request of the corresponding server information back to the device, by which the present invention is technical Solution replaces the prior art manual mode information acquisition device, compared to the manual mode information acquisition device, the high efficiency aspect of the present invention, low cost, may be manually operated to avoid mistakes due to automated operation, You can also enhance the user experience is high.

附图说明 BRIEF DESCRIPTION

[0023] 图1为本发明实施例一种组网示意图; [0023] Figure 1 a schematic embodiment of a networking embodiment of the present invention;

[0024] 图2为本发明实施例一种自动获取设备信息的方法的流程图; [0024] FIG 2 is a flowchart of an automatic device information acquiring method according to embodiments of the present invention;

[0025] 图3为本发明实施例一种解决相连设备反馈的设备信息发生冲突的方法的流程图; [0025] FIG. 3 flowchart of a method of the information apparatus connected to the feedback device conflict solution embodiment of the invention;

[0026] 图4为本发明实施例一种自动获取设备信息的系统的模块图。 [0026] FIG 4 an embodiment of a block diagram of a system to automatically obtain the information apparatus of the present invention. 具体实施方式 detailed description

[0027] 下面通过具体实施方式结合附图对本发明作进一步详细说明。 [0027] The following figures present invention will be further described in detail by specific embodiments in combination.

[0028] 图1为本发明实施例一种组网示意图,包括服务器11、以太网12、路由器13a、路由器13b、路由器13c,路由器13a与路由器1¾相连,路由器1¾与路由器13c相连。 [0028] Figure 1 a schematic embodiment of a networking embodiment of the present invention, including the server 11, 12 Ethernet router 13a, router 13b,. 13C router, and the router 13a are connected 1¾ router, the router is connected to 1¾ router 13c. 本实施例不局限于这一种组网方式,本实施例的设备不局限于交换机或路由器中的一种,还包括其他的网元设备或数通产品,只要支持本实施例中的相关协议便可。 The present embodiment is not limited to this kind of networking, apparatus according to the present embodiment is not limited to one or switch routers, but also other network elements or data communication products, as long as the support of the present embodiment related protocols can.

[0029] 图2为本发明实施例一种自动获取设备信息的方法的流程图,请参考图2 : [0029] FIG 2 is a flowchart of an automatic device information acquiring method according to embodiments of the present invention, refer to Figure 2:

[0030] S21、在各个设备管理端口开启支持自动化获取设备信息的开关。 [0030] S21, the respective device management port turns on the switch support automatic acquiring device information.

[0031] S22、服务器以广播方式向一个或多个设备发送Discover消息,并在Discover消息中的Option字段发送请求的信息类型,即通过Option字段告诉被请求设备希望获取哪些设备信息,或者还可以通过发送request消息,并在request消息中的Option字段发送请求的信息类型的方式发送获取设备信息的请求。 [0031] S22, the server in broadcast mode to send the one or more devices Discover message, Option field and the type of information transmission request in the Discover message that tells the requesting device which is desired by the Option field of the device information acquisition, or also type by sending request message, Option field and in the request message transmission request send device information acquisition request. 本实施例利用DHCP动态用户配置协议中的消息中的Option选项携带请求和所请求的设备信息。 This embodiment utilizes DHCP dynamic user profile options Option protocol message carries the request and the requested device information.

[0032] S23、各个设备获取本设备和/或所连设备的设备信息,其中通过LLDP协议获取所连设备的设备信息,比如通过LLDP协议获取对端直连设备直连端口名称、端口类型、端口状态、IP、MAC地址等设备信息。 [0032] S23, each device acquires the equipment and / or device information of the connected device, wherein the acquiring device information of the connected device through the LLDP protocol, such as obtained by the LLDP protocol Direct devices direct port name, port type of the terminal, port status, IP, MAC address and other device information.

[0033] S24、被服务器请求设备信息的设备根据服务器的请求将相应的设备信息封装在Ack消息的Option字段中,以单播方式发送至服务器。 [0033] S24, the server requests the device information of the corresponding device information is encapsulated in the Option field Ack message transmitted to the server in a unicast mode according to a request of the server.

[0034] 其中S22和S23的执行顺序可以颠倒互换,S23中不局限于各个设备获取本设备和/或所连设备的设备信息,可以是被服务器请求设备信息的设备获取本设备和/或所连设备的设备信息。 [0034] wherein the order of execution of S22 and S23 may be reversed interchangeable, in S23 is not limited to each device acquires the equipment and / or device information of the connected devices, the device information may be requested of the server device acquires the equipment and / or device information of the device is connected.

[0035] 进一步,如果被服务器请求设备信息的设备成功获取了服务器所请求的所有设备信息,并能够将服务器所请求的所有设备信息成功反馈给服务器,此时向服务器反馈的Ack消息的Option字段中携带了服务器所请求的所有设备信息,如果被服务器请求设备信息的设备没有成功获取到服务器所请求的所有设备信息,则在向服务器反馈的Ack消息的相应option字段值为空,当服务器发现某个被请求设备反馈的Ack消息中有全部或部分Option字段为空时,则服务器继续向该设备发送请求。 [0035] Further, Option field if requested device information to the server successfully acquired all the information requested by the server device, and all devices can be requested by the server information back to the server successfully, the Ack message to the server at this time feedback carries all the information requested by the server device, if requested device information server apparatus not successfully obtain all the information required by the server device, then the corresponding option field feedback Ack message to the server is empty, when the server finds Ack message to a requesting device is fed back all or part of the Option field is empty, the server continues to send the request to the device.

[0036] 进一步,预先设定向一设备发送请求的最大次数,作为预定值,直到请求次数到达该预定值时,不再继续发送请求,比如预先设定向一设备发送请求的次数不超过3次,当请求次数达到3次时,不再继续发送请求。 [0036] Further, a maximum number of times set in advance to send the request as the predetermined value, until the request times reaches the predetermined value, not continue to send the request, such as a predetermined number of times to send the request does not exceed 3 times, when the number reaches three times the request, the request no longer be sent.

[0037] 进一步,还包括服务器判断相连的设备反馈的设备信息是否存在冲突,如果存在冲突,则首先确定发生冲突的设备中的任一设备反馈的设备信息正确,而后向发生冲突的其他设备重新发出请求。 [0037] Further, further comprising a server determines whether the device information fed back connected to whether there is a conflict, if there is a conflict, the first determination device information apparatus of any conflict in a fed back correctly, and then to other devices conflict re request. 图3本发明实施例一种解决相连设备反馈的设备信息发生冲突的方法的流程图,请参考图3: One kind of information apparatus connected to a flowchart solution feedback device conflict according to embodiments of the present invention in FIG. 3, refer to Figure 3:

[0038] S31、服务器在指定周期内判断相连的设备反馈的设备信息是否存在冲突,如果是,则执行S32,如果否,则执行S310。 [0038] S31, the device information server within a specified period determination device connected to a feedback whether a conflict exists, if yes, performing S32, if no, S310.

[0039] S32、服务器假设最先反馈并且反馈的Ack消息中option字段不为空的设备所反馈的设备信息正确,服务器向发生冲突的其他设备重新发出请求。 [0039] S32, the server is assumed that the first feedback and the feedback Ack message in the device information option field is not null feedback device properly, the server sends a request to another device conflict again.

[0040] S33、收到服务器重新发出请求的设备再次根据服务器的请求通过Ack消息中option字段将相应的设备信息反馈给服务器。 [0040] S33, the server re-receive device requesting again according to the request Ack message by the server in the option field of the respective device information back to the server.

[0041] S34、服务器判断第二次收到的设备信息是否与假设正确的设备信息冲突,如果是,则执行S35,如果否,则执行S310。 [0041] S34, the second device information server determines whether the received device information and assumptions correct the conflict, if yes, performing S35, if no, S310.

[0042] S35、服务器判断第二次收到的设备信息是否与第一次收到的同一设备反馈的设备信息一致,如果是,则执行S39,如果否,则执行S36。 [0042] S35, the same device information of the same device whether the device information received by the server to determine the second and first received feedback, if yes, performing S39, if no, S36.

[0043] S36、服务器向最先假设其反馈的设备信息正确的设备重新发出请求,希望重新获取该设备的设备信息。 [0043] S36, the server issues a request to the first device information assuming correct feedback device which again, wish to re-acquire the device information of the device.

[0044] S37、重新收到该请求的设备再次根据服务器的请求通过Ack消息中option字段将相应的设备信息反馈给服务器。 [0044] S37, the device again receives the request again by the server according to the request Ack message option field in the corresponding server information back to the device.

[0045] S38、服务器重新判断相连的设备反馈的设备信息是否发生冲突,如果是,则执行S39,如果否,则执行S310。 [0045] S38, the server apparatus re-determining feedback information device connected to whether a collision occurs, if yes, performing S39, if no, S310. [0046] S39、自动获取设备信息操作失败,流程结束。 [0046] S39, automatic acquiring device information of the operation fails, the process ends.

[0047] S310、自动获取设备信息操作成功,服务器利用各设备反馈的设备信息进行自动初始化,流程结束。 [0047] S310, the device information acquisition success automatic operation, the device server uses the feedback information of each device for automatic initialization, the flow ends.

[0048] 图4为本发明实施例一种自动获取设备信息的系统的模块图,请参考图4 :一种自动获取设备信息的系统,包括服务器41、与服务器41相连的一个或多个设备42,其特征在于,还包括置于所述服务器41上的请求模块411、置于所述设备42上的信息获取模块421 和信息反馈模块422,其中,请求模块411用于服务器41向一个或多个设备42发送获取设备信息的请求;信息获取模块421用于各个设备42获取本设备和/或所连设备的设备信息;信息反馈模块422用于被服务器请求设备信息的设备42根据服务器41的请求发送相应的设备信息至服务器41。 [0048] FIG 4 an embodiment of a block diagram of a system to automatically obtain the information apparatus of the present invention, please refer to FIG. 4: An automatic device information acquiring system, comprising one or more server devices 41, 41 connected to the server 42, characterized by further comprising a request module 411 disposed on the server 41, 42 is placed on the device information obtaining module 421 and a feedback module 422, wherein the request for the server module 411 to one or 41 a plurality of transmitting devices 42 the device information acquisition request; information obtaining module 421 to obtain the individual apparatus 42 of the present apparatus and / or device information of the connected device; feedback module 422 for the requested device information to the server device 42 according to the server 41 sending a corresponding request to the server device 41 information.

[0049] 进一步,请求模块411具体用于服务器41以广播方式向一个或多个设备42发送Discover消息或request消息中的一种,并在所述Discover消息或request消息中的Option字段发送请求的信息类型。 [0049] Further, the requesting module 411 is configured to send the broadcast server 41 in a Discover message or request message to one of one or more devices 42, and the request message or the Option field of said Discover message transmission request of type of information.

[0050] 进一步,信息获取模块421用于各个设备42通过LLDP协议获取所连设备的设备 [0050] Further, the device information acquisition module 421 acquires the device 42 for the respective devices connected via LLDP protocol

fn息ο fn interest ο

[0051] 本实施例中的设备信息包括设备自身信息和拓扑状态信息,拓扑状态信息不局限于端口名称、端口类型、端口状态、IP、MAC信息中的一种或多种,设备自身信息不局限于用户名、密码信息中的一种或多种,根据实际需要,采用本发明的技术方案可以自动获取设备的各类信息,本实施例可广泛应用于数通领域自动化测试前期的设备信息获取过程中,本实施例相比于手工获取设备信息的方式,具有诸多技术效果:效率高、成本低,还可避免手工操作的失误,由于是自动化的操作,还可以提升用户体验度高。 [0051] Examples of the present embodiment includes the device information of the device itself and the information of topology state information, the topology state information is not limited to a port name, port type, port state, IP, MAC information, one or more, the device information is not itself limited to a user name, one or more cryptographic information, according to actual needs, the present invention of automatically acquiring various information apparatus, the present embodiment can be widely used automated test apparatus information on the number of pre-art acquisition process, as compared to the present embodiment acquires the device information manually, has many technical effects: high efficiency, low cost, may be manually operated to avoid mistakes due to automated operation, raise the user experience high.

[0052] 以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。 [0052] The above is described in further detail with reference to specific embodiments of the present invention made by the present invention should not be considered limited to these specific embodiments described. 对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。 Those of ordinary skill in the art for the present invention, without departing from the spirit of the present invention, can make various simple deduction or replacement, should be deemed to belong to the scope of the present invention.

Claims (12)

  1. 1. 一种自动获取设备信息的方法,其特征在于,包括:服务器向一个或多个设备发送获取设备信息的请求,以及各个设备获取本设备和/或所连设备的设备信息;被服务器请求设备信息的设备根据服务器的请求发送相应的设备信息至服务器。 An automatic method for obtaining device information, characterized by comprising: a server sends to a plurality of devices or device information acquisition request, and each apparatus acquires the equipment and / or device information of the connected device; requested server transmitting device information of the corresponding device information to the server according to the request to the server.
  2. 2.如权利要求1所述的方法,其特征在于,服务器向一个或多个设备发送获取设备信息的请求的方式包括:服务器以广播方式向一个或多个设备发送Discover发现消息或request请求消息中的一种,并在所述Discover消息或request消息中的Option字段发送请求的信息类型。 2. The method according to claim 1, wherein the server transmits an acquisition request to one or more devices in the way the device information comprises: broadcast discovery server request message or a request message sent to one or more devices Discover of one, and the type information transmission request Option field of said Discover message in the message or request.
  3. 3.如权利要求1所述的方法,其特征在于,各个设备获取所连设备的设备信息的方式包括:各个设备通过LLDP链路层发现协议获取所连设备的设备信息。 The method according to claim 1, characterized in that, each device acquires the device information of the connected mode device comprising: a protocol to obtain device information of each device connected device via LLDP link layer discovery.
  4. 4.如权利要求1所述的方法,其特征在于,被服务器请求设备信息的设备根据服务器的请求发送相应的设备信息至服务器的方式包括:被服务器请求设备信息的设备根据服务器的请求将相应的设备信息封装在Ack反馈消息的Option字段中发送至服务器。 4. The method according to claim 1, characterized in that the server requests the device information transmitted in a corresponding manner to the information server apparatus comprises the server according to the request: the request server device information server according to the request of the respective Option field device Ack information is encapsulated in the feedback message sent to the server.
  5. 5.如权利要求4所述的方法,其特征在于,如果被服务器请求设备信息的设备中没有服务器所请求的设备信息,则向服务器反馈的Ack消息的相应Option字段值为空,当服务器接收的Ack消息中有全部或部分Option字段为空,则服务器再次向相应的设备发送请求,直到请求次数到达预定值。 5. The method according to claim 4, wherein, if the device information is requested of the server apparatus information is not required by the server, a corresponding Ack message Option field is fed back to the server is empty, when the server receives the Ack message in all or part of Option field is empty, then the server again sends a request to the respective device until the request times reaches a predetermined value.
  6. 6.如权利要求1所述的方法,其特征在于,还包括服务器判断相连的设备反馈的设备信息是否存在冲突,如果存在冲突,则首先确定发生冲突的设备中的任一设备反馈的设备信息正确,而后向发生冲突的其他设备重新发出请求。 6. The method according to claim 1, characterized in that, the device further comprising a device information server connected to the feedback determines whether there is a conflict, if a conflict exists, the device information in the device conflict any one feedback device is first determined correct, then makes a request to another device conflict again.
  7. 7.如权利要求1所述的方法,其特征在于,所述设备包括交换机或路由器中的一种。 7. The method according to claim 1, characterized in that the device comprises one of a switch or router.
  8. 8.如权利要求1至7任一项所述的方法,其特征在于,所述设备信息包括设备自身信息和拓扑状态信息。 8. The method according to any one of claims 1 to claim 7, wherein the device information comprises device status information and topology information itself.
  9. 9.如权利要求8所述的方法,其特征在于,所述拓扑状态信息包括端口名称、端口类型、端口状态、IP地址、MAC地址信息中的一种或多种;所述设备自身信息包括用户名、密码信息中的一种或多种。 9. The method according to claim 8, characterized in that the topology state information comprises one or more port name, port type, port state, IP address, MAC address information; information comprises the device itself user name, password information in one or more.
  10. 10. 一种自动获取设备信息的系统,包括服务器、与服务器相连的一个或多个设备,其特征在于,还包括置于所述服务器上的请求模块、置于所述设备上的信息获取模块和信息反馈模块,其中,所述请求模块用于服务器向一个或多个所述设备发送获取设备信息的请求;所述信息获取模块用于各个设备获取本设备和/或所连设备的设备信息;所述信息反馈模块用于被服务器请求设备信息的设备根据服务器的请求发送相应的设备信息至服务器。 10. An automatic device information acquiring system, comprising a server, one or more devices connected to the server, characterized by further comprising a request module is placed on the server, the device is placed on the information obtaining module and an information feedback module, wherein the module is configured to request the server to send the device to one or more device information acquisition request; the information acquiring module for acquiring the respective devices of the present apparatus and / or device information of the connected device ; said information feedback module apparatus for the requested device information server apparatus transmits the corresponding information according to a request of a server to the server.
  11. 11.如权利要求10所述的系统,其特征在于,所述请求模块具体用于服务器以广播方式向一个或多个设备发送Discover消息或request消息中的一种,并在所述Discover消息或request消息中的Option字段发送请求的信息类型。 11. The system according to claim 10, wherein the request module is configured to send Discover message server to one or more devices in a broadcast manner or one request message, and the message or Discover Option field of the request message transmission request message type.
  12. 12.如权利要求10或11所述的系统,其特征在于,所述信息获取模块用于各个设备通过LLDP协议获取所连设备的设备信息。 12. The system of claim 10 or claim 11, wherein said information acquisition device acquiring the device information module for each connected device on the LLDP protocol.
CN 201110119637 2011-05-10 2011-05-10 Automatic equipment information acquisition method and system CN102185737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110119637 CN102185737A (en) 2011-05-10 2011-05-10 Automatic equipment information acquisition method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110119637 CN102185737A (en) 2011-05-10 2011-05-10 Automatic equipment information acquisition method and system

Publications (1)

Publication Number Publication Date
CN102185737A true true CN102185737A (en) 2011-09-14

Family

ID=44571808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110119637 CN102185737A (en) 2011-05-10 2011-05-10 Automatic equipment information acquisition method and system

Country Status (1)

Country Link
CN (1) CN102185737A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763757A (en) * 2014-01-23 2014-04-30 上海汉枫电子科技有限公司 Method for rapid networking based on internet-of-thing embedded type Wi-Fi module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674535A (en) * 2004-03-26 2005-09-28 联想(北京)有限公司 Method for monitoring exchanger in machine group
CN1753403A (en) * 2004-09-24 2006-03-29 上海贝尔阿尔卡特股份有限公司 Method of automatic obtaining information and topological structure of equipment in network and its device
CN101262364A (en) * 2008-02-28 2008-09-10 福建星网锐捷网络有限公司 A device status and information display method and device
WO2009071009A1 (en) * 2007-11-09 2009-06-11 Huawei Technologies Co., Ltd. Method for discovering network element devices automatically, device and system
CN101588265A (en) * 2009-05-21 2009-11-25 北京华环电子股份有限公司 Method and device for obtaining network information
US20100020960A1 (en) * 2003-05-06 2010-01-28 Joseph Allen Pence System and method for providing communications services

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020960A1 (en) * 2003-05-06 2010-01-28 Joseph Allen Pence System and method for providing communications services
CN1674535A (en) * 2004-03-26 2005-09-28 联想(北京)有限公司 Method for monitoring exchanger in machine group
CN1753403A (en) * 2004-09-24 2006-03-29 上海贝尔阿尔卡特股份有限公司 Method of automatic obtaining information and topological structure of equipment in network and its device
WO2009071009A1 (en) * 2007-11-09 2009-06-11 Huawei Technologies Co., Ltd. Method for discovering network element devices automatically, device and system
CN101262364A (en) * 2008-02-28 2008-09-10 福建星网锐捷网络有限公司 A device status and information display method and device
CN101588265A (en) * 2009-05-21 2009-11-25 北京华环电子股份有限公司 Method and device for obtaining network information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763757A (en) * 2014-01-23 2014-04-30 上海汉枫电子科技有限公司 Method for rapid networking based on internet-of-thing embedded type Wi-Fi module

Similar Documents

Publication Publication Date Title
US7512133B2 (en) Method and apparatus for obtaining multiple port addresses by a fibre channel from a network fabric
US20080183854A1 (en) Network Appliance
US20100191839A1 (en) Synchronizing resource bindings within computer network
US20150248298A1 (en) Rebooting infiniband clusters
US20120221700A1 (en) System, Method and Program for Telecom Infrastructure Virtualization and Management
CN101330531A (en) Method for processing DHCP address allocation and DHCP relay
CN102148749A (en) Method and device for extending switch port
CN101883090A (en) Client access method, equipment and system
CN101895589A (en) Wide area network router and method for establishing routing table items therein
CN101478493A (en) Method and device for NAT through communication
CN101478553A (en) Dynamic domain name management system and method
CN1571358A (en) Static user access network control method based on MAC address
CN103036811A (en) System and method for terminal implementing multiple access point name (APN) networking
CN102611750A (en) Double-protocol-stack accessing method and system
CN102263704A (en) A data center floor support interconnection topology construction method and apparatus
CN102025630A (en) Load balancing method and load balancing system
CN1505323A (en) Network administration method for no-IP address device
CN102413203A (en) IP (Internet Protocol) address allocation method and device
US20130311570A1 (en) Communication system for establishing p2p connections and the corresponding devices using the same
CN101909285A (en) Method and device for transmission self-configuration of self-organizing network
CN1929496A (en) Network address reconstruction method in IPv6 switch-in network
CN102148768A (en) Message forwarding method and device
CN101212326A (en) Method for configuring nodes in any multicast group and auxiliary method and device
CN101043461A (en) Method for testing DHCPv6 service and client
CN101035082A (en) Unpacked message recombining method and interface board

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01