A modularly configured power distribution terminal communication system and its communication method

By managing the power distribution terminal communication system through modular configuration and multi-process methods, the system anomalies caused by functional module modifications and persistent errors in existing technologies are solved. This enables independent configuration and individual control of functional modules, improving the system's flexibility and stability.

CN119629045BActive Publication Date: 2025-11-14ZHUHAI XJ ELECTRIC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411636293.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-11-14
Estimated Expiration
2044-11-15

AI Technical Summary

Technical Problem

The existing power distribution terminal communication system adopts a single-process multi-threaded structure, which requires modification of the entire communication system when adding, deleting or modifying functional modules. Furthermore, persistent errors can cause the entire module to exit abnormally, making it inconvenient to use.

Method used

It adopts a modular configuration and multi-process approach, manages independently running functional modules through a communication management module, uses configuration and maintenance tools to enable independent configuration of functional modules and start/stop of individual modules, and combines SQL database and central data bus for management.

Benefits of technology

It enables configurable and independent operation of functional modules, allowing individual modules to be started and stopped separately, avoiding impact on the entire system and improving the system's flexibility and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629045B_ABST
    Figure CN119629045B_ABST
Patent Text Reader

Abstract

This invention proposes a modularly configured power distribution terminal communication system and its communication method. The system includes: a communication management module, which manages multiple independently operating functional modules of the communication system; the power distribution terminal interacts with the power distribution master station and communication equipment through these functional modules; an SQL database, including system operation management configuration information and configuration files for the functional modules, connected to multiple functional modules via a central data bus; and a configuration and maintenance tool, connected to the communication management module and used to configure the functional modules. The communication system obtains system operation management configuration information and configuration files through the configuration and maintenance tool, enabling the addition of functional modules. According to the technical solution of this invention, the communication system operates in a modular, multi-process configuration manner through the configuration and maintenance tool and the central data bus, enabling independent configuration and operation of functional modules, and allowing the start and stop of individual functional modules through the communication management module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power distribution terminal communication system technology, and in particular to a power distribution terminal communication system and communication method based on modular configuration. Background Technology

[0002] Distribution terminals are intelligent terminals in distribution automation systems, possessing functions such as data acquisition, remote control, fault detection and location, and communication and information sharing. They are suitable for scenarios such as distribution ring network cabinets, switch stations, distributed power supply access points, and user-side substations.

[0003] The existing power distribution terminal communication system adopts a single-process multi-threaded structure. However, the single-process multi-threaded communication system architecture requires hard-coding to add threads to achieve communication with other devices. When it is necessary to add, delete, or modify the function of a single functional module of the communication system, the entire communication system needs to be modified. Moreover, a persistent error in a certain functional module of the communication system can cause the entire communication module to exit abnormally, which brings inconvenience to actual use. Summary of the Invention

[0004] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a power distribution terminal communication system and its communication method based on modular configuration. The power distribution terminal communication system based on modular configuration of this application adopts a modular configuration method and a multi-process method to achieve independent configuration and operation of functional modules, and through the communication management module, it can realize the start and stop of individual functional modules.

[0005] In a first aspect, embodiments of the present invention provide a power distribution terminal communication system based on modular configuration, comprising:

[0006] A communication management module is provided, which manages multiple independently operating functional modules of the communication system. The communication management module is communicatively connected to the multiple functional modules. The functional modules include a 101 / 104 master station forwarding module, an upward forwarding module, and a downward acquisition module. The power distribution terminal interacts with the power distribution master station through the 101 / 104 master station forwarding module, and interacts with the communication equipment through the upward forwarding module and the downward acquisition module.

[0007] The SQL database includes system operation management configuration information and configuration files for the functional modules. The SQL database is connected to multiple functional modules through a central data bus.

[0008] A configuration and maintenance tool is provided, which is connected to the communication management module and configures the functional modules of the communication system through the communication management module. The configuration and maintenance tool is also connected to the SQL database. The communication system obtains the system operation management configuration information and the configuration file through the configuration and maintenance tool to add the functional modules.

[0009] According to some embodiments of the present invention, the power distribution master station includes a data acquisition and monitoring control system, and the protocol parameters of the power distribution terminal are configured by the configuration and maintenance tool so that the protocol parameters of the power distribution terminal match the protocol parameters of the data acquisition and monitoring control system.

