CN114157692A - Multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method and system - Google Patents

Multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method and system Download PDF

Info

Publication number
CN114157692A
CN114157692A CN202111444602.2A CN202111444602A CN114157692A CN 114157692 A CN114157692 A CN 114157692A CN 202111444602 A CN202111444602 A CN 202111444602A CN 114157692 A CN114157692 A CN 114157692A
Authority
CN
China
Prior art keywords
mqtt
protocol
internet
polymorphic
source
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.)
Pending
Application number
CN202111444602.2A
Other languages
Chinese (zh)
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.)
Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangzhou Power Supply Bureau of Guangdong Power Grid 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 Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority to CN202111444602.2A priority Critical patent/CN114157692A/en
Publication of CN114157692A publication Critical patent/CN114157692A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • 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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level

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)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method and a system, wherein the method comprises the following steps: determining the position of an MQTT protocol in a power distribution Internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure; message interaction is completed by adopting a publishing or subscribing mechanism through an MQTT protocol so as to provide one-to-many message distribution; defining an MQTT data packet structure, wherein the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body; defining an SDK, and after secondary development is carried out on equipment through the SDK, accessing manufacturer equipment to an internet of things platform and carrying out unified management by the internet of things platform; and realizing multi-instance cascade deployment through the Internet of things platform so as to realize plug and play of various service terminals accessing the Internet of things platform. The invention can be used for agile development of the SDK tool for large-scale deployment in a multi-source multi-state power grid scene, and realizes plug and play of various service terminals accessing an Internet of things platform.

Description

Multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method and system
Technical Field
The invention relates to the technical field of computer application, in particular to a conversion method, a system, a terminal and a computer readable storage medium for a multi-source multi-state mass heterogeneous terminal universal access interconnection protocol.
Background
In modern power grid operation, with the development of wireless communication, hardware equipment and intelligent manufacturing technology, the power grid operation process becomes more automatic, complex and accurate than before, so that power grid monitoring becomes more difficult. Therefore, national power grids put forward a strategic goal of building the top-class energy internet in the world, and the building of strong smart power grids and ubiquitous power internet is an important support for achieving the goal.
The intelligent internet of things system is comprehensively promoted to be applied to the ground, the practicability of the internet of things platform is promoted, cross-professional co-construction, sharing and sharing are realized, various perception scenes are accessed in a standardized manner, and the practical assistance of 'quality improvement and efficiency enhancement' is the current important target. The conversion method of the universal access interconnection protocol of the multi-source multi-state mass heterogeneous terminal is a key link.
At present, a power transformation, distribution and transmission acquisition terminal is connected into an Internet of things platform, so that the problem that the Internet of things terminal lacks unified delivery standards and access standards is solved.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The invention mainly aims to provide a conversion method, a system, a terminal and a computer readable storage medium for a universal access interconnection protocol of a multi-source multi-state mass heterogeneous terminal, and aims to solve the problem that a power transformation, power distribution and power transmission acquisition terminal is accessed to an Internet of things platform in the prior art and the problem that the Internet of things terminal lacks unified delivery standards and access standards.
In order to achieve the above object, the present invention provides a conversion method for a multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol, which comprises the following steps:
determining the position of an MQTT protocol in a power distribution Internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure;
message interaction is completed by adopting a publishing or subscribing mechanism through an MQTT protocol so as to provide one-to-many message distribution;
defining an MQTT data packet structure, wherein the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body;
defining an SDK, and after secondary development is carried out on equipment through the SDK, accessing manufacturer equipment to an internet of things platform and carrying out unified management by the internet of things platform;
and realizing multi-instance cascade deployment through the Internet of things platform so as to realize plug and play of various service terminals accessing the Internet of things platform.
Optionally, the method for converting the universal access interconnection protocol of the multi-source multi-state mass heterogeneous terminal, wherein the determining of the position of the MQTT protocol in the power distribution internet-of-things communication protocol in the seven-layer ISO system and the protocol stack data structure specifically includes:
when the MQTT protocol in the power distribution Internet of things communication protocol belongs to an application layer in an ISO seven-layer system, the application layer is correspondingly the MQTT protocol;
when the MQTT protocol in the power distribution Internet of things communication protocol belongs to a transmission layer in an ISO seven-layer system, the transmission layer corresponds to a TCP protocol;
when the MQTT protocol in the power distribution Internet of things communication protocol belongs to a network layer in an ISO seven-layer system, the network layer corresponds to an IP protocol;
when determining that an MQTT protocol in a power distribution Internet of things communication protocol belongs to a link layer in an ISO seven-layer system, determining that the link layer corresponds to a link layer protocol;
and when the MQTT protocol in the power distribution Internet of things communication protocol belongs to the physical layer in the ISO seven-layer system, the physical layer corresponds to the physical layer protocol.
Optionally, the method for converting a multi-source multi-state mass heterogeneous terminal universal access interconnection protocol includes that the message interaction is completed through an MQTT protocol by using a publish or subscribe mechanism to provide one-to-many message distribution, and specifically includes:
defining the MQTT client as a device or an application program using the MQTT protocol;
the MQTT server is defined as a device or an application program which is positioned between the clients and used for processing the requests of the clients and forwarding the messages of the clients.
Optionally, the multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method includes:
publishing messages to be subscribed by other clients;
subscribing the messages published by other clients;
unsubscribe or delete messages for the application;
and disconnecting the MQTT server.
Optionally, the multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method includes:
receiving a network connection request from an MQTT client;
receiving application information issued by an MQTT client;
processing subscription and unsubscription requests from MQTT clients;
and forwarding the application program message to the subscribed MQTT client, and recording the value and the type of input and output data of the serial Matlab program.
Optionally, in the method for converting the universal access interconnection protocol of the multi-source multi-state mass heterogeneous terminal, the fixed message header exists in all MQTT data packets and represents a data packet type and a packet type identifier of the data packet;
the variable message header exists in a part of MQTT data packets, and the type of the data packets determines whether the variable message header exists and the specific content;
the information body exists in a part of MQTT data packets and represents the specific content received by the MQTT client;
the topic represents the type of the message, and the message body of the topic is received after the subscriber subscribes;
the message body represents the content of the message, and refers to data specifically used by the subscriber.
Optionally, the multi-source multi-state mass heterogeneous terminal universal access interconnection protocol conversion method is characterized in that the SDK is a secondary development interface provided for equipment manufacturers for an internet of things platform.
In addition, in order to achieve the above object, the present invention further provides a conversion system for a multi-source multi-state mass heterogeneous terminal universal access interconnection protocol, wherein the conversion system for the multi-source multi-state mass heterogeneous terminal universal access interconnection protocol comprises:
the position determining module is used for determining the position of an MQTT protocol in a power distribution Internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure;
the message interaction module is used for completing message interaction by adopting a publishing or subscribing mechanism through an MQTT protocol so as to provide one-to-many message distribution;
the structure definition module is used for defining an MQTT data packet structure, and the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body;
the access management module is used for defining the SDK, accessing manufacturer equipment to the Internet of things platform after secondary development is carried out on the equipment through the SDK, and carrying out unified management by the Internet of things platform;
and the plug-and-play module is used for realizing multi-instance cascade deployment through the Internet of things platform so as to realize plug and play of various service terminals accessing the Internet of things platform.
In addition, to achieve the above object, the present invention further provides a terminal, wherein the terminal includes: the method comprises a memory, a processor and a multi-source polymorphic mass heterogeneous terminal flood access interconnection protocol conversion program which is stored on the memory and can run on the processor, wherein when the multi-source polymorphic mass heterogeneous terminal flood access interconnection protocol conversion program is executed by the processor, the steps of the multi-source polymorphic mass heterogeneous terminal flood access interconnection protocol conversion method are realized.
In addition, in order to achieve the above object, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a multi-source polymorphic mass heterogeneous terminal flood access interconnection protocol conversion program, and when the multi-source polymorphic mass heterogeneous terminal flood access interconnection protocol conversion program is executed by a processor, the above steps of the multi-source polymorphic mass heterogeneous terminal flood access interconnection protocol conversion method are implemented.
The method comprises the steps of determining the position of an MQTT protocol in a power distribution Internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure; message interaction is completed by adopting a publishing or subscribing mechanism through an MQTT protocol so as to provide one-to-many message distribution; defining an MQTT data packet structure, wherein the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body; defining an SDK, and after secondary development is carried out on equipment through the SDK, accessing manufacturer equipment to an internet of things platform and carrying out unified management by the internet of things platform; and realizing multi-instance cascade deployment through the Internet of things platform so as to realize plug and play of various service terminals accessing the Internet of things platform. The invention can be used for an agile SDK development tool for large-scale deployment in a multi-source multi-state power grid scene, realizes the standard problem of plug and play of various service terminals accessed to an Internet of things platform, and solves the problem of rapid development of hundreds of millions of stocks or incremental heterogeneous terminals accessed to the Internet of things platform.
Drawings
Fig. 1 is a flowchart of a preferred embodiment of a multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion method of the present invention;
fig. 2 is a schematic diagram of a protocol stack data structure in a preferred embodiment of the multi-source multi-state mass heterogeneous terminal ubiquitous access interconnection protocol conversion method of the present invention;
fig. 3 is a schematic diagram illustrating interaction between a cloud platform and each device through a protocol in a preferred embodiment of the multi-source multi-state mass heterogeneous terminal universal access interconnection protocol conversion method of the present invention;
fig. 4 is a schematic diagram of a preferred embodiment of the multi-source multi-state mass heterogeneous terminal ubiquitous access interconnection protocol conversion system of the present invention;
FIG. 5 is a diagram illustrating an operating environment of a terminal according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the method for converting a multi-source polymorphic mass heterogeneous terminal flooding-access interconnection protocol according to the preferred embodiment of the present invention includes the following steps:
and S10, determining the position of an MQTT protocol in the power distribution Internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure.
Specifically, as shown in fig. 2, MQTT (Message Queuing telemeasuring Transport) in a power distribution internet of things communication protocol is determined, wherein MQTT is a client-server based Message publishing or subscribing Transport protocol, and is light, simple, open and easy to implement, and these characteristics make it have a very wide application range, and in many cases, including limited environments, such as machine-to-machine communication and internet of things, the MQTT protocol is widely used in communication sensors, occasionally-dialed medical devices, smart homes, and some miniaturized devices through satellite links) in an ISO seven-layer system, the MQTT protocol corresponds to the application layer; when the MQTT protocol in the power distribution Internet of things communication protocol belongs to a transmission layer in an ISO seven-layer system, the transmission layer corresponds to a TCP protocol; when the MQTT protocol in the power distribution Internet of things communication protocol belongs to a network layer in an ISO seven-layer system, the network layer corresponds to an IP protocol; when determining that an MQTT protocol in a power distribution Internet of things communication protocol belongs to a link layer in an ISO seven-layer system, determining that the link layer corresponds to a link layer protocol; and when the MQTT protocol in the power distribution Internet of things communication protocol belongs to the physical layer in the ISO seven-layer system, the physical layer corresponds to the physical layer protocol.
As shown in fig. 2, the MQTT protocol includes an MQTT header and data, the TCP protocol includes a TCP header, an MQTT header, and data, the IP protocol includes an IP header, a TCP header, an MQTT header, and data, the link layer protocol includes a MAC header, an IP header, a TCP header, an MQTT header, and data, and the physical layer protocol includes a bitstream.
For example, protocols such as 802.3, 4G/5G, NB-IoT, etc., are applied at the link layer, physical layer; applying TCP/IP protocol in network layer and transmission layer; and applying the MQTT protocol at an application layer.
Step S20, using publish or subscribe mechanism to complete message interaction through MQTT protocol, so as to provide one-to-many message distribution.
Specifically, an MQTT client is defined as a device or an application program using an MQTT protocol; the MQTT server is defined as a device or an application program which is positioned between the clients and used for processing the requests of the clients and forwarding the messages of the clients.
The MQTT client is defined as a device or an application program using an MQTT protocol, and has the following functions:
publishing messages to be subscribed by other clients;
subscribing the messages published by other clients;
unsubscribe or delete messages for the application;
and disconnecting the MQTT server.
The MQTT server is defined as a device or an application program which is positioned between clients, processes client requests and forwards client messages, and has the following functions:
receiving a network connection request from an MQTT client;
receiving application information issued by an MQTT client;
processing subscription and unsubscription requests from MQTT clients;
and forwarding the application program message to the subscribed MQTT client, and recording the value and the type of input and output data of the serial Matlab program.
And step S30, defining an MQTT data packet structure, wherein the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body.
Specifically, the fixed message header exists in all MQTT data packets, and represents the type of the data packet and the grouping type identifier of the data packet; the variable message header exists in a part of MQTT data packets, and the type of the data packets determines whether the variable message header exists and the specific content of the variable message header; the information body exists in a part of MQTT data packets and represents the specific content received by the MQTT client; the topic represents the type of the message, and the message body of the topic is received after the subscriber subscribes; the message body represents the content of the message, and refers to data specifically used by the subscriber.
And step S40, defining the SDK, and after secondary development is carried out on the equipment through the SDK, accessing the manufacturer equipment to the Internet of things platform and carrying out unified management by the Internet of things platform.
In particular, an agile Development SDK (Software Development Kit, a Software Development Kit is generally a collection of Development tools used by Software engineers to create application Software for a particular Software package, Software framework, hardware platform, operating system, etc., a Software Development Kit is a collection of Development tools used by Software engineers to create application Software for a particular Software package, Software framework, hardware platform, operating system, etc., an SDK is a SDK used by an application under a Development Windows platform, and may include files that simply provide application program interfaces APIs for a certain programming language, but may also include complex hardware that can communicate with an embedded system, and a general tool includes utilities for debugging and other purposes. The Agentlite-SDK is a secondary development interface provided by the Internet of things platform for equipment manufacturers, and after the equipment manufacturers use the SDK to carry out secondary development on the equipment, the equipment of the manufacturers can be accessed to the Internet of things platform and is uniformly managed by the Internet of things platform.
Defining a cloud side SDK: the cloud side SDK is integrated by cloud side application and used for reading MQS messages (mainly including equipment uplink messages and equipment solicitation messages), and mainly comprises the following components: the MQS of the cloud side is an MQS; side or end side SDK: the method comprises the steps that a side/end side application is integrated, and the side/end side application and a cloud LINK are used for carrying out information; wherein, the side or end side SDK mainly comprises: MQTT JAVA SDK, MQTT C SDK, COAP JAVA SDKCOAP C SDK.
As shown in fig. 3, the cloud platform includes a master station application and an internet of things platform (i.e., an internet of things platform), the master station application is connected with the internet of things platform through HTTP, the cloud platform is connected with the side device through MQTT, the cloud platform is connected with the end device through MQTT or CoAP, and the side device is connected with the end device through CoAP.
And step S50, realizing multi-instance cascade deployment through the Internet of things platform so as to realize plug and play of various service terminals accessing the Internet of things platform.
Specifically, the multi-instance cascade deployment of the internet of things platform is carried out, and the internet of things platform comprises: accessing an IOT Agent (equipment access), opening services, platform functions, safety and operation and maintenance, wherein the platform functions comprise service functions such as equipment management, connection management, application management, model management, rule engine and the like; the architecture and the function division of the Internet of things platform adopt a modular design, and a cluster technology is adopted in a module.
The invention provides a method for realizing universal access interconnection protocol of multi-source multi-state hundred million-level (mass) heterogeneous terminals on the basis of selecting a data communication protocol, realizes compatible adaptation of various devices and supports the access of the multi-source multi-state mass heterogeneous terminals in the future.
The method provides a multi-source multi-state hierarchical integrated Internet of things heterogeneous network architecture, designs a time delay model of a hierarchical power interconnection network protocol conversion method, a real-time improvement method is provided for wired or wireless heterogeneous network gateways and middleware of an internet of things heterogeneous network node, a backbone network in terms of both network protocols and node driving modes, in an IOT network, equipment and the network are limited generally, therefore, when the data communication protocol is selected, the factors such as calculation, storage and energy consumption of the equipment, narrow bandwidth and unstable network need to be considered, from the aspect of market application, the MQTT is relatively mature in development and relatively wide in application, and is also relatively suitable for remote monitoring and management of the equipment, the cloud side mainly researches the implementation scheme of the MQTT and the protocol in the Internet of things platform, and the position of the MQTT protocol in the power distribution Internet of things communication protocol in the ISO seven-layer system and the protocol stack data structure are determined.
According to the invention, access requirements of various sensing terminals in different development language environments such as C, Java are analyzed, an agile development SDK tool which can be used for large-scale deployment in a multi-source multi-state power grid scene is developed, the standard problem of plug and play of various service terminals accessed to an Internet of things platform is realized, and the problem of rapid development when billions of storage or incremental heterogeneous terminals are accessed to the Internet of things platform is solved.
Further, based on the above multi-source polymorphic mass heterogeneous terminal flood access interconnection protocol conversion method, as shown in fig. 5, the present invention further provides a multi-source polymorphic mass heterogeneous terminal flood access interconnection protocol conversion system, wherein the multi-source polymorphic mass heterogeneous terminal flood access interconnection protocol conversion system includes:
the position determining module 51 is used for determining the position of an MQTT protocol in a power distribution Internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure;
the message interaction module 52 is used for completing message interaction by adopting a publish or subscribe mechanism through an MQTT protocol so as to provide one-to-many message distribution;
the structure defining module 53 is used for defining an MQTT data packet structure, wherein the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body;
the access management module 54 is used for defining the SDK, accessing the manufacturer equipment to the internet of things platform after secondary development is performed on the equipment through the SDK, and performing unified management through the internet of things platform;
and the plug-and-play module 55 is used for realizing multi-instance cascade deployment through the internet of things platform so as to realize plug and play of various service terminals accessing the internet of things platform.
Further, as shown in fig. 5, based on the above method for converting the universal access interconnection protocol of the multi-source multi-state mass heterogeneous terminal, the present invention also provides a terminal, where the terminal includes a processor 10, a memory 20, and a display 30. Fig. 5 shows only some of the components of the terminal, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may in some embodiments be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal. The memory 20 may also be an external storage device of the terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the terminal. The memory 20 is used for storing application software installed in the terminal and various types of data, such as program codes of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In an embodiment, the memory 20 stores a multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion program 40, and the multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion program 40 can be executed by the processor 10, so as to implement the multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method in the present application.
The processor 10 may be, in some embodiments, a Central Processing Unit (CPU), a microprocessor or other data Processing chip, and is configured to run program codes stored in the memory 20 or process data, for example, execute the multi-source multi-state mass heterogeneous terminal universal access interconnection protocol conversion method, and the like.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used for displaying information at the terminal and for displaying a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.
In one embodiment, when the processor 10 executes the multi-source multi-state mass heterogeneous terminal flooding access interconnection protocol conversion program 40 in the memory 20, the following steps are implemented:
message interaction is completed by adopting a publishing or subscribing mechanism through an MQTT protocol so as to provide one-to-many message distribution;
defining an MQTT data packet structure, wherein the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body;
defining an SDK, and after secondary development is carried out on equipment through the SDK, accessing manufacturer equipment to an internet of things platform and carrying out unified management by the internet of things platform;
and realizing multi-instance cascade deployment through the Internet of things platform so as to realize plug and play of various service terminals accessing the Internet of things platform.
The method for determining the position of the MQTT protocol in the power distribution Internet of things communication protocol in the ISO seven-layer system and the protocol stack data structure specifically comprises the following steps:
when the MQTT protocol in the power distribution Internet of things communication protocol belongs to an application layer in an ISO seven-layer system, the application layer is correspondingly the MQTT protocol;
when the MQTT protocol in the power distribution Internet of things communication protocol belongs to a transmission layer in an ISO seven-layer system, the transmission layer corresponds to a TCP protocol;
when the MQTT protocol in the power distribution Internet of things communication protocol belongs to a network layer in an ISO seven-layer system, the network layer corresponds to an IP protocol;
when determining that an MQTT protocol in a power distribution Internet of things communication protocol belongs to a link layer in an ISO seven-layer system, determining that the link layer corresponds to a link layer protocol;
and when the MQTT protocol in the power distribution Internet of things communication protocol belongs to the physical layer in the ISO seven-layer system, the physical layer corresponds to the physical layer protocol.
Wherein, the message interaction is completed by adopting a publish or subscribe mechanism through the MQTT protocol to provide one-to-many message distribution, specifically comprising:
defining the MQTT client as a device or an application program using the MQTT protocol;
the MQTT server is defined as a device or an application program which is positioned between the clients and used for processing the requests of the clients and forwarding the messages of the clients.
Wherein, the function that the MQTT client possesses includes:
publishing messages to be subscribed by other clients;
subscribing the messages published by other clients;
unsubscribe or delete messages for the application;
and disconnecting the MQTT server.
Wherein, the function that MQTT server end possesses includes:
receiving a network connection request from an MQTT client;
receiving application information issued by an MQTT client;
processing subscription and unsubscription requests from MQTT clients;
and forwarding the application program message to the subscribed MQTT client, and recording the value and the type of input and output data of the serial Matlab program.
The fixed message header exists in all MQTT data packets and represents the type of the data packet and the grouping type identification of the data packet;
the variable message header exists in a part of MQTT data packets, and the type of the data packets determines whether the variable message header exists and the specific content;
the information body exists in a part of MQTT data packets and represents the specific content received by the MQTT client;
the topic represents the type of the message, and the message body of the topic is received after the subscriber subscribes;
the message body represents the content of the message, and refers to data specifically used by the subscriber.
The SDK is a secondary development interface provided for equipment manufacturers for the Internet of things platform.
The invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion program, and the multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion program is executed by a processor to realize the steps of the multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method.
In summary, the present invention provides a method, a system, a terminal and a computer readable storage medium for converting a multi-source multi-state mass heterogeneous terminal universal access interconnection protocol, where the method includes: determining the position of an MQTT protocol in a power distribution Internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure; message interaction is completed by adopting a publishing or subscribing mechanism through an MQTT protocol so as to provide one-to-many message distribution; defining an MQTT data packet structure, wherein the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body; defining an SDK, and after secondary development is carried out on equipment through the SDK, accessing manufacturer equipment to an internet of things platform and carrying out unified management by the internet of things platform; and realizing multi-instance cascade deployment through the Internet of things platform so as to realize plug and play of various service terminals accessing the Internet of things platform. The invention can be used for an agile SDK development tool for large-scale deployment in a multi-source multi-state power grid scene, realizes the standard problem of plug and play of various service terminals accessed to an Internet of things platform, and solves the problem of rapid development of hundreds of millions of stocks or incremental heterogeneous terminals accessed to the Internet of things platform.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The computer readable storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method is characterized by comprising the following steps:
determining the position of an MQTT protocol in a power distribution Internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure;
message interaction is completed by adopting a publishing or subscribing mechanism through an MQTT protocol so as to provide one-to-many message distribution;
defining an MQTT data packet structure, wherein the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body;
defining an SDK, and after secondary development is carried out on equipment through the SDK, accessing manufacturer equipment to an internet of things platform and carrying out unified management by the internet of things platform;
and realizing multi-instance cascade deployment through the Internet of things platform so as to realize plug and play of various service terminals accessing the Internet of things platform.
2. The multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion method according to claim 1, wherein the determining of the position of an MQTT protocol in a power distribution internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure specifically comprises:
when the MQTT protocol in the power distribution Internet of things communication protocol belongs to an application layer in an ISO seven-layer system, the application layer is correspondingly the MQTT protocol;
when the MQTT protocol in the power distribution Internet of things communication protocol belongs to a transmission layer in an ISO seven-layer system, the transmission layer corresponds to a TCP protocol;
when the MQTT protocol in the power distribution Internet of things communication protocol belongs to a network layer in an ISO seven-layer system, the network layer corresponds to an IP protocol;
when determining that an MQTT protocol in a power distribution Internet of things communication protocol belongs to a link layer in an ISO seven-layer system, determining that the link layer corresponds to a link layer protocol;
and when the MQTT protocol in the power distribution Internet of things communication protocol belongs to the physical layer in the ISO seven-layer system, the physical layer corresponds to the physical layer protocol.
3. The multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion method according to claim 1, wherein the message interaction is completed by adopting a publish or subscribe mechanism through an MQTT protocol to provide one-to-many message distribution, specifically comprising:
defining the MQTT client as a device or an application program using the MQTT protocol;
the MQTT server is defined as a device or an application program which is positioned between the clients and used for processing the requests of the clients and forwarding the messages of the clients.
4. The multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion method according to claim 3, wherein the MQTT client has functions including:
publishing messages to be subscribed by other clients;
subscribing the messages published by other clients;
unsubscribe or delete messages for the application;
and disconnecting the MQTT server.
5. The multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion method according to claim 3, wherein the MQTT server side has functions including:
receiving a network connection request from an MQTT client;
receiving application information issued by an MQTT client;
processing subscription and unsubscription requests from MQTT clients;
and forwarding the application program message to the subscribed MQTT client, and recording the value and the type of input and output data of the serial Matlab program.
6. The multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion method according to claim 1, wherein the fixed headers exist in all MQTT data packets, and represent packet types and packet class identifications of the data packets;
the variable message header exists in a part of MQTT data packets, and the type of the data packets determines whether the variable message header exists and the specific content;
the information body exists in a part of MQTT data packets and represents the specific content received by the MQTT client;
the topic represents the type of the message, and the message body of the topic is received after the subscriber subscribes;
the message body represents the content of the message, and refers to data specifically used by the subscriber.
7. The multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion method according to claim 1, wherein the SDK is a secondary development interface provided for equipment manufacturers for an internet of things platform.
8. The utility model provides a heterogeneous terminal of multisource polymorphic mass general access interconnection agreement conversion system which characterized in that, the heterogeneous terminal general access interconnection agreement conversion system of multisource polymorphic mass includes:
the position determining module is used for determining the position of an MQTT protocol in a power distribution Internet of things communication protocol in an ISO seven-layer system and a protocol stack data structure;
the message interaction module is used for completing message interaction by adopting a publishing or subscribing mechanism through an MQTT protocol so as to provide one-to-many message distribution;
the structure definition module is used for defining an MQTT data packet structure, and the MQTT data packet structure comprises a fixed message header, a variable message header, an information body, a theme and an information body;
the access management module is used for defining the SDK, accessing manufacturer equipment to the Internet of things platform after secondary development is carried out on the equipment through the SDK, and carrying out unified management by the Internet of things platform;
and the plug-and-play module is used for realizing multi-instance cascade deployment through the Internet of things platform so as to realize plug and play of various service terminals accessing the Internet of things platform.
9. A terminal, characterized in that the terminal comprises: the method comprises a memory, a processor and a multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion program which is stored on the memory and can run on the processor, wherein when the multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion program is executed by the processor, the steps of the multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method according to any one of claims 1 to 7 are realized.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores a multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion program, and when the multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion program is executed by a processor, the steps of the multi-source polymorphic mass heterogeneous terminal ubiquitous access interconnection protocol conversion method according to any one of claims 1 to 7 are implemented.
CN202111444602.2A 2021-11-30 2021-11-30 Multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method and system Pending CN114157692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111444602.2A CN114157692A (en) 2021-11-30 2021-11-30 Multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111444602.2A CN114157692A (en) 2021-11-30 2021-11-30 Multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method and system

Publications (1)

Publication Number Publication Date
CN114157692A true CN114157692A (en) 2022-03-08

Family

ID=80454977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111444602.2A Pending CN114157692A (en) 2021-11-30 2021-11-30 Multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method and system

Country Status (1)

Country Link
CN (1) CN114157692A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422555A (en) * 2022-03-28 2022-04-29 成都柔水科技有限公司 CIM platform based method for self-defined configuration of IoT data analysis
CN114567620A (en) * 2022-03-10 2022-05-31 河钢数字技术股份有限公司 MQTT protocol-based digital model and physical equipment matching system and method
CN115514667A (en) * 2022-09-14 2022-12-23 京东方科技集团股份有限公司 Access service processing method, system, device, electronic equipment and storage medium
CN116527645A (en) * 2023-07-05 2023-08-01 杭州实在智能科技有限公司 Method and system for controlling integrated RPA flow of terminal of Internet of things

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819675A (en) * 2017-11-24 2018-03-20 湖南瓴星空间信息技术有限公司 A kind of things-internet gateway and Internet of Things communication means
WO2019029320A1 (en) * 2017-08-11 2019-02-14 华为技术有限公司 Configuration management method, apparatus and device
CN112333227A (en) * 2020-09-11 2021-02-05 浙江工业大学 Internet of things platform of mixed type protocol based on rule engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019029320A1 (en) * 2017-08-11 2019-02-14 华为技术有限公司 Configuration management method, apparatus and device
CN107819675A (en) * 2017-11-24 2018-03-20 湖南瓴星空间信息技术有限公司 A kind of things-internet gateway and Internet of Things communication means
CN112333227A (en) * 2020-09-11 2021-02-05 浙江工业大学 Internet of things platform of mixed type protocol based on rule engine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何辉 基于业务的配电工控网络流量异常检测研究, 工程科技II辑 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567620A (en) * 2022-03-10 2022-05-31 河钢数字技术股份有限公司 MQTT protocol-based digital model and physical equipment matching system and method
CN114567620B (en) * 2022-03-10 2023-09-22 河钢数字技术股份有限公司 Digital model and physical equipment matching system and method based on MQTT protocol
CN114422555A (en) * 2022-03-28 2022-04-29 成都柔水科技有限公司 CIM platform based method for self-defined configuration of IoT data analysis
CN114422555B (en) * 2022-03-28 2022-07-12 成都柔水科技有限公司 CIM platform based method for self-defined configuration of IoT data analysis
CN115514667A (en) * 2022-09-14 2022-12-23 京东方科技集团股份有限公司 Access service processing method, system, device, electronic equipment and storage medium
CN116527645A (en) * 2023-07-05 2023-08-01 杭州实在智能科技有限公司 Method and system for controlling integrated RPA flow of terminal of Internet of things
CN116527645B (en) * 2023-07-05 2023-10-13 杭州实在智能科技有限公司 Method and system for controlling integrated RPA flow of terminal of Internet of things

Similar Documents

Publication Publication Date Title
CN114157692A (en) Multi-source polymorphic mass heterogeneous terminal universal access interconnection protocol conversion method and system
CN114553873B (en) SOA-based vehicle-cloud cooperative control system, method and readable storage medium
CN109391500B (en) Configuration management method, device and equipment
CN112769938B (en) Kubernets cloud side communication system and method based on QUIC
US20170244792A1 (en) Power-Line Carrier Terminal Control Apparatus, System, and Method
CN111835826A (en) Cloud edge cooperative linkage system suitable for smart internet of things system
US8285828B2 (en) Method and system for platform level data model for indications based event control and data transfer
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
CN111427664A (en) Container-based protocol analysis method, device, system and storage medium
WO2011076146A1 (en) Method for downloading application data, digital television reception terminal and system
CN102763373A (en) Method and apparatus for using service of home network device based on remote access
EP4030725A1 (en) Data subscription method, apparatus and system
CN115412602A (en) Data parsing and transferring method, device, equipment and medium for digital twin
CN110166485B (en) Protocol scheduling and using method and device
CN113596017B (en) Protocol analysis method and device, soft gateway and storage medium
CN110888329A (en) Intelligent home platform with open access of equipment manufacturer and data processing method thereof
CN109672668B (en) Mapping method of GDA interface and OPC UA service
WO2016110070A1 (en) Data acquiring method and device, and storage medium
US9560145B2 (en) XMPP based UPNP device architecture for cloud computing in a network environment
CN112817539A (en) Industrial data storage method and system, electronic device and storage medium
CN116800787A (en) Vehicle-mounted communication method and system based on Ethernet communication protocol
CN111466126B (en) Communication with restricted devices
CN114051030A (en) Communication method, communication device, smart community system and storage medium
Li et al. Efficient oneM2M protocol conversion platform based on NB-IoT access
CN113438218A (en) Communication method and device based on SOME/IP protocol, storage medium and terminal

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