Photovoltaic inverter protocol conversion method, system, device and program product

By acquiring and analyzing the photovoltaic inverter data frames in the photovoltaic inverter protocol conversion method, matching the protocol field position and data cache queue, and performing data checksum packaging processing, the problem of compatibility of different photovoltaic inverter protocols is solved. It realizes efficient protocol conversion and unified reporting of photovoltaic inverter data, improving the system's operation and maintenance convenience and data conversion efficiency.

CN119449906AActive Publication Date: 2025-02-14BEIJING ZHIMENG XINTONG TECH CO LTD

Patent Information

Application Number
CN202411467220.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-02-14
Estimated Expiration
2044-10-21

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively compatible with the communication protocols of different distributed photovoltaic inverters, resulting in difficulty in collecting and uploading photovoltaic inverter data, increasing the system operation and maintenance cost and data operation and maintenance complexity.

Method used

By obtaining the photovoltaic inverter data frame, determining the interface number, matching the protocol field location and data cache queue, extracting the protocol field for data analysis and verification, and data interception and packaging processing based on the target conversion protocol, realizing the photovoltaic inverter data Efficient protocol conversion.

Benefits of technology

It realizes the adaptation of data interfaces of different types of photovoltaic inverters, performs targeted data transmission protocol analysis and protocol conversion processing, realizes data reporting of unified protocols, improves the convenience of data operation and maintenance of photovoltaic cluster systems, and improves photovoltaics Efficiency and reliability of inverter data protocol conversion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449906A_ABST
    Figure CN119449906A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of protocol conversion, and particularly discloses a photovoltaic inverter protocol conversion method, system, device and program product, and the method comprises the steps: collecting a photovoltaic inverter data frame through an adaptive data collection interface, determining a corresponding interface number, and then matching a protocol field position and a data buffer queue according to the interface number, and extracting a protocol field by using the protocol field position to carry out data frame analysis and verification to obtain frame body data, compiling the frame body data into a data cache queue, and finally carrying out data interception and encapsulation processing on the data cache queue based on a target conversion protocol to obtain a protocol conversion data frame and sending the protocol conversion data frame to a transformer area intelligent terminal. According to the invention, different types of photovoltaic inverter data interfaces can be effectively adapted, targeted transmission data protocol analysis and protocol conversion processing are carried out, data reporting of a unified protocol is realized, the convenience of operation and maintenance of a photovoltaic cluster system is improved, and the efficiency and reliability of photovoltaic inverter data protocol conversion can be effectively 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 protocol conversion, and in particular relates to a photovoltaic inverter protocol conversion method, system, device and program product. Background Art

[0002] In a distributed photovoltaic cluster system, due to the wide variety of distributed photovoltaic power stations, the unified collection of photovoltaic inverter data at each station becomes a major difficulty, especially when it comes to the problem of facing different distributed photovoltaic inverter protocols. There are many existing photovoltaic inverter manufacturers, and there are many types of photovoltaic grid-connected inverter communication protocols. However, when collecting data, the intelligent terminals in the substation area cannot effectively be compatible with the protocol standards of different products, and can only be achieved with the help of different types of protocol converters, which leads to increased system operation and maintenance costs and complicated data operation and maintenance work. Therefore, there is an urgent need for a method that can effectively be compatible with the communication protocols of each grid-connected inverter in a distributed photovoltaic cluster and realize the unified protocol conversion and upload of distributed photovoltaic cluster inverter data. Summary of the invention

[0003] The purpose of the present invention is to provide a photovoltaic inverter protocol conversion method, system, device and program product to solve the above-mentioned problems existing in the prior art.

[0004] In order to achieve the above object, the present invention adopts the following technical solutions:

[0005] In a first aspect, a photovoltaic inverter protocol conversion method is provided, comprising:

[0006] Acquire a photovoltaic inverter data frame received by a corresponding data acquisition interface of the data acquisition module, and determine an interface number of the data acquisition interface that receives the photovoltaic inverter data frame;

[0007] Determine the protocol field position of the photovoltaic inverter data frame and the target data cache queue corresponding to the corresponding data acquisition interface according to the interface number;

[0008] Extracting the protocol field from the photovoltaic inverter data frame according to the protocol field position, and determining the corresponding data parsing protocol according to the protocol field;