[0010] According to some embodiments of the present invention, the configuration and maintenance tool includes a device set, a port set, a forwarding set, and a monitoring set. The device set is used to generate pairs of virtual communication devices and device IDs. The port set is used to specify and bind the ports of the power distribution terminal to the virtual communication devices. The forwarding set is used to generate a forwarding table. The monitoring set is used to bind the ports of the power distribution master station and the power distribution terminal, and associate the monitoring objects of the data acquisition and monitoring control system with the forwarding table.

[0011] According to some embodiments of the present invention, the SQL database includes the device ID of the virtual communication device, the devid generated based on the device ID, the overall ID, the port binding result between the virtual communication device and the power distribution terminal, system operation management configuration information, and the configuration file corresponding to the functional module.

[0012] According to some embodiments of the present invention, the virtual communication device is bound to the port of the power distribution terminal, the configuration and maintenance tool includes a communication device template library, the communication device template library includes multiple communication device templates, the communication device template includes an original point table, and the original point table included in each communication device template is unique.

[0013] According to some embodiments of the present invention, the functional module is communicatively connected to a physical communication device, and the configuration and maintenance tool assigns the device ID of the virtual communication device and the original point table to the physical communication device. The physical communication device includes a device point table, and the device point table of the physical communication device communicatively connected to the same functional module is generated based on the same original point table. The four remote information of the device point table is different from the four remote information of the original point table.

[0014] Secondly, embodiments of the present invention provide a power distribution terminal communication method based on modular configuration, applied to the power distribution terminal communication system based on modular configuration described in the first aspect, the method comprising:

[0015] The configuration and maintenance tool generates a communication device template library based on preset communication protocols and imported original templates. It then generates pairs of virtual communication devices and device IDs, as well as devids, based on the communication device template library, and performs port binding between the power distribution terminal and the virtual communication devices.

[0016] The configuration and maintenance tool generates a forwarding table based on the demand table sent by the power distribution master station, and associates the monitoring objects of the data acquisition and monitoring control system with the forwarding table;

[0017] Based on the connected physical communication device, the power distribution terminal generates an overall ID and selects and downloads the configuration file corresponding to the functional module required by the physical communication device and the system operation management configuration information to the power distribution terminal through the configuration and maintenance tool. The functional module that downloads the configuration file operates normally.

[0018] The power distribution terminal interacts with the power distribution master station through the 101 / 104 master station forwarding module. The power distribution terminal interacts with the communication equipment through the upstream forwarding module and the downstream acquisition module. The communication management module monitors the functional modules and stops the operation of any functional modules that are malfunctioning.

[0019] According to some embodiments of the present invention, the configuration and maintenance tool generates the virtual communication device and the device ID, completes port binding between the virtual communication device and the power distribution terminal, and generates a device point table based on the original point table for configuring remote information and setting information. The device point table facilitates the connection of the power distribution terminal to the physical communication device.

[0020] Thirdly, embodiments of the present invention provide a power distribution terminal communication device based on modular configuration, including at least one control processor and a memory for communicatively connecting with the at least one control processor; the memory stores instructions executable by the at least one control processor, the instructions being executed by the at least one control processor to enable the at least one control processor to perform the power distribution terminal communication method based on modular configuration as described in the second aspect above.

[0021] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions for executing the configuration-modular power distribution terminal communication system as described in the first aspect above.

[0022] The modularly configured power distribution terminal communication system according to embodiments of the present invention has at least the following beneficial effects: a communication management module, which manages multiple independently operating functional modules of the communication system. The communication management module is communicatively connected to the multiple functional modules. The functional modules include a 101 / 104 master station forwarding module, an upward forwarding module, and a downward acquisition module. The power distribution terminal interacts with the power distribution master station through the 101 / 104 master station forwarding module and interacts with the communication equipment through the upward forwarding module and the downward acquisition module. An SQL database, which includes system operation management configuration information and configuration files of the functional modules, is connected to the multiple functional modules through a central data bus. A configuration and maintenance tool, which configures the functional modules of the communication system through the communication management module. The configuration and maintenance tool is communicatively connected to the SQL database. The communication system obtains the system operation management configuration information and the configuration files through the configuration and maintenance tool, thereby enabling the addition of functional modules. According to the technical solution of the present invention, the communication system enables the communication system to operate in a modular configuration and multi-process mode through configuration and maintenance tools and a central data bus, realizing the configurable and independent operation of functional modules, and enabling the start and stop of individual functional modules through the communication management module. Attached Figure Description

