Data configuration method, system and equipment of energy management system and medium
By generating and loading the protocol plug-in library, the measurement points of the target metering equipment and the equipment to be configured in the energy management system are matched, solving the problems of configuration errors and heavy workload in the existing technology, and improving the accuracy and flexibility of data configuration. .
Patent Information
- Application Number
- CN202410516901.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-08-30
AI Technical Summary
During the data collection and configuration process of the existing energy management system, the configuration personnel of the IoT equipment and the front-end software are inconsistent, resulting in misconfiguration of data measurement points, increasing the configuration workload and labor costs, and affecting the accuracy of the system's statistical functions.
By generating the protocol plug-in library of the target metering equipment and loading the protocol plug-in of the equipment to be configured, measurement point matching and data sharing are achieved, reducing repeated operations by implementers and improving configuration flexibility and accuracy.
It reduces repeated operations by implementers, reduces the configuration workload, improves the accuracy and flexibility of data configuration of the energy management system, and solves the problem of configuration errors.
Smart Images

Figure CN118567737A
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things data collection technology, and specifically to a data configuration method, system, device and medium for an energy management system. Background Art
[0002] The energy management system is an information management and control system that aims to help industrial production enterprises to rationally plan and utilize energy, reduce energy consumption, and improve economic benefits. In terms of data collection and configuration of the energy management system, the current conventional practice is to develop communication protocols for different metering devices, and different implementation personnel perform data configuration and other operations at the transmission layer and IoT layer of the energy management system.
[0003] However, the above operations have relatively high technical requirements for the energy management system configuration implementation personnel. If the configuration personnel of the IoT device and the front-end software are not the same operator, data measurement point configuration errors are likely to occur, which not only increases the configuration workload and labor costs, but also seriously affects the accuracy of the energy management system's statistical function. Summary of the invention
[0004] In view of the above problems, the present application is proposed to provide a data configuration method, system, device and medium for an energy management system, so as to achieve the technical effect of reducing the repetitive operations of implementation personnel, reducing the configuration workload, and improving the flexibility and accuracy of data configuration of the energy management system.
[0005] According to a first aspect of the present application, a data configuration method for an energy management system is proposed, the method comprising:
[0006] According to the target metering device in the energy management system, a first protocol plug-in corresponding to the target metering device is generated, wherein the first protocol plug-ins of the plurality of target metering devices can obtain a protocol plug-in library, the first protocol plug-in includes a communication protocol and a configuration file, the communication protocol is used to transmit communication data of the target metering device, and the configuration file is generated according to the measurement point parameters and business rules of the target metering device;
[0007] According to the data configuration task of the metering device to be configured, a second protocol plug-in corresponding to the metering device to be configured is loaded in the protocol plug-in library to complete the measurement point matching for the metering device to be configured, wherein the device type of the metering device to be configured includes one or more of the device type set constituted by the target metering device, and the second protocol plug-in is obtained by matching the first protocol plug-in.
[0008] Optionally, loading a second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library includes:
[0009] A communication protocol in a second protocol plug-in corresponding to the metering device to be configured is loaded, and / or a configuration file in a second protocol plug-in corresponding to the metering device to be configured is loaded.
[0010] Optionally, the loading of the communication protocol in the second protocol plug-in corresponding to the metering device to be configured comprises: loading the communication protocols in the second protocol plug-in corresponding to the plurality of metering devices to be configured in the transport layer of the energy management system respectively;
[0011] The loading of the configuration file in the second protocol plug-in corresponding to the metering device to be configured comprises: loading the configuration files in the second protocol plug-in corresponding to the plurality of metering devices to be configured in the transport layer of the energy management system respectively;
[0012] The method further comprises:
[0013] According to the communication protocol and configuration file in the second protocol plug-in, the data of the plurality of metering devices to be configured are integrated, and the data communication format of each metering device to be configured is parsed one by one to complete the communication and data transmission between each metering device to be configured and the IoT device in the transport layer.
[0014] Optionally, the loading of a configuration file in a second protocol plug-in corresponding to the metering device to be configured further includes:
[0015] In the IoT layer of the energy management system, respectively loading configuration files in the second protocol plug-in corresponding to the plurality of metering devices to be configured;
[0016] According to the configuration file in the second protocol plug-in, the measurement point parameters of each of the metering devices to be configured are matched, and the measurement point parameters of multiple metering devices to be configured are uniformly processed through the IoT front-end acquisition program in the IoT layer.
[0017] Optionally, the unified processing of the measurement point parameters of the plurality of the metering devices to be configured comprises at least one or more of: extreme value processing of data points, supplementation of missing data points, and data classification processing.
[0018] Optionally, the method further includes: binding a business device in a business layer of the energy management system with a second protocol plug-in corresponding to each metering device to be configured, so as to achieve data sharing between a plurality of the business devices and each metering device to be configured.
[0019] Optionally, the method further comprises:
[0020] Building a protocol plug-in model related to a configuration file of the target metering device based on a protocol plug-in library obtained from a plurality of first protocol plug-ins of the target metering device;
[0021] Through the Internet of Things device in the transmission layer of the energy management system and / or the Internet of Things front-end acquisition program in the Internet of Things layer of the energy management system, the configuration file in the protocol plug-in model is called to realize data sharing between the Internet of Things device and the Internet of Things front-end acquisition program.
[0022] According to a second aspect of the present application, an energy management system is proposed, the system comprising:
[0023] A plug-in generating unit, configured to generate a first protocol plug-in corresponding to a target metering device in the energy management system, wherein a plurality of first protocol plug-ins of the target metering devices may obtain a protocol plug-in library, wherein the first protocol plug-in includes a communication protocol and a configuration file, wherein the communication protocol is used to transmit communication data of the target metering device, and the configuration file is generated according to measurement point parameters and business rules of the target metering device;
[0024] A data configuration unit is used to load a second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library according to the data configuration task of the metering device to be configured, so as to complete the measurement point matching for the metering device to be configured, wherein the device type of the metering device to be configured includes one or more of the device type set constituted by the target metering device, and the second protocol plug-in is obtained by matching the first protocol plug-in.
[0025] According to a third aspect of the present application, an electronic device is proposed, comprising: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes a data configuration method as described in any one of the first aspects above.
[0026] According to a fourth aspect of the present application, a computer-readable storage medium is proposed, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the data configuration method as described in any one of the first aspects above is implemented.
[0027] From the above, it can be seen that at least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: a first protocol plug-in corresponding to a target metering device is generated through a target metering device in the energy management system to form a protocol plug-in library related to the metering device to be configured; by calling and loading a second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library, the measurement point matching of the metering device to be configured is achieved, thereby achieving the technical effect of reducing the repetitive operations of implementation personnel, reducing configuration workload, and improving the configuration flexibility and accuracy of the energy management system.
[0028] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0030] Figure 1 This is a schematic diagram of the architecture of a distributed energy management system;
[0031] Figure 2 A flowchart of a data configuration method for an energy management system in one embodiment of the present application;
[0032] Figure 3 A structural diagram of data configuration and data flow in one embodiment of the present application;
[0033] Figure 4 This is a schematic diagram of the structure of an energy management system in one embodiment of the present application;
[0034] Figure 5 This is a schematic diagram of the structure of an electronic device in one embodiment of the present application;
[0035] Figure 6 This is a schematic diagram of the structure of a computer-readable storage medium in one embodiment of the present application. DETAILED DESCRIPTION
[0036] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0037] Combination Figure 1 As shown in the figure, in the related technology, the energy management system adopts a layered distributed architecture, which can be mainly divided into a metering layer, a transmission layer, an IoT layer, and an application layer. Of course, the above energy management system can also include a business layer (including multiple business devices). Figure 1 Only the four-layer distributed energy management system architecture is shown in Figure 1 The arrows in the diagram indicate the direction of data flow. Therefore, the data collection configuration for the energy management system mainly includes the following aspects:
[0038] First, in the metering layer: by installing metering equipment or sensors, etc., the energy consumption and operation status of each energy system in the current project are measured. Although the metering equipment has a data communication interface, different types of metering equipment use different communication protocols, so it is necessary to configure IoT devices capable of data communication; second, in the transmission layer: the metering equipment installed on the project site is integrated through IoT devices, the data communication formats of different types of metering equipment are parsed, and the data are uploaded to the IoT platform in a unified format; third, in the IoT layer: the data uploaded by the IoT devices is uniformly processed and uniformly managed; fourth, in the application layer: statistical analysis of various energy data and storage and display of historical data are performed according to business needs.
[0039] From the above, we can see that the current common practice for data acquisition configuration is to develop communication protocols for different metering devices, and different implementation personnel perform configuration operations at the transmission layer and the Internet of Things layer of the energy management system respectively; that is, in the transmission layer, the Internet of Things devices and metering devices are configured one by one according to the protocol manual provided by the metering device manufacturer, and at the same time, the data uploaded by the Internet of Things devices are uniformly configured and managed through the Internet of Things front-end acquisition program in the data acquisition software of the Internet of Things layer.
[0040] However, as mentioned above, the above operations have relatively high technical requirements for configuration implementation personnel, which not only increases the configuration workload and labor costs, but also seriously affects the accuracy of the system statistical function. Based on this, the present application proposes a data configuration method, system, device and medium for an energy management system to achieve the technical effect of reducing the repetitive operations of implementation personnel, reducing the configuration workload, and improving the flexibility and accuracy of data configuration of the energy management system.
[0041] The technical idea of the present application is to pre-build a protocol plug-in library in which protocol plug-ins correspond one-to-one to metering device versions, and solidify the protocol configurations of different metering devices in the protocol plug-in library, so that when implementing personnel integrate the same type of devices, they only need to call and load the protocol plug-in corresponding to the current metering device to be configured in the protocol plug-in library, and they can automatically parse and complete the data collection and measurement point matching of the metering device, thereby realizing data sharing between different devices.
[0042] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0043] In one embodiment of the present application, a data configuration method for an energy management system is proposed, such as Figure 2 As shown, the method includes:
[0044] Step S210: Generate a first protocol plug-in corresponding to the target metering device in the energy management system, wherein a plurality of first protocol plug-ins of the target metering devices may obtain a protocol plug-in library, wherein the first protocol plug-in includes a communication protocol and a configuration file, wherein the communication protocol is used to transmit communication data of the target metering device, and the configuration file is generated according to the measurement point parameters and business rules of the target metering device, and the configuration file may include a data configuration structure related to the metering device.
[0045] Specifically, in this embodiment, device parameters of multiple different types of target metering devices may be acquired in advance, and a first protocol plug-in corresponding to the target device may be generated according to the device parameters, so that the protocol configuration of the target metering device is solidified in the protocol plug-in library.
[0046] In some embodiments, the device parameters may include static and dynamic parameters of the device, such as version information and measurement point parameters of the device. The communication protocol of the current device can be determined based on the device version information, and a configuration file of the device can be formed based on business rules and measurement point parameters. Thus, a first protocol plug-in including the communication protocol and configuration file of the target metering device can be obtained based on the device parameters, and then the first protocol plug-ins of multiple target metering devices can be integrated to obtain a protocol plug-in library covering different types of metering devices.
[0047] It should be noted that in the embodiments of the present application, the metering device refers to a device that measures various physical quantities to obtain accurate data, and the measuring point parameters refer to the measurement data obtained by measuring different physical parameters of the measuring device; for example, the metering device may be an electric meter, which may include multiple measuring points, and the measuring point parameters may be physical parameters of different dimensions such as the electric energy load, electric power, and temperature of the electric meter. Therefore, the measuring point matching in the embodiments of the present application refers to matching the measuring point parameters of the device one by one according to a preset order or preset configuration rules; for example, when the metering device has 1,000 measuring points, it is necessary to match the 1,000 data one by one in the transmission layer and / or the business layer according to the preset configuration rules.
[0048] Of course, the present application does not limit the type of measuring equipment, the type of measuring point parameters, the communication protocol and the content of the configuration file, etc. The above description is only for the convenience of understanding and simplified description and cannot be regarded as a limitation of the present application.
[0049] Step S220: According to the data configuration task of the metering device to be configured, a second protocol plug-in corresponding to the metering device to be configured is loaded in the protocol plug-in library to complete the measurement point matching for the metering device to be configured, wherein the device type of the metering device to be configured includes one or more of the device type set constituted by the target metering device, and the second protocol plug-in is obtained by matching the first protocol plug-in.
[0050] Specifically, the metering device to be configured in this embodiment should be one or more of the device type set constituted by the target metering device; in other words, the device set constituted by the aforementioned multiple target metering devices should cover the device types of all metering devices to be configured in the current metering project. Therefore, the protocol plug-in library formed by multiple target metering devices must contain the protocol plug-in corresponding to the metering device to be configured, that is, the second protocol plug-in of the metering device to be configured can correspond to the first protocol plug-in and be matched according to the first protocol plug-in; at the same time, when a certain type of protocol plug-in of the metering device to be configured is lacking in the protocol plug-in library, the plug-in will be generated during the first configuration and added to the protocol plug-in library to facilitate the next plug-in call of this type of metering device; thereby, according to the data configuration task, the second protocol plug-in corresponding to the metering device to be configured can be loaded in the protocol plug-in library to complete the measurement point matching for the metering device to be configured.
[0051] It can be seen that the technical solution of the present application can reduce the frequent repetitive operations of IoT implementers. When the implementers integrate the same type of metering equipment, they only need to call and load the protocol plug-in corresponding to the metering equipment to be configured in the protocol plug-in library to achieve unified configuration of data, thereby reducing the workload of data configuration, solving the configuration error problem caused by inconsistencies between the implementers of both parties, and improving the accuracy of data configuration.
[0052] In some embodiments of the present application, loading the second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library includes: loading the communication protocol in the second protocol plug-in corresponding to the metering device to be configured, and / or loading the configuration file in the second protocol plug-in corresponding to the metering device to be configured.
[0053] Specifically, when performing the configuration task of the metering device to be configured, it is necessary to load the communication protocol in the second protocol plug-in corresponding to the metering device to be configured, and load the configuration file in the second protocol plug-in corresponding to the metering device to be configured in the transport layer of the energy management system; and / or, in the IoT layer of the energy management system, load the configuration files in the second protocol plug-in corresponding to multiple metering devices to be configured respectively.
[0054] In some implementations, the loading of the communication protocol in the second protocol plug-in corresponding to the metering device to be configured includes: loading the communication protocols in the second protocol plug-ins corresponding to the plurality of metering devices to be configured in the transport layer of the energy management system respectively;
[0055] The loading of the configuration file in the second protocol plug-in corresponding to the metering device to be configured comprises: loading the configuration files in the second protocol plug-in corresponding to the plurality of metering devices to be configured in the transport layer of the energy management system respectively;
[0056] The method further comprises:
[0057] According to the communication protocol and configuration file in the second protocol plug-in, the data of the plurality of metering devices to be configured are integrated, and the data communication format of each metering device to be configured is parsed one by one to complete the communication and data transmission between each metering device to be configured and the IoT device in the transport layer.
[0058] Specifically, in this embodiment, when the IoT device collects data, the gateway of the IoT device no longer needs to select a communication protocol, but can directly select a second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library. In this way, the IoT device can automatically parse the data in the metering device and directly display the measurement point parameters according to the configuration structure in the second protocol plug-in, so that the implementation personnel can check the measurement data of the metering device.
[0059] In some implementations, loading a configuration file in a second protocol plug-in corresponding to the metering device to be configured further includes:
[0060] In the IoT layer of the energy management system, respectively loading configuration files in the second protocol plug-in corresponding to the plurality of metering devices to be configured;
[0061] According to the configuration file in the second protocol plug-in, the measurement point parameters of each of the metering devices to be configured are matched, and the measurement point parameters of multiple metering devices to be configured are uniformly processed through the IoT front-end acquisition program in the IoT layer.
[0062] In some preferred implementations, the unified processing of the measurement point parameters of the plurality of metering devices to be configured includes at least one or more of: extreme value processing of data points, supplementation of missing data points, and data classification processing. That is, the IoT front-end acquisition program can call the configuration file of the metering device to be configured in the protocol plug-in library, and uniformly configure the metering parameters according to the configuration rules.
[0063] It can be seen from the above that in the technical solution of the present application, in addition to the need for data configuration at the transport layer, the IoT front-end acquisition program at the IoT layer also needs to load the second protocol plug-in of the metering device to be configured, and match the measurement points according to the configuration file in the second protocol plug-in. In other words, the role of the IoT device in the transport layer is communication analysis and data aggregation, which is equivalent to packaging the measurement point parameters of multiple metering devices to be configured according to the configuration file to form an overall communication data packet, while parsing the data communication format of each metering device to be configured one by one, and transmitting the communication data packet to the IoT layer; and the role of the IoT front-end acquisition program in the IoT layer is data unpacking, which is equivalent to splitting the communication data packets of multiple metering devices to be configured according to the configuration structure in the configuration file, and then transmitting the measurement point parameters of each metering device to be configured to the next level or the database of the energy management system.
[0064] It can be seen that the technical solution of the present application can realize the connection of data at the transmission layer and the Internet of Things layer, reduce problems such as data chaos caused by configuration errors of personnel on both sides, and thus realize the unified configuration function of system data.
[0065] In a preferred embodiment of the present application, the method includes: binding the business device in the business layer of the energy management system with the second protocol plug-in corresponding to each of the metering devices to be configured, so as to realize data sharing between multiple business devices and each of the metering devices to be configured.
[0066] That is to say, the business layer of the energy management system can also load the second protocol plug-in corresponding to the metering device to be configured, and realize the many-to-one binding between the business device and the second protocol plug-in; for example, the metering device to be configured can be an electric meter, and the business device can be an air conditioner, lighting, refrigerator, etc. At this time, the air conditioner, lighting, refrigerator and the protocol plug-in of the electric meter can be bound, so that the data of the metering device can also be shared in the business layer. Of course, there is no restriction on the type, quantity, configuration rules, etc. of the metering device and the business device.
[0067] In some preferred embodiments, the method further comprises: constructing a protocol plug-in model related to a configuration file of the target metering device based on a protocol plug-in library obtained from a plurality of first protocol plug-ins of the target metering device;
[0068] Through the Internet of Things device in the transmission layer of the energy management system and / or the Internet of Things front-end acquisition program in the Internet of Things layer of the energy management system, the configuration file in the protocol plug-in model is called to realize data sharing between the Internet of Things device and the Internet of Things front-end acquisition program.
[0069] Specifically, Figure 3 As shown, in this embodiment, the call to the protocol plug-in can be achieved by establishing a model; on the one hand, the communication protocol in the protocol plug-in library is called and parsed by the IoT device communication protocol parsing program to complete the communication configuration of the transport layer; on the other hand, a protocol plug-in model related to the target metering device can be constructed based on the protocol plug-in library, and the protocol plug-in model at least includes the configuration file of the metering device to be configured, so that both the IoT device and the IoT front-end acquisition program can call the configuration file in the model and realize data sharing between the two. Furthermore, multiple business devices in the system can also be bound to the model, so that the metering data can be transmitted by multiple business devices to different energy systems (or their databases) for data display or storage; Figure 3 The arrows in the figure indicate the data flow direction. It can be seen that the present application not only realizes the measurement point matching of the metering equipment to be configured, but also realizes data sharing between different levels.
[0070] In another embodiment of the present application, an energy management system 400 is proposed, such as Figure 4 As shown, the energy management system 400 includes:
[0071] A plug-in generating unit 410 is used to generate a first protocol plug-in corresponding to the target metering device in the energy management system, wherein the first protocol plug-ins of the plurality of target metering devices can obtain a protocol plug-in library, the first protocol plug-in includes a communication protocol and a configuration file, the communication protocol is used to transmit the communication data of the target metering device, and the configuration file is generated according to the measurement point parameters and business rules of the target metering device;
[0072] The data configuration unit 420 is used to load a second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library according to the data configuration task of the metering device to be configured, so as to complete the measurement point matching for the metering device to be configured, wherein the device type of the metering device to be configured includes one or more of the device type set constituted by the target metering device, and the second protocol plug-in is obtained by matching the first protocol plug-in.
[0073] In the data configuration unit 420, the step of loading the second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library includes:
[0074] A communication protocol in a second protocol plug-in corresponding to the metering device to be configured is loaded, and / or a configuration file in a second protocol plug-in corresponding to the metering device to be configured is loaded.
[0075] In the data configuration unit 420, the loading of the communication protocol in the second protocol plug-in corresponding to the metering device to be configured includes: loading the communication protocols in the second protocol plug-in corresponding to the plurality of metering devices to be configured in the transport layer of the energy management system respectively;
[0076] The loading of the configuration file in the second protocol plug-in corresponding to the metering device to be configured comprises: loading the configuration files in the second protocol plug-in corresponding to the plurality of metering devices to be configured in the transport layer of the energy management system respectively;
[0077] According to the communication protocol and configuration file in the second protocol plug-in, the data of the plurality of metering devices to be configured are integrated, and the data communication format of each metering device to be configured is parsed one by one to complete the communication and data transmission between each metering device to be configured and the IoT device in the transport layer.
[0078] In the data configuration unit 420, the loading of the configuration file in the second protocol plug-in corresponding to the metering device to be configured further includes:
[0079] In the IoT layer of the energy management system, respectively loading configuration files in the second protocol plug-in corresponding to the plurality of metering devices to be configured;
[0080] According to the configuration file in the second protocol plug-in, the measurement point parameters of each of the metering devices to be configured are matched, and the measurement point parameters of multiple metering devices to be configured are uniformly processed through the IoT front-end acquisition program in the IoT layer.
[0081] In the data configuration unit 420, the unified processing of the measurement point parameters of the plurality of the to-be-configured measuring devices includes at least one or more of: extreme value processing of data points, supplementation of missing data points, and data classification processing.
[0082] In the data configuration unit 420, the business devices in the business layer of the energy management system are bound to the second protocol plug-in corresponding to each of the metering devices to be configured, so as to realize data sharing between the plurality of business devices and each of the metering devices to be configured.
[0083] The plug-in generation unit 410 is used to construct a protocol plug-in model related to the configuration file of the target metering device based on a protocol plug-in library obtained by first protocol plug-ins of a plurality of the target metering devices;
[0084] The data configuration unit 420 is used to call the configuration file in the protocol plug-in model through the IoT device in the transmission layer of the energy management system and / or the IoT front-end acquisition program in the IoT layer of the energy management system to realize data sharing between the IoT device and the IoT front-end acquisition program.
[0085] It should be noted that the above energy management system can implement the various steps of the data configuration method of the energy management system provided in the aforementioned embodiment. The relevant explanations on the data configuration method of the energy management system are applicable to the energy management system and will not be repeated here.
[0086] To sum up, the technical solution of the present application has achieved at least the following technical effects: a first protocol plug-in corresponding to a target metering device is generated through a target metering device in an energy management system to form a protocol plug-in library related to the metering device to be configured; by calling and loading a second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library, measurement point matching of the metering device to be configured is achieved, thereby achieving the technical effect of reducing repetitive operations of implementation personnel, reducing configuration workload, and improving the configuration flexibility and accuracy of the energy management system.
[0087] It should be noted that:
[0088] The algorithm and display provided herein are not inherently related to any particular computer, virtual device or other equipment. Various general purpose devices can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of device. In addition, the application is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the application described herein, and the description of the specific language above is for the purpose of disclosing the best mode of the application.
[0089] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0090] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.
[0091] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0092] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0093] The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the energy management system according to the embodiment of the present application. The present application may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present application may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0094] For example, Figure 5 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. The electronic device 500 includes a processor 510 and a memory 520 arranged to store computer executable instructions (computer readable program code). The memory 520 can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. The memory 520 has a storage space 530 for storing a computer readable program code 531 for executing any method step in the above method. For example, the storage space 530 for storing computer readable program code may include various computer readable program codes 531 respectively used to implement various steps in the above method. The computer readable program code 531 can be read from one or more computer program products or written into the one or more computer program products. These computer program products include program code carriers such as a hard disk, a compact disk (CD), a memory card or a floppy disk. Such a computer program product is usually, for example Figure 6 The computer-readable storage medium shown.
[0095] Figure 6A schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 600 stores a computer-readable program code 531 for executing the method steps according to the present application, which can be read by the processor 510 of the electronic device 500. When the computer-readable program code 531 is executed by the electronic device 500, the electronic device 500 executes each step in the method described above. Specifically, the computer-readable program code 531 stored in the computer-readable storage medium can execute the method shown in any of the above embodiments. The computer-readable program code 531 can be compressed in an appropriate form.
[0096] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.
Claims
1. A data configuration method for an energy management system, characterized in that: The method comprises: According to the target metering device in the energy management system, a first protocol plug-in corresponding to the target metering device is generated, wherein the first protocol plug-ins of the plurality of target metering devices can obtain a protocol plug-in library, the first protocol plug-in includes a communication protocol and a configuration file, the communication protocol is used to transmit communication data of the target metering device, and the configuration file is generated according to the measurement point parameters and business rules of the target metering device; According to the data configuration task of the metering device to be configured, a second protocol plug-in corresponding to the metering device to be configured is loaded in the protocol plug-in library to complete the measurement point matching for the metering device to be configured, wherein the device type of the metering device to be configured includes one or more of the device type set constituted by the target metering device, and the second protocol plug-in is obtained by matching the first protocol plug-in.
2. The data configuration method according to claim 1, characterized in that: The step of loading the second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library includes: A communication protocol in a second protocol plug-in corresponding to the metering device to be configured is loaded, and / or a configuration file in a second protocol plug-in corresponding to the metering device to be configured is loaded.
3. The data configuration method according to claim 2, characterized in that: The loading of the communication protocol in the second protocol plug-in corresponding to the metering device to be configured comprises: loading the communication protocols in the second protocol plug-in corresponding to the plurality of metering devices to be configured in the transport layer of the energy management system respectively; The loading of the configuration file in the second protocol plug-in corresponding to the metering device to be configured comprises: loading the configuration files in the second protocol plug-in corresponding to the plurality of metering devices to be configured in the transport layer of the energy management system respectively; The method further comprises: According to the communication protocol and configuration file in the second protocol plug-in, the data of the plurality of metering devices to be configured are integrated, and the data communication format of each metering device to be configured is parsed one by one to complete the communication and data transmission between each metering device to be configured and the IoT device in the transport layer.
4. The data configuration method according to claim 2 or 3, characterized in that: The step of loading a configuration file in a second protocol plug-in corresponding to the metering device to be configured further includes: In the IoT layer of the energy management system, respectively loading configuration files in the second protocol plug-in corresponding to the plurality of metering devices to be configured; According to the configuration file in the second protocol plug-in, the measurement point parameters of each of the metering devices to be configured are matched, and the measurement point parameters of multiple metering devices to be configured are uniformly processed through the IoT front-end acquisition program in the IoT layer.
5. The data configuration method according to claim 4, characterized in that: The unified processing of the measurement point parameters of the plurality of the metering devices to be configured at least includes: one or more of: extreme value processing of data points, supplementation of missing data points, and data classification processing.
6. The data configuration method according to claim 1, characterized in that: The method further includes: binding a business device in the business layer of the energy management system with a second protocol plug-in corresponding to each of the metering devices to be configured, so as to achieve data sharing between a plurality of the business devices and each of the metering devices to be configured.
7. The data configuration method according to claim 1, characterized in that: The method further comprises: Building a protocol plug-in model related to a configuration file of the target metering device based on a protocol plug-in library obtained from a plurality of first protocol plug-ins of the target metering device; Through the Internet of Things device in the transmission layer of the energy management system and / or the Internet of Things front-end acquisition program in the Internet of Things layer of the energy management system, the configuration file in the protocol plug-in model is called to realize data sharing between the Internet of Things device and the Internet of Things front-end acquisition program.
8. An energy management system, characterized in that: The system comprises: A plug-in generating unit, configured to generate a first protocol plug-in corresponding to a target metering device in the energy management system, wherein a plurality of first protocol plug-ins of the target metering devices may obtain a protocol plug-in library, wherein the first protocol plug-in includes a communication protocol and a configuration file, wherein the communication protocol is used to transmit communication data of the target metering device, and the configuration file is generated according to measurement point parameters and business rules of the target metering device; A data configuration unit is used to load a second protocol plug-in corresponding to the metering device to be configured in the protocol plug-in library according to the data configuration task of the metering device to be configured, so as to complete the measurement point matching for the metering device to be configured, wherein the device type of the metering device to be configured includes one or more of the device type set constituted by the target metering device, and the second protocol plug-in is obtained by matching the first protocol plug-in.
9. An electronic device, characterized in that: The electronic device comprises: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the data configuration method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the data configuration method according to any one of claims 1 to 7 is implemented.
