WO2020052308A1 - Method for plug and play access of electric power distribution terminal based on registration service - Google Patents

Method for plug and play access of electric power distribution terminal based on registration service Download PDF

Info

Publication number
WO2020052308A1
WO2020052308A1 PCT/CN2019/092052 CN2019092052W WO2020052308A1 WO 2020052308 A1 WO2020052308 A1 WO 2020052308A1 CN 2019092052 W CN2019092052 W CN 2019092052W WO 2020052308 A1 WO2020052308 A1 WO 2020052308A1
Authority
WO
WIPO (PCT)
Prior art keywords
power distribution
distribution terminal
file
registration
master station
Prior art date
Application number
PCT/CN2019/092052
Other languages
French (fr)
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 南京南瑞继保电气有限公司
Publication of WO2020052308A1 publication Critical patent/WO2020052308A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • 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
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • H04L41/0809Plug-and-play configuration

Definitions

  • the invention relates to a plug-and-play access method for a power distribution terminal based on a registration service, and belongs to the technical field of terminal access of a power distribution main station.
  • the access work of the distribution terminal requires the two parties to complete the production and review of models and information point tables. There are problems such as repeated work and low efficiency.
  • the application service data of the distribution terminal It is directly delivered to the automation system of the distribution main station.
  • the upgrade of the distribution main station, configuration modification, and expansion of new functions have technical difficulties and complicated processes, which affect the efficiency of smart grid construction.
  • the object to be achieved by the present invention is to provide a plug-and-play access method for power distribution terminals based on registration services, which solves the problem of power distribution terminals without changing the network structure of the existing power distribution master station-power distribution terminal.
  • the problem of low efficiency of the station accessing the power distribution terminal improves the operation and maintenance efficiency and reliability of the power distribution automation system.
  • a plug-and-play access method for a distribution terminal based on registration services including the following steps:
  • the power distribution terminal is pre-configured. Specifically, the power distribution terminal is preset with a unique power distribution terminal ID according to the naming rules, and the power distribution terminal IP, power distribution main station IP, and Gateway settings
  • the power distribution terminal initiates a registration connection request to the power distribution master station.
  • the power distribution master station responds to the connection request.
  • a registration channel is established between TCP connections, with the power distribution terminal as the client and the power distribution master as the server.
  • the listening port is fixed at 12404.
  • the distribution master station parses the received registration message and configures the IEC104 channel
  • the distribution master station After the IEC104 channel connection is established, the distribution master station actively calls the ICD file to the distribution terminal;
  • the distribution master station configuration imports and calls the ICD file configuration to generate a CID file and download it to the distribution terminal through the IEC104 channel;
  • the power distribution terminal After the power distribution terminal resets the link, it sends a registration message containing the updated CID file version content to the power distribution master station again;
  • the distribution master station checks the registration information to confirm that the distribution terminal ID has been registered
  • the distribution master station performs ICD and CID consistency verification on the registered distribution terminal; if the verification is inconsistent, it alerts and notifies manual intervention, and also tells the distribution terminal to wait for configuration confirmation; if the verification is successful, The distribution master releases the registered connection;
  • the registration message in the foregoing step 3) includes: the distribution terminal ID, the ICD file version number, the ICD file modified version number, the ICD file characteristic code, the CID file version number, the CID file modified version number, the CID file characteristic code, and the power distribution Terminal IP.
  • the aforementioned registration message is a message that records the interaction between the power distribution master station and the power distribution terminal in the form of a readable file of a message log.
  • the distribution master station creates and configures the IEC104 channel by using the distribution terminal IP and the default port number.
  • the CID file generation process is as follows: the power distribution master station selects points in the ICD file, sets a version number, sets a name, and finally generates a CID file.
  • the specific process of verifying the file format and content is: after receiving the CID file downloaded from the distribution master station, the distribution terminal checks the DS name, LN node, and LD naming rules of the CID to confirm the CID File format and content.
  • the distribution master station performs ICD and CID consistency check, including file version check and file content check, as follows:
  • the distribution master station parses the ICD and CID file version numbers in the registration message and compares them with the version number set in the step 6) when the distribution master station configures the ICD to generate the CID file to complete the file version verification. ;
  • the distribution master station calls the CID file of the distribution terminal, and compares the CID file of the distribution terminal with the CID file downloaded in step 6) by the CRC check to complete the content verification of the file. .
  • the present invention realizes the automatic access of the power distribution terminal in a plug and play manner without changing the network structure of the existing power distribution master station-the power distribution terminal;
  • the invention facilitates maintenance personnel to quickly, safely and accurately carry out work such as new equipment access to the power distribution terminal, replacement of old equipment, etc., improves work efficiency, and has important significance for ensuring efficient and reliable operation of the automation system of the power distribution main station.
  • FIG. 1 is a flowchart of a method of the present invention
  • FIG. 2 is a schematic diagram of new equipment access of a power distribution terminal according to an embodiment of the present invention.
  • the present invention proposes a plug-and-play access method for a power distribution terminal based on a registration service.
  • the process can refer to FIG. 1 and includes the following steps:
  • the power distribution terminal is preset with a unique power distribution terminal ID according to the naming rules, and the power distribution terminal IP, power distribution main station IP, and gateway settings are configured before the power distribution terminal is accessed.
  • the registration channel establishes a TCP connection between the power distribution master station and the power distribution terminal, the power distribution terminal serves as the client, the power distribution master serves as the server, and the listening port is fixed to 12404.
  • the distribution master station analyzes the registration message
  • the registration message includes the ID of the power distribution terminal, the ICD (IED Configuration Description) file version number, the ICD file modification version number, and the ICD file. Characteristic code, CID (Configured IED, Description of ICD instance configuration file) file version number, CID file modified version number, CID file characteristic code, and backup information such as the distribution terminal IP.
  • the distribution master station receives The parsing registration message is parsed. After the parsing is successful, the distribution terminal IP and the default port number (such as 2404) are used to create and configure the IEC104 channel.
  • the registration message is a message that records the interaction between the power distribution master station and the power distribution terminal in the form of a readable file of a message log.
  • the power distribution master station calls the ICD configuration to generate a CID and issues it;
  • the power distribution master station summons the ICD file and imports it, selects the points of interest in the ICD file, sets the version number, sets the name, and finally generates a CID file, which is downloaded to the power distribution terminal through the IEC104 channel.
  • the power distribution terminal checks to load the CID and resets the registration channel.
  • the distribution terminal After the distribution terminal receives the CID downloaded from the distribution master station, it first checks the DS (Data Set) name, LN node (Logical Node, logical node), and LD (Logical Device) of the CID. Naming rules to confirm whether the CID format and content are correct. If the verification succeeds, the CID file is automatically loaded and the link is reset. If the verification fails, the power distribution terminal records the failure reason, and the registration connection is re-initiated after a delay, and the registration message clearly contains the error code of the last failure reason.
  • DS Data Set
  • LN node Logical Node, logical node
  • LD Logical Device
  • the power distribution master station performs ICD and CID consistency verification to complete the registration process.
  • the distribution terminal loads the CID and resets the link, it sends a registration message to the distribution master station again, and the master station parses the ICD and CID file version numbers in the registration message, and in step S4, the distribution master Whether the version numbers set when the station configures the ICD to generate the CID are consistent with each other to complete the version check.
  • the distribution master station calls the CID file of the distribution terminal and compares the CID file of the distribution terminal with the CID file downloaded by the distribution master station by CRC check (Cyclic Redundancy Check) to complete the content calibration. Check.
  • Figure 2 is an example of the interaction process between the power distribution master station and the power distribution terminal. The process includes:
  • the power distribution terminal initiates a registration connection request to the power distribution master station, and the power distribution master station responds to the connection request and establishes a registration connection.
  • S202 Send registration information to request registration
  • the power distribution terminal After the registration connection is established, the power distribution terminal sends a registration message to the power distribution master station to request registration.
  • the distribution master station parses the received registration message and determines that the distribution terminal is a newly added device.
  • the power distribution master station creates an IEC104 connection to the power distribution terminal based on the information such as the power distribution terminal IP in the registration message.
  • the distribution master station After the IEC104 connection is established, the distribution master station actively calls the ICD file to the distribution terminal.
  • the distribution master station imports the summoned ICD file, selects points, changes the version number, and changes the configuration to generate a CID file, which is downloaded to the distribution terminal through the IEC104 connection.
  • the power distribution terminal After receiving the CID file, the power distribution terminal verifies the file format and content.
  • the distribution terminal After the distribution terminal verifies that the CID is correct, it loads and resets the link.
  • the power distribution terminal After the power distribution terminal resets the link, it sends the registration information including the updated CID version to the power distribution master station again.
  • the distribution master station checks the registration information to confirm that the terminal ID is registered.
  • the power distribution master station verifies the ICD and CID versions, modified versions, and CRC information of the registered power distribution terminal.
  • the distribution master releases the registered connection.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed in the present invention is a method for plug and play access of an electric power distribution terminal based on a registration service, comprising establishing a registration service connection between an electric power distribution main station and an electric power distribution terminal; the electric power distribution terminal uploads information such as an ID of a local device terminal to the electric power distribution main station by means of a message; the electric power distribution main station parses a registration information message, then calls an ICD configuration file from the electric power distribution terminal, and edits the ICD configuration file to generate a CID file for issuing; the electric power distribution terminal verifies and loads the CID file and then performs reset connection; and the electric power distribution main station verifies consistency of terminal registration information to complete plug and play access of the electric power distribution terminal. The use of the present invention achieves automatic plug and play access of an electric power distribution terminal, without changing an existing electric power distribution main station-electric power distribution terminal network structure, thereby improving the working efficiency and reliability.

