CN103150187A - Configuration method and configuration device of network distribution equipment - Google Patents

Configuration method and configuration device of network distribution equipment Download PDF

Info

Publication number
CN103150187A
CN103150187A CN2013100842753A CN201310084275A CN103150187A CN 103150187 A CN103150187 A CN 103150187A CN 2013100842753 A CN2013100842753 A CN 2013100842753A CN 201310084275 A CN201310084275 A CN 201310084275A CN 103150187 A CN103150187 A CN 103150187A
Authority
CN
China
Prior art keywords
configuration
board
file
plate
main board
Prior art date
Application number
CN2013100842753A
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
Application filed by 航天科工深圳(集团)有限公司 filed Critical 航天科工深圳(集团)有限公司
Priority to CN2013100842753A priority Critical patent/CN103150187A/en
Publication of CN103150187A publication Critical patent/CN103150187A/en

Links

Abstract

The invention discloses a configuration method and a configuration device of network distribution equipment. The method comprises the steps of establishing a temporary configuration directory corresponding to each slave board in a file system of a mainboard, and allowing a maintenance terminal to send a configuration file to the mainboard, wherein the configuration file comprises a mainboard configuration file and a slave board configuration file; the mainboard sends the slave board configuration file to the corresponding slave boards; and after the slave board configuration file is sent, a configuration directory mirror corresponding to each slave board is established on the mainboard. The configuration file is configured correspondingly according to different link conditions of a site, for example, a link is in an encryption state and the link is in an unencryption state, and even if the slave boards work abnormally or cannot be communicated with the mainboard normally, the maintenance terminal can acquire the configuration directory mirror corresponding to each slave board from the mainboard for analysis, so that errors of the configuration file can be troubleshot; the efficiency is improved; the configuration time of the maintenance terminal is saved; remote configuration is effective and rapid; and the maintenance cost is lowered.

Description

一种配网设备的配置方法和装置 And a method for configuring network devices with device

技术领域 FIELD

[0001] 本发明涉及智能电网领域,尤其涉及一种配网设备的配置方法和装置。 [0001] The present invention relates to the field of smart grid, in particular, it relates to a method and apparatus configured with network equipment.

背景技术 Background technique

[0002] 在智能电网中,越来越多的配网设备被安装和被使用,目前,在调试和开通配网设备的过程中,维护人员需要对配网设备的配置文件进行配置,假定有多个配置文件需要配置的情况下,维护人员一般需要通过FTP (File Transfer Protocol,文件传输协议)的方式远程登录到配网设备,对配网设备进行管理,也就是说,这种情况下,配网设备需要启动FTP协议服务。 [0002] In a smart grid, a growing number of distribution network equipment is installed and used, at present, in the process of commissioning and opening of the distribution network equipment, the maintenance personnel need to configure your distribution network equipment configuration file, assuming the case of multiple configuration files to be configured and maintenance personnel generally need to log in through a remote FTP (file transfer protocol, file transfer protocol) is the way to distribution network equipment, distribution network equipment management, that is to say, in this case, distribution network equipment need to start the FTP protocol service.

[0003] 针对大量的配网设备,使用FTP这种方式对配网设备进行管理的效率不高,维护人员需要重复地打开,关闭,然后建立连接。 [0003] for a large number of distribution network equipment, efficient use of FTP this way to manage the distribution network equipment is not high, maintenance personnel need to be repeatedly opened, closed, and then establish a connection. 另外,对于加密链路,FTP这种配置方式一般无法使用。 Further, the encryption links, FTP this configuration can not be used generally.

发明内容 SUMMARY

[0004] 本发明要解决的技术问题在于,针对现有技术通过FTP方式管理配网设备效率不高的缺陷,提供一种提高效率的配网设备的配置方法和装置 [0004] The present invention is to solve the technical problem, the prior art through FTP distribution network equipment management efficiency high defect, there is provided a method of increasing the efficiency of the configuration of the distribution network equipment and devices

本发明解决其技术问题所采用的技术方案是:提供一种配网设备的配置方法,所述配网设备与维护端通过以太网通信连接,所述配网设备包括主板和多个从板,所述主板与每个从板之间通过总线通信连接;所述配置方法包括: The present invention solves the technical problem using the technical solution is: to provide a distribution network device configuration, and maintenance of the distribution network equipment via Ethernet communication terminal, the apparatus comprising a main board and a distribution network from a plurality of panels, the motherboard connected to each of the communication through the bus between the plates; the configuration method comprising:

51.在所述主板的文件系统中建立每个从板所对应的临时配置目录; Establishing a temporary configuration directory 51. Each plate from the board corresponding to the file system;

52.所述维护端向所述主板下发配置文件,其中,所述配置文件包括主板配置文件和从板配置文件; 52. The maintenance terminal configuration file sent to the main board, wherein the profile includes a main configuration file and configuration files from the plate;

53.所述主板将所述从板配置文件下发至对应的从板; 53. The configuration of the main board from the plate from the plate corresponding to the document by;

54.等待所述从板配置文件下发完毕后,在所述主板上建立每个从板所对应的配置目 54. After waiting for completion of the document by the configuration from the plate, the establishment of each configuration corresponding to the destination on the main board from the plate

录镜像。 Recorded image.

[0005] 优选地,所述配置文件由下行过程和上行过程实现配置。 [0005] Preferably, the configuration file for configuration of the downlink and uplink during the process.

[0006] 优选地,所述下行过程具体包括: [0006] Preferably, the downstream process comprises:

Al.所述维护端向所述主板发送所述配置文件的更新命令; . Al of the maintenance terminal transmits the configuration file of the update command to the motherboard;

B1.在所述主板收到并确认所述更新命令后向所述主板发送待更新的板卡标识列表;Cl.在所述主板的文件系统中创建不同的临时配置目录,并且通过遍历所述临时配置目录生成板卡文件列表; . Bl received and confirmed the motherboard after the update command to be sent to update the list of identification card motherboard; CI arranged to create different temporary directory file system of the main board, and by the traversing. temporary board configuration directory generate a list of files;

