Internet of Things data interaction method and system of virtual power plant, terminal and storage medium

By deploying multiple communication components on the external interface of the virtual power plant and establishing corresponding queue subscription relationships, combining equipment attribute information grouping and resource mapping, the problem of low data interaction efficiency in virtual power plant is solved, and the stability and real-time nature of data interaction are improved .

CN119232816APending Publication Date: 2024-12-31SHANDONG LUNENG SOFTWARE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411308670.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

Due to the many devices and different communication protocols in virtual power plants, the data interaction layer development efficiency is low, the computing resource overhead is large, and the communication interface needs to be polled to monitor data, which increases the burden on processing components.

Method used

Deploy multiple communication components on the external interface of the virtual power plant, build a queue for each component, and establish a subscription relationship between processing components and queues, obtain attribute information of IoT devices for grouping, and establish a mapping relationship between device groups and communication components. IO resources are allocated according to the proportion of data interaction.

Benefits of technology

It realizes independent data transmission, improves data interaction efficiency, simplifies the data interaction layer, and improves the stability and real-timeness of data interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232816A_ABST
    Figure CN119232816A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of virtual power plants, and particularly provides an Internet of Things data interaction method and system for a virtual power plant, a terminal and a storage medium, and the method comprises the steps: deploying a plurality of communication components at an external interface of the virtual power plant, and enabling the communication components to correspond to a transmission protocol; corresponding queues are constructed for the multiple communication components respectively, a subscription relation between a processing component and the queues is established, and the processing component comprises a self-defined data processing strategy; obtaining attribute information of the Internet of Things equipment, and grouping the Internet of Things equipment based on the attribute information to obtain a plurality of equipment groups; and establishing a mapping relationship between the device group and the communication component. According to the invention, the stability and real-time performance of data interaction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of virtual power plants, and in particular relates to an Internet of Things data interaction method, system, terminal and storage medium for a virtual power plant. Background Art

[0002] A virtual power plant is a power coordination management system that uses advanced information and communication technologies and software systems to achieve the aggregation and coordinated optimization of DERs such as DG, energy storage systems, controllable loads, and electric vehicles, so that it can participate in the power market and power grid operation as a special power plant. The core of the concept of a virtual power plant can be summarized as "communication" and "aggregation". The key technologies of a virtual power plant mainly include coordinated control technology, smart metering technology, and information and communication technology.

[0003] Virtual power plants need to establish communication connections and exchange data with power system devices through the Internet of Things. However, due to the large number of devices and the different communication protocols used by different devices, the development efficiency of the data interaction layer of virtual power plants is low, and the processing components inside the virtual power plant need to poll the communication interface to monitor whether the data to be processed is received, which increases the cost of computing resources. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides an Internet of Things data interaction method, system, terminal and storage medium for a virtual power plant to solve the above-mentioned technical problems.

[0005] In a first aspect, the present invention provides an Internet of Things data interaction method for a virtual power plant, comprising: Deploy multiple communication components at the external interface of the virtual power plant, wherein the communication components correspond to the transmission protocol; Construct corresponding queues for multiple communication components respectively, and establish a subscription relationship between a processing component and the queue, wherein the processing component includes a customized data processing strategy; Acquire attribute information of IoT devices, and group the IoT devices based on the attribute information to obtain multiple device groups; Establish a mapping relationship between device groups and communication components.

[0006] In an optional implementation, corresponding queues are constructed for multiple communication components respectively, and a subscription relationship between a processing component and the queue is established, wherein the processing component includes a customized data processing strategy, including: Parsing the input data format of the processing component and obtaining a transmission protocol corresponding to the input data format; A subscription relationship between the queues of the processing component and the communication component is established based on the corresponding relationship between the processing component and the transmission protocol.

[0007] In an optional implementation, attribute information of IoT devices is obtained, and IoT devices are grouped based on the attribute information to obtain multiple device groups, including: Obtaining attribute information of an IoT device, the attribute information including device type, output data format and corresponding transmission protocol, and output data items; IoT devices with the same attribute information are grouped into the same device group.

[0008] In an optional implementation, establishing a mapping relationship between a device group and a communication component includes: Based on the format of output data of the IoT devices in the device group and the corresponding transmission protocol, a matching communication component is assigned to the device group; Evaluate the data interaction volume based on the number and type of IoT devices in the device group corresponding to the communication component; Allocate IO resources to each communication component according to the proportion of data interaction of each communication component.

