CN106874011A - A kind of document generating method and device - Google Patents

A kind of document generating method and device Download PDF

Info

Publication number
CN106874011A
CN106874011A CN201710116579.1A CN201710116579A CN106874011A CN 106874011 A CN106874011 A CN 106874011A CN 201710116579 A CN201710116579 A CN 201710116579A CN 106874011 A CN106874011 A CN 106874011A
Authority
CN
China
Prior art keywords
logical node
running state
state information
data set
generated
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.)
Granted
Application number
CN201710116579.1A
Other languages
Chinese (zh)
Other versions
CN106874011B (en
Inventor
张磊
陈宏君
徐卫峰
文继锋
曾凯
刘坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering 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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN201710116579.1A priority Critical patent/CN106874011B/en
Publication of CN106874011A publication Critical patent/CN106874011A/en
Application granted granted Critical
Publication of CN106874011B publication Critical patent/CN106874011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of document generating method and device, the method can include:When in the visualization engineering page, corresponding first running state information of the visualization engineering page is obtained;According to default grouping strategy, the first running state information is divided into n class running state informations, n is more than or equal to 1;According to n classes running state information, preset data model configuration file and preset data class exemplary construction, generation capacity of equipment describes file ICD files.

Description

A kind of document generating method and device
Technical field
The present invention relates to the graphic programming technology of industrial control field, more particularly to a kind of document generating method and dress Put.
Background technology
In actual life, due to the control system in the comprehensively monitoring of power station and relay protection, excitation etc. be typically into Row uniform bidding, user wishes that a unified monitoring backstage can simultaneously to including the hydraulic turbine, generator and auxiliary subsystem The power generation process of system and operation is monitored to excitation, the same period, unit and house power protection etc. in power station, and among these Include industrial control device.
In the prior art, the maturation of digital relay protection equipment puts into operation so that Industry Control user begins to use power train System automatic field universal standard (IEC61850, International Electro technical Commission 61850) communicated, therefore, during IEC61850 standards have also been introduced into industrial control device, mainly industrial control device is read Take intelligent electronic device ability description (ICD, Intelligent Electronic Device Capability Description) file, character style is abstracted into by physical equipment, forms the variable list for needing transmission.
However, conventionally, as industrial control device is generally using the programming in Programmable Logic Controller standard Language (IEC61131-3, International Electro technical Commission61131-3) standard is compiled Journey, and industrial control device uses FBD (FBD, Function Block Diagram) graphic programming pattern, Under FBD graphic programming patterns, not in IEC61850 standards ICD files logical node graph-based, therefore, lead Causing the difficulty and workload of configuration modeling increases.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention is expected to provide a kind of document generating method and device, can drop The difficulty of low configuration modeling, reduces the workload of configuration modeling.
The technical proposal of the invention is realized in this way:
The embodiment of the present invention provides a kind of document generating method, and methods described can include:
When in the visualization engineering page, corresponding first running state information of the visualization engineering page is obtained;
According to default grouping strategy, first running state information is divided into n class running state informations, n more than etc. In 1;
According to the n classes running state information, preset data model configuration file and preset data class exemplary construction, generation Capacity of equipment describes file ICD files.
In the above-mentioned methods, it is described according to the n classes running state information, preset data model configuration file and present count According to class exemplary construction, ICD files are generated, including:
The first corresponding relation storehouse is obtained from the preset data model configuration file, the first corresponding relation storehouse is used for Characterize the type of the n classes running state information and the corresponding relation of logical node;
According to the first corresponding relation storehouse and the n classes running state information, in the preset data class exemplary construction Under, generate logical node example;
According to the logical node example, data set and its corresponding report block are generated;
According to the logical node example, the data set and the report block, the ICD files are generated.
In the above-mentioned methods, it is described to be preset described according to the first corresponding relation storehouse, the n classes running state information Under data class exemplary construction, logical node example is generated, including:
Based on the preset data class exemplary construction, logical node example mould is created according to the first corresponding relation storehouse Type;
The n classes running state information is added in the logical node instance model, the logical node reality is obtained Example.
In the above-mentioned methods, it is described according to the logical node example, generate data set and its corresponding report block, bag Include:
Attribute instance in the logical node example is added in pre-generatmg data set, the data set is generated;
According to the data set, the report block is generated.
In the above-mentioned methods, described according to the logical node example, the data set and the report block, generation is described ICD files, including:
According to preset standard framework strategy, the frame joint of the ICD files is generated, the frame joint is described for composition The standard card cage structure of ICD files;
According to the logical node example, the data set, the report block and the frame joint, the ICD is generated File.
The embodiment of the present invention provides a kind of file creating apparatus, and the file creating apparatus include:
Acquiring unit, for when in the visualization engineering page, obtaining the visualization engineering page corresponding first Running state information;
Division unit, for according to default grouping strategy, first running state information being divided into n class running statuses Information, n is more than or equal to 1;
Generation unit, for according to the n classes running state information, preset data model configuration file and preset data class Exemplary construction, generation capacity of equipment describes file ICD files.
In said apparatus, the acquiring unit is additionally operable to obtain first from the preset data model configuration file Corresponding relation storehouse, the type that the first corresponding relation storehouse is used to characterize the n classes running state information is right with logical node Should be related to;
The generation unit, is additionally operable to according to the first corresponding relation storehouse and the n classes running state information, described Under preset data class exemplary construction, logical node example is generated;According to the logical node example, data set and its correspondence are generated Report block;According to the logical node example, the data set and the report block, the ICD files are generated.
In said apparatus, the file creating apparatus also include:Creating unit and adding device;
The creating unit, for based on the preset data class exemplary construction, being created according to the first corresponding relation storehouse Build logical node instance model;
The adding device, for the n classes running state information to be added in the logical node instance model, obtains To the logical node example.
In said apparatus, the generation unit is additionally operable to be added to the attribute instance in the logical node example In pre-generatmg data set, the data set is generated;According to the data set, the report block is generated.
In said apparatus, the generation unit is additionally operable to, according to preset standard framework strategy, generate the ICD files Frame joint, the frame joint is the standard card cage structure for constituting the ICD files;
The generation unit, specifically for according to the logical node example, the data set, the report block and described Frame joint, generates the ICD files.
A kind of document generating method and device are the embodiment of the invention provides, during by the visualization engineering page, is obtained Take corresponding first running state information of the visualization engineering page;According to default grouping strategy, the first running state information is drawn It is divided into n class running state informations, n is more than or equal to 1;According to n classes running state information, preset data model configuration file and default Data class exemplary construction, generation capacity of equipment describes file ICD files.Using above-mentioned technic relization scheme, file creating apparatus Running state information is obtained from the FBD graphic programmings page, and it is classified according to classification, by the operation shape of completion of classifying State information is added in preset data class exemplary construction, generates logical node example, and data are generated further according to logical node example Collection, report block, ultimately generate ICD files, can generate ICD files under FBD graphical programming patterns, so that, in Industry Control IEC61850 standards are introduced in device, the difficulty of configuration modeling can be reduced, reduce the workload of configuration modeling.
Brief description of the drawings
Fig. 1 is a kind of flow chart one of document generating method provided in an embodiment of the present invention;
Fig. 2 is a kind of flowchart 2 of document generating method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of exemplary document generating method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation one of file creating apparatus provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation two of file creating apparatus provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation three of file creating apparatus provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.
Embodiment one
The embodiment of the present invention provides a kind of document generating method, as shown in figure 1, the method can include:
S101, when in the visualization engineering page, obtain visualization corresponding first running state information of the engineering page.
A kind of document generating method provided in an embodiment of the present invention is applied to the graphical page lifes of FBD in IEC61131-3 Into under the scene of ICD files.
In the embodiment of the present invention, when the visualization engineering page in file creating apparatus, file creating apparatus pass through The output symbol of the analysis visualization engineering page, gets corresponding first running state information of the visualization engineering page.
In the embodiment of the present invention, the first running state information includes some status informations of output board card or device, for example: Network state, board whether the information such as normal operation.
S102, according to default grouping strategy, the first running state information is divided into n class running state informations, n more than etc. In 1.
After first state information is got, file creating apparatus by first state information according to default grouping strategy, It is divided into n class running state informations.
In the embodiment of the present invention, n classification is pre-set inside file creating apparatus, the first state letter that will be got Cease Type division according to first state information into the corresponding n classes running state information of n classification.
In the embodiment of the present invention, n classification can be the classifications such as remote signalling, shaping remote measurement, floating-point remote measurement, remote control and remote regulating.
Exemplary, file creating apparatus are by type for the first state information of NETDO is divided into remote signalling group.
S103, according to n classes running state information, preset data model configuration file and preset data class exemplary construction, it is raw Forming apparatus capabilities description file ICD files.
After n class running state informations are obtained, file creating apparatus just can be according to n classes running state information, pre- If data model configuration file and preset data class exemplary construction, ICD files are generated.
In the embodiment of the present invention, preset data model configuration file includes the first corresponding relation storehouse, and first correspondence is closed It is that storehouse is the type of n class running state informations and the corresponding relation storehouse of logical node, file creating apparatus are first from preset data mould The first corresponding relation storehouse is got in type configuration file, then, file creating apparatus are further according to the first corresponding relation for getting Storehouse and n class running state informations, under preset data class exemplary construction, generate logical node example, afterwards, file creating apparatus According to logical node example, data set and its corresponding report block are generated, finally, file creating apparatus according to getting respectively Logical node example, data set and report block, generate the ICD files for meeting IEC61850 standards.
In the embodiment of the present invention, preset data model configuration file can include predefined logical node type, data Object type, data attribute type, the definition of enumeration type data class.
In the embodiment of the present invention, file creating apparatus previously generate data class exemplary construction, specifically, file creating apparatus Create the knot such as intelligent electronic device (IED, Intelligent Electronic Device), AccessPoint, LDevice Structure, wherein, the attribute of IED is set automatically according to file creating apparatus information, and AccessPoint is created under IED nodes, LDevice is created under AccessPoint.
Preferably, file creating apparatus create an AccessPoint of the entitled S1 of example under IED nodes, under S1 Create the LDevice of the entitled PROT of example.
In the embodiment of the present invention, file creating apparatus divide n classification according to the first corresponding relation storehouse under LDevice It is not modeled, forms logical node instance frames, then the corresponding n classes running state information of n classification is added to corresponding In the data short address sAddr attributes of logical node instance frames, logical node example is generated.
Exemplary, remote signalling class symbol can be used universal process input/output _ instruction (GGIO_ by file creating apparatus IND, Generic Process Input/Output_Indication) modeling, wherein, configurable data object (DO, Data Object common data class (CDC, Common Data Class) attribute) is single-point state (SPS, Single Point Status);Integer remote measurement class symbol is used into universal process input/output _ integer 32 (GGIO_INT32, Generic Process Input/Output_integer32) modeling, wherein, can configure DO CDC attributes for integer state (INS, Integer Status);By floating-point remote measurement class symbol using universal process input/output _ simulation input (GGIO_An, Generic Process Input/Output_Analogue Input) modeling, wherein, can configure the CDC attributes of DO is measurement Value (MV, Measured Value);By remote control class symbol using universal process input/output _ controllable single-point (GGIO_SPC, GenericProcess Input/Output_Controllable Single Point) modeling, wherein, can configure the CDC of DO Attribute is controllable single-point (SPC, Controllable Single Point);By remote regulating class symbol using universal process input/it is defeated Go out _ controllable simulation set point information (GGIO_APC, Generic Process Input/Output_Controllable Analogue Set Point Info) modeling, wherein, can configure DO CDC attributes for controllable simulation set point information (APC, Controllable Analogue Set Point Info)。
In the embodiment of the present invention, after file creating apparatus generation logical node example, file creating apparatus also need life Into data set, report block and other nodes, complete ICD files could be formed.
In the embodiment of the present invention, logical node example includes the corresponding attribute instance of logical node, file creating apparatus Attribute instance in logical node is added in pre-generatmg data set, data set is generated, and file creating apparatus are predefined Corresponding relation between data set and report block, file creating apparatus are true according to the corresponding relation between data set and report block Surely block is reported, then, file creating apparatus automatically form other frame joints of composition ICD files, finally, file creating apparatus According to logical node example, data set, report block and frame joint, ICD files are generated.
Further, in the embodiment of the present invention, file creating apparatus read the ICD files of generation, and being formed needs transmission Variable list, completes the traffic operation of IEC61850 under IEC61131-3 standards.
It is understood that in the embodiment of the present invention, file creating apparatus obtain operation shape from the FBD graphic programmings page State information, and it is classified according to classification, the running state information of completion of classifying is added to preset data class example knot In structure, logical node example is generated, further according to logical node example generation data set, report block, ultimately generate ICD files, energy It is enough to generate ICD files under FBD graphical programming patterns, so that, IEC61850 standards are introduced in industrial control device, can The difficulty of configuration modeling is reduced, the workload of configuration modeling is reduced.
Embodiment two
The embodiment of the present invention provides a kind of document generating method, as shown in Fig. 2 the method can include:
S201, when file creating apparatus be in visualization the engineering page when, generating means obtain visualization the engineering page pair The first running state information answered.
Here, the description of the S201 of the embodiment of the present invention is consistent with the description of the S101 in embodiment one, no longer goes to live in the household of one's in-laws on getting married herein State.
First running state information is divided into n class running statuses by S202, file creating apparatus according to default grouping strategy Information, n is more than or equal to 1.
Here, the description of the S202 of the embodiment of the present invention is consistent with the description of the S102 in embodiment one, no longer goes to live in the household of one's in-laws on getting married herein State.
S203, file creating apparatus obtain the first corresponding relation storehouse, the first correspondence from preset data model configuration file Relation storehouse is used to characterize the corresponding relation of the type with logical node of n class running state informations.
After the first running state information to be divided into file creating apparatus n class running state informations, file generated dress Putting will generate logical node example, and file creating apparatus need first to obtain n from preset data model configuration file first The type of class running state information and the first corresponding relation storehouse of logical node.
In the embodiment of the present invention, the preset data model configuration file of file creating apparatus includes that n classes running status is believed The type of breath and the first corresponding relation storehouse of logical node, file creating apparatus obtain the from preset data model configuration file One relation storehouse, the first relation storehouse is used under preset data class exemplary construction, generates logical node instance model.
In the embodiment of the present invention, logical node can including the type of the title of logical node and logical node etc. information.
S204, file creating apparatus according to the first corresponding relation storehouse and n class running state informations, in preset data class example Under structure, logical node example is generated.
N classes running state information and dynamic preset data mould are got according to the first running state information in file creating apparatus Got in type configuration file after the first corresponding relation storehouse, file creating apparatus will be according to the first corresponding relation storehouse and n classes Running state information, under preset data class exemplary construction, generates logical node example.
There is a preset data class exemplary construction in the embodiment of the present invention, in file creating apparatus, file creating apparatus exist In preset data class exemplary construction, logical node instance model is created according to the first corresponding relation storehouse, finally by n class running statuses Information is added in logical node instance model, has obtained logical node example.
In the embodiment of the present invention, file creating apparatus previously generate data class exemplary construction, specifically, file creating apparatus Create the structure such as IED, AccessPoint, LDevice, wherein, the attribute of IED according to the relevant information of file creating apparatus from It is dynamic to set, AccessPoint is then created under IED, LDevice is created under AccessPoint.
Exemplary, file creating apparatus create 1 AccessPoint of the entitled S1 of example under IED nodes, under S1 Create the LDevice of the entitled PROT of multiple examples.
In the embodiment of the present invention, file creating apparatus divide n classification according to the first corresponding relation storehouse under LDevice It is not modeled, forms logical node instance frames, n class running state informations is added to logic by file creating apparatus successively again In the data short address sAddr attributes of node instance framework, logical node example is formed.
Exemplary, file creating apparatus can be modeled remote signalling class symbol using GGIO_IND, wherein, can configure DO's CDC attributes are SPS;Integer remote measurement class symbol is modeled using GGIO_INT32, wherein, the CDC attributes that can configure DO are INS;It is floating Point remote measurement class symbol is modeled using GGIO_An, wherein, the CDC attributes that can configure DO are MV;Remote control class symbol uses GGIO_SPC Modeling, wherein, the CDC attributes that can configure DO are SPC;Remote regulating class symbol is modeled using GGIO_APC, wherein, can configure DO's CDC attributes are APC.
S205, file creating apparatus generate data set and its corresponding report block according to logical node example.
After file creating apparatus generate logical node example, file creating apparatus are generated according to logical node example Data set, corresponding report block is being generated according to default corresponding relation between data set and report block.
In the embodiment of the present invention, be added to for the attribute instance in logical node example and be preset to data by file creating apparatus Generation data set is concentrated, further according to data set and the corresponding relation of report block, the corresponding report block of generation data set.
In the embodiment of the present invention, data set includes the letter such as access point, the type of logical node, attribute instance of logical node Breath.
Exemplary, file creating apparatus firstly generate data set, the node of report block, by remote signalling logic of class node correspondence Data attribute example (DAI, Data Attribute Instance) be added to state quantity data collection, by remote measurement logic of class section The corresponding DAI of point be added to analog data collection, one caching report-control block of a state quantity data collection correspondence (BRCB, Buffer Report Control Block) type report block, the one non-caching report control of analog data collection correspondence The report block of clamp dog (URCB, Unbuffer Report Control Block) type.
In the embodiment of the present invention, as functional restraint data attribute (FCDA, the Function Constraint in data set Data Attributes) exceed predetermined threshold value when, file creating apparatus can automatically create new data set.
S206, file creating apparatus generate ICD files according to logical node example, data set and report block.
After file creating apparatus generate logical node, data set and report block, file creating apparatus will generate ICD The frame joint of file, ultimately generates ICD files.
In the embodiment of the present invention, file creating apparatus generate the framework section of ICD files according to preset standard framework strategy Point, the frame joint is the standard card cage structure for constituting ICD files, then further according to logical node example, data set, report block And frame joint, generate ICD files.
Further, in the embodiment of the present invention, file creating apparatus read the ICD files of generation, and being formed needs transmission Variable list, completes the traffic operation of IEC61850 under IEC61131-3 standards.
Exemplary, as shown in figure 3, the flow chart of ICD file generateds is:
1st, file creating apparatus read the visualization engineering page, and the running state information for extracting the visualization engineering page is gone forward side by side Row Classifying Sum.
2nd, file creating apparatus read data model configuration file, obtain reflecting between running state information and logical node Firing table.
3rd, file creating apparatus create the top level structures such as IED, AccessPoint, LDevice.
4th, file creating apparatus create corresponding logical node reality according to the type of running state information under LDevice Example.
5th, file creating apparatus form the nodes such as data set, report block according to the attribute instance of logical node example.
6th, file creating apparatus output ICD files.
It is understood that in the embodiment of the present invention, file creating apparatus obtain operation shape from the FBD graphic programmings page State information, and it is classified according to classification, the running state information of completion of classifying is added to preset data class example knot In structure, logical node example is generated, further according to logical node example generation data set, report block, ultimately generate ICD files, energy It is enough to generate ICD files under FBD graphical programming patterns, so that, IEC61850 standards are introduced in industrial control device, can The difficulty of configuration modeling is reduced, the workload of configuration modeling is reduced.
Embodiment three
The embodiment of the present invention provides a kind of file creating apparatus 1, as shown in figure 4, this document generating means 1 can include:
Acquiring unit 10, for when in the visualization engineering page, obtaining the visualization engineering page corresponding the One running state information.
Division unit 11, for according to default grouping strategy, first running state information being divided into n classes operation shape State information, n is more than or equal to 1.
Generation unit 12, for according to the n classes running state information, preset data model configuration file and preset data Class exemplary construction, generation capacity of equipment describes file ICD files.
Optionally, the acquiring unit 10, is additionally operable to obtain the first correspondence from the preset data model configuration file Relation storehouse, the first corresponding relation storehouse is used to characterize the type pass corresponding with logical node of the n classes running state information System.
The generation unit 12, is additionally operable to according to the first corresponding relation storehouse and the n classes running state information, in institute State under preset data class exemplary construction, generate logical node example;According to the logical node example, generation data set and its right The report block answered;According to the logical node example, the data set and the report block, the ICD files are generated.
Optionally, based on Fig. 4, as shown in figure 5, the file creating apparatus 1 also include:Creating unit 13 and adding device 14。
The creating unit 13, for based on the preset data class exemplary construction, according to the first corresponding relation storehouse Create logical node instance model.
The adding device 14, for the n classes running state information to be added in the logical node instance model, Obtain the logical node example.
Optionally, the generation unit 12, is additionally operable to for the attribute instance in the logical node example to be added to pre- life Into in data set, the data set is generated;According to the data set, the report block is generated.
Optionally, the generation unit 12, is additionally operable to be generated according to preset standard framework strategy the frame of the ICD files Frame node, the frame joint is the standard card cage structure for constituting the ICD files;
The generation unit 12, specifically for according to the logical node example, the data set, the report block and institute Frame joint is stated, the ICD files are generated.
As shown in fig. 6, in actual applications, above-mentioned acquiring unit 10, division unit 11, generation unit 12, creating unit 13 and adding device 14 can be realized by the processor 15 on file creating apparatus 1, specially central processing unit (CPU), micro- The realization such as processor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA), this document generating means 1 Memory 16 can also be included, the memory 16 can be connected with processor 15, wherein, memory 16 is used to store executable journey Sequence code, the program code includes computer-managed instruction, and memory 16 may include high-speed RAM memory, it is also possible to also wrap Nonvolatile memory is included, for example, at least one magnetic disk storage.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the shape of the embodiment in terms of hardware embodiment, software implementation or combination software and hardware Formula.And, the present invention can be used can use storage in one or more computers for wherein including computer usable program code The form of the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor 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 for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or 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 in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, 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.
The above, only presently preferred embodiments of the present invention is not intended to limit the scope of the present invention.

