CN114707905A - SG-CIM-based Internet of things terminal modeling and application method and system - Google Patents
SG-CIM-based Internet of things terminal modeling and application method and system Download PDFInfo
- Publication number
- CN114707905A CN114707905A CN202210485684.3A CN202210485684A CN114707905A CN 114707905 A CN114707905 A CN 114707905A CN 202210485684 A CN202210485684 A CN 202210485684A CN 114707905 A CN114707905 A CN 114707905A
- Authority
- CN
- China
- Prior art keywords
- internet
- things
- terminal
- model
- data
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000005540 biological transmission Effects 0.000 claims abstract description 13
- 238000001914 filtration Methods 0.000 claims abstract description 4
- 230000004927 fusion Effects 0.000 claims abstract description 4
- 238000007726 management method Methods 0.000 claims description 40
- 230000003068 static effect Effects 0.000 claims description 37
- 238000004806 packaging method and process Methods 0.000 claims description 7
- 238000007405 data analysis Methods 0.000 claims description 6
- 238000013500 data storage Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 6
- 230000008676 import Effects 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000004140 cleaning Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 4
- 238000012937 correction Methods 0.000 claims description 4
- 238000000586 desensitisation Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 claims description 4
- 238000003860 storage Methods 0.000 claims description 4
- 230000009471 action Effects 0.000 claims description 3
- 230000002457 bidirectional effect Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 3
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 claims description 3
- 238000003745 diagnosis Methods 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 230000009466 transformation Effects 0.000 abstract description 10
- 238000009826 distribution Methods 0.000 abstract description 5
- 238000004587 chromatography analysis Methods 0.000 description 10
- 238000012544 monitoring process Methods 0.000 description 10
- 238000010276 construction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000007667 floating Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/067—Enterprise or organisation modelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E40/00—Technologies for an efficient electrical power generation, transmission or distribution
- Y02E40/70—Smart grids as climate change mitigation technology in the energy generation sector
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Economics (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Health & Medical Sciences (AREA)
- Marketing (AREA)
- Theoretical Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Game Theory and Decision Science (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a modeling and application method and a system of an internet of things terminal based on SG-CIM, wherein the method comprises the following steps: the method comprises the steps of combing and dividing the subject area of the terminal equipment of the Internet of things; setting definition description information standards of each theme domain; constructing an Internet of things terminal model structure based on SG-CIM; according to actual business, building each internet of things terminal model according to the structure of the internet of things terminal model and importing the internet of things terminal model into an internet of things management platform; putting each Internet of things terminal model to an edge Internet of things agent; carrying out consistency check on each Internet of things terminal model and each terminal; and filtering, checking and standardizing the data of each terminal, and supporting edge fusion application. The invention defines the attributes, messages and services of typical Internet of things terminals of marketing, power distribution and power transmission and transformation professional parts, expands in the original model library, establishes an Internet of things terminal model with wider applicability, and can be used for realizing the standardization of data acquisition and control calling of the Internet of things terminal and the plug and play of side equipment.
Description
Technical Field
The invention belongs to the technical field of power Internet of things, and relates to an SG-CIM-based Internet of things terminal modeling and application method and system.
Background
Along with the deep reform of energy supply side structure, clean energy inserts the proportion and continuously promotes, distributed generator, electric automobile, the energy storage facility constantly increases, and the energy form has taken place fundamental change. The intelligent Internet of things system based on advanced sensor technology, communication technology, information technology, computer technology and control technology is well constructed and operated, the sensing capability, interaction level and operation efficiency of the power grid are continuously improved, various energy sources are powerfully supported to be accessed and comprehensively utilized, the energy efficiency is continuously improved, and the intelligent Internet of things system is a necessary choice for realizing the cross-level upgrade of the power grid and promoting the energy production and the consumption revolution.
However, the existing large number of systems do not completely comply with the unified informatization structure of the company, the information models are not unified, the requirements of dynamic change application cannot be met, centralized unified management and control are difficult, a large number of field operation and maintenance are required, and the existing internet of things terminal model is not perfect and is difficult to adapt to standardized data exchange, so that data interaction is difficult.
Disclosure of Invention
In order to solve the defects in the prior art, the invention aims to provide a unified and standardized Internet of things terminal Information Model modeling and application method and system based on an SG-CIM (State-Grid Common Information Model, a public Information Model of a national Grid company), which define the attributes, messages and services of a typical Internet of things terminal of the professional part of marketing, power distribution and power transmission and transformation, expand in an original Model library (CIM), establish an Internet of things terminal Model with wider applicability, can be used for realizing standardization of data acquisition and control call of the Internet of things terminal, plug and play of side equipment and universal Internet of things construction of a power-assisted Grid.
In order to achieve the above purpose, the invention adopts the following technical scheme:
an SG-CIM-based Internet of things terminal modeling and application method comprises the following steps:
step 1: combing and dividing subject domains of the Internet of things terminal equipment, and setting necessary and optional subject domains;
step 2: setting definition description information standards of each subject domain based on SG-CIM;
and step 3: constructing an Internet of things terminal model structure based on SG-CIM according to the step 1 and the step 2;
and 4, step 4: according to actual business, building each internet of things terminal model according to the structure of the internet of things terminal model and importing the internet of things terminal model into an internet of things management platform;
and 5: the physical connection management platform sets a check code for each physical connection terminal model and then transfers the check code to the edge physical connection agent;
step 6: the edge Internet of things agent carries out consistency check on each Internet of things terminal model and each terminal;
and 7: and filtering, checking and standardizing the terminal data based on the checked Internet of things terminal models, and supporting edge fusion application.
The invention further comprises the following preferred embodiments:
preferably, in step 1, the step of combing and dividing to obtain the subject area of the terminal device of the internet of things includes: model identifier, model description, static attributes, dynamic attributes, messages, and services;
setting the model identifier, the model description, the static attribute and the dynamic attribute as a mandatory subject field;
setting messages and services as selectable topic domains;
the model identifier is used as a unique identifier of the terminal model of the Internet of things and is used for identifying the uniqueness of the terminal model of the Internet of things;
the model description is information for describing the terminal model of the Internet of things;
the static attribute refers to static information for describing self identity details in a life cycle;
the dynamic attribute is used for describing the continuous existence state information of the equipment during operation;
the message refers to notification information which is actively reported by the Internet of things terminal and needs to be sensed and processed by the outside;
the service refers to actions and instruction contents which can be remotely called and executed in the Internet of things terminal.
Preferably, the model identifier is defined as an ID number of the terminal device;
the model description is defined as the Chinese name of the terminal equipment;
the static attribute definition comprises static attribute identifiers, static attribute names, read-write types, optional static description information and data types;
the dynamic attribute definition comprises dynamic attribute identifiers, dynamic attribute names, read-write types, optional information and dynamic description information of data types;
the message domain defines message description information including a message identifier, a message name, a message description, a message type, a calling method and an output parameter identifier;
the service domain defines message description information including a service identifier, a service name, a service description, a service method name, a calling mode, a waiting time, an input parameter, and an output parameter identifier.
Preferably, in step 2, the description information standard of each topic domain is set based on SG-CIM, specifically:
the model identifier supports upper and lower case letters, numbers, dashes and underlines, no more than 30 characters;
the model description supports Chinese, upper and lower case letters, numbers, dashes and underlines, and must begin with Chinese, English or numbers, no more than 30 characters;
the static attribute identifier and the dynamic attribute identifier only support upper and lower case letters, numbers, dashed lines and underlines, and do not exceed 30 characters;
the static attribute name and the dynamic attribute name support Chinese, capital and lower case letters, numbers, dashed lines and underlines, and must begin with Chinese, English or numbers, no more than 30 characters;
the read-write type comprises read-only and read-write;
the mandatory selections comprise yes and no;
the data types are combined according to the required basic data types to form the required data types, and the data types can be specifically described and limited;
the message identifier and the service identifier support only upper and lower case letters, numbers, dashes and underlines, not more than 30 characters;
the message name and service name, message description and service description may support chinese, upper and lower case letters, numbers, dashes and underlines, and must begin with chinese, english or numbers, no more than 30 characters;
the message types comprise three types of conventional information, alarm and fault;
the calling method of the message comprises the following steps: when the asynchronous calling is carried out, the system does not wait for the reply after the message is reported; and (3) synchronization: when the messages are synchronously called, the terminal waits for the system to reply after the messages are reported; if the system does not reply, reporting again;
the output parameter identifier is a parameter unique identifier;
the calling mode of the service comprises asynchronization: when the service is asynchronous, the result is directly returned after the calling is executed, and the reply message of the equipment cannot be waited; and (3) synchronization: when the service is synchronously called, the equipment waits for the reply; if the equipment does not reply within the waiting time, calling;
the waiting time can be set only when the calling mode is set to be synchronous, and the unit of waiting for the time replied by the equipment is millisecond;
the input parameters comprise parameter unique identifiers, parameter names and parameter data type fields; the parameter data types are combined by the basic data types according to needs to form the needed data types, and the data types can be specifically described and limited;
the output parameter identifier of the service is a parameter unique identifier.
Preferably, the step 4 comprises: the business system constructs each internet of things terminal model according to the actual business and the internet of things terminal model structure and leads in the internet of things management platform, and specifically comprises the following steps:
obtaining JSON description objects of static attributes, dynamic attributes, messages and services in the structure of the terminal model of the internet of things based on the identifiers of the unified specification;
adding model identifiers and model descriptions, namely id identifiers and description identifiers and corresponding values, to the JSON description objects, forming JSON format description samples of different devices, namely JSON files of all internet of things terminal models, and importing the JSON format description samples into an internet of things management platform.
Preferably, the id identifier is used as a unique identifier of the terminal model of the Internet of things, is used for identifying the uniqueness of the terminal model of the Internet of things, and supports upper and lower case letters, numbers, dashed lines and underlines, wherein the number of characters is not more than 30;
the description identifier is information describing the terminal model of the internet of things, supports Chinese, upper and lower case letters, numbers, dashes and underlines, and must begin with Chinese, English or numbers, not more than 30 characters.
Preferably, the step 4 further comprises: and the Internet of things management platform configures each Internet of things terminal model according to the actual service and the Internet of things terminal model structure.
Preferably, step 6 is specifically: the method comprises the steps that the terminal equipment firstly sends a message packet to the SG-CIM cloud master station, the cloud master station carries out consistency check after receiving the message, namely, the SN numbers of the Internet of things terminal model and the terminal equipment are compared, and if the SN numbers are consistent, the consistency check is passed.
An SG-CIM-based Internet of things terminal modeling and application system is used for realizing the SG-CIM-based Internet of things terminal modeling and application method based on a service system, an Internet of things management platform and an edge Internet of things agent.
Preferably, the edge internet of things agent performs unified access to the acquisition terminal downwards based on an SG-CIM-based internet of things terminal model passing consistency check, can perform data access, data storage and data analysis, is interconnected with the internet of things management platform upwards, performs bidirectional transmission of data, and realizes local sharing of data.
Preferably, the edge internet of things proxy performs data processing based on the edge server, and includes:
the communication module is used for being interconnected with the Internet of things management platform through an Ethernet, a wireless public network or a wireless private network and communicating with the Internet of things management platform through an Ethernet, a serial bus, a WLAN, a LORA, a Zigbee or a Bluetooth acquisition terminal;
the data analysis and packaging module is used for analyzing and packaging data based on an MQTT protocol, and performing data cleaning and correction, data format conversion and data desensitization on the data;
the data storage module is used for performing Redis or time sequence storage on data;
and the data operation and response module is used for equipment data response, equipment state diagnosis, model identification and energy-saving calculation.
Compared with the prior art, the invention has the beneficial effects that:
compared with the traditional specification 104 and IEC61850, the method is wider in applicability, and aiming at the characteristics of various terminal devices in different service scenes of the national power grid company, the method forms complete description of the ubiquitous power internet of things terminal device data information through the description of the model identifier, the model description, the attribute, the message and the service, and can support the application interaction requirements of the terminal device data information in the ubiquitous power internet of things.
1. The invention is simple and visual, is convenient for workers to use and understand, can be used for the marketing, power distribution and power transmission and transformation professions, and has wider applicable service scenes;
2. the invention has the advantages that when the information of the equipment at each side is exchanged, the unified information model is provided, the sharing and linkage of the main equipment data at the power transmission and transformation side and the plug and play of the equipment at the side are realized, the ubiquitous internet of things construction of a power grid is assisted, and the sensing capability of the main equipment at the power transmission and transformation side on the operation state is improved, so that the method has important reference significance.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention;
fig. 2 is a schematic structural diagram of an internet of things terminal model according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an import platform of an Internet of things terminal model according to an embodiment of the present invention;
FIG. 4 is a sample diagram of a model part of an Internet of things terminal of an electric energy meter according to an embodiment of the invention;
FIG. 5 is a data access architecture of a conventional oil chromatography monitoring system;
FIG. 6 is a technical architecture of an oil chromatography online monitoring system data access internet of things management platform;
fig. 7 is a diagram illustrating an edge internet of things proxy architecture according to an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
As shown in fig. 1, embodiment 1 of the present invention provides an SG-CIM based modeling and application method for an internet of things terminal, which in a preferred but non-limiting embodiment of the present invention comprises the following steps 1 to 7:
step 1: the theme domain of the terminal equipment of the Internet of things is combed and divided, and a necessary and optional theme domain is set;
further preferably, the step of combing and dividing subject areas of the typical terminal equipment of the internet of things, such as marketing, power distribution and transmission and transformation, comprises the following steps: model identifier, model description, static attributes, dynamic attributes, messages, and services;
setting the model identifier, the model description, the static attribute and the dynamic attribute as a mandatory subject field;
setting messages and services as optional topic domains;
the model identifier is an ID number of the terminal equipment;
the model description is the Chinese name of the terminal equipment;
it can be understood in conjunction with the model sample example given in fig. 3, where the model identifier (identifier) is the ID number of the terminal device, and the model description (description) is the chinese name of the terminal device, such as "power meter" in fig. 3.
The static attribute is generally used for describing self identity detail static information in a life cycle;
the dynamic attribute is generally used for describing information of a sustainable state of the equipment during operation, such as the indication value of an electric energy meter, the current temperature read by the temperature monitoring equipment and the like;
the message refers to notification information which is actively reported by the Internet of things terminal and needs to be sensed and processed by the outside;
the information can not be obtained by inquiring the attribute of the power internet of things terminal, and if the information is information such as alarm information and attached parameters which are actively reported when a fault or an abnormality occurs, the information can be subscribed and pushed;
the service refers to the content of actions, instructions and the like which can be remotely called and executed in the internet of things terminal, generally needs to take a certain time to execute, and can set input parameters and output parameters;
the static attribute definition comprises static attribute identifiers, static attribute names, read-write types, optional static description information and data types;
the dynamic attribute definition comprises dynamic attribute identifiers, dynamic attribute names, read-write types, optional information and dynamic description information of data types;
the message domain defines message description information including a message identifier, a message name, a message description, a message type, a calling method and an output parameter identifier;
the service domain defines message description information including a service identifier, a service name, a service description, a service method name, a calling mode, a waiting time, an input parameter, and an output parameter identifier.
And 2, step: setting definition description information standards of each subject domain based on SG-CIM;
further preferably, the SG-CIM is based on setting a description information standard of each topic domain, specifically:
the static attribute identifier and the dynamic attribute identifier only support upper and lower case letters, numbers, short dashes and underlines and do not exceed 30 characters for the convenience of program processing;
the static attribute name and the dynamic attribute name support Chinese, capital and lower case letters, numbers, dashed lines and underlines, and must begin with Chinese, English or numbers, no more than 30 characters;
the read-write type comprises read-only (R) and read-write (RW);
the mandatory options include yes (Y) and no (N);
the data type is formed by combining basic data types supported by the following steps according to needs, and the data type can be described and limited specifically:
string (String type);
int (is a database of data types);
the int length data types are byte (8bits), short (16bits), int (32bits), and long (64 bits). The floating point length data types include single precision (32-bit floating point number) and double precision (64-bit double). The value, true, false is taken from the bolean type variable. There is a char data type, unicode character, 16 bits.
float (single precision floating point number);
double (double precision floating point number);
date (String type UTC milliseconds);
cool (int type 0 or 1);
enum (int type);
struct (structure type, which may include the first 6 types);
array type, support int/double/float/string.
The message identifier and the service identifier support only upper and lower case letters, numbers, dashes and underlines, not more than 30 characters;
the message name and service name, message description and service description may support chinese, upper and lower case letters, numbers, dashes and underlines, and must begin with chinese, english or numbers, no more than 30 characters;
the message types comprise three types of regular information (info), alarm (alert) and fault (error).
The calling method of the message comprises async (async): when the asynchronous calling is carried out, the system does not wait for the reply after the message is reported; synchronization (sync): when the messages are synchronously called, the terminal waits for the system to reply after the messages are reported; if the system does not reply, reporting again;
the output parameter identifier is a parameter unique identifier and is consistent with the attribute identifier in the attribute definition;
the calling mode of the service comprises async (async): when the service is asynchronous, the result is directly returned after the calling is executed, and the reply message of the equipment cannot be waited; synchronization (sync): when the service is synchronously called, the equipment can wait for the reply; if the equipment does not reply within the waiting time, calling;
the waiting time can be set only when the calling mode is set to be synchronous, and the unit of waiting for the time replied by the equipment is millisecond;
the input parameter comprises a parameter unique identifier (id), a parameter name (name) and a parameter data type (dataType) field; the parameter data type is combined by the following basic data types as required to form the required data type, and the data type can be specifically described and limited:
string, int, float, double, date (String type UTC millisecond), pool (int type of 0 or 1), enum (int type), struct (structure type, may include the front 6 types), array (array type, support int/double/float/String).
The output parameter identifier of the service is a parameter unique identifier, consistent with the attribute identifier in the attribute definition.
And step 3: constructing an Internet of things terminal model structure based on SG-CIM according to the steps 1 and 2;
in specific implementation, the structure of the terminal model of the internet of things is obtained by construction and is shown in fig. 2, wherein the subject domains of the model identifier, the model description, the static attribute and the dynamic attribute are optional, and the subject domains of the message and the service are optional.
The electric power internet of things identification, the terminal equipment manufacturer, the terminal type, the terminal model, the asset number, the name of the service domain to which the terminal belongs and the like are static attributes;
current, voltage, etc. are dynamic properties;
initializing a terminal and the like as a message domain;
establish application links, etc. as service domains.
And 4, step 4: according to actual business, building each internet of things terminal model according to the structure of the internet of things terminal model and importing the internet of things terminal model into an internet of things management platform;
further preferably, 1) the terminal model of the internet of things is description of product services, an equipment manufacturer (a business system) provides a terminal model file (json file) of the internet of things, and the manufacturer can import the terminal model file of the internet of things to the management platform of the internet of things through an import operation after providing the terminal model file of the internet of things. The Internet of things management platform can also export the created Internet of things terminal model into a json file for the master station to use.
Namely, the business system constructs each internet of things terminal model and imports an internet of things management platform according to actual business and the internet of things terminal model structure, specifically:
obtaining JSON description objects of static attributes, dynamic attributes, messages and services in the structure of the terminal model of the internet of things based on the identifiers of the unified specification;
and (3) taking the identifier in the table of section 6 of the national grid company enterprise standard 'unified modeling specification of the IoT terminal' as a KEY in the JSON format, filling the corresponding value, and converting the corresponding value into a JSON description object of static attribute, dynamic attribute, message and service.
KEY in JSON format mainly refers to KEY attributes in static attribute, dynamic attribute, message domain, and service domain, including read-write type, whether necessary, data type, and so on.
And adding a description id identifier, a description identifier and a corresponding value to the JSON description object, forming JSON format description samples of different devices, namely JSON files of all the internet of things terminal models, and importing the JSON format description samples into the internet of things management platform.
The id identifier is used as a unique identifier of the terminal model of the Internet of things and is used for identifying the uniqueness of the terminal model of the Internet of things, upper and lower case letters, numbers, dashed lines and underlines are supported, and 30 characters are not exceeded;
the description identifier is information describing the terminal model of the internet of things, supports chinese, upper and lower case letters, numerals, dash lines and underlines, and must start with chinese, english or numerals, not more than 30 characters.
The contents of the formed description sample part of the internet of things terminal model JSON are shown in FIG. 3. The process of importing the internet of things management platform is shown in fig. 4.
2) The equipment manufacturer or platform operator can also directly configure the terminal model of the internet of things through the management platform of the internet of things, namely the management platform of the internet of things configures each terminal model of the internet of things according to the structure of the terminal model of the internet of things according to actual business.
Firstly clicking a model creating button, creating an internet of things terminal model file according to a model structure, wherein the content of the internet of things terminal model file is empty.
Then, after an internet of things terminal model file is created, created internet of things terminal model records appear in a page half part paging list;
clicking the model details to configure the Command (Command) and the attribute (Properties) of the Internet of things terminal model Service (Service);
and finally, clicking the Service (Service) of the newly added Service creation Internet of things terminal model, clicking the Service details, and respectively configuring a Command (Command) and attributes (Properties).
And 5: after the Internet of things management platform is on line, setting check codes for all Internet of things terminal models and putting all the Internet of things terminal models to an edge Internet of things agent;
further preferably, the check code is an SN number, which is equivalent to an identification number of the terminal device, that is, a factory serial number of the product, and is set by a manufacturer. Because the serial numbers set by different manufacturers have different rules and have no unified standard, the serial numbers are not put into an internet of things model. In the operation process, after the Internet of things model is imported into the Internet of things management platform, SN numbers of the Internet of things model can be directly added on the platform in an operation mode.
And 6: the edge internet of things agent carries out consistency check on each internet of things terminal model and each terminal, and specifically comprises the following steps: the method comprises the steps that the terminal equipment firstly sends a message packet to the SG-CIM cloud master station, the cloud master station carries out consistency check after receiving the message, namely, the SN numbers of the Internet of things terminal model and the terminal equipment are compared, and if the SN numbers are consistent, the consistency check is passed.
The national grid company constructs an internet of things terminal model structure with a unified formulated standard according to the step 1-2, and then issues the structure to each manufacturer (service system), and different manufacturers produce equipment terminals according to the standard and generate corresponding internet of things terminal models. Then, the Internet of things terminal model is imported into an Internet of things management platform in an off-line manner; after the Internet of things management platform is on line, the Internet of things terminal model is put down to the edge Internet of things agent;
the edge Internet of things agent and the terminal equipment are matched with the released Internet of things terminal model for SN numbers, different equipment manufacturers (service systems) generate different SN numbers, but one manufacturer and the same equipment only have one Internet of things terminal model and correspond to one SN number, and the model verification is finished if the SN numbers are consistent.
And 7: and filtering, verifying and standardizing the data of each terminal based on each Internet of things terminal model passing the verification, and supporting edge fusion application.
In order to specifically clarify the effects of the model construction and application of the present invention. The oil chromatography monitoring system is taken as an example for explanation.
The oil chromatography monitoring of the transformer is to measure data by arranging monitoring devices around the transformer, convert the data collected by a collecting terminal into identification gas content values such as H2, CH4 and C2H6, collect and upload the gas content values as measuring results on a database in a station house, copy or access each service system from the database for service application, and the data access architecture of the traditional oil chromatography monitoring system is shown in figure 5.
The traditional architecture shown in fig. 5 has the disadvantages that the oil chromatography on-line monitoring system operates independently, cannot realize data sharing with other subsystems on the power transmission and transformation side, and cannot realize linkage processing and analysis of various equipment states and operation data.
Aiming at the problem, the invention provides an SG-CIM-based Internet of things terminal modeling and application method, and an implementation structure of an oil chromatography monitoring system is shown in FIG. 6. In order to avoid the influence on the production environment, the scene is realized in a simulation mode in a management information large area, based on the organization structure and the storage mode of data in the oil chromatography online monitoring system, a proper oil chromatography system internet of things terminal model is constructed and guided into the internet of things management platform according to the steps 1-6, and is issued to the edge internet of things agent, so that the consistency check is completed.
Therefore, the acquisition terminal of the oil chromatography on-line monitoring system can acquire related data from the vicinity of the transformer, the data are simply processed and uploaded to the III-type edge Internet of things agent, the III-type edge Internet of things agent pushes the data to the Internet of things management platform, and the enterprise central station and the data central station look over and call the data as required.
The invention discloses an SG-CIM-based Internet of things terminal modeling and application system, which is used for realizing the SG-CIM-based Internet of things terminal modeling and application method based on a business system, an Internet of things management platform and an edge Internet of things agent.
The edge Internet of things agent performs unified access to the acquisition terminal downwards based on the SG-CIM-based Internet of things terminal model passing consistency check, can perform data access, data storage and data analysis, is upwards interconnected with the Internet of things management platform, performs bidirectional transmission of data, and realizes local data sharing.
The data processing function of the edge internet of things agent depends on an edge server in an edge computing framework, and the architecture of the edge internet of things agent is shown in fig. 7 and comprises the following steps:
the communication module is used for being interconnected with the Internet of things management platform through an Ethernet, a wireless public network or a wireless private network and communicating with the Internet of things management platform through an Ethernet, a serial bus, a WLAN, a LORA, a Zigbee or a Bluetooth acquisition terminal;
the data analysis and packaging module is used for analyzing and packaging data based on an MQTT protocol, and performing data cleaning and correction, data format conversion and data desensitization on the data;
the data storage module is used for performing Redis or time sequence storage on data;
and the data operation and response module is used for equipment data response, equipment state diagnosis, model identification and energy-saving calculation.
And the model identification comprises the step of comparing the SN number of the Internet of things model placed on the material pipe platform by the edge Internet of things agent with the SN number uploaded to the edge Internet of things agent by the terminal equipment.
When the system is abnormal in data acquisition due to sensor abnormality and signal conditioning circuit failure, the data operation and packaging module in the edge server can perform data cleaning correction, data desensitization and data format conversion on data from system terminal equipment, and upload the processed correct data to the Internet of things management platform, and the system also improves the reliability of data acquisition by the mode.
Besides, the edge Internet of things agent also has the functions of APP application and regional autonomy.
Compared with the prior art, the invention has the beneficial effects that:
compared with the traditional specification 104 and IEC61850, the method is wider in applicability, and aiming at the characteristics of various terminal devices in different service scenes of the national power grid company, the method forms complete description of the ubiquitous power internet of things terminal device data information through the description of the model identifier, the model description, the attribute, the message and the service, and can support the application interaction requirements of the terminal device data information in the ubiquitous power internet of things.
1. The invention is simple and visual, is convenient for workers to use and understand, can be used for the marketing, power distribution and power transmission and transformation professions, and has wider applicable service scenes;
2. the invention has the advantages that when the information of the equipment at each side is exchanged, the unified information model is provided, the sharing and linkage of the main equipment data at the power transmission and transformation side and the plug and play of the equipment at the side are realized, the ubiquitous internet of things construction of a power grid is assisted, and the sensing capability of the main equipment at the power transmission and transformation side on the operation state is improved, so that the method has important reference significance.
The present applicant has described and illustrated embodiments of the present invention in detail with reference to the accompanying drawings, but it should be understood by those skilled in the art that the above embodiments are merely preferred embodiments of the present invention, and the detailed description is only for the purpose of helping the reader to better understand the spirit of the present invention, and not for limiting the scope of the present invention, and on the contrary, any improvement or modification made based on the spirit of the present invention should fall within the scope of the present invention.
Claims (11)
1. An SG-CIM-based Internet of things terminal modeling and application method is characterized in that:
the method comprises the following steps:
step 1: the theme domain of the terminal equipment of the Internet of things is combed and divided, and a necessary and optional theme domain is set;
step 2: setting definition description information standards of each subject domain based on SG-CIM;
and step 3: constructing an Internet of things terminal model structure based on SG-CIM according to the step 1 and the step 2;
and 4, step 4: according to actual business, building each internet of things terminal model according to the structure of the internet of things terminal model and importing the internet of things terminal model into an internet of things management platform;
and 5: the physical connection management platform sets a check code for each physical connection terminal model and then transfers the check code to the edge physical connection agent;
step 6: the edge Internet of things agent carries out consistency check on each Internet of things terminal model and each terminal;
and 7: and filtering, checking and standardizing the terminal data based on the checked Internet of things terminal models, and supporting edge fusion application.
2. The SG-CIM-based Internet of things terminal modeling and application method of claim 1, wherein:
in step 1, the step of combing and dividing to obtain the subject domain of the terminal equipment of the internet of things comprises the following steps: model identifier, model description, static attributes, dynamic attributes, messages, and services;
setting the model identifier, the model description, the static attribute and the dynamic attribute as a mandatory subject field;
setting messages and services as selectable topic domains;
the model identifier is used as a unique identifier of the terminal model of the Internet of things and is used for identifying the uniqueness of the terminal model of the Internet of things;
the model description is information for describing the terminal model of the Internet of things;
the static attribute refers to static information for describing self identity details in a life cycle;
the dynamic attribute is used for describing the continuous existence state information of the equipment during operation;
the message refers to notification information which is actively reported by the Internet of things terminal and needs to be sensed and processed by the outside;
the service refers to actions and instruction contents which can be remotely called to be executed in the internet of things terminal.
3. The SG-CIM-based Internet of things terminal modeling and application method of claim 2, wherein:
the model identifier is defined as an ID number of the terminal equipment;
the model description is defined as the Chinese name of the terminal equipment;
the static attribute definition comprises static attribute identifiers, static attribute names, read-write types, optional static description information and data types;
the dynamic attribute definition comprises dynamic attribute identifiers, dynamic attribute names, read-write types, optional information and dynamic description information of data types;
the message domain defines message description information including a message identifier, a message name, a message description, a message type, a calling method and an output parameter identifier;
the service domain defines message description information including a service identifier, a service name, a service description, a service method name, a calling mode, a waiting time, an input parameter, and an output parameter identifier.
4. The SG-CIM-based Internet of things terminal modeling and application method of claim 2, wherein:
in step 2, setting a description information standard of each subject domain based on SG-CIM, specifically:
the model identifier supports upper and lower case letters, numbers, dashes and underlines, no more than 30 characters;
the model description supports Chinese, upper and lower case letters, numbers, dashes and underlines, and must begin with Chinese, English or numbers, no more than 30 characters;
the static attribute identifier and the dynamic attribute identifier only support upper and lower case letters, numbers, dashed lines and underlines, and do not exceed 30 characters;
the static attribute name and the dynamic attribute name support Chinese, capital and lower case letters, numbers, dashed lines and underlines, and must begin with Chinese, English or numbers, no more than 30 characters;
the read-write type comprises read-only and read-write;
the must-select includes yes and no;
the data types are combined by basic data types according to needs to form the needed data types, and the data types can be specifically described and limited;
the message identifier and the service identifier support only upper and lower case letters, numbers, dashes and underlines, not more than 30 characters;
the message name and service name, message description and service description may support chinese, upper and lower case letters, numbers, dashes and underlines, and must begin with chinese, english or numbers, no more than 30 characters;
the message types comprise three types of conventional information, alarm and fault;
the calling method of the message comprises the following steps: when the asynchronous calling is carried out, the system does not wait for the reply after the message is reported; and (3) synchronization: when the messages are synchronously called, the terminal waits for the system to reply after the messages are reported; if the system does not reply, reporting again;
the output parameter identifier is a parameter unique identifier;
the calling mode of the service comprises asynchronization: when the service is asynchronous, the result is directly returned after the calling is executed, and the reply message of the equipment cannot be waited; and (3) synchronization: when the service is synchronously called, the equipment waits for the reply; if the equipment does not reply within the waiting time, calling;
the waiting time can be set only when the calling mode is set to be synchronous, and the unit of waiting for the time replied by the equipment is millisecond;
the input parameters comprise parameter unique identifiers, parameter names and parameter data type fields; the parameter data types are combined according to the required basic data types to form the required data types, and the data types can be specifically described and limited;
the output parameter identifier of the service is a parameter unique identifier.
5. The SG-CIM-based Internet of things terminal modeling and application method of claim 1, wherein:
the step 4 comprises the following steps: the business system constructs each thing allies oneself with terminal model and imports thing allies oneself with management platform according to actual business, according to thing allies oneself with terminal model structure, and is specific:
obtaining JSON description objects of static attributes, dynamic attributes, messages and services in the model structure of the terminal of the Internet of things based on the identifiers of the unified specification;
adding model identifiers and model descriptions, namely id identifiers, description identifiers and corresponding values, to the JSON description objects, forming JSON format description samples of different devices, namely JSON files of the terminal models of the internet of things, and importing the JSON format description samples into the management platform of the internet of things.
6. The SG-CIM-based Internet of things terminal modeling and application method of claim 5, wherein:
the id identifier is used as a unique identifier of the terminal model of the Internet of things and is used for identifying the uniqueness of the terminal model of the Internet of things, upper and lower case letters, numbers, dashed lines and underlines are supported, and no more than 30 characters are supported;
the description identifier is information describing the terminal model of the internet of things, supports Chinese, upper and lower case letters, numbers, dashes and underlines, and must begin with Chinese, English or numbers, not more than 30 characters.
7. The SG-CIM-based Internet of things terminal modeling and application method of claim 5, wherein:
the step 4 further comprises: and the Internet of things management platform configures each Internet of things terminal model according to the actual service and the Internet of things terminal model structure.
8. The SG-CIM-based Internet of things terminal modeling and application method of claim 1, wherein:
the step 6 specifically comprises the following steps: the method comprises the steps that the terminal equipment firstly sends a message packet to the SG-CIM cloud master station, the cloud master station carries out consistency check after receiving the message, namely, the Internet of things terminal model and the terminal equipment carry out check codes, namely SN number comparison, and the consistency check is passed if the SN numbers are consistent.
9. An SG-CIM-based Internet of things terminal modeling and application system is characterized in that:
the system is used for realizing the SG-CIM-based Internet of things terminal modeling and application method of any one of claims 1-8 based on a business system, an Internet of things management platform and an edge Internet of things agent.
10. The SG-CIM-based internet of things terminal modeling and application method according to claim 9, wherein:
the edge Internet of things agent performs unified access to the acquisition terminal downwards based on the SG-CIM-based Internet of things terminal model passing consistency check, can perform data access, data storage and data analysis, is upwards interconnected with the Internet of things management platform, performs bidirectional transmission of data, and realizes local data sharing.
11. The SG-CIM-based internet of things terminal modeling and application method according to claim 10, wherein:
the edge internet of things agent processes data based on an edge server, and comprises the following steps:
the communication module is used for being interconnected with the Internet of things management platform through an Ethernet, a wireless public network or a wireless private network and communicating with the Internet of things management platform through an Ethernet, a serial bus, a WLAN, a LORA, a Zigbee or a Bluetooth acquisition terminal;
the data analysis and packaging module is used for analyzing and packaging data based on an MQTT protocol, and performing data cleaning and correction, data format conversion and data desensitization on the data;
the data storage module is used for performing Redis or time sequence storage on data;
and the data operation and response module is used for equipment data response, equipment state diagnosis, model identification and energy-saving calculation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210485684.3A CN114707905A (en) | 2022-05-06 | 2022-05-06 | SG-CIM-based Internet of things terminal modeling and application method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210485684.3A CN114707905A (en) | 2022-05-06 | 2022-05-06 | SG-CIM-based Internet of things terminal modeling and application method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114707905A true CN114707905A (en) | 2022-07-05 |
Family
ID=82176698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210485684.3A Pending CN114707905A (en) | 2022-05-06 | 2022-05-06 | SG-CIM-based Internet of things terminal modeling and application method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114707905A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559160A (en) * | 2013-11-20 | 2014-02-05 | 国家电网公司 | SG-CIM-standard-based construction method for semantic information interaction interface of intelligent power distribution system |
CN109067560A (en) * | 2018-06-13 | 2018-12-21 | 国网冀北电力有限公司 | Self-described terminal plug and play method based on open communication |
CN112187632A (en) * | 2020-09-23 | 2021-01-05 | 大唐广电科技(武汉)有限公司 | Industrial equipment integration model and construction method thereof, edge gateway device and industrial equipment integration system |
CN112733371A (en) * | 2021-01-14 | 2021-04-30 | 国网上海市电力公司 | Electric power internet of things terminal modeling method, device, equipment and storage medium |
-
2022
- 2022-05-06 CN CN202210485684.3A patent/CN114707905A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559160A (en) * | 2013-11-20 | 2014-02-05 | 国家电网公司 | SG-CIM-standard-based construction method for semantic information interaction interface of intelligent power distribution system |
CN109067560A (en) * | 2018-06-13 | 2018-12-21 | 国网冀北电力有限公司 | Self-described terminal plug and play method based on open communication |
CN112187632A (en) * | 2020-09-23 | 2021-01-05 | 大唐广电科技(武汉)有限公司 | Industrial equipment integration model and construction method thereof, edge gateway device and industrial equipment integration system |
CN112733371A (en) * | 2021-01-14 | 2021-04-30 | 国网上海市电力公司 | Electric power internet of things terminal modeling method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2429126B1 (en) | Systems and methods for the configuration of substation remote terminals with a central controller | |
CN102510127B (en) | Method for unifying models of on-line monitored first and secondary equipment of power grid | |
CN107069950A (en) | Automatic identifying method and system of a kind of distribution main website to terminal device | |
CN112668069B (en) | Transformer substation digital transfer method based on three-dimensional design model of power transmission and transformation project and BIM engine | |
CN111541574B (en) | Visual inspection method and system for intelligent substation | |
CN112436603B (en) | Terminal equipment acquisition configuration method and device based on intelligent convergence terminal of transformer area | |
CN110766263B (en) | Automatic acceptance method for secondary equipment of transformer substation and terminal equipment | |
CN106991482B (en) | Intelligent substation IED (intelligent electronic device) interchange method and device | |
CN111654488B (en) | Three-station-in-one transformer substation and sensing terminal information access method | |
WO2015149595A1 (en) | Iec61850-based communication simulation method for insulation on-line monitoring device | |
CN105207366A (en) | IEC61850-based power distribution terminal, namely plug and play model configuration tool and realization method of IEC61850-based power distribution terminal | |
CN112328323B (en) | Relay protection device capability description file generation system | |
CN114123482A (en) | Main plant station information joint debugging decoupling method | |
CN117060591A (en) | Digital power grid system based on digital twin | |
CN114282343A (en) | Equipment modeling method and system suitable for power Internet of things | |
CN107067161B (en) | Automatic checking implementation system and method for information point table in smart power grid | |
CN114707905A (en) | SG-CIM-based Internet of things terminal modeling and application method and system | |
CN111212093A (en) | Data processing system and control device | |
CN116108740A (en) | Modeling method and device for power equipment | |
CN110992671B (en) | Ammeter address forwarding method, device and system and electronic equipment | |
Li et al. | Research on designing methods of the secondary system in digital substation | |
Chang et al. | Real-time testbed for smart substation interoperability: a case study on auxiliary control system | |
CN210899208U (en) | On-site protection intelligent management unit testing device | |
Yang et al. | A novel architecture design of power Internet of Things based on Huawei Internet of Things platform | |
Jiang et al. | New Information Interface Scheme for Substation Monitoring Information Based on E Language and IEC104 Protocol |
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 |