[0023] Figure 1 This is a schematic diagram of a power distribution terminal communication system based on configuration modularity provided in an embodiment of the present invention;

[0024] Figure 2 This is a flowchart of a power distribution terminal communication method based on configuration modularity provided in another embodiment of the present invention;

[0025] Figure 3 This is the result of the configuration and maintenance tool provided in another embodiment of the present invention binding ports to communication devices;

[0026] Figure 4 This is another embodiment of the present invention that provides a network communication address and port for a power distribution terminal communication system implemented via the 101 protocol, which matches the data acquisition and monitoring control system.

[0027] Figure 5 This is another embodiment of the present invention that provides a serial communication address and port for a power distribution terminal communication system implemented via the 104 protocol, which matches the data acquisition and monitoring control system.

[0028] Figure 6 This is a structural diagram of a power distribution terminal communication device based on configuration modularity provided in another embodiment of the present invention. Detailed Implementation

[0029] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0030] In the description of this invention, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., are based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting this invention.

[0031] In the description of this invention, "several" means one or more, "more than" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.

[0032] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.

[0033] The modularly configured power distribution terminal communication system according to embodiments of the present invention has at least the following beneficial effects: a communication management module, which manages multiple independently operating functional modules of the communication system. The communication management module is communicatively connected to the multiple functional modules. The functional modules include a 101 / 104 master station forwarding module, an upward forwarding module, and a downward acquisition module. The power distribution terminal interacts with the power distribution master station through the 101 / 104 master station forwarding module and interacts with the communication equipment through the upward forwarding module and the downward acquisition module. An SQL database, which includes system operation management configuration information and configuration files of the functional modules, is connected to the multiple functional modules through a central data bus. A configuration and maintenance tool, which configures the functional modules of the communication system through the communication management module. The configuration and maintenance tool is communicatively connected to the SQL database. The communication system obtains the system operation management configuration information and the configuration files through the configuration and maintenance tool, thereby enabling the addition of functional modules. According to the technical solution of the present invention, the communication system enables the communication system to operate in a modular configuration and multi-process mode through configuration and maintenance tools and a central data bus, realizing the configurable and independent operation of functional modules, and enabling the start and stop of individual functional modules through the communication management module.

[0034] First, refer to Figure 1 , Figure 1 This is a schematic diagram of a power distribution terminal communication system based on modular configuration, provided in an embodiment of the present invention.

[0035] like Figure 1 As shown, the power distribution terminal communication system based on modular configuration provided in this embodiment is characterized by comprising:

[0036] The communication management module manages multiple independently operating functional modules of the communication system. The communication management module communicates with multiple functional modules, including the 101 / 104 master station forwarding module, the upward forwarding module, and the downward acquisition module. The power distribution terminal interacts with the power distribution master station through the 101 / 104 master station forwarding module, and interacts with the communication equipment through the upward forwarding module and the downward acquisition module.

[0037] The SQL database includes system operation management configuration information and configuration files for functional modules. The SQL database is connected to multiple functional modules through a central data bus.

[0038] The configuration and maintenance tool connects to the communication management module and configures the functional modules of the communication system through the communication management module. The configuration and maintenance tool also connects to the SQL database. The communication system obtains system operation management configuration information and configuration files through the configuration and maintenance tool, thereby enabling the addition of functional modules.

[0039] It should be noted that the communication system is a component of the power distribution terminal. The communication system runs on Linux, and the power distribution terminal uses it to exchange data with the power distribution master station, other power distribution terminals, and communication equipment. The communication system adopts a data input / output control system architecture, with multiple functional modules sharing a central data bus. This central data bus includes a real-time library, command queue, and event queue. Multiple functional modules operate on the central data bus and use it to achieve data exchange and synchronization.

[0040] It should be noted that the communication management module and the configuration and maintenance tool have data interaction capabilities, enabling functions such as data exchange, message monitoring, application start-up and shutdown, and online debugging. The communication management module is used to connect with multiple functional modules and can control the start-up and shutdown of a single functional module without affecting the normal operation of other functional modules.

