CN113660309B - Multi-system fusion communication protocol adaptation system based on ubiquitous power Internet of things - Google Patents

Multi-system fusion communication protocol adaptation system based on ubiquitous power Internet of things Download PDF

Info

Publication number
CN113660309B
CN113660309B CN202110818501.0A CN202110818501A CN113660309B CN 113660309 B CN113660309 B CN 113660309B CN 202110818501 A CN202110818501 A CN 202110818501A CN 113660309 B CN113660309 B CN 113660309B
Authority
CN
China
Prior art keywords
protocol
data
terminal
network
communication
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
CN202110818501.0A
Other languages
Chinese (zh)
Other versions
CN113660309A (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.)
State Grid Corp of China SGCC
State Grid Tianjin Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Tianjin Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Tianjin Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Tianjin 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 State Grid Corp of China SGCC, State Grid Tianjin Electric Power Co Ltd, Information and Telecommunication Branch of State Grid Tianjin Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202110818501.0A priority Critical patent/CN113660309B/en
Publication of CN113660309A publication Critical patent/CN113660309A/en
Application granted granted Critical
Publication of CN113660309B publication Critical patent/CN113660309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • 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/14Multichannel or multilink protocols
    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/168Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP] specially adapted for link layer protocols, e.g. asynchronous transfer mode [ATM], synchronous optical network [SONET] or point-to-point protocol [PPP]
    • 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/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • 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

Abstract

The invention relates to a ubiquitous power based internet of things multi-system converged communication protocol adaptation system, which comprises the following components: the system comprises a low-voltage communication access network, a medium-voltage communication access network, a security policy module and a multi-protocol adaptation interface system; the safety strategy module is used for dividing a medium-voltage communication access network into a medium-voltage access area I and a medium-voltage access area II according to different safety grades, wherein the medium-voltage access area I is externally connected with a power distribution service system through a dispatching data network, and the medium-voltage access area II is externally connected with a power utilization information acquisition system through a comprehensive data network; the low-voltage communication access network is connected with the medium-voltage access area II, and multi-network cooperation of the wired private network and the wireless private network is realized by adopting the multi-mode transmission module and the fusion gateway; the multi-protocol adaptive interface system is used for carrying out standardized adaptive access on the power distribution terminal and the power utilization terminal. The method and the system can enable the standardized adaptation, the quick access, the data storage and the forwarding of all the terminals of the Internet of things.

Description

