Parallel intelligent joint debugging method and system for multi-power distribution terminals

CN122951352APending Publication Date: 2026-10-20STATE GRID FUJIAN ELECTRIC POWER RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611273110.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-19
Publication Date
2026-10-20

AI Technical Summary

Technical Problem

[0008]本发明的目的在于提供一种基于多任务并发调度与资源仲裁的多配电终端并行智能联调方法及系统,以系统性解决多配电终端并行联调场景下的硬件资源竞争冲突、信号时序紊乱以及生产主站资源占用等技术问题,实现配电终端接入主站前的高效率、高可靠性、完全隔离的自动化联调

Benefits of technology

[0050](1)实现了多配电终端的高效无冲突并行联调。本发明通过引入多任务并发调度算法、全局资源状态表和任务执行时间预估模型,系统能够根据各联调装置的可用硬件资源状态(包括工作状态、通信端口占用、电压源/电流源使用状态、开关量通道占用情况等)动态生成最优并行调试任务队列;进一步通过测试资源互斥矩阵与动态仲裁调度机制,在检测到资源冲突时根据优先级策略自动调整任务顺序或分配备用资源,从算法层面系统性地消除了多机并行时的资源竞争,大幅提高了调度效率和资源利用率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

This invention discloses a method and system for parallel intelligent joint commissioning of multiple distribution terminals, belonging to the field of power system distribution automation technology. The method includes: deploying a commissioning subsystem on an independent local area network in a secure access zone, independently completing joint commissioning data interaction without occupying master station resources; establishing communication links between the commissioning subsystem and multiple joint commissioning devices; inputting and uploading terminal configuration information; generating a parallel commissioning task queue using a resource scheduling module; issuing commands in parallel through IP-physical port binding and independent isolated links; clock synchronization to ensure timing consistency; constructing a mutual exclusion matrix to achieve conflict detection and dynamic arbitration; synchronously executing commissioning by each joint commissioning device; classifying and collecting parallel received data to complete verifications of time synchronization, telemetry, remote signaling, remote control, protection logic, remote setting values, and fault recording; automatically isolating abnormal links; and generating a commissioning report and uploading it to GOMS. This invention solves the problems of resource conflicts and timing disorder in multi-terminal parallel commissioning, achieving efficient automated joint commissioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power system distribution automation technology, specifically relating to a method and system for parallel intelligent joint commissioning of multiple distribution terminals based on multi-task concurrent scheduling and resource arbitration. Background Technology

[0002] With the continuous advancement of smart grid construction, distribution terminal equipment (such as feeder terminal units (FTUs), substation terminal units (DTUs), fault indicators, etc.) is being used more and more widely in distribution networks. These terminal devices are numerous and diverse, and their functional debugging before being connected to the distribution automation master station system has become an important part of power system operation and maintenance.

[0003] Traditional power distribution terminal commissioning methods mainly rely on manual operation, which has the following problems and defects: (1) Low commissioning efficiency. Each commissioning requires on-site personnel to manually connect the equipment, configure parameters and test each item. The commissioning cycle of a single terminal is long. When facing a large number of terminal commissioning tasks, human resources are seriously insufficient. (2) Difficult to guarantee commissioning quality. The technical level and operating habits of different commissioning personnel are different, which makes it difficult to guarantee the consistency and reliability of commissioning results. (3) Lack of standardized process. Traditional commissioning methods are difficult to unify the commissioning standards and judgment criteria for various types of terminals. The commissioning results are greatly affected by subjective factors. (4) Lack of real-time monitoring and automatic recording function in the commissioning process. After the commissioning is completed, reports need to be compiled manually, which is inefficient and prone to errors. (5) Cannot support parallel commissioning of multiple devices and terminals. Under the traditional method, commissioning operations can only be carried out serially, which makes it difficult to achieve efficient commissioning of a batch of terminals.

[0004] In recent years, some technical solutions for automated commissioning of power distribution terminals have emerged. For example, Chinese patent CN111564905A discloses a method and system for simultaneous automatic commissioning of multiple power distribution terminals without the need for a master station to be on duty. By creating a thread pool at the power distribution automation master station and establishing an ID matching relationship between the threads and the commissioning tester, the simultaneous commissioning of multiple power distribution terminals can be achieved. However, this solution still has the following shortcomings: (1) Its parallel scheduling only relies on the software-level scheduling of the master station thread pool. It does not establish a binding mapping mechanism between IP addresses and physical ports, nor does it introduce a clock synchronization calibration strategy. When multiple terminals are commissioned in parallel, conflicts are easily caused by signal trigger timing disorder. (2) It does not design a global resource status monitoring and conflict detection mechanism for hardware resources (such as voltage sources, current sources, and switch channels), and cannot effectively avoid hardware resource competition when multiple terminals are commissioned in parallel. (3) The commissioning process depends on the real-time resources of the production master station. When multiple terminals are commissioned at the same time, the capacity of the master station is a bottleneck.

[0005] For example, Chinese patent CN122437247A discloses a parallel testing method for multi-feeder terminals, which realizes parallel task conflict detection and dynamic arbitration scheduling by constructing a test resource mutual exclusion matrix. This solution makes beneficial improvements in resource management for parallel testing, but it mainly targets the factory testing scenario of feeder terminals and does not cover the complete functional integration and debugging before the distribution terminal is connected to the master station (including full-function verification such as time synchronization, telemetry, remote signaling, remote control, protection logic, remote setting download and recall, fault recording and recall, etc.), nor does it propose a debugging architecture that is deeply integrated with and completely isolated from the distribution automation master station system.

[0006] In addition, the existing technology has the following problems: the joint debugging device needs to be connected to the production master station through multiple intermediate links, the debugging process depends on the real-time resources of the production master station, and the master station’s carrying capacity is a bottleneck when multiple terminals are debugged at the same time; there is no effective mechanism for handling the abnormality of a single link during parallel debugging, and the failure of a single link may affect the entire parallel debugging process.