Dl.所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件; . Dl of the maintenance end of the configuration file according to the file to request the list of the board Board transmitted fragments;

El.等待所述主板将所述配置文件下发完毕后,依次将所述从板配置文件下发至对应的从板中; . El waiting for said main board document issued after the configuration is completed, sequentially arranged from the plate corresponding to the document by the plate;

Fl.将所述主板配置文件更新至所述主板的本地配置目录中,同时将所述从板配置文件更新至所述主板的文件系统中。 Fl. The main board to the main board profile updating local configuration directory, while the updated profile from the plate to the board file system. [0007] 优选地,所述上行过程具体包括: [0007] Preferably, the uplink process comprises:

A2.所述维护端向所述主板发送所述配置文件的召唤命令; . A2 sends the configuration of the maintenance command file to call the main board;

B2.在所述主板收到并确认所述召唤命令后向所述主板发送当前板卡标识列表的请求命令; . B2 the motherboard to confirm receipt of the call and transmits this command identification card list request command to the main board;

C2.所述主板在收到所述请求命令后,获取主板配置标识和从板配置镜像标识,并且向所述维护端发送所述当前板卡标识列表; . C2 of the main board after receiving the request command, and acquires the motherboard configuration identifier from the identification plate mirroring configuration, and to maintain the current card sends the identification list;

D2.所述主板接收到当前板卡标识列表之后,根据所述主板配置标识和所述从板配置镜像标识生成临时配置目录,并通过遍历所述临时配置目录生成板卡文件列表; . D2 of the main board after receiving this board identifier list, according to the main board and the slave board configuration identifier configured to generate a temporary image configuration directory identification and file list generated by the card traverses the temporary directory configuration;

E2.所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件; . E2 of the maintenance end according to the configuration file to the card to request the file list transmitted fragment motherboard;

F2.所述主板接收到所述请求后,将向所述维护端分片发送所述配置文件; After the main plate F2 receiving the request, will send the fragments maintain the end profile;

G2.直到所述配置文件发送完毕之后,所述维护端将所述配置文件更新至所述主板的本地配置目录。 G2. Profile until after the transmission is completed, the terminal maintains the configuration file to update the local configuration directory board.

[0008] 优选地,所述总线包括CAN总线、RS485总线和RS232总线。 [0008] Preferably, said bus comprises a CAN bus, RS485 and RS232 bus bus.

[0009] 本发明还提供一种配网设备的配置装置,所述配网设备与维护端通过以太网通信连接,所述配网设备包括主板和多个从板,所述主板与每个从板之间通过总线通信连接;所述配置装置包括: [0009] The present invention also provides a device configured with network equipment, network equipment and the maintenance of the distribution terminal connected via Ethernet communications, the apparatus includes a main distribution network and from a plurality of panels, each from the motherboard and connected through a bus communication between the plates; the configuration means comprises:

第一建立模块,用于在所述主板的文件系统中建立每个从板所对应的临时配置目录;第一下发模块,与所述第一建立模块连接,用于所述维护端向所述主板下发配置文件,其中,所述配置文件包括主板配置文件和从板配置文件; A first establishing module for establishing the motherboard temporary file system directory configuration corresponding to each of the plate; a first delivery module with the first connection establishing module, configured to maintain the end issued configuration file said motherboard, wherein said profile includes a main configuration file and configuration files from the plate;

第二下发模块,与所述第一下发模块连接,用于所述主板将所述从板配置文件下发至对应的从板; The second delivery module, connected to the first delivering module, configured for the main board from the plate from the plate corresponding to the document by;

第二建立模块,与所述第二下发模块连接,用于等待所述从板配置文件下发完毕后,在所述主板上建立每个从板所对应的配置目录镜像。 Establishing a second module connected to the second delivery module, after waiting for completion of the document by the configuration from the plate, to establish each of the corresponding directory from the mirror plate is disposed on the main board.

[0010] 优选地,所述配置文件由下行单元和上行单元实现配置。 [0010] Preferably, the configuration file for configuration of the downlink and uplink component unit.

[0011 ] 优选地,所述下行单元具体包括: [0011] Preferably, the downlink unit comprises:

发送子单元,用于所述维护端向所述主板发送所述配置文件的更新命令; Sending subunit, for maintaining the configuration update command sends the file to the motherboard;

确认子单元,与所述发送子单元连接,用于在所述主板收到并确认所述更新命令后向所述主板发送待更新的板卡标识列表; Determining sub-unit connected to the sending subunit, configured to send the confirmation to be received and the main board to the main board update command to update the list of identification card;

创建子单元,与所述确认子单元连接,用于在所述主板的文件系统中创建不同的临时配置目录,并且通过遍历所述临时配置目录生成板卡文件列表; Creating subunit, subunit confirm connection, arranged for creating a different temporary directory on the motherboard with the file system, and generates a file list board by traversing the temporary directory configuration;

第一请求子单元,与所述创建子单元连接,用于所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件; Request a first sub-unit, connected to the creating subunit, for maintaining the end of the board according to the configuration file list request to send the file fragment to the motherboard;

等待子单元,与所述第一请求子单元连接,用于等待所述主板将所述配置文件下发完毕后,依次将所述从板配置文件下发至对应的从板中; Wait subunit, the subunit connected to the first request, wait for the configuration of the board will complete document by sequentially disposed from the plate corresponding to the document by the plate;

第一更新子单元,与所述等待子单元连接,用于所述将所述主板配置文件更新至所述主板的本地配置目录中,同时将所述从板配置文件更新至所述主板的文件系统中。 A first updating sub-unit, and waits for the sub-unit connected to the motherboard for the updated profile to the local configuration directory board, while the updated profile from the plate to the board file system.

[0012] 优选地,所述上行单元具体包括: [0012] Preferably, the upstream unit comprises:

召唤子单元,用于所述维护端向所述主板发送所述配置文件的召唤命令; Subunit call, call for the maintenance command sends the configuration file to the motherboard;

第二请求子单元,与所述召唤子单元连接,用于在所述主板收到并确认所述召唤命令后向所述主板发送当前板卡标识列表的请求命令; Subunit second request, the call sub-unit connected to the motherboard for receipt of said call and confirm the current card ID list command transmission request command to the motherboard;

获取子单元,与所述第二请求子单元连接,用于所述主板在收到所述请求命令后,获取主板配置标识和从板配置镜像标识,并且向所述维护端发送所述当前板卡标识列表; Acquisition sub-unit, connected to the second request sub-unit, for the main board after receiving the request command, and acquires the motherboard configuration identifier from the identification plate configuration images, and to the maintenance of the current transmission end plate card identification list;

生成子单元,与所述获取子单元连接,用于所述主板接收到当前板卡标识列表之后,根据所述主板配置标识和所述从板配置镜像标识生成临时配置目录,并通过遍历所述临时配置目录生成板卡文件列表; Generating sub-unit, connected to the obtaining sub-unit, for receiving the current of the main board after the board identifier list, configured to generate a temporary image identifier according to the configuration directory plate from the main board and the configuration identifier, and by traversing the temporary board configuration directory generate a list of files;

第三请求子单元,与所述生成子单元连接,用于所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件; Request a third sub-unit, connected to the generating sub-unit, for maintaining the end of the board according to the configuration file list request to send the file fragment to the motherboard;

分片子单元,与所述第三请求子单元连接,用于所述主板接收到所述请求后,将向所述维护端分片发送所述配置文件; Sub-film unit, connected to the third request sub-unit, for the main board after receiving the request, will send the fragments maintain the end profile;

第二更新子单元,与所述分片子单元连接,用于直到所述配置文件发送完毕之后,所述维护端将所述配置文件更新至所述主板的本地配置目录。 The second update sub-unit connected to the sub-film unit after the configuration file for until the transmission is completed, the terminal maintains the configuration file to update the local configuration directory board.

[0013] 优选地,所述总线包括CAN总线、RS485总线和RS232总线。 [0013] Preferably, said bus comprises a CAN bus, RS485 and RS232 bus bus.

[0014] 实施本发明的技术方案,具有以下有益效果:根据现场的不同链路情况对配置文件进行相应的配置,例如链路处于加密状态和链路处于非加密状态,即使从板工作异常时或与主板无法正常通信的情况下,维护端也可从主板中获取每个从板所对应的配置目录镜像进行分析,从而及时排查配置文件的错误,提高了配网设备配置的效率;该技术方案较大的节省维护端的配置时间,并且可以有效且快速的进行远程配置,从而降低了维护的成本。 [0014] The technical solutions of embodiments of the present invention has the following advantages: according to different links of the scene corresponding to the profile configuration, such as a link in the link is encrypted and non-encrypted state, even when not working from the plate or maintenance terminal can not acquire the normal communication from the motherboard motherboard from each of the corresponding mirror plate configuration directory for analysis, and timely investigation so that the error profile, improve the efficiency of the distribution network device configuration; the technique save maintenance program configuration time larger end, and can be efficiently and quickly configured remotely, thereby reducing maintenance costs.

[0015] 另外,由于下行过程中,在主板中保存了每个从板所对应的配置目录镜像,所以在上行过程中,不需要主板向从板召唤配置文件,从而大大节省了维护端召唤配置文件的时间。 [0015] Further, since the downstream process, save the configuration directory for each image from the plate corresponding to the motherboard, the uplink process, the motherboard does not need to call from the plate profile, thus saving maintenance call end configuration time of the file.

附图说明 BRIEF DESCRIPTION

[0016] 下面将结合附图及实施例对本发明作进一步说明,附图中: [0016] The accompanying drawings and the following embodiments of the present invention is further illustrated drawings in which:

图1是本发明配网设备的配置方法的流程图; FIG 1 is a flowchart of a method of the present invention is configured with a network device;

图2是本发明下行过程的流程图; FIG 2 is a flowchart of the downlink process of the present invention;

图3是本发明上行过程的流程图; 3 is a flowchart of the uplink process of the present invention;

图4是本发明配网设备的配置装置的结构示意图; FIG 4 is a schematic diagram of the distribution network configuration device of the apparatus of the present invention;

图5是本发明下行单元的结构示意图; FIG 5 is a schematic diagram of downlink unit of the invention;

图6是本发明上行单元的结构示意图。 FIG 6 is a schematic diagram of uplink unit of the invention.

具体实施方式 Detailed ways

[0017] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0017] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0018] 实施例一: [0018] Example a:

在本实施例中,为了对配网设备实现配置,该配网设备与维护端通过以太网通信连接,其中,所述配网设备包括主板和多个从板,所述主板与每个从板之间通过总线通信连接,该总线包括CAN总线、RS485总线和RS232总线。 In the present embodiment, in order to realize the configuration of the distribution network equipment, the network equipment with Ethernet communication and maintenance through a connection terminal, wherein the apparatus comprises a main board and a distribution network from a plurality of panels, each of said main board and the slave board communication via a bus connection between the bus comprises a CAN bus, RS485 and RS232 bus bus. [0019] 应当解释的是,一般情况下,主板和从板一般各自维护自己的配置文件,该配网设备与维护端之间的传输速度往往在几十千字节/秒,甚至几百千字节/秒,而主板和每个从板之间的传输速度则仅有几千字节/秒,甚至几百字节/秒,针对配网设备而言,为了缓解这种传输速度上的差异,提供了一种配网设备的配置方法。 [0019] It should be explained that, under normal circumstances, the main board and the slave board ships are maintained its own configuration file, the transmission speed between the distribution network and the maintenance terminal equipment often several tens of kilobytes / sec, or even a few hundred one thousand bytes / sec, while the board and each of the transfer speed between the plates only a few thousand bytes / sec, or even a few hundred bytes / sec, for the purposes of distribution network equipment, in order to ease the transmission speed of this difference, a method for configuring network distribution device.

[0020] 请参阅图1,图1是本发明配网设备的配置方法的流程图,如图1所示,所述配置方法包括: [0020] Referring to FIG. 1, FIG. 1 is a flowchart of a method of distribution network configuration device of the present invention, shown in Figure 1, the configuration method comprising:

在步骤SI中,在所述主板的文件系统中建立每个从板所对应的临时配置目录。 In step SI, the establishment of a temporary directory configuration corresponding to each of the file system from the plate in the board.

[0021 ] 在步骤S2中,所述维护端向所述主板下发配置文件,其中,所述配置文件包括主板配置文件和从板配置文件。 [0021] In step S2, the remote end of the maintenance of the configuration file to the main board, wherein the profile includes a main configuration file and configuration files from the plate.

[0022] 在步骤S3中,所述主板将所述从板配置文件下发至对应的从板,这时维护端的工作结束。 [0022] In step S3, the main board to the document by a corresponding configuration of the plate from the plate, then the end of the maintenance work end.

[0023] 在步骤S4中,等待所述从板配置文件下发完毕后,在所述主板上建立每个从板所对应的配置目录镜像。 After [0023] In step S4, waiting for completion of the document by the configuration from the plate, to establish each of the corresponding directory from the mirror plate is disposed on the main board. 应当解释的是,在本实施例中,该临时配置目录只是一个缓冲区,而配置目录镜像则是每个从板配置在主板上的拷贝。 It should be explained that in the embodiment, the directory configuration is only a temporary buffer in the present embodiment, the configuration directory from the mirror copy of each plate is arranged on the motherboard.

[0024] 值得注意的是,这种配置方法可以根据现场的不同链路情况对配置文件进行相应的配置,例如链路处于加密状态和链路处于非加密状态,即使从板工作异常时或与主板无法正常通信的情况下,维护端也可从主板中获取每个从板所对应的配置目录镜像进行分析,从而及时排查配置文件的错误,提高了配网设备配置的效率;该技术方案较大的节省维护端的配置时间,并且可以有效且快速的进行远程配置,从而降低了维护的成本。 [0024] Notably, this configuration may be appropriate depending on the configuration of the profile link of the scene, such as a link in the link is encrypted and non-encrypted state, even when the work from the abnormality or plate board case where normal communication can not maintain an end is also available from the system board from each of the corresponding mirror plate configuration directory for analysis, and timely investigation so that the error profile, improve the efficiency of the distribution network device configuration; more of the technical solutions Great time saving configuration maintenance terminal, and can efficiently and rapidly configure remotely, thereby reducing maintenance costs.

[0025] 实施例二: [0025] Example II:

应当说明的是,该配置文件由下行过程和上行过程实现配置,下行过程实际上指的是下载过程,上行过程实际上指的是上传过程,本领域的技术人员应当了解,在此不再赘述。 It should be noted that the configuration file is implemented by process configuration downlink and uplink processes, downstream processes actually refers to the download process, the process of actually refers to an uplink uploading process, those skilled in the art will appreciate, are not repeated here .

[0026] 请结合参阅图2,图2是本发明下行过程的流程图,如图2所示,所述下行过程具体包括: [0026] Please refer to FIG. 2 in conjunction with FIG. 2 is a flowchart of the downlink process of the present invention, the process shown in FIG. 2 downlink comprises:

在步骤Al中,所述维护端向所述主板发送所述配置文件的更新命令。 In step Al, the update command terminal maintains the configuration file transmitted to the main board.

[0027] 在步骤BI中,在所述主板收到并确认所述更新命令后向所述主板发送待更新的板卡标识列表。 [0027] In the BI step, the motherboard is received and confirmed to be transmitted to the motherboard update command to update the list of identification cards.

[0028] 在步骤Cl中,在所述主板的文件系统中创建不同的临时配置目录,并且通过遍历所述临时配置目录生成板卡文件列表。 [0028] In step Cl, create different temporary configuration directory of the file system board, the board and traversing the file list generated by the configuration of the temporary directory.

[0029] 在步骤Dl中,所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件。 [0029] At step Dl, the end of the maintenance request transmission of the motherboard fragment according to the configuration file and the card file list.

[0030] 在步骤El中,等待所述主板将所述配置文件下发完毕后,依次将所述从板配置文件下发至对应的从板中。 After [0030] In Step El, the board will wait for the completion of the configuration document by sequentially to a document by the corresponding configuration from the plate from the plate.

[0031 ] 在步骤Fl中,所述将所述主板配置文件更新至所述主板的本地配置目录中,同时将所述从板配置文件更新至所述主板的文件系统中。 [0031] In Step Fl, the configuration file is updated the main board to the main board of the local configuration directory, while the updated profile from the plate to the board file system.

[0032] 经过步骤Al至F1,该配网设备可以重新加载配置文件了,表示该配置文件的下行过程也结束。 [0032] After step Al to F1, the distribution network device can reload the configuration file, the configuration file indicates downlink process is also ended.

[0033] 请结合参阅图3,图3是本发明上行过程的流程图,如图3所示,所述上行过程具体包括: 在步骤A2中,所述维护端向所述主板发送所述配置文件的召唤命令; [0033] Please refer to FIG. 3 in conjunction with FIG. 3 is a flowchart of the uplink process of the present invention, shown in Figure 3, the uplink process comprises: In step A2, the terminal transmits to the main board to maintain the configuration the call command file;

在步骤B2中,在所述主板收到并确认所述召唤命令后向所述主板发送当前板卡标识列表的请求命令。 In step B2, the motherboard is received and confirmed command is sent after the current call identification card list request command to the main board.