Description

一种基于注册服务的配电终端即插即用接入方法Plug-and-play access method for distribution terminal based on registration service 技术领域Technical field
本发明涉及一种基于注册服务的配电终端即插即用接入方法,属于电力***配电主站终端接入技术领域。The invention relates to a plug-and-play access method for a power distribution terminal based on a registration service, and belongs to the technical field of terminal access of a power distribution main station.
背景技术Background technique
目前,在配电主站建设过程中配电终端接入工作需要通信双方完成模型、信息点表的制作和审核,存在重复工作多、效率低等问题;同时,因配电终端应用服务数据不能直接上送到配电主站自动化***,配电主站版本升级、配置修改、新功能扩展等工作存在技术难度大、流程复杂等问题,影响了智能电网建设效率。At present, during the construction of the distribution main station, the access work of the distribution terminal requires the two parties to complete the production and review of models and information point tables. There are problems such as repeated work and low efficiency. At the same time, due to the application service data of the distribution terminal, It is directly delivered to the automation system of the distribution main station. The upgrade of the distribution main station, configuration modification, and expansion of new functions have technical difficulties and complicated processes, which affect the efficiency of smart grid construction.
发明内容Summary of the Invention
本发明所要达到的目的是提供一种基于注册服务的配电终端即插即用接入方法,在不改变现有配电主站-配电终端的网络结构的情况下解决了在配电主站接入配电终端效率低下的问题,提高了配电自动化***的运维效率和可靠性。The object to be achieved by the present invention is to provide a plug-and-play access method for power distribution terminals based on registration services, which solves the problem of power distribution terminals without changing the network structure of the existing power distribution master station-power distribution terminal. The problem of low efficiency of the station accessing the power distribution terminal improves the operation and maintenance efficiency and reliability of the power distribution automation system.
为达到上述目的,本发明所采用的技术方案如下:In order to achieve the above objective, the technical solution adopted by the present invention is as follows:
一种基于注册服务的配电终端即插即用接入方法,包括以下步骤:A plug-and-play access method for a distribution terminal based on registration services, including the following steps:
1)配电终端进行预配置,具体为,配电终端出厂前按命名规则预设唯一的配电终端ID,并在配电终端接入前配置配电终端IP、配电主站IP以及进行网关设置;1) The power distribution terminal is pre-configured. Specifically, the power distribution terminal is preset with a unique power distribution terminal ID according to the naming rules, and the power distribution terminal IP, power distribution main station IP, and Gateway settings
2)建立配电主站与配电终端的注册通道连接,具体为,配电终端向配电主站端发起注册连接请求,配电主站响应连接请求,配电主站与配电终端之间建立TCP连接方式的注册通道,配电终端作为客户端,配电主站作为服务端,监听端口固定为12404;2) Establish a registration channel connection between the power distribution master station and the power distribution terminal. Specifically, the power distribution terminal initiates a registration connection request to the power distribution master station. The power distribution master station responds to the connection request. A registration channel is established between TCP connections, with the power distribution terminal as the client and the power distribution master as the server. The listening port is fixed at 12404.
3)注册通道连接建立后,配电终端上线时,通过所述注册通道向配电主站发送注册报文请求注册;3) After the registration channel connection is established, when the power distribution terminal goes online, it sends a registration message to the power distribution master station through the registration channel to request registration;
4)配电主站解析接收到的注册报文并配置IEC104通道;4) The distribution master station parses the received registration message and configures the IEC104 channel;
5)IEC104通道连接建立后,配电主站向配电终端主动召唤ICD文件;5) After the IEC104 channel connection is established, the distribution master station actively calls the ICD file to the distribution terminal;
6)配电主站配置导入召唤的ICD文件配置生成CID文件并通过IEC104通道下装至配电终端;6) The distribution master station configuration imports and calls the ICD file configuration to generate a CID file and download it to the distribution terminal through the IEC104 channel;
7)配电终端校验加载CID文件,进行文件格式及内容校验,如果校验通过,则自动加载CID文件并复位链路;如果校验失败,则配电终端记录失败原因,待延时重新发起注册连接,并在注册报文中明确包含上次失败原因的错误码;7) Load the CID file at the power distribution terminal for file format and content verification. If the verification passes, the CID file is automatically loaded and the link is reset; if the verification fails, the power distribution terminal records the reason for the failure and waits for a delay Re-initiate the registration connection and clearly include the error code of the last failure reason in the registration message;
8)配电终端复位链路后重新向配电主站发送包含更新后CID文件版本内容的注册报文;8) After the power distribution terminal resets the link, it sends a registration message containing the updated CID file version content to the power distribution master station again;
9)配电主站校验注册信息确认配电终端ID已注册;9) The distribution master station checks the registration information to confirm that the distribution terminal ID has been registered;
10)配电主站对该已注册的配电终端进行ICD和CID一致性校验;如果校验不一致,则告警并通知人工干预,同时告诉配电终端,等待配置确认;如果校验成功,则配电主站释放注册连接;10) The distribution master station performs ICD and CID consistency verification on the registered distribution terminal; if the verification is inconsistent, it alerts and notifies manual intervention, and also tells the distribution terminal to wait for configuration confirmation; if the verification is successful, The distribution master releases the registered connection;
11)注册过程完成,完成配电终端的接入。11) The registration process is completed, and the access of the power distribution terminal is completed.
前述的步骤3)中注册报文包括:配电终端ID、ICD文件版本号、ICD文件修改版本号、ICD文件特征码、CID文件版本号、CID文件修改版本号、CID文件特征码以及配电终端IP。The registration message in the foregoing step 3) includes: the distribution terminal ID, the ICD file version number, the ICD file modified version number, the ICD file characteristic code, the CID file version number, the CID file modified version number, the CID file characteristic code, and the power distribution Terminal IP.
前述的注册报文是以报文日志的可读文件形式记录配电主站与配电终端之间交互的报文。The aforementioned registration message is a message that records the interaction between the power distribution master station and the power distribution terminal in the form of a readable file of a message log.
前述的步骤4)中,配电主站利用配电终端IP及默认端口号创建并配置IEC104通道。In the foregoing step 4), the distribution master station creates and configures the IEC104 channel by using the distribution terminal IP and the default port number.
前述的步骤6)中,CID文件的生成过程为:配电主站在ICD文件中进行选点,设定版本号,设定名称,最终生成CID文件。In the foregoing step 6), the CID file generation process is as follows: the power distribution master station selects points in the ICD file, sets a version number, sets a name, and finally generates a CID file.
前述的步骤7)中,进行文件格式及内容校验的具体过程为:配电终端接收到配 电主站下装的CID文件后,检查CID的DS名称、LN节点和LD命名规则,确认CID文件格式及内容。In the foregoing step 7), the specific process of verifying the file format and content is: after receiving the CID file downloaded from the distribution master station, the distribution terminal checks the DS name, LN node, and LD naming rules of the CID to confirm the CID File format and content.
前述的步骤10)中,配电主站进行ICD和CID一致性校验包括文件版本校验和文件内容校验,具体如下:In the foregoing step 10), the distribution master station performs ICD and CID consistency check, including file version check and file content check, as follows:
配电主站解析注册报文中的ICD及CID文件版本号,并与所述步骤6)中,配电主站配置ICD生成CID文件时设置的版本号比较是否一致,以完成文件版本校验;配电主站召唤配电终端的CID文件,通过CRC校验比较配电终端的CID文件与所述步骤6)中,配电主站下装的CID文件是否一致,以完成文件内容校验。The distribution master station parses the ICD and CID file version numbers in the registration message and compares them with the version number set in the step 6) when the distribution master station configures the ICD to generate the CID file to complete the file version verification. ; The distribution master station calls the CID file of the distribution terminal, and compares the CID file of the distribution terminal with the CID file downloaded in step 6) by the CRC check to complete the content verification of the file. .
本发明具有以下有益效果:The invention has the following beneficial effects:
1、本发明在不改变现有配电主站-配电终端的网络结构情况下,实现配电终端即插即用方式的自动接入;1. The present invention realizes the automatic access of the power distribution terminal in a plug and play manner without changing the network structure of the existing power distribution master station-the power distribution terminal;
2、本发明方便维护人员快速、安全、准确的开展配电终端新设备接入、旧设备更换等工作,提高了工作效率,对保证配电主站自动化***的高效可靠运行具有重要意义。2. The invention facilitates maintenance personnel to quickly, safely and accurately carry out work such as new equipment access to the power distribution terminal, replacement of old equipment, etc., improves work efficiency, and has important significance for ensuring efficient and reliable operation of the automation system of the power distribution main station.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明方法的流程图;FIG. 1 is a flowchart of a method of the present invention;
图2为本发明实施例中配电终端新设备接入的示意图。FIG. 2 is a schematic diagram of new equipment access of a power distribution terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面对本发明作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The invention is further described below. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
本发明提出了一种基于注册服务的配电终端即插即用接入方法,其流程可参考图1,包括以下步骤:The present invention proposes a plug-and-play access method for a power distribution terminal based on a registration service. The process can refer to FIG. 1 and includes the following steps:
S1、配电终端预配置;S1. Pre-configuration of power distribution terminal;
具体为,配电终端出厂前按命名规则预设唯一的配电终端ID,并在配电终端接 入前配置配电终端IP、配电主站IP和进行网关设置等。Specifically, the power distribution terminal is preset with a unique power distribution terminal ID according to the naming rules, and the power distribution terminal IP, power distribution main station IP, and gateway settings are configured before the power distribution terminal is accessed.
S2、建立配电主站与配电终端的注册通道连接;S2. Establish a registration channel connection between the power distribution master station and the power distribution terminal;
具体的,注册通道为配电主站与配电终端建立TCP连接,配电终端作为客户端,配电主站作为服务端,监听端口固定为12404。Specifically, the registration channel establishes a TCP connection between the power distribution master station and the power distribution terminal, the power distribution terminal serves as the client, the power distribution master serves as the server, and the listening port is fixed to 12404.
S3、配电主站解析注册报文;S3. The distribution master station analyzes the registration message;
具体为,配电终端上线时,通过上述注册通道发送注册报文,注册报文包含配电终端ID、ICD(IED Configuration Description,IED能力描述文件)文件版本号、ICD文件修改版本号、ICD文件特征码、CID(Configured IED Description,ICD实例配置文件)文件版本号、CID文件修改版本号、CID文件特征码以及配电终端IP等备用信息,配电主站根据注册报文的定义对接收到的注册报文进行解析,解析成功后利用配电终端IP及默认端口号(如2404)创建并配置IEC104通道。其中,注册报文是以报文日志的可读文件形式记录配电主站与配电终端之间交互的报文。Specifically, when the power distribution terminal goes online, a registration message is sent through the above-mentioned registration channel. The registration message includes the ID of the power distribution terminal, the ICD (IED Configuration Description) file version number, the ICD file modification version number, and the ICD file. Characteristic code, CID (Configured IED, Description of ICD instance configuration file) file version number, CID file modified version number, CID file characteristic code, and backup information such as the distribution terminal IP. The distribution master station receives The parsing registration message is parsed. After the parsing is successful, the distribution terminal IP and the default port number (such as 2404) are used to create and configure the IEC104 channel. Among them, the registration message is a message that records the interaction between the power distribution master station and the power distribution terminal in the form of a readable file of a message log.
S4、配电主站召唤ICD配置生成CID并下发;S4. The power distribution master station calls the ICD configuration to generate a CID and issues it;
具体为,配电主站召唤ICD文件并导入,挑选ICD文件里面自己关心的点,设定版本号,设定名称,最终生成CID文件,并通过IEC104通道下装至配电终端。Specifically, the power distribution master station summons the ICD file and imports it, selects the points of interest in the ICD file, sets the version number, sets the name, and finally generates a CID file, which is downloaded to the power distribution terminal through the IEC104 channel.
S5、配电终端校验加载CID并复位注册通道;S5. The power distribution terminal checks to load the CID and resets the registration channel.
具体为,配电终端接收到配电主站下装的CID后,首先检查CID的DS(Data Set,数据集)名称、LN节点(Logical Node,逻辑节点)、LD(Logical Device,逻辑设备)命名规则,确认CID格式及内容是否正确。如校验通过则自动加载CID文件并复位链路,如校验失败则配电终端记录失败原因,待延时重新发起注册连接,并在注册报文中明确包含上次失败原因的错误码。Specifically, after the distribution terminal receives the CID downloaded from the distribution master station, it first checks the DS (Data Set) name, LN node (Logical Node, logical node), and LD (Logical Device) of the CID. Naming rules to confirm whether the CID format and content are correct. If the verification succeeds, the CID file is automatically loaded and the link is reset. If the verification fails, the power distribution terminal records the failure reason, and the registration connection is re-initiated after a delay, and the registration message clearly contains the error code of the last failure reason.
S6、配电主站进行ICD和CID一致性校验,完成注册过程。S6. The power distribution master station performs ICD and CID consistency verification to complete the registration process.
具体为,配电终端加载CID并复位链路完毕后,重新向配电主站发送注册报文, 主站解析注册报文中的ICD及CID文件版本号,并与步骤S4中,配电主站配置ICD生成CID时设置的版本号比较是否一致以完成版本校验。Specifically, after the distribution terminal loads the CID and resets the link, it sends a registration message to the distribution master station again, and the master station parses the ICD and CID file version numbers in the registration message, and in step S4, the distribution master Whether the version numbers set when the station configures the ICD to generate the CID are consistent with each other to complete the version check.
配电主站召唤配电终端的CID文件,通过CRC校验(Cyclic Redundancy Check,循环冗余校验)比较配电终端的CID文件与配电主站下装的CID文件是否一致以完成内容校验。The distribution master station calls the CID file of the distribution terminal and compares the CID file of the distribution terminal with the CID file downloaded by the distribution master station by CRC check (Cyclic Redundancy Check) to complete the content calibration. Check.
上述版本或内容校验如不一致应告警并通知人工干预,同时告诉配电终端,等待配置确认;如果校验成功,则配电主站释放注册连接。If the above version or content verification is inconsistent, an alarm and manual intervention shall be notified, and the power distribution terminal shall be notified while waiting for configuration confirmation; if the verification is successful, the distribution master station releases the registered connection.
图2为配电主站和配电终端交互过程示例,流程包括:Figure 2 is an example of the interaction process between the power distribution master station and the power distribution terminal. The process includes:
S201、建立注册连接;S201. Establish a registration connection.
配电终端向配电主站端发起注册连接请求,配电主站响应连接请求,建立注册连接。The power distribution terminal initiates a registration connection request to the power distribution master station, and the power distribution master station responds to the connection request and establishes a registration connection.
S202、发送注册信息请求注册;S202: Send registration information to request registration;
注册连接建立后,配电终端向配电主站发送注册报文请求注册。After the registration connection is established, the power distribution terminal sends a registration message to the power distribution master station to request registration.
S203、解析注册信息;S203. Parse the registration information.
配电主站对接收到的注册报文进行解析,判断该配电终端为新增设备。The distribution master station parses the received registration message and determines that the distribution terminal is a newly added device.
S204、建立IEC104连接;S204. Establish an IEC104 connection.
配电主站根据注册报文中的配电终端IP等信息创建与配电终端的IEC104连接。The power distribution master station creates an IEC104 connection to the power distribution terminal based on the information such as the power distribution terminal IP in the registration message.
S205、召唤ICD文件;S205. Calling the ICD file;
IEC104连接建立后,配电主站向配电终端主动召唤ICD文件。After the IEC104 connection is established, the distribution master station actively calls the ICD file to the distribution terminal.
S206、配置CID文件;S206. Configure a CID file.
配电主站导入召唤的ICD文件,进行选点、修改版本号、修改名称等配置生成CID文件,通过IEC104连接下装至配电终端。The distribution master station imports the summoned ICD file, selects points, changes the version number, and changes the configuration to generate a CID file, which is downloaded to the distribution terminal through the IEC104 connection.
S207、校验CID;S207. Verify the CID.
配电终端接收到CID文件后,进行文件格式及内容校验。After receiving the CID file, the power distribution terminal verifies the file format and content.
S208、加载CID复位;S208. Load the CID and reset;
配电终端校验CID无误后进行加载并复位链路。After the distribution terminal verifies that the CID is correct, it loads and resets the link.
S209、重新发送注册信息;S209. Resend the registration information.
配电终端复位链路后重新向配电主站发送包含更新后CID版本等内容的注册信息。After the power distribution terminal resets the link, it sends the registration information including the updated CID version to the power distribution master station again.
S210、校验注册信息;S210. Verify the registration information.
配电主站校验注册信息确认终端ID已注册。The distribution master station checks the registration information to confirm that the terminal ID is registered.
S211、ICD和CID校验;S211, ICD and CID verification;
配电主站校验该已注册的配电终端的ICD和CID版本、修改版本和CRC信息。The power distribution master station verifies the ICD and CID versions, modified versions, and CRC information of the registered power distribution terminal.
S212、释放注册连接;S212. Release the registered connection.
校验成功后,配电主站释放注册连接。After successful verification, the distribution master releases the registered connection.
S213、注册过程结束;S213: The registration process ends;
至此,注册过程完成,完成配电终端的即插即用式接入,进入其他业务。At this point, the registration process is completed, plug-and-play access to the power distribution terminal is completed, and other services are entered.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention. It should be noted that, for those of ordinary skill in the art, without departing from the technical principles of the present invention, several improvements and deformations can be made. These improvements and deformations It should also be regarded as the protection scope of the present invention.

