Master station registration method and system of secondary market electric energy metering device

By sending a self-describing file to the secondary market electric energy metering device for function configuration and registration data package generation, combined with LAN communication and object-oriented modeling technology, the flexible configuration and accurate registration of the secondary market electric energy metering device into the network are realized, solving the problem The management problems of diverse energy usage scenarios under the new power system improve the accuracy of registration and simplify the management of main station equipment.

CN118780840APending Publication Date: 2024-10-15FUJIAN NETPOWER TECH DEV CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411000324.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Under the new power system, with diverse energy consumption scenarios and multiple types of metering devices in the secondary market, it is difficult for existing technologies to achieve flexible configuration of electric energy metering devices and rapid registration of the main station, resulting in complex configuration files and mismatched verification, and management work Onerous.

Method used

After the secondary market electric energy metering device is powered on and started, a self-describing file is sent for functional configuration and communication configuration, a registration data package is generated, and a registration request is sent to the main station using LAN communication technology. The main station system performs static verification and dynamic verification, using the oriented Object modeling technology and weight-based vector distance calculation enable device pre-registration and dynamic verification.

Benefits of technology

It realizes flexible configuration and accurate registration of secondary market energy metering devices into the network, improves the accuracy of network access configuration, simplifies main station equipment management, and supports diversified applications and dual verification functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780840A_ABST
    Figure CN118780840A_ABST
Patent Text Reader

Abstract

The invention relates to a master station registration method and system for a secondary market electric energy metering device, and the method comprises the following steps: the secondary market electric energy metering device sends a self-description file to a secondary market energy consumption scene metering device configuration tool; the second-level market energy consumption scene metering device configuration tool generates and issues a configuration file of a second-level market electric energy metering device according to the field metering application requirement and the self-description file; the secondary market electric energy metering device generates a registration data packet and sends a registration request to the master station; the main station system receives a registration request of the secondary market electric energy metering device and performs static verification; the method comprises the following steps: a master station system models secondary market electric energy metering device data and adds the data into a master station system equipment node tree to complete master station system pre-registration of the secondary market electric energy metering device; the master station system carries out dynamic verification on the secondary market electric energy metering device; and if the verification is passed, the master station system enables the equipment tree node object and issues an instruction to notify the secondary market metering device to complete master station registration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electric power Internet of Things, and more specifically, to a master station registration method and system for a secondary market electric energy metering device. Background Art

[0002] The construction of new power systems and new power grids is accelerating, and the power consumption scenarios are becoming more complex. The access and monitoring management requirements of the power metering and collection master station for metering devices have increased significantly. Especially in the face of the secondary power supply market such as commercial buildings, buildings, and parks, the secondary market has different energy consumption methods and many types of power metering devices. How to realize the local configuration of the secondary market power metering devices and the rapid registration of the master station and the automatic generation of device files is particularly necessary. At present, the power company's metering and collection master station system generates and registers the files of the user-side power meter. Generally, the marketing system pushes the equipment asset information of the power meter to the collection master station, and the power supply company's equipment installers upload the installation information of the power meter through the mobile phone back clip. Finally, the master station system generates the power meter file based on the asset information and installation information, and sends it to the concentrator to realize the file generation and network registration of the power meter. The solution is suitable for the situation where the energy consumption scenario is relatively simple and the functions of the power metering and collection equipment are relatively consistent. For the new power system, the energy consumption scenarios are diverse and the metering devices are multi-type. The solution lacks corresponding flexibility and automation, and the master station system has a heavy workload for access management of the secondary market metering devices.