[0009] Decode the photovoltaic inverter data frame based on the data analysis protocol to obtain the corresponding frame header data, frame body data and frame tail data;

[0010] Using the frame tail data to perform data verification, using the frame header data to perform address verification, and when both the data verification and the address verification pass, extracting the frame body data;

[0011] The frame body data is compiled into the corresponding target data cache queue, and the target data cache queue is intercepted and encapsulated based on the set target conversion protocol to obtain a protocol conversion data frame;

[0012] The protocol converted data frame is transmitted to the intelligent terminal in the substation area through the data transmission interface of the data transmission module.

[0013] In one possible design, determining the interface number of the data acquisition interface for receiving the photovoltaic inverter data frame includes:

[0014] When acquiring the photovoltaic inverter data frame, synchronously acquiring the interface identification field of the corresponding data acquisition interface transmitted by the data acquisition module;

[0015] Perform base-to-base conversion on the interface identification field to obtain the corresponding interface number.

[0016] In a possible design, determining the protocol field position of the photovoltaic inverter data frame and the target data cache queue corresponding to the corresponding data acquisition interface according to the interface number includes:

[0017] Perform data conversion calculation on the interface number to obtain the corresponding decoding number;

[0018] The field position associated with the decoding number is used as the protocol field position, and the data cache queue associated with the decoding number is used as the target data cache queue.

[0019] In one possible design, determining the corresponding data parsing protocol according to the protocol field includes:

[0020] Perform base conversion on the protocol field to obtain a corresponding hexadecimal data string;

[0021] The hexadecimal data string is imported into a set data protocol table for matching to determine a corresponding data analysis protocol, wherein the data protocol table includes a plurality of hexadecimal data strings and a data analysis protocol associated with each hexadecimal data string.

[0022] In a possible design, the step of performing data verification using frame tail data includes:

[0023] Perform modulo 2 division on the frame tail data to obtain the corresponding remainder;

[0024] The operation remainder is compared with the set reference value. When the operation remainder is consistent with the reference value, the data verification is judged to have passed. When the operation remainder is inconsistent with the reference value, the data verification is judged to have failed.

[0025] In a possible design, the address verification using frame header data includes:

[0026] Determine the start flag field in the frame header data, and use the first address field after the start flag field as the destination address field;

[0027] Extract the destination address field, and perform base conversion on the destination address field to obtain a corresponding destination address character string;

[0028] The destination address string is compared with the pre-stored local address string. When the destination address string is consistent with the local address string, the address verification is determined to be passed. When the destination address string is inconsistent with the local address string, the address verification is determined to be failed.

[0029] In a possible design, the target data cache queue is intercepted and encapsulated based on the set target conversion protocol to obtain a protocol conversion data frame, including:

[0030] Determine the frame header format, frame trailer format and frame body byte number according to the set target conversion protocol;

[0031] According to the number of frame body bytes, a corresponding encapsulated frame body is intercepted from the target data buffer queue, and an encapsulated frame header and an encapsulated frame trailer are generated according to the frame header format and the frame trailer format;

[0032] The data frame is encapsulated by using the encapsulation frame header, the encapsulation frame body and the encapsulation frame tail to obtain the corresponding protocol conversion data frame.

[0033] In a second aspect, a photovoltaic inverter protocol conversion system is provided, including a data acquisition module, a number matching module, a protocol determination module, a data parsing module, an information verification module, a protocol conversion module and a data sending module, wherein:

[0034] A data acquisition module is used to establish data connection with the photovoltaic inverter through a corresponding data acquisition interface, receive the photovoltaic inverter data frame transmitted by the photovoltaic inverter through the corresponding data acquisition interface, and determine the interface number of the data acquisition interface for receiving the photovoltaic inverter data frame;

[0035] A number matching module is used to determine the protocol field position of the photovoltaic inverter data frame and the target data cache queue corresponding to the corresponding data acquisition interface according to the interface number;

[0036] A protocol determination module, used to extract a protocol field from a photovoltaic inverter data frame according to the protocol field position, and determine a corresponding data parsing protocol according to the protocol field;

[0037] A data analysis module is used to decode the photovoltaic inverter data frame based on the data analysis protocol to obtain the corresponding frame header data, frame body data and frame tail data;

[0038] An information verification module is used to perform data verification using frame tail data, perform address verification using frame header data, and extract frame body data when both the data verification and the address verification pass;