[0009] In a second aspect, the present invention provides an Internet of Things data interaction system for a virtual power plant, comprising: A communication deployment module, used to deploy multiple communication components at the external interface of the virtual power plant, wherein the communication components correspond to a transmission protocol; A subscription management module, used to construct corresponding queues for multiple communication components respectively, and establish a subscription relationship between a processing component and the queue, wherein the processing component includes a custom data processing strategy; A device grouping module, used to obtain attribute information of IoT devices, and group the IoT devices based on the attribute information to obtain multiple device groups; The communication mapping module is used to establish a mapping relationship between device groups and communication components.

[0010] In an optional implementation, the subscription management module includes: A component parsing unit, used to parse the input data format of the processing component and obtain a transmission protocol corresponding to the input data format; The subscription establishment unit is used to establish a subscription relationship between the processing component and the queue of the communication component based on the corresponding relationship between the processing component and the transmission protocol.

[0011] In an optional implementation, the device grouping module includes: An attribute acquisition unit, used to acquire attribute information of an IoT device, wherein the attribute information includes a device type, a format of output data and a corresponding transmission protocol, and output data items; The device classification unit is used to classify IoT devices with the same attribute information into the same device group.

[0012] In an optional implementation, the communication mapping module includes: A communication matching unit, configured to assign a matching communication component to the device group based on the format of output data of the IoT devices in the device group and the corresponding transmission protocol; An interaction evaluation unit, used to evaluate the data interaction amount based on the number and device types of IoT devices in the device group corresponding to the communication component; The resource allocation unit is used to allocate IO resources to each communication component according to the data interaction volume ratio of each communication component.

[0013] In a third aspect, a terminal is provided, including: processor, memory, wherein: The memory is used to store computer programs. The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned terminal method.

[0014] According to a fourth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the methods described in the above aspects.

[0015] The beneficial effects of the present invention lie in that the Internet of Things data interaction method, system, terminal and storage medium for a virtual power plant provided by the present invention, by deploying communication components corresponding to a plurality of communication protocols at the external interface of the virtual power plant and establishing a binding relationship between the communication components and the processing components, realizes the autonomous transmission of data to be processed, improves the data interaction efficiency, simplifies the data interaction layer, and improves the stability and real-time performance of the data interaction.

[0016] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0018] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.

[0019] Figure 2 is a schematic block diagram of a system according to an embodiment of the present invention.

[0020] Figure 3 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.

[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0023] The Internet of Things data interaction method for a virtual power plant provided in an embodiment of the present invention is executed by a computer device, and accordingly, the Internet of Things data interaction system for a virtual power plant runs in the computer device.

[0024] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention. Figure 1 The execution subject may be an IoT data interaction system of a virtual power plant. According to different requirements, the order of the steps in the flowchart may be changed, and some may be omitted.

[0025] like Figure 1 As shown, the method includes: Step 110, deploying multiple communication components at the external interface of the virtual power plant, wherein the communication components correspond to the transmission protocol; Step 120, construct corresponding queues for multiple communication components respectively, and establish a subscription relationship between a processing component and the queue, wherein the processing component includes a customized data processing strategy; Step 130, obtaining attribute information of the IoT devices, and grouping the IoT devices based on the attribute information to obtain multiple device groups; Step 140: Establish a mapping relationship between the device group and the communication component.

[0026] To facilitate understanding of the present invention, the Internet of Things data interaction method for a virtual power plant provided by the present invention is further described below based on the principle of the Internet of Things data interaction method for a virtual power plant of the present invention and in combination with the process of managing the Internet of Things data interaction of a virtual power plant in an embodiment.

[0027] Specifically, the IoT data interaction methods of virtual power plants include: S1. Deploy multiple communication components at the external interface of the virtual power plant, and the communication components correspond to the transmission protocol.

[0028] These communication components are carefully selected to cover a wide range of transmission protocols, including but not limited to MQTT, HTTP, WebSocket, etc., to ensure that the virtual power plant can flexibly adapt to and integrate IoT device data from different sources and following different standards. This deployment strategy not only enhances the compatibility and scalability of the virtual power plant, but also lays a solid foundation for subsequent data processing and interaction.

[0029] S2. Build corresponding queues for multiple communication components respectively, and establish a subscription relationship between a processing component and the queues, wherein the processing component includes a customized data processing strategy.

[0030] Parse the input data format of the processing component and obtain the transmission protocol corresponding to the input data format; establish a subscription relationship between the processing component and the queue of the communication component based on the corresponding relationship between the processing component and the transmission protocol.

