[go: up one dir, main page]

CN109150602A - A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment - Google Patents

A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment Download PDF

Info

Publication number
CN109150602A
CN109150602A CN201810931597.XA CN201810931597A CN109150602A CN 109150602 A CN109150602 A CN 109150602A CN 201810931597 A CN201810931597 A CN 201810931597A CN 109150602 A CN109150602 A CN 109150602A
Authority
CN
China
Prior art keywords
network
information
connection
equipment
network device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810931597.XA
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810931597.XA priority Critical patent/CN109150602A/en
Publication of CN109150602A publication Critical patent/CN109150602A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/12Discovery or management of network topologies
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种适配存储设备的方法、装置、计算机存储介质及终端,包括:根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;根据状态标识进行网络连接配置;其中,网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。本发明实施例减少了适配存储的部署时间,提高了适配效率。

A method, device, computer storage medium and terminal for adapting to a storage device, comprising: performing status identification on network equipment according to device information and network topology information of the network equipment; performing network connection configuration according to the status identification; wherein, the network topology information Include some or all of the following information: network location and network connection information for network devices. The embodiment of the present invention reduces the deployment time of the adaptation storage and improves the adaptation efficiency.

Description

一种适配存储设备的方法、装置、计算机存储介质及终端A method, device, computer storage medium, and terminal for adapting to a storage device

技术领域technical field

本文涉及但不限于云计算技术,尤指一种适配存储设备的方法、装置、计算机存储介质及终端。This article relates to, but is not limited to, cloud computing technology, especially a method, device, computer storage medium, and terminal for adapting to a storage device.

背景技术Background technique

随着云计算、大数据等新型技术的发展,大量数据的产生,存储设备逐年增加,如何快速的进行连接适配存储,减少部署时间,提高准确性成为急需解决的问题。另外、针对存储数据的存储设备,其作为大数据的底层硬件支撑,其也面临着大量调试适配问题。With the development of new technologies such as cloud computing and big data, a large amount of data is generated, and storage devices are increasing year by year. How to quickly connect and adapt storage, reduce deployment time, and improve accuracy has become an urgent problem to be solved. In addition, for storage devices that store data, as the underlying hardware support for big data, they also face a lot of debugging and adaptation problems.

发明内容SUMMARY OF THE INVENTION

以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.

本发明实施例提供一种适配存储设备的方法、装置、计算机存储介质及终端,能够减少适配存储的部署时间,提高适配效率。Embodiments of the present invention provide a method, an apparatus, a computer storage medium, and a terminal for adapting a storage device, which can reduce the deployment time of adapting storage and improve adapting efficiency.

本发明实施例提供了一种适配存储设备的方法,An embodiment of the present invention provides a method for adapting a storage device,

根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;According to the device information and network topology information of the network device, the status identification of the network device is performed;

根据状态标识进行网络连接配置;Network connection configuration according to the status flag;

其中,所述网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。Wherein, the network topology information includes part or all of the following information: network location where the network device is located and network connection information.

可选的,所述网络设备的设备信息包括以下部分或全部信息:存储设备的全球唯一名字WWN、服务器设备的WWN、交换机设备的管理互联网协议IP地址。Optionally, the device information of the network device includes part or all of the following information: the globally unique name WWN of the storage device, the WWN of the server device, and the management Internet Protocol IP address of the switch device.

可选的,所述对网络设备进行状态标识包括:Optionally, the performing status identification on the network device includes:

根据所述设备信息确定各网络设备的以下部分或全部基础信息:类型、种类、名称;Determine some or all of the following basic information of each network device according to the device information: type, type, name;

在预设的显示界面上,对各网络设备,采用预设的标识策略对网络设备的全部或部分基础信息、和/或全部或部分网络拓扑信息进行标识。On the preset display interface, for each network device, a preset identification strategy is used to identify all or part of the basic information and/or all or part of the network topology information of the network device.

可选的,所述根据状态标识进行网络连接配置包括:Optionally, the performing network connection configuration according to the status identifier includes:

根据所述状态标识确定各网络设备的连接状态后,根据接收到的连接指令进行网络设备的连接配置。After the connection state of each network device is determined according to the state identifier, the connection configuration of the network device is performed according to the received connection instruction.

可选的,所述根据状态标识进行网络连接配置之后,所述方法还包括:Optionally, after the network connection configuration is performed according to the state identifier, the method further includes:

按照预设的检测规则对网络连接配置进行检测;和/或,Detect network connection configurations according to preset detection rules; and/or,

对所述网络设备进行硬件校验。Perform hardware verification on the network device.

可选的,所述方法还包括:Optionally, the method further includes:

按照预设策略对网络设备进行分类,对属于同一分类的网络设备采用相同的图标进行显示;和/或,Classify network devices according to preset policies, and use the same icons to display network devices belonging to the same classification; and/or,

