CN107515741A - The lightweight transmission method and device of data between a kind of transformer station and main website - Google Patents

The lightweight transmission method and device of data between a kind of transformer station and main website Download PDF

Info

Publication number
CN107515741A
CN107515741A CN201710562785.5A CN201710562785A CN107515741A CN 107515741 A CN107515741 A CN 107515741A CN 201710562785 A CN201710562785 A CN 201710562785A CN 107515741 A CN107515741 A CN 107515741A
Authority
CN
China
Prior art keywords
data
main website
transformer station
substation
entity object
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
CN201710562785.5A
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.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI, Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201710562785.5A priority Critical patent/CN107515741A/en
Publication of CN107515741A publication Critical patent/CN107515741A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides the lightweight transmission method and device of data between a kind of transformer station and main website, substation data model is described using CIM/E, and generate substation data model and describe file, the interface document that file is converted to substation data model then is described into substation data model;The data transfer between transformer station and main website is finally realized according to the interface document of substation data model.Technical scheme provided by the invention is based on CIM/E generation substation data models, support the bi-directional association of substation data model and Data Exchange Model index, substation data model only includes entity object, and CIM/E is compressed structure, reduce the size that substation data model describes file, and during the interface document based on substation data model is to data are transmitted between transformer station and main website, the transmission more direct transmission structure text of byte number about reduces 30%~90%, data transfer is reduced between transformer station and main website to the demand of communication bandwidth, realize lightweight transmission.

Description