Multi-system fusion communication protocol adaptation system based on ubiquitous power Internet of things
Technical Field
The invention belongs to the technical field of the Internet of things, relates to a multisystem fusion communication protocol adaptation system, and particularly relates to a multisystem fusion communication protocol adaptation system based on the ubiquitous electric power Internet of things.
Background
At present, terminal communication protocols are numerous and difficult to unify, more protocols such as Modbus, zigBee, carrier wave, WSN, RS232/485 and the like are used, each protocol has own use scene, and besides the mainstream and more standard unified protocols, part of terminal manufacturers also have own terminal communication protocols. The developer is faced with complex and numerous terminal protocols, and the cost for analyzing and developing the application one by one is high and the time consumption is long.
Moreover, as the scale of the distribution network is continuously enlarged, the grid structure is increasingly complex. The existing distribution electric communication network gradually shows limitations, and is specifically shown as follows:
1. the single service network establishment is characterized in that the distribution network automation service and the electricity consumption information acquisition service are provided with independent terminal access communication subsystems;
2. the communication channels independently coexist, the integration of the terminal access to the communication network is mainly limited to business application layer integration, and is different from heterogeneous network layer integration, the communication channels only support longitudinal connection of a single communication technology, but not multi-network cooperative communication complementary integration of multiple technologies, and the requirement of high reliability of power distribution and utilization business cannot be completely met.
Therefore, how to enable each internet of things terminal to be capable of standardized adaptation, quickly access a communication network and complete data storage and forwarding is a technical problem to be solved urgently by those skilled in the art.
No prior art publication is found, which is the same or similar to the present invention, upon searching.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a ubiquitous power-based multi-system fusion communication protocol adaptation system which can enable standardized adaptation, quick access, data storage and forwarding of all Internet of things terminals.
The invention solves the practical problems by adopting the following technical scheme:
a ubiquitous power internet of things-based multisystem converged communication protocol adaptation system, comprising:
the system comprises a low-voltage communication access network, a medium-voltage communication access network, a security policy module and a multi-protocol adaptation interface system; the safety strategy module is used for dividing a medium-voltage communication access network into a medium-voltage access area I and a medium-voltage access area II according to different safety grades, wherein the medium-voltage access area I is externally connected with a power distribution service system through a dispatching data network, the power distribution service system is provided with a plurality of power distribution terminals, the medium-voltage access area II is externally connected with a power utilization information acquisition system through a comprehensive data network, and the power utilization information acquisition system is provided with a plurality of power utilization terminals; the low-voltage communication access network is connected with the medium-voltage access area II, and multi-network cooperation of the wired private network and the wireless private network is realized by adopting the multi-mode transmission module and the fusion gateway; the multi-protocol adaptive interface system is used for carrying out standardized adaptive access on the power distribution terminal and the power utilization terminal.
The multi-protocol adaptive interface system is configured with a protocol standardized configuration unit, a high concurrency terminal access unit, a data analysis unit, a data storage unit and a communication engine; the high concurrency terminal access unit is connected with at least one power distribution terminal or power utilization terminal through a network and is used for providing multi-path non-blocking network I/O; the high concurrency terminal access unit is also in electrical signal connection with a protocol standardization configuration unit, and the protocol standardization configuration unit is used for correspondingly matching different types of protocol objects according to different types of the power distribution terminal or the power utilization terminal; the high concurrency terminal access unit is also in electrical signal connection with a data analysis unit, and the data analysis unit is used for analyzing data according to the protocol object and using the protocol object; the output end of the data analysis unit is electrically connected with a data storage unit, and the data storage unit is used for temporarily registering the data analyzed by the data analysis unit; the communication engine is in electrical signal connection with the power distribution terminal or the power utilization terminal, and is used for providing data fusion of a perception layer.
The communication engine is configured with a rule base, the communication engine is compared through the rule base, the data is analyzed by matching with a correct protocol object, and the protocol object is stored in the data storage unit.
And the protocol object comprises a module protocol and a device protocol, and the uplink data are respectively analyzed according to the corresponding module protocol and the device protocol to obtain the data of the power distribution terminal or the power utilization terminal.
And the protocol standardization configuration unit splits the equipment data into two parts according to the protocol, and then performs data type conversion so as to realize data analysis, wherein the storage format of the equipment data is set as BSON/JSON.
And the high concurrency terminal access unit adopts a bidirectional channel to carry out data transmission, and the bidirectional channel registers interesting events.
Moreover, the events of interest include a client receive client connect event, a client connect server event, a read event, and a write event.
The data analysis unit firstly circularly reads and analyzes the uplink data information of the equipment through a module protocol, judges whether the length of the next field is enough to be read, analyzes the field data if the length is enough, otherwise records the current step, and then ends the instruction until all the fields are completely read or the data length is insufficient; and then circularly reading and analyzing by the equipment protocol, judging whether the length of the next field is enough, analyzing the field data if the length of the next field is enough, otherwise recording the current step, ending the instruction, and stopping reading until all the fields are completely read or the data length is insufficient.
And the distribution terminal and the electricity consumption terminal are configured with a transmission protocol regulated by the equipment management platform to realize the encoding and decoding process of the message, and the rule engine of the distribution terminal or the electricity consumption terminal equipment is arranged to enable the equipment management platform to add a custom rule to realize the service function of message forwarding, so that the real-time state and historical data of the distribution terminal or the electricity consumption terminal equipment are displayed.
Moreover, the transmission protocol configuration is specifically divided into fields of various data types in an XML node mode according to system convention rules.
The invention has the advantages and beneficial effects that:
1. the invention provides a ubiquitous electric power internet of things-based multi-system converged communication protocol adaptation system, which is configured with a protocol standardization configuration unit, a high concurrency terminal access unit, a data analysis unit, a data storage unit and a communication engine, wherein the protocol standardization configuration unit is used for correspondingly matching different types of protocol objects according to different types of power distribution terminals or power utilization terminals, the high concurrency terminal access unit is used for providing multi-path non-blocking network I/O, the data analysis unit is used for analyzing data according to the acquired protocol objects and using the protocol objects, the data storage unit is used for temporarily registering the data analyzed by the data analysis unit, and the communication engine is used for providing data fusion of a perception layer; the invention can lead the standardized adaptation, the quick access, the data storage and the forwarding of all the power distribution terminals or the power utilization terminals of the Internet of things.
2. The ubiquitous power internet of things-based multi-system fusion communication protocol adaptation system architecture adopts NIO technology to design and realize TCP and UDP communication engines, simultaneously adds multithread control, adopts thread pool technology to dynamically allocate and adjust thread numbers, asynchronously and efficiently processes events such as connection, reading and writing and the like, and effectively improves the throughput rate and the concurrency number of the system.
Drawings
FIG. 1 is a whole structure diagram of a multisystem fusion communication protocol adaptation system based on ubiquitous power Internet of things;
fig. 2 is a schematic diagram of a power distribution service system based on a ubiquitous power internet of things multisystem converged communication protocol adaptation system;
FIG. 3 is a schematic diagram of an electricity consumption information acquisition system based on a ubiquitous power Internet of things multisystem converged communication protocol adaptation system;
FIG. 4 is a schematic diagram of a multi-protocol adaptation interface system based on a ubiquitous power Internet of things multi-system converged communication protocol adaptation system;
FIG. 5 is a schematic diagram of a working process of a data analysis unit of the ubiquitous power-based Internet of things multisystem converged communication protocol adaptation system;
fig. 6 is a schematic diagram of a data storage structure of a ubiquitous power internet of things-based multisystem converged communication protocol adaptation system according to the present invention.
Detailed Description
Embodiments of the invention are described in further detail below with reference to the attached drawing figures:
a ubiquitous power based internet of things multisystem converged communication protocol adaptation system, as shown in fig. 1, comprising:
the system comprises a low-voltage communication access network, a medium-voltage communication access network, a security policy module and a multi-protocol adaptation interface system; the safety strategy module is used for dividing a medium-voltage communication access network into a medium-voltage access area I and a medium-voltage access area II according to different safety grades, wherein the medium-voltage access area I is externally connected with a power distribution service system through a dispatching data network, the power distribution service system is provided with a plurality of power distribution terminals, the medium-voltage access area II is externally connected with a power utilization information acquisition system through a comprehensive data network, and the power utilization information acquisition system is provided with a plurality of power utilization terminals; the low-voltage communication access network is connected with the medium-voltage access area II, and multi-network cooperation of the wired private network and the wireless private network is realized by adopting the multi-mode transmission module and the fusion gateway; the multi-protocol adaptive interface system is used for carrying out standardized adaptive access on the power distribution terminal and the power utilization terminal.
In this embodiment, on the premise of meeting the security access of the power distribution service, the low-voltage communication access network carries the same service conditions (such as two-remote access of the power distribution network, access of a micro-network and energy management) for different network technologies (such as EPON technology, TD-LTE technology and LTE230 technology) except for the service (such as scheduling service) requiring network-specific and transverse isolation, and can implement multi-network cooperation of a wired private network and a wireless private network by adopting a conversion general protocol (such as an IP protocol) or developing a multi-mode transmission module, for example, an EPON wired channel based on an optical-carrier wireless RoF technology can be used as a backhaul transmission link between a TD-LTE/LTE-230 base station and a service layer master station; based on the multimode transmission module, the networking and data scheduling of multiple frequency bands can be realized between a TD-LTE (1.8 GHz frequency band) wireless private network and an LTE230 (230 MHz frequency band) wireless private network, and double communication channel support is provided for a power distribution terminal or a power utilization terminal. Different network technologies (such as a PLC technology and a WSN technology) of the low-voltage communication access network bear the same service conditions (such as an electricity consumption information acquisition service and a user demand response service), a multi-network cooperation of a wired private network and a wireless private network can be realized by adopting a research multi-mode transmission module and a fusion gateway, such as a WSN protocol and a PLC protocol conversion, and an electricity consumption terminal can realize automatic switching of a communication channel according to a PLC channel state and a WSN frequency band state so as to ensure two-channel support; and a WSN fusion gateway compatible with the transmission protocols of the TD-LTE and the LTE230 is developed, so that the WSN power consumption terminal supports dual-channel (such as an EPON wired channel or a TD-LTE/LTE230 wireless channel) data backhaul, and the reliability of communication is ensured.
The multi-protocol adaptive interface system is configured with a protocol standardized configuration unit, a high concurrency terminal access unit, a data analysis unit, a data storage unit and a communication engine; the high concurrency terminal access unit is connected with at least one power distribution terminal or power utilization terminal through a network and is used for providing multi-path non-blocking network I/O; the high concurrency terminal access unit is also in electrical signal connection with a protocol standardization configuration unit, and the protocol standardization configuration unit is used for correspondingly matching different types of protocol objects according to different types of the power distribution terminal or the power utilization terminal; the high concurrency terminal access unit is also in electrical signal connection with a data analysis unit, and the data analysis unit is used for analyzing data according to the protocol object and using the protocol object; the output end of the data analysis unit is electrically connected with a data storage unit, and the data storage unit is used for temporarily registering the data analyzed by the data analysis unit; the communication engine is in electrical signal connection with the power distribution terminal or the power utilization terminal, and is used for providing data fusion of a perception layer.
As shown in fig. 4, the data architecture of the internet of things is sequentially divided into an application layer, a permission control layer, a capability service bus, a data stream bus, a communication layer and an equipment management layer from top to bottom, wherein the application layer is used as the topmost layer of the logic architecture of the internet of things, the main function is that data information collected by the equipment management layer is calculated and processed to realize accurate management of decisions, the data application and user side equipment are centrally oriented, a light application rapid construction platform is provided with a monitoring component library, a control component library, a visual application construction engine and a time subscription component, data transmission service, data stream data, time subscription service and software application development functions can be realized, the intelligent internet of things logic architecture is suitable for intelligent industrial application, intelligent agricultural application, intelligent home application and the like, and the communication layer is provided with communication engines including an NIO efficient TCP processing engine and a UDP processing engine and adapters of different buses; the data flow bus is configured with an NO SQL data flow asynchronous queue and a real-time data flow transparent transmission interface, and can write offline data in real time; the capability service bus comprises a device monitoring service engine, a device control service engine and a device early warning service engine, and can realize data storage service, information synchronization of a power distribution terminal or a user terminal, log service, location service, SIM state service and the like; the authority control layer mainly comprises equipment authority control, application authority control and user and role control, and the equipment management layer is used as a lowest perception layer and is used for identifying equipment objects to acquire equipment information, on-line monitoring, log and other environmental information.
In this embodiment, the wide protocol adaptation interface system of the internet of things is mainly used for standardized adaptation, quick access, data storage and forwarding of all power distribution terminals or user terminals of the internet of things. Because each protocol has own standards and rules, the protocol configuration needs to be compatible with various types of protocols to the greatest extent, especially the mainstream terminal protocol, so as to achieve the purposes of unified protocol and standardized configuration. The system needs to reserve corresponding interfaces at the same time, and the system is realized by carrying out custom expansion aiming at part of special protocols, so that the expandability of the system is improved; the system considers numerous access amounts of future power distribution terminals or user terminals, and aims at massive access terminals, so that the system needs to solve the problem of high concurrency and improve the concurrency number and throughput rate of the system; according to the configuration protocol of the system, the system needs to analyze the data uploaded by the power distribution terminal or the user terminal correctly and efficiently, and besides receiving and analyzing the uplink data of the terminal, the system can respond to the appointed uplink instruction or actively send the data to the power distribution terminal or the user terminal; the data structure after the analysis of the data of the power distribution terminals or the user terminals of various types in various industries is different, and the system realizes the rapid reading and writing of the data of the power distribution terminals or the user terminals of different structure types.
As shown in fig. 2 and fig. 3, according to the requirements of the power distribution and utilization communication network and various communication technical characteristics, considering the advantages of various communication technologies to be fully exerted, reducing the application disadvantages of various technologies, and establishing a network structure integrating various technologies with an optical fiber network as a backbone and a wireless technology and carrier communication as an auxiliary in a medium-voltage communication access plane and a low-voltage communication access plane, wherein an OLT represents an optical line terminal; ONU represents an optical network unit; FTU denotes a feeder terminal unit; DTU represents a power distribution terminal unit; TTU denotes a distribution transformer terminal unit.
The plane fusion technology mainly comprises an EPON technology, a medium-voltage PLC technology, an industrial Ethernet technology, a TD-LTE technology, an LTE230 technology and a RoF technology, and the QoS indexes of the above 6 single-technology communication can meet the QoS requirement of a medium-voltage communication access plane terminal. The communication requirement of the planar power distribution terminal is considered to focus on the reliability requirement, and the power consumption terminal is considered to focus on the communication bandwidth requirement, so that a double-communication channel fusion design is adopted. The specific fusion technology comprises the following steps:
the multi-network cooperation adopts an integration mechanism of internal multiple communication technologies, including 4 modes of EPON and LTE integration, private network multi-band networking, private network multi-band scheduling, wireless private network and wireless public network switching;
(1) EPON and LTE fusion
By adopting an optical carrier wireless RoF technology, an ONU unit of the EPON is used as a TD-LTE base station and a service master station backhaul transmission link unit, a communication technology is integrated in the unit, and an optical carrier is directly utilized to transmit radio frequency signals, so that flexible access of a power distribution and utilization service terminal is realized.
(2) Multi-frequency band networking of private network
A multimode transmission module containing TD-LTE (1.8 GHz frequency band) and LTE230 (230 MHz frequency band) is adopted, multiple communication technologies are integrated in the module, so that micro-grid new energy access service (photovoltaic-charging pile) cross-connection complementary access is realized, and the reliability of the access is improved.
(3) Multi-band scheduling for private networks
A multimode transmission module containing TD-LTE (1.8 GHz frequency band) and LTE230 (230 MHz frequency band) is adopted, multiple communication technologies are integrated in the module, the functions of multi-frequency band and multi-channel transmission and service data stream scheduling are expanded, and the optimal access network of the power distribution terminal is dynamically adjusted according to the occupation condition of the service load bandwidth resources of each network, so that high-bandwidth access is realized.
(4) Wireless private network and wireless public network switching
A multimode transmission module comprising a wireless private network (comprising TD-LTE and LTE 230) and a wireless public network (comprising 4G wireless technology) is adopted, a plurality of communication technologies are integrated in the module, and an optimal access network is automatically switched according to the network communication state at a supporting power service terminal (a concentrator and an intelligent power terminal).
Autonomous self-healing cooperation is achieved by adopting a power distribution terminal relay through base station mode. The function transmission module of the 1.8GHz frequency band TD-LTE extended D2D relay direct base station is adopted, and the distribution terminal can realize normal data transmission by means of the relay terminal by aiming at the distribution network terminal with the coverage area of the distribution terminal which is relatively poor and separated from the core network through the relay direct base station method of the distribution terminal, so that the distribution terminal is separated from a network reconfigurable mechanism under the control of the core network, and autonomous self-healing communication is completed.
The communication engine is configured with a rule base, the communication engine is compared through the rule base, the data is analyzed by matching with a correct protocol object, and the protocol object is stored in the data storage unit. As shown in fig. 6, when the system is started, all the protocols with correct configuration are loaded and stored in a data storage unit in the form of protocol objects, when the system receives equipment data, the corresponding protocol objects are searched in the data storage unit, then the data are analyzed by using the protocol objects, an equipment queue comprises a plurality of equipment types of the internet of things, equipment port numbers and protocol types, and the analyzed data temporarily stores effective data cache areas, and respectively registers data comprising the equipment port numbers, equipment codes, data units, equipment acquisition data and equipment state time.
The protocol object comprises a module protocol and a device protocol, and the uplink data are respectively analyzed according to the corresponding module protocol and the device protocol to obtain the power distribution terminal or the user terminal data.
In this embodiment, splitting the protocol into the module protocol and the device protocol is equivalent to respectively analyzing the uplink data of the power distribution terminal or the user terminal by the corresponding module protocol and the device protocol, and the analysis results are synthesized to obtain the complete data of the power distribution terminal or the user terminal. Whether in a module protocol configuration or a device protocol configuration, the design ideas and the implementation principles are consistent. After the protocol configuration is mainly familiar with the protocol, the fields of each data type are split in an XML node mode according to rules agreed by the system, and the fields supported by the system at present comprise byte types, short integer, long integer, array, fixed-length character strings, unfixed-length character strings, bitwise and equipment packages and the like and can be continuously expanded according to actual requirements. Aiming at the conditions that the data length of some equipment is not fixed or the protocols are special, the system simultaneously reserves a corresponding interface, and a developer realizes the interface to self-define and analyze the data, thereby improving the compatibility and the expandability of the system to various protocols.
When the system receives the equipment data, the corresponding protocol object is searched in the memory, and then the data is analyzed by using the protocol object. The protocol is used as a system plug-in and supports hardware-like 'hot plug': when the system runs, the new protocol is added and modified, and the protocol object is triggered to be generated and updated in the memory.
The protocol standardization configuration unit splits the equipment data into two parts according to the protocol, then carries out data type conversion so as to realize data analysis, and the storage format of the equipment data is set to be BSON/JSON, so that the data of the whole system can be represented by adopting a unified model.
The high concurrency terminal access unit adopts a bidirectional channel to carry out data transmission, and the bidirectional channel registers interesting events. Compared with the existing IO operation, the method has the characteristics of block-oriented, non-blocking and high scalability, has the file access interface of lock and memory mapping files, has high speed, and is suitable for high-concurrency application scenes.
The interesting events comprise a client-side receiving client-side connecting event, a client-side connecting server-side event, a reading event and a writing event. The server and client each maintain an object that manages a Channel, referred to as a Selector, that can detect events on one or more channels (channels). Taking a server as an example, if a Read event is registered on a Selector of the server, at a moment, the client sends some data to the server, the blocking I/O will call the Read () method to Read the data in a blocking manner, and the server of the NIO will add a Read event to the Selector. The processing thread of the server polls the Selector, processes the events if the event of interest arrives when the Selector is accessed, and blocks the processing thread until the event of interest arrives if the event of interest does not arrive.
Considering the connection requirements of a large variety of distribution terminals or user terminals, the system adopts NIO technology to design and realize TCP and UDP communication engines on technical architecture. Meanwhile, multithreading control is added, the thread pool technology is adopted to dynamically allocate and adjust the thread number, the events such as connection, reading and writing are processed asynchronously and efficiently, and the throughput rate and the concurrency number of the system are effectively improved.
As shown in fig. 5, the data analysis unit firstly circularly reads and analyzes the uplink data information of the device through the module protocol, judges whether the length of the next field is enough to be read, analyzes the field data if the length is enough, otherwise records the current step, and then ends the instruction until all the fields are completely read or the data length is insufficient; and then circularly reading and analyzing by the equipment protocol, judging whether the length of the next field is enough, analyzing the field data if the length of the next field is enough, otherwise recording the current step, ending the instruction, and stopping reading until all the fields are completely read or the data length is insufficient.
The distribution terminal and the electricity consumption terminal are configured with a transmission protocol regulated by the equipment management platform to realize the encoding and decoding process of the message, and the equipment management platform is enabled to add a custom rule to realize the service function of message forwarding by setting a rule engine of the distribution terminal or the user terminal equipment, so that the real-time state and the historical data of the distribution terminal or the user terminal equipment are displayed.
The transmission protocol configuration is specifically divided into fields of various data types in an XML node mode according to system convention rules.
It should be emphasized that the examples described herein are illustrative rather than limiting, and therefore the invention includes, but is not limited to, the examples described in the detailed description, as other embodiments derived from the technical solutions of the invention by a person skilled in the art are equally within the scope of the invention.

