CN110321379A - Frequency modulation assisted hatching goes out analytic method, device, computer equipment and the storage medium of clear file - Google Patents

Frequency modulation assisted hatching goes out analytic method, device, computer equipment and the storage medium of clear file Download PDF

Info

Publication number
CN110321379A
CN110321379A CN201910584046.5A CN201910584046A CN110321379A CN 110321379 A CN110321379 A CN 110321379A CN 201910584046 A CN201910584046 A CN 201910584046A CN 110321379 A CN110321379 A CN 110321379A
Authority
CN
China
Prior art keywords
data block
data
class
parsing result
name
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
CN201910584046.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.)
China Southern Power Grid Co Ltd
NR Engineering Co Ltd
Original Assignee
China Southern Power Grid 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 China Southern Power Grid Co Ltd, NR Engineering Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN201910584046.5A priority Critical patent/CN110321379A/en
Publication of CN110321379A publication Critical patent/CN110321379A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/289Object oriented databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

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

Abstract

This application involves analytic method, system, computer equipment and storage mediums that a kind of frequency modulation assisted hatching goes out clear file.The described method includes: reading out clear the file information, based on clear the file information out, parsing result is obtained;Parsing result is stored with the data structure of object-oriented into data acquisition system;The data structure of the object-oriented includes primary sources and secondary sources, primary sources include data class name, attribute-name set and set of data objects, and secondary sources include data object title, property value set, parent object, subobject set and affiliated class;The set of data objects of primary sources belongs to secondary sources therein for storing, and the affiliated class of secondary sources is used to identify the primary sources belonging to it.This method has good compatibility, portable, reusability and versatility.

Description