Claims (10)

1. a kind of document generating method, it is characterised in that methods described includes:
When in the visualization engineering page, corresponding first running state information of the visualization engineering page is obtained;
According to default grouping strategy, first running state information is divided into n class running state informations, n is more than or equal to 1;
According to the n classes running state information, preset data model configuration file and preset data class exemplary construction, equipment is generated Capabilities description file ICD files.
2. method according to claim 1, it is characterised in that described according to the n classes running state information, preset data Model configuration file and preset data class exemplary construction, generate ICD files, including:
The first corresponding relation storehouse is obtained from the preset data model configuration file, the first corresponding relation storehouse is used to characterize The type of the n classes running state information and the corresponding relation of logical node;
It is raw under the preset data class exemplary construction according to the first corresponding relation storehouse and the n classes running state information Into logical node example;
According to the logical node example, data set and its corresponding report block are generated;
According to the logical node example, the data set and the report block, the ICD files are generated.
3. method according to claim 2, it is characterised in that described to be transported according to the first corresponding relation storehouse, the n classes Row status information generates logical node example under the preset data class exemplary construction, including:
Based on the preset data class exemplary construction, logical node instance model is created according to the first corresponding relation storehouse;
The n classes running state information is added in the logical node instance model, the logical node example is obtained.
4. method according to claim 2, it is characterised in that described according to the logical node example, generates data set And its corresponding report block, including:
Attribute instance in the logical node example is added in pre-generatmg data set, the data set is generated;
According to the data set, the report block is generated.
5. method according to claim 2, it is characterised in that described according to the logical node example, the data set With the report block, the ICD files are generated, including:
According to preset standard framework strategy, the frame joint of the ICD files is generated, the frame joint is the composition ICD The standard card cage structure of file;
According to the logical node example, the data set, the report block and the frame joint, the ICD files are generated.
6. a kind of file creating apparatus, it is characterised in that the file creating apparatus include:
Acquiring unit, for when in the visualization engineering page, obtaining corresponding first operation of the visualization engineering page Status information;
Division unit, for according to default grouping strategy, first running state information being divided into n classes running status letter Breath, n is more than or equal to 1;
Generation unit, for according to the n classes running state information, preset data model configuration file and preset data class example Structure, generation capacity of equipment describes file ICD files.
7. device according to claim 6, it is characterised in that
The acquiring unit, is additionally operable to obtain the first corresponding relation storehouse from the preset data model configuration file, and described One corresponding relation storehouse is used to characterize the corresponding relation of the type with logical node of the n classes running state information;
The generation unit, is additionally operable to according to the first corresponding relation storehouse and the n classes running state information, described default Under data class exemplary construction, logical node example is generated;According to the logical node example, data set and its corresponding report are generated Accuse block;According to the logical node example, the data set and the report block, the ICD files are generated.
8. device according to claim 7, it is characterised in that the file creating apparatus also include:Creating unit and add Plus unit;
The creating unit, for based on the preset data class exemplary construction, being created according to the first corresponding relation storehouse and being patrolled Collect node instance model;
The adding device, for the n classes running state information to be added in the logical node instance model, obtains institute State logical node example.
9. device according to claim 7, it is characterised in that
The generation unit, is additionally operable to be added to the attribute instance in the logical node example in pre-generatmg data set, raw Into the data set;According to the data set, the report block is generated.
10. device according to claim 7, it is characterised in that
The generation unit, is additionally operable to be generated according to preset standard framework strategy the frame joint of the ICD files, the frame Frame node is the standard card cage structure for constituting the ICD files;
The generation unit, specifically for according to the logical node example, the data set, the report block and the framework Node, generates the ICD files.
CN201710116579.1A 2017-02-28 2017-02-28 File generation method and device Active CN106874011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710116579.1A CN106874011B (en) 2017-02-28 2017-02-28 File generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710116579.1A CN106874011B (en) 2017-02-28 2017-02-28 File generation method and device