[0003] Prior art, such as the Chinese patent with patent number "CN111525698A", discloses a method, device and system for automatic access to low-voltage distribution network data. It includes receiving the registration request information sent by the distribution terminal after establishing a connection, establishing or updating the corresponding primary equipment model and secondary equipment model of the distribution terminal; parsing the total ICD file of the substation corresponding to the registered distribution terminal to obtain all measurement, protection and control measurement information, subscribing to the data set for all the measurement information obtained by the analysis to generate a measurement information table, and converting the measurement information table into a CID file that complies with the standard specification; monitoring that the distribution terminal is in an online state, then sending the CID file to the distribution transformer terminal and receiving the data sent by the terminal. The present invention standardizes the information model of low-voltage equipment, and by establishing models of low-voltage intelligent equipment and intelligent distribution transformer terminals, realizes plug-and-play of low-voltage intelligent equipment to intelligent distribution transformer terminals, and intelligent distribution transformer terminals to distribution automation master stations, and completes the automatic access of low-voltage data.

[0004] The problem with the above-mentioned prior art is that for new power systems, with diverse energy usage scenarios and multiple types of metering devices, the configuration files of distribution terminals are complex and diverse. Although the scheme standardizes the information model, if there are special circumstances or new equipment in the actual low-voltage equipment, the existing model may not be fully adapted and needs to be continuously updated and improved. In addition, if the configured distribution terminal is not effectively verified, it may lead to a situation where the configuration file does not match the actual energy usage scenario. Summary of the invention

[0005] In order to solve the above technical problems, the present invention proposes a master station registration method for a secondary market electric energy metering device.

[0006] The technical solution of the present invention is as follows:

[0007] On the one hand, the present invention provides a master station registration method for a secondary market electric energy metering device, comprising the following steps:

[0008] Step S1: The secondary market electric energy metering device is powered on and started, and a self-describing file is sent to the secondary market energy usage scenario metering device configuration tool; the secondary market energy usage scenario metering device configuration tool generates the function configuration, communication configuration, security configuration, data collection items, and collection frequency parameter configuration of the secondary market electric energy metering device according to the on-site metering application requirements and the self-describing file; and sends the configuration file to the secondary market electric energy metering device to complete the configuration generation of the secondary market electric energy metering device based on the on-site application requirements;

[0009] Step S2: The secondary market electric energy metering device generates a secondary market electric energy metering device registration data packet according to the information required for registration with the master station, and sends a registration request to the master station through the local area network communication technology;

[0010] Step S3: The master station system receives the registration request of the secondary market electric energy metering device and performs static verification;

[0011] Step S4: The master station system adopts object-oriented modeling technology to model the data of the secondary market electric energy metering device, adds the secondary market electric energy metering device object into the master station system equipment node tree, and sets the node object state to be dynamically verified, completing the master station system pre-registration of the secondary market electric energy metering device;

[0012] Step S5: the master station system generates a secondary market electric energy metering device file according to the information of the device node tree, sends the secondary market electric energy metering device file to the secondary market electric energy metering device, and conducts dynamic verification of the secondary market electric energy metering device; if the verification is passed, the master station system enables the device tree node object, and sends an instruction to notify the secondary market metering device to complete the master station registration;

[0013] Step S6: If the master station verification of step S3 or step S5 fails, the master station system generates an error report and returns it to the secondary market electric energy metering device. The secondary market electric energy metering device resends the self-description file and the error report to the secondary market energy scenario metering device configuration tool and repeats steps S1 to S5.

[0014] As a preferred implementation, the self-describing file includes: functional parameters, communication parameters, security parameters, data collection item parameters, and collection frequency parameters preset in the secondary market electric energy metering device before leaving the factory.

[0015] As a preferred implementation, the registration data package includes: function configuration, collection parameter configuration, and equipment product parameters; wherein the function configuration includes electrical parameter detection, power metering, regulation control, event recording, clock control, data freezing, and custom functions; the collection parameter configuration includes data collection items, collection frequency, and event reporting; the product parameter configuration includes brand, model, and version.

[0016] As a preferred implementation, the static verification content includes: based on the master station system function design document, verifying the consistency of the secondary market electric energy metering device function configuration registration information and the collection parameter configuration registration information; based on the master station system asset information document, verifying the consistency of the product parameter configuration registration information of the secondary market electric energy metering device.

