CN117668076A - Adaptation method of power equipment custom model - Google Patents

Adaptation method of power equipment custom model Download PDF

Info

Publication number
CN117668076A
CN117668076A CN202311646235.3A CN202311646235A CN117668076A CN 117668076 A CN117668076 A CN 117668076A CN 202311646235 A CN202311646235 A CN 202311646235A CN 117668076 A CN117668076 A CN 117668076A
Authority
CN
China
Prior art keywords
object model
data
protocol
equipment
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311646235.3A
Other languages
Chinese (zh)
Inventor
陈曦
冯波
王鹏亮
成国森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Richstone Technology Co ltd
Original Assignee
Guangzhou Richstone Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Richstone Technology Co ltd filed Critical Guangzhou Richstone Technology Co ltd
Priority to CN202311646235.3A priority Critical patent/CN117668076A/en
Publication of CN117668076A publication Critical patent/CN117668076A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/256Integrating or interfacing systems involving database management systems in federated or virtual databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Water Supply & Treatment (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Primary Health Care (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses an adaptation method of a custom object model of power equipment, which belongs to the technical field of the Internet of things and comprises the following steps: and the object model is customized, object model information is synchronous, object model mapping definition, adaptive access and object model data output are carried out. The method can solve the problems of protocol difference, soft and hard development coupling, equipment island and data island of a plurality of heterogeneous power equipment, meet the flexible and standard access requirements of the power equipment, and support the data acquisition of the power equipment in the power grid business application.

Description

Adaptation method of power equipment custom model
Technical Field
The invention belongs to the technical field of the Internet of things, and particularly relates to an adaptation method of a custom object model of power equipment.
Background
Under the low-carbon large background, the power industry is in accordance with national development requirements, and continuously develops towards the direction of energy conservation and environmental protection, and the power Internet of things is also a key point of low-carbon development.
Along with the gradual propulsion of the electric power internet of things, the electric power industry has the characteristics of large number of terminal devices, complex industrial control protocol and various service demands, and the electric power internet of things is difficult in data acquisition due to the fact that the data formats, transmission protocols and the like generated and transmitted by different devices are completely different due to various device types.
Disclosure of Invention
The technical problem to be solved by the invention is to overcome the above difficulties, define through object model, and adapt different electric power equipment, thereby realizing effective management of data interaction.
In order to achieve the above purpose, the invention provides an adaptation method of a self-defined object model of power equipment, which has the following technical scheme:
an adaptation method of a power equipment custom model comprises the following steps:
step S1: the method comprises the steps of customizing an object model, carrying out digital expression of unified format on information of power terminal equipment, constructing a unified object model standard data message format, and generating object model information of the equipment;
s2, object model information is synchronized, and the object model information is provided for the power terminal equipment through a unified object model information interface;
step S3, acquiring a data message format reported by the power terminal equipment, and judging whether the data message format is the same as the standard data message format of the object model;
if the data message format is different from the standard data message format of the object model, defining an object model mapping rule of the power terminal equipment, generating an object model mapping rule based on a matching relation between the data message format reported by the power terminal equipment and the object model information, and jumping to the step S4;
if the data message format is the same as the standard data message format of the object model, jumping to the step S5;
step S4, adapting access is carried out, the power terminal equipment with the data message format different from the standard data message format of the object model is adapted, and then step S5 is skipped, wherein the adaptation comprises protocol adaptation and data conversion adaptation;
step S5: and outputting object model data, storing the object model data, updating object model information, and transferring to an upper-layer service system through a unified format stream.
Further, the step S1: the method comprises the steps of carrying out digital expression on the power terminal in the Internet of things through the customization of the object model, wherein all information of the power terminal equipment is described as attributes, events and interfaces.
Further, the attributes include static attributes and dynamic attributes of the power equipment, wherein the static attributes are attributes of the power equipment which are not changed in the whole life cycle; the dynamic attribute is an attribute of data collected during operation of the power device.
Further, the event is a service information and alarm event actively reported by the power equipment, and the event parameter is set to be a user-defined object model event, wherein the event parameter comprises an event identifier, an event name and an event type.
Further, the interface is an interface for receiving a control command by the power equipment, can be remotely called by the authorized equipment and execute response or control class operation, and is a user-defined object model interface by setting parameters of the interface, wherein the interface parameters comprise an interface identifier, an interface name, an interface description, an interface method name, an interface parameter transmission and an interface parameter output.
Further, the object model information interface adopts an API interface.
Further, in the step S2, the object model information provided to the power terminal device includes: the object model unique identification, the attribute description and instruction service description of the device and the message format, and the configuration information of the supported access protocol, including protocol type, protocol address and access account key.
Further, in the step S3, the data message format includes a message format of attribute value data and a message format of event report data.
Further, in step S4, the protocol adaptation specifically includes the following steps:
step S401, before accessing, the power terminal equipment to be accessed selects a transmission protocol, acquires required configuration information and carries out protocol information configuration;
step S402, when in access, the Internet of things platform is configured according to protocol information to select a corresponding transmission protocol, and the power terminal equipment and the Internet of things platform establish a communication link through the selected transmission protocol service;
step S403, data uploaded by the power terminal equipment is obtained, and a protocol analysis layer carries out protocol analysis on the uploaded data;
in step S404, the protocol encapsulation layer encapsulates the parsed data into a unified protocol format.
Further, in step S4, the data conversion adaptation specifically includes the following steps:
step S410, uploading the message content by the equipment with the protocol adaptation by adopting a unified protocol format;
step S411, extracting data from the message content uploaded in the unified protocol format, and converting the data according to the object model mapping rule defined in step S3.
Compared with the prior art, the invention has the following beneficial effects:
by the aid of the self-defined power equipment object model and the adaptation method, unified and standard methods are provided, the problems of protocol difference, soft and hard development coupling, equipment island, data island and the like of a plurality of heterogeneous power equipment are solved, flexible and standard access requirements of the power equipment can be met, and data acquisition of the power equipment in power grid business application is supported.
Drawings
FIG. 1 is a flow chart of one embodiment of the present invention;
FIG. 2 is a schematic diagram of a protocol adaptation process according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a data adaptation process according to an embodiment of the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the present invention to achieve the preset purpose, the following detailed description refers to the specific implementation, structure, characteristics and effects of a method for adapting a customized object model of an electrical device according to the present invention, with reference to the accompanying drawings and preferred embodiments.
As shown in fig. 1-3, the invention provides a method for adapting a custom object model of a power device, which comprises the following steps:
step S1: the method comprises the steps of customizing an object model, carrying out digital expression of unified format on information of power terminal equipment, constructing a unified object model standard data message format, and generating object model information of the equipment;
the power equipment custom object model is a digital expression of various Internet of things terminal equipment in the power industry in the Internet of things, is a basis for realizing information interaction of the power terminal equipment, and is constructed to unify an equipment attribute description method, standardize a data exchange format, establish a standardized data mapping relation between the terminal equipment and a service system and support application interaction requirements of data information of the power terminal equipment in the Internet of things;
the definition of the object model is based on a description language format of an object, the unified expression is mainly unified on data expression formats such as abstract definition, parameter description and the like, and the object model contains all information required for describing the power equipment. The method comprises the steps of attribute description, event description, instruction service description, definition and the like of equipment, and complete description of equipment functions is realized by mapping the equipment to three dimensions of attributes, events and interfaces;
1) The attributes comprise static attributes and dynamic attributes of the power equipment, wherein the static attributes are the attributes of the power equipment which cannot change in the whole life cycle, and include, but are not limited to, unique equipment identifiers, equipment names, equipment models and the like; the dynamic attribute refers to an attribute of collected data in the running process of the power equipment, and supports the self-definition of the dynamic attribute by setting attribute unique identification, attribute name, data type of value, data length, whether filling is needed, whether read-only and other self-definition object model attributes such as collection quantity of current, voltage and the like of an ammeter;
2) The event refers to service information and alarm event actively reported by the power equipment, and event parameters such as event identification, event name, event type (information and alarm), event parameters and the like are set to be user-defined object model events;
3) The interface refers to an interface of the electric equipment for receiving the control command, and can be remotely called by the authorized equipment and execute response or control operation, such as temperature setting of the air conditioning equipment. Setting interface identification, interface name, interface description, interface method name, interface parameter transmission, interface parameter output and other parameters of the interface to define object model interface;
the description language format adopts a JSON format (JavaScript Object Notation, JS object mark, a lightweight data exchange format);
s2, object model information is synchronized, and the object model information is provided for the power terminal equipment through a unified object model information interface;
the object model information interface adopts an API interface;
step S3, acquiring a data message format reported by the power terminal equipment, wherein the data message format comprises attribute value data and event report data;
setting a mapping rule according to the message format of the equipment, if the data message format is the same as the standard data message format of the object model, jumping to the step S5;
as reported, if the data message format is a custom data message format, the mapping rule of the object model is required, and the specific mapping matching relationship is as follows:
1) The data transmission reported by the device is in josn format: mapping through a key value of the JSON message and a unique identifier of an identifier attribute of the object model; such as: { key1:v1, key2:v2}, mapping properties defined by the object model through key1 can support nested JSON, mapping using a path of key values of JSON, such as: { test } { key1:v1, key2:v2}, mapping the properties defined by the object model by test. Key 1;
2) The data transmission reported by the device is in binary format: mapping by the address of binary data and the unique identification of identifier attribute of object model;
after the object model mapping rule is set, the process goes to step S4.
And S4, adapting access, namely adapting the power terminal equipment with the data message format different from the standard data message format of the object model, and then jumping to the step S5, wherein the adapting comprises protocol adapting and data conversion adapting.
The protocol adaptation service provides protocol adaptation libraries of various protocols such as ICE104, MQTT, coAP, modBus, and the like, and a user firstly selects a corresponding transmission protocol of equipment to acquire required configuration information before accessing terminal equipment, and carries out protocol information configuration;
when the terminal equipment is accessed, the terminal equipment is connected to the service of the corresponding protocol in the protocol adaptation library according to the protocol configuration information to establish a communication link;
the terminal equipment uploads data information through a corresponding protocol service, and protocol analysis is carried out on the data packet through a protocol analysis layer of the protocol service to obtain terminal equipment data;
after the protocol is analyzed, the terminal equipment data is encapsulated into a unified MQTT (Message Queuing Telemetry Transport, message queue telemetry transport protocol) protocol format through a protocol encapsulation layer to issue messages.
The data conversion adaptation service obtains the message content uploaded by the equipment after protocol adaptation through a unified MQTT (Message Queuing Telemetry Transport, message queue telemetry transport protocol) protocol format.
In step S1, standard equipment object model information of the equipment is defined by an object model;
in step S3, defining a data conversion rule between the equipment uploading data and the object model data through object model mapping definition;
therefore, the data extraction can be performed on the message content of the device according to the obtained message content uploaded by the device after protocol adaptation, and the data conversion can be performed according to the data conversion rule corresponding to the device in the step S3, so as to convert the data into object model data.
Step S5: and outputting object model data, storing the object model data, updating object model information, and transferring to an upper-layer service system through a unified format stream.
The foregoing has described the basic principles and advantages of the present invention. It should be understood by those skilled in the art that the foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the invention, but any modifications, equivalents, improvements and modifications made within the spirit and principles of the invention are intended to be included within the scope of the present application.

Claims (10)

1. The adaptation method of the self-definition object model of the power equipment is characterized by comprising the following steps of:
step S1: the method comprises the steps of customizing an object model, carrying out digital expression of unified format on information of power terminal equipment, constructing a unified object model standard data message format, and generating object model information of the equipment;
s2, object model information is synchronized, and the object model information is provided for the power terminal equipment through a unified object model information interface;
step S3, acquiring a data message format reported by the power terminal equipment, and judging whether the data message format is the same as the standard data message format of the object model;
if the data message format is different from the standard data message format of the object model, defining an object model mapping rule of the power terminal equipment, generating an object model mapping rule based on a matching relation between the data message format reported by the power terminal equipment and the object model information, and jumping to the step S4;
if the data message format is the same as the standard data message format of the object model, jumping to the step S5;
step S4, adapting access is carried out, the power terminal equipment with the data message format different from the standard data message format of the object model is adapted, and then step S5 is skipped, wherein the adaptation comprises protocol adaptation and data conversion adaptation;
step S5: and outputting object model data, storing the object model data, updating object model information, and transferring to an upper-layer service system through a unified format stream.
2. The method for adapting a custom model of electrical equipment according to claim 1, wherein: the step S1: the method comprises the steps of carrying out digital expression on the power terminal in the Internet of things through the customization of the object model, wherein all information of the power terminal equipment is described as attributes, events and interfaces.
3. The method for adapting a custom model of an electrical device according to claim 2, wherein: the attributes comprise static attributes and dynamic attributes of the power equipment, wherein the static attributes are the attributes of the power equipment which are not changed in the whole life cycle; the dynamic attribute is an attribute of data collected during operation of the power device.
4. The method for adapting a custom model of an electrical device according to claim 2, wherein: the event is business information and alarm event actively reported by the power equipment, and the event parameter is set to be a user-defined object model event, wherein the event parameter comprises event identification, event name and event type.
5. The method for adapting a custom model of an electrical device according to claim 2, wherein: the interface is a control command interface received by the power equipment, can be remotely called by the authorized equipment and execute response or control class operation, and is a user-defined object model interface by setting parameters of the interface, wherein the interface parameters comprise an interface identifier, an interface name, an interface description, an interface method name, an interface parameter transmission and an interface parameter output.
6. The method for adapting a custom model of an electrical device according to claim 2, wherein: the object model information interface adopts an API interface.
7. The method for adapting a custom model of an electrical device according to claim 2, wherein: in the step S2, the object model information provided to the power terminal device includes: the object model unique identification, the attribute description and instruction service description of the device and the message format, and the configuration information of the supported access protocol, including protocol type, protocol address and access account key.
8. The method for adapting a custom model of an electrical device according to claim 2, wherein: in the step S3, the data message format includes a message format of attribute value data and a message format of event report data.
9. The method for adapting a custom model of electrical equipment according to claim 1, wherein: in step S4, the protocol adaptation specifically includes the following steps:
step S401, before accessing, the power terminal equipment to be accessed selects a transmission protocol, acquires required configuration information and carries out protocol information configuration;
step S402, when in access, the Internet of things platform is configured according to protocol information to select a corresponding transmission protocol, and the power terminal equipment and the Internet of things platform establish a communication link through the selected transmission protocol service;
step S403, data uploaded by the power terminal equipment is obtained, and a protocol analysis layer carries out protocol analysis on the uploaded data;
in step S404, the protocol encapsulation layer encapsulates the parsed data into a unified protocol format.
10. The method for adapting a custom model of electrical equipment according to claim 1, wherein: in step S4, the data conversion adaptation specifically includes the following steps:
step S410, uploading the message content by the equipment with the protocol adaptation by adopting a unified protocol format;
step S411, extracting data from the message content uploaded in the unified protocol format, and converting the data according to the object model mapping rule defined in step S3.
CN202311646235.3A 2023-12-01 2023-12-01 Adaptation method of power equipment custom model Pending CN117668076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311646235.3A CN117668076A (en) 2023-12-01 2023-12-01 Adaptation method of power equipment custom model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311646235.3A CN117668076A (en) 2023-12-01 2023-12-01 Adaptation method of power equipment custom model

