Dynamic configuration and plug-and-play method and device of power equipment and electronic equipment

By detecting new equipment and assigning unique equipment IDs, updating the equipment list and synchronizing it to the power distribution main station, the problem of plug-and-play power equipment and low configuration efficiency in the existing technology is solved, and automatic update of the equipment list is realized and efficient data transmission.

CN119449601APending Publication Date: 2025-02-14SHIJIAZHUANG KE ELECTRIC
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411571240.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The prior art does not support plug-and-play power equipment, and the data point table configuration is heavy and error-prone, and low efficiency.

Method used

By detecting the new equipment product type and equipment information added by the access device, assigning a unique equipment ID, and updating the equipment list, synchronizing it to the distribution main station to realize data transmission between the distribution terminal and the distribution main station.

Benefits of technology

Automatic update of device list is realized without manual intervention, avoiding the heavy and error-prone problems of manual configuration work, and improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449601A_ABST
    Figure CN119449601A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of power distribution automation, and provides a dynamic configuration and plug-and-play method and device of power equipment and electronic equipment. The method comprises the steps that after it is detected that access equipment is added, the product type and equipment information of added new equipment are recognized, and equipment IDs are distributed to the new equipment based on the product type and all equipment in an equipment list; and updating the equipment ID and the equipment information corresponding to the new equipment into the equipment list by taking the equipment as a unit, and sending the updated equipment list to the power distribution master station, so that the power distribution terminal and the power distribution master station carry out transmission of corresponding data of the data object of the equipment based on the updated equipment list and a preset model point table. According to the method, the plug and play function of the equipment can be realized, the equipment data (equipment list) between the equipment and the master station can be automatically updated, manual intervention is not needed, and the problems of heavy work, high error rate and low efficiency of manual configuration are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power distribution automation, and in particular to a method, device and electronic equipment for dynamic configuration and plug-and-play of power equipment. Background Art

[0002] With the development of smart grid construction, the importance of distribution automation has become increasingly prominent. Distribution automation terminals (referred to as distribution terminals) are mainly used to realize functions such as data collection, control and communication of access equipment such as power equipment, as well as data transmission with distribution master stations. Generally speaking, one distribution master station corresponds to multiple distribution terminals, and one distribution terminal can access multiple devices. In recent years, the rapid development of Internet of Things technology has connected a large number of end-side devices represented by various sensors to the power system, making the debugging task of distribution terminals extremely challenging.

[0003] In the related art, when the distribution terminal is connected to the equipment, configuration and debugging and other operations are required to realize subsequent data transmission and other functions. For example, the IEC104 protocol is a commonly used communication protocol in distribution automation technology. It transmits data based on the data point table negotiated between the distribution terminal and the distribution master station, and requires configuration and debugging by maintenance personnel. When the distribution terminal needs to connect to a large number of devices, and the types and quantities of each device are different, the manual configuration of the data point table is arduous and error-prone. In other words, the related art does not support plug-and-play of equipment, and the data point table configuration workload is arduous, error-prone, and inefficient. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a method, device and electronic device for dynamic configuration and plug-and-play of power equipment to solve the technical problems that the related technology does not support plug-and-play of equipment, and the data point table configuration is cumbersome, error-prone and inefficient.

[0005] In a first aspect, an embodiment of the present application provides a dynamic configuration and plug-and-play method for an electric device, comprising:

[0006] After detecting the addition of an access device, identifying the product type and device information of the added new device, and assigning a device identity (Identity Document, ID) to the new device based on the product type and all devices listed in the device list;

[0007] The device identity and device information corresponding to the new device are updated to the device list on a device basis, and the updated device list is sent to the power distribution master station, so that the power distribution terminal and the power distribution master station can transmit the corresponding data of the device's data object based on the updated device list and the preset model point table, wherein the model point table includes a preset data object address corresponding to the product type of the device, and the data object address is used to indicate the data object of the device.

[0008] In a possible implementation manner of the first aspect, the device ID includes a first ID and a second ID;

[0009] The assigning a device ID to the new device based on the product type and all devices listed in the device list includes:

[0010] Determine the product code corresponding to the new device according to the product type and the correspondence between the preset type and code, and determine the first ID according to the product code;

[0011] Determine the second ID according to the number of devices in the device list that belong to the same product type as the new device;

[0012] The device ID is obtained based on the first ID and the second ID.

[0013] In a possible implementation manner of the first aspect, the power distribution terminal stores data collected by the device based on the corresponding device ID;

[0014] The method further comprises:

[0015] receiving a test call instruction sent by the power distribution master station, wherein the test call instruction includes a target device ID and a target data object address; the target device ID is at least one;

[0016] Determine the target device called for testing by the power distribution master station according to the target device ID and the device IDs of all devices in the device list;

[0017] Determine the target data object called for testing by the power distribution master station according to the target device, the target data object address and the preset data object address in the preset model point table;

[0018] Report the data corresponding to the target data object to the power distribution master station.

[0019] In a possible implementation manner of the first aspect, determining the target device to be called for testing by the power distribution master station according to the target device ID and the device IDs of all devices in the device list includes:

[0020] Determining whether the target device ID is a first preset character;

[0021] If the target device ID is a first preset character, all devices listed in the device list are taken as target devices; wherein the first preset character indicates all devices in the device list;