对网络设备之间的连接,采用统一的连线规则进行连接并显示。For the connection between network devices, use unified connection rules to connect and display.

另一方面,本发明实施例还提供一种适配存储设备的装置,包括:标识单元和配置单元;其中,On the other hand, an embodiment of the present invention further provides an apparatus for adapting a storage device, including: an identification unit and a configuration unit; wherein,

标识单元用于:根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;The identification unit is used to: identify the status of the network device according to the device information and network topology information of the network device;

配置单元用于:根据状态标识进行网络连接配置;The configuration unit is used to: perform network connection configuration according to the status identifier;

其中,所述网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。Wherein, the network topology information includes part or all of the following information: network location where the network device is located and network connection information.

可选的,所述网络设备的设备信息包括以下部分或全部信息:存储设备的全球唯一名字WWN、服务器设备的WWN、交换机设备的管理互联网协议IP地址。Optionally, the device information of the network device includes part or all of the following information: the globally unique name WWN of the storage device, the WWN of the server device, and the management Internet Protocol IP address of the switch device.

可选的,所述标识单元具体用于:Optionally, the identification unit is specifically used for:

根据所述设备信息确定各网络设备的以下部分或全部基础信息:类型、种类、名称;Determine some or all of the following basic information of each network device according to the device information: type, type, name;

在预设的显示界面上,对各网络设备,采用预设的标识策略对网络设备的全部或部分基础信息、和/或全部或部分网络拓扑信息进行标识。On the preset display interface, for each network device, a preset identification strategy is used to identify all or part of the basic information and/or all or part of the network topology information of the network device.

可选的,所述配置单元具体用于:Optionally, the configuration unit is specifically used for:

根据所述状态标识确定各网络设备的连接状态后,根据接收到的连接指令进行网络设备的连接配置。After the connection state of each network device is determined according to the state identifier, the connection configuration of the network device is performed according to the received connection instruction.

可选的,所述装置还包括监测单元,用于:Optionally, the device further includes a monitoring unit for:

按照预设的检测规则对网络连接配置进行检测;和/或,Detect network connection configurations according to preset detection rules; and/or,

对所述网络设备进行硬件校验。Perform hardware verification on the network device.

可选的,所述装置还包括显示处理单元,用于:Optionally, the apparatus further includes a display processing unit for:

按照预设策略对网络设备进行分类,对属于同一分类的网络设备采用相同的图标进行显示;和/或,Classify network devices according to preset policies, and use the same icons to display network devices belonging to the same classification; and/or,

对网络设备之间的连接,采用统一的连线规则进行连接并显示。For the connection between network devices, use unified connection rules to connect and display.

再一方面,本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述适配存储设备的方法。In another aspect, an embodiment of the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the above method for adapting a storage device.

还一方面,本发明实施例还提供一种终端,包括:存储器和处理器;其中,In another aspect, an embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein,

处理器被配置为执行存储器中的程序指令;the processor is configured to execute program instructions in the memory;

程序指令在处理器读取执行以下操作:Program instructions are read by the processor to do the following:

根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;According to the device information and network topology information of the network device, the status identification of the network device is performed;

根据状态标识进行网络连接配置;Network connection configuration according to the status flag;

其中,所述网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。Wherein, the network topology information includes part or all of the following information: network location where the network device is located and network connection information.

与相关技术相比,本申请技术方案包括:根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;根据状态标识进行网络连接配置;其中,网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。本发明实施例减少了适配存储的部署时间,提高了适配效率。Compared with the related art, the technical solution of the present application includes: according to the device information and network topology information of the network device, performing status identification on the network device; performing network connection configuration according to the status identification; wherein, the network topology information includes some or all of the following information: The network location and network connection information of the network device. The embodiment of the present invention reduces the deployment time of the adaptation storage and improves the adaptation efficiency.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the description, claims and drawings.

附图说明Description of drawings

附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present invention, and constitute a part of the specification. They are used to explain the technical solutions of the present invention together with the embodiments of the present application, and do not limit the technical solutions of the present invention.

图1为本发明实施例适配存储设备的方法的流程图;1 is a flowchart of a method for adapting a storage device according to an embodiment of the present invention;

图2为本发明实施例适配存储设备的装置的结构框图;2 is a structural block diagram of an apparatus for adapting a storage device according to an embodiment of the present invention;

图3为本发明实施例适配示例显示示意图;FIG. 3 is a schematic diagram showing an example of adaptation according to an embodiment of the present invention;

图4为本发明应用示例的方法流程示意图。FIG. 4 is a schematic flowchart of a method of an application example of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, the embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other if there is no conflict.

在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.