[0007] Therefore, there is an urgent need for a method and system that can realize parallel intelligent joint commissioning of multiple power distribution terminals. By introducing multi-task concurrent scheduling algorithms, global resource status monitoring, test resource mutual exclusion matrix, clock synchronization calibration and dynamic arbitration mechanism, the resource conflict and timing disorder problems in the parallel commissioning of multiple terminals can be systematically solved. At the same time, the production master station can be completely isolated through independently deployed commissioning subsystem to solve the problems existing in the above-mentioned existing technologies. Summary of the Invention

[0008] The purpose of this invention is to provide a method and system for parallel intelligent joint commissioning of multiple power distribution terminals based on multi-task concurrent scheduling and resource arbitration, so as to systematically solve the technical problems such as hardware resource competition conflicts, signal timing disorder and production master station resource occupation in the scenario of parallel joint commissioning of multiple power distribution terminals, and realize high-efficiency, high-reliability and completely isolated automated joint commissioning before the power distribution terminals are connected to the master station.

[0009] To achieve the above objectives, the present invention adopts the following technical solution: a method for parallel intelligent joint commissioning of multiple power distribution terminals, comprising the following steps:

[0010] Step S1: Deploy the distribution terminal factory-based online commissioning subsystem on an independent local area network in the secure access zone. The commissioning subsystem interacts with the distribution master station area 1 through a physical isolation device to synchronously update the diagram, terminal ledger, and point table information. The commissioning subsystem independently completes all joint commissioning data interaction within the secure access zone without occupying the computing resources and communication bandwidth of the distribution master station area 1.

[0011] Step S2: Establish a communication link between the commissioning subsystem and multiple joint commissioning devices. The commissioning subsystem interacts with the DMS three-zone agent server through a physical isolation device and is directly connected to each joint commissioning device on site. The commissioning subsystem is directly interconnected with the power distribution safety gateway and interacts with each power distribution terminal through the power distribution safety gateway to realize the functions of power distribution terminal data access and remote control, protection setting download, and waveform recording and recall.

[0012] Step S3: After each joint debugging device is started, it connects to the debugging subsystem and ensures that the communication link is smooth. The configuration information of the corresponding terminal under test is entered on each joint debugging device, including IP address, terminal address, phase PT ratio, zero-sequence PT ratio, phase CT ratio, and zero-sequence CT ratio, and then uploaded to the debugging subsystem.

[0013] Step S4: The resource scheduling module of the debugging subsystem obtains information on all tasks to be debugged and the available resource status of each joint debugging device, and generates a parallel debugging task queue based on a multi-task concurrent scheduling algorithm;

[0014] Step S5: The debugging subsystem sends debugging instructions to multiple joint debugging devices simultaneously through independent isolated communication links according to the parallel debugging task queue; the debugging subsystem binds the unique IP address of each joint debugging device to its physical communication port through the IP address and physical port binding mapping mechanism, so as to realize the accurate parsing and distribution of task instructions of multiple joint debugging devices.

[0015] Step S6: The debugging subsystem has a built-in clock synchronization calibration module. Before the parallel debugging of multiple devices and terminals is started, the clock synchronization calibration of all joint debugging devices is performed to control the clock deviation of each device within a preset threshold.

[0016] Step S7: The debugging subsystem has a pre-set test resource mutual exclusion rule library. Before parallel debugging starts, it constructs a test resource mutual exclusion matrix based on the current debugging task list and performs real-time detection on task combinations that may cause resource conflicts. When a resource conflict is detected, dynamic arbitration scheduling is performed according to the preset priority strategy.

[0017] Step S8: Each joint debugging device synchronously executes debugging operations according to its assigned debugging task sequence, including sequentially outputting the current / voltage sequence and switch signals corresponding to each debugging item to the corresponding terminal under test;

[0018] Step S9: The debugging subsystem receives the debugging data transmitted back from each joint debugging device in parallel, classifies and collects the data according to the device-terminal mapping table, completes the verification of each function and records the verification results independently; the function verification includes: time synchronization function verification, telemetry function verification, remote signaling function verification, remote control function verification, protection logic verification, remote setting download and recall function verification, and fault recording and recall function verification.

[0019] Step S10: When a parallel debugging link experiences an anomaly or timeout, the system automatically isolates the link and records the anomaly information, without affecting the normal debugging process of other links;

[0020] Step S11: The debugging subsystem automatically generates a debugging report based on all verification results, saves the debugging report, and sends it to the GOMS system.

[0021] Further, in step S4, the resource scheduling module maintains a global resource status table, which records the working status (idle / busy / faulty), communication port occupancy, voltage source usage status, current source usage status, and switch channel occupancy status of each joint debugging device. Based on the estimated execution time, resource occupancy type, and priority of each task to be debugged, and combined with the available resource status of each joint debugging device in the global resource status table, the resource scheduling module uses a multi-task concurrent scheduling algorithm to perform task-resource matching and generate an optimal parallel debugging task queue. The multi-task concurrent scheduling algorithm is based on a task execution time prediction model. A resource conflict detection mechanism dynamically adjusts the debugging order of multiple power distribution terminals to maximize debugging efficiency. The task execution time estimation model calculates the estimated execution time by weighted averaging the execution times of similar tasks in historical debugging data. Resource occupancy types include voltage source occupancy, current source occupancy, switch channel occupancy, and communication port occupancy. Priority is determined comprehensively based on terminal type, urgency, and submission time. The resource conflict detection mechanism detects resource occupancy conflicts between parallel tasks based on the global resource status table, and the multi-task concurrent scheduling algorithm performs dynamic arbitration adjustments based on the above information.

[0022] Furthermore, in step S5, the independent isolated communication links are isolated from each other at both the physical and logical layers to ensure that the communication data of multiple parallel debugging channels do not interfere with each other.