[0034] 在步骤C2中,所述主板在收到所述请求命令后,获取主板配置标识和从板配置镜像标识,并且向所述维护端发送所述当前板卡标识列表。 [0034] In step C2, the main board after receiving the request command, and acquires the motherboard configuration identifier from the identification plate configuration images, and transmits the list to the current card maintenance terminal identifier.

[0035] 在步骤D2中,所述主板接收到当前板卡标识列表之后,根据所述主板配置标识和所述从板配置镜像标识生成临时配置目录,并通过遍历所述临时配置目录生成板卡文件列表。 After [0035] In step D2, the motherboard receiving the current list of identification cards, according to the main board and the slave board configuration identifier configured to generate a temporary image configuration directory identifier, and generates the temporary card configuration by traversing the directory File List.

[0036] 在步骤E2中,所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件。 [0036] In step E2, the transmitting side maintains the configuration file according to the file request list board motherboard fragment.

[0037] 在步骤F2中,所述主板接收到所述请求后,将向所述维护端分片发送所述配置文件。 After [0037] In Step F2 of, the motherboard receiving the request, will send the fragments maintain the end profile.

[0038] 在步骤G2中,直到所述配置文件发送完毕之后,所述维护端将所述配置文件更新至所述主板的本地配置目录。 [0038] In Step G2, and then sends the configuration file is completed until the end of the maintenance update the configuration file to the local configuration directory board.

[0039] 经过步骤A2至G2,该维护端重新初始化所有的配置文件,表示该配置文件的上行过程也结束。 [0039] through steps A2 to G2, the maintenance end reinitialize all the profiles, the profile indicates the uplink process is also ended.

[0040] 应当说明的是,由于下行过程中,在主板中保存了每个从板所对应的配置目录镜像,所以在上行过程中,不需要主板向从板召唤配置文件,从而大大节省了维护端召唤配置文件的时间。 [0040] It should be noted that, due to the downlink process, each of the stored corresponding directory from the mirror plate is disposed on the motherboard, so that the upstream process, the motherboard does not need to call from the plate profile, thus saving maintenance call end time profile.

[0041] 本领域普通技术人员可以理解实现上述各实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,相应的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如R0M/RAM、磁盘或光盘等。 [0041] Those of ordinary skill in the art may understand that the above embodiments all or part of the method steps may be relevant hardware instructed by a program, the corresponding program may be stored in a computer readable storage medium, the described storage medium, such as R0M / RAM, magnetic disk, or optical disk.

[0042] 实施例三: [0042] Example III:

应当解释的是,本实施例是与实施例一对应的装置构造,请参阅图4,图4是本发明配网设备的配置装置的结构示意图,如图4所示,所述配置装置包括依次连接的第一建立模块101、第一下发模块102、第二下发模块103和第二建立模块104,下面具体介绍各个部分的作用: Should be construed that the present embodiment is a device with a configuration corresponding to the embodiment embodiment, see FIG. 4, FIG. 4 is a schematic view of the apparatus of the present invention is configured with a network device, shown in Figure 4, the apparatus comprises sequentially arranged a first connection establishing module 101, a first delivering module 102, a second delivery module 103 and a second establishing module 104, the following specific description of the function of each part:

第一建立模块101,用于在所述主板的文件系统中建立每个从板所对应的临时配置目录。 A first establishing module 101, configured to establish temporary directory configuration corresponding to each of the board from the plate in the file system.

[0043] 第一下发模块102,与所述第一建立模块连接,用于所述维护端向所述主板下发配置文件,其中,所述配置文件包括主板配置文件和从板配置文件。 [0043] The first delivering module 102, the first connection establishment module configured to send said service profile to the end of the main board, wherein the profile includes a main configuration file and configuration files from the plate.

[0044] 第二下发模块103,与所述第一下发模块连接,用于所述主板将所述从板配置文件下发至对应的从板。 [0044] The second delivery module 103, connected to the first delivering module, configured for the main board from the plate from the plate corresponding to the document by.

[0045] 第二建立模块104,与所述第二下发模块连接,用于等待所述从板配置文件下发完毕后,在所述主板上建立每个从板所对应的配置目录镜像。 [0045] The second establishing module 104, connected to the second delivery module, after waiting for completion of the document by the configuration from the plate, to establish each of the corresponding directory from the mirror plate is disposed on the main board.

[0046] 实施例四: [0046] Example IV:

在本实施例中,所述配置文件由下行单元和上行单元实现配置。 In the present embodiment, the configuration file for configuration of the downlink and uplink component unit. 应当解释的是,本实施例是与实施例二对应的装置构造,请结合参阅图5,图5是本发明下行单元的结构示意图,如图5所示,所述下行单元具体包括发送子单元201、确认子单元202、创建子单元203、第一请求子单元204、等待子单元205和第一更新子单元206,下面具体介绍各个部分的作用:发送子单元201,用于所述维护端向所述主板发送所述配置文件的更新命令。 Should be construed that the present embodiment is configured with the apparatus according to the second embodiment corresponds, in conjunction please refer to FIG. 5, FIG. 5 is a schematic structural diagram of a downlink unit of the invention, shown in Figure 5, the downlink transmitting unit comprises subunit 201, determining sub-unit 202, creating sub-unit 203, a first request sub-unit 204, and waits for a first sub-unit 205 updating sub-unit 206, the following specific description of the function of each part: sending subunit 201 is configured to maintain the end the configuration file update command sent to the main board.

[0047] 确认子单元202,用于在所述主板收到并确认所述更新命令后向所述主板发送待更新的板卡标识列表。 [0047] determining sub-unit 202 is configured to be received and acknowledge sending updates to the board is the board command identifier in the update list of the main board.

[0048] 创建子单元203,用于在所述主板的文件系统中创建不同的临时配置目录,并且通过遍历所述临时配置目录生成板卡文件列表。 [0048] Create subunit 203, configured to create a different temporary directory in the file system board, board and generates a list of files of the temporary configuration by traversing the directory.