[0022] If the target device ID is not the first preset character, determining whether the second ID of the target device ID is the second preset character;

[0023] If the second ID of the target device ID is a second preset character, all devices corresponding to the target product type in the device list are taken as target devices according to the target product type indicated by the first ID of the target device ID; wherein the second preset character indicates all devices of the same product type in the device list;

[0024] If the second ID of the target device ID is not the second preset character, then according to the target device ID, a device in the device list having the same device ID as the target device ID is used as the target device.

[0025] In a possible implementation of the first aspect, the method further includes:

[0026] Detect whether the access device has changed; the change includes device addition and device deletion;

[0027] If it is detected that the access device is deleted, the device is deleted, and the prompt information of the deleted device is reported to the power distribution master station; if the deletion consent information returned by the power distribution master station is received, the content corresponding to the deleted device in the device list is deleted;

[0028] If an increase in access equipment is detected, the newly added equipment is determined and prompt information of the new equipment is reported to the power distribution master station; if the power distribution master station returns a consent information for the increase, the step of identifying the product type and equipment information of the newly added equipment is executed.

[0029] In a possible implementation manner of the first aspect, after identifying the product type and device information of the added new device, the method further includes:

[0030] Determine whether the new device exists in the device list according to the device information and the device information of all devices in the device list;

[0031] If the new device exists in the device list, assigning the device ID corresponding to the new device in the device list to the new device;

[0032] If the new device does not exist in the device list, the step of assigning a device ID to the new device based on the product type and all devices listed in the device list is performed.

[0033] In a possible implementation of the first aspect, the method further includes:

[0034] Obtain the communication quality with the access device;

[0035] For each access device whose communication quality does not meet the preset quality threshold, obtain the importance level of the access device and the number of online and offline times within a preset period;

[0036] If the importance level is lower than the preset level, and the number of online and offline times is greater than the preset threshold, the device list will not be updated when the access of the access device is detected next time.

[0037] In a second aspect, an embodiment of the present application provides a dynamic configuration and plug-and-play device for an electric device, including:

[0038] A detection module, configured to detect that an access device is added, identify the product type and device information of the added new device, and assign a device ID to the new device based on the product type and all devices listed in the device list;

[0039] An update module is used to update the device identity and device information corresponding to the new device to the device list on a device basis, and send the updated device list to the power distribution master station, so that the distribution terminal and the power distribution master station can transmit the corresponding data of the device's data object based on the updated device list and the preset model point table, wherein the model point table includes a preset data object address corresponding to the product type of the device, and the data object address is used to indicate the data object of the device.

[0040] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the dynamic configuration and plug-and-play method of the power equipment as described in any one of the first aspects is implemented.

[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the dynamic configuration and plug-and-play method of the power equipment as described in any one of the first aspects.

[0042] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.

[0043] The dynamic configuration and plug-and-play method, device and electronic device of the power equipment provided in the embodiments of the present application, when detecting the addition of a new device, assign a unique device ID to the new device according to the product type and device list of the identified new device, and then update the device ID and the identified device information of the new device to the device list on a device-by-device basis, and at the same time set a preset model point table including a preset data object address, and solidify the properties of various products such as the above-mentioned data object address in advance. In this way, in the update of the device list, the device ID is assigned according to the product type and the connected device, and the model point table is set, and no manual configuration is required. The above-mentioned updated device list is synchronized to the distribution master station, and the transmission of device data (plug-and-play) can be realized between the distribution terminal and the distribution master station according to the updated device list and the preset model point table. In this way, the automatic update of the device list is realized without the need for manual intervention, avoiding the problem that the manual configuration work is heavy, error-prone and inefficient.

[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1 It is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0047] Figure 2 It is a flowchart of a dynamic configuration and plug-and-play method of an electric power device provided in an embodiment of the present application;

[0048] Figure 3 is a flowchart of a dynamic configuration and plug-and-play method for power equipment provided by another embodiment of the present application;

[0049] Figure 4 It is a structural schematic diagram of a dynamic configuration and plug-and-play device of an electric power device provided in one embodiment of the present application;

[0050] Figure 5 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0051] The present application is described more clearly below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the effects of the present application, but are not intended to limit the present application in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present application. These all fall within the scope of protection of the present application.

[0052] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0053] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0054] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0055] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0056] In addition, the “plurality” mentioned in the embodiments of the present application should be interpreted as two or more.

[0057] With the rapid development of Internet of Things technology, a large number of end-side devices represented by various sensors are connected to the power system, making the debugging task of distribution terminals extremely challenging. When the distribution terminal is connected to the equipment, configuration and debugging operations are required to realize subsequent data transmission and other functions. For example, the IEC104 protocol is a commonly used communication protocol in distribution automation technology. It transmits data based on the data point table negotiated between the distribution terminal and the distribution master station. When a new device is connected to the distribution terminal, maintenance personnel are required to negotiate the relevant information of the new device and configure it in the data point table of the distribution terminal and the distribution master station.

[0058] The plug-and-play of equipment requires that when the on-site access equipment changes, such as addition, the distribution terminal and the distribution master station can automatically update the data point table without the intervention of maintenance personnel. It can be seen that the relevant technology does not support the plug-and-play of equipment, and the maintenance personnel need to intervene to update the data point table. At the same time, when a large number of devices are connected to the distribution terminal, and the types and quantities of each device are different, the manual configuration of the data point table is arduous, error-prone, and inefficient.

[0059] Based on the above problems, the inventors have discovered that when a new device is detected, a unique device ID can be assigned to the new device based on the product type and device list of the identified new device. Then, the device ID of the new device and the identified device information can be updated to the device list. At the same time, a preset model point table including a preset data object address can be set to solidify the properties of various products such as the above data object address in advance. In this way, in the update of the device list, the device ID is assigned based on the product type and the connected device, and the model point table is set up, and no manual configuration is required. The updated device list is synchronized to the distribution master station, and the distribution terminal and the distribution master station can realize the transmission of device data (plug and play) based on the updated device list and the preset model point table. In this way, the automatic update of the device list is realized without the need for manual intervention, thus avoiding the problem of heavy, error-prone and inefficient manual configuration.

[0060] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0061] First reference Figure 1 , Figure 1 The application scenario of the present application is schematically shown, in which a power distribution terminal 101, a power distribution master station 102 and multiple devices 103 such as power equipment are included. The power distribution terminal 101 can access multiple devices 103, communicate with each device 103, and store data collected or acquired by each device 103, wherein each device 103 is connected to the power distribution terminal 101 through a serial port, a network cable, 4G or a carrier. The power distribution terminal 101 can communicate independently with the power distribution master station 102, and can transmit data collected or acquired by each device 103.

[0062] Among them, after the distribution terminal 101 detects the increase of the access device, it identifies the product type and device information of the newly added device 104, and assigns a device ID to the new device 104 based on the product type and all the devices listed in the device list. After that, the device ID and device information corresponding to the new device 104 are updated to the device list on a device basis, and the updated device list is sent to the distribution master station 102 to realize automatic update of the device list, so that the distribution terminal 101 and the distribution master station 102 can transmit the corresponding data of the device's data object based on the updated device list and the preset model point table, wherein the model point table includes a preset data object address corresponding to the product type of the device, and the data object address is used to indicate the data object of the device.

[0063] Optionally, the power distribution terminal 101 may include a database, and the data collected or acquired by each device 103 is stored in the database.

[0064] Combine the following Figure 1 ,refer to Figure 2-3 To describe the dynamic configuration and plug-and-play method of the power equipment provided according to the exemplary embodiment of the present application.

[0065] Figure 2 FIG. 1 is a flow chart of a dynamic configuration and plug-and-play method for power equipment provided by an embodiment of the present application. Figure 2 As shown, the method in the embodiment of the present application is applied to a power distribution terminal and may include:

[0066] Step 201: After detecting that an access device has been added, identify the product type and device information of the added new device, and assign a device ID to the new device based on the product type and all devices listed in the device list.

[0067] Exemplarily, this embodiment can use self-identification technology such as Coap technology, HPLC technology or Wisun technology to detect whether the access device has changed, such as whether the access device has increased. When the increase of the access device is detected, the above self-identification technology is used to identify the product type and device information of the newly added device. Among them, the device refers to the end-side device that can be connected to the power distribution terminal, such as power equipment, such as circuit breakers, temperature and humidity sensors, and electric energy meters. Products include all devices of the same type, and the product type is the type of device. Device information may include key features of the device, such as the device physical address, communication interface, and communication protocol.

[0068] The device list includes the device information and device ID of all devices currently connected to the power distribution terminal. The device ID corresponds to the device one by one, is used to indicate the corresponding device and is unique. The device ID may include a first ID and a second ID. For example, the device ID may include 2 bytes and 16 bits (bits), of which 6 bits from bit15 to bit10 may be the first ID, and 10 bits from bit9 to bit0 may be the second ID. The first ID indicates the product type of the corresponding device, and the second ID indicates the order in which the corresponding device is connected to the power distribution terminal.

[0069] In one possible implementation, when assigning a device ID to a new device, this embodiment can determine the product code corresponding to the new device based on the product type and the correspondence between the preset type and the code, and determine the first ID based on the product code, and determine the second ID based on the number of devices in the device list that belong to the same product type as the new device, and then obtain the device ID based on the first ID and the second ID.

[0070] Exemplarily, referring to Table 1, the correspondence between the preset types and codes includes product types and product codes, and each type of product has a unique corresponding product code, for example, the decimal form of the product code of the power distribution terminal (that is, the power distribution terminal body) is 1, the product code of the circuit breaker is 2, the product code of the temperature and humidity sensor is 3, the product code of the electric energy meter is 4, etc. In addition, Table 1 may also include product model names corresponding to the product types.

[0071] Table 1 Correspondence between preset types and codes

[0072] Product Type Product Model Name Product Code Power distribution terminal DTU 1 breaker RCD 2 Temperature and humidity sensor TEMP 3 Energy meter METER 4 …… ……

[0073] In this way, the product code corresponding to the new device is determined according to the product type of the new device and the above Table 1, and the binary form of the above corresponding product code is used as the first ID. This is because binary data is more convenient to transmit between the distribution terminal and the distribution master station.