[0023] Furthermore, in step S6, the clock synchronization calibration is implemented through the IEEE 1588 Precision Time Protocol or the NTP Network Time Protocol. Clock synchronization messages are sent periodically during parallel debugging to ensure the timing consistency of multi-channel parallel debugging; the preset threshold is ±1ms.

[0024] Furthermore, the time synchronization function verification includes: after the debugging subsystem receives the terminal time synchronization debugging request sent by the joint debugging device, it sends a time synchronization message to the terminal under test and starts the debugging timer. If the time synchronization return message from the terminal under test is received within the set time and the message verification is correct, the time synchronization function is determined to be successfully debugged.

[0025] Furthermore, the telemetry function verification includes: after the debugging subsystem receives the telemetry function debugging request from the joint debugging device, it starts the debugging timer, compares the terminal telemetry data collected by the front-end service with the measurement requirement value in the joint debugging scheme, and if the collected value of the measured point and the requirement value are within the allowable error range within the set time, the telemetry function is determined to be successfully debugged.

[0026] Furthermore, the remote signaling function verification includes: the joint debugging device sets the remote signaling status of the field terminal to the initial debugging state and then sends a remote signaling debugging request; the debugging subsystem obtains the current remote signaling value and compares it with the initial state for consistency; after the states are consistent, the debugging timer is started and the remote signaling change is monitored; if the correct change is monitored within the set time, the remote signaling function is determined to be successfully debugged.

[0027] Furthermore, the remote control function verification includes: the debugging subsystem performs remote control function debugging on the switch to be debugged of the terminal under test according to the process of "remote control verification - remote control recalibration - remote control execution - judgment of execution result". If all steps are successful, the remote control function debugging is determined to be successful.

[0028] Furthermore, the protection logic verification includes: overcurrent stage I protection verification, overcurrent stage II protection verification, zero-sequence stage I alarm / action verification, low current grounding alarm verification, overload alarm / action verification, overvoltage protection action verification, high-frequency protection action verification, and low-frequency protection action verification. Each protection logic verification includes two subtypes: action debugging and non-action debugging. Action debugging is performed first. If successful, non-action debugging is performed. If both pass, the verification item is considered to have passed.

[0029] Furthermore, the remote setting download and recall function verification includes: after the debugging subsystem receives the remote setting download and recall request from the joint debugging device, it starts the debugging timer, sends a debugging protection setting command to the terminal under test, and after the sending is successful, sends a protection setting recall command to the terminal under test. If the recall is successful and the recalled setting parameters are consistent with the sent debugging values, the debugging is determined to be successful.

[0030] Furthermore, the fault recording and recall function verification includes: after the debugging subsystem receives the recording file recall request from the joint debugging device, it starts the debugging timer, recalls the fault recording directory and recording file from the corresponding terminal under test, and if the fault recording file of the terminal under test is received within the set time, the debugging is determined to be successful.

[0031] The present invention also provides a parallel intelligent joint commissioning system for multiple power distribution terminals, used to implement the above method, comprising:

[0032] The DMS master station system is equipped with a fully automatic intelligent debugging service module for terminals. The fully automatic intelligent debugging service module for terminals includes: a fully automatic intelligent debugging editor, a joint debugging link monitoring module, a resource scheduling module, a clock synchronization calibration module, a time synchronization function verification module, a telemetry function verification module, a remote signaling function verification module, a remote control function verification module, a protection logic verification module, a remote setting download and recall function verification module, a fault recording and recall function verification module, a multi-device multi-terminal parallel joint debugging management module, and a debugging report generation module.

[0033] The secure access zone has an independent local area network for deploying the commissioning subsystem, which is physically isolated from the existing wired fiber optic network, wireless public network, and power plant access zone. The commissioning subsystem independently completes all joint commissioning data interaction within the secure access zone without consuming the computing resources and communication bandwidth of the distribution master station area 1.

[0034] A positive physical isolation device is used for data interaction between the commissioning subsystem and the existing distribution master station zone 1;

[0035] Forward and reverse physical isolation devices are used for data interaction between the debugging subsystem and the DMS three-zone proxy server;

[0036] The power distribution safety gateway is directly interconnected with the commissioning subsystem and interacts with the power distribution terminal via the power distribution safety gateway;

[0037] Multiple commissioning devices are directly connected to the commissioning subsystem to perform their respective field terminal commissioning operations.

[0038] Furthermore, the resource scheduling module includes:

[0039] The global resource status table maintenance unit is used to record the working status of each joint commissioning device and the occupancy of each hardware resource;

[0040] The task execution time estimation unit is used to estimate the execution time of the current debugging task based on the historical execution data and task type of each debugging task.

[0041] The resource conflict detection unit is used to construct a test resource mutual exclusion matrix and detect resource conflicts between parallel tasks.

[0042] The dynamic arbitration scheduling unit is used to perform arbitration scheduling according to a preset priority strategy when resource conflicts are detected.

[0043] The task queue generation unit is used to generate the optimal parallel debugging task queue based on the scheduling results.

[0044] Furthermore, the multi-device, multi-terminal parallel debugging management module includes:

[0045] The device-terminal mapping management unit is used to establish and maintain the device-terminal mapping relationship table based on the configuration information uploaded by each joint debugging device;

[0046] The independent isolated communication link management unit is used to allocate independent physical layer and logical layer isolated communication links to each joint debugging device, and to achieve accurate parsing and distribution of task instructions through the binding mapping of IP address and physical port;

[0047] The parallel data acquisition and classification unit is used to receive the debugging data transmitted back from each joint debugging device in parallel, and classify and collect the data according to the device-terminal mapping relationship.

[0048] The anomaly isolation unit is used to automatically isolate a single link and record the anomaly information when an anomaly is detected, so as to ensure the normal debugging of other links.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] (1) Efficient and conflict-free parallel commissioning of multiple power distribution terminals is realized. By introducing a multi-task concurrent scheduling algorithm, a global resource status table, and a task execution time prediction model, the system can dynamically generate the optimal parallel commissioning task queue based on the available hardware resource status of each commissioning device (including working status, communication port occupancy, voltage / current source usage status, and switch channel occupancy). Furthermore, by using a test resource mutual exclusion matrix and a dynamic arbitration scheduling mechanism, the system automatically adjusts the task order or allocates spare resources according to the priority strategy when resource conflicts are detected. This systematically eliminates resource competition in multi-machine parallel operation from the algorithm level, significantly improving scheduling efficiency and resource utilization.