Frequency modulation assisted hatching go out the analytic method of clear file, device, computer equipment and Storage medium
Technical field
This application involves electricity market technical fields, and the solution of clear file is gone out more particularly to a kind of frequency modulation assisted hatching Analyse method, apparatus, computer equipment and storage medium.
Background technique
In the frequency modulation assisted hatching that more power dispatching stations participate in, frequency modulation assisted hatching, which can will go out, settles accounts fruit It is sent to the operation monitoring system (OCS) of each scheduling institution, by Automatic Generation Control software (AGC) basis in these systems Power plant's progress frequency regulation that fruit controls the management of this scheduling institution is settled accounts out.In order to use settle accounts fruit can be by different manufacturers OCS system is received, is parsed, and assisted hatching forms out clear file according to electric system E language, and is transmitted to each dispatcher The OCS system of structure.This clear file out usually carries out tissue according to the horizontal list-directed data structure of E language, contains each scheduling The acceptance of the bid result of mechanism and each each generator unit of scheduling institution subordinate.
Currently, the processing for this clear file out, only each scheduling institution executes needs according to AGC, clear from going out The related acceptance of the bid situation that this scheduling institution and the power plant administered are found in file, executes for AGC;Alternatively, according to fortune Row analysis needs, and finds local data from clear file out in the analysis process, is stored in the data structure of dispersion.At present Processing method have following defects that treatment process disperse, need differently to be handled under different application scene, The resolving of unified standardization, standardization is not formed;Parsing result is dispersedly stored in different data structures, or Person is stored in a manner of row, column, right in clear file for going out not by the data preparation in file at unified data structure Father and son's incidence relation of elephant does not carry out unified description, so that parsing result is incomplete;These form tissues go out to settle accounts fruit Data in the application with cannot unified mode obtain, and need pointedly to handle different data therein, even In needing in different ways to obtain data in analytically result under different application scene, to increase the difficulty of data acquisition Degree and workload, reduce efficiency.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide the parsing that a kind of frequency modulation assisted hatching goes out clear file Method, apparatus, computer equipment and storage medium.
A kind of frequency modulation assisted hatching goes out the analytic method of clear file, which comprises
Clear the file information is read out, based on the clear the file information out, obtains parsing result;
The parsing result is stored with the data structure of object-oriented into data acquisition system;The data of the object-oriented Structure includes primary sources and secondary sources, and the primary sources include data class name, attribute-name set and data Object set, the secondary sources include data object title, property value set, parent object, subobject set and affiliated class; The set of data objects of the primary sources belongs to secondary sources therein for storing, the secondary sources it is affiliated Class is used to identify the primary sources belonging to it.
A kind of frequency modulation assisted hatching goes out the resolver of clear file, and described device includes:
Parsing module, based on the clear the file information out, obtains parsing result for reading out clear the file information;
Memory module, for being stored the parsing result with the data structure of object-oriented into data acquisition system;It is described The data structure of object-oriented includes primary sources and secondary sources, and the primary sources include data class name, belong to Property name set and set of data objects, the secondary sources include that data object title, property value set, parent object, son are right As set and affiliated class;The set of data objects of the primary sources belongs to secondary sources therein for storing, described The affiliated class of secondary sources is used to identify the primary sources belonging to it.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Clear the file information is read out, based on the clear the file information out, obtains parsing result;
The parsing result is stored with the data structure of object-oriented into data acquisition system;The data of the object-oriented Structure includes primary sources and secondary sources, and the primary sources include data class name, attribute-name set and data Object set, the secondary sources include data object title, property value set, parent object, subobject set and affiliated class; The set of data objects of the primary sources belongs to secondary sources therein for storing, the secondary sources it is affiliated Class is used to identify the primary sources belonging to it.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Clear the file information is read out, based on the clear the file information out, obtains parsing result;
The parsing result is stored with the data structure of object-oriented into data acquisition system;The data of the object-oriented Structure includes primary sources and secondary sources, and the primary sources include data class name, attribute-name set and data Object set, the secondary sources include data object title, property value set, parent object, subobject set and affiliated class; The set of data objects of the primary sources belongs to secondary sources therein for storing, the secondary sources it is affiliated Class is used to identify the primary sources belonging to it.
Above-mentioned frequency modulation assisted hatching goes out analytic method, device, computer equipment and the storage medium of clear file, passes through The data structure of object-oriented, title, each attribute-name, attribute value not only recorded to pieces of data in clear file out etc. carry out Description, is also recorded father and son's incidence relation between different data object, so that this data structure can be recorded out completely All information in clear file can be used general access method and obtain various data, reduce data acquisition difficulty and Workload improves the data access efficiency under different application scene.
Detailed description of the invention
Fig. 1 is the application environment schematic diagram for the analytic method that frequency modulation assisted hatching goes out clear file in one embodiment;
Fig. 2 is the flow diagram for the analytic method that frequency modulation assisted hatching goes out clear file in one embodiment;
Fig. 3 is the horizontal tabular form structural schematic diagram of E language data;
Fig. 4 is typically to go out clear file in the frequency modulation assisted hatching of more power dispatching stations participations in one embodiment Schematic diagram;
Fig. 5 is the overall procedure schematic diagram for the analytic method that frequency modulation assisted hatching goes out clear file in one embodiment;
Fig. 6 is the flow diagram that system states resolving in one embodiment;
Fig. 7 is the flow diagram of data block resolving in one embodiment;
Fig. 8 is the flow diagram of data check process in one embodiment;
Fig. 9 is the structural block diagram for the resolver that frequency modulation assisted hatching goes out clear file in one embodiment;
Figure 10 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Frequency modulation assisted hatching provided by the present application goes out the analytic method of clear file, can be applied to as shown in Figure 1 In application environment.The application environment is related to the frequency modulation assisted hatching that more power dispatching stations participate in, frequency modulation ancillary service city Clear file out can be sent to the operation monitoring system (OCS system) of each scheduling institution by field, by the OCS system of each scheduling institution System parses clear file out, obtains parsing result, and each scheduling institution controls the power generation list of its administration according to parsing result Member carries out frequency regulation.
In one embodiment, as shown in Fig. 2, providing the parsing side that a kind of frequency modulation assisted hatching goes out clear file Method is applied to be illustrated for the OCS system in Fig. 1 in this way, includes the following steps S202 to step S204.
Step S202 reads out clear the file information, based on the clear the file information out, obtains parsing result.
Step S204 stores the parsing result into data acquisition system with the data structure of object-oriented;It is described towards The data structure of object includes primary sources and secondary sources, and the primary sources include data class name, attribute-name Set and set of data objects, the secondary sources include data object title, property value set, parent object, subobject collection It closes and affiliated class;The set of data objects of the primary sources belongs to secondary sources therein for storing, and described second The affiliated class of class data is used to identify the primary sources belonging to it.
Above-mentioned frequency modulation assisted hatching goes out the analytic method of clear file, not only right by the data structure of object-oriented Title, each attribute-name, the attribute value etc. that pieces of data records in clear file out are described, and different data pair is also recorded As father and son's incidence relation can make so that this data structure can completely record out all information in clear file Various data are obtained with general access method, reduces the difficulty and workload of data acquisition, improves different application scene Under data access efficiency.
Clear file usually carries out tissue according to the horizontal tabular form structure of E language data out, as shown in figure 3, it is E language data Horizontal tabular form structural schematic diagram, including the statement of annotation (optional), system, data block start mark, data block head definition, data The parts such as block, end of data block label.In one embodiment, as shown in figure 4, it is the frequency modulation that more power dispatching stations participate in Typically go out the schematic diagram of clear file in assisted hatching.This goes out clear file and carries out according to the horizontal tabular form structure of E language data Tissue.It is attribute-name on the left of each equal sign, right side is attribute value.In system statement, systematic name, data type are mainly given With the file generated time.In data block start mark, on the left of a pair of of colon is class name, and right side is physical name, out clear file In include class entitled ClearResult and ClearInfo two kinds of data block start marks, in data block start mark, also refer to The number of object in clear period and notebook data block is gone out.In data block head definition, each object institute in notebook data block is listed The attribute-name having.Back to back a line annotation lists the alias of each attribute.In data block, the category of each object is listed Property value.In the data block started with the data block start mark of the entitled ClearResult of class, this is given with planDate attribute Out the clear period out of clear file, the quantity of scheduling institution is given with num attribute;Each scheduling institution is given in data block Title, the acceptance of the bid attributes such as capacity and Split Factor.The data block started with the data block start mark of the entitled ClearInfo of class In, this clear period out for going out clear file is given with planDate attribute, scheduling institution subordinate acceptance of the bid is given with num attribute The quantity of generator unit;The group name of scheduling institution subordinate's generator unit is given in data block, regulation performance index, is adjusted Frequency capacity and the attributes such as whether get the bid.
In one embodiment, the data structure for storing out the object-oriented of the parsing result of clear file is established, this Kind data structure includes two class data, and primary sources are denoted as eClass, and secondary sources are denoted as eObject.
Wherein, primary sources eClass is the description of general data class, including following data member:
Data class name, is denoted as eClassName;
Attribute-name set, is denoted as listPropertyName;
Set of data objects is denoted as listEObject.
Secondary sources eObject is general data object factory, including following data member:
Data object title, is denoted as eObjectName;
Property value set is denoted as listPropertyValue;
Parent object is denoted as parent;
Subobject set, is denoted as lstChildren;
Affiliated class, is denoted as refEClass.
The set of data objects listEObject of primary sources eClass belongs to secondary sources therein for storing EObject, the affiliated class refEClass of secondary sources are used to identify the primary sources eClass belonging to it.
In one embodiment, it establishes with the Hash table Map of the primary sources of the entitled keyword of data class, as depositing Put the data acquisition system of parsing result.In other embodiments, in addition to Hash table, data acquisition system can also use other formats, Such as queue.
In one embodiment, the parsing of clear file mainly includes system statement resolving, data block resolving out With data checking procedure, specifically, as shown in figure 5, including the following steps S510 to step 580.
S510 reads out the first row of clear file.
S520, checks whether clear file terminates, if so, S580 is entered step, if it is not, entering step S530.
S530 checks whether the format match with system statement walks if so, entering step S540 if it is not, entering current line Rapid S550.In one embodiment, can be used regular expression <!.*!> check the format whether current line is stated with system Matching.
S540 carries out system and states resolving.
S550, checks whether current line matches with data block start mark, if so, S560 is entered step, if it is not, entering step Rapid S570.In one embodiment, regular expression<(w+) can be used:: (w+) .+>check current line whether with data The matching of block start mark.
S560 carries out data block resolving;
S570 reads next line, is then return to step S520;
S580 carries out data check process, and the data obtained to parsing verify.
In one embodiment, the resolving S540 of system statement includes the following steps S541 to step S544.
S541 obtains the data in system statement.
In one embodiment, can be used attribute-name in regular expression (w+)=(w+) extraction system statement and Corresponding attribute value.
S542 when stating corresponding data there is no the system in the data acquisition system, adds the system statement Corresponding primary sources obtain system and state class.
In one embodiment, searching whether there is primary sources corresponding with system statement in data acquisition system Map, if There is no (Map [SystemDeclare]=NULL), then add the primary sources of the entitled system statement of data class in Map, It is denoted as system statement class (eClassSysDeclare).
S543 adds the system in the set of data objects of system statement class and states corresponding he second-class number According to acquisition system statement object, the affiliated class of the system statement object is that the system states class.
In one embodiment, a secondary sources are established, system statement object is denoted as (eObjectSysDeclare), data object title is denoted as system statement (eObjectSysDeclare.eObjectName =" SysDeclare "), affiliated class is that system states class (eObjectSysDeclare.refEclass= EClassSysDeclare), the set of data objects of system statement class is added it to (eClassSysDeclare.listEObject) in.
S544 stores system statement attribute-name into the attribute-name set of system statement class, by the system System statement attribute value storage is into the property value set of the system statement object, the property value set of the system statement object It is corresponding with the system statement attribute-name set of class.
In one embodiment, whether has all properties name of system statement in inspection system statement class, if system sound J-th of category of system statement is not included in the attribute-name set (eClassSysDeclare.listPropertyName) of bright class Property name (listPropertyName [j]), j value from 0 to system statement class attribute-name set number of elements (listPropertyName.Length), listPropertyName [j] is added to eClassSysDeclare.listPr In opertyName.Into the property value set (eClassSysDeclare.listPropertyValue) of system statement object Empty element is added, number of elements is consistent with the number of elements of eClassSysDeclare.listPropertyName, Ith attribute name (the eClassSysDeclare.listPropertyNa of listPropertyName [j] and system statement class Me [i]) it is consistent when, i value from 0 to system statement class attribute-name set number of elements (listPropertyName.Length), j-th of attribute value (listPropertyValue [j]) that system is stated is added to In i-th of element of the property value set of system statement object (eClassSysDeclare.listPropertyValue [i]), It is corresponding with the system statement attribute-name set element of class.
It is understood that the sequence of above-mentioned steps S541 to step S543 is not unique, such as can also first carry out Step S542 and S543, then carry out step S541.The specific resolving of system statement can refer to flow chart shown in fig. 6.
In one embodiment, as shown in fig. 7, the resolving S560 of data block includes the following steps S561 to step S568。
S561 carries out data block start mark and parses subprocess, subsequently into S562.
S562 reads next line.
S563, judges whether current line matches with end of data block label, if it is not, S564 is entered step, if so, terminating Data block resolving.In one embodiment, regular expression can be used</\s* ( \w+ ) :: ( \w+ ) \s*>judgement is current Whether row matches with end of data block label.
S564, judges whether current line matches with the format that data block head defines, if so, S565 is entered step, if it is not, Carry out step S566.In one embodiment, can be used regular expression@(s* w* s*)+judge current line whether with number Match according to the format that build defines.
S565 carries out data block head definition parsing subprocess.
S566, judges whether current line matches with the format of data block, if so, S567 is entered step, if it is not, being back to Step S562.In one embodiment, can be used regular expression #.+ judge current line whether the format phase with data block Match.
S567 carries out data block contents and parses subprocess.
S568 reads next line, is then return to step S563.
In one embodiment, data block start mark parsing subprocess S561 includes the following steps S5611 to step S5614。
S5611 obtains the data in data block start mark.
In one embodiment, regular expression ((w+)=(w+ | ' .*') can be used) | ((w+):: (w+ | ' .*')) extract data block class name, data block physical name corresponding with data block class name, every category in data block start mark Property name and attribute value corresponding with every attribute-name.
S5612 adds the data block in the data acquisition system when data corresponding there is no the data block class name The corresponding primary sources of class name obtain the first data block class.
In one embodiment, it searches in data acquisition system Map with the presence or absence of the data with the class name in data block label Entry adds the primary sources of the entitled class name of data class if not having in Map, obtains the first data block class, is denoted as eClass0。
S5613 adds the data block physical name corresponding second in the set of data objects of first data class Class data, obtain the first data block object, and the affiliated class of the first data block object is first data class.
In one embodiment, a secondary sources are established, the first data block object is obtained, is denoted as eObject0, Affiliated class is eClass0, is added it in the set of data objects of eClass0.
S5614, by data block class name storage into the data class name of the first data block class, by the data Block physical name is stored into the data object title of the first data block object, and the data block start mark attribute-name is deposited In the attribute-name set for storing up the first data block class, by data block start mark attribute value storage to first number According in the property value set of block object, the attribute of the first data block object's property value set and the first data block class Name set is corresponding.
In one embodiment, search in the attribute-name set of eClass0 whether have it is each in data block start mark Item attribute-name, every attribute-name in the data block start mark being not equipped with is added in the attribute-name set of eClass0. Every attribute value in data block start mark is added in the property value set of eObject0, the attribute-name with eClass0 Gather corresponding.
In one embodiment, data block head definition parsing subprocess S565 includes the following steps S5651 to step S5653。
S5651, obtain data block head define in data.
In one embodiment, can be used regular expression (w+) extract data block head define in each attribute-name.
S5652 adds the data when defining corresponding data there is no the data block head in the data acquisition system Build defines corresponding primary sources, obtains the second data block class.
In one embodiment, according to eClass0 and data block head define in each attribute-name, search data acquisition system Map In with the presence or absence of with the data class name and data block head of eClass0 define in the matched primary sources of each attribute-name, If no, adding a primary sources in Map, the second data block class is obtained, eClass1 is denoted as.The data of eClass1 Class name is named generally according to the data class name of eClass0, for example the data class of eClass0 is entitled " A ", then Entitled " itemofA " of eClass1 can be quickly found out data block corresponding with eClass0 according to title in Map in this way The primary sources of the corresponding data block of start mark.
S5653, by the category of the storage of each attribute-name possessed by the data block each object to the second data block class In property name set.
In one embodiment, by data block head define in each attribute-name be added in the attribute-name set of eClass1.
In one embodiment, data block contents parsing subprocess S567 includes the following steps S5671 to step S5673.
S5671 obtains the data in data block.
In one embodiment, can be used regular expression [t v] (?!# S+) S+ extract data block in serial number With each attribute value.
S5672, in the set of data objects of the second data block class and the subobject set of the first data block object The corresponding secondary sources of the middle addition data block, obtain the second data block object, the second data block object it is affiliated Class is the second data block class, and the parent object of the second data block object is the first data block object.
In one embodiment, a secondary sources are established, the second data block object is obtained, is denoted as eObject1, number It is named according to object oriented according to eClass1 and serial number, the affiliated class of eObject1 is eClass1, parent object eObject0, is incited somebody to action EObject1 is added in the set of data objects of eClass1, while being added in the subobject set of eObject0.
S5673, by each attribute value storage of the data block each object to the second data block object's property value In set;The second data block object's property value set is corresponding with the attribute-name set of the second data block class.
In one embodiment, each attribute value in data block is added in the property value set of eObject1, with The attribute-name set of eClass1 is corresponding.
Remember in parsing result, the clear period is T out, and scheduling institution quantity is N, and wherein the Split Factor of scheduling institution i is τi、 Clear capacity is C outi, subordinate's generator unit quantity is ni, the acceptance of the bid capacity of generator unit j is uj.In one embodiment, number Include the following steps S581 to step S585 according to checking procedure S580.Specific checking procedure can refer to flow chart shown in Fig. 8.
S581 obtains the Split Factor τ for going out clear period T, each scheduling institution in the parsing resultiClear capacity out CiAnd the acceptance of the bid capacity u of each scheduling institution subordinate acceptance of the bid generator unitj
S582, the Split Factor τ based on each scheduling institutioni, total Split Factor Σ τ of scheduling institution is calculated, i.e., Accumulative Split Factor τiTo Σ τ (i is from 0 to N);Go out clear capacity C based on each scheduling institutioni, calculate the total of scheduling institution Clear capacity Σ C out, i.e., accumulative clear capacity C outiTo Σ C (i is from 0 to N), and calculate each scheduling institution go out clear capacity with The ratio C for always going out clear capacity of the scheduling institutioni/ΣC;Acceptance of the bid based on each scheduling institution subordinate acceptance of the bid generator unit is held Measure uj, calculate total acceptance of the bid capacity U of each scheduling institution subordinate acceptance of the bid generator uniti, i.e., accumulative scheduling institution i subordinate generates electricity single The acceptance of the bid capacity u of memberjTo Ui(j is from 0 to ni)。
S583 is not next clear period T out in the clear period T out0When, it determines and settles accounts fruit and do not refresh;To each Scheduling institution , Ruo ∣ Ci-Ui∣ > Δ U0, wherein Δ U0For the first threshold of setting, then determine that scheduling institution i acceptance of the bid capacity is uneven Weighing apparatus, i.e. CiWith UiIt can not be mutually matched, illustrate that wherein at least one data are the , Ruo ∣ τ of mistakei-Ci/ Σ C ∣ > Δ τ0, wherein Δτ0For the second threshold of setting, then determines that scheduling institution i Split Factor multi-source checks failure, illustrate τiWith CiIn at least One data is wrong;Ruo ∣ Σ τ -1 ∣ > d0, wherein d0For the third threshold value of setting, determine that scheduling institution Split Factor is uneven Weighing apparatus, illustrates Split Factor τiIn at least one data be wrong.It is to be appreciated that above-mentioned first threshold, second threshold It can be set in conjunction with actual needs with third threshold value, it is not limited here, such as one would generally be set as close to 0 number Value, for indicating the maximum allowable offset of parsing result and actual result.
The analytic method of above-described embodiment can be used for answering for various differences such as execution, analysis, the displayings for going out clear file With scene, there is good portability and reusability;The parsing result that analytic method through the foregoing embodiment obtains, with The data structure of object-oriented saves out all information in clear file, can be with to going out to settle accounts different data objects in fruit It obtains in a uniform manner, there is good versatility, reduce the complexity of data acquisition, increase the efficiency of data acquisition; The analytic method of above-described embodiment, can cope with electric power E language format tissue go out clear data, can support scheduling institution, Increase, deletion and its attribute of the market targets such as generator unit increase, delete, change, and have good compatibility and versatility.
In short, the analytic method of above-described embodiment, can be adapted for for the various different application scenes for going out clear file, it can With compatible with the different scheduling institutions of electric power E language expression, the clear data out of different generator units, different attribute, have good Portability, reusability and versatility;The parsing result that analytic method through the foregoing embodiment obtains, with object-oriented Data structure records go out all information in clear file, data structure is clear, increase the efficiency of data acquisition.
Although should be understood that Fig. 2, each step in the flow chart of 5-8 is successively shown according to the instruction of arrow, It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2,5-8 extremely Few a part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps Moment executes completion, but can execute at different times, and the execution sequence in these sub-steps or stage is also not necessarily It successively carries out, but in turn or can be handed over at least part of the sub-step or stage of other steps or other steps Alternately execute.
In one embodiment, as shown in figure 9, providing the parsing dress that a kind of frequency modulation assisted hatching goes out clear file It sets, comprising: parsing module 910 and memory module 920, in which:
Parsing module 910, based on the clear the file information out, obtains parsing result for reading out clear the file information.
Memory module 920, for being stored the parsing result with the data structure of object-oriented into data acquisition system;Institute The data structure for stating object-oriented includes primary sources and secondary sources, the primary sources include data class name, Attribute-name set and set of data objects, the secondary sources include data object title, property value set, parent object, son Object set and affiliated class;The set of data objects of the primary sources belongs to secondary sources therein, institute for storing The affiliated class for stating secondary sources is used to identify the primary sources belonging to it.
In one embodiment, parsing module 910 includes reading unit and determination unit, wherein reading unit is for reading Take out the current row information of clear file;Determination unit is used to be based on the current row information, determines corresponding resolving, and obtain Obtain corresponding parsing result.
In one embodiment, determination unit is also used to when current row information is matched with system statement, into system sound Bright resolving obtains system and states parsing result.
In one embodiment, determination unit is also used to enter when current line information and date block start mark matches Data block start mark resolving obtains data block start mark parsing result.
In one embodiment, determination unit is also used to when current line information and date build is defined and matched, into number Resolving is defined according to build, data block head is obtained and defines parsing result.
In one embodiment, determination unit is also used in current line information and date Block- matching, into data block solution Analysis process obtains data block parsing result.
In one embodiment, determination unit is also used in current line information and date block end indicia matched, is terminated Data block resolving.
In one embodiment, the parsing result is that system states that parsing result, the system state parsing result packet Include system statement attribute-name and system statement attribute value corresponding with system statement attribute-name.Memory module 920 is used for When stating corresponding data there is no the system in the data acquisition system, adds the system and state corresponding he first-class numbert According to acquisition system states class;The system statement corresponding second is added in the set of data objects of system statement class Class data, obtain system statement object, and the affiliated class of the system statement object is that the system states class;By the system sound Bright attribute-name storage is into the attribute-name set of system statement class, by system statement attribute value storage to the system In the property value set of statement object, the attribute-name collection of the property value set of the system statement object and system statement class It closes corresponding.
In one embodiment, the parsing result is data block start mark parsing result, the data block starting mark Remember that parsing result includes data block class name, data block physical name corresponding with the data block class name, data block start mark category Property name and data block start mark attribute value corresponding with the data block start mark attribute-name.Memory module 920 is used for In the data acquisition system when data corresponding there is no the data block class name, the data block class name corresponding first is added Class data obtain the first data block class;The data block entity is added in the set of data objects of the first data block class The corresponding secondary sources of name, obtain the first data block object, and the affiliated class of the first data block object is first number According to block class;By data block class name storage into the data class name of the first data block class, by the data block entity Name storage is into the data object title of the first data block object, by data block start mark attribute-name storage to institute In the attribute-name set for stating the first data block class, by data block start mark attribute value storage to first data block pair In the property value set of elephant, the attribute-name set of the first data block object's property value set and the first data block class It is corresponding.
In one embodiment, the parsing result is that data block head defines parsing result, the data block head definition solution Analysing result includes each attribute-name possessed by data block each object.Memory module 920 in the data acquisition system for not depositing When the data block head defines corresponding data, adds the data block head and define corresponding primary sources, obtain second Data block class;By the attribute-name collection of the storage of each attribute-name possessed by the data block each object to the second data block class In conjunction.
In one embodiment, the parsing result is data block parsing result, and the data block parsing result includes number According to each attribute value of block each object.Memory module 920 is used in the set of data objects of the second data block class and described the The corresponding secondary sources of the data block are added in the subobject set of one data block object, obtain the second data block object, The affiliated class of the second data block object is the second data block class, and the parent object of the second data block object is described First data block object;By each attribute value storage of the data block each object to the second data block object's property value In set;The second data block object's property value set is corresponding with the attribute-name set of the second data block class.
In one embodiment, which further includes correction verification module 930, for reading out clear the file information, is based on institute Clear the file information is stated out, after obtaining parsing result, the parsing result is verified.
In one embodiment, correction verification module 930, which is used to obtain in the parsing result, goes out the clear period;Described clear out Period be not it is next go out the clear period when, determine and settle accounts fruit and do not refresh.
In one embodiment, it is clear to be used to obtain going out for each scheduling institution in the parsing result for correction verification module 930 The acceptance of the bid capacity of capacity and each scheduling institution subordinate acceptance of the bid generator unit;It is got the bid and is generated electricity based on each scheduling institution subordinate The acceptance of the bid capacity of unit calculates total acceptance of the bid capacity of each scheduling institution subordinate acceptance of the bid generator unit;In each dispatcher When the difference of the total acceptance of the bid capacity for going out clear capacity and its subordinate acceptance of the bid generator unit of structure is greater than first threshold, corresponding tune is determined Spend mechanism acceptance of the bid capacity unbalance.
In one embodiment, correction verification module 930 is used to obtain sharing for each scheduling institution in the parsing result Coefficient and out clear capacity;Go out clear capacity based on each scheduling institution, calculate scheduling institution always goes out clear capacity, Yi Jisuo State the ratio for always going out clear capacity for going out clear capacity and the scheduling institution of each scheduling institution;In each scheduling institution When the difference of Split Factor and the ratio is greater than second threshold, corresponding scheduling institution multi-source verification failure is determined.
In one embodiment, correction verification module 930 is used to obtain sharing for each scheduling institution in the parsing result Coefficient;Based on the Split Factor of each scheduling institution, total Split Factor of scheduling institution is calculated;In the scheduling institution When the difference of total Split Factor and preset value is greater than third threshold value, determine that scheduling institution Split Factor is uneven.
The specific restriction for going out the resolver of clear file about frequency modulation assisted hatching may refer to above for tune Frequency assisted hatching goes out the restriction of the analytic method of clear file, and details are not described herein.Above-mentioned frequency modulation assisted hatching is clear out Modules in the resolver of file can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module It can be embedded in the form of hardware or independently of in the processor in computer equipment, computer can also be stored in a software form In memory in equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 10.The computer equipment includes processor, memory and the network interface connected by system bus. Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes non-easy The property lost storage medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.The built-in storage Operation for operating system and computer program in non-volatile memory medium provides environment.The network of the computer equipment connects Mouth with external terminal by network connection for being communicated.To realize that a kind of frequency modulation is auxiliary when the computer program is executed by processor Service market is helped to go out the analytic method of clear file.
It will be understood by those skilled in the art that structure shown in Figure 10, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor realize the step in above-mentioned each embodiment of the method when executing computer program.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes the step in above-mentioned each embodiment of the method when being executed by processor.
It is to be appreciated that term " first ", " second ", " third " in above-described embodiment are used for description purposes only, and It cannot be understood as indicating or implying relative importance or implicitly indicate the quantity of indicated technical characteristic.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. the analytic method that a kind of frequency modulation assisted hatching goes out clear file, which comprises
Clear the file information is read out, based on the clear the file information out, obtains parsing result;
The parsing result is stored with the data structure of object-oriented into data acquisition system;The data structure of the object-oriented Including primary sources and secondary sources, the primary sources include data class name, attribute-name set and data object Set, the secondary sources include data object title, property value set, parent object, subobject set and affiliated class;It is described The set of data objects of primary sources belongs to secondary sources therein for storing, and the affiliated class of the secondary sources is used In identify its belonging to primary sources.
2. the method according to claim 1, wherein clear the file information is read out, based on the file letter clear out Breath obtains parsing result, comprising:
Read out the current row information of clear file;
Based on the current row information, corresponding resolving is determined, and obtain corresponding parsing result.
3. according to the method described in claim 2, it is characterized in that, being determined corresponding parsed based on the current row information Journey, and obtain corresponding parsing result, include following items at least one of:
When current row information is matched with system statement, resolving is stated into system, is obtained system and is stated parsing result;
In the matching of current line information and date block start mark, into data block start mark resolving, data block is obtained Start mark parsing result;
When current line information and date build is defined and matched, resolving is defined into data block head, it is fixed to obtain data block head Adopted parsing result;
In current line information and date Block- matching, into data block resolving, data block parsing result is obtained;
In current line information and date block end indicia matched, terminate data block resolving.
4. according to the method described in claim 3, it is characterised in that it includes it is following items at least one of:
First item:
The parsing result is that system states parsing result, system statement parsing result include system statement attribute-name, with And system corresponding with system statement attribute-name states attribute value;
The parsing result is stored with the data structure of object-oriented into data acquisition system, comprising:
When stating corresponding data there is no the system in the data acquisition system, the system statement corresponding first is added Class data obtain system and state class;
The system is added in the set of data objects of system statement class and states corresponding secondary sources, obtains system Statement object, the affiliated class of the system statement object are that the system states class;
By in the attribute-name set of system statement attribute-name storage to system statement class, the system is stated into attribute Value storage is into the property value set of the system statement object, the property value set of the system statement object and the system State that the attribute-name set of class is corresponding;
Section 2:
The parsing result is data block start mark parsing result, and the data block start mark parsing result includes data block Class name, data block physical name corresponding with the data block class name, data block start mark attribute-name and with the data block The corresponding data block start mark attribute value of start mark attribute-name;
The parsing result is stored with the data structure of object-oriented into data acquisition system, comprising:
In the data acquisition system when data corresponding there is no the data block class name, it is corresponding to add the data block class name Primary sources obtain the first data block class;
The corresponding secondary sources of the data block physical name are added in the set of data objects of the first data block class, are obtained The first data block object is obtained, the affiliated class of the first data block object is the first data block class;
By data block class name storage into the data class name of the first data block class, the data block physical name is deposited In the data object title for storing up the first data block object, by data block start mark attribute-name storage to described the In the attribute-name set of one data block class, by data block start mark attribute value storage to the first data block object In property value set, the first data block object's property value set is opposite with the attribute-name set of the first data block class It answers;
Section 3:
The parsing result is that data block head defines parsing result, and it includes that data block is each that the data block head, which defines parsing result, Each attribute-name possessed by object;
The parsing result is stored with the data structure of object-oriented into data acquisition system, comprising:
When defining corresponding data there is no the data block head in the data acquisition system, the data block head definition pair is added The primary sources answered obtain the second data block class;
By the storage of each attribute-name possessed by the data block each object into the attribute-name set of the second data block class;
Section 4:
The parsing result is data block parsing result, and the data block parsing result includes each attribute of data block each object Value;
The parsing result is stored with the data structure of object-oriented into data acquisition system, comprising:
It is added in the set of data objects of the second data block class and the subobject set of the first data block object The corresponding secondary sources of the data block, obtain the second data block object, the affiliated class of the second data block object is institute The second data block class is stated, the parent object of the second data block object is the first data block object;
Each attribute value of the data block each object is stored into the second data block object's property value set;It is described Second data block object's property value set is corresponding with the attribute-name set of the second data block class.
5. the method according to claim 1, which is characterized in that reading out clear the file information, be based on institute Clear the file information is stated out, after obtaining parsing result, further includes: verify to the parsing result.
6. according to the method described in claim 5, including following items it is characterized in that, verified to the parsing result At least one of in:
First item:
It obtains in the parsing result and goes out the clear period;
It is described go out the clear period be not it is next go out the clear period when, determine and settle accounts fruit and do not refresh;
Section 2:
Obtain each scheduling institution in the parsing result goes out clear capacity and each scheduling institution subordinate acceptance of the bid power generation list The acceptance of the bid capacity of member;
Based on the acceptance of the bid capacity of each scheduling institution subordinate acceptance of the bid generator unit, it is single to calculate each scheduling institution subordinate acceptance of the bid power generation Total acceptance of the bid capacity of member;
It is greater than the in the get the bid difference of total acceptance of the bid capacity of generator unit of clear capacity and its subordinate that goes out of each scheduling institution When one threshold value, corresponding scheduling institution acceptance of the bid capacity unbalance is determined;
Section 3:
Obtain the Split Factor and clear capacity out of each scheduling institution in the parsing result;
Go out clear capacity based on each scheduling institution, calculate scheduling institution always goes out clear capacity and each scheduling The ratio for always going out clear capacity for going out clear capacity and the scheduling institution of mechanism;
When the Split Factor of each scheduling institution and the difference of the ratio are greater than second threshold, corresponding scheduling is determined The verification failure of mechanism multi-source;
Section 4:
Obtain the Split Factor of each scheduling institution in the parsing result;
Based on the Split Factor of each scheduling institution, total Split Factor of scheduling institution is calculated;
When total Split Factor of the scheduling institution and the difference of preset value are greater than third threshold value, determining that scheduling institution is shared is Number is uneven.
7. the resolver that a kind of frequency modulation assisted hatching goes out clear file, which is characterized in that described device includes:
Parsing module, based on the clear the file information out, obtains parsing result for reading out clear the file information;
Memory module, for being stored the parsing result with the data structure of object-oriented into data acquisition system;It is described towards The data structure of object includes primary sources and secondary sources, and the primary sources include data class name, attribute-name Set and set of data objects, the secondary sources include data object title, property value set, parent object, subobject collection It closes and affiliated class;The set of data objects of the primary sources belongs to secondary sources therein for storing, and described second The affiliated class of class data is used to identify the primary sources belonging to it.
8. device according to claim 7, which is characterized in that further include:
Correction verification module, for reading out clear the file information, based on the clear the file information out, after obtaining parsing result, to institute Parsing result is stated to be verified.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 6 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of any one of claims 1 to 6 the method is realized when being executed by processor.
CN201910584046.5A 2019-07-01 2019-07-01 Frequency modulation assisted hatching goes out analytic method, device, computer equipment and the storage medium of clear file Pending CN110321379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910584046.5A CN110321379A (en) 2019-07-01 2019-07-01 Frequency modulation assisted hatching goes out analytic method, device, computer equipment and the storage medium of clear file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910584046.5A CN110321379A (en) 2019-07-01 2019-07-01 Frequency modulation assisted hatching goes out analytic method, device, computer equipment and the storage medium of clear file

Publications (1)

Publication Number Publication Date
CN110321379A true CN110321379A (en) 2019-10-11

Family

ID=68121522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910584046.5A Pending CN110321379A (en) 2019-07-01 2019-07-01 Frequency modulation assisted hatching goes out analytic method, device, computer equipment and the storage medium of clear file

Country Status (1)

Country Link
CN (1) CN110321379A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401833A (en) * 2020-03-10 2020-07-10 贵州电网有限责任公司 Automatic checking and intervening method for spot market clearing plan
CN111899122A (en) * 2020-07-03 2020-11-06 国网江苏省电力有限公司镇江供电分公司 User decentralized clearing method based on energy storage control

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751426A (en) * 2008-12-11 2010-06-23 北京市电力公司 Method and device for realizing information sharing between SCADA and GIS
CN102799555A (en) * 2012-07-24 2012-11-28 中国电力科学研究院 Design method capable of configuring data interaction tool in electric power information system and system
CN103020162A (en) * 2012-11-26 2013-04-03 中国电力科学研究院 Method for converting and importing CC2000 model into D5000 system
CN103294568A (en) * 2013-06-24 2013-09-11 国家电网公司 Distribution network model incremental storage method based on E language
CN106021344A (en) * 2016-05-09 2016-10-12 国电南瑞科技股份有限公司 A multi-adaptive CIME power grid model sharing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751426A (en) * 2008-12-11 2010-06-23 北京市电力公司 Method and device for realizing information sharing between SCADA and GIS
CN102799555A (en) * 2012-07-24 2012-11-28 中国电力科学研究院 Design method capable of configuring data interaction tool in electric power information system and system
CN103020162A (en) * 2012-11-26 2013-04-03 中国电力科学研究院 Method for converting and importing CC2000 model into D5000 system
CN103294568A (en) * 2013-06-24 2013-09-11 国家电网公司 Distribution network model incremental storage method based on E language
CN106021344A (en) * 2016-05-09 2016-10-12 国电南瑞科技股份有限公司 A multi-adaptive CIME power grid model sharing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
崔丽 等: "基于CIM/E的电网模型解析", 《计算机系统应用》 *
钱静 等: "智能调度离线模型管理技术的深化研究", 《电网技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401833A (en) * 2020-03-10 2020-07-10 贵州电网有限责任公司 Automatic checking and intervening method for spot market clearing plan
CN111899122A (en) * 2020-07-03 2020-11-06 国网江苏省电力有限公司镇江供电分公司 User decentralized clearing method based on energy storage control
CN111899122B (en) * 2020-07-03 2024-01-02 国网江苏省电力有限公司镇江供电分公司 User decentralized clearing method based on energy storage control

Similar Documents

Publication Publication Date Title
CN104317839B (en) The method and apparatus for generating report form template
CN110321379A (en) Frequency modulation assisted hatching goes out analytic method, device, computer equipment and the storage medium of clear file
CN109992601A (en) Method for pushing, device and the computer equipment of backlog information
CN109788031A (en) Business datum acquisition methods, device, computer equipment and storage medium
US20220237917A1 (en) Video comparison method and apparatus, computer device, and storage medium
CN104965999B (en) The analysis joining method of a kind of short-and-medium genetic fragment order-checking and equipment
CN110442752A (en) Organizational structure drawing generating method, device, computer equipment and storage medium
CN110457361B (en) Feature data acquisition method, device, computer equipment and storage medium
CN110134795A (en) Generate method, apparatus, computer equipment and the storage medium of validation problem group
CN108924258A (en) Background information method for pushing, device, computer equipment and storage medium
Guardiola et al. ECU-oriented models for NOx prediction. Part 1: a mean value engine model for NOx prediction
CN114328566A (en) Relationship graph updating method, device, medium, equipment and generating method
WO2018188222A1 (en) A2l file merging method and device
CN112965912B (en) Interface test case generation method and device and electronic equipment
CN110162689A (en) Information-pushing method, device, computer equipment and storage medium
CN112381599A (en) Shared charger rental system and method based on block chain technology
CN109901950A (en) A kind of method and device for evading application crash
CN113486254B (en) Activity recommendation method and system based on big data
CN112632513B (en) Front-end and back-end separation-based identity authentication implementation method
CN112162991B (en) Intelligent management method and device for data
CN113552497A (en) Method for acquiring parameters from instrumentation for testing a spacecraft power supply system
WO2020215693A1 (en) Software testing method and apparatus, computer device, and readable storage medium
CN102487426B (en) Method for improving charging accuracy, system thereof and apparatus thereof
CN110221958B (en) Application testing method, device, computing equipment and computer readable storage medium
CN113297162A (en) Data storage method and device based on cloud computing

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191011

RJ01 Rejection of invention patent application after publication