Claims (9)

1. The utility model provides a multisystem integration communication protocol adaptation system based on ubiquitous electric power thing networking which characterized in that: comprising the following steps:
the system comprises a low-voltage communication access network, a medium-voltage communication access network, a security policy module and a multi-protocol adaptation interface system; the safety strategy module is used for dividing a medium-voltage communication access network into a medium-voltage access area I and a medium-voltage access area II according to different safety grades, wherein the medium-voltage access area I is externally connected with a power distribution service system through a dispatching data network, the power distribution service system is provided with a plurality of power distribution terminals, the medium-voltage access area II is externally connected with a power utilization information acquisition system through a comprehensive data network, and the power utilization information acquisition system is provided with a plurality of power utilization terminals; the low-voltage communication access network is connected with the medium-voltage access area II, and multi-network cooperation of the wired private network and the wireless private network is realized by adopting the multi-mode transmission module and the fusion gateway; the multi-protocol adaptive interface system is used for carrying out standardized adaptive access on the power distribution terminal and the power utilization terminal;
the multi-protocol adaptive interface system is configured with a protocol standardized configuration unit, a high concurrency terminal access unit, a data analysis unit, a data storage unit and a communication engine; the high concurrency terminal access unit is connected with at least one power distribution terminal or power utilization terminal through a network and is used for providing multi-path non-blocking network I/O; the high concurrency terminal access unit is also in electrical signal connection with a protocol standardization configuration unit, and the protocol standardization configuration unit is used for correspondingly matching different types of protocol objects according to different types of the power distribution terminal or the power utilization terminal; the high concurrency terminal access unit is also in electrical signal connection with a data analysis unit, and the data analysis unit is used for analyzing data according to the protocol object and using the protocol object; the output end of the data analysis unit is electrically connected with a data storage unit, and the data storage unit is used for temporarily registering the data analyzed by the data analysis unit; the communication engine is in electric signal connection with the power distribution terminal or the power utilization terminal, and the communication engine is used for providing data fusion of a perception layer.
2. The ubiquitous power internet of things-based multisystem fusion communication protocol adaptation system as claimed in claim 1, wherein: the communication engine is configured with a rule base, the communication engine is compared through the rule base, the data is analyzed by matching with a correct protocol object, and the protocol object is stored in the data storage unit.
3. The ubiquitous power internet of things-based multisystem fusion communication protocol adaptation system as claimed in claim 2, wherein: the protocol object comprises a module protocol and a device protocol, and the uplink data are respectively analyzed according to the corresponding module protocol and the device protocol to obtain the data of the power distribution terminal or the power utilization terminal.
4. The ubiquitous power internet of things-based multisystem fusion communication protocol adaptation system as claimed in claim 1, wherein: the protocol standardization configuration unit splits the equipment data into two parts according to the protocol, and then performs data type conversion so as to realize data analysis, and the storage format of the equipment data is set as BSON/JSON.
5. The ubiquitous power internet of things-based multisystem fusion communication protocol adaptation system as claimed in claim 1, wherein: the high concurrency terminal access unit adopts a bidirectional channel to carry out data transmission, and the bidirectional channel registers interesting events.
6. The ubiquitous power internet of things-based multisystem fusion communication protocol adaptation system as claimed in claim 5, wherein: the interesting events comprise a client-side receiving client-side connecting event, a client-side connecting server-side event, a reading event and a writing event.
7. The ubiquitous power internet of things-based multisystem fusion communication protocol adaptation system as claimed in claim 1, wherein: the data analysis unit firstly circularly reads and analyzes the uplink data information of the equipment through a module protocol, judges whether the length of a next field is enough to be read, analyzes the field data if the length of the next field is enough, otherwise records the current step, and then ends the instruction until all the fields are read or the data length is insufficient; and then circularly reading and analyzing by the equipment protocol, judging whether the length of the next field is enough, analyzing the field data if the length of the next field is enough, otherwise recording the current step, ending the instruction, and stopping reading until all the fields are completely read or the data length is insufficient.
8. The ubiquitous power internet of things-based multisystem fusion communication protocol adaptation system as claimed in claim 1, wherein: the power distribution terminal and the power consumption terminal are configured with a transmission protocol regulated by the equipment management platform to realize the encoding and decoding process of the message, and the rule engine of the power distribution terminal or the power consumption terminal equipment is arranged to enable the equipment management platform to add a custom rule to realize the service function of message forwarding, so that the real-time state and historical data of the power distribution terminal or the power consumption terminal equipment are displayed.
9. The ubiquitous power internet of things-based multisystem fusion communication protocol adaptation system as claimed in claim 8, wherein: the transmission protocol configuration is specifically divided into fields of various data types in an XML node mode according to system convention rules.
CN202110818501.0A 2021-07-20 2021-07-20 Multi-system fusion communication protocol adaptation system based on ubiquitous power Internet of things Active CN113660309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110818501.0A CN113660309B (en) 2021-07-20 2021-07-20 Multi-system fusion communication protocol adaptation system based on ubiquitous power Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110818501.0A CN113660309B (en) 2021-07-20 2021-07-20 Multi-system fusion communication protocol adaptation system based on ubiquitous power Internet of things