Claims (7)

  1. 一种基于注册服务的配电终端即插即用接入方法,其特征在于,包括以下步骤:A plug-and-play access method for a power distribution terminal based on registration services, which includes the following steps:
    1)配电终端进行预配置,具体为,配电终端出厂前按命名规则预设唯一的配电终端ID,并在配电终端接入前配置配电终端IP、配电主站IP以及进行网关设置;1) The power distribution terminal is pre-configured. Specifically, the power distribution terminal is preset with a unique power distribution terminal ID according to the naming rules, and the power distribution terminal IP, power distribution main station IP, and Gateway settings
    2)建立配电主站与配电终端的注册通道连接,具体为,配电终端向配电主站端发起注册连接请求,配电主站响应连接请求,配电主站与配电终端之间建立TCP连接方式的注册通道,配电终端作为客户端,配电主站作为服务端,监听端口固定为12404;2) Establish a registration channel connection between the power distribution master station and the power distribution terminal. Specifically, the power distribution terminal initiates a registration connection request to the power distribution master station. The power distribution master station responds to the connection request. A registration channel is established between TCP connections, with the power distribution terminal as the client and the power distribution master as the server. The listening port is fixed at 12404.
    3)注册通道连接建立后,配电终端上线时,通过所述注册通道向配电主站发送注册报文请求注册;3) After the registration channel connection is established, when the power distribution terminal goes online, it sends a registration message to the power distribution master station through the registration channel to request registration;
    4)配电主站解析接收到的注册报文并配置IEC104通道;4) The distribution master station parses the received registration message and configures the IEC104 channel;
    5)IEC104通道连接建立后,配电主站向配电终端主动召唤ICD文件;5) After the IEC104 channel connection is established, the distribution master station actively calls the ICD file to the distribution terminal;
    6)配电主站配置导入召唤的ICD文件配置生成CID文件并通过IEC104通道下装至配电终端;6) The distribution master station configuration imports and calls the ICD file configuration to generate a CID file and download it to the distribution terminal through the IEC104 channel;
    7)配电终端校验加载CID文件,进行文件格式及内容校验,如果校验通过,则自动加载CID文件并复位链路;如果校验失败,则配电终端记录失败原因,待延时重新发起注册连接,并在注册报文中明确包含上次失败原因的错误码;7) Load the CID file at the power distribution terminal to verify the file format and content. If the verification is successful, the CID file is automatically loaded and the link is reset. If the verification fails, the power distribution terminal records the reason for the failure and waits for a delay. Re-initiate the registration connection and clearly include the error code of the last failure reason in the registration message;
    8)配电终端复位链路后重新向配电主站发送包含更新后CID文件版本内容的注册报文;8) After the power distribution terminal resets the link, it sends a registration message containing the updated CID file version content to the power distribution master station again;
    9)配电主站校验注册信息确认配电终端ID已注册;9) The distribution master station checks the registration information to confirm that the distribution terminal ID has been registered;
    10)配电主站对该已注册的配电终端进行ICD和CID一致性校验;如果校验不一致,则告警并通知人工干预,同时告诉配电终端,等待配置确认;如果校验成功,则配电主站释放注册连接;10) The distribution master station performs ICD and CID consistency verification on the registered distribution terminal; if the verification is inconsistent, it alerts and notifies manual intervention, and also tells the distribution terminal to wait for configuration confirmation; if the verification is successful, The distribution master releases the registered connection;
    11)注册过程完成,完成配电终端的接入。11) The registration process is completed, and the access of the power distribution terminal is completed.
  2. 根据权利要求1所述的一种基于注册服务的配电终端即插即用接入方法,其特征在于,所述步骤3)中注册报文包括:配电终端ID、ICD文件版本号、ICD文件修改版本号、ICD文件特征码、CID文件版本号、CID文件修改版本号、CID文件特征码以及配电终端IP。The plug-and-play access method for a power distribution terminal based on a registration service according to claim 1, wherein the registration message in step 3) comprises: a power distribution terminal ID, an ICD file version number, and an ICD File modification version number, ICD file feature code, CID file version number, CID file modification version number, CID file feature code, and power distribution terminal IP.
  3. 根据权利要求2所述的一种基于注册服务的配电终端即插即用接入方法,其特征在于,所述注册报文是以报文日志的可读文件形式记录配电主站与配电终端之间交互的报文。The plug-and-play access method for a power distribution terminal based on a registration service according to claim 2, wherein the registration message records the power distribution master station and the power distribution station in the form of a readable file of a message log. Messages exchanged between electrical terminals.
  4. 根据权利要求1所述的一种基于注册服务的配电终端即插即用接入方法,其特征在于,所述步骤4)中,配电主站利用配电终端IP及默认端口号创建并配置IEC104通道。The plug-and-play access method for a power distribution terminal based on a registration service according to claim 1, wherein in step 4), the power distribution master station uses the power distribution terminal IP and a default port number to create and Configure the IEC104 channel.
  5. 根据权利要求1所述的一种基于注册服务的配电终端即插即用接入方法,其特征在于,所述步骤6)中,CID文件的生成过程为:配电主站在ICD文件中进行选点,设定版本号,设定名称,最终生成CID文件。The plug-and-play access method for a power distribution terminal based on a registration service according to claim 1, wherein in the step 6), the generation process of the CID file is: the power distribution master station in the ICD file Select the point, set the version number, set the name, and finally generate a CID file.
  6. 根据权利要求1所述的一种基于注册服务的配电终端即插即用接入方法,其特征在于,所述步骤7)中,进行文件格式及内容校验的具体过程为:配电终端接收到配电主站下装的CID文件后,检查CID的DS名称、LN节点和LD命名规则,确认CID文件格式及内容。The plug-and-play access method for a power distribution terminal based on a registration service according to claim 1, wherein in step 7), the specific process of verifying the file format and content is: a power distribution terminal After receiving the CID file downloaded from the power distribution master station, check the DS name, LN node, and LD naming rules of the CID to confirm the CID file format and content.
  7. 根据权利要求1所述的一种基于注册服务的配电终端即插即用接入方法,其特征在于,所述步骤10)中,配电主站进行ICD和CID一致性校验包括文件版本校验和文件内容校验,具体如下:The plug-and-play access method for a power distribution terminal based on a registration service according to claim 1, wherein in step 10), the power distribution master station performs ICD and CID consistency check including a file version The checksum and file content check are as follows:
    配电主站解析注册报文中的ICD及CID文件版本号,并与所述步骤6)中,配电主站配置ICD生成CID文件时设置的版本号比较是否一致,以完成文件版本校验;The distribution master station parses the ICD and CID file version numbers in the registration message and compares them with the version number set in the step 6) when the distribution master station configures the ICD to generate the CID file to complete the file version verification. ;
    配电主站召唤配电终端的CID文件,通过CRC校验比较配电终端的CID文件与所 述步骤6)中,配电主站下装的CID文件是否一致,以完成文件内容校验。The distribution master station calls the CID file of the distribution terminal and compares the CID file of the distribution terminal with the CID file downloaded in step 6) by the CRC check to complete the file content verification.