[0041] It should be noted that the functional modules include the M4Core protection core communication module, the 101 / 104 master station acquisition module, the 101 / 104 master station forwarding module, the historical data storage module, the satellite GPS communication module, the panel indicator communication module, the LCD display module, and the management unit module. The communication equipment includes upstream forwarding devices and downstream acquisition devices. The power distribution terminal interacts with the communication equipment through the upstream forwarding and downstream acquisition modules of the functional modules; it also interacts with the power distribution master station system through the 101 / 104 master station forwarding module of the functional modules, thus realizing data interaction between the power distribution terminal and the power distribution master station. The power distribution master station system runs on the Unix platform.

[0042] It should be noted that the system operation management configuration information determines which functional modules can run at the current power distribution terminal. The communication system uses the system operation management configuration information to enable each APP of the communication module to be configured and run. Each functional module has a unique configuration file. By using the configuration and maintenance tool to download the configuration file corresponding to the functional module from the SQL database to the power distribution terminal, the normal operation of the functional module corresponding to the configuration file can be achieved.

[0043] It should be noted that the configuration and maintenance tool runs on the Windows platform and is used to change the communication parameters and protection settings of the communication system.

[0044] It should be noted that the modularly configured power distribution terminal communication system provided in this embodiment allows for the configuration of functional modules within the power distribution terminal's communication system. Based on the communication devices connected to the power distribution terminal, the required functional modules are selected. The system operation management configuration information and the configuration files of the selected functional modules are downloaded to the power distribution terminal using a configuration and maintenance tool. This allows for the addition of individual functional modules through the configuration and maintenance tool, system operation management configuration information, and configuration files. Similarly, functional modules can be deleted or modified within the communication system according to actual operational needs, without affecting the normal operation of other functional modules. Data sharing among the functional modules of the communication system is achieved through a central data bus, and each functional module operates independently. The communication management module monitors the operational status of the functional modules. When a persistent error occurs in a functional module, its operation can be suspended through the communication management module without affecting the normal operation of other functional modules, ensuring the communication system remains operational.

[0045] In another embodiment, the power distribution master station includes a data acquisition and monitoring control system, which configures the protocol parameters of the power distribution terminal through a configuration and maintenance tool, so that the protocol parameters of the power distribution terminal match the protocol parameters of the data acquisition and monitoring control system.

[0046] It should be noted that the communication system of the power distribution terminal interacts with the data acquisition and monitoring control system. The communication system acts as a communication monitoring terminal, and it primarily uses two communication protocols: the 101 serial communication protocol and the 104 network protocol. The communication system uses configuration and maintenance tools to configure the communication parameters for both the 101 and 104 protocols and saves the configuration data to the `scada_table` data table in the SQL database. By using these configuration and maintenance tools, the power distribution terminal's protocol parameters are configured, enabling communication monitoring and forwarding to the power distribution master station.

[0047] In another embodiment, the configuration and maintenance tool includes a device set, a port set, a forwarding set, and a monitoring set. The device set is used to generate pairs of virtual communication devices and device IDs. The port set is used to specify and bind the ports of the power distribution terminal to the virtual communication devices. The forwarding set is used to generate a forwarding table. The monitoring set is used to bind the ports of the power distribution master station and the power distribution terminal, and associate the monitoring objects of the data acquisition and monitoring control system with the forwarding table.

[0048] It should be noted that the device set in the configuration and maintenance tool records the generated virtual communication devices and device IDs, and the power distribution terminal can generate configuration files based on the devices in the device set; the port set records the binding results, and the power distribution terminal can generate system operation and management configuration information based on the port set; the forwarding set generates a forwarding table based on the device point table of the communication devices; and through the monitoring set, the port binding between the power distribution terminal and the power distribution master station is realized, as well as the association between the monitoring objects of the data acquisition and monitoring control system and the forwarding table. The configuration and maintenance tool pre-configures virtual communication devices to facilitate the subsequent connection of external physical communication devices.

[0049] In another embodiment, the SQL database includes the device ID of the virtual communication device, the devid generated based on the device ID, the overall ID, the port binding result between the virtual communication device and the power distribution terminal, system operation management configuration information, and configuration files corresponding to the functional modules.