Publications (2)

Publication Number Publication Date
CN106874011A true CN106874011A (en) 2017-06-20
CN106874011B CN106874011B (en) 2020-06-09

Family

ID=59168903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710116579.1A Active CN106874011B (en) 2017-02-28 2017-02-28 File generation method and device

Country Status (1)

Country Link
CN (1) CN106874011B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706773A (en) * 2009-11-19 2010-05-12 北京四方继保自动化股份有限公司 Method for realizing fast and automatic modeling of transformer substation IEC 61850 by adopting XML information recombination
CN102495841A (en) * 2011-11-14 2012-06-13 深圳市华力特电气股份有限公司 Power supply system monitoring method and related device thereof
CN103425467A (en) * 2012-05-18 2013-12-04 汪巨森 Method for generating programs on basis of IEC (international electrotechnical commission) 61850
CN103631627A (en) * 2013-12-13 2014-03-12 国家电网公司 Equipment configuration method, configuration-file generation method and configuration system
JP2014072307A (en) * 2012-09-28 2014-04-21 Dainippon Screen Mfg Co Ltd Data generation system and data generation method
CN104638767A (en) * 2015-02-05 2015-05-20 广东电网有限责任公司电力科学研究院 Intelligent substation test oriented spacer layer data source simulation method and device
CN104850466A (en) * 2015-05-22 2015-08-19 中国电力科学研究院 Method for checking consistency between intelligent substation ICD models
CN105243116A (en) * 2015-09-28 2016-01-13 许继集团有限公司 Automatic generation method for electronic device capability description file of intelligent substation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706773A (en) * 2009-11-19 2010-05-12 北京四方继保自动化股份有限公司 Method for realizing fast and automatic modeling of transformer substation IEC 61850 by adopting XML information recombination
CN102495841A (en) * 2011-11-14 2012-06-13 深圳市华力特电气股份有限公司 Power supply system monitoring method and related device thereof
CN103425467A (en) * 2012-05-18 2013-12-04 汪巨森 Method for generating programs on basis of IEC (international electrotechnical commission) 61850
JP2014072307A (en) * 2012-09-28 2014-04-21 Dainippon Screen Mfg Co Ltd Data generation system and data generation method
CN103631627A (en) * 2013-12-13 2014-03-12 国家电网公司 Equipment configuration method, configuration-file generation method and configuration system
CN104638767A (en) * 2015-02-05 2015-05-20 广东电网有限责任公司电力科学研究院 Intelligent substation test oriented spacer layer data source simulation method and device
CN104850466A (en) * 2015-05-22 2015-08-19 中国电力科学研究院 Method for checking consistency between intelligent substation ICD models
CN105243116A (en) * 2015-09-28 2016-01-13 许继集团有限公司 Automatic generation method for electronic device capability description file of intelligent substation

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
周磊等: "电力电子应用中的IEC 61580可视化建模方案", 《电脑编程技巧与维护》 *
田力智: "智能变电站SCD虚连接辅助设计关键技术的研究与开发", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 *
陈宏君等: "ICD模型文件图形化配置形成与处理方案", 《智能电网》 *