[0049] 第一请求子单元204,用于所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件。 [0049] The first request sub-unit 204, for maintaining the transmitting end of the profile of the card to request the file list according to the motherboard fragment.

[0050] 等待子单元205,用于等待所述主板将所述配置文件下发完毕后,依次将所述从板配置文件下发至对应的从板中。 [0050] After waiting for sub-unit 205, the main board for waiting for completion of the document by the configuration, sequentially arranged from the plate corresponding to the document by the plate.

[0051] 第一更新子单元206,用于所述将所述主板配置文件更新至所述主板的本地配置目录中,同时将所述从板配置文件更新至所述主板的文件系统中。 [0051] a first updating sub-unit 206, the main board for the updated profile to the local configuration directory board, while the updated profile from the plate to the board file system.

[0052] 请结合参阅图6,图6是本发明上行单元的结构示意图,如图6所示,所述上行单元具体包括依次连接的召唤子单元301、第二请求子单元302、获取子单元303、生成子单元304、第三请求子单元305、分片子单元306和第二更新子单元307,下面介绍各个部分的作用: [0052] Please refer to FIG. 6 in conjunction with FIG. 6 is a schematic view of the present invention, an uplink unit, shown in Figure 6, the uplink sub-unit comprises call unit 301 are sequentially connected, a second sub-unit 302 requesting, obtaining subunit 303, generating sub-unit 304, a third request sub-unit 305, unit 306, and a second sub-film updating sub-unit 307, the following describes the function of each section:

召唤子单元301,用于所述维护端向所述主板发送所述配置文件的召唤命令。 Subunit call 301, call for the maintenance command sends the configuration file to the motherboard.

[0053] 第二请求子单元302,用于在所述主板收到并确认所述召唤命令后向所述主板发送当前板卡标识列表的请求命令。 [0053] The second sub-unit 302 a request for confirmation of the receipt of the call and the current card ID list command transmission request command to the main board in the board.

[0054] 获取子单元303,用于所述主板在收到所述请求命令后,获取主板配置标识和从板配置镜像标识,并且向所述维护端发送所述当前板卡标识列表。 [0054] acquisition sub-unit 303, for the main board after receiving the request command, and acquires the motherboard configuration identifier from the identification plate mirroring configuration, and maintenance identification card sends the list to the current.

[0055] 生成子单元304,用于所述主板接收到当前板卡标识列表之后,根据所述主板配置标识和所述从板配置镜像标识生成临时配置目录,并通过遍历所述临时配置目录生成板卡文件列表。 After the [0055] generation subunit 304, the main board for receiving the current list of identification cards, according to the main board and the slave board configuration identifier configured to generate a temporary image configuration directory identifier, and the temporary configuration by traversing the directory generated card file list.

[0056] 第三请求子单元305,用于所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件。 [0056] The third sub-unit 305 requests, to the end of maintaining the configuration of the transmitting board Board requesting the file list according to file fragmentation.

[0057] 分片子单元306,用于所述主板接收到所述请求后,将向所述维护端分片发送所述配置文件。 [0057] The film unit 306 minutes, after the main board for receiving the request, will send the fragments maintain the end profile.

[0058] 第二更新子单元307,用于直到所述配置文件发送完毕之后,所述维护端将所述配置文件更新至所述主板的本地配置目录。 [0058] The second update sub-unit 307, for transmitting until after the completion of the configuration file, the terminal maintains the configuration file to update the local configuration directory board.

[0059] 以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0059] The above description is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the invention as claimed in claims.

Claims (10)