[0050] It should be noted that the SQL retrieves pairs of virtual communication devices and device IDs generated by the configuration and maintenance tool. The device ID is unique; the `device` is generated based on the device ID, and the forwarding table includes the `device`. The overall ID is generated as a continuous and unique set of IDs based on the devices connected to the communication system at the end of the overall configuration process. Each functional module corresponds to a configuration file. The power distribution terminal downloads a configuration file and system operation management configuration information through the configuration and maintenance tool. The power distribution terminal can only run the functional modules corresponding to that configuration file. The system operation management configuration information and the configuration files corresponding to the functional modules are stored in the configuration repository of the SQL database.

[0051] In another embodiment, the virtual communication device is bound to the port of the power distribution terminal, and the configuration and maintenance tool includes a communication device template library. The communication device template library includes multiple communication device templates, and each communication device template includes an original point table. The original point table included in each communication device template is unique.

[0052] It should be noted that the configuration and maintenance tool generates a communication device template library based on preset communication protocols and original templates, with one communication device template corresponding to one functional module.

[0053] In another embodiment, the functional module is communicatively connected to the physical communication device. The configuration and maintenance tool assigns the virtual communication device's device ID and original point table to the physical communication device. The physical communication device includes a device point table. The device point table of the physical communication device that is communicatively connected to the same functional module is generated based on the same original point table. The four remote information of the device point table is different from the four remote information of the original point table.

[0054] It should be noted that communication devices require corresponding functional modules to function properly. One functional module can correspond to multiple communication devices. Communication devices that call the same functional module are first assigned the same original point table. The parameters in the original point table are configured based on the actual implementation requirements through the configuration and maintenance tool to obtain the device point table.

[0055] In addition, embodiments of the present invention provide a power distribution terminal communication method based on modular configuration, applicable to... Figure 1 The illustrated embodiment of the power distribution terminal communication system based on modular configuration is referred to... Figure 2 The method includes, but is not limited to, the following steps:

[0056] S110, the configuration and maintenance tool generates a communication device template library based on the preset communication protocol and the original template imported from the outside, and generates pairs of virtual communication devices and device IDs, as well as devid, based on the communication device template library, and binds the power distribution terminal to the virtual communication device.

[0057] S120, the configuration maintenance tool generates a forwarding table based on the demand table sent by the power distribution master station, and associates the monitoring objects of the data acquisition and monitoring control system based on the forwarding table;

[0058] S130, the power distribution terminal generates an overall ID based on the connected physical communication device and selects and downloads the configuration files and system operation management configuration information corresponding to the functional modules required by the physical communication device to the power distribution terminal through the configuration and maintenance tool. The functional modules that download the configuration files operate normally.

[0059] S140, the power distribution terminal interacts with the power distribution master station through the 101 / 104 master station forwarding module, and interacts with the communication equipment through the upstream forwarding module and the downstream acquisition module. The communication management module monitors the functional modules and stops the operation of functional modules that are malfunctioning.

[0060] It should be noted that the configuration and maintenance tool is based on the self-describing of communication protocols. According to the functional division of the modules, it establishes corresponding data models for the data inputs and outputs implemented by each module. Based on the data models, it generates database tables using SQL, including remote signaling tables, telemetry tables, and remote control tables. Generating these database tables generates the communication protocol library, and each functional module has a different communication protocol. The next step is only performed after the communication protocols for all functional modules have been generated.

[0061] For example, a protection core communication protocol library is established based on the M4Core protection communication module and protection core communication, which involves the creation of tables such as the basic configuration table, remote signaling table, telemetry table and remote control table. After the basic configuration table, remote signaling table, telemetry table and remote control table are written into the SQL database, the device table, remote signaling table, telemetry table, remote pulse table, remote control table and setting table will be created.

[0062] For example, a 101 / 104 protocol library for the power distribution acquisition master station is established based on the 101 / 104 master station acquisition module and the 101 / 104 acquisition protocol. A library is built for the four remote information collected by the power distribution terminal. After the four remote information collected by the power distribution terminal is written into the SQL database, the database can be used to query TABLE structures such as telemetry (ai), remote adjustment (ao), remote pulse (ci), basic configuration (device), remote signaling (di), remote control (do), and setting. The telemetry table and its structure definition can be seen.