PCT/CN2019/092052 2018-09-11 2019-06-20 Method for plug and play access of electric power distribution terminal based on registration service WO2020052308A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811053741.0A CN110890786A (en) 2018-09-11 2018-09-11 Plug-and-play access method of power distribution terminal based on registration service
CN201811053741.0 2018-09-11

Publications (1)

Publication Number Publication Date
WO2020052308A1 true WO2020052308A1 (en) 2020-03-19

Family

ID=69745268

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/092052 WO2020052308A1 (en) 2018-09-11 2019-06-20 Method for plug and play access of electric power distribution terminal based on registration service

Country Status (2)

Country Link
CN (1) CN110890786A (en)
WO (1) WO2020052308A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111525698B (en) * 2020-05-20 2022-06-17 国电南瑞科技股份有限公司 Automatic data access method, device and system for low-voltage distribution network
CN111555925B (en) * 2020-06-09 2022-09-02 云南电网有限责任公司电力科学研究院 Automatic identification and configuration method and system for power automation terminal
CN112054931A (en) * 2020-09-09 2020-12-08 海南电网有限责任公司 Master station access method suitable for modeling distribution network terminal source end

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389166A (en) * 2015-10-21 2016-03-09 珠海许继电气有限公司 Automatic access method for self-describing plug-and-play power distribution terminal
CN106026397A (en) * 2016-06-22 2016-10-12 中国南方电网有限责任公司 Distribution network terminal plug-and-play realization method based on IEC61850
CN106487589A (en) * 2016-10-18 2017-03-08 中国电力科学研究院 A kind of terminal automatically accesses and configuring management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389166A (en) * 2015-10-21 2016-03-09 珠海许继电气有限公司 Automatic access method for self-describing plug-and-play power distribution terminal
CN106026397A (en) * 2016-06-22 2016-10-12 中国南方电网有限责任公司 Distribution network terminal plug-and-play realization method based on IEC61850
CN106487589A (en) * 2016-10-18 2017-03-08 中国电力科学研究院 A kind of terminal automatically accesses and configuring management method