1.一种配网设备的配置方法,所述配网设备与维护端通过以太网通信连接,所述配网设备包括主板和多个从板,所述主板与每个从板之间通过总线通信连接;其特征在于,所述配置方法包括: 51.在所述主板的文件系统中建立每个从板所对应的临时配置目录; 52.所述维护端向所述主板下发配置文件,其中,所述配置文件包括主板配置文件和从板配置文件; 53.所述主板将所述从板配置文件下发至对应的从板; 54.等待所述从板配置文件下发完毕后,在所述主板上建立每个从板所对应的配置目录镜像。 1. A method for configuring network distribution apparatus, the distribution and maintenance of network devices connected via Ethernet communication terminal, the apparatus comprising a main board and a distribution network from a plurality of panels, each of said main board and from between the plates by a bus a communication connection; characterized in that said configuration method comprising: establishing a temporary 51. the configuration of each directory corresponding to the file system from the plate in the board; the maintenance terminal 52. the send the configuration file to the motherboard, wherein said profile includes a main configuration file and configuration files from the plate; the configuration of the main board 53. the document issued from the plate corresponding to the plate; 54. after waiting for completion of the configuration document issued from the plate, establishing from each of the corresponding mirror plate configuration directory on the main board.
2.根据权利要求1所述的配置方法,其特征在于,所述配置文件由下行过程和上行过程实现配置。 2. The allocation method according to claim 1, wherein the configuration file for configuration processes the downlink and uplink processes.
3.根据权利要求2所述的配置方法,其特征在于,所述下行过程具体包括: Al.所述维护端向所述主板发送所述配置文件的更新命令; B1.在所述主板收到并确认所述更新命令后向所述主板发送待更新的板卡标识列表;Cl.在所述主板的文件系统中创建不同的临时配置目录,并且通过遍历所述临时配置目录生成板卡文件列表; Dl.所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件; El.等待所述主板将所述配置文件下发完毕后,依次将所述从板配置文件下发至对应的从板中; Fl.将所述主板配置文件更新至所述主板的本地配置目录中,同时将所述从板配置文件更新至所述主板的文件系统中。 3. The allocation method according to claim 2, wherein the downlink process comprises:.. Al the end of the maintenance of the profile update command to the transmitting motherboard; Bl receive the motherboard and confirmation is sent to the main board to be updated after updating the command card identification list; CI arranged to create different temporary directory file system of the main board, the board and generates a list of files of the temporary configuration by traversing the directory. ;. Dl of the maintenance and the card sends the configuration request list file according to the file fragment of the motherboard;. El board will wait for the document by the configuration has been completed, sequentially from the profile plate issued to a corresponding plate from; Fl updated profile to the main board of the main board local configuration directory, while the updated profile from the plate to the board file system.
4.根据权利要求2所述的配置方法,其特征在于,所述上行过程具体包括: A2.所述维护端向所述主板发送所述配置文件的召唤命令; B2.在所述主板收到并确认所述召唤命令后向所述主板发送当前板卡标识列表的请求命令; C2.所述主板在收到所述请求命令后,获取主板配置标识和从板配置镜像标识,并且向所述维护端发送所述当前板卡标识列表; D2.所述主板接收到当前板卡标识列表之后,根据所述主板配置标识和所述从板配置镜像标识生成临时配置目录,并通过遍历所述临时配置目录生成板卡文件列表; E2.所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件; F2.所述主板接收到所述请求后,将向所述维护端分片发送所述配置文件; G2.直到所述配置文件发送完毕之后,所述维护端将所述配置文件更新至所述主板的本地配置目录。 4. A configuration method according to claim 2, wherein the uplink process comprises:.. A2 of the maintenance command terminal of the call profile to the motherboard transmission; B2 receive the motherboard and command transmitting call confirm the current card ID list request command to the main board;. C2 of the main board after receiving the request command, and acquires the motherboard configuration identifier from the identification plate mirror configuration, and said to maintaining the current card sends the identification list;. D2 of the main board after receiving this board identifier list, configured to generate a temporary image identifier according to the configuration directory plate from the main board and the configuration identifier, and by traversing the temporary generating a list file configuration directory board;. the maintenance end E2 of the card sending the configuration request list file according to the file fragment of the motherboard;. F2 after the request is received the main board, the maintenance will be transmit end fragments the configuration file;. G2 until after the configuration file has been sent, the maintenance terminal to update the configuration file to the local configuration directory board.
5.根据权利要求1所述的方法,其特征在于,所述总线包括CAN总线、RS485总线和RS232总线。 5. The method according to claim 1, characterized in that said bus comprises a CAN bus, RS485 and RS232 bus bus.
6.一种配网设备的配置装置,所述配网设备与维护端通过以太网通信连接,所述配网设备包括主板和多个从板,所述主板与每个从板之间通过总线通信连接;其特征在于,所述配置装置包括: 第一建立模块,用于在所述主板的文件系统中建立每个从板所对应的临时配置目录;第一下发模块,与所述第一建立模块连接,用于所述维护端向所述主板下发配置文件,其中,所述配置文件包括主板配置文件和从板配置文件; 第二下发模块,与所述第一下发模块连接,用于所述主板将所述从板配置文件下发至对应的从板; 第二建立模块,与所述第二下发模块连接,用于等待所述从板配置文件下发完毕后,在所述主板上建立每个从板所对应的配置目录镜像。 A distribution network device configuration means, the distribution and maintenance of network devices connected via Ethernet communication terminal, the apparatus comprising a main board and a distribution network from a plurality of panels, each of the main plate from the plate and between the bus a communication connector; wherein said configuration means comprises: a first establishing module for establishing a temporary directory configuration corresponding to each of the board from the plate in the file system; issued a first module, with the first a connection establishing module configured to send said service profile to the end of the main board, wherein the profile includes a main profile and profile from the plate; a second delivery module, with the first delivery module connected to the main board for the configuration corresponding to the document by the plate from the plate; a second establishing module connected to the second delivery module, after waiting for completion of the document by the configuration from the plate establishing from each of the corresponding mirror plate configuration directory on the main board.
7.根据权利要求6所述的配置装置,其特征在于,所述配置文件由下行单元和上行单元实现配置。 7. The configuration of the apparatus according to claim 6, wherein the configuration file for configuration of uplink and downlink component unit.
8.根据权利要求7所述的配置装置,其特征在于,所述下行单元具体包括: 发送子单元,用于所述维护端向所述主板发送所述配置文件的更新命令; 确认子单元,与所述发送子单元连接,用于在所述主板收到并确认所述更新命令后向所述主板发送待更新的板卡标识列表; 创建子单元,与所述确认子单元连接,用于在所述主板的文件系统中创建不同的临时配置目录,并且通过遍历所述临时配置目录生成板卡文件列表; 第一请求子单元,与所述创建子单元连接,用于所述维护端根据所述板卡文件列表请求所述主板分片发送所述配置文件; 等待子单元,与所述第一请求子单元连接,用于等待所述主板将所述配置文件下发完毕后,依次将所述从板配置文件下发至对应的从板中; 第一更新子单元,与所述等待子单元连接,用于所述将所述主板配置文件更新至 8. The configuration of the apparatus according to claim 7, characterized in that said downlink means comprises: a sending subunit, configured to send the file to the end of the main board to maintain the update command; acknowledgment subunit, sub-unit connected to the transmission, receipt and confirmation for the update command to be sent to update the list of identification cards in said main motherboard; creating subunit, connected with the acknowledgment subunit, for Create the file system motherboard configuration different temporary directory, and generates a file list board by traversing the temporary directory configuration; request a first sub-unit, connected to the creating subunit, for the maintenance end according to the the board of the motherboard list file request to send the configuration file fragment; wait subunit, the subunit connected to the first request, waiting for the document by the board will complete the configuration, sequentially the configuration corresponding to the document by the plate from the plate; a first updating sub-unit, and waits for the sub-unit connected to the motherboard for the update to the profile 所述主板的本地配置目录中,同时将所述从板配置文件更新至所述主板的文件系统中。 The board local configuration directory, while the updated profile from the plate to the board file system.
9.根据权利要求7所述的配置装置,其特征在于,所述上行单元具体包括: 召唤子单元,用于所述维护端向所述主板发送所述配置文件的召唤命令; 第二请求子单元,与所述召唤子单元连接,用于在所述主板收到并确认所述召唤命令后向所述主板发送当前板卡标识列表的请求命令; 获取子单元,与所述第二请求子单元连接,用于所述主板在收到所述请求命令后,获取主板配置标识和从板配置镜像标识,并且向所述维护端发送所述当前板卡标识列表; 生成子单元,与所述获取子单元连接,用于所述主板接收到当前板卡标识列表之后,根据所述主板配置标识和所述从板配置镜像标识生成临时配置目录,并通过遍历所述临时配置目录生成板卡文件列表; 第三请求子单元,与所述生成子单元连接,用于所述维护端根据所述板卡文件列表请求所述主板分片发 9. The configuration of the apparatus according to claim 7, wherein said upstream unit comprises: a subunit call, call for the maintenance command sends the configuration file to the motherboard; second sub-request means, connected to the call sub-unit configured to receive a call and confirm the current card ID list command transmission request command to the main board of the main board; obtaining subunit, and the second sub-request means connected to the main board after receiving the request command, and acquires the motherboard configuration identifier from the identification plate mirroring configuration, and maintenance of the current card sends to the identification list; generating subunit, the acquisition sub-unit connected to the main board after receiving this board identifier list, the configuration of the main board and the slave board configuration identifier generating the temporary identification mirror configuration directory and files generated by traversing the temporary card configuration directory list; third request sub-unit, connected with the generating sub-unit, for maintaining the end of the board according to the file list request sent to the main board fragment 所述配置文件; 分片子单元,与所述第三请求子单元连接,用于所述主板接收到所述请求后,将向所述维护端分片发送所述配置文件; 第二更新子单元,与所述分片子单元连接,用于直到所述配置文件发送完毕之后,所述维护端将所述配置文件更新至所述主板的本地配置目录。 The configuration file; minutes after the film unit, connected to the third request sub-unit, the main board for receiving the request, will send the fragments maintain the end profile; a second updating subunit , the film unit is connected with the partition, then the configuration file for until the transmission is completed, the terminal maintains the configuration file to update the local configuration directory board.
10.根据权利要求6所述的装置,其特征在于,所述总线包括CAN总线、RS485总线和RS232总线。 10. The apparatus according to claim 6, characterized in that said bus comprises a CAN bus, RS485 and RS232 bus bus.
CN2013100842753A 2013-03-18 2013-03-18 Configuration method and configuration device of network distribution equipment CN103150187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100842753A CN103150187A (en) 2013-03-18 2013-03-18 Configuration method and configuration device of network distribution equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100842753A CN103150187A (en) 2013-03-18 2013-03-18 Configuration method and configuration device of network distribution equipment