[0017] As a preferred implementation, the secondary market electric energy metering device data includes: operation ID number, function configuration, collection parameter configuration, system integration configuration, product parameter configuration, and asset configuration.

[0018] As a preferred implementation, the static verification comprises the following steps:

[0019] According to the importance of parameters, the equipment registration information is classified into three categories: local function parameters, system function related parameters and asset related parameters;

[0020] Registration information X reported by the electric energy metering device in the secondary market:

[0021] X={X1,X2,X3}

[0022] Where: X1 belongs to the local function parameters, including: electrical parameter detection, power metering, regulation control, event recording, clock control, data freezing, and custom functions; X2 belongs to the parameters related to the system functions, including: data collection items, collection frequency, and event reporting; X3 belongs to the asset-related parameters, including brand, model, and version;

[0023] Equipment i information stored in the master station system of the secondary market electric energy metering device:

[0024] Y i = {Yi,1 ,Y i,2 ,Y i,3}

[0025] Where: Y i,1 The local function parameters recorded in the master station system include: electrical parameter detection, electric energy metering, regulation control, event recording, clock control, data freezing, and custom functions; Y i,2 Parameters related to system functions recorded in the master station system, including: data collection items, collection frequency, and event reporting; Y i,3 Asset-related parameters recorded in the master system, including brand, model, and version; where i∈the number of equipment entries in the master system;

[0026] Calculate the distance DistXY between the registration information X reported by the secondary market electric energy metering device and the device information Yi stored in the master station system i ;

[0027] DistXY i =Distance(X,Y i )·W

[0028] = {SubDist(x1,y i,1 ), SubDist(x2,y i,2 ), SubDist(x3,y i,3 )}·{W1,W2,W3}

[0029] =SubDist(x1,y i,1 )×W1+SubDist(x2,y i,2 )×W1+SubDist(x3,y i,3 )×W3

[0030] Where, W = {W1, W2, W3}, represents the weight of registration information; W1: localization parameter weight; W2: system parameter weight; W3: asset information weight;

[0031] The distance between the secondary market electric energy metering device and the main station system equipment information in each type of information in the localized function parameters, system function related parameters and asset related parameters:

[0032]

[0033] In the formula, abs(x i ,y i ): Calculate the absolute value of the numerical difference; vector space distance (x i ,y i): calculate the vector space distance of the string; Coef1: numerical distance normalization parameter; Coef2: enumeration distance normalization parameter; Coef3: string distance normalization parameter;

[0034] If DistXY i Is the smallest distance among all entries and is less than the threshold DXY th , then the device information entry K stored in the master system target Register the target secondary market electric energy metering device information; otherwise, the device registration request fails;

[0035] K target =i|min(DistXY i )&DistXY i <DXY th ,

[0036] Where i∈the number of equipment entries in the master system.

[0037] As a preferred implementation, the secondary market electric energy metering device archive includes: brand, model, version, topology information, system interface information, and asset information.

[0038] On the other hand, the present invention also provides a master station registration system for a secondary market electric energy metering device, comprising:

[0039] Configuration generation module: The secondary market electric energy metering device is powered on and started, and a self-describing file is sent to the secondary market energy usage scenario metering device configuration tool; the secondary market energy usage scenario metering device configuration tool completes the function configuration, communication configuration, security configuration, data collection items, and collection frequency parameter configuration of the secondary market electric energy metering device according to the on-site metering application requirements and the self-describing file; and sends the configuration file to the secondary market electric energy metering device to complete the configuration generation of the secondary market electric energy metering device based on the on-site application requirements;

[0040] Registration application module: The secondary market electric energy metering device generates a secondary market electric energy metering device registration data packet according to the information required for registration at the master station, and sends a registration request to the master station through the local area network communication technology;

[0041] Static verification module: The master station system receives the registration request of the secondary market electric energy metering device and performs static verification;

[0042] Master station system pre-registration module: The master station system adopts object-oriented modeling technology to model the data of the secondary market electric energy metering device, adds the secondary market electric energy metering device object into the master station system equipment node tree, and sets the node object state to be dynamically verified, completing the master station system pre-registration of the secondary market electric energy metering device;

[0043] Dynamic verification module: The master station system generates a secondary market electric energy metering device file based on the node information of the device tree, sends the secondary market electric energy metering device file to the secondary market electric energy metering device, and conducts dynamic verification of the secondary market electric energy metering device; if the verification is passed, the master station system enables the device tree node object and sends a command to notify the secondary market metering device to complete the master station registration;

[0044] Configuration correction module: If the master station verification of step S3 or step S5 fails, the master station system generates an error report and returns it to the secondary market electric energy metering device. The secondary market electric energy metering device resends the self-description file and the error report to the secondary market energy consumption scenario metering device configuration tool and repeats steps S1 to S5.

[0045] On the other hand, the present invention further provides an electronic device having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for master station registration of a secondary market electric energy metering device as described in any embodiment of the present invention is implemented.

[0046] On the other hand, the present invention also provides a computer-readable medium for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement a master station registration method for a secondary market electric energy metering device as described in any embodiment of the present invention.

[0047] The present invention has the following beneficial effects:

[0048] 1. The secondary market energy consumption scenario metering device configuration tool relies on the on-site metering application needs. Through local function configuration and collection parameter configuration, it adopts standardized interface technology to realize the flexible configuration of secondary market electricity metering devices, and solves the problems of single preset technology and weak on-site application function adjustment of existing electricity meters.

[0049] 2. Equipment registration is actively initiated by the device end, and through automated information collection technology and communication technology, the real and real-time registration and network access of secondary market metering devices is realized, which improves the accuracy of network access configuration and simplifies the difficulty of master station equipment management.

[0050] 3. The master station system performs weighted vector distance calculation on the device registration information, and quickly implements device and registration information query and verification based on the minimum information distance among massive devices; the existing technology does not support differentiated information matching and verification based on registration information weights, and cannot support the diversified application of secondary market metering devices.

[0051] 4. Utilizing digital communication technology, automatic detection technology and information verification technology, the archive information and metering scenario function information are verified in stages, thus achieving dual verification of the master station's access to the grid for electric energy metering devices and the metering functions of electric energy usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0053] Figure 1 The figure is a schematic diagram of the method flow of embodiment 1. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] It should be understood that the step numbers used in this document are only for convenience of description and are not intended to limit the order in which the steps are executed.

[0056] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0057] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0058] The term "and / or" means and includes any and all possible combinations of one or more of the associated listed items.

[0059] Embodiment 1:

[0060] In order to make the purpose, technical solutions and advantages of the present invention more clear, the following will be combined with the specific embodiments of the present application and refer to the attached Figure 1 , clearly and completely describe the technical solution of the present invention.

[0061] In order to solve the problems of the prior art, the present invention provides a master station registration method for a secondary market electric energy metering device, comprising the following steps:

[0062] Step S1: The secondary market electric energy metering device is powered on and started, and a self-describing file is sent to the secondary market energy scenario metering device configuration tool, including: the functional parameters, communication parameters, security parameters, data collection item parameters, and collection frequency parameters preset at the factory of the secondary market electric energy metering device; the secondary market energy scenario metering device configuration tool generates the functional configuration, communication configuration, security configuration, data collection item, and collection frequency parameter configuration of the secondary market electric energy metering device according to the on-site metering application requirements and the self-describing file; the functional configuration includes: electrical parameter detection, electric energy metering, regulation control, event recording, clock control, data freezing, and custom functions; the collection parameter configuration includes: data collection items, collection frequency, and event reporting. Then the secondary market energy scenario metering device configuration tool downloads the configuration file through the network port or serial port communication technology to complete the local configuration registration of the secondary market electric energy metering device based on the on-site application requirements;

[0063] Step S2: The master station registration information of the secondary market electric energy metering device generation device includes: function configuration, collection parameter configuration, equipment product parameters; the function configuration includes: electric parameter detection, electric energy metering, regulation control, event recording, clock control, data freezing, custom function; the collection parameter configuration includes: data collection items, collection frequency, event reporting; product parameter configuration includes: brand, model, version. And through the local area network communication technology, report the master station registration event, and wait for the device registration result of the receiving master station system;

[0064] Step S3: The master station system receives the metering device master station registration event and parses the metering device registration data packet; uses the secondary market electric energy metering device schema syntax to perform semantic parsing and decoupling of the secondary market electric energy metering device registration information. The master station system uses a semantic similarity matching algorithm to perform static verification on the secondary market electric energy metering device registration information; the static verification includes the following steps:

[0065] According to the importance of parameters, the equipment registration information is classified into three categories: local function parameters, system function related parameters and asset related parameters;

[0066] Registration information X reported by the electric energy metering device in the secondary market:

[0067] X={X1,X2,X3}

[0068] Where: X1 belongs to the local function parameters, including: electrical parameter detection, power metering, regulation control, event recording, clock control, data freezing, and custom functions; X2 belongs to the parameters related to the system functions, including: data collection items, collection frequency, and event reporting; X3 belongs to the asset-related parameters, including brand, model, and version;

[0069] Equipment i information stored in the master station system of the secondary market electric energy metering device:

[0070] Y i = {Y i,1 ,Y i,2 ,Y i,3}

[0071] Where: Y i,1 The local function parameters recorded in the master station system include: electrical parameter detection, electric energy metering, regulation control, event recording, clock control, data freezing, and custom functions; Y i,2 Parameters related to system functions recorded in the master station system, including: data collection items, collection frequency, and event reporting; Y i,3 Asset-related parameters recorded in the master system, including brand, model, and version; where i∈the number of equipment entries in the master system;

[0072] Calculate the distance DistXY between the registration information X reported by the secondary market electric energy metering device and the device information Yi stored in the master station system i ;

[0073] DistXY i =Distance(X,Y i )·W

[0074] = {SubDist(x1,y i,1 ), SubDist(x2,y i,2 ), SubDist(x3,y i,3 )}·{W1,W2,W3}

[0075] =SubDist(x1,y i,1 )×W1+SubDist(x2,y i,2 )×W1+SubDist(x3,y i,3 )×W3

[0076] Where, W = {W1, W2, W3}, represents the weight of registration information; W1: localization parameter weight; W2: system parameter weight; W3: asset information weight;

[0077] The distance between the secondary market electric energy metering device and the main station system equipment information in each type of information in the localized function parameters, system function related parameters and asset related parameters:

[0078]

[0079] In the formula, abs(x i ,y i ): Calculate the absolute value of the numerical difference; vector space distance (xi ,y i ): calculate the vector space distance of the string; Coef1: numerical distance normalization parameter; Coef2: enumeration distance normalization parameter; Coef3: string distance normalization parameter;

[0080] If DistXY i Is the smallest distance among all entries and is less than the threshold DXY tj , then the device information entry K stored in the master system target Register the target secondary market electric energy metering device with information; otherwise, the secondary market electric energy metering device registration request fails;

[0081] K target =i|min(DistXY i )&DistXY i <DXY th ,

[0082] Where i∈the number of equipment entries in the master system.

[0083] Step S4: the master station system adopts the schema syntax of the secondary market electric energy metering device, and based on the master station system function design document, extracts the system integration configuration of the secondary market electric energy metering device, including: topology information, system interface information; based on the master station system asset information document, extracts the asset configuration of the secondary market electric energy metering device, including: asset information; the master station system adopts a hash value generation algorithm based on the name space, based on the master station registration information of the secondary market electric energy metering device, including: function configuration, acquisition parameter configuration, system integration configuration, product parameter configuration, asset configuration; generates the operation ID number of the secondary market electric energy metering device in the master station system; the master station system adopts object-oriented modeling technology to model the data of the secondary market electric energy metering device, including: operation ID number, function configuration, acquisition parameter configuration, system integration configuration, product parameter configuration, asset configuration; adds the secondary market electric energy metering device object into the master station system equipment node tree, and sets the node object state to be dynamically verified, and completes the master station system pre-registration of the secondary market electric energy metering device;

[0084] Step S5: The master station system generates a secondary market electric energy metering device file according to the node information of the device tree, including: brand, model, version, topology information, system interface information, and asset information; and sends the secondary market electric energy metering device file (brand, model, version, topology information, system interface information, and asset information) to the secondary market electric energy metering device to carry out dynamic verification of the metering device; the master station system sends a communication verification feature instruction to verify the communication function of the secondary market electric energy metering device; the master station system sends a clock verification feature instruction to verify the clock function of the secondary market electric energy metering device; the master station system sends a data collection verification feature instruction to verify the collection function of the secondary market electric energy metering device; the secondary market electric energy metering device sends an event verification feature instruction to verify the event processing function of the master station system; after the verification is passed, the master station system enables the device tree node object and notifies the secondary market metering device to complete the master station registration.

[0085] Step S6: If the master station verification of step S3 or step S5 fails, the master station system generates an error report and returns it to the secondary market electric energy metering device. The secondary market electric energy metering device re-sends the self-description file, including: the factory preset functional parameters, communication parameters, security parameters, data collection item parameters, collection frequency parameters and error report of the secondary market electric energy metering device to the secondary market energy consumption scenario metering device configuration tool, and repeats steps S1 to S5.

[0086] Embodiment 2:

[0087] This embodiment provides a master station registration system for a secondary market electric energy metering device, including:

[0088] Configuration generation module: The secondary market electric energy metering device is powered on and started, and a self-describing file is sent to the secondary market energy usage scenario metering device configuration tool; the secondary market energy usage scenario metering device configuration tool completes the functional configuration, communication configuration, security configuration, data collection items, and collection frequency parameter configuration of the secondary market electric energy metering device according to the on-site metering application requirements and the self-describing file; and sends the configuration file to the secondary market electric energy metering device to complete the configuration generation of the secondary market electric energy metering device based on the on-site application requirements; this module is used to implement the function of step S1 in Example 1, which will not be repeated here.

[0089] Registration application module: The secondary market electric energy metering device generates a secondary market electric energy metering device registration data packet according to the information required for registration with the master station, and sends a registration request to the master station through local area network communication technology; this module is used to implement the function of step S2 in embodiment 1, which will not be repeated here.

[0090] Static verification module: The master station system receives the registration request of the secondary market electric energy metering device and performs static verification; this module is used to implement the function of step S3 in embodiment 1, which will not be repeated here.

[0091] Master station system pre-registration module: The master station system adopts object-oriented modeling technology to model the data of the secondary market electric energy metering device, adds the secondary market electric energy metering device object into the master station system equipment node tree, and sets the node object state to be dynamically verified to complete the master station system pre-registration of the secondary market electric energy metering device; this module is used to implement the function of step S4 in Example 1, which will not be repeated here.

[0092] Dynamic verification module: The master station system generates a secondary market electric energy metering device file according to the node information of the device tree, sends the secondary market electric energy metering device file to the secondary market electric energy metering device, and conducts dynamic verification of the secondary market electric energy metering device; after the verification is passed, the master station system enables the device tree node object, and sends an instruction to notify the secondary market metering device to complete the master station registration; this module is used to implement the function of step S5 in Example 1, which will not be repeated here.

[0093] Configuration correction module: If the master station verification in step S3 or step S5 fails, the master station system generates an error report and returns it to the secondary market electric energy metering device. The secondary market electric energy metering device resends the self-description file and the error report to the secondary market energy usage scenario metering device configuration tool, and repeats steps S1 to S5. This module is used to implement the function of step S6 in embodiment 1, which will not be repeated here.

[0094] Embodiment three:

[0095] This embodiment provides an electronic device having a computer program stored thereon. When the computer program is executed by a processor, the master station registration method of a secondary market electric energy metering device as described in any embodiment of the present invention is implemented.

[0096] Embodiment 4:

[0097] This embodiment provides a computer-readable medium for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement a master station registration method for a secondary market electric energy metering device as described in any embodiment of the present invention.

[0098] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0099] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, 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 this application.

[0100] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0101] In several embodiments provided in the present application, if any function 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 technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.

[0102] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A master station registration method for a secondary market electric energy metering device, characterized in that: The following steps are involved: Step S1: The secondary market electric energy metering device is powered on and started, and a self-describing file is sent to the secondary market energy usage scenario metering device configuration tool; The secondary market energy usage scenario metering device configuration tool generates the function configuration, communication configuration, security configuration, data collection items, and collection frequency parameter configuration of the secondary market electric energy metering device according to the on-site metering application requirements and self-description files; And send the configuration file to the secondary market electric energy metering device to complete the configuration generation of the secondary market electric energy metering device based on the field application requirements; Step S2: The secondary market electric energy metering device generates a secondary market electric energy metering device registration data packet according to the information required for registration with the master station, and sends a registration request to the master station through the local area network communication technology; Step S3: The master station system receives the registration request of the secondary market electric energy metering device and performs static verification; Step S4: The master station system adopts object-oriented modeling technology to model the data of the secondary market electric energy metering device, adds the secondary market electric energy metering device object into the master station system equipment node tree, and sets the node object state to be dynamically verified, completing the master station system pre-registration of the secondary market electric energy metering device; Step S5: the master station system generates a secondary market electric energy metering device file according to the information of the device node tree, sends the secondary market electric energy metering device file to the secondary market electric energy metering device, and conducts dynamic verification of the secondary market electric energy metering device; if the verification is passed, the master station system enables the device tree node object, and sends an instruction to notify the secondary market metering device to complete the master station registration; Step S6: If the master station verification of step S3 or step S5 fails, the master station system generates an error report and returns it to the secondary market electric energy metering device. The secondary market electric energy metering device resends the self-description file and the error report to the secondary market energy scenario metering device configuration tool and repeats steps S1 to S5.

2. The master station registration method of a secondary market electric energy metering device according to claim 1 is characterized in that: The self-describing file includes: functional parameters, communication parameters, security parameters, data collection item parameters, and collection frequency parameters preset in the secondary market electric energy metering device before leaving the factory.

3. The master station registration method of a secondary market electric energy metering device according to claim 1 is characterized in that: The registration data package includes: function configuration, collection parameter configuration, and equipment product parameters; the function configuration includes electrical parameter detection, power metering, regulation control, event recording, clock control, data freezing, and custom functions; the collection parameter configuration includes data collection items, collection frequency, and event reporting; the product parameter configuration includes brand, model, and version.

4. The master station registration method of a secondary market electric energy metering device according to claim 1 is characterized in that: The static verification includes the following steps: According to the importance of parameters, the equipment registration information is classified into three categories: local function parameters, system function related parameters and asset related parameters; Registration information X reported by the electric energy metering device in the secondary market: X={X1,X2,X3} Among them: X1 belongs to the local function parameters, including: electrical parameter detection, power metering, regulation control, event recording, clock control, data freezing, and custom functions; X2 belongs to the parameters related to system functions, including: data collection items, collection frequency, and event reporting; X3 belongs to asset-related parameters, including brand, model, and version; Equipment i information stored in the master station system of the secondary market electric energy metering device: AND i =And i, ,AND i, ,AND i, } Where: Y i, The local function parameters recorded in the master station system include: electrical parameter detection, electric energy metering, regulation control, event recording, clock control, data freezing, and custom functions; Y i,2 Parameters related to system functions recorded in the master station system, including: data collection items, collection frequency, and event reporting; Y i, Asset-related parameters recorded in the master system, including brand, model, and version; where i∈the number of equipment entries in the master system; Calculate the distance DistXY between the registration information X reported by the secondary market electric energy metering device and the device information Yi stored in the master station system i ; DistXY i =Distance(X,Y i )·W ={SubDist(x1,y i,1 ),SubDist(x2,y i,2 ),SubDist(x3,y i,3 )}·{W1,W2,W3}=SubDist(x1,y i,1 )×W1+SubDist(x2,y i,2 )×W1+SubDist(x3,y i,3 )×W3 Where, W = {W1, W2, W3}, represents the weight of registration information; W1: localization parameter weight; W2: system parameter weight; W3: asset information weight; The distance between the secondary market electric energy metering device and the main station system equipment information in each type of information in the localized function parameters, system function related parameters and asset related parameters: In the formula, abs(x i ,y i ): Calculate the absolute value of the numerical difference; vector space distance (x i ,y i ): calculate the vector space distance of the string; Coef1: numerical distance normalization parameter; Coef2: enumeration distance normalization parameter; Coef3: string distance normalization parameter; If DistXY i Is the smallest distance among all entries and is less than the threshold DXY th , then the device information entry K stored in the master system target Register the target secondary market electric energy metering device information; otherwise, the device registration request fails; K target =i|min(DistXY i )&DistXY i <DXY th , Where i∈the number of equipment entries in the master system.