Also Published As

Publication number Publication date
CN110890786A (en) 2020-03-17

Similar Documents

Publication Publication Date Title
WO2020052308A1 (en) Method for plug and play access of electric power distribution terminal based on registration service
CN108649691B (en) Plug and play method of power distribution terminal suitable for APP dynamic loading
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN109301933A (en) One kind being based on low-voltage intelligent platform area secondary function method of integrated modeling
CN112087475B (en) Message pushing method and device for cloud platform component application and message server
CN114268938A (en) Method, device, equipment and storage medium for managing user front equipment
CN106982130A (en) A kind of device version synchronous method and device
CN114915671A (en) NB-IoT-based remote upgrading method for street lamp controller
CN114448719A (en) Message interaction method, device and system
CN112333026A (en) Network device, network management device and zero configuration opening system and method for network device
US20230214207A1 (en) Device upgrade control method and apparatus, and computer device and storage medium
CN110417875B (en) Method, system, equipment and storage medium for docking between cloud servers
CN111240904A (en) Database backup method and device, electronic equipment and storage medium
JP2007274699A (en) Method and apparatus to define interface, and telecommunication system
CN115604095A (en) Network equipment configuration method and system
CN110868370B (en) Method, device and computer-readable storage medium for substation communication
CN111328033B (en) Short message load transmission method and system
CN116437377A (en) Communication method, system, electronic device and medium for device control communication protocol
CN114070824A (en) Registration method, registration cloud service, medium, and program product for internet of things device
CN113127032A (en) System updating method of train controller
CN112671915A (en) Message pushing processing method and intelligent device
CN112217659A (en) Method and system for adding client terminal equipment in SD-WAN (secure digital-Wide area network) system
CN111030967A (en) Cloud-based data transmission system, data transmission method and data acquisition method
CN111314914A (en) Mobile terminal data forwarding method and computer readable storage medium
WO2023169124A1 (en) Multi-station cascade system, calling method and related device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19860488

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19860488

Country of ref document: EP

Kind code of ref document: A1