Publications (1)

Publication Number Publication Date
CN103150187A true CN103150187A (en) 2013-06-12

Family

ID=48548288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100842753A CN103150187A (en) 2013-03-18 2013-03-18 Configuration method and configuration device of network distribution equipment

Country Status (1)

Country Link
CN (1) CN103150187A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259860A (en) * 2015-10-20 2016-01-20 许继集团有限公司 Master-slave type intelligent electric device automatic configuration method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090313416A1 (en) * 2008-06-16 2009-12-17 George Wayne Nation Computer main memory incorporating volatile and non-volatile memory
CN102063398A (en) * 2010-12-16 2011-05-18 国网电力科学研究院 Board card equipment-based inter-board seamless data exchange method
CN102882605A (en) * 2012-10-09 2013-01-16 鼎点视讯科技有限公司 Service configuration method and system of inter-plate communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090313416A1 (en) * 2008-06-16 2009-12-17 George Wayne Nation Computer main memory incorporating volatile and non-volatile memory
CN102063398A (en) * 2010-12-16 2011-05-18 国网电力科学研究院 Board card equipment-based inter-board seamless data exchange method
CN102882605A (en) * 2012-10-09 2013-01-16 鼎点视讯科技有限公司 Service configuration method and system of inter-plate communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259860A (en) * 2015-10-20 2016-01-20 许继集团有限公司 Master-slave type intelligent electric device automatic configuration method
CN105259860B (en) * 2015-10-20 2018-09-25 许继集团有限公司 The method of auto-configuration from a master-smart power device

Similar Documents

Publication Publication Date Title
JP2003046569A (en) Load test execution device and system, and method and program thereof
CN102104628B (en) Server cluster system and management method thereof
US20160212207A1 (en) Method for cloud data backup and recovery
CN101753547A (en) Method and system for updating applications and parameters of multi-model POS terminal device
JP2010108104A (en) Printing system and method of controlling the same
CN105005490A (en) System and method for updating wind farm software
CN102609349A (en) Method and system for screen capture in server failure
CN105227344B (en) Software defined network simulation system and method based on OpenStack
US8261080B2 (en) System and method for managing digital certificates on a remote device
CN102571396B (en) Communication network system and routing inspection subsystem and routing inspection method of communication equipment
US20110231571A1 (en) Sas domain management and ssp data handling over ethernet
CN100403696C (en) Storage management method and system for realizing data collocation between network element and network management
US8856580B2 (en) Controller election
US9049230B2 (en) Backup method and backup device for TCP connection
CN103138995A (en) Method and device for server performance test
CN101483576B (en) Version management implementing method in distributed system
JP2010113606A (en) System, client and method for sharing device
CN102055607A (en) Method and system for updating network devices
CN1612542A (en) Long-distance control system for home appliance
CN101192061B (en) Device and method for synchronizing controller firmware download
CN101730094B (en) Method for accessing terminal equipment to service platform of security system and transmitting information
CN103701661A (en) Method and system for realizing node monitoring
CN103312408A (en) Programmable portable electronic device for airborne operational communications
CN104360663A (en) Intelligent home control system based on wechat platform
CN100456693C (en) Data transmitting system used in electronic equipment with multiple service unit

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)