Also Published As

Publication number Publication date
CN106874011B (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN108121216B (en) Automated workshop virtual debugging method based on digital factory
CN107480380B (en) A kind of engineering drawing generation method based on template
CN104077446B (en) The method and system of two-dimentional electrical construction document are extracted from digital three-dimemsional model
CN112327745B (en) PLC program design method based on testable digital twin body
CN105574032A (en) Rule matching operation method and device
CN111954209A (en) Information processing method and device for improving security of wireless sensor node
CN105607902A (en) Component model based system visualization design and code generation system and method
CN104881310A (en) Method and device for configuring embedded system
EP3427163A1 (en) Node-centric analysis of dynamic networks
CN102929853A (en) DCS (Data Communication System) project data generating system and method based on Excel sheet association
CN104272267A (en) Method for monitoring resources in computing device, and computing device
CN109656575A (en) Big data platform quick deployment method, storage medium, electronic equipment and system
CN106405277B (en) Testing device and method for main processing unit in nuclear power station protection system
CN106874011A (en) A kind of document generating method and device
CN105719261A (en) Point cloud data combination system and method
CN111610725A (en) Combined simulation method
JP2008027302A (en) Layout evaluation device
CN104765616B (en) A kind of method and system for automatically generating I/O model
CN105787175A (en) Water conservancy model cloud computing method and device based on model combination
CN102800115A (en) Model-based animation producing system and method
CN105159678B (en) A kind of chemical plant installations driving and parking process SOP mathematics library methods
CN107783760A (en) A kind of protection device visual development method based on functional unit
CN205899364U (en) Controller inception is removed theatrical makeup and costume and system architecture of removing theatrical makeup and costume on line
KR101475596B1 (en) dispatcher training system and its control method
CN108711190B (en) MR/VR-based laser control system implementation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant