CN113572257B - Protocol and model matching-based power distribution Internet of things side-end interaction method and system - Google Patents

Protocol and model matching-based power distribution Internet of things side-end interaction method and system Download PDF

Info

Publication number
CN113572257B
CN113572257B CN202110649270.5A CN202110649270A CN113572257B CN 113572257 B CN113572257 B CN 113572257B CN 202110649270 A CN202110649270 A CN 202110649270A CN 113572257 B CN113572257 B CN 113572257B
Authority
CN
China
Prior art keywords
protocol
intelligent terminal
protocol message
special mark
model
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
CN202110649270.5A
Other languages
Chinese (zh)
Other versions
CN113572257A (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
China Electric Power Research Institute Co Ltd CEPRI
Nanjing Power Supply Co of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Nanjing Power Supply Co of State Grid Jiangsu 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, China Electric Power Research Institute Co Ltd CEPRI, Nanjing Power Supply Co of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202110649270.5A priority Critical patent/CN113572257B/en
Publication of CN113572257A publication Critical patent/CN113572257A/en
Application granted granted Critical
Publication of CN113572257B publication Critical patent/CN113572257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00028Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment involving the use of Internet protocols
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/12Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment
    • Y04S40/128Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment involving the use of Internet protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a protocol and model matching-based power distribution Internet of things side interaction method and system, comprising the following steps: the intelligent terminal equipment generates a protocol message containing own model information and acquisition information by using a set transmission protocol, adds a special mark related to the transmission protocol into the protocol message based on a protocol library, and transmits the added protocol message to the intelligent terminal of the power distribution station. And when receiving the protocol message transmitted by the intelligent terminal equipment, the intelligent terminal of the power distribution station intercepts a special mark in the protocol message and performs transmission protocol matching, decodes the protocol message into a plaintext by using the matched transmission protocol, matches model information in the plaintext with model information in a model library, and uploads the model information and acquisition information in the plaintext to a data center when the matching is successful. According to the invention, through automatic matching of the protocol and the model information, the efficiency and the safety of data interaction between the intelligent terminal and the intelligent terminal equipment in the power distribution area are effectively improved.

Description

Protocol and model matching-based power distribution Internet of things side-end interaction method and system
Technical Field
The invention relates to the technical field of power distribution network intellectualization, in particular to a power distribution Internet of things side interaction method and system based on protocol and model matching.
Background
Along with the gradual popularization and construction of the power distribution Internet of things, a large number of intelligent power distribution equipment in a platform area are put into use, and plug and play of the power distribution equipment becomes an important means for accelerating the construction of the power distribution Internet of things, and the difficulty of information interaction between side equipment in the power distribution Internet of things is steep.
When the information interaction of the side equipment is carried out, the intelligent side equipment (namely the side equipment) can send the acquired information and own model information forming protocol message to the side equipment, and after the side equipment receives the message, operation and maintenance personnel can recognize the transmission protocol and the model information of the intelligent side equipment one by one to analyze the corresponding acquired information.
However, as the side-end interaction in the power distribution Internet of things involves numerous protocols and complicated equipment, when a large amount of equipment in the power distribution Internet of things is connected to operate, the problems of large workload, high content repeatability, low efficiency, high personnel cost and the like of operation and maintenance personnel identification are caused, and the construction speed of the power distribution Internet of things is seriously reduced.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a protocol and model matching-based power distribution Internet of things side interaction method, which comprises the following steps:
generating a protocol message containing own model information and acquisition information by utilizing a self-set transmission protocol;
acquiring the number of the transmission protocol from a pre-established protocol library, and generating a special mark corresponding to the transmission protocol by using the number;
and inserting the special mark at a specific position of the protocol message, and transmitting the added protocol message to the intelligent terminal of the distribution area.
Preferably, the pre-established protocol library consists of known protocols and corresponding numbers stored in a 10-system form;
the model information includes: unique identification of type, manufacturer and equipment;
the specific position is pre-agreed by the intelligent terminal and the intelligent terminal equipment of the distribution area in the distribution Internet of things.
Further, the generating the special mark corresponding to the transmission protocol by using the number includes:
the number is rewritten from a 10-ary form to a 16-ary form having a specific character number, and the rewritten number is used as a special mark corresponding to the transmission protocol.
Furthermore, the specific character number is pre-agreed by intelligent terminals and intelligent terminal equipment in a distribution area in the distribution Internet of things.
Based on the same inventive concept, the invention also provides an intelligent terminal device, comprising:
the protocol message generating module is used for generating a protocol message containing own model information and acquisition information by utilizing a transmission protocol set by the protocol message generating module;
the special mark generation module is used for acquiring the number of the transmission protocol from a pre-established protocol library and generating a special mark corresponding to the transmission protocol by utilizing the number;
and the protocol message sending module is used for inserting the special mark after the specific position of the protocol message and transmitting the added protocol message to the intelligent terminal of the distribution area.
Preferably, the pre-established protocol library consists of known protocols and corresponding numbers stored in a 10-system form;
the model information includes: unique identification of type, manufacturer and equipment;
the specific position is pre-agreed by the intelligent terminal and the intelligent terminal equipment of the distribution area in the distribution Internet of things.
Further, the special mark generation module is configured to: the number is rewritten from a 10-ary form to a 16-ary form having a specific character number, and the rewritten number is used as a special mark corresponding to the transmission protocol.
Furthermore, the specific character number is pre-agreed by intelligent terminals and intelligent terminal equipment of a power distribution area in the power distribution Internet of things.
Based on the same inventive concept, the invention also provides a power distribution internet of things side interaction method based on protocol and model matching, which comprises the following steps:
when receiving a protocol message transmitted by intelligent terminal equipment, intercepting a special mark in the protocol message;
determining a transmission protocol corresponding to the protocol message by utilizing the special mark and a pre-established protocol library;
decoding the protocol message after intercepting the special mark by utilizing the transmission protocol to obtain model information and acquisition information recorded in the protocol message after intercepting the special mark;
and matching the model information with model information stored in a pre-established model library, and uploading the model information and the acquired information to a data center when the matching is successful.
Preferably, the pre-established protocol library consists of known protocols and corresponding numbers stored in a 10-system form;
the model library consists of model information of all intelligent terminal devices in the power distribution Internet of things;
the specific position and the specific character number are preset by an intelligent terminal and intelligent terminal equipment of a distribution station in the distribution Internet of things;
the model information includes: type, manufacturer and equipment unique identification.
Preferably, the intercepting the special mark in the protocol message includes:
and intercepting a protocol message fragment with a specific character number after a specific position of the protocol message, and taking the fragment as a special mark in the protocol message.
Further, the determining, by using the special tag and a pre-established protocol library, a transmission protocol corresponding to the protocol packet includes:
the special mark is converted into a 10-system form and matched with numbers corresponding to various protocols in a pre-established protocol library;
and taking the protocol corresponding to the successfully matched number as the transmission protocol corresponding to the protocol message.
Based on the same inventive concept, the invention also provides an intelligent terminal of a power distribution station, comprising:
the intercepting module is used for intercepting a special mark in a protocol message transmitted by intelligent terminal equipment when the protocol message is received;
the transmission protocol matching module is used for determining a transmission protocol corresponding to the protocol message by utilizing the special mark and a pre-established protocol library;
the decoding module is used for decoding the protocol message after the special mark is intercepted by utilizing the transmission protocol to obtain model information and acquisition information recorded in the protocol message after the special mark is intercepted;
and the model information matching and information transmission module is used for matching the model information with the model information stored in a pre-established model library and uploading the model information and the acquired information to a data center when the matching is successful.
Preferably, the pre-established protocol library consists of known protocols and corresponding numbers stored in a 10-system form;
the model library consists of model information of all intelligent terminal devices in the power distribution Internet of things;
the specific position and the specific character number are preset by an intelligent terminal and intelligent terminal equipment of a distribution station in the distribution Internet of things;
the model information includes: type, manufacturer and equipment unique identification.
Preferably, the intercepting module is configured to: and intercepting a protocol message fragment with a specific character number after a specific position of the protocol message, and taking the fragment as a special mark in the protocol message.
Preferably, the transmitted protocol matching module includes:
the matching unit is used for converting the special mark into a 10-system form and matching the special mark with numbers corresponding to various protocols in a pre-established protocol library;
and the definition unit is used for taking the protocol corresponding to the successfully matched number as the transmission protocol corresponding to the protocol message.
Based on the same inventive concept, the invention also provides a power distribution internet of things side interaction system based on protocol and model matching, which is characterized by comprising: the intelligent terminal equipment comprises a data center, an application center, a plurality of intelligent terminals of power distribution areas for transmitting information to the data center and intelligent terminal equipment for respectively carrying out information interaction with the intelligent terminals of the power distribution areas;
the application center is used for storing a protocol library and a model library, acquiring a corresponding number expressed in a 10-system form when a new protocol is found, supplementing the number and the number to the protocol library, and supplementing corresponding model information to the model library when a new intelligent terminal device is accessed to the power distribution Internet of things;
the data center is used for receiving the model information and the acquisition information sent by the intelligent terminal of the power distribution area.
Compared with the closest prior art, the invention has the following beneficial effects:
the invention provides a power distribution internet of things side interaction method based on protocol and model matching, which comprises the steps of generating protocol messages containing own model information and acquisition information by utilizing a transmission protocol set by the user; acquiring the number of the transmission protocol from a pre-established protocol library, and generating a special mark corresponding to the transmission protocol by using the number; and inserting the special mark at a specific position of the protocol message, and transmitting the added protocol message to the intelligent terminal of the distribution area. The invention improves the safety of data interaction between the intelligent terminal and the intelligent terminal equipment in the power distribution area by carrying out specific identification on the transmission protocol of the intelligent terminal equipment.
The invention provides a distribution internet of things side interaction method based on protocol and model matching, which comprises the steps of intercepting a special mark in a protocol message transmitted by intelligent terminal equipment when the protocol message is received; determining a transmission protocol corresponding to the protocol message by utilizing the special mark and a pre-established protocol library; decoding the protocol message after intercepting the special mark by utilizing the transmission protocol to obtain model information and acquisition information recorded in the protocol message after intercepting the special mark; and matching the model information with model information stored in a pre-established model library, and uploading the model information and the acquired information to a data center when the matching is successful. According to the invention, through automatic matching of the protocol and the model information, the data interaction efficiency between the intelligent terminal and the intelligent terminal equipment in the power distribution area is effectively improved, and meanwhile, the data interaction safety is improved.
The invention provides a distribution internet of things side interaction system based on protocol and model matching, which comprises the following steps: the intelligent terminal equipment comprises a data center, an application center, a plurality of intelligent terminals of power distribution areas for transmitting information to the data center and intelligent terminal equipment for respectively carrying out information interaction with the intelligent terminals of the power distribution areas; the application center is used for storing a protocol library and a model library, acquiring a corresponding number expressed in a 10-system form when a new protocol is found, supplementing the number and the number to the protocol library, and supplementing corresponding model information to the model library when a new intelligent terminal device is accessed to the power distribution Internet of things; the data center is used for receiving the model information and the acquisition information sent by the intelligent terminal of the power distribution area. According to the invention, through automatic matching of the protocol and the model information, the data interaction efficiency between the intelligent terminal and the intelligent terminal equipment in the power distribution area is effectively improved, and meanwhile, the data interaction safety is improved.
Drawings
FIG. 1 is a flow chart of a protocol and model matching-based power distribution Internet of things side interaction method executed by intelligent terminal equipment;
FIG. 2 is a diagram of a configuration of an intelligent terminal device according to the present invention;
fig. 3 is a flowchart of a protocol and model matching-based power distribution internet of things side interaction method executed by the intelligent terminal of the power distribution area;
fig. 4 is a diagram of a distribution area intelligent terminal according to the present invention;
fig. 5 is a system structure diagram of a power distribution internet of things side interaction method provided by the invention;
fig. 6 is a flow chart of information interaction between the pre-preparation and the intelligent terminal equipment and the intelligent terminal of the distribution area in the embodiment of the invention;
fig. 7 is a comparison diagram of RS485 protocol messages before and after adding a special mark in the embodiment of the present invention.
Detailed Description
The following describes the embodiments of the present invention in further detail with reference to the drawings.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Some terms related to the present invention will be explained first:
the intelligent terminal of the power distribution area is side equipment. The intelligent terminal equipment meets the requirements of high-performance concurrency, large-capacity storage and multiple acquisition objects, and integrates the functions of power distribution station power supply and electricity consumption acquisition, data collection of each acquisition terminal or electric energy meter, equipment state monitoring and the like.
The intelligent terminal equipment is terminal equipment. The system has communication access capability, supports the collection and processing of related information, and can transmit information to the side equipment.
And the data center is used for receiving the service data uploaded by the intelligent terminal of the power distribution station.
Example 1:
the invention provides a protocol and model matching-based power distribution internet of things side interaction method, which is shown in fig. 1 and comprises the following steps:
step 1, generating a protocol message containing own model information and acquisition information by utilizing a self-set transmission protocol;
step 2, obtaining the number of the transmission protocol from a pre-established protocol library, and generating a special mark corresponding to the transmission protocol by using the number;
and step 3, inserting the special mark after the specific position of the protocol message, and transmitting the added protocol message to the intelligent terminal of the distribution area.
Further, the pre-established protocol library consists of known protocols and corresponding numbers stored in a 10-system form;
the model information includes: unique identification of type, manufacturer and equipment;
the specific position is pre-agreed by the intelligent terminal and the intelligent terminal equipment of the distribution area in the distribution Internet of things.
Specifically, the step 2 includes:
the number is rewritten from a 10-ary form to a 16-ary form having a specific character number, and the rewritten number is used as a special mark corresponding to the transmission protocol.
Specifically, the specific character number is pre-agreed by intelligent terminals and intelligent terminal equipment in a distribution area in the distribution Internet of things.
Example 2:
the invention provides an intelligent terminal device, as shown in fig. 2, which comprises:
the protocol message generating module is used for generating a protocol message containing own model information and acquisition information by utilizing a transmission protocol set by the protocol message generating module;
the special mark generation module is used for acquiring the number of the transmission protocol from a pre-established protocol library and generating a special mark corresponding to the transmission protocol by utilizing the number;
and the protocol message sending module is used for inserting the special mark after the specific position of the protocol message and transmitting the added protocol message to the intelligent terminal of the distribution area.
Specifically, the pre-established protocol library consists of known protocols and corresponding numbers stored in a 10-system form;
the model information includes: unique identification of type, manufacturer and equipment;
the specific position is pre-agreed by the intelligent terminal and the intelligent terminal equipment of the distribution area in the distribution Internet of things.
Specifically, the special mark generation module is used for: the number is rewritten from a 10-ary form to a 16-ary form having a specific character number, and the rewritten number is used as a special mark corresponding to the transmission protocol.
Specifically, the specific character number is pre-agreed by intelligent terminals and intelligent terminal equipment in a distribution area in the distribution Internet of things.
Example 3:
the invention provides a protocol and model matching-based power distribution internet of things side interaction method, which is shown in fig. 3 and comprises the following steps:
step A, when receiving a protocol message transmitted by intelligent terminal equipment, intercepting a special mark in the protocol message;
step B, determining a transmission protocol corresponding to the protocol message by utilizing the special mark and a pre-established protocol library;
step C, decoding the protocol message after intercepting the special mark by utilizing the transmission protocol to obtain model information and acquisition information recorded in the protocol message after intercepting the special mark;
and D, matching the model information with model information stored in a pre-established model library, and uploading the model information and the acquired information to a data center when the matching is successful.
In this embodiment, if the model information is not successfully matched with the model information stored in the pre-established model library, the model information and the acquisition information are not transmitted to the data center.
Specifically, the pre-established protocol library consists of known protocols and corresponding numbers stored in a 10-system form;
the model library consists of model information of all intelligent terminal devices in the power distribution Internet of things;
the specific position and the specific character number are preset by an intelligent terminal and intelligent terminal equipment of a distribution station in the distribution Internet of things;
the model information includes: type, manufacturer and equipment unique identification.
Specifically, the step a includes:
and step A-1, intercepting a protocol message fragment with a specific character number after a specific position of the protocol message, and taking the fragment as a special mark in the protocol message.
Specifically, the step B includes:
b-1, converting the special mark into a 10-system form, and matching the special mark with numbers corresponding to various protocols in a pre-established protocol library;
and B-2, taking the protocol corresponding to the successfully matched number as the transmission protocol corresponding to the protocol message.
Example 4:
the invention provides a power distribution area intelligent terminal, as shown in fig. 4, which comprises:
the intercepting module is used for intercepting a special mark in a protocol message transmitted by intelligent terminal equipment when the protocol message is received;
the transmission protocol matching module is used for determining a transmission protocol corresponding to the protocol message by utilizing the special mark and a pre-established protocol library;
the decoding module is used for decoding the protocol message after the special mark is intercepted by utilizing the transmission protocol to obtain model information and acquisition information recorded in the protocol message after the special mark is intercepted;
and the model information matching and information transmission module is used for matching the model information with the model information stored in a pre-established model library and uploading the model information and the acquired information to a data center when the matching is successful.
Specifically, the pre-established protocol library consists of known protocols and corresponding numbers stored in a 10-system form;
the model library consists of model information of all intelligent terminal devices in the power distribution Internet of things;
the specific position and the specific character number are preset by an intelligent terminal and intelligent terminal equipment of a distribution station in the distribution Internet of things;
the model information includes: type, manufacturer and equipment unique identification.
Specifically, the intercepting module is used for: and intercepting a protocol message fragment with a specific character number after a specific position of the protocol message, and taking the fragment as a special mark in the protocol message.
Specifically, the transmitted protocol matching module includes:
the matching unit is used for converting the special mark into a 10-system form and matching the special mark with numbers corresponding to various protocols in a pre-established protocol library;
and the definition unit is used for taking the protocol corresponding to the successfully matched number as the transmission protocol corresponding to the protocol message.
Example 5:
the invention provides a protocol and model matching-based power distribution internet of things side interaction system, as shown in fig. 5, which comprises:
the intelligent terminal equipment comprises a data center, an application center, a plurality of intelligent terminals of power distribution areas for transmitting information to the data center and intelligent terminal equipment for respectively carrying out information interaction with the intelligent terminals of the power distribution areas;
the application center is used for storing a protocol library and a model library, acquiring a corresponding number expressed in a 10-system form when a new protocol is found, supplementing the number and the number to the protocol library, and supplementing corresponding model information to the model library when a new intelligent terminal device is accessed to the power distribution Internet of things;
the data center is used for receiving the model information and the acquisition information sent by the intelligent terminal of the power distribution area.
In this embodiment, the interaction process between the pre-preparation and the intelligent terminal equipment and the intelligent terminal of the distribution area of the present invention is shown in fig. 6, and the following pre-preparation needs to be performed before the present invention is applied:
(1): storing all the known protocols and the corresponding 10-system numbers thereof into a protocol library;
(2): storing model information of all known intelligent terminal devices in the platform area into a model library; the model information includes: unique identification of type, manufacturer and equipment;
after the corresponding preparation work is finished, the information interaction between the intelligent terminal equipment and the intelligent terminal of the power distribution area can be executed, and the interaction process is specifically as follows:
firstly, the intelligent terminal equipment utilizes an inherent transmission protocol to form a protocol message of information (model information+acquisition information) to be transmitted; secondly, the number (four-bit 10-system number) of the inherent transmission protocol is obtained, and the number is converted into eight-bit 16-system number; finally, adding the eight-bit 16-system number as an eight-bit special marking character at the front end of the protocol message to form a new protocol message and transmitting the new protocol message to the intelligent terminal of the distribution area;
when the intelligent terminal of the power distribution station receives the protocol message transmitted by the intelligent terminal equipment, the first eight special marking characters are intercepted to carry out the system conversion, the first eight special marking characters are converted into 10 system, the converted special marking characters are converted into four decimal special marking characters, and then the special marking characters are matched with the protocols in the protocol library. After the protocol matching is successful, the intelligent terminal of the distribution area analyzes the received protocol message into a plaintext through the matched protocol. The intelligent terminal of the power distribution station area matches the model information in the parsed plaintext with the model information in the model library, and uploads the model information in the nameplate and the acquired information to the data center after the matching is successful.
The protocol library and the model library are stored in an application center, the application center can continuously expand new protocols, and the new protocols and the corresponding 10-system numbers are supplemented into the protocol library; after new intelligent terminal equipment in the platform area passes official detection, model information of the intelligent terminal equipment is transmitted to an application center, and the application center supplements the model information into a model library, so that the effect of continuously updating the model library is achieved.
In the embodiment of the invention, the number of the known protocol in the protocol library can also be expressed by binary, octal or 16 scale, etc., when the intelligent terminal equipment generates a special mark corresponding to the inherent transmission protocol, the number of the inherent transmission protocol can be converted into other scales except 16 scale, but the intelligent terminal of the distribution area needs to correspondingly change when the special mark is used for identifying the transmission protocol corresponding to the protocol message, so as to ensure the identification accuracy.
Example 6:
the intelligent ammeter is used as intelligent terminal equipment, the intelligent terminal of the power distribution area is used as side equipment, and the intelligent terminal equipment is combined with data transmission of the intelligent ammeter to explain the intelligent ammeter.
Step S1: forming an RS485 protocol message by the model information and the acquired data of the intelligent ammeter:
7B2274797065223A22524344222276656E646F72223A22E585ACE58FB822226964656E74223A2243432D44392D41432D42312D42462D3746222264617461223A7B225068565F70687341223A22323230227D7D;
wherein the model information includes: unique identification of type, manufacturer and equipment;
collecting data, comprising:
step S2: forming a new RS485 protocol message by adding special marks to the message:
000000057B2274797065223A22524344222276656E646F72223A22E585ACE58FB822226964656E74223A2243432D44392D41432D42312D42462D3746222264617461223A7B225068565F70687341223A22323230227D7D;
as shown in FIG. 7, the step S2 specifically includes:
s2-1, acquiring a 10-system number of an RS485 protocol, and rewriting the 10-system number into an eight-bit 16-system number;
and S2-2, adding the eight-bit 16-ary number as an 8-bit special marking character at the front end of the original RS485 protocol message to form a new RS485 protocol message.
The 10 system numbers of the RS485 protocol are stored in a pre-established protocol library, and the protocol library consists of various existing protocols and the 10 system numbers corresponding to the protocols.
Step S3: the intelligent ammeter sends a new RS485 protocol message to the intelligent terminal of the distribution area;
step S4: the intelligent terminal of the power distribution station intercepts the first eight-bit character 00000005 of the transmission message and converts the character into a four-bit decimal number;
step S5: the intelligent terminal of the power distribution station area matches the four-bit decimal number with the 10-bit serial numbers of various protocols in the protocol library to obtain a matched RS485 protocol;
step S6: the intelligent terminal in the power distribution station analyzes a received RS485 protocol message formed by 'model information+acquired data' of the intelligent ammeter into a plaintext through an RS485 protocol:
for example: { "model": "RCD", "vendor": "company", "ident": "CC-D9-AC-B1-BF-7F", "data": { "PhV _phsA": "220" };
step S7: the intelligent terminal of the distribution station area extracts model information in the text of RCD, vendor, company, ident, CC-D9-AC-B1-BF-7F;
step S8: the intelligent terminal of the power distribution station matches the model information with the model information of each intelligent terminal device in the model library to obtain matched intelligent terminal devices (namely the intelligent ammeter);
the model library consists of intelligent terminal devices in the platform region and corresponding model information thereof;
step S9: the intelligent terminal of the distribution area stores matched intelligent terminal equipment and corresponding acquired data of the intelligent terminal equipment in a data center, wherein the acquired data are { "PhV _phsA": "220" }.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.

Claims (5)

1. The power distribution Internet of things side interaction method based on protocol and model matching is characterized by comprising the following steps of:
generating a protocol message containing own model information and acquisition information by utilizing a self-set transmission protocol;
acquiring the number of the transmission protocol from a pre-established protocol library, and generating a special mark corresponding to the transmission protocol by using the number;
inserting the special mark after the specific position of the protocol message, and transmitting the added protocol message to the intelligent terminal of the distribution area;
the pre-established protocol library consists of known various protocols and corresponding numbers stored in a 10-system form;
the model information includes: unique identification of type, manufacturer and equipment;
the specific position is pre-agreed by an intelligent terminal and intelligent terminal equipment of a distribution station in the distribution Internet of things;
the generating a special mark corresponding to the transmission protocol by using the number comprises the following steps:
the number is rewritten from a 10-scale form to a 16-scale form with a specific character number, and the rewritten number is used as a special mark corresponding to the transmission protocol;
the specific character number is pre-agreed by intelligent terminals and intelligent terminal equipment in a distribution area in the distribution Internet of things.
2. An intelligent terminal device, comprising:
the protocol message generating module is used for generating a protocol message containing own model information and acquisition information by utilizing a transmission protocol set by the protocol message generating module;
the special mark generation module is used for acquiring the number of the transmission protocol from a pre-established protocol library and generating a special mark corresponding to the transmission protocol by utilizing the number;
the protocol message sending module is used for inserting the special mark after the specific position of the protocol message and transmitting the added protocol message to the intelligent terminal of the distribution area;
the pre-established protocol library consists of known various protocols and corresponding numbers stored in a 10-system form;
the model information includes: unique identification of type, manufacturer and equipment;
the specific position is pre-agreed by an intelligent terminal and intelligent terminal equipment of a distribution station in the distribution Internet of things;
the special mark generation module is used for: the number is rewritten from a 10-scale form to a 16-scale form with a specific character number, and the rewritten number is used as a special mark corresponding to the transmission protocol;
the specific character number is pre-agreed by intelligent terminals and intelligent terminal equipment in a distribution area in the distribution Internet of things.
3. The power distribution Internet of things side interaction method based on protocol and model matching is characterized by comprising the following steps of:
when receiving a protocol message transmitted by intelligent terminal equipment, intercepting a special mark in the protocol message;
determining a transmission protocol corresponding to the protocol message by utilizing the special mark and a pre-established protocol library;
decoding the protocol message after intercepting the special mark by utilizing the transmission protocol to obtain model information and acquisition information recorded in the protocol message after intercepting the special mark;
matching the model information with model information stored in a pre-established model library, and uploading the model information and the acquired information to a data center when the matching is successful;
the intercepting the special mark in the protocol message comprises the following steps:
intercepting a protocol message fragment with a specific character number after a specific position of a protocol message, and taking the fragment as a special mark in the protocol message;
the pre-established protocol library consists of known various protocols and corresponding numbers stored in a 10-system form;
the model library consists of model information of all intelligent terminal devices in the power distribution Internet of things;
the specific position and the specific character number are preset by an intelligent terminal and intelligent terminal equipment of a distribution station in the distribution Internet of things;
the model information includes: unique identification of type, manufacturer and equipment;
the determining the transmission protocol corresponding to the protocol message by using the special mark and a pre-established protocol library comprises the following steps:
the special mark is converted into a 10-system form and matched with numbers corresponding to various protocols in a pre-established protocol library;
and taking the protocol corresponding to the successfully matched number as the transmission protocol corresponding to the protocol message.
4. The utility model provides a distribution transformer area intelligent terminal which characterized in that includes:
the intercepting module is used for intercepting a special mark in a protocol message transmitted by intelligent terminal equipment when the protocol message is received;
the transmission protocol matching module is used for determining a transmission protocol corresponding to the protocol message by utilizing the special mark and a pre-established protocol library;
the decoding module is used for decoding the protocol message after the special mark is intercepted by utilizing the transmission protocol to obtain model information and acquisition information recorded in the protocol message after the special mark is intercepted;
the model information matching and information transmission module is used for matching the model information with model information stored in a pre-established model library and uploading the model information and the acquired information to a data center when the matching is successful;
the intercepting module is used for: intercepting a protocol message fragment with a specific character number after a specific position of a protocol message, and taking the fragment as a special mark in the protocol message;
the pre-established protocol library consists of known various protocols and corresponding numbers stored in a 10-system form;
the model library consists of model information of all intelligent terminal devices in the power distribution Internet of things;
the specific position and the specific character number are preset by an intelligent terminal and intelligent terminal equipment of a distribution station in the distribution Internet of things;
the model information includes: unique identification of type, manufacturer and equipment;
a transmitted protocol matching module comprising:
the matching unit is used for converting the special mark into a 10-system form and matching the special mark with numbers corresponding to various protocols in a pre-established protocol library;
and the definition unit is used for taking the protocol corresponding to the successfully matched number as the transmission protocol corresponding to the protocol message.
5. Distribution thing networking limit end interaction system based on agreement and model match, its characterized in that includes: the intelligent terminal equipment comprises a data center, an application center, a plurality of intelligent terminals of power distribution areas for transmitting information to the data center and intelligent terminal equipment for respectively carrying out information interaction with the intelligent terminals of the power distribution areas;
the application center is used for storing a protocol library and a model library, acquiring a corresponding number expressed in a 10-system form when a new protocol is found, supplementing the number and the number to the protocol library, and supplementing corresponding model information to the model library when a new intelligent terminal device is accessed to the power distribution Internet of things;
the data center is used for receiving the model information and the acquisition information sent by the intelligent terminal of the power distribution area;
the intelligent terminal device is the intelligent terminal device according to claim 2;
the intelligent terminal of the power distribution area is the intelligent terminal of claim 4.
CN202110649270.5A 2021-06-10 2021-06-10 Protocol and model matching-based power distribution Internet of things side-end interaction method and system Active CN113572257B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110649270.5A CN113572257B (en) 2021-06-10 2021-06-10 Protocol and model matching-based power distribution Internet of things side-end interaction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110649270.5A CN113572257B (en) 2021-06-10 2021-06-10 Protocol and model matching-based power distribution Internet of things side-end interaction method and system

Publications (2)

Publication Number Publication Date
CN113572257A CN113572257A (en) 2021-10-29
CN113572257B true CN113572257B (en) 2023-11-03

Family

ID=78161912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110649270.5A Active CN113572257B (en) 2021-06-10 2021-06-10 Protocol and model matching-based power distribution Internet of things side-end interaction method and system

Country Status (1)

Country Link
CN (1) CN113572257B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710573B (en) * 2022-06-07 2022-09-30 石家庄科林电气股份有限公司 IPV 6-based power distribution station area edge device communication method and device
CN116155718B (en) * 2023-04-19 2023-07-14 广东电网有限责任公司中山供电局 Side data interaction method oriented to distributed resource regulation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417783A (en) * 2019-07-30 2019-11-05 北京国信华源科技有限公司 A kind of data transmission method based on Internet of Things, device, storage medium and terminal
CN110912923A (en) * 2019-12-04 2020-03-24 国网山东省电力公司青岛供电公司 Self-adaptation method, self-adaptation unit and system for communication protocol of power distribution internet of things
CN111404883A (en) * 2020-03-02 2020-07-10 青岛聚好联科技有限公司 Method and device for analyzing Internet of things equipment universal protocol
CN112436603A (en) * 2020-11-18 2021-03-02 珠海许继电气有限公司 Terminal equipment acquisition configuration method and device based on platform area intelligent fusion terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417783A (en) * 2019-07-30 2019-11-05 北京国信华源科技有限公司 A kind of data transmission method based on Internet of Things, device, storage medium and terminal
CN110912923A (en) * 2019-12-04 2020-03-24 国网山东省电力公司青岛供电公司 Self-adaptation method, self-adaptation unit and system for communication protocol of power distribution internet of things
CN111404883A (en) * 2020-03-02 2020-07-10 青岛聚好联科技有限公司 Method and device for analyzing Internet of things equipment universal protocol
CN112436603A (en) * 2020-11-18 2021-03-02 珠海许继电气有限公司 Terminal equipment acquisition configuration method and device based on platform area intelligent fusion terminal

Also Published As

Publication number Publication date
CN113572257A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
CN113572257B (en) Protocol and model matching-based power distribution Internet of things side-end interaction method and system
CN108564676B (en) Intelligent inspection system and method for hydraulic power plant
CN109413141A (en) Access method and system between a kind of power grid boss station
CN105447247B (en) A kind of method and system that regulation and controlling of information is checked
CN108923953A (en) A kind of virtual main station system of power remote machine debugging
CN105262230A (en) Method for establishing portable scheduling master station system to debug newly-built substation
CN109327338A (en) A kind of electricity information acquisition system master station method for testing pressure and system based on virtual terminal
CN109241065B (en) Intelligent substation cable operation information identification system and identification method thereof
CN110958327A (en) Intelligent substation remote testing system and method
CN105071544A (en) Characteristic value comparison-based smart substation relay protection on-line monitoring system
CN110768372A (en) IEC61850 standard-based protection information system source end modeling method
CN110766263A (en) Automatic acceptance method for secondary equipment of transformer substation and terminal equipment
CN111524029A (en) Electric power communication system based on cloud calculates
CN110838946A (en) Automatic acceptance system and method based on simulation substation
CN109802487B (en) Method and device for realizing maintenance function of source end of master station
CN112654022B (en) Electric power system thing networking data acquisition system based on loRa communication
CN117119332A (en) Power distribution network data acquisition method and system based on Beidou short message communication
CN110932393B (en) Substation information protection master station system and data initialization method thereof
CN106254124B (en) One kind being based on the improved Intelligent substation merging unit configuration method in short address
CN107168210B (en) Monitoring system and monitoring method of distributed photovoltaic power station
CN107493269B (en) Intelligent electronic equipment of transformer substation and data sending and receiving method and system thereof
CN113991861A (en) Micro-grid alarm data remote transmission device and method based on edge computing technology
CN110866614B (en) GSP-based transparent operation and maintenance method and system for intelligent substation automation equipment
CN108345618A (en) A kind of scheduling station service data access and treating method and apparatus
CN107528888B (en) Intelligent electronic equipment of transformer substation and data sending and receiving method and system thereof

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