Publications (2)

Publication Number Publication Date
CN113660309A CN113660309A (en) 2021-11-16
CN113660309B true CN113660309B (en) 2024-03-22

Family

ID=78489598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110818501.0A Active CN113660309B (en) 2021-07-20 2021-07-20 Multi-system fusion communication protocol adaptation system based on ubiquitous power Internet of things

Country Status (1)

Country Link
CN (1) CN113660309B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079458A (en) * 2014-07-11 2014-10-01 北京奇虎科技有限公司 Power-line-based method and system for allowing network terminal device to have access to network and device
CN110784537A (en) * 2019-10-28 2020-02-11 国网上海市电力公司 Real-time Internet of things sensing method for power Internet of things sensing layer equipment
CN112995100A (en) * 2019-12-16 2021-06-18 国网冀北电力有限公司信息通信分公司 Intelligent terminal suitable for power Internet of things and communication access method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624560B (en) * 2012-03-12 2016-06-29 深圳市天威视讯股份有限公司 A kind of distributed deployment, centerized fusion CATV broadband access system
CN102752204A (en) * 2012-07-03 2012-10-24 中兴通讯股份有限公司 Service platform and service realization method of ubiquitous network
KR102292050B1 (en) * 2015-07-21 2021-08-23 삼성전자주식회사 Method and electronic device for transmitting data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079458A (en) * 2014-07-11 2014-10-01 北京奇虎科技有限公司 Power-line-based method and system for allowing network terminal device to have access to network and device
CN110784537A (en) * 2019-10-28 2020-02-11 国网上海市电力公司 Real-time Internet of things sensing method for power Internet of things sensing layer equipment
CN112995100A (en) * 2019-12-16 2021-06-18 国网冀北电力有限公司信息通信分公司 Intelligent terminal suitable for power Internet of things and communication access method thereof

