CN106933546A - Device, method and apparatus for supporting the power system file of at least two versions - Google Patents
Device, method and apparatus for supporting the power system file of at least two versions Download PDFInfo
- Publication number
- CN106933546A CN106933546A CN201511009139.3A CN201511009139A CN106933546A CN 106933546 A CN106933546 A CN 106933546A CN 201511009139 A CN201511009139 A CN 201511009139A CN 106933546 A CN106933546 A CN 106933546A
- Authority
- CN
- China
- Prior art keywords
- file
- power system
- system file
- edition
- version
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 91
- 230000008569 process Effects 0.000 claims description 64
- 230000005611 electricity Effects 0.000 claims description 11
- 238000005070 sampling Methods 0.000 claims description 7
- 238000007689 inspection Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 7
- 238000011161 development Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013497 data interchange Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 201000006549 dyspepsia Diseases 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
A kind of device, method and apparatus for supporting the power system file of at least two versions, described device includes:General module, for supporting the power system file of first version and the common general operation of power system file of the second edition;First particular module, for supporting specific first specific operation of the power system file of the first version;And second particular module, for supporting specific second specific operation of the power system file of the second edition.
Description
Technical field
The present invention relates to the field of power system, more particularly it relates to a kind of for supporting at least
Two device, the methods and apparatus of the power system file of version.
Background technology
In the relevant criterion of field of power, some versions are usually present with unified power system file.
With electrical power system transient data interchange general format (Common format for transient data exchange
(COMTRADE) for Power Systems) as a example by file, Institute of Electrical and Electric Engineers (Institute
Of Electrical and Electronics Engineers, IEEE) 1991 and 1999 in standard
The COMTRADE files of 1991 versions and 1999 versions have been issued in C37.111 respectively.Hereafter, state
The border electrician committee (International Electro technical Commission, IEC) 2001
1999 versions in IEEE C37.111 standards have been continued to use in 60255-24 standards as IEC 60255-24
1.0 versions (that is, so-called 2001 version), and 2013 with IEEE issued IEC jointly
2.0 versions (that is, so-called 2013 version) of 60255-24.Therefore, it can be considered as in the presence of four versions
This COMTRADE files, i.e. 1991 versions, 1999 versions, 2001 versions and 2013 versions.
In order to support the COMTRADE files of these different editions, in one approach, for example, pass through
Using many skip instructions, the source code of the COMTRADE files for supporting each version is mixed
To in a big software kit.In this approach, system engineer's indigestion and software is safeguarded, and
And be difficult to be modified the structure of software kit, for example add new COMTRADE FileVersions or removal
No COMTRADE FileVersions etc..
In another approach, a module is implemented separately for the COMTRADE files of each version.
In this approach, because the source code of the COMTRADE files of each version has many identical portions
Divide and these same sections have been also carried out to repeat, therefore size of code is big, inefficiency.
The content of the invention
In view of the above, the invention provides a kind of power system for supporting at least two versions
The device of file, method and apparatus, it can efficiently and neatly support the power train of at least two versions
System file, consequently facilitating the understanding of system engineer, maintenance and expansion, improve treatment effeciency.
According to one embodiment of the invention, there is provided a kind of power system text for supporting at least two versions
The device of part, including:General module, power system file and the second edition for supporting first version
The common general operation of power system file;First particular module, for supporting the first version
Specific first specific operation of power system file;And second particular module, for supporting described
Specific second specific operation of power system file of two versions.
According to another embodiment of the present invention, there is provided a kind of power system for supporting at least two versions
The method of file, including:Obtain process object;Determine electricity of the process object corresponding to first version
Which in the power system file of Force system file and the second edition;When it is determined that corresponding to
During the power system file of first version, the treatment is processed by general module and the first particular module right
As;When it is determined that process object corresponds to the power system file of the second edition, by the general module
The process object is processed with the second particular module, wherein, the general module is used to support first version
Power system file and the second edition the common general operation of power system file, described first is special
Cover half block is used to supporting specific first specific operation of power system file of the first version, described the
Two particular modules are used to support specific second specific operation of power system file of the second edition.
According to another embodiment of the present invention, there is provided a kind of power system for supporting at least two versions
The equipment of file, including:Acquiring unit, obtains process object;Determining unit, determines that the treatment is right
As which in the power system file and the power system file of the second edition corresponding to first version;
Processing unit, when it is determined that process object corresponds to the power system file of first version, by Universal Die
Block and the first particular module process the process object;When it is determined that process object corresponds to the electricity of the second edition
During Force system file, the process object is processed by the general module and the second particular module, wherein,
The general module is used to support the power system file of first version and the power system file of the second edition
Common general operation, first particular module be used for support the first version power system text
Specific first specific operation of part, second particular module is used to support the power train of the second edition
System specific second specific operation of file.
According to another embodiment of the present invention, there is provided a kind of power system for supporting at least two versions
The equipment of file, including:Processor;Memory;With computer program of the storage in the memory
Instruction, following steps are performed when the computer program instructions are run by the processor:Acquisition is processed
Object;Determine the process object corresponding to the power system file of first version and the electric power of the second edition
Which in system file;When it is determined that process object corresponds to the power system file of first version,
The process object is processed by general module and the first particular module;When it is determined that process object corresponds to the
During the power system file of two versions, the treatment is processed by the general module and the second particular module
Object, wherein, the general module is used to support the power system file and the second edition of first version
The common general operation of power system file, first particular module is used to support the first version
Specific first specific operation of power system file, second particular module be used for support described second
Specific second specific operation of power system file of version.
According to another embodiment of the present invention, there is provided a kind of computer program product, including computer-readable
Storage medium, stores computer program instructions, the calculating on the computer-readable recording medium
Machine programmed instruction performs following steps when being run by computer:Obtain process object;Determine the treatment
Object correspond to first version power system file and the second edition power system file in which
It is individual;When it is determined that process object corresponding to first version power system file when, by general module and the
The one particular module treatment process object;When it is determined that process object corresponds to the power system of the second edition
During file, the process object is processed by the general module and the second particular module, wherein, it is described
General module is used to support that the power system file of first version and the power system file of the second edition are total to
Same general operation, first particular module is used to support that the power system file of the first version to be special
The first fixed specific operation, second particular module is used to support the power system text of the second edition
Specific second specific operation of part.
Device for supporting the power system file of at least two versions according to embodiments of the present invention,
In method and apparatus, the power system file and the second edition of first version are processed by general module
The common general operation of power system file, and divided by the first particular module and the second particular module
Manage specific first specific operation of power system file and the second edition of the first version in other places
Specific second specific operation of power system file, thus, it is possible to efficiently and neatly support at least two
The power system file of version, is easy to understanding, the maintenance and expansion of system engineer, improves treatment effeciency.
Brief description of the drawings
Fig. 1 is the schematic illustration power train for supporting at least two versions according to embodiments of the present invention
The block diagram of the structure of the device of system file;
Fig. 2 is environment when diagram device according to embodiments of the present invention is applied to COMTRADE files
Schematic diagram;
Fig. 3 is the diagram power system file for supporting at least two versions according to embodiments of the present invention
Method key step flow chart;
Fig. 4 is to show the power system file for supporting at least two versions according to embodiments of the present invention
Equipment main configuration block diagram;And
Fig. 5 is the diagram power system for supporting at least two versions according to another embodiment of the present invention
The block diagram of the main configuration of the equipment of file.
Specific embodiment
The embodiment of the present invention is described in detail below with reference to accompanying drawing.
First, reference picture 1 describes the electric power for supporting at least two versions according to embodiments of the present invention
The device of system file.
Fig. 1 is the schematic illustration power train for supporting at least two versions according to embodiments of the present invention
The block diagram of the structure of the device of system file.As shown in figure 1, the embodiment of the present invention for support at least two
The device 100 of the power system file of individual version includes general module 110, the and of the first particular module 120
Second particular module 130.
Specifically, the general module 110 is used to support the power system file and the second edition of first version
The common general operation of power system file originally.First particular module 120 is used to support described
Specific first specific operation of power system file of first version.Second particular module 130 is used for
Support specific second specific operation of power system file of the second edition.
Additionally, in the case where there is more than two version (for example, four versions), described device 100
Four power system files of different editions can further be supported.Thus, the general module 110 is used for
Support power system file, the power system file of the second edition, the third edition of the first version
This power system file and the common general operation of the power system file of fourth edition.Additionally, institute
Stating device 100 also includes unshowned 3rd particular module and the 4th particular module.The 3rd specific mould
Block is used to support that the power system file of the third edition sheet is specifically operated.4th particular module is used
Specifically operated in the power system file of the fourth edition is supported.
Certainly, case described above is merely illustrative.It will be appreciated by those skilled in the art that depending on electricity
The difference of the quantity of the version existing for Force system file, the device 100 of the embodiment of the present invention can be included
The particular module of more or less number.
Additionally, in the above-described embodiments, the common general operation example of the power system file of each version
As can include file operation, message file generation operation, header file generation operation, in configuration file
Part I generation operation and the first form Generating Data File operation at least one of or its
Any combination.
Additionally, in the above-described embodiments, the unique specific operation (example of the power system file of each version
Such as, above-mentioned first specific operation and the second specific operation) can be different in following one or more aspects
's:The generation operation of the Part II in filename generation operation, configuration file and first form
The Generating Data File operation of the second different forms and the file generated operation of single file format.
More specifically, in the above-described embodiments, the file operation can include at least one of the following
Or it is multiple:File creation operation, file open operation, file write operations, file close operation, text
Part deletion action, file system space inspection operation and file size inspection operation.
Additionally, in the above-described embodiments, the generation operation of the Part I in the configuration file may include
One or more during generation is following:Plant stand name, the title of tape deck or numbering, log file are followed
Issue time of standard, number of channels and channel type, analog quantity channel information, quantity of state passage letter
Markers in breath, bus frequency, sampling frequency information, the record format of data file and data file
Coefficient.
Additionally, in the above-described embodiments, the generation operation of the Part II in the configuration file may include
One or more during generation is following:Time encoding, local coder, sampling time quality, gap marker
Symbol, max min scope and date-time markers.
Below, the device of the embodiment of the present invention will be described by taking COMTRADE files as an example.
Environment when Fig. 2 shows that the device of the embodiment of the present invention is applied to COMTRADE files.
As shown in Fig. 2 the environment includes the device 200, file system of the embodiment of the present invention, matches somebody with somebody
Put parameter and recorder data.The recorder data is used for the conduct by the device 200 of the embodiment of the present invention
COMTRADE files are come in recorded file system, and the file system can be by the present invention
The device 200 of embodiment and read and write the COMTRADE files.The configuration parameter is used to provide
COMTRADE FileVersions and format needs, it is recorded the information such as channel parameters.
Described device 200 is used to support the COMTRADE files of each version.At present, as described above,
Can be considered as in the presence of four COMTRADE files of version, i.e. 1991 versions, 1999 versions, 2001
Version and 2013 versions.Therefore, described device 200 may include general module 210 and particular module 220,
Wherein, the particular module 220 includes the first particular module 220-1, the second particular module 220-2, the
Three particular module 220-3 and the 4th particular module 220-4.
Specifically, the general module 210 can support 1991 versions, 1999 versions, 2001 versions
The operation common with 2013 versions.In the case where the general module is realized by software, with C++ languages
As a example by speech, for example can be by will be real in the common feature extraction of four versions to a C++ base class
The existing general module.In the C++ base class, it can be stated that but do not define some virtual work energy API (should
With Program Interfaces).These API can be defined in each derived class as described below.
More specifically, COMTRADE files for example include such as configuration file (cfg file), head text
The file of part (HDR files), message file (INF files), data file (DAT files) etc..
Additionally, the COMTRADE files of 2013 versions may also include single file format file (CFF file).
Additionally, depending on version difference, the data file may include the data file of different-format, such as
The data file of ASCII fromat, the data file of binary forms, the data file of binary32 forms and
Data file of float32 forms etc..
Thus, the general operation that the general module 210 is supported may include for COMTRADE texts
The various file operations of part, for example, file creation operation, file open operation, file write operations,
File close operation, file deletion action, file system space inspection operation and file size inspection
At least one of operation etc. or its any combination.
Additionally, the general operation that the general module 210 is supported may also include the life of such as INF files
Into in operation, the generation operation of HDR files, the generation operation of the data file of the first form etc. extremely
Few one or its any combination, the data file of first form for example can be the number of ASCII fromat
At least one of data file according to file and binary forms.
For cfg file, partial content therein is each version institute identical, and another part content
It is that each version is different.Thus, the general operation that the general module 210 is supported may also include CFG
Each version institute identical part (that is, the Part I in configuration file as described above) in file
Generation operation, for example, generating at least one of following information or its any combination:Plant stand name, record
Issue time of the standard that the title or numbering of device, log file are followed, number of channels and channel type,
Analog quantity channel information, quantity of state channel information, bus frequency, sampling frequency information, data file
Target coefficient etc. when in record format and data file.
The first particular module 220-1, the second particular module 220-2, the 3rd particular module
220-3 and the 4th particular module 220-4 is used to support 1991 versions, 1999 versions, 2001 respectively
Version and 2013 versions are each specifically operated.The first particular module 220-1 is being realized by software
To the 4th particular module 220-4, by taking C Plus Plus as an example, for example can be by by respectively
The individual specific feature abstraction of version is to realizing each particular module in respective C++ derived class.
Specifically, the first particular module 220-1, the second particular module 220-2, the described 3rd
Particular module 220-3 and the 4th particular module 220-4 is different at following at least one aspect:Text
The generation operation of the Part II in part name generation operation, configuration file, the data file life of the second form
Into the file generated operation of operation and single file format.Part II in the configuration file is
Remainder in cfg file in addition to above-mentioned each version identical part, i.e. in cfg file
The part different for each version.Specifically, the generation operation of these parts can for example include generation
At least one of the following or its any combination:It is time encoding, local coder, sampling time quality, logical
Road identifier, max min scope and date-time markers.
More specifically, in COMTRADE files, operating aspect is generated in filename, for 1991
Version, 1999 versions and 2001 versions, filename follow compatible IBM (International Business Machine Corporation (IBM))
DOS (the operating system users' guidebook of MS-DOS versions 6).For 2013 versions, filename is followed
Ieee standard C37.232TM-2007.
Additionally, in terms of cfg file, for example, 2013 versions add time encoding, local coder,
The sampling time quality of configuration file.Additionally, each version is in analog channel and the passage mark of digital channel
The aspect such as target precision is all different when knowing symbol, minimum and maximum data value, date/time.
Additionally, in Generating Data File operating aspect, the data file of second form for example can be
At least one of the data file of binary32 forms and the data file of float32 forms, it is described
The data file of binary32 forms and the data file of float32 forms are specific to 2013 versions.This
Outward, the number of each version target precision and ASCII fromat in file size limitation, date/time
It is different according to the various aspects such as the time markers and data value of file, missing data value.
Additionally, 2013 versions also add the file of single file format (that is, CFF forms).
The device of the embodiment of the present invention including general module 210 and particular module 220 as described above
200 can be realized in the related application of field of power in the form of such as software kit, for example,
In Waveform AP softwares.
It is pointed out that it is special to describe described first by taking some differences between each version as an example above
The difference of the operation that cover half block 220-1 is each supported to the 4th particular module 220-4.As for these
The design parameter of difference, those skilled in the art can obtain by referring to the standard of related versions,
This is no longer described in detail.
In addition it should be pointed out that, it is above-described to distinguish merely illustrative and be not intended to limit the present invention.This
Art personnel can also draw the first particular module 220-1 by referring to the standard of related versions
Other for the operation each supported to the 4th particular module 220-4 are distinguished.
In addition it is also necessary to, it is noted that development depending on COMTRADE files from now on, for example with
The appearance of redaction or eliminating for legacy version, what the general module and each particular module were supported
Operation may be otherwise varied with above description.Those skilled in the art the present invention instructed including logical
On basis with the device of module and each particular module, can be with the development of FileVersion to logical
The concrete operations supported with module and each particular module are easily added, changed and deleted accordingly
Remove, additionally it is possible to easily add or delete certain particular module, it is all in the range of the present invention is protected.
Finally, it is also stated that, the above describes of the invention real by taking COMTRADE files as an example
Apply the device of the power system file for supporting at least two versions of example.However, the embodiment of the present invention
Device not limited to this, but can apply to other various power system files.
More than, describe referring to Figures 1 and 2 the embodiment of the present invention for supporting at least two versions
The device of power system file.
In device according to embodiments of the present invention, the power train of first version is processed by general module
The common general operation of power system file of system file and the second edition, and by the first particular module
Process the specific behaviour of power system file specific first of the first version respectively with the second particular module
Make specific second specific operation of power system file with the second edition.In view of each version
Substantial portion of feature is common in power system file, by the device of the embodiment of the present invention, energy
Power system file that is enough efficient and neatly supporting at least two versions, reduces development amount, is easy to
The understanding of system engineer, maintenance and expansion, improve treatment effeciency.
The power train for supporting at least two versions of the embodiment of the present invention is described next, with reference to Fig. 3
The method of system file.
Fig. 3 is the diagram power system file for supporting at least two versions according to embodiments of the present invention
Method key step flow chart.
As shown in figure 3, first, in step S310, obtaining process object.With COMTRADE files
As a example by, in the case of a write operation, the process object can be recorder data.In the situation of read operation
Under, the process object can be COMTRADE files, etc..
Next, in step S320, it is determined that process object corresponding to first version power system file and
Which in the power system file of the second edition.Equally by taking COMTRADE files as an example, writing
In the case of operation, for example, version can be determined according to system configuration parameter.In the case of a read operation,
For example version, etc. can be determined with the version issuing time in cfg file.
Hereafter, when it is determined that process object corresponds to the power system file of first version, methods described is entered
Row processes the process object to step S330 by general module and the first particular module.The opposing party
Face, when it is determined that process object corresponds to the power system file of the second edition, methods described proceeds to step
Rapid S340, and the process object is processed by the general module and the second particular module.
The general module is used for the power system of the power system file and the second edition for supporting first version
The common general operation of file.First particular module is used to support the power train of the first version
System specific first specific operation of file.Second particular module is used to support the electricity of the second edition
Specific second specific operation of Force system file.
Additionally, the method in the embodiment of the present invention is applied to the electricity of more multi version (for example, four versions)
In the case of Force system file, in step S320, it may be determined that electricity of the process object corresponding to first version
Force system file, the power system file of the second edition, the power system file of third edition sheet and fourth edition
Which in this power system file.
Thus, when it is determined that process object corresponds to the power system file of third edition sheet, by described logical
The process object is processed with module and the 3rd particular module.When it is determined that process object corresponds to fourth edition
Power system file when, the process object is processed by the general module and the 4th particular module.
In the case, the general module is used to support power system file, the institute of the first version
State the power system file of the second edition, the power system file of third edition sheet and the power train of fourth edition
The common general operation of system file, the 3rd particular module is used to support the electric power of the third edition sheet
System file is specifically operated, and the 4th particular module is used to support the power system of the fourth edition
File is specifically operated.
It is the general module, first particular module, second particular module, the described 3rd specific
The concrete configuration and operation of module and the 4th particular module have been described above described referring to Figures 1 and 2
The embodiment of the present invention device in describe in detail, be not repeated herein.
More than, reference picture 3 describes the power train for supporting at least two versions of the embodiment of the present invention
The method of system file.By the method for the embodiment of the present invention, at least two can efficiently and be neatly supported
The power system file of version, reduces development amount, is easy to the understanding of system engineer, safeguards and expand
Exhibition, improves treatment effeciency.
The electricity for supporting at least two versions according to embodiments of the present invention is described next, with reference to Fig. 4
The equipment of Force system file.
Fig. 4 is to show the power system file for supporting at least two versions according to embodiments of the present invention
Equipment main configuration block diagram.As shown in figure 4, the equipment 400 of the embodiment of the present invention mainly includes
Acquiring unit 410, determining unit 420 and processing unit 430.
The acquiring unit 410 obtains process object.The determining unit 420 determines process object correspondence
Which in the power system file of first version and the power system file of the second edition.The place
Unit 430 is managed when it is determined that process object corresponds to the power system file of first version, by Universal Die
Block and the first particular module process the process object;When it is determined that process object corresponds to the electricity of the second edition
During Force system file, the process object is processed by the general module and the second particular module.
The general module is used for the power system of the power system file and the second edition for supporting first version
The common general operation of file.First particular module is used to support the power train of the first version
System specific first specific operation of file.Second particular module is used to support the electricity of the second edition
Specific second specific operation of Force system file.
The configuration and operation of the unit of equipment 400 according to embodiments of the present invention have been described above reference
Described in detail in the method and apparatus of the embodiment of the present invention shown in Fig. 1-Fig. 3, be not repeated herein.
Describe according to another embodiment of the present invention for supporting at least two versions next, with reference to Fig. 5
Power system file equipment 500.
Fig. 5 is the diagram power system for supporting at least two versions according to another embodiment of the present invention
The block diagram of the main configuration of the equipment 500 of file.
As shown in figure 5, the power system file for supporting at least two versions of the embodiment of the present invention
Equipment 500 mainly includes:One or more processors 510 and memory 520, these components are by total
Bindiny mechanism's (not shown) interconnection of linear system system 530 and/or other forms.It should be noted that shown in Fig. 5
Equipment 500 component and structure be it is illustrative, and not restrictive, it is as needed, described to set
Standby 500 can also have other assemblies and structure.
Processor 510 can be CPU (CPU) or have data-handling capacity and/or refer to
The processing unit of the other forms of executive capability is made, and other groups in the equipment 500 can be indicated
Part is performing desired function.
Memory 520 can include one or more computer program products, the computer program product
Various forms of computer-readable recording mediums, such as volatile memory and/or non-volatile can be included
Memory.The volatile memory can for example include random access memory (RAM) and/or high speed
Buffer storage (cache) etc..The nonvolatile memory can for example include read-only storage
(ROM), hard disk, flash memory etc..One or many can be stored on the computer-readable recording medium
Individual computer program instructions, processor 510 can run described program instruction, to realize implementation of the present invention
The function and/or other desired functions of the equipment of example.
More than, reference picture 4 and Fig. 5 describe the embodiment of the present invention for supporting at least two versions
The equipment of power system file.By the equipment of the embodiment of the present invention, can efficiently and neatly support to
Few two power system files of version, reduce development amount, are easy to understanding, the dimension of system engineer
Shield and extension, improve treatment effeciency.
More than, described referring to figs. 1 to Fig. 5 according to embodiments of the present invention for supporting at least two editions
The method of this power system file, device and equipment.
It should be noted that in this manual, term " including ", "comprising" or its any other
Variant is intended to including for nonexcludability, so that process, method, thing including a series of key elements
Product or equipment not only include those key elements, but also other key elements including being not expressly set out, or
It is also to include being this process, method, article or the intrinsic key element of equipment.Without more limitations
In the case of, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, article or equipment in also there is other identical element.
Furthermore, it is necessary to explanation, in this manual, is similar to " Unit first ... ", " the second ... list
The statement of unit " is distinguished only for convenient in description, and is not meant to it and be must be implemented as physical separation
Two or more units.In fact, as needed, the unit can be entirely implemented as a unit,
Multiple units can also be embodied as.
Finally, in addition it is also necessary to explanation, a series of above-mentioned treatment not only include being pressed with order described here
The treatment that time series is performed, and including parallel or respectively, rather than the place for performing in chronological order
Reason.
Through the above description of the embodiments, those skilled in the art can be understood that this hair
It is bright to add the mode of required hardware platform by software to realize, naturally it is also possible to all by hardware come
Implement.Based on such understanding, whole that technical scheme contributes to background technology or
Part can be embodied in the form of software product, and the computer software product can be stored and is situated between in storage
In matter, such as ROM/RAM, magnetic disc, CD, including some instructions are used to so that a computer sets
Standby (can be personal computer, server, or network equipment etc.) performs each embodiment of the invention
Or the method described in some parts of embodiment.
In embodiments of the present invention, units/modules can realize with software, so as to by various types for the treatment of
Device is performed.For example, an executable code module for mark can include one of computer instruction
Or multiple physics or logical block, for example, it can be built as object, process or function.To the greatest extent
Pipe is in this way, the executable code of institute's mark module need not be physically located together, and can be including storage
Different instruction in the different positions, when being combined together in these command logics, its Component units/
Module and realize the regulation purpose of the units/modules.
When units/modules can be realized using software, it is contemplated that the level of existing hardware technique, so can
With units/modules implemented in software, in the case where cost is not considered, those skilled in the art can
Build corresponding hardware circuit to realize corresponding function, the hardware circuit includes the ultra-large of routine
The existing semiconductor of integrated (VLSI) circuit or gate array and such as logic chip, transistor etc
Or other discrete elements.Module can also use programmable hardware device, such as field programmable gate
Array, programmable logic array, programmable logic device etc. are realized.
The present invention is described in detail above, specific case used herein is to principle of the invention
And implementation method is set forth, the explanation of above example is only intended to help and understands the method for the present invention
And its core concept;Simultaneously for those of ordinary skill in the art, according to thought of the invention,
Be will change in specific embodiment and range of application, in sum, this specification content should not
It is interpreted as limitation of the present invention.
Claims (10)
1. it is a kind of for support at least two versions power system file device, including:
General module, for supporting the power system file of first version and the power system text of the second edition
The common general operation of part;
First particular module, for supporting the power system file specific first of the first version specific
Operation;And
Second particular module, for supporting the power system file specific second of the second edition specific
Operation.
2. device as claimed in claim 1, wherein, described device supports four electric power of different editions
System file;
The general module is used to supporting the power system file of the first version, the second edition
The power system file institute of power system file, the power system file of third edition sheet and fourth edition is common
General operation;
Described device also includes:
3rd particular module, for supporting that the power system file of the third edition sheet is specifically operated;
And
4th particular module, for supporting that the power system file of the fourth edition is specifically operated.
3. device as claimed in claim 1, wherein,
The general operation includes that file operation, message file generation operation, header file generation are operated, matched somebody with somebody
Put in the generation operation of Part I in file and the Generating Data File operation of the first form extremely
It is few one.
4. device as claimed in claim 1, wherein,
First specific operation and second specific operation are different at following at least one aspect:
Generation operation, the data file of the second form of the Part II in filename generation operation, configuration file
Generation operation and the file generated operation of single file format.
5. device as claimed in claim 3, wherein, the file operation include it is following at least one
It is individual:File creation operation, file open operation, file write operations, file close operation, file are deleted
Division operation, file system space inspection operation and file size inspection operation.
6. device as claimed in claim 3, wherein, the generation of the Part I in the configuration file
Operation includes generating at least one of the following:Plant stand name, the title of tape deck or numbering, record text
Issue time of the standard that part is followed, number of channels and channel type, analog quantity channel information, quantity of state
Channel information, bus frequency, sampling frequency information, the record format and data file of data file
Target coefficient when middle.
7. device as claimed in claim 4, wherein, the generation of the Part II in the configuration file
Operation includes generating at least one of the following:It is time encoding, local coder, sampling time quality, logical
Road identifier, max min scope and date-time markers.
8. it is a kind of for support at least two versions power system file method, including:
Obtain process object;
Determine the process object corresponding to the power system file of first version and the power train of the second edition
System file in which;And
When it is determined that process object corresponding to first version power system file when, by general module and the
The one particular module treatment process object;When it is determined that process object corresponds to the power system of the second edition
During file, the process object is processed by the general module and the second particular module,
Wherein, the general module is used to support the power system file of first version and the electricity of the second edition
The common general operation of Force system file, first particular module is used to support the first version
Specific first specific operation of power system file, second particular module is used to support the second edition
This specific second specific operation of power system file.
9. method as claimed in claim 8, wherein:
It is determined that process object is corresponding to the power system file of first version and the power system text of the second edition
The step of which in part, includes:
It is determined that power system file, the power train of the second edition of the process object corresponding to first version
Which in system file, the power system file of third edition sheet and the power system file of fourth edition;
Methods described also includes:
When it is determined that process object corresponds to the power system file of third edition sheet, by described general
Module and the 3rd particular module process the process object;When it is determined that process object is corresponding to fourth edition
During power system file, the process object is processed by the general module and the 4th particular module,
Wherein, the general module is used to support power system file, described second of the first version
The power system file of the power system file of version, the power system file of third edition sheet and fourth edition
Common general operation, the 3rd particular module be used for support the third edition sheet power system text
Part is specifically operated, and the 4th particular module is used to support that the power system file of the fourth edition to be special
Fixed operation.
10. it is a kind of for support at least two versions power system file equipment, including:
Acquiring unit, obtains process object;
Determining unit, determines power system file and the second edition of the process object corresponding to first version
Which in this power system file;
Processing unit, when it is determined that process object corresponds to the power system file of first version, by logical
The process object is processed with module and the first particular module;When it is determined that process object corresponds to the second edition
Power system file when, the process object is processed by the general module and the second particular module,
Wherein, the general module is used to support the power system file of first version and the electricity of the second edition
The common general operation of Force system file, first particular module is used to support the first version
Specific first specific operation of power system file, second particular module is used to support the second edition
This specific second specific operation of power system file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511009139.3A CN106933546A (en) | 2015-12-29 | 2015-12-29 | Device, method and apparatus for supporting the power system file of at least two versions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511009139.3A CN106933546A (en) | 2015-12-29 | 2015-12-29 | Device, method and apparatus for supporting the power system file of at least two versions |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106933546A true CN106933546A (en) | 2017-07-07 |
Family
ID=59458383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511009139.3A Pending CN106933546A (en) | 2015-12-29 | 2015-12-29 | Device, method and apparatus for supporting the power system file of at least two versions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106933546A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1591401A (en) * | 2001-11-09 | 2005-03-09 | 无锡永中科技有限公司 | Data processing system using application program edition |
CN1595860A (en) * | 2003-09-13 | 2005-03-16 | 华为技术有限公司 | Method of protocol version detection in communication system |
CN101960821A (en) * | 2008-02-15 | 2011-01-26 | 高通股份有限公司 | Methods and apparatuses supporting multiple positioning protocol versions in wireless communication networks |
CN102426518A (en) * | 2011-04-20 | 2012-04-25 | 重庆新世杰电气股份有限公司 | Method for realizing soft version compatibility |
CN104579721A (en) * | 2013-10-10 | 2015-04-29 | 施耐德电器工业公司 | Communication device and relay protection device |
-
2015
- 2015-12-29 CN CN201511009139.3A patent/CN106933546A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1591401A (en) * | 2001-11-09 | 2005-03-09 | 无锡永中科技有限公司 | Data processing system using application program edition |
CN1595860A (en) * | 2003-09-13 | 2005-03-16 | 华为技术有限公司 | Method of protocol version detection in communication system |
CN101960821A (en) * | 2008-02-15 | 2011-01-26 | 高通股份有限公司 | Methods and apparatuses supporting multiple positioning protocol versions in wireless communication networks |
CN102426518A (en) * | 2011-04-20 | 2012-04-25 | 重庆新世杰电气股份有限公司 | Method for realizing soft version compatibility |
CN104579721A (en) * | 2013-10-10 | 2015-04-29 | 施耐德电器工业公司 | Communication device and relay protection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101448089B (en) | Non-linear editing system | |
CN102456101B (en) | Genetic information management system and method | |
CN110716739B (en) | Code change information statistical method, system and readable storage medium | |
JP2017532690A (en) | Method and apparatus for removing duplicate web pages | |
CN106681979A (en) | Article layout method and device, programmable device and article publishing platform | |
CN106682533A (en) | Method for modifying record trace contents in electronic experimental records | |
CN101452468A (en) | Method and system for providing conversation dictionary services based on user created dialog data | |
CN104714957A (en) | List structure changing method and device | |
CN109213977A (en) | The generation system of court's trial notes | |
MY139879A (en) | Recording medium, editing method and editing apparatus | |
Mauchly | Preparation of problems for EDVAC-type machines | |
EP2083567A3 (en) | Recording apparatus and recording method | |
CN102339318A (en) | File system management method and system | |
CN106528516A (en) | Method for establishing analysis report | |
CN101833608A (en) | Processing method and device of PCB (Printed Circuit Board) data | |
CN106933546A (en) | Device, method and apparatus for supporting the power system file of at least two versions | |
CN102193873A (en) | Method for quickly reading and writing mass data files | |
CN111563065B (en) | Document storage method and device and computer readable storage medium | |
CN105354177A (en) | Data processing system and data processing method | |
CN100377591C (en) | A Method of Improving the Efficiency of Automatic Playout Process | |
CN101661277B (en) | Part processing method and device used for numerical control machine | |
CN103714179A (en) | Multi-language supporting method and system for system blog | |
CN103617250B (en) | File management method and file format system based on optical storage array | |
JP4477531B2 (en) | Data import method and data import apparatus | |
CN100527138C (en) | Method and apparatus for generating simulation example of integrated circuit element |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170707 |