[0074] Optionally, when determining the second ID, this embodiment determines the second ID according to the number of devices in the device list that belong to the same product type as the new device, that is, according to the access order of the devices in the device list that belong to the same product type as the new device. For example, if the new device is a circuit breaker, the number of circuit breakers in the device list is 8, and the access order of the new device circuit breaker is 9, then converted to binary form, the second ID of the new device circuit breaker is 0000001001. In this way, after determining the first ID and the second ID respectively, the device ID corresponding to the new device can be obtained. The device ID indicates the new device and is unique. For details, please refer to Table 2. And from the above, it can be seen that the distribution terminal can connect to no more than 2 6= 64 categories of products (including distribution terminals), each category of products can have no more than 2 10 = 1024 devices. In this embodiment, the power distribution terminal can be connected to a maximum of 62 types of products, and each type of product can have a maximum of 1022 devices. There is usually one power distribution terminal. When the power distribution terminal is divided into multiple virtual devices, there can be multiple power distribution terminals.

[0075] Table 2 Device ID

[0076]

[0077] Step 202: Update the device ID and device information corresponding to the new device into the device list on a device-by-device basis, and send the updated device list to the power distribution master station, so that the power distribution terminal and the power distribution master station can transmit the corresponding data of the device's data object based on the updated device list and the preset model point table.

[0078] The model point table includes a preset data object address corresponding to the product type of the device, and the data object address is used to indicate the data object of the device.

[0079] Referring to Table 3, the device list includes the device name of each currently connected device, the corresponding product type, device ID, physical address, communication interface and communication protocol, etc. The physical address is such as D30000018008202106231001, 000000000061 and 000000000062, the communication interface is such as VIRTUAL-1 and RS485-1, the communication protocol is such as DTU and DLT645-2007, etc. The physical address, communication interface and communication protocol of different devices may be different.

[0080] Table 3 Equipment List

[0081]

[0082] Exemplarily, after determining or obtaining the device ID and device information of the new device, the device ID and device information of the new device can be updated to the device list on a device-by-device basis, and the updated device list can be synchronized to the power distribution master station. This enables automatic updating of the device list when a new device is connected to the power distribution terminal, i.e., plug-and-play of the new device. The device list can be in a variety of formats, such as json format. In this embodiment, the updated device list can be sent to the power distribution master station, or the power distribution master station can automatically read the updated device list.

[0083] Referring to Table 4, the model point table may include a preset data object address and a preset data object, and the data object address is used to indicate the data object of the device. The data object refers to the data that the device can collect or obtain, such as the data object of the temperature and humidity sensor may include temperature, humidity, temperature and humidity alarm, etc., and the data object of the smart switch may include voltage, current, voltage alarm and current alarm, etc.

[0084] It should be noted that since the product includes all devices of the same type, the data object of the device is actually the data object of the product. In order to better distinguish the data objects, the data objects can be classified, referring to Table 4, for example, according to the data attributes, the data attributes can include state quantity, analog quantity, electric energy, control quantity and parameter information. Among them, the state quantity is the telesignaling data, which can be the state data of the device, such as the switch position of the circuit breaker, the alarm state of the temperature and humidity sensor, etc. The analog quantity is the telemetry data, which can be the measurement data of the device, such as the temperature and humidity of the temperature and humidity sensor. The electric energy can be active and reactive data, etc. The control quantity is the remote control data, which can be the control data for changing the state quantity and analog quantity, such as the control data for controlling the switch position of the circuit breaker, etc. The parameter information can be the data such as the operating parameters or the action setting value. Referring to Table 4, taking the temperature and humidity sensor as an example, the preset data object can be represented by "telesignaling 2, electric degree 1, electric degree 2...", etc.

[0085] Optionally, the model point table includes multiple pre-set product types that the power distribution terminal may be connected to. Here, different product types, such as smart switches and temperature and humidity sensors, the data object "telemetry 1" in the smart switch and the data object "telemetry 1" in the temperature and humidity sensor, although both are represented by "telemetry 1", different product types have different data objects represented by "telemetry 1". For example, the data object "telemetry 1" of the smart switch can be "voltage", while the data object "telemetry 1" of the temperature and humidity sensor can be "temperature". Here, "telemetry 1" and the like are only example names. In actual applications, specific names are specified according to specific products and equipment in actual situations.

[0086] It should be noted that if a product type does not have a certain data attribute, then the data attribute may not be displayed.

[0087] Table 4 Model point table

[0088]

[0089]

[0090] It should be noted that after detecting the addition of access devices and identifying the product type of the newly added devices, this embodiment can also determine whether the product type of the new device is in the model point table. If the product type of the new device is in the model point table, the step of assigning a device ID to the new device based on the product type and all devices listed in the device list is performed. If the product type of the new device is not in the model point table, it means that the new device is not recorded in the model point table. At this time, an alarm is issued to enable relevant maintenance personnel to update the model point table. Here, the update of the model point table includes two methods: 1. The distribution master station sends an updated model point table to the distribution terminal. The updated model point table includes the product type, data attributes, preset data objects and preset data object addresses corresponding to the new device. 2. The maintenance personnel update the model point table on site at the distribution terminal. The updated model point table includes the product type, data attributes, preset data objects and preset data object addresses corresponding to the new equipment, and the distribution terminal reports the updated model point table to the distribution master station, or the distribution master station actively calls for the updated model point table to achieve synchronization of the model point table in the distribution terminal and the distribution master station.

[0091] Exemplarily, a preset model point table is set at both the distribution master station and the distribution terminal, and the updated device list is synchronized to the distribution master station, so that plug-and-play of new devices can be achieved. Subsequently, the distribution terminal and the distribution master station can be based on the above-mentioned model point table and the updated device list, that is, functions such as data transmission between the distribution terminal and the master station can be achieved.

[0092] In this embodiment, the IEC104 protocol can be used as a basis and expanded on the basis of the IEC104 protocol. A model point table can be set to solidify the data object addresses of various products in advance, and the device ID allocation rules can be set. Therefore, when a new device is detected, the device list can be automatically updated, so that the distribution terminal and the distribution master station can realize the transmission of device data according to the updated device list and the preset model point table, and realize the plug-and-play of the new device.

[0093] As can be seen from the above, the relevant technology does not support plug-and-play of equipment, and requires maintenance personnel to intervene to configure the data point table. At the same time, the data point table does not distinguish the type of connected equipment, but takes the entire distribution terminal as the main body. Due to the limitations of the data point table, when the distribution master station calls for test data from the distribution terminal, it can only obtain the complete data of a certain device after reading all the data stored in the distribution terminal through the general call function. In other words, if the distribution master station only wants to obtain the data of a certain device, it can only obtain the data of the certain device by calling all the data of the distribution terminal. The relevant technology cannot realize the reporting of only the data of a certain device or a certain product required by the distribution master station to the distribution master station, that is, it cannot realize the data reporting of a single device or the batch reporting of data of devices of the same product type, and it cannot realize the directional reporting of data.

[0094] In this embodiment, since a unique device ID is assigned to the device and a model point table including a preset data object address is set, the properties of various products such as the above-mentioned data object address are solidified in advance. Therefore, when the main station needs to call for test data in a targeted manner, this embodiment can realize targeted reporting of data based on the device ID and the data object address.

[0095] In a possible implementation, Figure 3 As shown, this embodiment may further include steps 301 to 304.

[0096] Step 301: Receive a test call instruction sent by a power distribution master station, where the test call instruction includes a target device ID and a target data object address.

[0097] Among them, there is at least one target device ID. The target device ID is the device ID of the device that needs to be called for testing determined by the power distribution master station based on the model point table and the device list, and the target data object address is the data object address corresponding to the data of the device that needs to be called for testing determined by the power distribution master station based on the model point table and the device list.

[0098] Step 302: Determine the target device to be tested by the power distribution master station according to the target device ID and the device IDs of all devices in the device list.

[0099] Step 303: Determine the target data object that the power distribution master station calls for testing according to the target device, the target data object address and the preset data object address in the preset model point table.

[0100] Step 304: Report the data corresponding to the target data object to the power distribution master station.

[0101] In some embodiments, when determining the target device to be called for testing by the power distribution master station, this embodiment may include steps A1 to A5.

[0102] A1. Determine whether the target device ID is a first preset character.

[0103] A2. If the target device ID is a first preset character, all devices listed in the device list are taken as target devices; wherein the first preset character indicates all devices in the device list.

[0104] A3. If the target device ID is not the first preset character, determine whether the second ID of the target device ID is the second preset character.

[0105] A4. If the second ID of the target device ID is a second preset character, then according to the target product type indicated by the first ID of the target device ID, all devices corresponding to the target product type in the device list are used as target devices; wherein the second preset character indicates all devices of the same product type in the device list.

[0106] A5. If the second ID of the target device ID is not the second preset character, then according to the target device ID, a device in the device list having the same device ID as the target device ID is used as the target device.

[0107] It should be noted that, in order to realize the directional reporting of data, referring to Table 2, some special device IDs can also be set. For example, the device ID "0xFFFF" represents the distribution terminal and all devices connected to the distribution terminal, the device ID "0x0BFF" represents all connected circuit breakers, the device ID "0x0FFF" represents all connected temperature and humidity sensors, and the device ID "0x1FFF" represents all connected electricity meters.

[0108] That is, in this embodiment, the first preset character can be "0xFFFF". When the target device ID is "0xFFFF", it means that the power distribution master station wants to call for data corresponding to all data objects of the power distribution terminal and all devices connected to the power distribution terminal. At this time, the call for testing instruction can only include the target device ID but not the target data object address. At this time, this embodiment reports the data corresponding to all data objects of all devices in the device list to the power distribution master station.

[0109] Optionally, in this embodiment, the second preset character may be "11111111111" (10 1s). When the second ID of the target device ID is "1111111111", it indicates that the power distribution master station wants to call for data corresponding to all data objects of all devices of a certain product type. At this time, the call for testing instruction may only include the target device ID but not the target data object address. At this time, according to the target product type indicated by the first ID of the target device ID, the corresponding data of all data objects of all devices corresponding to the target product type in the device list are reported to the power distribution master station.

[0110] Optionally, in this embodiment, if the target device ID is neither the first preset character nor the second preset character, then according to the target device ID, the device in the device list whose device ID is the same as the target device ID is used as the target device, and according to the corresponding target data object address and the preset data object address in the model point table, the target data object called for by the distribution master station is determined, thereby reporting the corresponding data of the target data object to the distribution master station.

[0111] It should be noted that there can be multiple target device IDs here, and each target device ID corresponds to at least one target data object address. In this way, it is possible to report the corresponding data of at least one data object of a single device, and it is also possible to report the corresponding data of at least one data object of multiple devices, which improves the flexibility of data reporting and can meet the different needs of data call and testing of the distribution master station.