Also Published As

Publication number Publication date
CN113660309A (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN201716844U (en) Remote electric power metering system
CN109889270B (en) Accurate load shedding system and method based on power wireless private network
CN107919003A (en) A kind of method and module and terminal for controlling the communication of electric intelligent terminal remote
CN206759742U (en) A kind of LoRa intelligent gateways, the Internet of things system of multimode communication conversion
CN104601652A (en) Beidou satellite communication system based electric communication system and method
CN113094174A (en) Method for coordination control of power distribution network terminal autonomous networking based on edge computing technology
CN116013055A (en) Test method for realizing rapid reading of electric energy meter based on HPLC (high Performance liquid chromatography) and HRF (high performance liquid chromatography) dual-mode communication technology
CN102064605A (en) Method for realizing mutual hot backup of electric energy acquisition systems
CN113965821A (en) Digital district multi-source heterogeneous communication routing system and method
CN114374584A (en) Super intelligent gateway of wireless integration based on 5G
CN113660309B (en) Multi-system fusion communication protocol adaptation system based on ubiquitous power Internet of things
CN111404583B (en) Carrier wave repeater
CN211294145U (en) Module based on low-power-consumption multi-communication-mode integration
CN110492908B (en) Electric power communication management machine based on block chain technology
CN116939896A (en) 230MHz remote communication module and method suitable for intelligent energy unit
CN108696408A (en) Barcode scanning method of network entry based on LoRa and its system
CN204291048U (en) Based on the power communication system of Beidou satellite communication system
CN111931956A (en) Management system for isolated monitoring of operation and maintenance of medical equipment
CN114157325B (en) Multi-head end communication conversion tail end device and system based on HPLC carrier network
CN214098666U (en) Electric power meter reading system based on broadband power carrier and Bluetooth circuit breaking collector
CN109714741A (en) Bluetooth repeaters, smart lock, intelligent lock system and network-building method
Sun et al. Research on Smart Grid Heterogeneous Communication System Integrating Power Line Communication and 5G Communication
CN108632290B (en) Real-time data forwarding system and method for power dispatching automation system
CN113645290A (en) Power conversion Station and vehicle WIFI communication equipment based on AP and Station dual modes
CN210518408U (en) Communication access equipment

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
GR01 Patent grant
GR01 Patent grant