Publications (1)

Publication Number Publication Date
CN117668076A true CN117668076A (en) 2024-03-08

Family

ID=90082111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311646235.3A Pending CN117668076A (en) 2023-12-01 2023-12-01 Adaptation method of power equipment custom model

Country Status (1)

Country Link
CN (1) CN117668076A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176180A (en) * 2020-01-06 2020-05-19 深圳市同洲电子股份有限公司 Heterogeneous Internet of things equipment management system
US20220075708A1 (en) * 2020-09-10 2022-03-10 Doppelio Technologies Private Limited Device virtualization and simulation of a system of things
CN114282343A (en) * 2021-11-10 2022-04-05 国电南瑞科技股份有限公司 Equipment modeling method and system suitable for power Internet of things
CN114827202A (en) * 2022-04-23 2022-07-29 杭州半云科技有限公司 Entity transmission method, system and storage medium based on Internet of things interaction
CN115118794A (en) * 2022-06-17 2022-09-27 北京亚华物联科技发展有限公司 Data standardization processing method and device and electronic equipment
CN115514656A (en) * 2022-09-30 2022-12-23 美的集团股份有限公司 Object model adaptation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176180A (en) * 2020-01-06 2020-05-19 深圳市同洲电子股份有限公司 Heterogeneous Internet of things equipment management system
US20220075708A1 (en) * 2020-09-10 2022-03-10 Doppelio Technologies Private Limited Device virtualization and simulation of a system of things
CN114282343A (en) * 2021-11-10 2022-04-05 国电南瑞科技股份有限公司 Equipment modeling method and system suitable for power Internet of things
CN114827202A (en) * 2022-04-23 2022-07-29 杭州半云科技有限公司 Entity transmission method, system and storage medium based on Internet of things interaction
CN115118794A (en) * 2022-06-17 2022-09-27 北京亚华物联科技发展有限公司 Data standardization processing method and device and electronic equipment
CN115514656A (en) * 2022-09-30 2022-12-23 美的集团股份有限公司 Object model adaptation method and device

Similar Documents

Publication Publication Date Title
US11635455B2 (en) System and method for performing data transfers in an intelligent electronic device
CN108769165B (en) Data processing method in Internet of things and Internet of things access system
CN113542365B (en) Terminal-side Internet of things platform architecture based on multi-scene application
CN111294235B (en) Data processing method, device, gateway and readable storage medium
CN112422519A (en) Electric power Internet of things IP fusion terminal and communication method thereof
CN114205350A (en) Edge side protocol conversion system and method
CN113467771B (en) Model-based industrial edge cloud collaboration system and method
CN111314371A (en) Edge device access system and method based on intelligent gateway technology
CN115174621B (en) Edge internet of things proxy device for intelligent inspection of hydropower station
CN115412602A (en) Data parsing and transferring method, device, equipment and medium for digital twin
Azzara et al. The icsi m2m middleware for iot-based intelligent transportation systems
CN115134380B (en) Data transmission method, device, electronic equipment and storage medium
CN114040018A (en) Data receiving and transmitting method and device based on JSON data format
CN116156012B (en) Universal heterogeneous Internet of things equipment standardized access and data analysis system and method
CN117668076A (en) Adaptation method of power equipment custom model
CN115002236B (en) Edge soft gateway for visual configuration of data protocol
CN115695090A (en) Data transmission method, internet of things gateway equipment and computer readable storage medium
CN105930295B (en) A kind of method and device of secondary equipment of intelligent converting station plug and play
Li et al. Efficient oneM2M protocol conversion platform based on NB-IoT access
CN113872988A (en) Self-adaptive access system and method compatible with traditional power distribution terminal and internet of things terminal
CN110866614B (en) GSP-based transparent operation and maintenance method and system for intelligent substation automation equipment
CN107528888B (en) Intelligent electronic equipment of transformer substation and data sending and receiving method and system thereof
CN112687267A (en) Internet of things data semantic processing system
CN109257359A (en) MMS packet parsing to IEC61850 project operation layer method
CN115695575A (en) Protocol data conversion method and device for power system

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