[0051] (2) Effectively ensures the consistency of signal timing and the accuracy of instructions in multi-channel parallel debugging. This invention realizes the accurate parsing and distribution of task instructions for multiple devices through the binding mapping mechanism of IP address and physical port, and ensures that the communication data of multi-channel parallel debugging does not interfere with each other through independent isolated communication links; at the same time, a clock synchronization calibration module is introduced, and the clock deviation of all joint debugging devices is controlled within ±1ms through the IEEE1588 / NTP protocol. The stability and reliability of parallel debugging are systematically guaranteed from the three dimensions of physical layer, logic layer and time layer, and the misjudgment caused by signal trigger timing disorder is effectively avoided.

[0052] (3) Complete isolation between the debugging subsystem and the production master station was achieved, ensuring the security of the production system. The debugging subsystem is independently deployed in the secure access zone and forms a simulation master station environment based on the DMS master station hardware. All joint debugging data interaction is completed within the secure access zone, without consuming the CPU computing resources, memory resources and network bandwidth resources of the production master station, and without affecting the normal operation performance of the production master station. At the same time, the security of business data interaction is ensured through multi-layer physical isolation devices (forward physical isolation device, forward and reverse physical isolation device, power distribution security gateway).

[0053] (4) The entire debugging process is automated and standardized, and it has the ability to isolate single-link anomalies. Debugging personnel only need to complete the equipment wiring and terminal parameter input. The system automatically completes the entire process of link detection, task scheduling, parallel debugging, result judgment, anomaly handling and report generation. When a parallel link is abnormal, the system automatically isolates the faulty link without affecting the debugging process of other normal links, which significantly improves the fault tolerance and continuity of batch debugging operations.

[0054] (5) Strong versatility and scalability. This invention is compatible with one-click fully automatic intelligent verification of various terminals such as FTU, DTU, fault indicator, and distribution network integrated equipment. The modular design of the system facilitates subsequent functional expansion. Attached Figure Description

[0055] Figure 1 This is a schematic diagram of the overall architecture of the parallel intelligent joint commissioning system for multiple power distribution terminals provided in an embodiment of the present invention.

[0056] Figure 2 This is a flowchart of multi-task concurrent scheduling and resource arbitration in an embodiment of the present invention.

[0057] Figure 3 The overall flowchart of the parallel intelligent joint commissioning method for multiple power distribution terminals provided in the embodiments of the present invention is shown. Detailed Implementation

[0058] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0059] It should be noted that the following detailed descriptions are exemplary and intended to provide further explanation of this application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.

[0060] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0061] Example 1: System Architecture and Resource Scheduling Mechanism

[0062] like Figure 1 As shown, the parallel intelligent joint commissioning system for multiple power distribution terminals based on multi-task concurrent scheduling and resource arbitration provided in this embodiment includes: a DMS master station system, an independent local area network for secure access area, a forward physical isolation device, a forward and reverse physical isolation device, a power distribution security gateway, and multiple joint commissioning devices.

[0063] The DMS master station system is equipped with a fully automatic intelligent debugging service module for terminals. Specifically, the fully automatic intelligent debugging service module for terminals includes: a fully automatic intelligent debugging editor, a joint debugging link monitoring module, a resource scheduling module, a clock synchronization calibration module, a time synchronization function verification module, a telemetry function verification module, a remote signaling function verification module, a remote control function verification module, a protection logic verification module, a remote setting download and recall function verification module, a fault recording and recall function verification module, a multi-device multi-terminal parallel joint debugging management module, and a debugging report generation module. The fully automatic intelligent debugging editor is used by debugging personnel to configure debugging task parameters and monitor the debugging process; the joint debugging link monitoring module is used to monitor the status of each communication link; the resource scheduling module is used to manage hardware resources and schedule debugging tasks; the clock synchronization calibration module is used to synchronize the clocks of each joint debugging device; the time synchronization function verification module, telemetry function verification module, remote signaling function verification module, remote control function verification module, protection logic verification module, remote setting download and recall function verification module, and fault recording and recall function verification module are used to perform corresponding types of terminal function verification; the multi-device multi-terminal parallel joint debugging management module is used to coordinate the data streams and link mappings of multiple parallel debugging paths; and the debugging report generation module is used to summarize the verification results and output a standardized report. Compared with the prior art, this invention adds a resource scheduling module and a clock synchronization calibration module to the terminal fully automatic intelligent debugging service module, and enhances the functionality of the multi-device multi-terminal parallel joint debugging management module.

[0064] The independent local area network in the secure access area is used to deploy the commissioning subsystem, and is physically isolated from the existing wired fiber optic network, wireless public network, and power plant access area. The forward physical isolation device is used for data interaction between the commissioning subsystem and the existing distribution master station zone 1. The forward and reverse physical isolation devices are used for data interaction between the commissioning subsystem and the DMS zone 3 proxy server. The distribution security gateway is directly interconnected with the commissioning subsystem and interacts with the distribution terminals via the distribution security gateway. Multiple joint commissioning devices are directly connected to the commissioning subsystem to perform their respective field terminal commissioning operations.

[0065] The deployment architecture of the multi-distribution terminal parallel intelligent joint commissioning system is as follows:

[0066] The distribution terminal factory-based online commissioning subsystem is deployed on an independent local area network in the secure access area, without interconnection with existing wired fiber optic networks, wireless public networks, or the power plant access area, thus achieving effective physical isolation between the commissioning area and the production area. This subsystem is built on DMS master station hardware and interacts with the existing distribution master station area 1 through a forward physical isolation device, enabling the synchronous updating of information such as diagrams, terminal ledgers, and point tables from the master station area 1 to the commissioning subsystem.

[0067] The commissioning subsystem interacts with the DMS three-zone agent server through forward and reverse physical isolation devices, and is directly connected to multiple on-site commissioning devices to achieve commissioning process control and automatic commissioning. The subsystem is directly interconnected with the power distribution safety gateway, and interacts with the power distribution terminal through the power distribution safety gateway to realize functions such as power distribution terminal data access and remote control, protection setting download, and waveform recording and recall.

[0068] The debugging subsystem of this invention forms a completely isolated debugging environment from the production master station. Specifically, all data interactions during the joint debugging process (including uploading terminal configuration information, issuing debugging commands, transmitting debugging data back, and determining verification results) are completed within the secure access zone. The debugging subsystem only synchronizes static information such as diagrams, terminal ledgers, and point tables from the distribution master station's zone 1 via a forward physical isolation device. After synchronization is completed, the data interaction channel with the production master station is disconnected. All interaction messages between the joint debugging devices and the debugging subsystem do not pass through the distribution master station's zone 1, and do not consume the production master station's CPU computing resources, memory resources, or network bandwidth resources. The massive amount of interaction data generated when multiple joint debugging devices are debugged in parallel is all processed in a closed loop within the secure access zone, thereby ensuring that the normal operation performance of the production master station is not affected in any way when a batch of terminals are debugged in parallel.

[0069] like Figure 2 As shown, the multi-task concurrent scheduling and resource arbitration process provided in this embodiment is as follows:

[0070] Before debugging, the resource scheduling module maintains a global resource status table to record in real time the working status (idle / busy / faulty) of each joint debugging device, the occupancy of communication ports, the usage status of voltage sources, the usage status of current sources, and the occupancy status of switch channels.

[0071] Upon receiving terminal configuration information from multiple commissioning devices, the task execution time estimation unit calculates the estimated execution time of each task by performing a weighted average calculation based on the execution times of similar tasks in the historical commissioning database. The estimated execution time of a task is calculated by weighting the execution times of similar tasks in historical commissioning data; resource occupancy types include voltage source occupancy, current source occupancy, switch channel occupancy, and communication port occupancy; task priority is determined comprehensively based on terminal type (e.g., critical substation terminals take precedence over general line terminals), urgency, and submission time.

[0072] Subsequently, the resource conflict detection unit constructs a test resource mutual exclusion matrix based on the current task list. If both task A and task B require the same current source channel of the same debugging device, or both require the same communication port, the corresponding element in the matrix is ​​marked as conflicting. The dynamic arbitration scheduling unit performs arbitration according to a preset priority strategy, generating a conflict-free optimal parallel debugging task queue.

[0073] In one specific embodiment, assume there are three joint debugging devices (T1, T2, T3) connected to three terminals under test (FTU-A, FTU-B, DTU-C), respectively. The current debugging tasks include: telemetry verification of FTU-A (requires the voltage and current sources of T1, estimated duration 5 minutes), telemetry verification of FTU-B (requires the voltage and current sources of T2, estimated duration 5 minutes), and protection logic verification of DTU-C (requires the current source and switching channel of T3, estimated duration 8 minutes). If the resource scheduling module detects that the resource requirements of the three tasks do not conflict (each uses a different joint debugging device), it adds them all to the parallel debugging task queue, and the three joint debugging devices execute synchronously. If a new task, telemetry verification of FTU-D, is added at this time (which requires the voltage and current sources of T1), and T1 is already occupied by FTU-A, the resource conflict detection unit will mark the task of FTU-D and the task of FTU-A as conflicting. The dynamic arbitration scheduling unit will put FTU-D into the waiting queue according to priority (such as FTU-A's submission time being earlier) and execute it after T1 is released.

[0074] Example 2: Timing Synchronization and Precise Instruction Distribution

[0075] This embodiment mainly describes the specific implementation of clock synchronization calibration and IP address to physical port binding mapping.

[0076] Before the parallel debugging of multiple devices and terminals begins, the clock synchronization calibration module broadcasts clock synchronization messages to all connected debugging devices via the NTP protocol (or IEEE 1588 Precision Time Protocol) to calibrate the system clock deviation of each device to within ±1ms. During the debugging process, the system sends synchronization hold messages at fixed intervals to ensure that the time base of each device is consistent during long-term debugging tasks.

[0077] Meanwhile, the independent isolation communication link management unit allocates an independent VLAN logical isolation channel to each joint debugging device and establishes a binding mapping table between IP addresses and physical ports. When the debugging subsystem issues a "remote control tripping" command, the system encapsulates the command according to the mapping relationship of the target terminal and sends it only to the designated joint debugging device through the corresponding bound port, fundamentally eliminating the risk of command crosstalk and miscontrol.

[0078] The independent isolated communication links are mutually isolated at both the physical and logical layers, ensuring that the communication data of multiple parallel debugging devices do not interfere with each other. Specifically, at the physical layer, each debugging device is connected to the debugging subsystem through an independent network port or serial port; at the logical layer, data isolation is achieved through VLAN segmentation and independent communication protocol stacks.

[0079] Furthermore, the debugging subsystem employs a multi-threaded asynchronous concurrent model, allocating independent threads or coroutines to each isolated communication link. Each thread executes the issuance and reception of debugging commands in parallel. For debugging commands requiring strict synchronization (such as simultaneous multiplexer position changes), the system achieves microsecond-level concurrent control through message queues and barrier synchronization mechanisms, ensuring the synchronization accuracy of command issuance for multi-channel parallel debugging. This concurrent control mechanism, in conjunction with the clock synchronization calibration module, jointly guarantees the timing consistency of parallel debugging from both time synchronization and concurrent execution perspectives.

[0080] Example 3: Full-function integration and verification process

[0081] like Figure 3 As shown, after completing the parallel task scheduling, clock synchronization, and communication link establishment, each joint debugging device synchronously executes debugging according to the assigned task sequence. For a specific terminal on a single link, the fully automatic verification process is as follows:

[0082] Step 1) Deployment and Connection: Deploy the factory-prefabricated online commissioning subsystem of the power distribution terminal in an independent local area network in the secure access area, and complete the connection and communication link establishment of the commissioning subsystem, multiple joint commissioning devices and multiple power distribution terminals.

