CN112422519B - Electric power internet of things IP fusion terminal and communication method thereof - Google Patents

Electric power internet of things IP fusion terminal and communication method thereof Download PDF

Info

Publication number
CN112422519B
CN112422519B CN202011165139.3A CN202011165139A CN112422519B CN 112422519 B CN112422519 B CN 112422519B CN 202011165139 A CN202011165139 A CN 202011165139A CN 112422519 B CN112422519 B CN 112422519B
Authority
CN
China
Prior art keywords
equipment
communication
data
protocol
library
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011165139.3A
Other languages
Chinese (zh)
Other versions
CN112422519A (en
Inventor
杜博
杨扬
方辉
吴琼
殷聪
张闯
张南
刘鑫宇
吴国瑞
孙宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Electric Instrument Research Institute Co ltd
Heilongjiang Electrical Instrument Engineering Technology Research Center Co ltd
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
Original Assignee
Harbin Electric Instrument Research Institute Co ltd
Heilongjiang Electrical Instrument Engineering Technology Research Center Co ltd
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Electric Instrument Research Institute Co ltd, Heilongjiang Electrical Instrument Engineering Technology Research Center Co ltd, Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd filed Critical Harbin Electric Instrument Research Institute Co ltd
Priority to CN202011165139.3A priority Critical patent/CN112422519B/en
Publication of CN112422519A publication Critical patent/CN112422519A/en
Application granted granted Critical
Publication of CN112422519B publication Critical patent/CN112422519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An electric power internet of things IP fusion terminal and a communication method thereof, comprising: acquiring equipment information in a power system, wherein the equipment comprises power equipment and sensing equipment, and the equipment information comprises equipment ID and equipment communication type; establishing a device IP library and a device communication protocol sharing library according to the acquired device information, and sending the device IP library to a cloud platform, wherein the device IP library comprises a one-to-one correspondence of device IDs and IP addresses, and the device communication protocol sharing library comprises a one-to-one correspondence of device information and protocol analysis programs; collecting original data sent by equipment; determining a protocol analysis program according to the equipment ID in the original data, and analyzing the original data according to the determined protocol analysis program to obtain communication data; and generating the data frame meeting the IPv6 protocol by the extracted equipment ID and the determined communication data, and sending the data frame to the cloud platform so that the cloud platform can acquire the communication data based on the equipment IP library and the equipment ID. The method achieves interconnection and intercommunication, comprehensive sensing and ubiquitous access of the power equipment.

Description

Electric power internet of things IP fusion terminal and communication method thereof
Technical Field
The invention relates to the technical field of power, in particular to an IP fusion terminal of an electric power Internet of things and a communication method thereof.
Background
The electric power internet of things realizes comprehensive perception, data fusion and intelligent application of a power grid through comprehensive interconnection and intercommunication among electric power devices, is a new generation information communication system for connecting all-service such as energy production, transmission, consumption link devices, clients and data in real time, comprehensively carrying all-service such as power grid operation, enterprise operation and client service, has the characteristics of ubiquitous access of terminals, platform sharing openness, cloud and mist cooperation calculation, data driving service, on-demand customization of application and the like, and is deeply fused with the intelligent power grid to jointly form the energy internet.
The intelligent terminal for realizing monitoring control in the electric power Internet of things has the meaning and characteristics which are also changed. Most of traditional power grid intelligent terminals are designed independently for realizing a specific function, and the function is preset in advance and is relatively fixed, such as monitoring and collecting the power consumption of a client, monitoring the state of a power distribution switch, monitoring the environmental state information of a power distribution facility and the like. Based on the service functions of each terminal, terminal classifications such as a power distribution monitoring Device (DTU), a feeder monitoring device (FTU), a smart meter and the like are named. The data acquisition and sharing requirements of the electric power internet of things terminal are remarkably improved, and the intelligent terminal is a service terminal, and is more required to be a data terminal and a communication gateway, so that the terminal has strong data processing capability and information interaction capability. In addition, the current low-voltage transformer area power equipment has huge number, various types and various communication interface types, mainly uses a field bus, and almost cannot access the power Internet of things through the existing communication interface.
Representative related researches around aspects of intelligent terminals, IPv6 protocols, electric power internet of things, data fusion and the like include:
the research and development of the intelligent distribution transformer terminal and engineering application are provided, and the standard configuration of a bench type distribution transformer area in the traditional distribution network comprises a plurality of equipment functions such as a transformer, a distribution box, a metering box, a reactive compensation device and the like which are integrated into one intelligent terminal;
in the wireless monitoring system of the power transformer based on 6LoWPAN, the wireless monitoring system of the power transformer based on 6LoWPAN is designed by combining the 6LoWPAN technology with the wireless monitoring technology of the power transformer;
in the design practice of IPv6 Internet of things access gateway, an IPv6 technology is applied to an intelligent agriculture greenhouse Internet of things system, and an IPv6 Internet of things access gateway based on an embedded Linux system is designed;
in the rural electrification exploration and research under the ubiquitous electric power Internet of things, exploration and research on an intelligent rural power network transformation scheme under the ubiquitous electric power Internet of things are performed by taking an intelligent distribution terminal as a core.
In the patent with publication number CN110784537A, an RFID technology-based communication network of the electric power Internet of things sensing layer equipment is established, and data transmitted by various electric power Internet of things sensing layer equipment are acquired through protocol self-adaption in a pre-established Internet of things sensing and information processing platform.
An ultra-narrow band communication system based on a 230MHz power wireless private network and a communication method thereof are proposed in the patent with publication number CN110661846A, and the ultra-narrow band communication system has the advantages of long communication distance, large connection quantity, low power consumption of terminal equipment, small data adaptation, low frequency adaptation and large connection.
The two patents focus on the remote transmission communication system of the service data of the sensing layer of the electric power Internet of things, adopt the RFID technology and the overload wireless power private network respectively, have relatively single communication mode and communication network, and are difficult to meet the service requirements of the construction of the electric power Internet of things.
At present, 2.4 ten thousand system nodes (110 kV and above) of a power grid in China, 1200 ten thousand sets of high-voltage metering equipment, 0.8 hundred million distribution network terminals/indicators and 4.7 hundred million electric energy meters are modified and updated, the daily increment of data acquisition is over 60TB, billions of meter acquisition equipment is added on the basis, and up to one hundred million levels of flow data and thousands of peak TPS calculation loads are generated in the processes of data acquisition, interaction and feedback.
Therefore, the current phase of reconstruction construction from the traditional power grid to the electric power Internet of things faces the following problems: in the aspect of power equipment access, the existing power equipment access mode is mostly accessed to an acquisition terminal in a bus or power line mode, and then the acquisition terminal uploads data to a host station through a public network, so that ubiquitous access, comprehensive sensing and interconnection of the power equipment are difficult to achieve.
Disclosure of Invention
Object of the invention
The invention aims to provide an IP fusion terminal of an electric power Internet of things and a communication method thereof, which are used for establishing an all IP electric power Internet of things communication system architecture by establishing an equipment IP library and an equipment communication protocol shared library, analyzing and converting data protocols of different communication types into an IPv6 (Internet protocol 6 th edition) unified communication protocol for communication. The unique IP address of each power device is endowed, and the interconnection, the overall perception and the ubiquitous access of the power devices are achieved.
(II) technical scheme
To solve the above problems, a first aspect of the present invention provides a communication method based on an IP convergence terminal of an electric power internet of things, including:
acquiring equipment information of each equipment in a power system, wherein the equipment comprises power equipment and sensing equipment, and the equipment information comprises equipment ID and equipment communication type;
establishing an equipment IP library and an equipment communication protocol sharing library according to the acquired equipment information, and sending the equipment IP library to a cloud platform, wherein the equipment IP library comprises a one-to-one correspondence of equipment IDs and IP addresses, and the equipment communication protocol sharing library comprises a one-to-one correspondence of equipment information and protocol analysis programs;
collecting original data sent by equipment;
determining a protocol analysis program according to the equipment ID in the original data, and analyzing the original data according to the determined protocol analysis program to obtain communication data;
and generating a data frame meeting the IPv6 protocol by the equipment ID and the determined communication data, and sending the data frame to the cloud platform so that the cloud platform can acquire the communication data based on the equipment IP library and the equipment ID.
Further, the communication method also comprises the following steps
Acquiring command information meeting an IPv6 protocol issued by a cloud platform, wherein the command information comprises equipment IP;
and determining the equipment ID and the corresponding equipment communication type according to the equipment IP, converting the command information into a data frame meeting the equipment communication type, and sending the data frame to the corresponding equipment so that the corresponding equipment can send the original data according to the command information.
Specifically, the raw data sent by the acquisition device specifically includes:
meanwhile, a plurality of communication modules are used for respectively collecting original data sent by a plurality of communication types of equipment, and the communication modules are in one-to-one correspondence with the communication types;
when the equipment of the same communication type which is collected simultaneously comprises n, the corresponding communication module simultaneously calls n idle threads from the thread pool to be in one-to-one correspondence with the equipment for original data collection, wherein n is an integer which is more than or equal to 2.
Further, the communication method further comprises the following steps:
and removing the thread which is always in the idle state when the thread which is always in the idle state in the preset time exists in the thread pool.
Further, the communication method further comprises the following steps: when the idle threads in the thread pool are insufficient, a preset number of idle threads are added.
Specifically, the communication module comprises an HPLC communication module, a Bluetooth communication module, an RF radio frequency communication module, a 4G/5G communication module, an Ethan network module or an MBUS bus module.
Further, the communication method further comprises the following steps:
acquiring command information meeting an IPv6 protocol sent by a service application APP, wherein the command information comprises equipment IP;
determining an equipment ID and a corresponding equipment communication type according to the equipment IP, converting command information into a data frame meeting the equipment communication type, and sending the data frame to the corresponding equipment;
the acquisition equipment acquires original data sent by the command information;
determining a protocol analysis program according to the equipment ID in the original data, and analyzing the original data according to the determined protocol analysis program to obtain communication data;
and generating a data frame meeting the IPv6 protocol by the extracted equipment ID and the determined communication data, and sending the data frame to the service application APP so that the service application APP can acquire the communication data based on the equipment IP library and the equipment ID.
Specifically, the service application APP comprises at least one of a private transformer acquisition APP, a centralized meter reading APP, a charging pile ordered charging scheduling APP, an energy efficiency detection APP, a four-meter centralized meter reading APP, a photovoltaic detection APP and a non-invasive detection APP.
A second aspect of the present application provides an IP-based converged terminal for electric power internet of things, configured to perform any one of the communication methods described above.
The third aspect of the application provides an electric power internet of things system, which comprises a cloud platform, the electric power internet of things IP fusion terminal and equipment, wherein the equipment comprises electric power equipment and sensing equipment.
(III) beneficial effects
The technical scheme of the invention has the following beneficial technical effects:
(1) And analyzing and converting the data protocols of different communication types into an IPv6 unified communication protocol for communication by establishing an equipment IP library and an equipment communication protocol shared library, thereby establishing an all-IP electric power Internet of things communication system architecture. The unique IP address of each power device is endowed, so that the interconnection, the overall perception and the ubiquitous access of the power devices are achieved;
(2) The concurrent access of the terminal equipment is realized, and excessive memory space is not occupied when the terminal equipment is idle.
Drawings
Fig. 1 is a flowchart of a communication method based on an IP fusion terminal of an electric power internet of things, which is provided by an embodiment of the invention;
fig. 2 is a diagram of an IP-based fusion terminal architecture of an electric power internet of things according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an architecture of an electrical Internet of things system according to an embodiment of the present invention;
fig. 4 is a protocol conversion flowchart according to an embodiment of the present invention.
Detailed Description
The objects, technical solutions and advantages of the present invention will become more apparent by the following detailed description of the present invention with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the invention. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present invention.
Referring to fig. 1, the invention provides a communication method based on an electric power internet of things (IOT) IP fusion terminal, which comprises the following steps:
step 101: acquiring equipment information of each equipment in a power system, wherein the equipment comprises power equipment and sensing equipment, and the equipment information comprises equipment ID and equipment communication type;
step 102: establishing an equipment IP library and an equipment communication protocol sharing library according to the acquired equipment information, and sending the equipment IP library to a cloud platform, wherein the equipment IP library comprises a one-to-one correspondence of equipment IDs and IP addresses, and the equipment communication protocol sharing library comprises a one-to-one correspondence of equipment information and protocol analysis programs;
step 103: collecting original data sent by equipment;
step 104: determining a protocol analysis program according to the equipment ID in the original data, and analyzing the original data according to the determined protocol analysis program to obtain communication data;
step 105: and generating a data frame meeting the IPv6 protocol by the equipment ID and the determined communication data, and sending the data frame to the cloud platform so that the cloud platform can acquire the communication data based on the equipment IP library and the equipment ID.
Specifically, in the present invention, an electric power apparatus includes: intelligent electric energy meter, charging pile, intelligent water meter, intelligent gas meter, intelligent circuit breaker, intelligent leakage protector, intelligent capacitor, intelligent reversing switch, intelligent ring main unit, etc. The sensing device includes a temperature sensor, a humidity sensor, a barometric pressure sensor, a pressure sensor, etc. The cloud platform comprises an intelligent electricity consumption information acquisition platform, a power distribution automation system platform, an electric automobile internet of vehicles, an internet of things management platform, a photovoltaic Yun Wang platform and the like.
According to the invention, through establishing the equipment IP library and the equipment communication protocol shared library, the data protocols of different communication types are analyzed and converted into the IPv6 unified communication protocol for communication, so that the full IP type electric power Internet of things communication system architecture is established. The unique IP address of each power device is endowed, and the interconnection, the overall perception and the ubiquitous access of the power devices are achieved.
Further, the communication method further comprises the following steps of
Acquiring command information meeting an IPv6 protocol issued by a cloud platform, wherein the command information comprises equipment IP;
and determining the equipment ID and the corresponding equipment communication type according to the equipment IP, converting the command information into a data frame meeting the equipment communication type, and sending the data frame to the corresponding equipment so that the corresponding equipment can send the original data according to the command information.
In a specific embodiment, the device has IPV6 communication capability, and the converting command information into a data frame meeting the device communication type and sending the data frame to the corresponding device includes:
and compressing the command information according to the 6LoPWAN communication protocol to obtain a data frame, and transmitting the obtained data frame to the corresponding equipment.
Among them, the 6LoWPAN communication protocol is a low-speed wireless personal area network standard based on IPv6, i.e., IPv6 over IEEE 802.15.4.
The communication system adopts a 6LoWPAN communication protocol to solve the plug and play ubiquitous access requirement of the power equipment based on the Internet of things technology, and utilizes the 6LoWPAN protocol to endow each power equipment with a unique IP address. The 6LoWPAN protocol is a lightweight IPv6 protocol that can compress 40 bytes of IPv6 header down to 4 bytes; the control type information of the IP layer can be sent as required, and can be completely closed without increasing additional expenditure; therefore, the IPv6 technology is supported without causing significant overhead, so that the IPv6 can be operated on a low-speed equipment perception layer network in a seamless way.
Specifically, the raw data sent by the acquisition device specifically includes:
meanwhile, a plurality of communication modules are used for respectively collecting original data sent by a plurality of communication types of equipment, and the communication modules are in one-to-one correspondence with the communication types;
when the equipment of the same communication type which is collected simultaneously comprises n, the corresponding communication module simultaneously calls n idle threads from the thread pool to be in one-to-one correspondence with the equipment for original data collection, wherein n is an integer which is more than or equal to 2.
Further, the communication method further comprises the following steps:
and removing the thread which is always in the idle state when the thread which is always in the idle state in the preset time exists in the thread pool.
Further, the communication method further comprises the following steps: when the idle threads in the thread pool are insufficient, a preset number of idle threads are added.
Specifically, threads are created in advance according to the ThreadPool method, a certain number of threads are created in advance by the thread pool before no tasks need to be processed, and then the threads are placed in an idle queue to wait for subsequent calls. These idle threads are all in sleep state and do not consume CPU, but occupy very little memory space. When a task-invoking request is received, the buffer pool allocates an idle thread from the idle queue for each request, and the request is transmitted to the thread to run, so that the request is processed. If the idle threads created in advance are all in a running state, i.e. the prefabricated threads are insufficient, the thread pool can also freely create a certain number of new threads for processing more requests. When the system is idle, it is also possible to remove a portion of threads that are always inactive. The execution flow of the ThreadPool comprises the following steps:
step one: creating a plurality of threads and putting the threads into a thread pool;
step two: when the task is reached, an idle thread is fetched from the thread pool;
step three: the idle thread is obtained, and task processing is immediately carried out;
step four: otherwise, creating a thread, and placing the thread into a thread pool to execute the step three;
step five: if the creation fails or the thread pool is full, selecting to return an error or put a task into a processing queue according to a design strategy, and waiting for processing;
step six: destroying the thread pool.
Specifically, the communication module comprises an HPLC communication module, a Bluetooth communication module, an RF radio frequency communication module, a 4G/5G communication module, an Ethan network module or an MBUS bus module.
Further, the communication method further comprises the following steps:
acquiring command information meeting an IPv6 protocol sent by a service application APP, wherein the command information comprises equipment IP;
determining an equipment ID and a corresponding equipment communication type according to the equipment IP, converting command information into a data frame meeting the equipment communication type, and sending the data frame to the corresponding equipment;
the acquisition equipment acquires original data sent by the command information;
determining a protocol analysis program according to the equipment ID contained in the original data, and analyzing the original data according to the determined protocol analysis program to obtain communication data;
and generating a data frame meeting the IPv6 protocol by the equipment ID and the determined communication data, and sending the data frame to the service application APP so that the service application APP can acquire the communication data based on the equipment IP library and the equipment ID.
Specifically, the service application APP comprises at least one of a private transformer acquisition APP, a centralized meter reading APP, a charging pile ordered charging scheduling APP, an energy efficiency detection APP, a four-meter centralized meter reading APP, a photovoltaic detection APP and a non-invasive detection APP.
The invention provides an IP fusion terminal of an electric power Internet of things, which is used for executing any one of the communication methods.
The terminal embodiment of the present invention corresponds to the method embodiment, and specific description and effects refer to the method embodiment, and are not repeated herein.
The invention also provides an electric power Internet of things system, which comprises the cloud platform, the electric power Internet of things IP fusion terminal and the equipment, wherein the equipment comprises electric power equipment and sensing equipment.
The following is one embodiment of the present invention:
the embodiment provides an IP fusion terminal of an electric power Internet of things, which adopts a design scheme of hardware platformization and software APP (application) formation to decouple software and hardware of the terminal so as to improve adaptability and service life of the terminal and reduce field maintenance cost. The logic architecture of the IP fusion terminal system of the electric power Internet of things is divided into a bottom layer-modularized hardware platform, a middle layer-embedded Linux operating system and a top layer-service application APP three-layer structure, and the structure is specifically shown in the following figure 2.
1. Bottom-modular hardware platform
The IP fusion terminal of the electric power Internet of things is used as a bridge between the electric power equipment and the cloud platform master station, has the capability of converging and processing a large amount of data, and supports access of various heterogeneous communication networks, including a long-distance wireless network, a short-distance wireless sensor network and a short-distance wired bus network. Different power equipment and sensing equipment can be accessed, and data processing and communication are realized. The hardware platform mainly comprises a main control CPU module, a storage module comprising ROM and RAM, a touch display LCD module and a power module AD/DC, and a data communication bus module comprising CAN bus, USART, USB bus, SPI bus and the like.
The hardware platform is provided with 2 paths of RS485 bus interfaces and 3 general communication interfaces, and can be accessed into an HPLC (broadband power line carrier) communication module, a Bluetooth communication module, an RF radio frequency communication module, a 4G/5G (wireless cellular network) communication module, an Ethan network module, an MBUS bus module and the like. Each communication module interface has four characteristics of relative independence, interchangeability, universality and plug and play.
2. Middle layer-embedded Linux operating system
The IP fusion terminal of the electric power Internet of things is designed based on an embedded Linux operating system, and the operating system is divided into three layers from functions: a hardware driving layer, a general system management layer and a dynamic data processing layer.
The hardware driving layer is the bottommost layer of the Linux operating system platform structure and is used for initializing hardware equipment, establishing a memory space mapping diagram, adjusting the system software and hardware environment to a proper state, laying a good environment foundation for loading of the general system management layer, and the loading task of the whole system is completed through the hardware driving layer. The system mainly comprises serial port management, clock management, bus management, power supply management, display management and peripheral module driving management.
The general system management layer is a kernel part of a Linux system of a system platform and mainly comprises mechanisms such as process management, memory management, interrupt management, network management, storage management, kernel module management, system call, inter-process communication and the like, so that stable and safe operation of the system is ensured.
The dynamic data processing layer is a core part of the IP gateway of the electric power Internet of things, and realizes multiple electric power Internet of things sensing network access, data reading and protocol analysis and conversion when multiple types of electric power equipment are accessed simultaneously through a Linux dynamic sharing protocol library (equipment communication protocol sharing library) and a ThreadPool method. The system mainly comprises a multi-protocol data concurrency acquisition module, an electric power internet of things communication protocol sharing library module, an original data processing and analyzing module, a standardized data processing module, a data output module and a database management module. Linux dynamic sharing protocol library management comprises management of protocol stacks such as DL/T634.5 101, DL/T634.5 104, DL/T645-2007, DL/T698.44-2017, DL/T698.45-2017, Q/GDW 1376.1-2013, Q/GDW 1376.2-2013, modbus, IPv6/IPv4, 6LoWPAN, COAP, MQTT and the like.
The dynamic data processing layer firstly completes the sensing access of the communication networks of different power equipment through a multi-protocol data concurrency acquisition module; then, the original data processing and analyzing module is combined with the electric power internet of things communication protocol shared library module to carry out protocol analysis on the acquired electric power equipment transmission message, so that data of message transmission are extracted, compressed and related mapping relation is processed, and the original data processing and analyzing module can ensure that when facing different electric power equipment and sensor data, the data can be timely analyzed from which equipment; the standardized data processing module performs standardized processing on the extracted original data, and converts the original data into readable standardized data according to a general data rule; and finally, the data output module transmits the standardized data to the service application APP or forms a standard IPv6 protocol frame to be uploaded to a corresponding master station platform.
3. Top-layer business application APP layer
The IP fusion terminal of the electric power Internet of things adopts a dock container technology, and an application manager is constructed through a Linux system. The application manager is mainly used for running, maintaining and upgrading the service APP and managing safety. The service APP is installed in the relevant container according to different access power equipment categories. The power internet of things IP fusion terminal source generation service APP comprises a private transformer acquisition APP, a centralized meter reading APP, a charging pile ordered charging scheduling APP and an energy efficiency detection APP. The new APP can be installed according to different service requirements, such as four-meter reading APP, photovoltaic detection APP, non-invasive detection APP and the like.
The architecture of the IP fusion communication system of the electric power Internet of things is shown in fig. 4, and mainly comprises a 3+2 structure. 3 represents three layers of physical devices: multiple power equipment, electric power thing networking integration terminal and cloud platform main website that inserts, 2 represent two-layer network: a device aware layer network and a data transport layer network.
The specific operation mode of the IP fusion communication system of the electric power Internet of things comprises the following steps:
step one: when the cloud platform master station needs to acquire the operation data of the related power equipment, forming a query command in an IPv6 protocol data format, and transmitting the query command to the IP fusion terminal of the power Internet of things through a wireless public network (4G/5G)/wireless private network (LTE-230M)/wired optical fiber network;
step two: after the convergence terminal receives the command issued by the cloud platform, carrying out protocol analysis on the IPv6 protocol frame;
step three: extracting the IP address of the related power equipment and the command identifier to be executed from the parsed data frame;
step four: the fusion terminal analyzes the inquiry command and completes the data frame composition of the forwarding command for different equipment terminals through Linux dynamic data processing based on a Linux dynamic sharing protocol library, and the method can be divided into two cases:
case 1: the target equipment does not have IPv6 communication capability, and forms a data frame according to a communication protocol supported by the target equipment (for example, an intelligent electric energy meter mainly supports DL/T645 protocol and DL/T698 protocol);
case 2: the target equipment has IPv6 communication capability, compresses the data acquisition command pressure according to a 6LoWPAN protocol, and forms a data frame;
step five: according to the communication mode supported by the target equipment (such as communication with an intelligent electric energy meter through HPLC), the data frame in the step 4 is sent to the target power equipment, and the response of the target power equipment is waited;
step six: analyzing the received power equipment return data frame, and extracting equipment ID and specific data;
step seven: and forming the extracted data and ID into a data frame by using an IPv6 protocol and uploading the data frame to a platform master station.
The method for Linux dynamic sharing protocol library can adopt a dynamic module loadable scheme to independently adapt each power equipment communication protocol when the IP fusion terminal of the electric power Internet of things faces the accessed sensing network, and extract effective data, thereby completing the access of various electric power Internet of things sensing networks in the fusion terminal.
The Linux dynamic sharing protocol library specifically comprises the following steps:
step one: the Linux operating system comprises a protocol stack module set of the electric power internet of things. Some protocol stack modules are Linux basic protocol stack programs, such as Modbus, IPv6/IPv4, 6LoWPAN, COAP, MQTT protocols and the like, and only the protocol stack programs need to be directly installed; and the power communication network uses DL/T634.5, DL/T645-2007, DL/T698.44-2017, DL/T698.45-2017, Q/GDW 1376.1-2013, Q/GDW 1376.2-2013 and the like to write protocol stack programs according to the protocols.
Step two: and according to the driving programs of various communication protocols, writing various electric power Internet of things sensing network access programs, namely protocol analysis programs, which are used as Linux dynamic sharing protocol library modules. For example, the data can be read out by a DL/T698.45 protocol analysis function to obtain the data by an electricity consumption information collection network connected by HPLC. Each electric power internet of things sensing network corresponds to one access program to obtain data of the sensing network. All access programs can be compiled into a dynamic sharing protocol library under a Linux operating system to form a sharing library file for the concurrent communication module to call.
Therefore, the data of the electric power internet of things sensing network can be read only by calling the corresponding access program when the electric power internet of things sensing network is accessed, so that the memory occupation is reduced, and flexible access to various communication protocol networks is realized.
The protocol analysis and conversion are the core functions of the IP fusion terminal of the electric power Internet of things. The protocol stack generally refers to a program implementation of a protocol or a protocol family, and includes functions such as analysis and message representation of the protocol, and a program of a protocol state machine. Externally, the protocol stack typically provides an Application Programming Interface (API) that can be used by applications based on the protocol to complete programming work. The protocol conversion flow from HPLC to Ethernet is taken as an example for analyzing and converting the protocols of different electric power Internet of things sensor networks. The intelligent electric energy meter is accessed to the IP fusion terminal by utilizing the HPLC, the communication protocol is DL/T698.45, the IP fusion terminal analyzes the DL/T698.45 protocol, extracts data information and distributes an IP address of the intelligent electric energy meter, then the IP address is converted into a standardized IPv6 protocol, and finally the data of the intelligent electric energy meter is sent to the cloud platform master station through the Ethernet. A specific protocol conversion flow chart is shown in fig. 4. After the HPLC serial port and the Ethernet port are initialized, network connection is established, monitoring threads are respectively established and monitor data, and when the data is received, the data is read and sent to the other party.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explanation of the principles of the present invention and are in no way limiting of the invention. Accordingly, any modification, equivalent replacement, improvement, etc. made without departing from the spirit and scope of the present invention should be included in the scope of the present invention. Furthermore, the appended claims are intended to cover all such changes and modifications that fall within the scope and boundary of the appended claims, or equivalents of such scope and boundary.

Claims (7)

1. The communication method based on the IP fusion terminal of the electric power Internet of things is characterized by comprising the following steps of:
acquiring equipment information of each equipment in a power system, wherein the equipment comprises power equipment and sensing equipment, and the equipment information comprises equipment ID and equipment communication type;
establishing an equipment IP library and an equipment communication protocol sharing library according to the acquired equipment information, and sending the equipment IP library to a cloud platform, wherein the equipment IP library comprises a one-to-one correspondence of equipment IDs and IP addresses, and the equipment communication protocol sharing library comprises a one-to-one correspondence of equipment information and protocol analysis programs;
collecting original data sent by equipment;
determining a protocol analysis program according to the equipment ID in the original data, and analyzing the original data according to the determined protocol analysis program to obtain communication data;
generating a data frame meeting the IPv6 protocol by the equipment ID and the determined communication data, and sending the data frame to the cloud platform so that the cloud platform can acquire the communication data based on the equipment IP library and the equipment ID;
acquiring command information meeting an IPv6 protocol issued by a cloud platform, wherein the command information comprises equipment IP;
determining an equipment ID and a corresponding equipment communication type according to the equipment IP, converting the command information into a data frame meeting the equipment communication type, and sending the data frame to the corresponding equipment so that the corresponding equipment can send original data according to the command information;
the original data sent by the acquisition equipment specifically comprises:
meanwhile, a plurality of communication modules are used for respectively collecting original data sent by a plurality of communication types of equipment, and the communication modules are in one-to-one correspondence with the communication types;
when the equipment of the same communication type which is collected simultaneously comprises n, the corresponding communication module simultaneously calls n idle threads from the thread pool to be in one-to-one correspondence with the equipment for original data collection, wherein n is an integer which is more than or equal to 2;
the communication module comprises an HPLC communication module, a Bluetooth communication module, an RF radio frequency communication module, a 4G/5G communication module, an Ethan network module or an MBUS bus module.
2. The communication method according to claim 1, characterized by further comprising:
and removing the thread which is always in the idle state when the thread which is always in the idle state in the preset time exists in the thread pool.
3. The communication method according to claim 1, characterized by further comprising: when the idle threads in the thread pool are insufficient, a preset number of idle threads are added.
4. The communication method according to claim 1, characterized by further comprising:
acquiring command information meeting an IPv6 protocol sent by a service application APP, wherein the command information comprises equipment IP;
determining an equipment ID and a corresponding equipment communication type according to the equipment IP, converting command information into a data frame meeting the equipment communication type, and sending the data frame to the corresponding equipment;
the acquisition equipment acquires original data sent by the command information;
determining a protocol analysis program according to the equipment ID in the original data, and analyzing the original data according to the determined protocol analysis program to obtain communication data;
and generating a data frame meeting the IPv6 protocol by the equipment ID and the determined communication data, and sending the data frame to the service application APP so that the service application APP can acquire the communication data based on the equipment IP library and the equipment ID.
5. The communication method according to claim 4, wherein the service application APP comprises at least one of a private transformer acquisition APP, a centralized meter reading APP, a charging pile ordered charging scheduling APP, an energy efficiency detection APP, a four-meter centralized meter reading APP, a photovoltaic detection APP, or a non-invasive detection APP.
6. An IP-based converged terminal of the electric power internet of things, which is configured to perform the communication method of any one of claims 1 to 5.
7. An electric power internet of things system, comprising a cloud platform, the electric power internet of things IP fusion terminal and equipment, wherein the equipment comprises electric power equipment and sensing equipment.
CN202011165139.3A 2020-10-27 2020-10-27 Electric power internet of things IP fusion terminal and communication method thereof Active CN112422519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011165139.3A CN112422519B (en) 2020-10-27 2020-10-27 Electric power internet of things IP fusion terminal and communication method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011165139.3A CN112422519B (en) 2020-10-27 2020-10-27 Electric power internet of things IP fusion terminal and communication method thereof

Publications (2)

Publication Number Publication Date
CN112422519A CN112422519A (en) 2021-02-26
CN112422519B true CN112422519B (en) 2023-05-30

Family

ID=74841120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011165139.3A Active CN112422519B (en) 2020-10-27 2020-10-27 Electric power internet of things IP fusion terminal and communication method thereof

Country Status (1)

Country Link
CN (1) CN112422519B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114006945A (en) * 2021-10-15 2022-02-01 广州鲁邦通智能科技有限公司 Intelligent grouping distribution method of Internet of things data and Internet of things platform
CN114301999A (en) * 2021-11-19 2022-04-08 宁波三星智能电气有限公司 Data stream analysis method and intelligent electric meter using same
CN114363926B (en) * 2021-12-17 2024-04-05 国家电网有限公司 Power grid distribution and utilization wireless communication test system and method, wireless access terminal and application
CN114422618B (en) * 2021-12-31 2024-01-02 北京千方科技股份有限公司 Cloud-protogenesis-based IOT platform protocol adaptation method, device, equipment and medium
CN114390028B (en) * 2022-01-07 2023-08-08 青岛鼎信通讯股份有限公司 HPLC network transmission method of lightweight IPv6
CN114760265A (en) * 2022-04-22 2022-07-15 国网智能电网研究院有限公司 Method, device, equipment and storage medium for generating IPv6 address of power sensing network
CN114710573B (en) * 2022-06-07 2022-09-30 石家庄科林电气股份有限公司 IPV 6-based power distribution station area edge device communication method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571732A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 Method, device and system for processing sensor protocol information
CN105721555A (en) * 2016-01-25 2016-06-29 英科信息技术(北京)有限公司 Operation system for Internet of things and terminal device of Internet of things
CN109040144A (en) * 2018-10-19 2018-12-18 京信通信系统(中国)有限公司 Things-internet gateway data processing method, device, storage medium and gateway
CN109167829A (en) * 2018-08-23 2019-01-08 北方工业大学 Internet of things communication method and cloud gateway
CN111163147A (en) * 2019-12-24 2020-05-15 深圳供电局有限公司 Gateway device, multi-protocol data transmission method and computer device
CN111176180A (en) * 2020-01-06 2020-05-19 深圳市同洲电子股份有限公司 Heterogeneous Internet of things equipment management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10447822B2 (en) * 2017-06-19 2019-10-15 Silicon Laboratories, Inc. DotDot gateway

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571732A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 Method, device and system for processing sensor protocol information
CN105721555A (en) * 2016-01-25 2016-06-29 英科信息技术(北京)有限公司 Operation system for Internet of things and terminal device of Internet of things
CN109167829A (en) * 2018-08-23 2019-01-08 北方工业大学 Internet of things communication method and cloud gateway
CN109040144A (en) * 2018-10-19 2018-12-18 京信通信系统(中国)有限公司 Things-internet gateway data processing method, device, storage medium and gateway
CN111163147A (en) * 2019-12-24 2020-05-15 深圳供电局有限公司 Gateway device, multi-protocol data transmission method and computer device
CN111176180A (en) * 2020-01-06 2020-05-19 深圳市同洲电子股份有限公司 Heterogeneous Internet of things equipment management system

Also Published As

Publication number Publication date
CN112422519A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN112422519B (en) Electric power internet of things IP fusion terminal and communication method thereof
CN103491190B (en) A kind of charger monitor data processing method towards extensive Real-time and Concurrent
CN108092884A (en) A kind of wireless access gateway system and application process
CN105515819A (en) IEC61850-based communication component and application component data interface method
CN102227122A (en) Platform-independent protocol modularized system
CN104156448A (en) Data exchange model based on IEC 61850 client side/server
CN104038414A (en) Multiprotocol intelligent household gateway apparatus and system thereof
CN201698576U (en) Electricity utilization information collecting system and collector
CN101854083A (en) Adaptive device for realizing A/D conversion protocol of power equipment
CN101447695B (en) Management method of functions of multi-agent-based digital substation
CN104701984A (en) Intelligent electricity terminal plug and play method based on self recognition
CN108052634A (en) A kind of power grid production control great Qu and the integrated approach of asset management great Qu multi information systems
CN105825462A (en) Smart city information system based on internet of things and cloud computing
CN110380512A (en) The intelligent distribution network coordinated control system and method for the information containing synchronized phasor
CN110492984B (en) Data transmission method and device, data analysis processing system and computer equipment
CN101605386A (en) The interconnected method of wireless multimedia sensor network and wireless local area network Internet
CN113054743A (en) Internet of things terminal data access system and method suitable for power distribution cloud master station
CN109067871A (en) A kind of ubiquitous intelligent cloud framework of electric power
CN111897296A (en) Intelligent management system for industrial production line based on 5G communication
CN201699739U (en) AT91RM9200-based fieldbus protocol conversion gateway platform
CN105577817A (en) Agricultural Internet of Things system based on 433M communication
CN103633736B (en) From the on-line monitoring communication means of power transformation substation to main website
Wang et al. An Edge Computing Based Gateway for WIA-PA Networks
CN101360034A (en) Digital family data interchanging middleware
CN110161898A (en) A kind of substation inspection robot resource sharing system of compatible multiple agent

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Du Bo

Inventor after: Sun Yu

Inventor after: Yang Yang

Inventor after: Fang Hui

Inventor after: Wu Qiong

Inventor after: Yin Cong

Inventor after: Zhang Chuang

Inventor after: Zhang Nan

Inventor after: Liu Xinyu

Inventor after: Wu Guorui

Inventor before: Du Bo

Inventor before: Sun Yu

Inventor before: Yang Yang

Inventor before: Fang Hui

Inventor before: Wu Qiong

Inventor before: Yin Cong

Inventor before: Zhang Chuang

Inventor before: Zhang Nan

Inventor before: Liu Xinyu

Inventor before: Wu Guorui

GR01 Patent grant
GR01 Patent grant