图1为本发明实施例适配存储设备的方法的流程图,如图1所示,包括:FIG. 1 is a flowchart of a method for adapting a storage device according to an embodiment of the present invention, as shown in FIG. 1 , including:

步骤101、根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;Step 101, according to the device information and network topology information of the network device, perform status identification on the network device;

可选的,本发明实施例可以预先采集网络设备的设备信息。Optionally, in this embodiment of the present invention, device information of network devices may be collected in advance.

可选的,本发明实施例网络设备的设备信息包括以下部分或全部信息:存储设备的全球唯一名字WWN、服务器设备的WWN、交换机设备的管理互联网协议IP地址。Optionally, the device information of the network device in this embodiment of the present invention includes part or all of the following information: the globally unique name WWN of the storage device, the WWN of the server device, and the management Internet Protocol IP address of the switch device.

需要说明的是,设备信息可以由本领域技术人员根据需求进行增删。It should be noted that the device information can be added or deleted by those skilled in the art as required.

可选的,本发明实施例对网络设备进行状态标识包括:Optionally, in this embodiment of the present invention, the status identification of the network device includes:

根据所述设备信息确定各网络设备的以下部分或全部基础信息:类型、种类、名称;Determine some or all of the following basic information of each network device according to the device information: type, type, name;

在预设的显示界面上,对各网络设备,采用预设的标识策略对网络设备的全部或部分基础信息、和/或全部或部分网络拓扑信息进行标识。On the preset display interface, for each network device, a preset identification strategy is used to identify all or part of the basic information and/or all or part of the network topology information of the network device.

步骤102、根据状态标识进行网络连接配置;Step 102, performing network connection configuration according to the status identifier;

其中,所述网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。Wherein, the network topology information includes part or all of the following information: network location where the network device is located and network connection information.

可选的,本发明实施例根据状态标识进行网络连接配置包括:Optionally, the network connection configuration according to the status identifier in this embodiment of the present invention includes:

根据所述状态标识确定各网络设备的连接状态后,根据接收到的连接指令进行网络设备的连接配置。After the connection state of each network device is determined according to the state identifier, the connection configuration of the network device is performed according to the received connection instruction.

可选的,根据状态标识进行网络连接配置之后,本发明实施例方法还包括:Optionally, after the network connection configuration is performed according to the state identifier, the method according to the embodiment of the present invention further includes:

按照预设的检测规则对网络连接配置进行检测;和/或,Detect network connection configurations according to preset detection rules; and/or,

对所述网络设备进行硬件校验。Perform hardware verification on the network device.

可选的,本发明实施例方法还包括:Optionally, the method according to the embodiment of the present invention further includes:

按照预设策略对网络设备进行分类,对属于同一分类的网络设备采用相同的图标进行显示;和/或,Classify network devices according to preset policies, and use the same icons to display network devices belonging to the same classification; and/or,

对网络设备之间的连接,采用统一的连线规则进行连接并显示。For the connection between network devices, use unified connection rules to connect and display.

与相关技术相比,本申请技术方案包括:根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;根据状态标识进行网络连接配置;其中,网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。本发明实施例减少了适配存储的部署时间,提高了适配效率。Compared with the related art, the technical solution of the present application includes: according to the device information and network topology information of the network device, performing status identification on the network device; performing network connection configuration according to the status identification; wherein, the network topology information includes some or all of the following information: The network location and network connection information of the network device. The embodiment of the present invention reduces the deployment time of the adaptation storage and improves the adaptation efficiency.

图2为本发明实施例适配存储设备的装置的结构框图,如图2所示,包括:标识单元和配置单元;其中,FIG. 2 is a structural block diagram of an apparatus for adapting a storage device according to an embodiment of the present invention. As shown in FIG. 2 , it includes: an identification unit and a configuration unit; wherein,

标识单元用于:根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;The identification unit is used to: identify the status of the network device according to the device information and network topology information of the network device;

可选的,本发明实施例可以预先采集网络设备的设备信息。Optionally, in this embodiment of the present invention, device information of network devices may be collected in advance.

可选的,本发明实施例网络设备的设备信息包括以下部分或全部信息:存储设备的全球唯一名字WWN、服务器设备的WWN、交换机设备的管理互联网协议IP地址。Optionally, the device information of the network device in this embodiment of the present invention includes part or all of the following information: the globally unique name WWN of the storage device, the WWN of the server device, and the management Internet Protocol IP address of the switch device.

配置单元用于:根据状态标识进行网络连接配置;The configuration unit is used to: perform network connection configuration according to the status identifier;

其中,所述网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。Wherein, the network topology information includes part or all of the following information: network location where the network device is located and network connection information.

可选的,本发明实施例标识单元具体用于:Optionally, the identification unit in this embodiment of the present invention is specifically used for:

根据所述设备信息确定各网络设备的以下部分或全部基础信息:类型、种类、名称;Determine some or all of the following basic information of each network device according to the device information: type, type, name;

在预设的显示界面上,对各网络设备,采用预设的标识策略对网络设备的全部或部分基础信息、和/或全部或部分网络拓扑信息进行标识。On the preset display interface, for each network device, a preset identification strategy is used to identify all or part of the basic information and/or all or part of the network topology information of the network device.

可选的,本发明实施例配置单元具体用于:Optionally, the configuration unit in this embodiment of the present invention is specifically used for:

根据所述状态标识确定各网络设备的连接状态后,根据接收到的连接指令进行网络设备的连接配置。After the connection state of each network device is determined according to the state identifier, the connection configuration of the network device is performed according to the received connection instruction.

可选的,本发明实施例装置还包括监测单元,用于:Optionally, the device according to the embodiment of the present invention further includes a monitoring unit for:

按照预设的检测规则对网络连接配置进行检测;和/或,Detect network connection configurations according to preset detection rules; and/or,

对所述网络设备进行硬件校验。Perform hardware verification on the network device.

可选的,本发明实施例装置还包括显示处理单元,用于:Optionally, the device according to the embodiment of the present invention further includes a display processing unit, configured to:

按照预设策略对网络设备进行分类,对属于同一分类的网络设备采用相同的图标进行显示;和/或,Classify network devices according to preset policies, and use the same icons to display network devices belonging to the same classification; and/or,

对网络设备之间的连接,采用统一的连线规则进行连接并显示。For the connection between network devices, use unified connection rules to connect and display.

与相关技术相比,本申请技术方案包括:根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;根据状态标识进行网络连接配置;其中,网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。本发明实施例减少了适配存储的部署时间,提高了适配效率。Compared with the related art, the technical solution of the present application includes: according to the device information and network topology information of the network device, performing status identification on the network device; performing network connection configuration according to the status identification; wherein, the network topology information includes some or all of the following information: The network location and network connection information of the network device. The embodiment of the present invention reduces the deployment time of the adaptation storage and improves the adaptation efficiency.

本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述适配存储设备的方法。An embodiment of the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the above method for adapting a storage device.

本发明实施例还提供一种终端,包括:存储器和处理器;其中,An embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein,

处理器被配置为执行存储器中的程序指令;the processor is configured to execute program instructions in the memory;

程序指令在处理器读取执行以下操作:Program instructions are read by the processor to do the following:

根据网络设备的设备信息及网络拓扑信息,对网络设备进行状态标识;According to the device information and network topology information of the network device, the status identification of the network device is performed;

根据状态标识进行网络连接配置;Network connection configuration according to the status flag;

其中,所述网络拓扑信息包括以下部分或全部信息:网络设备所在网络位置和网络连接信息。Wherein, the network topology information includes part or all of the following information: network location where the network device is located and network connection information.

以下通过应用示例对本发明实施例方法进行清楚详细的说明,应用示例仅用于陈述本发明,并不用于限定本发明的保护范围。The method of the embodiments of the present invention will be described clearly and in detail below through application examples. The application examples are only used to describe the present invention, and are not used to limit the protection scope of the present invention.

应用示例Application example

本发明示例提出一种适配存储设备的方法,具有提高工作效率,提高工作质量,减少错误发生的特点,有利于存储组网的应用发展。本发明应用示例首先收集网络设备的设备信息,包括:存储设备的全球唯一名字(WWN)、服务器设备的WWN、交换机设备的管理IP。针对收集来的数据进行分类整理,标识其名称、类型、作用。再进行图形化的展示,通过简单的操作完成各设备之间的适配,实现了快速适配。本发明应用示例不影响原有连接方式,提高了适配效率。An example of the present invention provides a method for adapting a storage device, which has the characteristics of improving work efficiency, improving work quality, and reducing the occurrence of errors, and is beneficial to the application development of storage networking. The application example of the present invention first collects the device information of the network device, including: the worldwide unique name (WWN) of the storage device, the WWN of the server device, and the management IP of the switch device. Categorize the collected data and identify its name, type and function. Then it is displayed graphically, and the adaptation between various devices is completed through simple operations, realizing rapid adaptation. The application example of the present invention does not affect the original connection mode, and improves the adaptation efficiency.

本发明应用示例为了更准确的判断所有设备的属性信息,通过获取到的设备信息对网络设备的类型、种类、WWN的情况进行判断,无需过多的人工干预,提高了工作效率,减少了错误的发生。Application example of the present invention In order to more accurately judge the attribute information of all devices, the type, type and WWN of network devices are judged through the obtained device information, without excessive manual intervention, which improves work efficiency and reduces errors happened.