[0112] In this embodiment, by setting the first preset character and the second preset character, targeted batch reporting of data can be achieved, and according to the target device ID and the target data object address, data reporting of a single device or multiple devices can be achieved, thereby improving the flexibility of data reporting and meeting the different needs of data call-up and testing of the distribution master station. At the same time, when there are many connected devices and a large amount of data, the data of the specified device can be quickly reported to the distribution master station.

[0113] Access equipment changes also include access equipment deletion. When access equipment changes are detected, the distribution master station is first reported to see if it agrees to the change. If the distribution master station agrees, the corresponding processing is performed. For example, the capacity of the access equipment of the distribution master station is limited. If the access equipment is increased within the allowed capacity range, it is agreed, but if it exceeds the allowed capacity range, it is not agreed. The distribution master station has a construction period, and if it is within the allowed time range, it is agreed, otherwise it is not agreed.

[0114] In some embodiments, it is also possible to detect whether changes have occurred in access devices, including device addition and device deletion. If deletion of an access device is detected, the device is determined to be deleted, and prompt information about the deleted device is reported to the distribution master station. If information indicating consent for deletion is returned from the distribution master station, the content corresponding to the deleted device in the device list is deleted. Furthermore, if an increase in an access device is detected, the new device is determined to be added, and prompt information about the new device is reported to the distribution master station. If information indicating consent for addition is returned from the distribution master station, the step of identifying the product type and device information of the new device is performed.

[0115] As described in the above embodiments, this embodiment can use self-identification technology to detect whether the access device has changed. If the access device is deleted, the prompt information of the deleted device is reported to the power distribution master station. The prompt information may include the deletion time, device information and device ID of the deleted device. If the power distribution master station agrees to delete the information, the content corresponding to the deleted device in the device list is deleted. At this time, the device ID corresponding to the deleted device is recovered and can be reassigned to the newly connected new device later. If the power distribution master station disagrees with the deletion information, the corresponding content of the deleted device in the device list is retained.

[0116] Similarly, when an increase in access equipment is detected, prompt information about the new equipment is also reported to the distribution master station. If the distribution master station agrees to add information, the step of identifying the product type and equipment information of the newly added equipment is performed. If the distribution master station disagrees to add information, the new equipment is not allowed to be added to the equipment list. It should be noted that the deletion of access equipment does not affect the model point table, that is, the model point table will not be updated when the access equipment is deleted. For the addition of access equipment, the model point table will be updated only if the distribution master station agrees to add information and the product type of the newly added equipment does not belong to the preset model point table. For details of this part, please refer to the relevant part of the aforementioned embodiment, which will not be repeated here.

[0117] In this way, when this embodiment detects a change in the access device, the change is reported to the power distribution master station, and only after the power distribution master station agrees, the corresponding processing is performed.

[0118] It should be noted that if the power distribution master station agrees to the addition and / or deletion, the power distribution master station can read the updated device list.

[0119] In addition, in this embodiment, if the distribution terminal receives a command from the distribution master station to delete a certain device or all devices of a certain product type, it will unconditionally delete the relevant content of the certain device or all devices of a certain product type in the device list and feedback the execution result to the distribution master station.

[0120] In some embodiments, after identifying the product type and device information of the newly added device, it is also possible to determine whether the new device exists in the device list based on the device information and the device information of all devices in the device list. If the new device exists in the device list, the device ID corresponding to the new device in the device list is assigned to the new device. If the new device does not exist in the device list, the step of assigning a device ID to the new device based on the product type and all devices listed in the device list is executed.

[0121] Exemplarily, after identifying a newly added device, first determine whether the new device exists in the device list based on the device information of the new device, that is, the key features of the new device, such as the physical address, communication interface and communication protocol. If the new device already exists in the device list, it means that the new device has been connected to the power distribution terminal. At this time, there is no need to reassign a device ID to the new device, but directly assign the device ID corresponding to the new device in the device list to the new device.

[0122] When the communication quality between the power distribution terminal and the device is poor, the access device may frequently go online and offline. If the plug-and-play function of the device is frequently triggered, it is not conducive to the stable operation of the on-site power distribution terminal. Therefore, this embodiment also handles the above situation to avoid affecting the stable operation of the power distribution terminal.

[0123] In some embodiments, this embodiment can also obtain the communication quality between the access device and the access device. For each access device whose communication quality does not meet the preset quality threshold, the importance level of the access device and the number of online and offline times within a preset period are obtained. If the importance level is lower than the preset level and the number of online and offline times is greater than the preset threshold, the device list and model point table will not be updated the next time the access device is detected.

[0124] For example, in this embodiment, for each access device with poor communication quality, if the importance level of the access device is low and the number of online and offline times within the preset period is large, then when the access device is detected to access next time, the access device is denied access, and the device list and model point table are no longer updated to reduce the impact on the stable operation of the power distribution terminal. Among them, the preset quality threshold and the preset period can be set according to actual conditions.

[0125] In addition, this embodiment may also consider the online duration of the access device. For example, for each access device with poor communication quality, if the importance level of the access device is low, and the online duration within the preset time period is short, and the number of online and offline times within the preset period is large, then the next time the access of the access device is detected, the access of the access device will be denied, and the device list and model point table will no longer be updated.

[0126] The dynamic configuration and plug-and-play method for power equipment provided in the embodiment of the present application, when a new device is detected, a unique device ID is assigned to the new device according to the product type and device list of the identified new device, and then the device ID and the identified device information of the new device are updated to the device list on a device-by-device basis, and a preset model point table including a preset data object address is set at the same time, and the properties of various products such as the above-mentioned data object address are solidified in advance. In this way, in the update of the device list, the device ID is assigned according to the product type and the connected device, and the model point table is set, and no manual configuration is required. The above-mentioned updated device list is synchronized to the distribution master station, and the transmission of device data (plug-and-play) can be realized between the distribution terminal and the distribution master station according to the updated device list and the preset model point table. In this way, the automatic update of the device list is realized without the need for manual intervention, thus avoiding the problem of heavy manual configuration work, prone to errors and low efficiency.

[0127] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0128] Figure 4 FIG. 1 is a schematic diagram of a dynamic configuration and plug-and-play device for power equipment provided by an embodiment of the present application. Figure 4As shown, the dynamic configuration and plug-and-play device of the electric power equipment provided in this embodiment may include: a detection module 401 and an update module 402 .

[0129] The detection module 401 is used to detect that an access device is added, identify the product type and device information of the added new device, and assign a device ID to the new device based on the product type and all devices listed in the device list;

[0130] The update module 402 is used to update the device identity and device information corresponding to the new device to the device list on a device basis, and send the updated device list to the power distribution master station, so that the distribution terminal and the power distribution master station can transmit the corresponding data of the device's data object based on the updated device list and the preset model point table, wherein the model point table includes a preset data object address corresponding to the product type of the device, and the data object address is used to indicate the data object of the device.

[0131] Optionally, the device ID includes a first ID and a second ID; the detection module 401 is specifically used for:

[0132] Determine the product code corresponding to the new device according to the product type and the correspondence between the preset type and code, and determine the first ID according to the product code;

[0133] Determine the second ID according to the number of devices in the device list that belong to the same product type as the new device;

[0134] The device ID is obtained based on the first ID and the second ID.

[0135] Optionally, the power distribution terminal stores data collected by the device based on the corresponding device ID; the update module 402 is further used to:

[0136] receiving a test call instruction sent by the power distribution master station, wherein the test call instruction includes a target device ID and a target data object address; the target device ID is at least one;

[0137] Determine the target device called for testing by the power distribution master station according to the target device ID and the device IDs of all devices in the device list;

[0138] Determine the target data object called for testing by the power distribution master station according to the target device, the target data object address and the preset data object address in the preset model point table;

[0139] Report the data corresponding to the target data object to the power distribution master station.

[0140] Optionally, the updating module 402 is further specifically configured to:

[0141] Determining whether the target device ID is a first preset character;

[0142] If the target device ID is a first preset character, all devices listed in the device list are taken as target devices; wherein the first preset character indicates all devices in the device list;

[0143] If the target device ID is not the first preset character, determining whether the second ID of the target device ID is the second preset character;

[0144] If the second ID of the target device ID is a second preset character, all devices corresponding to the target product type in the device list are taken as target devices according to the target product type indicated by the first ID of the target device ID; wherein the second preset character indicates all devices of the same product type in the device list;

[0145] If the second ID of the target device ID is not the second preset character, then according to the target device ID, a device in the device list having the same device ID as the target device ID is used as the target device.

[0146] Optionally, the detection module 401 is further used for:

[0147] Detect whether the access device has changed; the change includes device addition and device deletion;

[0148] If it is detected that the access device is deleted, the device is deleted, and the prompt information of the deleted device is reported to the power distribution master station; if the deletion consent information returned by the power distribution master station is received, the content corresponding to the deleted device in the device list is deleted;

[0149] If an increase in access equipment is detected, the newly added equipment is determined and prompt information of the new equipment is reported to the power distribution master station; if the power distribution master station returns a consent information for the increase, the step of identifying the product type and equipment information of the newly added equipment is executed.

[0150] Optionally, the detection module 401 is further used for:

[0151] Determine whether the new device exists in the device list according to the device information and the device information of all devices in the device list;

[0152] If the new device exists in the device list, assigning the device ID corresponding to the new device in the device list to the new device;

[0153] If the new device does not exist in the device list, the step of assigning a device ID to the new device based on the product type and all devices listed in the device list is performed.

[0154] Optionally, the detection module 401 is further used for:

[0155] Obtain the communication quality with the access device;

[0156] For each access device whose communication quality does not meet the preset quality threshold, obtain the importance level of the access device and the number of online and offline times within a preset period;

[0157] If the importance level is lower than the preset level, and the number of online and offline times is greater than the preset threshold, the device list will not be updated when the access device is detected next time.

[0158] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0159] Figure 5 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 5 As shown, the electronic device 500 of this embodiment may be a power distribution terminal, including: a processor 510 and a memory 520, wherein the memory 520 stores a computer program 521 that can be run on the processor 510. When the processor 510 executes the computer program 521, the steps in any of the above method embodiments are implemented, for example Figure 2 Alternatively, when the processor 510 executes the computer program 521, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 4 Functions of modules 401 to 402 are shown.

[0160] Exemplarily, the computer program 521 may be divided into one or more modules / units, one or more modules / units are stored in the memory 520, and are executed by the processor 510 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 521 in the electronic device 500.

[0161] Those skilled in the art will understand that Figure 5 These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, buses, etc.

[0162] The processor 510 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0163] The memory 520 may be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device, or an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. The above-mentioned memory 520 may also include both an internal storage unit of the electronic device and an external storage device. The above-mentioned memory 520 is used to store computer programs and other programs and data required by the electronic device. The memory 520 may also be used to temporarily store data that has been output or is to be output.

[0164] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0165] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0166] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0167] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0169] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0170] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0171] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for dynamic configuration and plug-and-play of electric power equipment, characterized in that: Applied to a power distribution terminal, the method comprises: After detecting that an access device has been added, identifying the product type and device information of the added new device, and assigning a device identity to the new device based on the product type and all devices listed in the device list; The device identity and device information corresponding to the new device are updated to the device list on a device basis, and the updated device list is sent to the power distribution master station, so that the power distribution terminal and the power distribution master station can transmit the corresponding data of the device's data object based on the updated device list and the preset model point table, wherein the model point table includes a preset data object address corresponding to the product type of the device, and the data object address is used to indicate the data object of the device.

2. The dynamic configuration and plug-and-play method of power equipment according to claim 1, characterized in that: The device identity includes a first identity and a second identity; The allocating a device identity to the new device based on the product type and all devices listed in the device list includes: Determine the product code corresponding to the new device according to the product type and the correspondence between the preset type and code, and determine the first identity according to the product code; Determine the second identity identifier according to the number of devices in the device list that belong to the same product type as the new device; The device identity is obtained based on the first identity and the second identity.

3. The dynamic configuration and plug-and-play method of power equipment according to claim 2, characterized in that: The power distribution terminal stores data collected by devices stored based on corresponding device identity identifiers; The method further comprises: Receiving a test call instruction sent by the power distribution master station, wherein the test call instruction includes a target device identity and a target data object address; the target device identity is at least one; Determine the target device called for testing by the power distribution master station according to the target device identity and the device identity of all devices in the device list; Determine the target data object called for testing by the power distribution master station according to the target device, the target data object address and the preset data object address in the preset model point table; Report the data corresponding to the target data object to the power distribution master station.

4. The method for dynamic configuration and plug-and-play of electric power equipment according to claim 3, characterized in that: The step of determining the target device to be tested by the power distribution master station according to the target device identity and the device identity of all devices in the device list includes: Determining whether the target device identity is a first preset character; If the target device identity is a first preset character, all devices listed in the device list are taken as target devices; wherein the first preset character indicates all devices in the device list; If the target device identity is not the first preset character, determining whether the second identity of the target device identity is the second preset character; If the second identity identifier of the target device identity identifier is a second preset character, all devices corresponding to the target product type in the device list are taken as target devices according to the target product type indicated by the first identity identifier of the target device identity identifier; wherein the second preset character indicates all devices of the same product type in the device list; If the second identity of the target device identity is not the second preset character, then according to the target device identity, a device in the device list having the same device identity as the target device identity is used as the target device.

5. The dynamic configuration and plug-and-play method of electric power equipment according to any one of claims 1 to 4, characterized in that: The method further comprises: Detect whether the access device has changed; the change includes device addition and device deletion; If it is detected that the access device is deleted, the device is deleted, and the prompt information of the deleted device is reported to the power distribution master station; if the deletion consent information returned by the power distribution master station is received, the content corresponding to the deleted device in the device list is deleted; If an increase in access equipment is detected, the newly added equipment is determined and prompt information of the new equipment is reported to the power distribution master station; if the power distribution master station returns a consent information for the increase, the step of identifying the product type and equipment information of the newly added equipment is executed.

6. The dynamic configuration and plug-and-play method for electric power equipment according to any one of claims 1 to 4, characterized in that: After identifying the product type and device information of the newly added device, the following steps are further included: Determine whether the new device exists in the device list according to the device information and the device information of all devices in the device list; If the new device exists in the device list, assigning the device identity corresponding to the new device in the device list to the new device; If the new device does not exist in the device list, the step of allocating a device identity to the new device based on the product type and all devices listed in the device list is performed.

7. The dynamic configuration and plug-and-play method for electric power equipment according to any one of claims 1 to 4, characterized in that: The method further comprises: Obtain the communication quality with the access device; For each access device whose communication quality does not meet the preset quality threshold, obtain the importance level of the access device and the number of online and offline times within a preset period; If the importance level is lower than the preset level, and the number of online and offline times is greater than the preset threshold, the device list will not be updated when the access of the access device is detected next time.

8. A dynamic configuration and plug-and-play device for electric power equipment, characterized in that: include: A detection module, configured to detect the addition of an access device, identify the product type and device information of the added new device, and assign a device identity to the new device based on the product type and all devices listed in the device list; An update module is used to update the device identity and device information corresponding to the new device into the device list on a device basis, and send the updated device list to the power distribution master station, so that the distribution terminal and the power distribution master station can transmit the corresponding data of the device's data object based on the updated device list and the preset model point table, wherein the model point table includes a preset data object address corresponding to the product type of the device, and the data object address is used to indicate the data object of the device.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the dynamic configuration and plug-and-play method of the power equipment according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the dynamic configuration and plug-and-play method of the power equipment according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Power transmission and distribution equipment operation state monitoring system based on intelligent agent

    CN120377504A

  • An agent-based power transmission and distribution equipment operating status monitoring system

    CN120377504B