5. The master station registration method of a secondary market electric energy metering device according to claim 1 is characterized in that: The secondary market electric energy metering device data includes: operation ID number, function configuration, collection parameter configuration, system integration configuration, product parameter configuration, and asset configuration.

6. The master station registration method of a secondary market electric energy metering device according to claim 1, characterized in that: The dynamic verification content includes: the master station system sends a communication verification feature instruction to verify the communication function of the secondary market electric energy metering device; the master station system sends a clock verification feature instruction to verify the clock function of the secondary market electric energy metering device; the master station system sends a data collection verification feature instruction to verify the collection function of the secondary market electric energy metering device; the secondary market electric energy metering device sends an event verification feature instruction to verify the event processing function of the master station system.

7. The master station registration method of a secondary market electric energy metering device according to claim 1 is characterized in that: The secondary market electric energy metering device archive includes: brand, model, version, topology information, system interface information, and asset information.

8. A master station registration system for electric energy metering devices in the secondary market, characterized in that: include: Configuration generation module: The secondary market electric energy metering device is powered on and starts, and sends a self-describing file to the secondary market energy usage scenario metering device configuration tool; The secondary market energy usage scenario metering device configuration tool completes the function configuration, communication configuration, security configuration, data collection items, and collection frequency parameter configuration of the secondary market electric energy metering device according to the on-site metering application requirements and self-description files; And send the configuration file to the secondary market electric energy metering device to complete the configuration generation of the secondary market electric energy metering device based on the field application requirements; Registration application module: The secondary market electric energy metering device generates a secondary market electric energy metering device registration data packet according to the information required for registration at the master station, and sends a registration request to the master station through the local area network communication technology; Static verification module: The master station system receives the registration request of the secondary market electric energy metering device and performs static verification; Master station system pre-registration module: The master station system adopts object-oriented modeling technology to model the data of the secondary market electric energy metering device, adds the secondary market electric energy metering device object into the master station system equipment node tree, and sets the node object state to be dynamically verified, completing the master station system pre-registration of the secondary market electric energy metering device; Dynamic verification module: The master station system generates a secondary market electric energy metering device file based on the node information of the device tree, sends the secondary market electric energy metering device file to the secondary market electric energy metering device, and conducts dynamic verification of the secondary market electric energy metering device; if the verification is passed, the master station system enables the device tree node object and sends a command to notify the secondary market metering device to complete the master station registration; Configuration correction module: If the master station verification of step S3 or step S5 fails, the master station system generates an error report and returns it to the secondary market electric energy metering device. The secondary market electric energy metering device resends the self-description file and the error report to the secondary market energy consumption scenario metering device configuration tool and repeats steps S1 to S5.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, a master station registration method for a secondary market electric energy metering device is implemented as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, a master station registration method for a secondary market electric energy metering device is implemented as described in any one of claims 1 to 7.