本发明应用示例针对光纤存储设备进行针对性的调试。存储设备类型种类繁多,但均需要进行连接适配部署。根据此种情况,对所有存储设备的部署,可以广泛推广和应用;目前大多数存储设备需要每个都记录其要适配的设备的WWN,映射相关设备进行适配;一旦设备很多的话,就会照成混乱,容易出错,且出错后也不好排查。本发明应用实施例可以减少部署时间,减少出错的概率。同时,对于存储本身,不会影响其性能和稳定性,能够更好的利用资源,减少总投入成本;本发明应用示例方法包括:The application example of the present invention conducts targeted debugging for the optical fiber storage device. There are many types of storage devices, but all require connection adaptation deployment. According to this situation, the deployment of all storage devices can be widely promoted and applied; at present, most storage devices need to record the WWN of each device to be adapted, and map relevant devices for adaptation; once there are many devices, It will be chaotic, prone to errors, and difficult to troubleshoot after errors. The application embodiments of the present invention can reduce deployment time and reduce the probability of errors. At the same time, for the storage itself, its performance and stability will not be affected, resources can be better utilized, and the total input cost can be reduced; the application example method of the present invention includes:

连接好所有的网络设备,包括:存储设备、服务器设备、光纤交换机设备、网络交换机设备等,通过光纤通信(FC)协议、传输控制协议/因特网互联协议(TCP/IP)协议、智能平台管理接口(IPMI)协议,获取到网络设备相关WWN、IP、等设备信息等,本领域技术人员可以根据公知常识确定如何获取上述设备信息;本发明应用示例针对收集到的设备信息,进行整理,确定哪些为服务器设备、哪些为存储设备、哪些为交换机设备,然后进行整合分类,标记出网络设备所处的环境情况及连接情况(网络状态标识),并通过图形的方式进行展示,便于部署者查看。本发明应用示例可以通过用软件标签进行标记,可以通过光纤交换机得到各个端口的连接信息,网络交换机也可以查看到连接设备的信息,管理口又可以查看到设备的IP及其他信息,通过整合可以完全确定网络设备之间的连接关系。图3为本发明实施例适配示例显示示意图,如图3所示,完成适配操作后,网络设备(存储设备、服务器设备、交换机设备)按照预先设定的显示规则进行显示。Connect all network equipment, including: storage equipment, server equipment, fiber optic switch equipment, network switch equipment, etc., through Fiber Communication (FC) protocol, Transmission Control Protocol/Internet Protocol (TCP/IP) protocol, intelligent platform management interface (IPMI) protocol, obtain the relevant WWN, IP, and other equipment information of network equipment, etc., those skilled in the art can determine how to obtain the above-mentioned equipment information according to common knowledge; the application example of the present invention organizes the collected equipment information to determine which ones Server devices, which are storage devices, and which are switch devices, and then integrated and classified to mark the environment and connection status of network devices (network status identifiers), and display them graphically for easy viewing by deployers. The application example of the present invention can be marked with software labels, and the connection information of each port can be obtained through the optical switch, the network switch can also view the information of the connected device, and the management port can view the IP and other information of the device. Completely determine the connection relationship between network devices. FIG. 3 is a schematic diagram showing an example of adaptation according to an embodiment of the present invention. As shown in FIG. 3 , after the adaptation operation is completed, network devices (storage devices, server devices, and switch devices) are displayed according to preset display rules.

本发明应用示例通过查看网络设备的连接情况,根据需求进行图形化的存储适配配置(比如如果需要针对网络进行划分虚拟局域网(VLAN)或者对FC进行划分区(zone),都可以进行图形化的操作),进行各网络设备间的协同工作。本发明应用示例未改变原有的网络设备,能够有效利用现有的网络设备,同时增加较少的网络设备,就能够减少大量的配置工作,减少了运维的成本。The application example of the present invention can perform graphical storage adaptation configuration by checking the connection status of network devices according to requirements (for example, if it is necessary to divide virtual local area network (VLAN) for the network or divide the FC into a zone (zone), it can be graphically configured operation) to perform cooperative work among various network devices. The application example of the present invention does not change the original network equipment, can effectively utilize the existing network equipment, and at the same time adds less network equipment, can reduce a lot of configuration work and reduce the cost of operation and maintenance.

配置完成后,本发明应用示例还可以进行设备检查,自动的查看配置的合规性。例如,存储A的存储空间需要划分给服务器A,但是服务器A的一些链路未能够完全可达存储A(一般服务器都会配置链路冗余,在服务器端可以看到有多少条链路,在存储端也可以看到有多少条链路,如果两个数量不相等,说明有部分链路存在不可达。然后排查各链路情况,然后给出建议),本发明应用示例就会被判断为不合规,本发明实施例还可以进行警示,并给出合理的建议;例如、1、服务器端链接到交换机不可达,建议插一根光纤线到光纤交换机。2、光纤交换机端口存在故障,建议重启或更换等,通过上述引导进行合规性的配置,从而简化实施者的工作量和技术要求,达到快速适配存储,减少错误概率发生,同时也减少了错误排查的时间的目的。考虑在配置过程中,可能产生硬件故障或链路故障的情况,本发明应用示例在检查时增加了硬件校验机制,通过对存储设备、服务器设备、交换机等设备的校验;校验过程采用目前硬件设备都自带硬件故障告警机制,可通过简单网络管理协议(SNMP)获取,如果发现某个设备或某个链路存在故障,本发明应用示例进行报警,从而保证整个环境的可用性。图4为本发明应用示例的方法流程示意图,如图4所示,包括:After the configuration is completed, the application example of the present invention can also perform device inspection to automatically check the compliance of the configuration. For example, the storage space of storage A needs to be allocated to server A, but some links of server A cannot fully reach storage A (generally, the server will be configured with link redundancy, and you can see how many links there are on the server side. The storage side can also see how many links there are. If the two numbers are not equal, it means that some links are unreachable. Then check the conditions of each link, and then give suggestions), the application example of the present invention will be judged as If it does not comply with the regulations, the embodiment of the present invention can also give a warning and give reasonable suggestions; for example, 1. The server end is unreachable from the switch, and it is recommended to insert an optical fiber cable to the optical fiber switch. 2. If there is a fault in the fiber switch port, it is recommended to restart or replace it. The above guide is used for compliance configuration, thereby simplifying the workload and technical requirements of the implementer, achieving rapid adaptation to storage, reducing the probability of errors, and reducing The purpose of the time for troubleshooting. Considering that hardware failures or link failures may occur during the configuration process, the application example of the present invention adds a hardware verification mechanism during inspection, through the verification of storage devices, server devices, switches and other devices; the verification process adopts At present, all hardware devices have their own hardware failure alarm mechanism, which can be obtained through Simple Network Management Protocol (SNMP). FIG. 4 is a schematic flowchart of a method of an application example of the present invention, as shown in FIG. 4 , including:

步骤401、连接网络设备;Step 401, connect a network device;

步骤402、获取网络设备的网络拓扑信息;Step 402: Obtain network topology information of the network device;

步骤403、根据网络设备的设备信息和网络拓扑信息,对网络设备进行状态标识;Step 403: Perform status identification on the network device according to the device information and network topology information of the network device;

步骤404、通过图形化显示网络状态标识;Step 404, displaying the network status identifier graphically;

步骤405、根据适配调整要求,进行网络设备的连接配置;Step 405, according to the adaptation adjustment requirements, perform connection configuration of the network device;

步骤406、对连接配置进行检测;具体可以包括:按照预设的检测规则对网络连接配置进行检测;对网络设备进行硬件校验。Step 406: Detect the connection configuration; specifically, it may include: detecting the network connection configuration according to a preset detection rule; and performing hardware verification on the network device.

步骤407、连接配置检测结果正常时,结束当前适配操作。Step 407 , when the connection configuration detection result is normal, end the current adaptation operation.

本发明应用示例为了简化实施者的工作量,加快设备的适配部署,针对各品牌,各类型不同的存储进行了优化,因不同存储存在界面不同、配置方法不同的情况。本发明应用示例优化了配置界面,把不同界面整合优化实现了即使各类型配置方式不同、协议不同、界面不同,但最终获取信息汇总到一起后,能够有同样的界面展示。实施者可以使用通用的界面配置不同的存储设备进行适配,减少了设备的适应时间。能够更快的进行存储设备的连接适配,更加的减少配置的时间。本发明应用示例提出一种快速连接适配存储设备的方法,可以实现快速的进行存储设备、服务器、网络设备等的连接。通过快速的环境部署,可以提高整体环境的部署效率,简化工作量。通过对存储设备部署方式的优化,可以减少错误的发生率;本发明应用示例具有校验纠错机制,可以有效的减少人为误操作照成的经济及时间损失。相关技术需要逐个记录各设备的信息,进行人工核对,本发明应用示例人为介入很少,降低了工作人员的技能要求,从而减少总工作成本。In order to simplify the workload of the implementer and speed up the adaptation and deployment of the equipment, the application example of the present invention is optimized for different brands and different types of storage. Different storages have different interfaces and different configuration methods. The application example of the present invention optimizes the configuration interface, and integrates and optimizes different interfaces to realize that even if each type of configuration mode is different, the protocol is different, and the interface is different, after the final acquired information is aggregated together, the same interface can be displayed. Implementers can use a common interface to configure different storage devices for adaptation, which reduces device adaptation time. The connection and adaptation of storage devices can be performed faster, and the configuration time can be further reduced. The application example of the present invention proposes a method for fast connection and adaptation of storage devices, which can realize fast connection of storage devices, servers, network devices, and the like. Through rapid environment deployment, the deployment efficiency of the overall environment can be improved and the workload can be simplified. By optimizing the deployment mode of the storage device, the occurrence rate of errors can be reduced; the application example of the present invention has a verification and error correction mechanism, which can effectively reduce the economic and time loss caused by human error operations. In the related art, it is necessary to record the information of each device one by one and perform manual verification. The application example of the present invention requires little human intervention, which reduces the skill requirements of the staff, thereby reducing the total work cost.

本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。Those of ordinary skill in the art can understand that all or part of the steps in the above method can be completed by instructing relevant hardware (such as a processor) through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk Wait. Optionally, all or part of the steps in the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above-mentioned embodiments can be implemented in the form of hardware, for example, an integrated circuit to implement its corresponding function, or it can be implemented in the form of a software function module, for example, a processor executes a function stored in a memory. program/instruction to achieve its corresponding function. The present invention is not limited to any particular form of combination of hardware and software.

虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described contents are only the embodiments adopted to facilitate the understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art to which the present invention belongs, without departing from the spirit and scope disclosed by the present invention, can make any modifications and changes in the form and details of the implementation, but the scope of the patent protection of the present invention still needs to be The scope defined by the appended claims shall prevail.

Claims (14)

1. A method of adapting a storage device, comprising:
according to the equipment information and the network topology information of the network equipment, carrying out state identification on the network equipment;
performing network connection configuration according to the state identifier;
wherein, the network topology information comprises the following part or all information: network location and network connection information of the network device.
2. The method of claim 1, wherein the device information of the network device comprises some or all of the following information: the world wide unique name WWN of the storage device, the WWN of the server device, the management internet protocol IP address of the switch device.
3. The method of claim 1, wherein the status identification of the network device comprises:
determining the following part or all basic information of each network device according to the device information: type, category, name;
and on a preset display interface, for each network device, adopting a preset identification strategy to identify all or part of basic information and/or all or part of network topology information of the network device.
4. The method according to any one of claims 1 to 3, wherein the configuring the network connection according to the status identifier comprises:
and after determining the connection state of each network device according to the state identifier, performing connection configuration on the network devices according to the received connection instruction.
5. The method according to any one of claims 1 to 3, wherein after the network connection configuration is performed according to the status identifier, the method further comprises:
detecting the network connection configuration according to a preset detection rule; and/or the presence of a gas in the gas,
and carrying out hardware verification on the network equipment.
6. The method according to any one of claims 1 to 3, further comprising:
classifying the network equipment according to a preset strategy, and displaying the network equipment belonging to the same classification by using the same icon; and/or the presence of a gas in the gas,
and connecting and displaying the connection between the network devices by adopting a uniform connection rule.
7. An apparatus for adapting a storage device, comprising: an identification unit and a configuration unit; wherein,
the identification unit is used for: according to the equipment information and the network topology information of the network equipment, carrying out state identification on the network equipment;
the configuration unit is used for: performing network connection configuration according to the state identifier;
wherein, the network topology information comprises the following part or all information: network location and network connection information of the network device.
8. The apparatus of claim 7, wherein the device information of the network device comprises some or all of the following information: the world wide unique name WWN of the storage device, the WWN of the server device, the management internet protocol IP address of the switch device.
9. The apparatus according to claim 7, wherein the identification unit is specifically configured to:
determining the following part or all basic information of each network device according to the device information: type, category, name;
and on a preset display interface, for each network device, adopting a preset identification strategy to identify all or part of basic information and/or all or part of network topology information of the network device.
10. The device according to any one of claims 7 to 9, wherein the configuration unit is specifically configured to:
and after determining the connection state of each network device according to the state identifier, performing connection configuration on the network devices according to the received connection instruction.
11. The device according to any one of claims 7 to 9, further comprising a monitoring unit for:
detecting the network connection configuration according to a preset detection rule; and/or the presence of a gas in the gas,
and carrying out hardware verification on the network equipment.
12. The apparatus according to any one of claims 7 to 9, further comprising a display processing unit for:
classifying the network equipment according to a preset strategy, and displaying the network equipment belonging to the same classification by using the same icon; and/or the presence of a gas in the gas,
and connecting and displaying the connection between the network devices by adopting a uniform connection rule.
13. A computer storage medium having computer-executable instructions stored therein for performing the method of adapting a storage device of any of claims 1-6.
14. A terminal, comprising: a memory and a processor; wherein,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
according to the equipment information and the network topology information of the network equipment, carrying out state identification on the network equipment;
performing network connection configuration according to the state identifier;
wherein, the network topology information comprises the following part or all information: network location and network connection information of the network device.
CN201810931597.XA 2018-08-16 2018-08-16 A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment Pending CN109150602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810931597.XA CN109150602A (en) 2018-08-16 2018-08-16 A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810931597.XA CN109150602A (en) 2018-08-16 2018-08-16 A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment

Publications (1)

Publication Number Publication Date
CN109150602A true CN109150602A (en) 2019-01-04

Family

ID=64789861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810931597.XA Pending CN109150602A (en) 2018-08-16 2018-08-16 A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment

Country Status (1)

Country Link
CN (1) CN109150602A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110661730A (en) * 2019-10-24 2020-01-07 北京锐安科技有限公司 Network switching equipment management method, device, server and storage medium
CN111865640A (en) * 2019-04-30 2020-10-30 华为技术服务有限公司 Network architecture description method and device
CN112817683A (en) * 2021-03-02 2021-05-18 深圳市东微智能科技股份有限公司 Control method, control device and medium for topological structure configuration interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683164A (en) * 2013-11-27 2015-06-03 贵州电网公司信息通信分公司 Method of generating monitoring topological graph by using simplified configuration item correlation model
US20160127471A1 (en) * 2012-07-27 2016-05-05 Hitachi, Ltd. Method and apparatus of redundant path validation before provisioning
CN107453916A (en) * 2017-08-17 2017-12-08 浪潮软件股份有限公司 A kind of topological realization method and a kind of cloud messenger service monitor supervision platform
CN108282362A (en) * 2017-12-29 2018-07-13 武汉璞华大数据技术有限公司 A kind of network topology generation method, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160127471A1 (en) * 2012-07-27 2016-05-05 Hitachi, Ltd. Method and apparatus of redundant path validation before provisioning
CN104683164A (en) * 2013-11-27 2015-06-03 贵州电网公司信息通信分公司 Method of generating monitoring topological graph by using simplified configuration item correlation model
CN107453916A (en) * 2017-08-17 2017-12-08 浪潮软件股份有限公司 A kind of topological realization method and a kind of cloud messenger service monitor supervision platform
CN108282362A (en) * 2017-12-29 2018-07-13 武汉璞华大数据技术有限公司 A kind of network topology generation method, device and equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865640A (en) * 2019-04-30 2020-10-30 华为技术服务有限公司 Network architecture description method and device
CN111865640B (en) * 2019-04-30 2023-09-26 华为技术服务有限公司 Network architecture description method, device and medium thereof
CN110661730A (en) * 2019-10-24 2020-01-07 北京锐安科技有限公司 Network switching equipment management method, device, server and storage medium
CN110661730B (en) * 2019-10-24 2022-11-08 北京锐安科技有限公司 Network switching equipment management method, device, server and storage medium
CN112817683A (en) * 2021-03-02 2021-05-18 深圳市东微智能科技股份有限公司 Control method, control device and medium for topological structure configuration interface

Similar Documents

Publication Publication Date Title
JP7293270B2 (en) FAILURE RECOVERY METHOD AND FAILURE RECOVERY DEVICE AND STORAGE MEDIUM
WO2021008031A1 (en) Processing method for implementing monitoring intellectualization on the basis of micro-services, and electronic device
US11706080B2 (en) Providing dynamic serviceability for software-defined data centers
CN107317695B (en) Method, system and apparatus for debugging network faults
US10430257B2 (en) Alarms with stack trace spanning logical and physical architecture
CN110535692B (en) Fault handling method, device, computer equipment, storage medium and storage system
US8819220B2 (en) Management method of computer system and management system
CN113973042B (en) Method and system for root cause analysis of network problems
CN107547273B (en) Method and system for guaranteeing high availability of virtual instance of power system
CN105095001A (en) Virtual machine exception recovery method under distributed environment
CN111988169B (en) A method, system, device and medium for cleaning and repairing abnormal disks on a cloud platform
CN109120522B (en) Multipath state monitoring method and device
CN109150602A (en) A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment
CN108255620A (en) A kind of business logic processing method, apparatus, service server and system
CN108845865A (en) A monitoring service deployment method, system and storage medium
CN107864055A (en) The management method and platform of virtualization system
CN109960634A (en) A kind of method for monitoring application program, apparatus and system
WO2015192664A1 (en) Device monitoring method and apparatus
CN115150252A (en) A network fault detection method, system and device
CN102143011B (en) Device and method for realizing network protection
CN105450739A (en) Monitoring and managing method for storage resource off-site and synchronous sharing in storage dual-active environment
JP2024156644A (en) How to manage servers with an IT resource management system
CN116820822A (en) A read-write link control method, device, and medium
CN118550752A (en) Cloud platform fault detection and operation and maintenance system, method, equipment and storage medium
WO2019241199A1 (en) System and method for predictive maintenance of networked devices

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104