[0031] In order to efficiently manage the data flows from different communication components, a dedicated queue system was independently built for each communication component. These queues serve as a bridge for data buffering, effectively balancing the difference between the data transmission rate and processing power. Next, we deeply analyzed the input data format requirements of the processing components and identified the transmission protocols that match each data format. Based on this correspondence, we established an intelligent subscription relationship between the processing component and the corresponding communication component queue. The processing component has built-in user-customizable data processing strategies that can automatically pull data from the subscribed queues and perform operations such as cleaning, conversion, and analysis to ensure that the data quality meets business needs.

[0032] S3. Acquire attribute information of IoT devices, and group the IoT devices based on the attribute information to obtain multiple device groups.

[0033] Obtain attribute information of the IoT device, wherein the attribute information includes device type, output data format and corresponding transmission protocol, and output data items; and classify IoT devices with the same attribute information into the same device group.

[0034] In order to optimize the management and scheduling of IoT devices, a device grouping strategy based on attribute information is proposed. First, the attribute information of the device is comprehensively collected through the IoT platform, including but not limited to the device type, the format of the output data, the corresponding transmission protocol, and the specific output data items. Subsequently, these attribute information are used as the basis for grouping, and IoT devices with the same or similar attributes are divided into the same device group. This grouping method not only simplifies the device management process, but also facilitates the subsequent targeted data collection and processing according to the characteristics of the device group.

[0035] S4. Establish a mapping relationship between the device group and the communication component.

[0036] Based on the format of the output data of the IoT devices in the device group and the corresponding transmission protocol, a matching communication component is assigned to the device group; the data interaction volume is evaluated based on the number and type of IoT devices in the device group corresponding to the communication component; and IO resources are allocated to each communication component according to the proportion of data interaction volume of each communication component.

[0037] When establishing the mapping relationship between the device group and the communication component, the matching degree between the output data characteristics of the device group and the communication component is fully considered. Specifically, the most suitable communication component is assigned to each device group according to the output data format and the corresponding transmission protocol of the IoT devices in the device group. In addition, in order to further optimize resource allocation, the number of IoT devices, device types, and expected data interaction volume of each communication component corresponding to the device group are also evaluated. Based on these evaluation results, corresponding IO resources are allocated to them according to the proportion of data interaction of each communication component to ensure the data interaction efficiency and stability of the entire virtual power plant system.

[0038] In some embodiments, the virtual power plant IoT data interaction system may include multiple functional modules composed of computer program segments. The computer programs of each program segment in the virtual power plant IoT data interaction system may be stored in a memory of a computer device and executed by at least one processor to perform (see Figure 1 Description) The function of IoT data interaction of virtual power plants.

[0039] In this embodiment, the IoT data interaction system of the virtual power plant can be divided into multiple functional modules according to the functions it performs, such as Figure 2 As shown. The functional modules of the system 200 may include: a communication deployment module 210, a subscription management module 220, a device grouping module 230 and a communication mapping module 240. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0040] A communication deployment module, used to deploy multiple communication components at the external interface of the virtual power plant, wherein the communication components correspond to a transmission protocol; A subscription management module, used to construct corresponding queues for multiple communication components respectively, and establish a subscription relationship between a processing component and the queue, wherein the processing component includes a custom data processing strategy; A device grouping module, used to obtain attribute information of IoT devices, and group the IoT devices based on the attribute information to obtain multiple device groups; The communication mapping module is used to establish a mapping relationship between device groups and communication components.

[0041] Optionally, as an embodiment of the present invention, the subscription management module includes: A component parsing unit, used to parse the input data format of the processing component and obtain a transmission protocol corresponding to the input data format; The subscription establishment unit is used to establish a subscription relationship between the processing component and the queue of the communication component based on the corresponding relationship between the processing component and the transmission protocol.

[0042] Optionally, as an embodiment of the present invention, the device grouping module includes: An attribute acquisition unit, used to acquire attribute information of an IoT device, wherein the attribute information includes a device type, a format of output data and a corresponding transmission protocol, and output data items; The device classification unit is used to classify IoT devices with the same attribute information into the same device group.

[0043] Optionally, as an embodiment of the present invention, the communication mapping module includes: A communication matching unit, configured to assign a matching communication component to the device group based on the format of output data of the IoT devices in the device group and the corresponding transmission protocol; An interaction evaluation unit, used to evaluate the data interaction amount based on the number and device types of IoT devices in the device group corresponding to the communication component; The resource allocation unit is used to allocate IO resources to each communication component according to the data interaction volume ratio of each communication component.

[0044] Figure 3 A structural schematic diagram of a terminal 300 provided in an embodiment of the present invention, wherein the terminal 300 can be used to execute the Internet of Things data interaction method for a virtual power plant provided in an embodiment of the present invention.