[0063] It should be noted that, based on the generated communication protocol library, a universal standard for communication equipment suitable for this protocol is established, namely, a communication equipment template library. For the same type of equipment, the function of reusing the original point numbers for remote signaling, telemetry, remote control, and remote monitoring is achieved. A `template_table` table is created in the SQL database. All templates created according to the communication protocol have their original templates inserted into this table. After inserting the original templates, the communication equipment template library is generated. One functional module corresponds to one communication equipment template in the communication equipment template library. After establishing the communication equipment templates, the remote signaling, telemetry, remote control, and setting information associated with the communication equipment templates are automatically configured through configuration and maintenance tools, facilitating the subsequent establishment of external communication equipment.

[0064] It should be noted that the original templates include an empty template, a BeiDou / GPS time synchronization template, a serial port waveform recording file transfer template, a State Grid standard power supply protocol template, a State Grid standard power supply protocol template for Southern Power Grid, a dual-core communication protocol template (waveform recording type DTU), a gateway template (M151 platform), an inter-board serial communication template (conventional type DTU), a State Grid power supply panel template (DTU), and an external battle damage device template (DTU). The content field of the original template stores the detailed four-remote definitions of the corresponding protocol template. The original templates were designed before configuring the communication system and were imported from external systems using configuration and maintenance tools.

[0065] It should be noted that for the same communication equipment template, multiple devices of the same type can be connected to the power distribution terminal. Each device of the same type uses the same original point table of the communication equipment template. During configuration design, a unique device ID is generated for each communication device. Simultaneously, for the same type of information (such as telemetry) in the corresponding protocol library table, although the original inf values ​​are the same, different ID sequences are generated, and the .devid is used to distinguish the devices. Communication devices are established based on the communication equipment template through the device set configured by the maintenance tool. The basic information of the communication devices is modified based on the communication equipment template according to operational needs. The parameters of the communication devices are the actual operating parameters, and the template defines the basic and default information of the same type of device. Among these, devices of the same type refer to communication devices that call the same functional module.

[0066] For example, based on the protected nuclear communication template, a protected communication device is established, and the basic information and functional modules of the protected communication device are related to actual use.

[0067] For example, an external serial communication device is established. Based on the external serial communication template, the external device is connected via a serial port. The communication template originates from the four remote point tables forwarded by the external serial device, and the protocol library used by the external serial communication template is the power distribution acquisition master station 101 / 104 protocol library. According to the communication requirements of the power distribution terminal, other downstream acquisition devices can be created based on the communication device template.

[0068] It should be noted that, referring to Figure 3 , Figure 3 This embodiment shows the result of the configuration and maintenance tool binding ports to communication devices. Figure 3 The left side displays the communication devices bound to the ports, while the right side shows the network port or serial port configuration information corresponding to the ports. The port binding results are configured by specifying the communication system port of the power distribution terminal for the communication devices using the port set in the configuration and maintenance tool, achieving hardware binding. The communication devices include downstream acquisition devices (network port 104, specifying IP and port number; serial port 101, specifying link address and common address, baud rate, data bits, stop bits, and parity) and upstream forwarding devices (network port 104, specifying IP and port number; serial port 101, specifying link address and common address, baud rate, data bits, stop bits, and parity). The port binding results for the communication devices are written to the `port_table` in the SQL database using the configuration and maintenance tool.

[0069] It should be noted that the configuration and maintenance tool extracts the four remote point tables that the communication equipment needs to forward based on the demand table sent by the power distribution master station, generating a forwarding table to meet the real-time monitoring requirements of the power distribution master station. The forwarding set configuration of the configuration and maintenance tool needs to forward to the power distribution master station's point tables and update the forwarding table database. The power distribution terminal can have multiple forwarding tables, which are stored in the forward_table in the SQL database. The specific remote signaling sub-table, telemetry sub-table, and remote control sub-table are stored in the forward_di_table, forward_ai_table, and forward_do_table tables, respectively, while the setting sub-table is stored in the forward_settling_table.