The lightweight transmission method and device of data between a kind of transformer station and main website
Technical field
The present invention relates to data transmission technology, and in particular to the lightweight transmission method of data between a kind of transformer station and main website And device.
Background technology
With the development of intelligent grid, structured text is increasingly used for transformer station or the information model of main website is handed over Change, compared with the communication protocols such as traditional IEC60870-5-101/104, the standard such as IEC 61850, CIM/E uses structured text Model description, communication code are carried out, there is more preferable self descriptiveness and self-explanatory, the grid equipment operation information dimension transmitted Degree is more abundant, improves power network Observable, controllable ability.But its cost is remote measurement, remote signalling, remote control of the transmission with number of samples More message byte numbers are needed Deng " four is distant " information, increases the occupancy to transmission channel bandwidth, turns into IEC 61850, CIM/E Data model interactive standards are confined to one of the reason for transformer station and main website internal applications respectively.
Intelligent substation is established including primary equipment and its topological relation, intelligence electricity based on the standards of IEC 61850 at present The hierarchical model of sub- equipment, messaging parameter, data template etc., station communication system divide substation equipment in logic level For process layer, wall, three layers of process layer.In the prior art, substation configuration description (Substation Configuration Description, SCD) data model uses substation configuration description language (Substation Configuration Language, SCL) it is described, equipment room is based on communication service and carries out data interaction.SCL is that one kind is based on (Extensible Markup Language, XML) structured text description language, and station level communication service is then mapped to manufacture message rule Model, its message coding use the type-length-value structure based on ASN.1.Although IEC 61850-90-2 are used for transformer station and master Data transfer of standing has prototype realization, but communication message coding is more complicated, not yet scale application.
Common information model (Common is mainly established with the object such as power network topology and primary equipment measurement in main website Information Model, CIM), CIM using resource description framework (Resource Description Framework, RDF) describe and index, RDF is also a kind of structured text language based on XML.To simplify information model description, the country works out CIM/E standards are used for describing CIM, and CIM/E uses the text structure of flattening, has the characteristics of succinct, efficient, in main website Cross-system data model is applied in exchanging.IEC technical standards are absorbed as in 2016 end of the year CIM/E standards.
On the whole, SCL or CIM/E is structured text language in terms of information model description.Except this with Outside, using structured text language transmission transformer station's warning information and status monitoring information between transformer station and main website, SCD and The model such as CIM/E descriptive language and message coding all embody structured text application trend.
The content of the invention
In order to overcome the above-mentioned deficiencies of the prior art, the present invention is based between transformer station and main website the characteristics of data transmission technology And demand, there is provided the lightweight transmission method and device of data between a kind of transformer station and main website, power transformation is first described using CIM/E Stand data model, and generate substation data model and describe file;Then substation data model is described into file and is converted to change The interface document of power station data model;The number between transformer station and main website is finally realized according to the interface document of substation data model Transmitted according to lightweight.
In order to realize foregoing invention purpose, the present invention adopts the following technical scheme that:
The present invention provides the lightweight transmission method of data between a kind of transformer station and main website, including:
The present invention provides the lightweight transmission method of data between a kind of transformer station and main website, including:
Substation data model is described using CIM/E, and generates substation data model and describes file;
Substation data model is described into the interface document that file is converted to substation data model;
The data transfer between transformer station and main website is realized according to the interface document of substation data model.
It is described that substation data model is described using CIM/E, and generate substation data model and describe file and include:
The attribute of entity object is determined, the attribute includes base attribute and index attributes;
The description field of attribute is created by CIM/E, and substation data mould is generated by the description field of Aggregate attribute Type describes file.
The attribute for determining entity object includes:
Entity object is extracted from SCD models, according to entity object matched data template;
The base attribute of entity object is extracted from data template, and adds the index attributes of entity object.
The base attribute includes title, description and the value of entity object;
The index attributes include the resource identification number of entity object and quote path, and the resource mark of father's entity object Knowledge number.
The description field of the attribute includes sequence number, title, type, options and initial value.
The interface document of the substation data model is .proto files, described that substation data model is described into file Being converted to the interface document of substation data model includes:
The principle defined according to similar entity object using identical message, define the Google Protobuf in package Message, and the message field of Google Protobuf message is defined item by item;
The sequence number of the attribute of entity object, title, type, options and initial value are respectively mapped to the mark of message field Knowledge number, title, type, rule and initial value;
The definition of Google Protobuf message is preserved, generates the interface document of substation data model.
The interface document according to substation data model realizes that the data transfer between transformer station and main website includes:
Substation data model is cut, generates Data Exchange Model, and generates the interface text of Data Exchange Model Part;
Substation data model is imported into transformer station, forms substation data caching, and Data Exchange Model is imported and led Stand, form main website data buffer storage;
By compiling the interface document of substation data model, generation transformer station message interface, transformer station is set to pass through power transformation Message interface of standing accesses substation data caching;And by compiling the interface document of Data Exchange Model, generation main website message connects Mouthful, main website is accessed main website data buffer storage by main website message interface;
Main website data buffer storage is called by the resource identification number of entity object, and main website data are passed through into main website message interface Transformer station is sent to, while calls substation data to cache by the reference path of entity object, and substation data is passed through Transformer station's message interface is sent to main website.
The present invention also provides the lightweight transmitting device of data between a kind of transformer station and main website, including:
Generation module, for describing substation data model using CIM/E, and generate substation data model description text Part;
Modular converter, for substation data model to be described into the interface document that file is converted to substation data model;
Transport module, for realizing that the data between transformer station and main website pass according to the interface document of substation data model It is defeated.
The generation module includes:
Determining unit, for determining the attribute of entity object, the attribute includes base attribute and index attributes;
Generation unit, generated for creating the description field of attribute by CIM/E, and by the description field of Aggregate attribute Substation data model describes file.
The determining unit is specifically used for:
Entity object is extracted from SCD models, according to entity object matched data template;
The base attribute of entity object is extracted from data template, and adds the index attributes of entity object.
The base attribute includes title, description and the value of entity object;
The index attributes include the resource identification number of entity object and quote path, and the resource mark of father's entity object Knowledge number.
The description field of the attribute includes sequence number, title, type, options and initial value.
The interface document of the substation data model is .proto files, and the modular converter includes:
Definition unit, for the principle defined according to similar entity object using identical message, define in package Google Protobuf message, and the message field of Google Protobuf message is defined item by item;
Map unit, for the sequence number of the attribute of entity object, title, type, options and initial value to be mapped respectively To the identification number of message field, title, type, rule and initial value;
Generation unit, for preserving the definition of Google Protobuf message, generate the interface text of substation data model Part.
The transport module includes:
Unit is cut, for being cut to substation data model, generates Data Exchange Model, and generate data exchange The interface document of model;
Import unit, for substation data model to be imported into transformer station, substation data caching is formed, and data are handed over Mold changing type imports main website, forms main website data buffer storage;
Compilation unit, for the interface document by compiling substation data model, generation transformer station message interface, make change Power station accesses substation data by transformer station's message interface and cached;And by compiling the interface document of Data Exchange Model, it is raw Into main website message interface, main website is set to access main website data buffer storage by main website message interface;
Call unit, for calling main website data buffer storage by the resource identification number of entity object, and main website data are led to Cross main website message interface and be sent to transformer station, while call substation data to cache by the reference path of entity object, and will Substation data is sent to main website by transformer station's message interface.
Compared with immediate prior art, technical scheme provided by the invention has the advantages that:
The lightweight transmission method of data, first describes transformer station using CIM/E between transformer station and main website provided by the invention Data model, and generate substation data model and describe file, file conversion then is described into the substation data model of generation For the interface document of substation data model, finally realized according to the interface document of substation data model between transformer station and main website Data lightweight transmission;
Technical scheme provided by the invention be based on CIM/E generation substation data model, support substation data model and The bi-directional association index of Data Exchange Model, substation data model only includes entity object, and CIM/E is compressed structure, Reduce the size that substation data model describes file;
Interface document of the technical scheme provided by the invention based on substation data model is to data between transformer station and main website Lightweight transmission is carried out, compared with the File Transfer mode such as traditional XML, the interface document based on substation data model is to becoming Data are carried out in lightweight transmitting procedure between power station and main website, and transmission byte number about reduces 30%~90%, reduces power transformation Stand demand of the data transfer to communication bandwidth between main website;
Technical scheme provided by the invention utilizes CIM/E and Google Protobuf message definition forms similitude, real The slitless connection and Data Exchange Model and main website message interface of existing substation data model and Substation Station message interface Slitless connection;
Technical scheme Substation Station message interface and main website message interface provided by the invention calls simplicity, has well Forwardly and rearwardly compatible, the configuration version of substation data model and Data Exchange Model changes, to main website and transformer station Influence all smaller.
Brief description of the drawings
Fig. 1 is the lightweight transmission method flow chart of data between transformer station and main website in the embodiment of the present invention;
Fig. 2 is SCD models in the embodiment of the present invention, substation data model, Data Exchange Model transformational relation figure;
Fig. 3 is attribute the reflecting to the message field of Google Protobuf message of entity object in the embodiment of the present invention Penetrate graph of a relation;
Fig. 4 is data transmission stream between transformer station and main website based on Google Protobuf message in the embodiment of the present invention Cheng Tu.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
The embodiment of the present invention describes the entity object of substation data model, transformer station's telemechanical gateway and master using CIM/E Front end processor stand by importing the substation data model described based on CIM/E standards, establishes data buffer storage respectively, coordinates with light The sequence of message mechanism of quantization, carry out the data transfer between transformer station and main website, support data content forward and to It is compatible afterwards.So as to solve between transformer station and main website, transmission structure text data occupied bandwidth is big, configuring maintenance is complicated, data The problems such as being difficult to directly apply, realize flexible, the high efficiency of transmission of data between transformer station and main website.Choose the change in SCD models The specific implementation process of the embodiment of the present invention is introduced exemplified by the spacing devices model of power station.In SCD models, transformer station's spacing devices Model belongs to the subclass of voltage class class model.The lightweight transmission of data between transformer station and main website provided in an embodiment of the present invention Method flow diagram is as shown in figure 1, specific implementation procedure is as follows:
S101:Substation data model is described using CIM/E, and generates substation data model and describes file;
S102:By S101 generate substation data model describe file be converted to substation data model .proto text Part;
S103:The .proto files of the substation data model obtained according to S102 realize the data between transformer station and main website Lightweight is transmitted.
Because SCD models, substation data model, Data Exchange Model have transformational relation as shown in Figure 2, so In above-mentioned S101, substation data model is described using CIM/E, and generates substation data model and describes file detailed process such as Under:
1) attribute of entity object, including base attribute and index attributes are determined;Detailed process is as follows:
Entity object first is extracted from SCD models, according to entity object matched data template;
Then the base attribute of entity object is extracted from data template, base attribute therein includes the name of entity object Title, description and value;And add the index attributes of entity object, the resource identification mRID of index attributes including entity object and Quote path pathname, and the resource identification parent_mRID of father's entity object.
2) description field of attribute is created by CIM/E, the description field of attribute includes sequence number, title, type, options And initial value, and file is described by the description field generation substation data model of Aggregate attribute.The description field tool of attribute Body is as shown in table 1, and wherein sequence number represents position of the attribute in storage and transmission;Attribute data type comes from SCD models, after The type of corresponding field is consistent with this in continuous Google Protobuf message;Options Choice represents attribute in message Whether must occur during transmission.Initial value Default derives from the initial value of entity object attribute in SCD models, for initializing.
Table 1
@Num Name Type Choice Default
Sequence number Title Type Options Initial value
#1 mRID long required ---
#2 pathname string required ---
#3 name string required ---
#4 desc string optional ---
#5 parent_mRID long required ---
# …… …… …… ……
In above-mentioned S102, by substation data model describe file be converted to substation data model .proto files have Body process is as follows:
1) principle defined according to similar entity object using identical message, i.e., according to the attribute and message word of entity object The one-to-one mode of section defines the Google Protobuf message in package, and defines Google Protobuf item by item The message field of message, the sequence number of the attribute of entity object, title, type, options and initial value are respectively mapped to message Identification number, title, type, rule and the initial value of field, the message of the attribute of entity object to Google Protobuf message The specific mapping relations of field are as shown in Figure 3;The message tBay of the real body object of transformer station's spacing devices model is defined as follows:
Primary equipment, secondary device entity object with class model, it can be used on the basis of above-mentioned message definition " repeated " keyword further encapsulates the message of nesting, by telescopic message structure, the diversified number of flexible adaptation According to interaction demand, unnecessary message transmissions are reduced.TBayGroup message nestings define " tBay " message, sender's Message packet can include the message of one or more tBay types, and recipient can adaptively be parsed.Specifically TBayGroup message definitions are as follows:
2) definition of Google Protobuf message is preserved, generates the .proto files of substation data model.
In above-mentioned S103, the data transfer between transformer station and main website is realized according to the .proto files of substation data model Specific schematic diagram is as shown in figure 4, detailed process is as follows:
1) substation data model is cut, generates Data Exchange Model, and generate Data Exchange Model .proto file;
2) substation data model is imported into transformer station, forms substation data caching, and Data Exchange Model is imported Main website, form main website data buffer storage;
3) by compiling the .proto files of substation data model, generation transformer station message interface, pass through transformer station Transformer station's message interface accesses substation data caching;And by compiling the .proto files of Data Exchange Model, generate main website Message interface, main website is set to access main website data buffer storage by main website message interface;
4) main website data buffer storage is called by the resource identification number of entity object, and main website data is connect by main website message Mouth is sent to transformer station, while calls substation data to cache by the reference path of entity object, and substation data is led to Cross Substation Station message interface and be sent to main website.
In S103, the .proto files of transformer station and main website both sides are after Google Protobuf compilings in generation pair The message interface answered, establish transformer station and associated with main website data access and transmission.By taking tBay message as an example, main website resource identification number Do not have mRID for preset parameter, by entity object RNTO " Cangzhou Wang Hai stations/35kV.3421 intervals ", main website C/C++ codes Example is as follows:
tBay BayInstance;
S=socket.socket (socket.AF_INET, socket.SOCK_STREAM);
BayInstance.set_mRID(114278842306143806);The resource identification number of // object
BayInstance.set_pathname("S1/V1/Q1/L1");// quote path
BayInstance.set_name (" Cangzhou Wang Hai stations/35kV.3421 intervals ");// need the title of renaming
BayInstance.set_parentmRID(113997367329423846);The resource identification number of // parent object
SendData=BayInstance.SerializeToOstream ();// bay objects message sequence turned into number According to stream
s.send(sendData);// pass through network transmission
Application in substations program retrieves entity object according to path is quoted in substation data model, and by it again It is named as at " Cangzhou Wang Hai stations/35kV.3421 intervals ".
Based on same inventive concept, the embodiment of the present invention additionally provides the lightweight transmission dress of data between transformer station and main website Put, the principle that these equipment solve problem is similar to the lightweight transmission method of data between transformer station and main website, and it mainly includes Generation module, modular converter and transport module, the function of above three module is introduced respectively below:
Generation module therein, it is mainly used in describing substation data model using CIM/E, and generates substation data mould Type describes file;
Modular converter therein, is mainly used in the substation data model of generation describing file being converted to substation data The .proto files of model;
Transport module therein, it is mainly used in realizing transformer station and main website according to the .proto files of substation data model Between data lightweight transmission.
Above-mentioned generation module generation substation data model describes file and relies primarily on determining unit and generation unit, and this two The function of individual unit is as follows:
Determining unit therein, is mainly used in determining the attribute of entity object, and the attribute includes base attribute and index Attribute;
Generation unit therein, it is mainly used in creating the description field of the description field, wherein attribute of attribute by CIM/E Substation data model is generated including sequence number, title, type, options and initial value, and by the description field of Aggregate attribute File is described.
Above-mentioned determining unit determines that the attribute detailed process of entity object is:
1) entity object is extracted from SCD models, according to entity object matched data template;
2) base attribute of entity object is extracted from data template, and adds the index attributes of entity object.
Base attribute therein includes title, description and the value of entity object;Index attributes therein include entity pair The resource identification mRID and reference path pathname of elephant, and the resource identification parent_mRID of father's entity object.
Above-mentioned modular converter mainly includes definition unit, map unit and generation unit, separately below to this 3 units Function be introduced:
Definition unit therein, it is mainly used in the principle defined according to similar entity object using identical message, defines Google Protobuf message in package, and the message field of Google Protobuf message is defined item by item;
Map unit therein, it is mainly used in the sequence number of the attribute of entity object, title, type, options and initial Value is respectively mapped to identification number, title, type, rule and the initial value of message field;
Generation unit therein, it is mainly used in preserving the definition of Google Protobuf message, generates substation data mould The .proto files of type.
Above-mentioned transport module mainly includes cutting unit, import unit, compilation unit and call unit, introduces separately below The function of these units:
Cutting unit therein, it is mainly used in cutting substation data model, generates Data Exchange Model, and it is raw Into the .proto files of Data Exchange Model;
Import unit therein, it is mainly used in substation data model importing transformer station, forms substation data caching, And Data Exchange Model is imported into main website, form main website data buffer storage;
Compilation unit therein, it is mainly used in the .proto files by compiling substation data model, generates transformer station Message interface, transformer station is accessed substation data by transformer station's message interface and cache;And by compiling Data Exchange Model .proto files, generation main website message interface, main website is passed through main website message interface and access main website data buffer storage;
Call unit therein, it is mainly used in calling main website data buffer storage by the resource identification number of entity object, and will Main website data are sent to transformer station by main website message interface, while call substation data by the reference path of entity object Caching, and substation data is sent to main website by transformer station's message interface.
In summary, technical scheme provided in an embodiment of the present invention is based on CIM/E generation substation data models, supports to become The bi-directional association of power station data model and Data Exchange Model indexes, and substation data model only includes entity object, and CIM/E For compressed structure, the size that substation data model describes file is reduced, realizes lightweight transmission;And the present invention is implemented Example carries out lightweight transmission based on the .proto files of substation data model to data between transformer station and main website, and traditional The File Transfer mode such as XML is compared, and data between transformer station and main website are carried out based on the .proto files of substation data model In lightweight transmitting procedure, the transmission more direct transmission structure text of byte number about reduces 30%~90%, reduces power transformation Stand demand of the data transfer to communication bandwidth between main website;Furthermore with CIM/E and Google Protobuf message definition forms Similitude, realize the slitless connection and Data Exchange Model and main website of substation data model and Substation Station message interface The slitless connection of message interface;Last Substation Station message interface and main website message interface call simplicity, have well forward And backward compatibility, the configuration version variation of substation data model and Data Exchange Model, the influence to main website and transformer station It is all smaller.
For convenience of description, each several part of apparatus described above is divided into various modules with function or unit describes respectively. Certainly, each module or the function of unit can be realized in same or multiple softwares or hardware when implementing the application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Finally it should be noted that:The above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof, institute The those of ordinary skill in category field with reference to above-described embodiment still can to the present invention embodiment modify or Equivalent substitution, these are applying for this pending hair without departing from any modification of spirit and scope of the invention or equivalent substitution Within bright claims.

Claims (14)

  1. A kind of 1. lightweight transmission method of data between transformer station and main website, it is characterised in that including:
    Substation data model is described using CIM/E, and generates substation data model and describes file;
    Substation data model is described into the interface document that file is converted to substation data model;
    The data transfer between transformer station and main website is realized according to the interface document of substation data model.
  2. 2. the lightweight transmission method of data between transformer station according to claim 1 and main website, it is characterised in that described to adopt Substation data model is described with CIM/E, and generates substation data model and describes file and include:
    The attribute of entity object is determined, the attribute includes base attribute and index attributes;
    The description field of attribute is created by CIM/E, and is retouched by the description field generation substation data model of Aggregate attribute State file.
  3. 3. the lightweight transmission method of data between transformer station according to claim 2 and main website, it is characterised in that described true Determining the attribute of entity object includes:
    Entity object is extracted from SCD models, according to entity object matched data template;
    The base attribute of entity object is extracted from data template, and adds the index attributes of entity object.
  4. 4. the lightweight transmission method of data between transformer station according to claim 3 and main website, it is characterised in that the base This attribute includes title, description and the value of entity object;
    The index attributes include the resource identification number of entity object and quote path, and the resource identification of father's entity object Number.
  5. 5. the lightweight transmission method of data between transformer station according to claim 2 and main website, it is characterised in that the category The description field of property includes sequence number, title, type, options and initial value.
  6. 6. the lightweight transmission method of data between transformer station according to claim 5 and main website, it is characterised in that the change The interface document of power station data model is .proto files, described substation data model is described into file to be converted to transformer station's number Include according to the interface document of model:
    The principle defined according to similar entity object using identical message, the Google Protobuf defined in package are disappeared Breath, and the message field of Google Protobuf message is defined item by item;
    The sequence number of the attribute of entity object, title, type, options and initial value are respectively mapped to the mark of message field Number, title, type, rule and initial value;
    The definition of Google Protobuf message is preserved, generates the interface document of substation data model.
  7. 7. the lightweight transmission method of data between the transformer station and main website according to claim 1 or 6, it is characterised in that institute State and realize that the data transfer between transformer station and main website includes according to the interface document of substation data model:
    Substation data model is cut, generates Data Exchange Model, and generate the interface document of Data Exchange Model;
    Substation data model is imported into transformer station, forms substation data caching, and Data Exchange Model is imported into main website, shape Into main website data buffer storage;
    By compiling the interface document of substation data model, generation transformer station message interface, transformer station is set to disappear by transformer station Cease interface and access substation data caching;And by compiling the interface document of Data Exchange Model, generation main website message interface, make Main website accesses main website data buffer storage by main website message interface;
    Main website data buffer storage is called by the resource identification number of entity object, and main website data are sent by main website message interface Call substation data to cache to transformer station, while by the reference path of entity object, and substation data is passed through into power transformation Message interface of standing is sent to main website.
  8. A kind of 8. lightweight transmitting device of data between transformer station and main website, it is characterised in that including:
    Generation module, for describing substation data model using CIM/E, and generate substation data model and describe file;
    Modular converter, for substation data model to be described into the interface document that file is converted to substation data model;
    Transport module, for realizing the data transfer between transformer station and main website according to the interface document of substation data model.
  9. 9. the lightweight transmitting device of data between transformer station according to claim 8 and main website, it is characterised in that the life Include into module:
    Determining unit, for determining the attribute of entity object, the attribute includes base attribute and index attributes;
    Generation unit, power transformation is generated for creating the description field of attribute by CIM/E, and by the description field of Aggregate attribute Data model of standing describes file.
  10. 10. the lightweight transmitting device of data between transformer station according to claim 9 and main website, it is characterised in that described Determining unit is specifically used for:
    Entity object is extracted from SCD models, according to entity object matched data template;
    The base attribute of entity object is extracted from data template, and adds the index attributes of entity object.
  11. 11. the lightweight transmitting device of data between transformer station according to claim 10 and main website, it is characterised in that described Base attribute includes title, description and the value of entity object;
    The index attributes include the resource identification number of entity object and quote path, and the resource identification of father's entity object Number.
  12. 12. the lightweight transmitting device of data between transformer station according to claim 9 and main website, it is characterised in that described The description field of attribute includes sequence number, title, type, options and initial value.
  13. 13. the lightweight transmitting device of data between transformer station according to claim 12 and main website, it is characterised in that described The interface document of substation data model is .proto files, and the modular converter includes:
    Definition unit, for the principle defined according to similar entity object using identical message, define in package GoogleProtobuf message, and the message field of Google Protobuf message is defined item by item;
    Map unit, for the sequence number of the attribute of entity object, title, type, options and initial value to be respectively mapped to disappear Cease identification number, title, type, rule and the initial value of field;
    Generation unit, for preserving the definition of Google Protobuf message, generate the interface document of substation data model.
  14. 14. the lightweight transmitting device of data between the transformer station and main website according to claim 8 or 13, it is characterised in that The transport module includes:
    Unit is cut, for being cut to substation data model, generates Data Exchange Model, and generate Data Exchange Model Interface document;
    Import unit, for substation data model to be imported into transformer station, substation data caching is formed, and by data exchange mould Type imports main website, forms main website data buffer storage;
    Compilation unit, for the interface document by compiling substation data model, generation transformer station message interface, make transformer station Substation data is accessed by transformer station's message interface to cache;And by compiling the interface document of Data Exchange Model, generation master Stand message interface, main website is passed through main website message interface and access main website data buffer storage;
    Call unit, for calling main website data buffer storage by the resource identification number of entity object, and main website data are passed through into master Message interface of standing is sent to transformer station, while calls substation data to cache by the reference path of entity object, and by power transformation Data of standing are sent to main website by transformer station's message interface.
CN201710562785.5A 2017-07-11 2017-07-11 The lightweight transmission method and device of data between a kind of transformer station and main website Pending CN107515741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710562785.5A CN107515741A (en) 2017-07-11 2017-07-11 The lightweight transmission method and device of data between a kind of transformer station and main website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710562785.5A CN107515741A (en) 2017-07-11 2017-07-11 The lightweight transmission method and device of data between a kind of transformer station and main website

Publications (1)

Publication Number Publication Date
CN107515741A true CN107515741A (en) 2017-12-26

Family

ID=60722491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710562785.5A Pending CN107515741A (en) 2017-07-11 2017-07-11 The lightweight transmission method and device of data between a kind of transformer station and main website

Country Status (1)

Country Link
CN (1) CN107515741A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109888914A (en) * 2019-01-08 2019-06-14 许昌许继软件技术有限公司 A kind of major-minor interlock method of substation and device
WO2020048395A1 (en) * 2018-09-07 2020-03-12 中国电力科学研究院有限公司 Method and system for access between main station and sub-station of power grid
CN111131344A (en) * 2018-10-30 2020-05-08 北京天诚同创电气有限公司 Method and system for transmitting and storing energy internet cloud platform data
CN112270162A (en) * 2020-09-25 2021-01-26 北京达佳互联信息技术有限公司 Text conversion and message transmission method, device, equipment, server and medium
CN112347062A (en) * 2019-08-07 2021-02-09 中国石油化工股份有限公司 Method for realizing seismic data sharing and storage medium
CN113824597A (en) * 2021-10-08 2021-12-21 广东电网有限责任公司 Transformer substation data transmission method and device
CN114221864A (en) * 2020-09-03 2022-03-22 中国南方电网有限责任公司 Intelligent substation switch machine model and configuration dynamic management method and device
CN114401321A (en) * 2021-12-31 2022-04-26 中国电力科学研究院有限公司 Method, system, equipment and storage medium for lightweight transmission of broadband measurement data
CN112270162B (en) * 2020-09-25 2024-06-21 北京达佳互联信息技术有限公司 Text conversion and message transmission method, device, equipment, server and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020136231A1 (en) * 2001-03-12 2002-09-26 Leatherbury Ryan M. Time division multiple access over broadband modulation method and apparatus
CN102929911A (en) * 2012-09-10 2013-02-13 福建省电力有限公司 All-in-one modeling method for transformer substation and dispatching master station
CN104134163A (en) * 2014-07-11 2014-11-05 国家电网公司 Power distribution network graph and model management system and power distribution network graph and model management method based on CIM/E and CIM/G

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020136231A1 (en) * 2001-03-12 2002-09-26 Leatherbury Ryan M. Time division multiple access over broadband modulation method and apparatus
CN102929911A (en) * 2012-09-10 2013-02-13 福建省电力有限公司 All-in-one modeling method for transformer substation and dispatching master station
CN104134163A (en) * 2014-07-11 2014-11-05 国家电网公司 Power distribution network graph and model management system and power distribution network graph and model management method based on CIM/E and CIM/G

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王斌斌: "基于 Protobuf 的 RPC ***设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *
高志远: "变电站模型的CIM/E表达", 《中国电机工程学会电力***自动化专业委员会2012年学术交流会论文集》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020048395A1 (en) * 2018-09-07 2020-03-12 中国电力科学研究院有限公司 Method and system for access between main station and sub-station of power grid
CN111131344A (en) * 2018-10-30 2020-05-08 北京天诚同创电气有限公司 Method and system for transmitting and storing energy internet cloud platform data
CN109888914A (en) * 2019-01-08 2019-06-14 许昌许继软件技术有限公司 A kind of major-minor interlock method of substation and device
CN112347062A (en) * 2019-08-07 2021-02-09 中国石油化工股份有限公司 Method for realizing seismic data sharing and storage medium
CN114221864A (en) * 2020-09-03 2022-03-22 中国南方电网有限责任公司 Intelligent substation switch machine model and configuration dynamic management method and device
CN112270162A (en) * 2020-09-25 2021-01-26 北京达佳互联信息技术有限公司 Text conversion and message transmission method, device, equipment, server and medium
CN112270162B (en) * 2020-09-25 2024-06-21 北京达佳互联信息技术有限公司 Text conversion and message transmission method, device, equipment, server and medium
CN113824597A (en) * 2021-10-08 2021-12-21 广东电网有限责任公司 Transformer substation data transmission method and device
CN113824597B (en) * 2021-10-08 2023-05-19 广东电网有限责任公司 Substation data transmission method and device
CN114401321A (en) * 2021-12-31 2022-04-26 中国电力科学研究院有限公司 Method, system, equipment and storage medium for lightweight transmission of broadband measurement data

Similar Documents

Publication Publication Date Title
CN107515741A (en) The lightweight transmission method and device of data between a kind of transformer station and main website
CN105095600B (en) A kind of intelligent substation and regulation and control center cooperative modeling method
CN102270261B (en) Design method for intelligent transformer station model based on CAD (Computer-Aided Design) graph and model integration
CN104636490B (en) A kind of graphical comparison method of intelligent substation SCD file
CN102750406B (en) Multi-version management method for model set and difference model-based power grid model
CN102750358B (en) Mapping method and system of system data model to common information model (CIM)
CN102832703A (en) Transformer substation based on model converter and quick scheduling master station converting method
CN102779156B (en) Configuration method for database of communication device in digital substation
CN102693129B (en) The model conversion method of IEC61850 to 61970 and device
CN104317864B (en) A method of the information model automatic identification based on IEC61850 logical nodes
CN103779962A (en) Intelligent telecontrol machine based method for converting 61850 model to CIM model
CN106528880A (en) Normalizing method and system for data structure format of multi-source power service data
CN102411649B (en) Method for interchanging designs by using general model of intelligent device
CN106021344B (en) A kind of flexible CIME electric network model sharing method
CN110308966B (en) Static security analysis method based on container technology
CN104361105B (en) Electricity distribution network model and topological method of calibration based on ontology inference
CN103513976B (en) Service flowpath modelling approach and device
CN103049431A (en) ICD (IED Capability Description) inspection method based on objectified module semantics
CN107332702A (en) A kind of SCD file visualization parsing automatic generation method based on network topology
CN104102790A (en) GIS (Geographic Information System)-based automatic diagram forming system and method of power supply diagram
CN108040111A (en) A kind of apparatus and method for supporting natural language interaction
CN104750468B (en) A kind of server-side topological data conversion method and conversion equipment
CN104050265A (en) General bus adaptor construction method based on IEC 61968 standards
CN103412741A (en) Transformer SVG image splicing method and system of relevant CIM model
CN102262703B (en) Method for constructing figure and RDF (Radio Direction Finder) model for designing intelligent transformer substation

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171226