[0045] The terminal 300 may include: a processor 310, a memory 320 and a communication unit 330. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention, and it may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0046] The memory 320 can be used to store the execution instructions of the processor 310, and the memory 320 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 320 are executed by the processor 310, the terminal 300 can perform some or all of the steps in the following method embodiments.

[0047] The processor 310 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 320, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 310 can only include a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0048] The communication unit 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals or send user data to other terminals.

[0049] The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0050] Therefore, the present invention deploys communication components corresponding to multiple communication protocols at the external interface of the virtual power plant, and establishes a binding relationship between the communication components and the processing components, thereby realizing the autonomous transmission of data to be processed, improving the data interaction efficiency, simplifying the data interaction layer, and improving the stability and real-time performance of data interaction. The technical effects that can be achieved by this embodiment can be found in the description above and will not be repeated here.

[0051] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention.

[0052] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

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

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

[0055] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0056] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention.

Claims

1. A method for interacting with Internet of Things data of a virtual power plant, characterized in that: include: Deploy multiple communication components at the external interface of the virtual power plant, wherein the communication components correspond to the transmission protocol; Construct corresponding queues for multiple communication components respectively, and establish a subscription relationship between a processing component and the queue, wherein the processing component includes a customized data processing strategy; Acquire attribute information of IoT devices, and group the IoT devices based on the attribute information to obtain multiple device groups; Establish a mapping relationship between device groups and communication components.

2. The method according to claim 1, characterized in that Corresponding queues are constructed for multiple communication components respectively, and a subscription relationship between a processing component and the queue is established. The processing component includes a customized data processing strategy, including: Parsing the input data format of the processing component and obtaining a transmission protocol corresponding to the input data format; A subscription relationship between the queues of the processing component and the communication component is established based on the corresponding relationship between the processing component and the transmission protocol.

3. The method according to claim 1, characterized in that Acquire attribute information of IoT devices, and group the IoT devices based on the attribute information to obtain multiple device groups, including: Obtaining attribute information of an IoT device, the attribute information including device type, output data format and corresponding transmission protocol, and output data items; IoT devices with the same attribute information are grouped into the same device group.

4. The method according to claim 1, characterized in that: Establish a mapping relationship between device groups and communication components, including: Based on the format of output data of the IoT devices in the device group and the corresponding transmission protocol, a matching communication component is assigned to the device group; Evaluate the data interaction volume based on the number and type of IoT devices in the device group corresponding to the communication component; Allocate IO resources to each communication component according to the proportion of data interaction of each communication component.

5. An Internet of Things data interaction system for a virtual power plant, characterized in that: include: A communication deployment module, used to deploy multiple communication components at the external interface of the virtual power plant, wherein the communication components correspond to a transmission protocol; A subscription management module, used to construct corresponding queues for multiple communication components respectively, and establish a subscription relationship between a processing component and the queue, wherein the processing component includes a custom data processing strategy; A device grouping module, used to obtain attribute information of IoT devices, and group the IoT devices based on the attribute information to obtain multiple device groups; The communication mapping module is used to establish a mapping relationship between device groups and communication components.

6. The system according to claim 5, characterized in that The subscription management module includes: A component parsing unit, used to parse the input data format of the processing component and obtain a transmission protocol corresponding to the input data format; The subscription establishment unit is used to establish a subscription relationship between the processing component and the queue of the communication component based on the corresponding relationship between the processing component and the transmission protocol.

7. The system according to claim 5, characterized in that The device grouping module includes: An attribute acquisition unit, used to acquire attribute information of an IoT device, wherein the attribute information includes a device type, a format of output data and a corresponding transmission protocol, and output data items; The device classification unit is used to classify IoT devices with the same attribute information into the same device group.

8. The system according to claim 5, characterized in that The communication mapping module comprises: A communication matching unit, configured to assign a matching communication component to the device group based on the format of output data of the IoT devices in the device group and the corresponding transmission protocol; An interaction evaluation unit, used to evaluate the data interaction amount based on the number and device types of IoT devices in the device group corresponding to the communication component; The resource allocation unit is used to allocate IO resources to each communication component according to the data interaction volume ratio of each communication component.

9. A terminal, characterized in that: include: A memory for storing the IoT data interaction program of the virtual power plant; A processor is used to implement the steps of the method for interacting with the Internet of Things of a virtual power plant as described in any one of claims 1 to 4 when executing the Internet of Things data interaction program of the virtual power plant.

10. A computer-readable storage medium storing a computer program, characterized in that: The readable storage medium stores an Internet of Things data interaction program for a virtual power plant, and when the Internet of Things data interaction program for a virtual power plant is executed by a processor, the steps of the Internet of Things data interaction method for a virtual power plant as described in any one of claims 1-4 are implemented.