[0083] Step 2) Preparation before commissioning: Connect each commissioning device and its corresponding terminal under test (including voltage, current, and switching circuits, etc.). Power on each commissioning device and connect it to the commissioning subsystem, ensuring the SFTP link is working properly. Input the configuration information of the corresponding terminal under test on each commissioning device, including IP address, terminal address, phase PT ratio, zero-sequence PT ratio, phase CT ratio, and zero-sequence CT ratio, and upload it to the commissioning subsystem.

[0084] Step 3) Obtain the debugging task list and execute resource scheduling: The debugging subsystem (joint debugging master station) generates a debugging task list based on the terminal information uploaded by each joint debugging device. The debugging task list includes the serial number, description and type of the debugging project. The resource scheduling module obtains all the information of the tasks to be debugged and the available resource status of each joint debugging device based on the debugging task list, and generates a parallel debugging task queue based on the multi-task concurrent scheduling algorithm.

[0085] Step 4) Clock synchronization: The built-in clock synchronization calibration module of the debugging subsystem performs clock synchronization calibration on all joint debugging devices before the start of parallel debugging of multiple devices and terminals, and controls the clock deviation of each device within ±1ms.

[0086] Step 5) Parallel issuance of debugging instructions: The debugging subsystem issues debugging instructions to multiple joint debugging devices simultaneously through independent isolated communication links according to the parallel debugging task queue; the task instructions of multiple joint debugging devices are accurately parsed and distributed through the binding mapping mechanism of IP address and physical port.

[0087] Step 6) One-click automated commissioning: Each commissioning device executes commissioning operations synchronously according to its assigned commissioning task sequence. For items that can be automatically commissioned (such as telemetry, remote control, etc.), the system automatically performs verification in sequence; for items that require manual operation (such as remote and local switch operation, AC power failure operation, etc.), they are executed through a single-point commissioning process.

[0088] Step 7) Time synchronization function verification: The joint debugging device sends a time synchronization command. After receiving the command, the debugging subsystem performs terminal time synchronization, sends a time synchronization message to the terminal under test, and starts the debugging timer. If a time synchronization return message is received from the terminal under test within the set time and the message verification is correct, the time synchronization function is determined to be successfully debugged.

[0089] Step 8) Telemetry function verification: The joint debugging device sends a telemetry function debugging request, the debugging subsystem starts the debugging timer, analyzes the terminal telemetry data collected by the front-end service and compares it with the measurement requirement value in the joint debugging scheme. If the collected value of the measured point and the requirement value are within the allowable error range within the set time, the debugging is determined to be successful.

[0090] Step 9) Remote signaling function verification: After the joint debugging device sets the remote signaling status of the field terminal to the initial debugging state, it sends a remote signaling debugging request. The debugging subsystem obtains the current remote signaling value and compares it with the initial state for consistency. After the state is consistent, the debugging timer is started and the remote signaling change is monitored. If the correct change is monitored within the set time, the remote signaling function is determined to be successfully debugged.

[0091] Step 10) Remote control function verification: The debugging subsystem performs remote control function debugging on the switch to be debugged of the terminal under test according to the process of "remote control verification - remote control recalibration - remote control execution - judgment of execution result". If all steps are successful, the debugging is judged to be successful. If any step fails, the debugging is judged to be unsuccessful.

[0092] Step 11) Protection Logic Verification: Verify the protection logic for overcurrent stage I, overcurrent stage II, zero-sequence stage I, low-current grounding, overload, overvoltage, high-frequency, and low-frequency protection respectively. Each protection logic verification is divided into two sub-types: action debugging and non-action debugging. First, perform action debugging. If successful, continue with non-action debugging. If both pass, the verification is considered successful.

[0093] Step 12) Remote setting download and recall function verification: After receiving the remote setting download and recall request from the joint debugging device, the debugging subsystem starts the debugging timer, sends the debugging protection setting command to the terminal under test, and sends the protection setting recall command to the terminal under test after the sending is successful. If the recalled setting parameters are consistent with the sent debugging values, the debugging is determined to be successful.

[0094] Step 13) Fault recording and recall function verification: After receiving the waveform file recall request from the joint debugging device, the debugging subsystem starts the debugging timer and recalls the fault waveform directory and waveform file from the terminal under test. If the fault waveform file of the debugging terminal is received within the set time, the debugging is determined to be successful.

[0095] Step 14) Parallel Data Collection and Anomaly Isolation: The debugging subsystem receives debugging data from each joint debugging device in parallel, classifies and collects the data according to the device-terminal mapping table, completes the verification of each function, and records the verification results independently. When an anomaly or timeout occurs in a parallel debugging link, the system automatically isolates the link and records the anomaly information, without affecting the normal debugging process of other links.

[0096] Step 15) Generate a debugging report: After completing the functional integration and verification with all terminals, the debugging subsystem automatically generates a debugging report according to the standard template, saves it, and sends it to the GOMS system to achieve full traceability of the debugging process.

[0097] For projects that can be automatically integrated, the automatic integration process includes: the integration device executes the current / voltage output sequence of each debugging item in sequence; the debugging subsystem performs error analysis and function judgment based on the terminal data collected in advance; if no correct feedback is received within the set time, the debugging is judged to have failed, and the debugging result is fed back to the display screen of the integration device in real time.

[0098] Taking telemetry commissioning as an example: the commissioning device outputs a current / voltage signal of a set amplitude, the commissioning subsystem collects the telemetry data from the terminal and compares it with the set value for error. If the error is within the allowable range, the telemetry item is considered successfully commissioned. Tele-signaling commissioning, on the other hand, triggers terminal tele-signaling changes through a fault state sequence such as short circuit / grounding output by the commissioning device. The commissioning subsystem monitors whether the change signal is correct within a set time.

[0099] Example 4: Automatic Isolation Mechanism for Abnormal Links

[0100] This embodiment mainly illustrates the specific implementation of automatic isolation of abnormal links.

[0101] When a communication timeout occurs on a parallel debugging link (e.g., no response is received after exceeding three times the set threshold) or data verification errors persist, the joint debugging link monitoring module marks the link status as abnormal, and the abnormal isolation unit in the multi-device, multi-terminal parallel debugging management module immediately performs the following operations:

[0102] (1) Disconnect the issuance of debugging commands to the link and stop sending any new debugging commands to the corresponding joint debugging device;

[0103] (2) Release the hardware resources occupied by the link (such as voltage source channel, current source channel, communication port, etc.) and update the status of the released resources to the global resource status table for use by other waiting tasks;

[0104] (3) Mark the status of the terminal under test and the joint debugging device corresponding to the link as "abnormal-pending", and record the abnormal time point and error code;

[0105] (4) Send abnormal alarm information to the commissioning personnel (which can be prompted through the joint commissioning device display screen or remote monitoring interface).

[0106] Meanwhile, the debugging process of other normal links remains unaffected and continues to execute according to their assigned task sequences. The system only records the terminal number, the time of the anomaly, and the error code of the abnormal link in the final generated debugging report, ensuring the overall efficiency of batch debugging operations.

[0107] Example 5: Typical Application Scenarios

[0108] In a typical application scenario, when the power system operation and maintenance department needs to perform functional debugging on a batch of newly connected FTU terminals before access, the debugging personnel only need to input the IP address, terminal address and CT / PT ratio of each terminal on multiple joint commissioning devices after completing the wiring of each terminal device on site, and start the debugging with one click.

[0109] The resource scheduling module in the debugging subsystem automatically acquires information on all tasks to be debugged and the available resource status of each joint debugging device, generating a parallel debugging task queue. The clock synchronization calibration module performs clock synchronization calibration on all joint debugging devices. Subsequently, the debugging subsystem accurately issues debugging commands to each joint debugging device through an IP address-to-physical port binding mapping mechanism.

[0110] Multiple integrated testing devices simultaneously perform commissioning operations, each independently completing all verification items for its connected terminals, including time synchronization, telemetry, remote signaling, remote control, protection logic, setting download and recall, and fault recording and recall. The commissioning subsystem receives commissioning data from each integrated testing device in parallel and classifies and collects the data according to the device-terminal mapping table. If a link of a certain integrated testing device malfunctions, the system automatically isolates that link without affecting the normal commissioning of other links. After all verifications are completed, the system automatically generates a commissioning report that meets the specifications and uploads it to the GOMS system for archiving. The entire commissioning process requires no manual intervention.

[0111] This embodiment also provides a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement the above-described method.

[0112] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0113] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0114] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0115] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0116] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.

Claims

1. A method for parallel intelligent joint commissioning of multiple power distribution terminals, characterized in that, Includes the following steps: Step S1: Deploy the distribution terminal factory-based online commissioning subsystem on an independent local area network in the secure access zone. The commissioning subsystem interacts with the distribution master station area 1 through a physical isolation device to synchronously update the diagram, terminal ledger, and point table information. The commissioning subsystem independently completes all joint commissioning data interaction within the secure access zone without occupying the computing resources and communication bandwidth of the distribution master station area 1. Step S2: Establish a communication link between the commissioning subsystem and multiple joint commissioning devices. The commissioning subsystem interacts with the DMS three-zone agent server through a physical isolation device and is directly connected to each joint commissioning device on site. The commissioning subsystem is directly interconnected with the power distribution safety gateway and interacts with each power distribution terminal through the power distribution safety gateway to realize the functions of power distribution terminal data access and remote control, protection setting download, and waveform recording and recall. Step S3: After each joint debugging device is started, it connects to the debugging subsystem and ensures that the communication link is smooth. The configuration information of the corresponding terminal under test is entered on each joint debugging device, including IP address, terminal address, phase PT ratio, zero-sequence PT ratio, phase CT ratio, and zero-sequence CT ratio, and then uploaded to the debugging subsystem. Step S4: The resource scheduling module of the debugging subsystem obtains information on all tasks to be debugged and the available resource status of each joint debugging device, and generates a parallel debugging task queue based on a multi-task concurrent scheduling algorithm; Step S5: The debugging subsystem sends debugging instructions to multiple joint debugging devices simultaneously through independent isolated communication links according to the parallel debugging task queue; the debugging subsystem binds the unique IP address of each joint debugging device to its physical communication port through the IP address and physical port binding mapping mechanism, so as to realize the accurate parsing and distribution of task instructions of multiple joint debugging devices. Step S6: The debugging subsystem has a built-in clock synchronization calibration module. Before the parallel debugging of multiple devices and terminals is started, the clock synchronization calibration of all joint debugging devices is performed to control the clock deviation of each device within a preset threshold. Step S7: The debugging subsystem has a pre-set test resource mutual exclusion rule library. Before parallel debugging starts, it constructs a test resource mutual exclusion matrix based on the current debugging task list and performs real-time detection on task combinations that may cause resource conflicts. When a resource conflict is detected, dynamic arbitration scheduling is performed according to the preset priority strategy. Step S8: Each joint debugging device synchronously executes debugging operations according to its assigned debugging task sequence, including sequentially outputting the current / voltage sequence and switch signals corresponding to each debugging item to the corresponding terminal under test; Step S9: The debugging subsystem receives the debugging data transmitted back from each joint debugging device in parallel, classifies and collects the data according to the device-terminal mapping table, completes the verification of each function, and records the verification results independently. The functional verification includes: time synchronization function verification, telemetry function verification, remote signaling function verification, remote control function verification, protection logic verification, remote setting download and recall function verification, and fault recording and recall function verification. Step S10: When a parallel debugging link experiences an anomaly or timeout, the system automatically isolates the link and records the anomaly information, without affecting the normal debugging process of other links; Step S11: The debugging subsystem automatically generates a debugging report based on all verification results, saves the debugging report, and sends it to the GOMS system.

2. The method for parallel intelligent joint commissioning of multiple power distribution terminals according to claim 1, characterized in that, In step S4, the resource scheduling module maintains a global resource status table, which records the working status, communication port occupancy, voltage source usage status, current source usage status, and switch channel occupancy status of each joint commissioning device. Based on the estimated execution time, resource occupancy type, and priority of each task to be commissioned, and in conjunction with the available resource status of each joint commissioning device in the global resource status table, the resource scheduling module uses a multi-task concurrent scheduling algorithm to perform task-resource matching and generate an optimal parallel commissioning task queue. This multi-task concurrent scheduling algorithm dynamically adjusts the commissioning order of multiple power distribution terminals based on a task execution time estimation model and a resource conflict detection mechanism, maximizing commissioning efficiency.

3. The method for parallel intelligent joint commissioning of multiple power distribution terminals according to claim 1, characterized in that, The time synchronization function verification includes: after the debugging subsystem receives the terminal time synchronization debugging request sent by the joint debugging device, it sends a time synchronization message to the terminal under test and starts the debugging timer. If the time synchronization return message from the terminal under test is received within the set time and the message is verified correctly, the time synchronization function is determined to be successfully debugged.

4. The method for parallel intelligent joint commissioning of multiple power distribution terminals according to claim 1, characterized in that, The telemetry function verification includes: after the debugging subsystem receives the telemetry function debugging request from the joint debugging device, it starts the debugging timer, compares the terminal telemetry data collected by the front-end service with the measurement requirement value in the joint debugging scheme, and if the collected value of the measured point and the requirement value are within the allowable error range within the set time, the telemetry function is determined to be successfully debugged.

5. The method for parallel intelligent joint commissioning of multiple power distribution terminals according to claim 1, characterized in that, The remote signaling function verification includes: the joint debugging device sets the remote signaling status of the field terminal to the initial debugging state and then sends a remote signaling debugging request; the debugging subsystem obtains the current remote signaling value and compares it with the initial state for consistency; after the states are consistent, the debugging timer is started and the remote signaling change is monitored; if the correct change is monitored within the set time, the remote signaling function is determined to be successfully debugged.

6. The method for parallel intelligent joint commissioning of multiple power distribution terminals according to claim 1, characterized in that, The remote control function verification includes: the debugging subsystem performs remote control function debugging on the switch to be debugged of the terminal under test according to the process of "remote control verification - remote control recalibration - remote control execution - judgment of execution result". If all steps are successful, the remote control function debugging is determined to be successful.

7. The method for parallel intelligent joint commissioning of multiple power distribution terminals according to claim 1, characterized in that, The protection logic verification includes: overcurrent stage I protection verification, overcurrent stage II protection verification, zero-sequence stage I alarm / action verification, low current grounding alarm verification, overload alarm / action verification, overvoltage protection action verification, high-frequency protection action verification, and low-frequency protection action verification. Each protection logic verification includes two subtypes: action debugging and non-action debugging. Action debugging is performed first. If successful, non-action debugging is performed. If both pass, the verification item is considered to have passed.

8. The method for parallel intelligent joint commissioning of multiple power distribution terminals according to claim 1, characterized in that, The remote setting download and recall function verification includes: after the debugging subsystem receives the remote setting download and recall request from the joint debugging device, it starts the debugging timer, sends the debugging protection setting command to the terminal under test, and after the sending is successful, sends the protection setting recall command to the terminal under test. If the recall is successful and the recalled setting parameters are consistent with the sent debugging values, the debugging is determined to be successful.

9. The method for parallel intelligent joint commissioning of multiple power distribution terminals according to claim 1, characterized in that, The fault recording and recall function verification includes: after the debugging subsystem receives the recording file recall request from the joint debugging device, it starts the debugging timer, recalls the fault recording directory and recording file from the corresponding terminal under test, and if the fault recording file of the terminal under test is received within the set time, the debugging is determined to be successful.

10. A parallel intelligent joint commissioning system for multiple power distribution terminals, used to implement the method as described in any one of claims 1-9, characterized in that, include: The DMS master station system is equipped with a fully automatic intelligent debugging service module for terminals. The fully automatic intelligent debugging service module for terminals includes: a fully automatic intelligent debugging editor, a joint debugging link monitoring module, a resource scheduling module, a clock synchronization calibration module, a time synchronization function verification module, a telemetry function verification module, a remote signaling function verification module, a remote control function verification module, a protection logic verification module, a remote setting download and recall function verification module, a fault recording and recall function verification module, a multi-device multi-terminal parallel joint debugging management module, and a debugging report generation module. The secure access zone has an independent local area network for deploying the commissioning subsystem, which is physically isolated from the existing wired fiber optic network, wireless public network, and power plant access zone. The commissioning subsystem independently completes all joint commissioning data interaction within the secure access zone without consuming the computing resources and communication bandwidth of the distribution master station area 1. A positive physical isolation device is used for data interaction between the commissioning subsystem and the existing distribution master station zone 1; Forward and reverse physical isolation devices are used for data interaction between the debugging subsystem and the DMS three-zone proxy server; The power distribution safety gateway is directly interconnected with the commissioning subsystem and interacts with the power distribution terminal via the power distribution safety gateway; Multiple commissioning devices are directly connected to the commissioning subsystem to perform their respective field terminal commissioning operations.

Citation Information

Patent Citations

  • Simultaneous automatic joint debugging method and system for multiple unmanned power distribution terminals of master station

    CN111564905A

  • Parallel test method and test system for multi-feeder terminal

    CN122437247A