CN105677522B - Network system data-interface method of calibration - Google Patents
Network system data-interface method of calibration Download PDFInfo
- Publication number
- CN105677522B CN105677522B CN201511031343.5A CN201511031343A CN105677522B CN 105677522 B CN105677522 B CN 105677522B CN 201511031343 A CN201511031343 A CN 201511031343A CN 105677522 B CN105677522 B CN 105677522B
- Authority
- CN
- China
- Prior art keywords
- data
- interface
- verification
- consistent
- resource
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012795 verification Methods 0.000 claims abstract description 166
- 239000004744 fabric Substances 0.000 claims abstract description 47
- 238000013523 data management Methods 0.000 claims abstract description 25
- 238000001514 detection method Methods 0.000 claims abstract description 10
- 230000001360 synchronised effect Effects 0.000 claims description 14
- 238000013507 mapping Methods 0.000 claims description 4
- 238000007726 management method Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 9
- 230000018109 developmental process Effects 0.000 abstract description 9
- 230000033772 system development Effects 0.000 abstract description 7
- 241001633942 Dais Species 0.000 description 57
- 238000012360 testing method Methods 0.000 description 32
- 238000013499 data model Methods 0.000 description 15
- 230000005856 abnormality Effects 0.000 description 11
- 230000002776 aggregation Effects 0.000 description 11
- 238000004220 aggregation Methods 0.000 description 11
- 238000003780 insertion Methods 0.000 description 11
- 230000037431 insertion Effects 0.000 description 11
- 238000002372 labelling Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000013479 data entry Methods 0.000 description 4
- 230000002123 temporal effect Effects 0.000 description 4
- 241001269238 Data Species 0.000 description 3
- 238000010200 validation analysis Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000013524 data verification Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Debugging And Monitoring (AREA)
Abstract
Network system data-interface method of calibration provided by the invention, including, common data Fabric Interface is examined: being verified including the verification of resource ID service function, the verification of resource query service function, Event Service function;And the operation interface of time series data management and access is verified: consistent property degree of support function being verified including detection system, Data Read Function verifies, then judge whether the common data Fabric Interface is consistent, judge whether the operation interface of the time series data management and access is consistent, if the two is all consistent, the power grid standardized data Fabric Interface is consistent;Otherwise the power grid standardized data Fabric Interface is inconsistent, needs to debug again.Method provided by the present invention is verified according to the method for first verifying most basic function, and data exchange interface can efficiently and be comprehensively verified during system development, is improved the development efficiency of system, is economized on resources, reduces development cost.
Description
The application is the divisional application of patent of invention 201410613766.7.
Technical field
The present invention relates to a kind of network system standardized data Fabric Interface consistency desired result methods, belong to data transmission skill
Art field.
Background technique
The different of distribution network system carry out data exchange, it is necessary to the interface IEC61970GID of unified standard are followed, to reach
Required expense and time when increasing new opplication to system are reduced, the investment for the existing application effectively used is protected.
International Power association IEC formulate IEC61970 define general-purpose interface definition (Generic Interface Definition,
Abbreviation GID), GID provides a set of API accessed for application of software data and information is exchanged with other application.By using
GID, system integration person or software developer can construct different component softwares, to avoid that software must be developed more to meet
The programming model to conflict when kind interface connection.GID solves the sharing problem of systematic difference and data resource, particularly with that
Data interaction between a little more close core business of coupling, the significantly Technical Architecture of optimization system, fundamentally solve data
The performance bottleneck problem of service and data exchange.
Currently, many systems are fully according to 61970 GID standard implementation of IEC, for example, some interfaces realization with
Inconsistent as defined in GID, the standardization for affecting system is realized, is caused for the not Seamless integration- of homologous ray and interoperability certain
Difficulty, this largely weakens the automated process of distribution network system.Therefore, it then follows the system of 61970 standard of IEC
If really realizing application integration, the consistency desired result of standard need to be carried out, accurate and effective method of calibration is to realize application integrating
Basic step and fundamental measure, debugging repeatedly is especially needed in programming process, influences the development efficiency of system, wave
Time-consuming, resource and maintenance operation cost, lacking can realize that network system data exchange interface is consistent in the prior art comprehensively
Property method of calibration or system.
Summary of the invention
For this purpose, technical problem to be solved by the present invention lies in can not realize network system data exchange interface comprehensively
Consistency desired result method, thus provide one kind can it is accurate, comprehensively to network system standardized data Fabric Interface consistency
Method of calibration and its system.
In order to solve the above technical problems, technical scheme is as follows:
A kind of network system standardized data Fabric Interface consistency desired result method, comprising:
Common data Fabric Interface is examined: including being verified to the verification of resource ID service function, resource query service function,
The verification of Event Service function;
Operation interface verification to time series data management and access: journey is supported to consistent property including detection system
Spend function verification, Data Read Function verification;
Judge whether the common data Fabric Interface is consistent, judges the operation of the time series data management and access
Whether interface is consistent, if the two is all consistent, the power grid standardized data Fabric Interface is consistent;Otherwise the power grid standardization
Data exchange interface is inconsistent, needs to debug again.
The common data Fabric Interface verification further include: the verification of positioning service function, and/or agency service function school
It tests.
The operation interface verification for carrying out time series data management and access further include: the verification of data renewal function,
And/or the verification of entry attributes function reading, and/or labelling function verify, and/or data playback function verifies, and/or data pair
As the verification of discovery function, and/or data model discovery function verification, and/or temporal data model discovery function verification.
The resource ID service function verification is whether unanimously to carry out school to the mapping relations between resource ID and resource URI
It tests;
Resource query service function verification is the Property ID according to resource ID and accordingly required to look up and corresponding pass
Whether consistent with real resources description system, inquire corresponding resource description;
The Event Service function verification is the interface to corresponding with service supplier and the letter for obtaining current service event
Breath is verified, and whether the event description provided according to the interface of the current service event of acquisition and the corresponding with service supplier
Unanimously, the interface of the corresponding with service supplier refers to the various functions interface that system provides.
The system to consistent property degree of support function verification be judgement system carry out time series data management with
Whether the interface that the operation of access is supported is consistent;
The Data Read Function verification includes synchronous data interface verification and asynchronous data interface verification.
The positioning service function verification includes obtaining resource query clothes by providing the query service function of resource object
Business object is verified, and is verified, is passed through by providing inquiry specific resources service function acquisition resource mark service object
Event query service function acquisition service object is provided to verify;
The agency service function verification is to resource ID service function verification or the resource query service function
Verification or Event Service function verification or positioning service function verification are verified one time in a manner of acting on behalf of.
Data renewal function verification to the insertion of master data, replacement, insertion and is replaced in the way of reading
And delete operation is verified;
The entry attributes function reading verification is the data entry attribute and truthful data entry attributes number that judgement returns
According to whether consistent;
The labelling function verification is to be verified in the way of reading to the insertion of mark and replacement operation;
The data playback function verification is to judge whether playback of data exception occurs;
The data object discovery function verification is judgement return for browsing the interface of node, query entries interface, changing
Whether supported for device, each aggregation operator;
The data model discovery function verification is the lookup and calling for judging whether to support data model;
The temporal data model discovery function verification is to judge whether to support browsing historical models data.
The synchronous data interface verification is identical with asynchronous data interface method of calibration, comprising:
Read master data, the historical data of designated time period and cluster operation data;
The item of the master data, the historical data of the designated time period and the cluster operation data is read in judgement
Mesh number whether be more than it is maximum return to entry number, if being more than the maximum entry number it is inconsistent otherwise;
The item of the master data, the historical data of the designated time period and the cluster operation data is read in judgement
Entry of the mesh with the presence or absence of mistake.
Synchronous data interface verification and asynchronous data interface method of calibration further include judging the master data and true
Whether real data consistent, the master data include designated time period, specified time interval, specified quantity historical data and return
Return the historical data met the requirements.
The interface returned for browsing node includes returning for browsing nodal analysis method interface, returning for browse member
Mesh interface is returned for browsing attribute interface, returning for browsing style interface, returning for browsing aggregation operator interface, returning
It is back to browsing items attribute interface;
The query entries interface includes description, the root that sub- entry is inquired for the description of query entries, according to father's entry
According to the description of type queries entry, the path according to ID query entries and the ID according to path query entry.
The above technical solution of the present invention has the following advantages over the prior art:
(1) network system standardized data Fabric Interface consistency desired result method provided by the invention, comprising steps of to public affairs
Data exchange interface is examined altogether: including the verification of resource ID resource service function, the verification of resource query service function, Event Service letter
Number verification;And the operation interface of time series data management and access is verified: including detection system to consistent property branch
Degree function verification, Data Read Function verification are held, then judges whether the common data Fabric Interface is consistent, described in judgement
Whether the operation interface of time series data management and access is consistent, if the two is all consistent, the power grid standardized data is handed over
Alias is consistent;Otherwise the power grid standardized data Fabric Interface is inconsistent, needs to debug again.Side provided by the present invention
Method is verified according to the method for first verifying most basic function, can efficiently and comprehensively be verified during system development
Data exchange interface improves the development efficiency of system, economizes on resources, reduces development cost.
(2) network system standardized data Fabric Interface consistency desired result method provided by the invention, when carrying out described
Between the operation interface of sequence data management and access verify when, need to call the common data Fabric Interface, it is therefore, right first
The common data Fabric Interface is verified, it is ensured that again to the time series number after the common data Fabric Interface is correct
The problem of being verified according to the operation interface of management and access, being easy removal system development process, so that system is opened
Hair efficiency at least improves twice or more.
(3) network system standardized data Fabric Interface consistency desired result method provided by the invention, in system development
Inevitably will appear mistake in the process, this programme can carry out full validation to each excuse, can be gone out with Direct Recognition it is specific which connect
There are problems for mouth, are convenient for debugging, further improve the development efficiency of system.
(4) network system standardized data Fabric Interface consistency desired result method provided by the invention, to basic interface
Further extension function can be verified while verification, each verification interface can be set according to the demand of user,
It is flexible and convenient to use, it can operate stronger, meet the needs of different user.
(5) network system standardized data Fabric Interface consistency desired result method provided by the invention, the system is to rule
Model consistency degree of support function is verified, and the interface supported the operation of the time series data management and access is simultaneous
The verification that capacitive carries out, improves the compatibility of network system, is exchanged by the network system standardized data that this programme verifies
Interface intercommunity is more preferable.
(6) network system standardized data Fabric Interface consistency desired result method provided by the invention, also to network system
Standardized data operations and data model etc. are verified, and can realize that quickly various functions operate normally in the debugging stage.
Detailed description of the invention
In order to make the content of the present invention more clearly understood, it below according to specific embodiments of the present invention and combines
Attached drawing, the present invention is described in further detail, wherein
Fig. 1 is a kind of network system standardized data Fabric Interface consistency desired result method stream of one embodiment of the invention
Cheng Tu;
Fig. 2 is in a kind of network system standardized data Fabric Interface consistency desired result method of one embodiment of the invention
Common data Fabric Interface verifies schematic diagram;
Fig. 3 is in a kind of network system standardized data Fabric Interface consistency desired result method of one embodiment of the invention
The operation interface of time series data management and access verifies schematic diagram.
Specific embodiment
Embodiment one
The present embodiment provides a kind of network system standardized data Fabric Interface consistency desired result methods, and flow chart is as schemed
Shown in 1, comprising:
First, common data Fabric Interface is examined: including to the verification of resource ID service function, resource query service function
Verification, the verification of Event Service function.The resource ID service function verification is to the mapping relations between resource ID and resource URI
Whether unanimously verified;Resource query service function verification be the Property ID that according to resource ID and accordingly requires to look up with
Whether consistent with real resources description corresponding relationship inquires corresponding resource description.
The Event Service function verification is the interface to corresponding with service supplier and the letter for obtaining current service event
Breath is verified, and whether the event description provided according to the interface of the current service event of acquisition and the corresponding with service supplier
Unanimously, the interface of the corresponding with service supplier refers to the various functions interface that system provides.
Second, the operation interface of time series data management and access is verified: including detection system to consistent property
The verification of degree of support function, Data Read Function verification.The system is judgement to the verification of consistent property degree of support function
Whether the interface that the operation of system progress time series data management and access is supported is consistent;The Data Read Function verification
Including synchronous data interface verification and asynchronous data interface verification.
Finally, judging whether the common data Fabric Interface is consistent, the time series data management and access are judged
Operation interface it is whether consistent, if the two is all consistent, the power grid standardized data Fabric Interface is consistent;Otherwise the power grid
Standardized data Fabric Interface is inconsistent, needs to debug again.
Method provided by the present embodiment is verified according to the method for first verifying most basic function, described in progress
When the operation interface of time series data management and access verifies, need to call the common data Fabric Interface, therefore, first
The common data Fabric Interface is verified, it is ensured that again to the time series after the common data Fabric Interface is correct
The problem of operation interface of data management and access is verified, and removal system development process is easy, so that system
Development efficiency at least improves twice or more, can efficiently and comprehensively verify data exchange interface, improves development efficiency, the section of system
About resource, reduction development cost.
Embodiment two
The present embodiment provides a kind of network system standardized data Fabric Interface consistency desired result methods, with one phase of embodiment
Than, it is possible to provide the method for calibration of more multiplex roles.
The common data Fabric Interface verification further include: the verification of positioning service function, and/or agency service function school
It tests.The positioning service function verification includes obtaining resource query service object by providing the query service function of resource object
It is verified, is verified by providing inquiry specific resources service function acquisition resource mark service object, pass through and thing is provided
Part query service function obtains service object and verifies;The agency service function verification is to the resource ID resource service
Function verification or resource query service function verification or Event Service function verification or the positioning service function
Verification is verified one time in a manner of acting on behalf of.
In other examples, school can be carried out according to network system standardized data interface additional function interface when verification
It tests, meets the verification demand of not homologous ray.Its agency service can verify each interface with agent way, and what it is for power grid is
Systemization service provider is just.
The operation interface verification for carrying out time series data management and access further include: the verification of data renewal function,
And/or the verification of entry attributes function reading, and/or labelling function verify, and/or data playback function verifies, and/or data pair
As the verification of discovery function, and/or data model discovery function verification, and/or temporal data model discovery function verification.It is described into
The verification of the operation interface of the management of row time series data and access can also verify above one or more functions, to meet
The demand of power grid standardized data Fabric Interface.
It in other examples can be according to being chosen the quantity of network system standardized data Fabric Interface and is arranged
Carry out the quantity of the verification function of the operation interface verification of time series data management and access.
Data renewal function verification to the insertion of master data, replacement, insertion and is replaced in the way of reading
And delete operation is verified;The entry attributes function reading verification is the data entry attribute and truthful data that judgement returns
Whether entry attributes data are consistent;Labelling function verification be in the way of reading to the insertion of mark and replacement operation into
Row verification;The data playback function verification is to judge whether playback of data exception occurs;The data object finds function school
Test is to judge to return for browsing whether interface, query entries interface, iterator, each aggregation operator of node are supported;It is described
Data model discovery function verification is the lookup and calling for judging whether to support data model;The temporal data model finds letter
Number verification is to judge whether to support browsing historical models data.
The synchronous data interface verification is identical with asynchronous data interface method of calibration, comprising: reads master data, specifies
The historical data and cluster operation data of period;The history number of the master data, the designated time period is read in judgement
Accordingly and whether the entry number of the cluster operation data is more than maximum return entry number, if being more than the maximum entry number not
Unanimously otherwise;The master data, the historical data of the designated time period and the cluster operation data are read in judgement
Entry of the entry with the presence or absence of mistake.
As a preferred embodiment, the synchronous data interface verification and asynchronous data interface method of calibration further include judging institute
It is whether consistent with truthful data to state master data, the master data includes designated time period, specified time interval, specified quantity
Historical data and the historical data that meets the requirements of return.
The interface returned for browsing node includes returning for browsing nodal analysis method interface, returning for browse member
Mesh interface is returned for browsing attribute interface, returning for browsing style interface, returning for browsing aggregation operator interface, returning
It is back to browsing items attribute interface;The query entries interface includes inquiring for the description of query entries, according to father's entry
The description of sub- entry, the description according to type queries entry, the path according to ID query entries and according to path query entry
ID。
Network system standardized data Fabric Interface consistency desired result method provided in this embodiment, in the mistake of system development
It inevitably will appear mistake in journey, this programme can carry out full validation to each excuse, which specific interface can be gone out with Direct Recognition
There are problems to further improve the development efficiency of system convenient for debugging., can be into while being verified to basic interface
One step verifies extension function, and each verification interface can be arranged according to the demand of user, flexible and convenient to use, can operate
It is stronger, meet the needs of different user.The system verifies consistent property degree of support function, to the time sequence
The verification that the interface compatibility that the operation of column data management and access is supported carries out, improves the compatibility of network system, leads to
The network system standardized data Fabric Interface intercommunity for crossing this programme verification is more preferable.It is also every to network system standardized data
Operation and data model etc. are verified, and can realize that quickly various functions operate normally in the debugging stage.
Embodiment three
It is that (IEC61970 is exchanged to network system standardized data the present embodiment provides a kind of specific Application Example
GID) interface carries out full validation.It can be set according to specific demand in other examples, meet different fields
The demand of conjunction.
1. pair common data Fabric Interface is examined
Common data interface verification is DAF interface check, and the DFA (Data Access Facility) is OMG publication
International standard, it constitutes the main of mutual available public service (Common Service) between software application system
Content, target are the collaborative work abilities of raising system application.DAF is different application for accessing power distribution network common data
Data exchange and sharing between system provides a kind of common application interface or public branch exchange system.
As shown in Fig. 2, being standardized according to DAF, DAF interface check includes for five parts: the verification of resource ID service function, money
The verification of source query service function, the verification of Event Service function, the verification of positioning service function and proxy function verification.Resource ID service
Support get_resource_ids and get_uris method;The method of resource query service support has: obtaining the category of single resource
Property (get_values), obtain the attribute (get_extent_values) of a kind of resource, obtain the attribute (get_ of related resource
Related_values) and obtain derive from resource attribute (get_descendent_values).
The verification of 1.1 resource ID service functions
Resource ID service function is completed by ResourceIDService interface, this interface check resource ID and resource URI
Between mapping, including the following contents:
(1) Get_resource_ids is verified
Get_resource_ids is verified from resource ID to the translation of resource URI.It is verified from the following aspects:
1) abnormality test
The exception of test includes " searching mistake ".
2) normal data is tested
Whether consistent with true resource ID verify the data returned.
3) the URI sequence comprising illegal resource URI is passed to be tested
Whether verification returns to resource ID sequence in this case correct.
(2) Get_uris is verified
Get_uris verifies the translation from resource URI to resource ID.It is verified from the following aspects:
1) abnormality test
The exception of test includes " searching mistake ".
2) normal data is tested
Whether consistent with true resource URI verify the data returned.
3) the ID sequence comprising illegal resource ID is passed to be tested
Whether verification returns to resource URI sequence in this case correct.
The verification of 1.2 resource query service functions
Resource ID service is completed by ResourceQueryService interface, verifies this interface, verifies the description of resource.
It includes following verification:
(1) Get_values is verified
The Property ID that Get_values verification is required to look up according to a resource ID and accordingly, inquires corresponding resource and retouches
It states.It is verified from the following aspects:
1) abnormality test
The exception of test includes " inquiry error ", " unidentified resource ID ".
2) normal data is tested
Whether consistent with true resource description verify the data returned.
3) it is passed to and is tested comprising illegal Property ID row
Whether verification returns to resource description sequence in this case correct.
(2) Get_extent_values is verified
The Property ID that Get_extent_values verification is required to look up according to a class ID and accordingly, inquires corresponding money
Source Description.It is verified from the following aspects:
1) abnormality test
The exception of test includes " inquiry error ", " unidentified resource ID ".
2) normal data is tested
Whether consistent with true resource description verify the data returned.
3) it is passed to and is tested comprising illegal Property ID row
Whether verification returns to resource description sequence in this case correct.
(3) Get_related_values is verified
The Property ID and corresponding pass that Get_related_values verification is required to look up according to a resource ID and accordingly
System, inquires corresponding resource description.It is verified from the following aspects:
1) abnormality test
The exception of test includes " inquiry error ", " unidentified resource ID ", " unknown relationship ".
2) normal data is tested
When the inverse for verifying Association is false, whether the data of return are consistent with true resource description.
When the inverse for verifying Association is true, whether the data of return are consistent with true resource description.
3) it is passed to and is tested comprising illegal Property ID row
Whether verification returns to resource description sequence in this case correct.
(4) Get_descendent_values is verified
Property ID that Get_descendent_values verification according to a resource ID sequence and accordingly requires to look up and right
The relationship answered inquires corresponding resource description.It is verified from the following aspects:
1) abnormality test
The exception of test includes " inquiry error ", " unidentified resource ID ".
2) normal data is tested
When verification relational sequence length is 0, whether the data of return are consistent with true resource description.
When verification relational sequence length is 1, whether the data of return are consistent with true resource description.
When verification relational sequence length is 2, whether the data of return are consistent with true resource description.
When verification, the inverse of the Association of relational sequence will test for the case where true and false.
3) it is passed to and is tested comprising illegal Property ID row
Whether verification returns to resource description sequence in this case correct.
4) test includes the association of unknown relation
Whether verification returns to resource description sequence in this case correct.
The verification of 1.3 Event Service functions
Event Service is completed by ResourceEventSource interface, this interface can get corresponding event provider
Interface, moreover it is possible to obtain the version of current service.It includes following verification:
(1) Obtain_push_supplier is verified
Obtain_push_supplier verification obtains corresponding event provider's interface.It is tested from the following aspects:
1) abnormality test
Whether detected interface is empty.
2) normal data is tested
Whether verification can normally obtain the variation of resource, and the variation obtained is correct.These change include addition,
It deletes, editor.
(2) Current_version is verified
Current_version verification obtains the version of resource.It is verified from the following aspects:
1) version is obtained
After server starting, version can be correctly obtained.
2) version after being changed
After model changes, whether version also changes for verification.
The verification of 1.4 positioning service functions
Positioning service includes following verification content:
(1) verification obtains resource query service object by name " resource_query_service ".
(2) verification obtains resource identification (ID) service object by name " resource_id_service ".
(3) verification obtains Event Service object by name " resource_event_source ".
The verification of 1.5 agency service functions
The verification of agency service is positioning service, Event Service, resource query service, resource ID service, with agency's
Mode verifies one time, see can meet it is claimed below:
(1) agency service must be to the presence of the multiple data sources of client hidden, the one of number of client operation
According to the context in source and the context of the multiple data sources of operation without what difference.
(2) agency service must be loaded into the configuration information of proxied data source, it is known which number proxied service provides
According to.Client is not necessarily to perceive the detailed configuration of multi-data source.
(3) agency service not can increase interface, his performer's resource lookup service, resource ID service, resource event source clothes
The role at the client and server end of business.
(4) a unified data context must be presented to client in agency service.It is combined with each proxied number
According to source.One of client inquires the available data that must return to all requests.These data, just and client passes through inquiry
Proxied data source is the same.
(5) agency service is that agents query may realize various strategies, various optimizations, and these data are transferred to visitor
Family end.
The second, the operation interface of time series data management and access is verified
The operation interface verification to time series data management and access is HDAIS interface check, and HDAIS is OMG
The international standard of publication, HDAIS interface define a series of operation interfaces for time series data management and access, so that
Each application program can generate and use these historical datas in the system of obtaining.The interface can provide going through based on time series
History data access or service, such as one day, one week or longer time.A typical applicating history in power distribution network service application
The example of data is load prediction, realizes that load forecast need to be according to the variation tendency of historical data.HDAIS provides a kind of visit
The standardized mechanism of historical data is asked, so that there is no data acquisitions for the various application function exploitations based on historical data
Obstacle.
Pass through the historical data service part of HDAIS interface check IEC61970 GID.HDAIS interface service realizes clock synchronization
The access of ordinal number evidence, service provide four kinds of major type of interface objects: server and client side's object, connecting interface, model
Browse object and data access object.
Server and client side's object has: DAIS::HDA::Server, DAIS::HDA::Session and DAIS::
HDA::Callback。
Interface DAIS::HDA::Connection for connection is realized by DAIS::HDA::Session.
Browsing object DAIS::HDA::Browse::IHome is the set of each specific data type browsing object, by it
To create the browsing object of each specific data type;It is created in DAIS::HDA::Session, and when creation can be designated
One fiducial time.Specific model browsing object has following:
DAIS::HDA::Node::IHome is for browsing node (Nodes).
DAIS::HDA::Item::IHome is for browsing historical data entry.
For DAIS::Type::IHome for browsing node type (Type), this is identical as the definition in DAIS specification.
DAIS::Property::IHome is for browsing node type attribute (Property), during this is standardized with DAIS
It defines identical.
DAIS::HDA::ItemAttribute::IHome is used to browse the attribute of historical data.
DAIS::HDA::Aggregate::IHome is for browsing aggregation operator (aggregate calculations).
Interface for accessing various types data is as follows:
DAIS::HDA::ValueIO::IHome is used for access history data.
DAIS::HDA::ModifiedValue::IHome is for accessing the historical data being modified.
DAIS::HDA::ItemAttributeIO::IHome is used for attribute (Attribute) value of access history data.
DAIS::HDA::AnnotationIO::IHome is used for the markup information of access history data.
The access module of three kinds of historical datas of TSDA service support: synchrodata read-write passes through DAIS::HDA::
ValueIO::SyncRead interface and DAIS::HDA::ValueIO::SyncUpdate interface are realized;Asynchronous data read-write, leads to
It crosses DAIS::HDA::ValueIO::AsyncRead interface and DAIS::HDA::ValueIO::AsyncUpdate interface and connects
The DAIS::HDA::ValueIO::Callback interface that mouth client provides is realized;Replay mode (PlayBack).Pass through
The DAIS::HDA::ValueIO: that DAIS::HDA::ValueIO::PlayBack interface and interface-client provide:
PlaybackCallback interface is realized.
The content that HDAIS interface need to verify is as shown in Figure 3.Wherein, consistency desired result is a most basic verification content,
For detection system to the degree of support of consistent property, to determine which verification carried out below.In addition to consistency desired result
Outside, the coherence request standardized according to HDAIS, HDAIS interface are divided into 8 modules;Simultaneously according to the either synchronously or asynchronously special of interface
Property, 8 inside modules of check system are divided into synchronism detection and asynchronous test again.And not all verification all has same pacing simultaneously
Examination and asynchronous test.If data playback verification only has asynchronous test, and data object discovery verification then only has synchronism detection.
2.1 detection systems verify consistent property degree of support function
For detection system to the degree of support of consistent property.By in DAIS::HDA::Session
HDAISupportedFunction interface, which the HDAIS interface for checking that verified system is supported has, then according to following
Content in step verifies the HDAIS interface supported.
For verified system, consistency desired result (verification HDAISupportedFunction) and synchrodata are read
Verification (verification DAIS::HDA::ValueIO::SyncRead) is taken to must pass through, other verification contents are optional.
The verification of 2.2 Data Read Functions
Reading data with lower interface by being completed:
It is synchronous: DAIS::HDA::ValueIO::SyncRead
It is asynchronous: DAIS::HDA::ValueIO::AsyncRead and DAIS::HDA::ValueIO::Callback.
It is synchronous and asynchronous all including following verification:
(1) Read_raw is verified
Read_raw verifies the reading to master data.It is verified from the following aspects:
1) abnormality test
The exception of test include be more than maximum return entry,.
2) normal data
Verify whether the data returned are consistent with true data, and whether the reading for verifying boundary value is correct, verification is specified
The case where being later than end time time started period.
3) there is the entry of mistake
Including no permission, invalid handle, invalid data interval, there are also more data, this section no datas.
(2) Read_processed is verified
Aggregation operator is verified, comprising: interpolation, the time is average, summation, average, number, inequality, variance, minimum value
And the time being worth, minimum value, maximum value and the time being worth, maximum value, initial value, end value, begin poor, optimum value eventually, when being worth well
Long, bad value duration, codomain, value rate, bad value rate, worst quality mark number etc. well.
Reading of the Read_proceed verification to processing data.It is verified from the following aspects:
1) abnormality test
The exception of test is including being more than maximum return entry.
2) normal data
It whether consistent with the data really obtained by aggregation operator verifies the data returned, verifies the specified time
The case where section time started is later than the end time.
3) there is the entry of mistake
Including no permission, invalid handle, invalid data interval, aggregation operator is not available, and there are also more numbers
According to this section no data.
(3) Read_at_time is verified
Read_at_time verifies the reading to specified time point data.It is verified from the following aspects:
1) normal data
Whether consistent with true data verify the data returned.
2) there is the entry of mistake
Including no permission, invalid handle, invalid data interval.
The verification of 2.3 data renewal functions
The update of data with lower interface by being completed:
It is synchronous: DAIS::HDA:ValueIO::SyncUpdate and DAIS::HDA:ModifiedValueIO::Sync
It is asynchronous: DAIS::HDA::ValueIO::AsyncUpdate, DAIS::HDA::ValueIO::Callback,
DAIS::HDA::ModifiedValueIO::Async and DAIS::HDA::ModifiedValueIO::Callback
It is synchronous and asynchronous including following verification:
1) Insert is verified
Insert verifies the insertion to master data.It is verified from the following aspects:
1) normal data
Check that data are whether correct insertion can be verified with reading correctly through being inserted into target.
2) there is the entry of mistake
Including no permission, invalid handle, data are had existed.
(2) Replace is verified
Replace verifies the replacement to master data.It is verified from the following aspects:
1) normal data
It checks whether data correctly replace target, whether correct replacement can be verified with reading.
2) there is the entry of mistake
Including no permission, invalid handle, data are not present.
(3) Insert_replace is verified
Insertion and replacement of the Insert_replace verification to master data.It is verified from the following aspects:
1) normal data
It checks whether data correctly replace target, checks whether data are inserted into target, can be with reading to verify replacement
It is no correct.
2) there is the entry of mistake
Including no permission, invalid handle.
(4) Delete_raw is verified
The data of some specified time interval are deleted in Delete_raw verification.It is verified from the following aspects:
1) normal to delete
It checks whether data correctly delete, it is whether correct that replacement can be verified with the reading of step.
2) there is the entry of mistake
Including no permission, invalid handle.
(5) Delete_at_time is verified
The data of certain specified time points are deleted in Delete_at_time verification.It is verified from the following aspects:
1) normal to delete
Check whether data correctly delete, it is to delete not more, also do not delete less.Replacement can be verified with the reading of step is
It is no correct.
2) there is the entry of mistake
Including no permission, invalid handle.
The verification of 2.4 entry attributes function readings
Entry attributes are read by being completed with lower interface:
It is synchronous: DAIS::HDA::ItemAttributeIO::Sync and DAIS::HDA::ItemAttribute::
IHome
It is asynchronous: DAIS::HDA::ItemAttributeIO::Async, DAIS::HDA::ItemAttributeIO::
Callback、DAIS::HDA::ItemAttribute::IHome。
(1) Read_attribute is verified
Read_attribute verifies the reading to entry attributes.It is verified from the following aspects:
1) normal data
The case where the case where verifying whether the data returned are consistent with true data, verifying entry, verification data.
2) there is the entry of mistake
Including no permission, invalid handle, this section no data.
The verification of 2.5 labelling functions
Mark read-write with lower interface by being completed:
It is synchronous: DAIS::HDA::ItemAttributeIO::Sync and DAIS::HDA::ItemAttribute::
IHome
It is asynchronous: DAIS::HDA::ItemAttributeIO::Async, DAIS::HDA::ItemAttributeIO::
Callback。
(1) Read is verified
Read verifies the reading marked to entry.It is verified from the following aspects:
1) normal data
Whether consistent with true situation verify the data returned.
2) there is the entry of mistake
Including no permission, invalid handle, invalid data interval, this section no data.
(2) Insert is verified
Insert verifies the insertion marked to entry.It is verified from the following aspects:
1) normal data
Whether the data for verifying insertion are consistent with true situation.It can be verified with Read.
2) there is the entry of mistake
Including no permission, invalid handle, this section no data.
The verification of 2.6 data playback functions
Data playback passes through asynchronous interface: DAIS::HDA::ValueIO::Playback and DAIS::HDA::
ValueIO::PlaybackCallback is completed.
(1) Play_raw_with_update is verified
Play_raw_with_update verifies the playback to master data.It is verified from the following aspects:
1) abnormality test
The exception of test include be more than maximum return entry,.
2) normal data
It whether consistent with true data verifies the data returned, verifies the playback of different interval, verify the specified time
The case where section time started is later than the end time.
3) there is the entry of mistake
Including no permission, invalid handle.
(2) Play_processed_with_update is verified
Playback of the Play_processed_with_update verification to the data by aggregation operator.From following side
Face verification:
1) abnormality test
The exception of test include be more than maximum return entry,.
2) normal data
It whether consistent with the data handled by aggregation operator verifies the data returned, verifies the playback of different interval, school
The case where testing specified time started period and be later than the end time.
3) there is the entry of mistake
Including no permission, invalid handle.
2.7 data objects find function verification
Data object is found by being completed with lower interface: DAIS::HDA::Browse, DAIS::HDA::Browse::
Node::IHome, DAIS::HDA::Browse::Item::IHome and DAIS::HDA::Browse::Aggregate::
IHome。
(1) verify node_home, item_home of DAIS::HDA::Browse::IHome, property_home,
Whether type_home, aggregate_home, item_attribute_home return to sky, judge whether to support various functions.
(2) find, find_by_parent, find_by_ of DAIS::HDA::Browse::Item::IHome are verified
The support situation of type, get_pathnames, get_ids.
(3) the support situation to Iterator (iterator) is verified.
(4) the support situation to each aggregation operator is verified.
2.8 data models find function verification
Data model is found by being completed with lower interface: DAIS::Type::IHome and DAIS::Property::
IHome。
Whether verification supports data model to find.
The verification of 2.9 historical data object discovery functions
Historical data object with lower interface by being completed: DAIS::HDA::Browse::IHome::browse_base_
time。
The return value for verifying this attribute sees whether support Browse interface.
Finally, judging whether the common data Fabric Interface is consistent, the time series data management and access are judged
Operation interface it is whether consistent, if the two is all consistent, the power grid standardized data Fabric Interface is consistent;Otherwise the power grid
Standardized data Fabric Interface is inconsistent, needs to debug again.
Obviously, the above embodiments are merely examples for clarifying the description, and does not limit the embodiments.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or
It changes.There is no necessity and possibility to exhaust all the enbodiments.And it is extended from this it is obvious variation or
It changes still within the protection scope of the invention.
Claims (3)
1. a kind of network system data-interface method of calibration characterized by comprising
Common data Fabric Interface is examined: including to the verification of resource ID service function, the verification of resource query service function, event
Service function verification;Wherein, resource ID service function verification be to the mapping relations between resource ID and resource URI whether
Unanimously verified;Resource query service function verification is the Property ID according to resource ID and accordingly required to look up and correspondence
Relationship, whether consistent with real resources description inquire corresponding resource description;The Event Service function verification is to correspondence
The interface of ISP and the information for obtaining current service event verify, according to the current service event of acquisition and institute
Whether the event description for stating the interface offer of corresponding with service supplier is consistent, and the interface of the corresponding with service supplier refers to system
The various functions interface of offer;
Operation interface verification to time series data management and access: including detection system to consistent property degree of support letter
Number verification, Data Read Function verification;Wherein, the system to the verification of consistent property degree of support function be judgement system into
Whether the interface that the operation of the management of row time series data and access is supported is consistent;The Data Read Function verification includes same
Step data interface check and asynchronous data interface verification;
Judge whether the common data Fabric Interface is consistent, judges the operation interface of the time series data management and access
Whether consistent, if the two is all consistent, power grid standardized data Fabric Interface is consistent;Otherwise the power grid standardized data exchange
Interface is inconsistent, needs to debug again.
2. the method according to claim 1, wherein synchronous data interface verification and asynchronous data interface school
Proved recipe method is identical, comprising:
Read master data, the historical data of designated time period and cluster operation data;
The entry number of the master data, the historical data of the designated time period and the cluster operation data is read in judgement
Whether be more than it is maximum return to entry number, if being more than the maximum entry number it is inconsistent otherwise;
Judging the entry for reading the master data, the historical data of the designated time period and the cluster operation data is
The no entry that there is mistake.
3. according to the method described in claim 2, it is characterized in that, synchronous data interface verification and asynchronous data interface school
Proved recipe method further includes judging whether the master data is consistent with truthful data, and the master data includes designated time period, refers to
It fixes time the historical data that interval, the historical data of specified quantity and return meet the requirements.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511031343.5A CN105677522B (en) | 2014-11-04 | 2014-11-04 | Network system data-interface method of calibration |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511031343.5A CN105677522B (en) | 2014-11-04 | 2014-11-04 | Network system data-interface method of calibration |
CN201410613766.7A CN104503735B (en) | 2014-11-04 | 2014-11-04 | A kind of network system standardized data Fabric Interface consistency desired result method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410613766.7A Division CN104503735B (en) | 2014-11-04 | 2014-11-04 | A kind of network system standardized data Fabric Interface consistency desired result method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105677522A CN105677522A (en) | 2016-06-15 |
CN105677522B true CN105677522B (en) | 2019-06-28 |
Family
ID=56298462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511031343.5A Expired - Fee Related CN105677522B (en) | 2014-11-04 | 2014-11-04 | Network system data-interface method of calibration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105677522B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115442232B (en) * | 2022-08-09 | 2023-07-25 | 中通服创立信息科技有限责任公司 | CDN distributed management platform interface monitoring method and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5833743A (en) * | 1981-08-25 | 1983-02-28 | Nec Home Electronics Ltd | Interface check device for computer |
JP2000181942A (en) * | 1998-12-11 | 2000-06-30 | Nec Corp | Automatic i/o buffer operation power source check system |
CN102184209A (en) * | 2011-04-29 | 2011-09-14 | 中国电力科学研究院 | Simulation data accessing method based on power grid CIM (Common Information Model) interface |
CN102663094A (en) * | 2012-04-10 | 2012-09-12 | 国电南瑞科技股份有限公司 | IEC61970CIM model checking method |
CN103577938A (en) * | 2013-11-15 | 2014-02-12 | 国家电网公司 | Power grid dispatching automation main-and-standby system model synchronizing method and synchronizing system thereof |
CN103745276A (en) * | 2014-01-16 | 2014-04-23 | 国网山东省电力公司青岛供电公司 | Distribution network operating state analysis method for grid |
CN103778212A (en) * | 2014-01-16 | 2014-05-07 | 国网山东省电力公司青岛供电公司 | Data node-based parallel massive data processing method |
CN103901778A (en) * | 2014-03-18 | 2014-07-02 | 国网四川省电力公司宜宾供电公司 | On-line simulation method for power grid reactive voltage control system |
-
2014
- 2014-11-04 CN CN201511031343.5A patent/CN105677522B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5833743A (en) * | 1981-08-25 | 1983-02-28 | Nec Home Electronics Ltd | Interface check device for computer |
JP2000181942A (en) * | 1998-12-11 | 2000-06-30 | Nec Corp | Automatic i/o buffer operation power source check system |
CN102184209A (en) * | 2011-04-29 | 2011-09-14 | 中国电力科学研究院 | Simulation data accessing method based on power grid CIM (Common Information Model) interface |
CN102663094A (en) * | 2012-04-10 | 2012-09-12 | 国电南瑞科技股份有限公司 | IEC61970CIM model checking method |
CN103577938A (en) * | 2013-11-15 | 2014-02-12 | 国家电网公司 | Power grid dispatching automation main-and-standby system model synchronizing method and synchronizing system thereof |
CN103745276A (en) * | 2014-01-16 | 2014-04-23 | 国网山东省电力公司青岛供电公司 | Distribution network operating state analysis method for grid |
CN103778212A (en) * | 2014-01-16 | 2014-05-07 | 国网山东省电力公司青岛供电公司 | Data node-based parallel massive data processing method |
CN103901778A (en) * | 2014-03-18 | 2014-07-02 | 国网四川省电力公司宜宾供电公司 | On-line simulation method for power grid reactive voltage control system |
Also Published As
Publication number | Publication date |
---|---|
CN105677522A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ural et al. | A test sequence selection method for protocol testing | |
CN101980213B (en) | J2EE-based data persistence method and system | |
US7917524B2 (en) | Systems and methods for providing a mockup data generator | |
US6088659A (en) | Automated meter reading system | |
AU750837B2 (en) | Automated meter reading system | |
CN107179984A (en) | A kind of interface mock methods and interface test method | |
US20030229884A1 (en) | Interaction manager template | |
CN101421726A (en) | Occasionally-connected application server | |
JP2011517823A (en) | Query processing visualizing system, method for visualizing query processing, and computer program | |
CN108427550A (en) | A kind of Web service generation method, device and equipment | |
CN110222124A (en) | Multidimensional data processing method and system based on OLAP | |
CN109471791A (en) | A kind of demand response communication consistency testing system and method | |
JP2011525269A (en) | Data management method for collaborative service-oriented workshops | |
CN104503735B (en) | A kind of network system standardized data Fabric Interface consistency desired result method | |
CN105677522B (en) | Network system data-interface method of calibration | |
CN105653485B (en) | A method of examining the consistency of network system standardized data Fabric Interface | |
CN115114325B (en) | Data query method and device, electronic equipment and storage medium | |
Vicente et al. | An RDBMS-only architecture for web applications | |
Guo et al. | ISDP: Interactive software development platform for household appliance testing industry | |
Sheppard et al. | Demonstrating semantic interoperability of diagnostic reasoners via AI-ESTATE | |
CN114710517A (en) | Internet of things data model management system | |
CN110442629A (en) | Big data multicenter isomery daynamic transformation method | |
Kaiser et al. | Smart Engineering for Smart Factories: How OSLC Could Enable Plug & Play Tool Integration. | |
Xia | Extending an open source enterprise service bus for SQL statement transformation to enable cloud data access | |
Linneman | Improving transaction acceptance of incoherent updates using dynamic merging in a relational database |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190628 Termination date: 20191104 |