[0070] It should be noted that, referring to Figure 4 and Figure 5 , Figure 4 To match the network communication address and port of the data acquisition and monitoring control system for the power distribution terminal communication system implemented via the 101 protocol, Figure 5 To match the serial communication address and port of the data acquisition and monitoring control system with the power distribution terminal communication system implemented via the 104 protocol, the protocol parameters of the power distribution terminal to the data acquisition and monitoring control system are configured using a configuration and maintenance tool to complete communication monitoring. The power distribution terminal communication system communicates with the data acquisition and monitoring control system, acting as the communication listening end. The main communication protocols used are the 101 serial communication protocol and the 104 network protocol. The communication terminal configures the communication parameters in the 101 and 104 protocols using the configuration and maintenance tool and saves them to the `scada_table` data table in the SQL database.

[0071] It should be noted that the configuration and maintenance tool generates continuous IDs for all external communication devices in the communication system. After updating all files generated by the configuration and maintenance tool to the SQL database, the tool extracts the information required for the operation of functional modules from the corresponding SQL database, generates a self-description file for the power distribution terminal, automatically generates the system operation management configuration information file sysmgt__.xml based on the port set and historical database set of the configuration and maintenance tool, and automatically generates the four-remote configuration information file appdbXXX.xml for each communication device's corresponding functional module based on the communication devices in the device set of the configuration and maintenance tool. The sysmgt__.xml file determines which functional modules the current power distribution terminal can run. Based on the functional modules configured in the system operation management information sysmgt__.xml and the corresponding XML configuration files, the power distribution terminal configuration software architecture is encapsulated and downloaded to the power distribution terminal through the configuration and maintenance tool, enabling the power distribution terminal to be installed and run.

[0072] It should be noted that after the communication system of the power distribution terminal is put into operation, it enables data interaction between the power distribution terminal and the power distribution master station, and data interaction between the power distribution terminal and the communication equipment. If a new type of external communication equipment is added during implementation, the connection between the external communication equipment and the power distribution terminal is achieved through the modular configuration power distribution terminal communication method of this application. If an external communication equipment with an existing communication equipment template is added, the required functional module of the external communication equipment is selected, and the configuration file and system operation management configuration information of the selected functional module are downloaded to the power distribution terminal through the configuration and maintenance tool to achieve normal operation of the functional module. Correspondingly, the functional module can also be deleted or modified through the configuration and maintenance tool. The newly added functional module is connected to the central data bus to achieve global data sharing, and the addition of a new functional module to the communication system does not require the addition of extra threads through hard coding. For a momentary error of a single functional module, the communication system can be restarted through a script. For a persistent error of a single functional module, the module can be suspended individually through the communication management module to keep the communication system in working condition.

[0073] In another embodiment, the configuration maintenance tool generates a virtual communication device and a device ID, completes port binding between the virtual communication device and the power distribution terminal, and generates a device point table based on the original point table for configuring remote information and setting information. The device point table facilitates the connection of external physical communication devices to the power distribution terminal.

[0074] It should be noted that the power distribution terminal is connected to multiple external communication devices. To distinguish the data from these external communication devices, each device is numbered. First, a configuration and maintenance tool generates virtual communication devices and device IDs, assigns an initial point table to each newly created virtual communication device, and then configures the device point table based on the initial point table and operational requirements using remote information (remote control, remote monitoring, and remote telemetry). The power distribution terminal obtains the demand table sent by the power distribution master station, selects the corresponding device point table for each device based on the demand table's content, imports it into the forwarding set, and generates a forwarding table. This provides the implementation basis for subsequently associating the forwarding table with monitored objects.

[0075] like Figure 6 As shown, Figure 6 This is a structural diagram of a modularly configured power distribution terminal communication device according to an embodiment of the present invention. The present invention also provides a modularly configured power distribution terminal communication device, comprising:

[0076] The processor 501 can be implemented using a general-purpose central processing unit (CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.

[0077] The memory 502 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 502 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 502 and is called and executed by the processor 501 to implement the modular configuration-based power distribution terminal communication method of the embodiments of this application.

[0078] The input / output interface 503 is used to implement information input and output;

[0079] The communication interface 504 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0080] Bus 505 transmits information between various components of the device (e.g., processor 501, memory 502, input / output interface 503, and communication interface 504);

[0081] The processor 501, memory 502, input / output interface 503, and communication interface 504 are connected to each other within the device via bus 505.

[0082] This application embodiment also provides a storage medium, which is a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the above-described power distribution terminal communication method based on configuration modularity.

[0083] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate, and may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0084] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0085] The above provides a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.

Claims

1. A power distribution terminal communication system based on modular configuration, characterized in that, include: A communication management module is provided, which manages multiple independently operating functional modules of the communication system. The communication management module is communicatively connected to the multiple functional modules. The functional modules include a 101 / 104 master station forwarding module, an upward forwarding module, and a downward acquisition module. The power distribution terminal interacts with the power distribution master station through the 101 / 104 master station forwarding module, and interacts with the communication equipment through the upward forwarding module and the downward acquisition module. The SQL database includes system operation management configuration information and configuration files for the functional modules. The SQL database is connected to multiple functional modules through a central data bus. A configuration and maintenance tool is provided, which is connected to the communication management module and configures the functional modules of the communication system through the communication management module. The configuration and maintenance tool is also connected to the SQL database. The communication system obtains the system operation management configuration information and the configuration file through the configuration and maintenance tool to add the functional modules. The power distribution master station includes a data acquisition and monitoring control system. The configuration and maintenance tool is used to configure the protocol parameters of the power distribution terminal so that the protocol parameters of the power distribution terminal match the protocol parameters of the data acquisition and monitoring control system. The configuration and maintenance tool includes a device set, a port set, a forwarding set, and a monitoring set. The device set is used to generate pairs of virtual communication devices and device IDs. The port set is used to specify and bind the ports of the power distribution terminal to the virtual communication devices. The forwarding set is used to generate a forwarding table. The monitoring set is used to bind the ports of the power distribution master station and the power distribution terminal, and associate the monitoring objects of the data acquisition and monitoring control system with the forwarding table. The SQL database includes the device ID of the virtual communication device, the devid generated based on the device ID, the overall ID, the port binding result between the virtual communication device and the power distribution terminal, system operation management configuration information, and the configuration files corresponding to the functional modules. The virtual communication device is bound to the port of the power distribution terminal. The configuration and maintenance tool includes a communication device template library, which includes multiple communication device templates. Each communication device template includes an original point table, and the original point table included in each communication device template is unique. The functional module is communicatively connected to the physical communication device. The configuration and maintenance tool assigns the device ID and the original point table of the virtual communication device to the physical communication device. The physical communication device includes a device point table. The device point table of the physical communication device that is communicatively connected to the same functional module is generated based on the same original point table. The four remote information of the device point table is different from the four remote information of the original point table.

2. A power distribution terminal communication method based on modular configuration, characterized in that, The method, applied to the modularly configured power distribution terminal communication system of claim 1, comprises: The configuration and maintenance tool generates a communication device template library based on preset communication protocols and imported original templates. It then generates pairs of virtual communication devices and device IDs, as well as devids, based on the communication device template library, and performs port binding between the power distribution terminal and the virtual communication devices. The configuration and maintenance tool generates a forwarding table based on the demand table sent by the power distribution master station, and associates the monitoring objects of the data acquisition and monitoring control system with the forwarding table; Based on the connected physical communication device, the power distribution terminal generates an overall ID and selects and downloads the configuration file corresponding to the functional module required by the physical communication device and the system operation management configuration information to the power distribution terminal through the configuration and maintenance tool. The functional module that downloads the configuration file operates normally. The power distribution terminal interacts with the power distribution master station through the 101 / 104 master station forwarding module. The power distribution terminal interacts with the communication equipment through the upstream forwarding module and the downstream acquisition module. The communication management module monitors the functional modules and stops the operation of any functional modules that are malfunctioning.

3. The power distribution terminal communication method based on modular configuration according to claim 2, characterized in that, The configuration and maintenance tool generates the virtual communication device and the device ID, completes port binding between the virtual communication device and the power distribution terminal, and generates a device point table based on the original point table for configuring remote information and setting information. The device point table facilitates the connection of the power distribution terminal to the physical communication device.

4. A power distribution terminal communication device based on modular configuration, characterized in that, It includes at least one control processor and a memory for communicatively connecting to the at least one control processor; the memory stores instructions executable by the at least one control processor, which, when executed by the at least one control processor, enable the at least one control processor to perform the configuration-modular power distribution terminal communication method as described in claim 2 or claim 3.

5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the configuration-modular power distribution terminal communication method as described in claim 2 or claim 3.

Citation Information

Patent Citations

  • NETCONF-based network equipment configuration management method

    CN106301956A

  • Modularized distribution automation terminal implementation method and device

    CN116846081A