[0039] The protocol conversion module is used to compile the frame body data into the corresponding target data cache queue, and perform data interception and encapsulation processing on the target data cache queue based on the set target conversion protocol to obtain a protocol conversion data frame;

[0040] The data sending module is used to transmit the protocol converted data frame to the intelligent terminal in the substation area through the data sending interface.

[0041] In a third aspect, a photovoltaic inverter protocol conversion device is provided, including:

[0042] A memory for storing instructions;

[0043] A processor is used to read the instructions stored in the memory and execute any one of the methods described in the first aspect according to the instructions.

[0044] In a fourth aspect, a computer-readable storage medium is provided, wherein instructions are stored on the computer-readable storage medium, and when the instructions are executed on a computer, the computer executes any one of the methods described in the first aspect. In addition, a computer program product is provided, and when the computer program product is executed on a computer, the computer executes any one of the methods described in the first aspect.

[0045] Beneficial effects: The present invention collects photovoltaic inverter data frames by adapting the data acquisition interface, and determines the corresponding interface number, then matches the protocol field position and the data cache queue according to the interface number, and then uses the protocol field position to extract the protocol field to perform data frame parsing and verification, obtains frame body data, and compiles the frame body data into the data cache queue, and finally performs data interception and encapsulation processing on the data cache queue based on the target conversion protocol, obtains the protocol conversion data frame and sends it to the intelligent terminal in the substation area, so as to realize efficient protocol conversion of photovoltaic inverter data. The present invention can effectively adapt to different types of photovoltaic inverter data interfaces, perform targeted transmission data protocol parsing and protocol conversion processing, realize unified protocol data reporting, improve the convenience of photovoltaic cluster system data operation and maintenance, and can effectively improve the efficiency and reliability of photovoltaic inverter data protocol conversion. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] 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, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 This is a schematic diagram of the steps of the method in Example 1 of the present invention;

[0048] Figure 2 This is a schematic diagram of the structure of the system in Example 2 of the present invention;

[0049] Figure 3 This is a schematic diagram of the structure of the device in Example 3 of the present invention. DETAILED DESCRIPTION

[0050] It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention. The specific structures and functional details disclosed herein are only used to describe the exemplary embodiments of the present invention. However, the present invention can be embodied in many alternative forms, and it should not be understood that the present invention is limited to the embodiments set forth herein.

[0051] It should be understood that, unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments can be understood according to specific circumstances.

[0052] In the following description, certain details are provided to facilitate a complete understanding of the example embodiments. However, it will be appreciated by those of ordinary skill in the art that the example embodiments may be implemented without these certain details. For example, devices may be shown in block diagrams to avoid obscuring the examples with unnecessary details. In other embodiments, well-known processes, structures, and techniques may not be shown in unnecessary detail to avoid obscuring the embodiments.

[0053] Embodiment 1:

[0054] This embodiment provides a photovoltaic inverter protocol conversion method, which can be applied to corresponding photovoltaic inverter protocol converters, such as Figure 1 As shown, the method comprises the following steps:

[0055] S1. Acquire a photovoltaic inverter data frame received by a corresponding data acquisition interface of a data acquisition module, and determine the interface number of the data acquisition interface that receives the photovoltaic inverter data frame.

[0056] In specific implementation, the protocol converter is connected to the photovoltaic inverter for data acquisition through the data acquisition module. The data acquisition module is provided with different types of data acquisition interfaces, including but not limited to RS485, I2C, SPI, UART, USB, CAN, JTAG, PCI / PCIE, etc., which can be selected and connected according to the interface type of the actual photovoltaic inverter. Each data acquisition interface of the data acquisition module is provided with a corresponding interface number. When the data acquisition module receives the photovoltaic inverter data frame of the photovoltaic inverter through the corresponding data acquisition interface, the interface identification field of the corresponding data acquisition interface is synchronously output. When the protocol converter obtains the photovoltaic inverter data frame, the interface identification field of the corresponding data acquisition interface transmitted by the data acquisition module is synchronously obtained, and then the interface identification field is converted into binary format to obtain the corresponding interface number.

[0057] S2. Determine the protocol field position of the photovoltaic inverter data frame and the target data cache queue corresponding to the corresponding data acquisition interface according to the interface number.

[0058] In specific implementation, the protocol converter can perform data conversion calculations on the interface number, such as hash value calculations, to obtain the corresponding decoding number, and then use the field position associated with the decoding number as the protocol field position, and the data cache queue associated with the decoding number as the target data cache queue.

[0059] S3. Extract the protocol field from the photovoltaic inverter data frame according to the protocol field position, and determine the corresponding data parsing protocol according to the protocol field.

[0060] In specific implementation, the protocol converter can directly extract the corresponding protocol field, such as the Type field, from the photovoltaic inverter data frame according to the position of the protocol field; then perform base conversion on the protocol field to obtain the corresponding hexadecimal data string; then import the hexadecimal data string into the set data protocol table for matching to determine the corresponding data parsing protocol, wherein the data protocol table contains several hexadecimal data strings and the data parsing protocols associated with each hexadecimal data string.

[0061] S4. Decode the photovoltaic inverter data frame based on the data analysis protocol to obtain corresponding frame header data, frame body data and frame tail data.

[0062] In specific implementation, after determining the data parsing protocol, the protocol converter can decode the photovoltaic inverter data frame based on the data parsing protocol to obtain the corresponding frame header data, frame body data and frame tail data, wherein the frame header data includes a binary start flag field and a destination address field, etc., the frame body data includes binary data to be transmitted, and the frame tail data includes binary check code data.

[0063] S5. Perform data verification using the frame tail data, perform address verification using the frame header data, and extract frame body data when both the data verification and the address verification pass.

[0064] In specific implementation, the protocol converter performs a modulo-2 division operation on the frame tail data to obtain a corresponding operation remainder; then the operation remainder is compared with a set reference value. When the operation remainder is consistent with the reference value, the data verification is determined to have passed; when the operation remainder is inconsistent with the reference value, the data verification is determined to have failed.

[0065] At the same time, the protocol converter also determines the start flag field in the frame header data according to the data parsing protocol, and uses the first address field after the start flag field as the destination address field; then extracts the destination address field, and performs base conversion on the destination address field to obtain the corresponding destination address string; then compares the destination address string with the pre-stored local address string, and when the destination address string is consistent with the local address string, it is determined that the address check has passed, and when the destination address string is inconsistent with the local address string, it is determined that the address check has failed.

[0066] When both the data check and the address check are passed, the protocol converter extracts the frame data for subsequent processing. When either the data check or the address check fails, the photovoltaic inverter data frame is fed back to the photovoltaic inverter.

[0067] S6. The frame body data is compiled into the corresponding target data cache queue, and data is intercepted and encapsulated on the target data cache queue based on the set target conversion protocol to obtain a protocol conversion data frame.

[0068] During specific implementation, the protocol converter sequentially encodes the corresponding frame body data into the corresponding target data cache queue; at the same time, the frame header format, frame trailer format and frame body byte number are determined according to the set target conversion protocol; then the corresponding encapsulated frame body is intercepted from the target data cache queue according to the frame body byte number, and the encapsulated frame header and encapsulated frame trailer are generated according to the frame header format and frame trailer format; the encapsulated frame header, encapsulated frame body and encapsulated frame trailer are then used to encapsulate the data frame to obtain the corresponding protocol conversion data frame, thereby realizing the protocol conversion processing of the data to be transmitted.

[0069] S7. Transmit the protocol converted data frame to the intelligent terminal in the substation area through the data transmission interface of the data transmission module.

[0070] During specific implementation, the protocol converter transmits the protocol conversion data frame to the substation smart terminal through the data sending interface of the data sending module, so that the substation smart terminal can receive the photovoltaic inverter data of the unified protocol type for rapid analysis and processing, thereby improving the convenience of data operation and maintenance of the photovoltaic cluster system.

[0071] The method of this embodiment can effectively adapt to different types of photovoltaic inverter data interfaces, perform targeted transmission data protocol analysis and protocol conversion processing, realize data reporting of a unified protocol, improve the convenience of data operation and maintenance of the photovoltaic cluster system, and effectively improve the efficiency and reliability of photovoltaic inverter data protocol conversion.

[0072] Embodiment 2:

[0073] This embodiment provides a photovoltaic inverter protocol conversion system, such as Figure 2 As shown, it includes a data acquisition module, a number matching module, a protocol determination module, a data analysis module, an information verification module, a protocol conversion module and a data sending module, wherein:

[0074] A data acquisition module is used to establish data connection with the photovoltaic inverter through a corresponding data acquisition interface, receive the photovoltaic inverter data frame transmitted by the photovoltaic inverter through the corresponding data acquisition interface, and determine the interface number of the data acquisition interface for receiving the photovoltaic inverter data frame;

[0075] A number matching module is used to determine the protocol field position of the photovoltaic inverter data frame and the target data cache queue corresponding to the corresponding data acquisition interface according to the interface number;

[0076] A protocol determination module, used to extract a protocol field from a photovoltaic inverter data frame according to the protocol field position, and determine a corresponding data parsing protocol according to the protocol field;

[0077] A data analysis module is used to decode the photovoltaic inverter data frame based on the data analysis protocol to obtain the corresponding frame header data, frame body data and frame tail data;

[0078] An information verification module is used to perform data verification using frame tail data, perform address verification using frame header data, and extract frame body data when both the data verification and the address verification pass;

[0079] The protocol conversion module is used to compile the frame body data into the corresponding target data cache queue, and perform data interception and encapsulation processing on the target data cache queue based on the set target conversion protocol to obtain a protocol conversion data frame;

[0080] The data sending module is used to transmit the protocol converted data frame to the intelligent terminal in the substation area through the data sending interface.

[0081] Embodiment 3:

[0082] This embodiment provides a photovoltaic inverter protocol conversion device, such as Figure 3 As shown, at the hardware level, it includes:

[0083] Data interface, used to establish data connection between the processor and the photovoltaic inverter and the intelligent terminal in the substation area;

[0084] A memory for storing instructions;

[0085] The processor is used to read the instructions stored in the memory and execute the photovoltaic inverter protocol conversion method in Example 1 according to the instructions.

[0086] Optionally, the device further includes an internal bus, through which the processor, the memory and the data interface can be interconnected, and the internal bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0087] The memory may include, but is not limited to, random access memory (RAM), read only memory (ROM), flash memory, first input first output (FIFO) and / or first in last out (FILO) memory, etc. The processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0088] Embodiment 4:

[0089] This embodiment provides a computer-readable storage medium, on which instructions are stored, and when the instructions are executed on a computer, the computer executes the photovoltaic inverter protocol conversion method in Embodiment 1. The computer-readable storage medium refers to a carrier for storing data, which may include but is not limited to a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash drive and / or a memory stick, etc., and the computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices.

[0090] This embodiment also provides a computer program product, which, when executed on a computer, executes the photovoltaic inverter protocol conversion method in Embodiment 1. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.

[0091] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A photovoltaic inverter protocol conversion method, characterized in that: include: Acquire a photovoltaic inverter data frame received by a corresponding data acquisition interface of the data acquisition module, and determine an interface number of the data acquisition interface that receives the photovoltaic inverter data frame; Determine the protocol field position of the photovoltaic inverter data frame and the target data cache queue corresponding to the corresponding data acquisition interface according to the interface number; Extracting the protocol field from the photovoltaic inverter data frame according to the protocol field position, and determining the corresponding data parsing protocol according to the protocol field; Decode the photovoltaic inverter data frame based on the data analysis protocol to obtain the corresponding frame header data, frame body data and frame tail data; Using the frame tail data to perform data verification, using the frame header data to perform address verification, and when both the data verification and the address verification pass, extracting the frame body data; The frame body data is compiled into the corresponding target data cache queue, and the target data cache queue is intercepted and encapsulated based on the set target conversion protocol to obtain a protocol conversion data frame; The protocol converted data frame is transmitted to the intelligent terminal in the substation area through the data transmission interface of the data transmission module.

2. A photovoltaic inverter protocol conversion method according to claim 1, characterized in that: The step of determining the interface number of the data acquisition interface for receiving the photovoltaic inverter data frame comprises: When acquiring the photovoltaic inverter data frame, synchronously acquiring the interface identification field of the corresponding data acquisition interface transmitted by the data acquisition module; Perform base-to-base conversion on the interface identification field to obtain the corresponding interface number.

3. A photovoltaic inverter protocol conversion method according to claim 1, characterized in that: The step of determining the protocol field position of the photovoltaic inverter data frame and the target data cache queue corresponding to the corresponding data acquisition interface according to the interface number includes: Perform data conversion calculation on the interface number to obtain the corresponding decoding number; The field position associated with the decoding number is used as the protocol field position, and the data cache queue associated with the decoding number is used as the target data cache queue.

4. A photovoltaic inverter protocol conversion method according to claim 1, characterized in that: Determining the corresponding data parsing protocol according to the protocol field includes: Perform base conversion on the protocol field to obtain a corresponding hexadecimal data string; The hexadecimal data string is imported into a set data protocol table for matching to determine a corresponding data analysis protocol, wherein the data protocol table includes a plurality of hexadecimal data strings and a data analysis protocol associated with each hexadecimal data string.

5. A photovoltaic inverter protocol conversion method according to claim 1, characterized in that: The method of performing data verification by using frame tail data includes: Perform modulo 2 division on the frame tail data to obtain the corresponding remainder; The operation remainder is compared with the set reference value. When the operation remainder is consistent with the reference value, the data verification is judged to have passed. When the operation remainder is inconsistent with the reference value, the data verification is judged to have failed.

6. A photovoltaic inverter protocol conversion method according to claim 1, characterized in that: The address verification using frame header data includes: Determine the start flag field in the frame header data, and use the first address field after the start flag field as the destination address field; Extract the destination address field, and perform base conversion on the destination address field to obtain a corresponding destination address character string; The destination address string is compared with the pre-stored local address string. When the destination address string is consistent with the local address string, the address verification is determined to be passed. When the destination address string is inconsistent with the local address string, the address verification is determined to be failed.

7. A photovoltaic inverter protocol conversion method according to claim 1, characterized in that: The target data cache queue is intercepted and encapsulated based on the set target conversion protocol to obtain a protocol conversion data frame, including: Determine the frame header format, frame trailer format and frame body byte number according to the set target conversion protocol; According to the number of frame body bytes, a corresponding encapsulated frame body is intercepted from the target data buffer queue, and an encapsulated frame header and an encapsulated frame trailer are generated according to the frame header format and the frame trailer format; The data frame is encapsulated by using the encapsulation frame header, the encapsulation frame body and the encapsulation frame tail to obtain the corresponding protocol conversion data frame.

8. A photovoltaic inverter protocol conversion system, characterized in that: It includes a data acquisition module, a number matching module, a protocol determination module, a data analysis module, an information verification module, a protocol conversion module and a data sending module, wherein: A data acquisition module is used to establish data connection with the photovoltaic inverter through a corresponding data acquisition interface, receive the photovoltaic inverter data frame transmitted by the photovoltaic inverter through the corresponding data acquisition interface, and determine the interface number of the data acquisition interface for receiving the photovoltaic inverter data frame; A number matching module is used to determine the protocol field position of the photovoltaic inverter data frame and the target data cache queue corresponding to the corresponding data acquisition interface according to the interface number; A protocol determination module, used to extract a protocol field from a photovoltaic inverter data frame according to the protocol field position, and determine a corresponding data parsing protocol according to the protocol field; A data analysis module is used to decode the photovoltaic inverter data frame based on the data analysis protocol to obtain the corresponding frame header data, frame body data and frame tail data; An information verification module is used to perform data verification using frame tail data, perform address verification using frame header data, and extract frame body data when both the data verification and the address verification pass; The protocol conversion module is used to compile the frame body data into the corresponding target data cache queue, and perform data interception and encapsulation processing on the target data cache queue based on the set target conversion protocol to obtain a protocol conversion data frame; The data sending module is used to transmit the protocol converted data frame to the intelligent terminal in the substation area through the data sending interface.

9. A photovoltaic inverter protocol conversion device, characterized in that: include: A memory for storing instructions; A processor is used to read the instructions stored in the memory and execute the photovoltaic inverter protocol conversion method according to any one of claims 1 to 7.

10. A computer program product, characterized in that When the computer program product is run on a computer, the photovoltaic inverter protocol conversion method according to any one of claims 1 to 7 is executed.

Citation Information

Patent Citations

  • Multifunctional interface conversion device

    CN101789557A

  • Method and system for realizing network data processing

    CN102123158A

  • Message processing method, device and system

    CN105449845A

  • Method and system for controlling industrial equipment, and terminal

    CN106302517A

  • Data collection and classified storage method and system

    CN113691548A

Cited By

  • Water meter protocol matching method and system based on artificial intelligence

    CN120825523A