CN105677522A - Power grid system data interface calibration method - Google Patents

Power grid system data interface calibration method Download PDF

Info

Publication number
CN105677522A
CN105677522A CN201511031343.5A CN201511031343A CN105677522A CN 105677522 A CN105677522 A CN 105677522A CN 201511031343 A CN201511031343 A CN 201511031343A CN 105677522 A CN105677522 A CN 105677522A
Authority
CN
China
Prior art keywords
data
verification
interface
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.)
Granted
Application number
CN201511031343.5A
Other languages
Chinese (zh)
Other versions
CN105677522B (en
Inventor
张宏伟
崔潇
于强
董啸
贾旭
齐蔚海
郭英雷
李延真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Qingdao Power Supply Co of State Grid Shandong Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Qingdao Power Supply Co of State Grid Shandong Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Qingdao Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201511031343.5A priority Critical patent/CN105677522B/en
Priority claimed from CN201410613766.7A external-priority patent/CN104503735B/en
Publication of CN105677522A publication Critical patent/CN105677522A/en
Application granted granted Critical
Publication of CN105677522B publication Critical patent/CN105677522B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection 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/221Detection 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program 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

The invention provides a power grid system data interface calibration method. The power grid system data interface calibration method comprises the steps that common data exchange interfaces are calibrated, wherein a resource ID service function, a resource inquiring service function and an event service function are calibrated; operation interfaces for time sequence data management and access are calibrated, wherein a detecting system is used for calibrating a standard consistency supporting degree function and a data reading function; then, whether the common data exchange interfaces are consistent or not is judged, and whether the operation interfaces for time sequence data management and access are consistent or not is judged; if the common data exchange interfaces are consistent and the operation interfaces for time sequence data management and access are consistent, the power grid standardized data exchange interfaces are consistent; otherwise, the power grid standardized data exchange interfaces are not consistent, and debugging needs to be conducted again. According to the method, calibration is carried out in the method that the most basic functions are calibrated first, and the data exchange interfaces can be efficiently and fully calibrated in the system development process, so that the system development efficiency is improved, resources are saved, and development cost is reduced.

Description

Network system data-interface method of calibration
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 method, belong to technical field of data transmission.
Background technology
The difference of distribution network system carries out data exchange, it is necessary to follow the interface IEC61970GID of unified standard, with reach to reduce to system increase new opplication time required expense and time, protect the investment of the existing application effectively used. The IEC61970 that International Power association IEC formulates defines general-purpose interface definition (GenericInterfaceDefinition is called for short GID), and GID provides a set of for application of software data access and the API with other applications exchange information. By using GID, system integration person or software developer can build different component softwares, thus avoiding have to exploitation software to meet the programming model of conflict when multiple interfaces connects. GID solves the sharing problem of systematic difference and data resource, particularly with the data interaction between the comparatively close core business of those couplings, significantly optimizes the Technical Architecture of system, fundamentally solves data, services and the performance bottleneck problem of data exchange.
At present, many systems are not fully according to IEC61970GID standard implementation, the realization of such as some interface is inconsistent with GID regulation, have impact on the standardization of system to realize, Seamless integration-and interoperability for different system cause certain difficulty, and this weakens the automated process of distribution network system to a great extent. Therefore, if the system following IEC61970 standard really realizes application integration, the consistency desired result of standard need to be carried out, accurate and effective method of calibration is the basic step and the fundamental measure that realize application integrating, particularly in the debugging needed in programming process repeatedly, the development efficiency of influential system, loses time, resource and safeguard operation cost, lacks and can realize network system data exchange interface consistency desired result method or system comprehensively in prior art.
Summary of the invention
For this, the technical problem to be solved is in that do not have can realize network system data exchange interface consistency desired result method comprehensively, thus provide one can accurately, comprehensively to network system standardized data Fabric Interface consistency desired result method and system thereof.
For solving above-mentioned technical problem, technical scheme is as follows:
A kind of network system standardized data Fabric Interface consistency desired result method, including:
Common data Fabric Interface is checked: include the verification of resource ID service function, the verification of resource query service function, the verification of Event Service function;
To time series data management with access operation interface check: include detection system consistent property degree of support function verify, Data Read Function verify;
Judge that whether described common data Fabric Interface is consistent, it is judged that whether the management of described time series data is consistent with the operation interface accessed, if both of which is consistent, then described electrical network standardized data Fabric Interface is consistent; Otherwise described electrical network standardized data Fabric Interface is inconsistent, it is necessary to again debug.
The verification of described common data Fabric Interface also includes: the verification of positioning service function and/or the verification of agency service function.
Described carry out time series data management with access operation interface check also include: data renewal function verification and/or entry attributes function reading verification and/or labelling function verification and/or data playback function verification and/or data object find function verification and/or data model find function verification and/or temporal data model find function verification.
The verification of described resource ID service function is to whether the mapping relations between resource ID and resource URI unanimously verify;
The verification of described resource query service function is the relation according to resource ID and the Property ID required to look up accordingly and correspondence, and whether the resource description of inquiry correspondence describes consistent with real resources;
The information that the verification of described Event Service function is the interface to corresponding with service supplier and acquisition current service event verifies, whether consistent with the event description that the interface of described corresponding with service supplier provides according to the current service event obtained, the interface of described corresponding with service supplier refers to the various functions interface that system provides.
The verification of consistent property degree of support function is whether judge that system carries out time series data management consistent with the interface supported of operation of access by described system;
The verification of described Data Read Function includes synchronous data interface verification and asynchronous data interface verification.
The verification of described positioning service function includes by providing the inquiry service function of resource object acquisition resource query service object to verify, verify by providing inquiry specific resources service function to obtain resource sign service object, verify by providing event query service function to obtain service object;
The verification of described agency service function is to the verification of described resource ID service function or the verification of described resource query service function or described Event Service function verifies or the verification of described positioning service function verifies one time in the way of agency.
The verification of described data renewal function is to utilize the mode read that the insertion of master data, replacement, insertion replacement and deletion action are verified;
The verification of described entry attributes function reading is to judge that whether the Data Entry attribute returned is consistent with truthful data entry attributes data;
The verification of described labelling function is to utilize the mode read that insertion and the replacement operation of mark are verified;
The verification of described data playback function is to judge whether playback of data exception occurs;
Described data object find function verification be judge return for browsing the interface of node, whether query entries interface, iterator, each aggregation operator are supported;
Described data model finds that function verification is to judge whether support the lookup of data model and call;
Described temporal data model finds that function verification is to judge whether to support browsing histories model data.
The verification of described synchronous data interface is identical with asynchronous data interface method of calibration, including:
Read master data, the historical data specifying the time period and cluster operation data;
Judge to read described master data, whether the entry number of the historical data of described appointment time period and described cluster operation data exceedes maximum return entry number, if exceeding described maximum entry number, inconsistent otherwise;
Judge whether the entry reading described master data, the historical data of described appointment time period and described cluster operation data exists wrong entry.
The verification of described synchronous data interface also includes judging that whether described master data is consistent with truthful data with asynchronous data interface method of calibration, and described master data includes specifying the time period, specify interval, the historical data of specified quantity and return the historical data of satisfied requirement.
Described return includes returning for browsing nodal analysis method interface, return for browsing items interface, returning for browsing attribute interface, returning for browsing style interface, returning for browsing aggregation operator interface, returning for browsing items attribute interface for the interface browsing node;
Described query entries interface includes the description for query entries, inquires about the description of sub-entry, the description according to type queries entry, the path according to ID query entries and the ID according to path query entry according to father's entry.
The technique scheme of the present invention has the advantage that compared to existing technology
(1) network system standardized data Fabric Interface consistency desired result method provided by the invention, including step: common data Fabric Interface is checked: include the verification of resource ID resource service function, the verification of resource query service function, the verification of Event Service function; And to time series data management with access operation interface check: include detection system consistent property degree of support function verify, Data Read Function verify, then judge that whether described common data Fabric Interface is consistent, judge that whether the management of described time series data is consistent with the operation interface accessed, if both of which is consistent, then described electrical network standardized data Fabric Interface is consistent; Otherwise described electrical network standardized data Fabric Interface is inconsistent, it is necessary to again debug. Method provided by the present invention is to verify according to the method first verifying most basic function, in the process of system development can efficient and comprehensive checking data Fabric Interface, improve the development efficiency of system, economize on resources, reduce development cost.
(2) network system standardized data Fabric Interface consistency desired result method provided by the invention, when carrying out the management of described time series data with the operation interface check accessed, need to call described common data Fabric Interface, therefore, first described common data Fabric Interface is verified, guarantee that the management of described time series data is verified after correct by described common data Fabric Interface again with the operation interface accessed, Problems existing in easy removal system development process so that the development efficiency of system at least improves more than twice.
(3) network system standardized data Fabric Interface consistency desired result method provided by the invention, the process of system development there will be mistake unavoidably, each excuse can be carried out full validation by this programme, Direct Recognition can go out which interface existing problem concrete, it is easy to debugging, further increases the development efficiency of system.
(4) network system standardized data Fabric Interface consistency desired result method provided by the invention, further expanded function can be verified while basic interface is verified, each verification interface can be set according to the demand of user, flexible and convenient to use, operable higher, meet the demand of different user.
(5) network system standardized data Fabric Interface consistency desired result method provided by the invention, consistent property degree of support function is verified by described system, the verification that the interface compatibility that the management of described time series data and the operation accessed are supported carries out, improve the compatibility of network system, the network system standardized data Fabric Interface intercommunity verified by this programme is better.
(6) network system standardized data Fabric Interface consistency desired result method provided by the invention, also verifies network system standardized data operations and data model etc., can quickly realize various functions in the debugging stage properly functioning.
Accompanying drawing explanation
In order to make present disclosure be more likely to be clearly understood, below according to specific embodiments of the invention and in conjunction with accompanying drawing, the present invention is further detailed explanation, wherein
Fig. 1 is a kind of network system standardized data Fabric Interface consistency desired result method flow diagram of one embodiment of the invention;
Fig. 2 be one embodiment of the invention a kind of network system standardized data Fabric Interface consistency desired result method in common data Fabric Interface verification schematic diagram;
Fig. 3 be one embodiment of the invention a kind of network system standardized data Fabric Interface consistency desired result method in time series data management with access operation interface check schematic diagram.
Detailed description of the invention
Embodiment one
The present embodiment provides a kind of network system standardized data Fabric Interface consistency desired result method, and its flow chart is as it is shown in figure 1, include:
First, common data Fabric Interface is checked: include the verification of resource ID service function, the verification of resource query service function, the verification of Event Service function. The verification of described resource ID service function is to whether the mapping relations between resource ID and resource URI unanimously verify; The verification of described resource query service function is the relation according to resource ID and the Property ID required to look up accordingly and correspondence, and whether the resource description of inquiry correspondence describes consistent with real resources.
The information that the verification of described Event Service function is the interface to corresponding with service supplier and acquisition current service event verifies, whether consistent with the event description that the interface of described corresponding with service supplier provides according to the current service event obtained, the interface of described corresponding with service supplier refers to the various functions interface that system provides.
Second, to time series data management with access operation interface check: include detection system consistent property degree of support function verify, Data Read Function verify. The verification of consistent property degree of support function is whether judge that system carries out time series data management consistent with the interface supported of operation of access by described system; The verification of described Data Read Function includes synchronous data interface verification and asynchronous data interface verification.
Finally, it is judged that whether described common data Fabric Interface is consistent, it is judged that whether the management of described time series data is consistent with the operation interface accessed, if both of which is consistent, then described electrical network standardized data Fabric Interface is consistent; Otherwise described electrical network standardized data Fabric Interface is inconsistent, it is necessary to again debug.
The method that the present embodiment provides is to verify according to the method first verifying most basic function, when carrying out the management of described time series data with the operation interface check accessed, need to call described common data Fabric Interface, therefore, first described common data Fabric Interface is verified, guarantee that the management of described time series data is verified after correct by described common data Fabric Interface again with the operation interface accessed, Problems existing in easy removal system development process, the development efficiency making system at least improves more than twice, can efficient and comprehensive checking data Fabric Interface, the development efficiency of raising system, economize on resources, reduce development cost.
Embodiment two
The present embodiment provides a kind of network system standardized data Fabric Interface consistency desired result method, compared with embodiment one, it is possible to provide the more method of calibration of multiplex roles.
The verification of described common data Fabric Interface also includes: the verification of positioning service function and/or the verification of agency service function. The verification of described positioning service function includes by providing the inquiry service function of resource object acquisition resource query service object to verify, verify by providing inquiry specific resources service function to obtain resource sign service object, verify by providing event query service function to obtain service object; The verification of described agency service function is to the verification of described resource ID resource service function or the verification of described resource query service function or described Event Service function verifies or the verification of described positioning service function verifies one time in the way of agency.
In other examples, can verify according to network system standardized data interface additional function interface during verification, meet the verification demand of different system. Each interface can agent way be verified by its agency service, for electrical network systematization service provider just.
Described carry out time series data management with access operation interface check also include: data renewal function verification and/or entry attributes function reading verification and/or labelling function verification and/or data playback function verification and/or data object find function verification and/or data model find function verification and/or temporal data model find function verification. Above one or more functions also can be verified by the described operation interface check carrying out time series data management and access, to meet the demand of electrical network standardized data Fabric Interface.
In other examples can according to the quantity of network system standardized data Fabric Interface choose and arrange described in carry out time series data management with access operation interface check verification function quantity.
The verification of described data renewal function is to utilize the mode read that the insertion of master data, replacement, insertion replacement and deletion action are verified; The verification of described entry attributes function reading is to judge that whether the Data Entry attribute returned is consistent with truthful data entry attributes data; The verification of described labelling function is to utilize the mode read that insertion and the replacement operation of mark are verified; The verification of described data playback function is to judge whether playback of data exception occurs; Described data object find function verification be judge return for browsing the interface of node, whether query entries interface, iterator, each aggregation operator are supported; Described data model finds that function verification is to judge whether support the lookup of data model and call;Described temporal data model finds that function verification is to judge whether to support browsing histories model data.
The verification of described synchronous data interface is identical with asynchronous data interface method of calibration, including: read master data, the historical data specifying the time period and cluster operation data; Judge to read described master data, whether the entry number of the historical data of described appointment time period and described cluster operation data exceedes maximum return entry number, if exceeding described maximum entry number, inconsistent otherwise; Judge whether the entry reading described master data, the historical data of described appointment time period and described cluster operation data exists wrong entry.
As the presently preferred embodiments, the verification of described synchronous data interface also includes judging that whether described master data is consistent with truthful data with asynchronous data interface method of calibration, and described master data includes specifying the time period, specify interval, the historical data of specified quantity and return the historical data of satisfied requirement.
Described return includes returning for browsing nodal analysis method interface, return for browsing items interface, returning for browsing attribute interface, returning for browsing style interface, returning for browsing aggregation operator interface, returning for browsing items attribute interface for the interface browsing node; Described query entries interface includes the description for query entries, inquires about the description of sub-entry, the description according to type queries entry, the path according to ID query entries and the ID according to path query entry according to father's entry.
The network system standardized data Fabric Interface consistency desired result method that the present embodiment provides, the process of system development there will be mistake unavoidably, each excuse can be carried out full validation by this programme, Direct Recognition can go out which interface existing problem concrete, it is easy to debugging, further increases the development efficiency of system. , further expanded function can be verified while basic interface is verified, each verification interface can be set according to the demand of user, flexible and convenient to use, operable higher, meet the demand of different user. Consistent property degree of support function is verified by described system, the verification that the interface compatibility that the management of described time series data and the operation accessed are supported carries out, improve the compatibility of network system, the network system standardized data Fabric Interface intercommunity verified by this programme is better. Also network system standardized data operations and data model etc. are verified, can quickly realize various functions in the debugging stage properly functioning.
Embodiment three
The present embodiment provides a kind of concrete Application Example, is network system standardized data is exchanged (IEC61970GID) interface carry out full validation. According to concrete demand, it can be set in other examples, meet the demand of different occasion.
1. pair common data Fabric Interface inspection
Common data interface verification and DAF interface check, described DFA (DataAccessFacility) is the OMG international standard issued, it constituting the main contents of mutual available public service (CommonService) between software application system, its target is the collaborative work ability of raising system application. DAF is used for accessing power distribution network common data, provides a kind of common application interface or public branch exchange system for the data exchange and sharing between different application systems.
As in figure 2 it is shown, according to DAF specification, DAF interface check includes being five parts: the verification of resource ID service function, the verification of resource 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: obtain the attribute (get_values) of single resource, obtain the attribute (get_extent_values) of a class resource, obtain the attribute (get_related_values) of related resource and obtain the attribute (get_descendent_values) deriving from resource.
1.1 resource ID service function verifications
Resource ID service function is completed by ResourceIDService interface, the mapping between this interface check resource ID and resource URI, including herein below:
(1) Get_resource_ids verification
The Get_resource_ids verification translation from resource ID to resource URI. Verify from the following aspects:
1) abnormality test
The exception of test includes " searching mistake ".
2) normal data test
Whether the data that verification returns are consistent with real resource ID.
3) the incoming URI sequence comprising illegal resource URI is tested
Whether verification returns resource ID sequence in this case correct.
(2) Get_uris verification
Get_uris verification translation from resource URI to resource ID. Verify from the following aspects:
1) abnormality test
The exception of test includes " searching mistake ".
2) normal data test
Whether the data that verification returns are consistent with real resource URI.
3) the incoming ID sequence comprising illegal resource ID is tested
Whether verification returns resource URI sequence in this case correct.
1.2 resource query service function verifications
Resource ID service is completed by ResourceQueryService interface, verifies this interface, the description of checking resource.
It includes following verification:
(1) Get_values verification
Get_values verification is according to a resource ID and the Property ID that requires to look up accordingly, the resource description of inquiry correspondence. Verify from the following aspects:
1) abnormality test
The exception of test includes " inquiry error ", " Unidentified resource ID ".
2) normal data test
Whether the data that verification returns are consistent with real resource description.
3) incoming the test of illegal Property ID row is comprised
Whether verification returns resource description sequence in this case correct.
(2) Get_extent_values verification
Get_extent_values verification is according to a class ID and the Property ID that requires to look up accordingly, the resource description of inquiry correspondence. Verify from the following aspects:
1) abnormality test
The exception of test includes " inquiry error ", " Unidentified resource ID ".
2) normal data test
Whether the data that verification returns are consistent with real resource description.
3) incoming the test of illegal Property ID row is comprised
Whether verification returns resource description sequence in this case correct.
(3) Get_related_values verification
The Get_related_values verification relation according to a resource ID and the Property ID required to look up accordingly and correspondence, the resource description that inquiry is corresponding. Verify from the following aspects:
1) abnormality test
The exception of test includes " inquiry error ", " Unidentified resource ID ", " unknown relation ".
2) normal data test
When the inverse of verification Association is false, whether the data of return are consistent with real resource description.
When the inverse of verification Association is true, whether the data of return are consistent with real resource description.
3) incoming the test of illegal Property ID row is comprised
Whether verification returns resource description sequence in this case correct.
(4) Get_descendent_values verification
The Get_descendent_values verification relation according to a resource ID sequence and the Property ID required to look up accordingly and correspondence, the resource description that inquiry is corresponding. Verify from the following aspects:
1) abnormality test
The exception of test includes " inquiry error ", " Unidentified resource ID ".
2) normal data test
When verification relational sequence length is 0, whether the data of return are consistent with real resource description.
When verification relational sequence length is 1, whether the data of return are consistent with real resource description.
When verification relational sequence length is 2, whether the data of return are consistent with real resource description.
When verification, the situation that the inverse of the Association of relational sequence is true and false will be tested.
3) incoming the test of illegal Property ID row is comprised
Whether verification returns resource description sequence in this case correct.
4) test comprises the association of unknown relation
Whether verification returns resource description sequence in this case correct.
1.3 Event Service function verifications
Event Service is completed by ResourceEventSource interface, and this interface can obtain event provider's interface of correspondence, moreover it is possible to obtain the version of current service. It includes following verification:
(1) Obtain_push_supplier verification
Obtain_push_supplier verification obtains corresponding event provider's interface. Test from the following aspects:
1) abnormality test
Whether the interface that detection obtains is empty.
2) normal data test
Whether verification can normally obtain the variation of resource, and the variation obtained is correct. These variations include interpolation, delete, edit.
(2) Current_version verification
Current_version verification obtains the version of resource. Verify from the following aspects:
1) version is obtained
After startup of server, can correctly obtain version.
2) version after change is obtained
Verification is after model changes, and whether version also changes.
1.4 positioning service function verifications
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 ".
1.5 agency service function verifications
The verification of agency service is positioning service, Event Service, resource query service, resource ID service, verifies one time by the mode of agency, see can meet claimed below:
(1) agency service must the existence of multiple data sources to client hidden, the context of one of them data source of client operation and operate the context of multiple data sources and do not have what difference.
(2) agency service must be loaded into the configuration information of proxied data source it is known which data proxied service provides. Client is without the detailed configuration of perception multi-data source.
(3) agency service can not increase interface, and he services by performer's resource lookup, resource ID service, the role of the client and server end of resource event source service.
(4) client must be presented a unified data context by agency service. It is combined with each proxied data source. One inquiry of client must return to the available data of all requests. These data are just the same by inquiring about proxied data source with client.
(5) agency service is that agents query is likely to achieve various strategy, various optimizations, and these data are transferred to client.
The second, to time series data management and the operation interface check accessed
The described operation interface check to time series data management and access and HDAIS interface check, HDAIS is the OMG international standard issued, HDAIS interface definition is a series of for time series data management and the operation interfaces accessed, so that each application program can generate and use these historical datas in system. This interface can provide and access based on seasonal effect in time series historical data or service, for instance one day, one week or longer time. In power distribution network service application, the example of typical applicating history data is load prediction, it is achieved load forecast need to according to the variation tendency of historical data. HDAIS provides the standardized mechanism of a kind of access history data, so that the various application function based on historical data develops the obstacle no longer having data acquisition.
Historical data service part by HDAIS interface check IEC61970GID. HDAIS interface service realizes the access to time series data, and service provides four kinds of major type of interface object: server and client side's object, connects interface, and model browses object and DAO.
Server and client side's object has: DAIS::HDA::Server, DAIS::HDA::Session, and DAIS::HDA::Callback.
Interface DAIS::HDA::Connection for connecting is realized by DAIS::HDA::Session.
Browsing object DAIS::HDA::Browse::IHome is the set that each concrete data type browses object, what it created each concrete data type browse object; It creates in DAIS::HDA::Session, can be designated a fiducial time during establishment. Concrete model browses object to be had following:
DAIS::HDA::Node::IHome is used for browsing node (Nodes).
DAIS::HDA::Item::IHome is used for browsing histories Data Entry.
DAIS::Type::IHome is used for browsing node type (Type), and this is identical with the definition in DAIS specification.
DAIS::Property::IHome is used for browsing node type attribute (Property), and this is identical with the definition in DAIS specification.
DAIS::HDA::ItemAttribute::IHome is for the attribute of browsing histories data.
DAIS::HDA::Aggregate::IHome is used for browsing aggregation operator (aggregatecalculations).
Interface for accessing all kinds 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 for attribute (Attribute) value of access history data.
DAIS::HDA::AnnotationIO::IHome is for the markup information of access history data.
The access module of three kinds of historical datas of TSDA service support: synchrodata is read and write, is realized by DAIS::HDA::ValueIO::SyncRead interface and DAIS::HDA::ValueIO::SyncUpdate interface; Asynchronous data is read and write, and the DAIS::HDA::ValueIO::Callback interface provided by DAIS::HDA::ValueIO::AsyncRead interface and DAIS::HDA::ValueIO::AsyncUpdate interface and interface-client is realized; Replay mode (PlayBack). The DAIS::HDA::ValueIO::PlaybackCallback interface provided by DAIS::HDA::ValueIO::PlayBack interface and interface-client 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 detecting the system degree of support to consistent property, thus to carry out which verification after determining. Except consistency desired result, the coherence request according to HDAIS specification, HDAIS interface is divided into 8 modules; Either synchronously or asynchronously characteristic according to interface simultaneously, 8 inside modules of check system are divided into again synchronism detection and asynchronous test. Not all of verification has synchronism detection and asynchronous test all simultaneously. Such as data playback verification only asynchronous test, data object finds that verification then only has synchronism detection.
Consistent property degree of support function is verified by 2.1 detection systems
For detecting the system degree of support to consistent property. By the HDAISupportedFunction interface in DAIS::HDA::Session, check which the HDAIS interface that verified system is supported has, then according to the HDAIS interface supported is verified by the content in below step.
For verified system, consistency desired result (verification HDAISupportedFunction) and synchrodata read verification (verification DAIS::HDA::ValueIO::SyncRead) and must pass through, and other verify content selectable.
2.2 Data Read Function verifications
Digital independent is by completing with lower interface:
Synchronize: DAIS::HDA::ValueIO::SyncRead
Asynchronous: DAIS::HDA::ValueIO::AsyncRead and DAIS::HDA::ValueIO::Callback.
Synchronize all to include following verification with asynchronous:
(1) Read_raw verification
The Read_raw verification reading to master data. Verify from the following aspects:
1) abnormality test
The exception of test includes having exceeded maximum return entry.
2) normal data
The data that verification returns whether with real data consistent, whether the reading of verification boundary value correct, and time started time period that verification is specified is later than the situation of end time.
3) there is the entry of mistake
Including there is no authority, invalid handle, invalid data interval, also have more data, this interval no data.
(2) Read_processed verification
Aggregation operator is verified, including: interpolation, time average, summation, on average, number, inequality, variance, minima the time being worth, minima, maximum the time being worth, maximum, initial value, end value, begin eventually poor, optimum, it is worth well duration, bad value duration, codomain, well value rate, bad value rate, worst quality, mark number etc.
The Read_proceed verification reading to processing data. Verify from the following aspects:
1) abnormality test
The exception of test includes having exceeded maximum return entry.
2) normal data
Whether whether the data that verification returns consistent with the data truly obtained by aggregation operator, and time started time period that verification is specified is later than the situation of end time.
3) there is the entry of mistake
Including not having authority, invalid handle, invalid data interval, aggregation operator is disabled, also has more data, this interval no data.
(3) Read_at_time verification
The Read_at_time verification reading to specifying time point data. Verify from the following aspects:
1) normal data
The data that verification returns whether with real data consistent.
2) there is the entry of mistake
Including there is no authority, invalid handle, invalid data interval.
2.3 data renewal function verifications
The renewal of data is by completing with lower interface:
Synchronize: DAIS::HDA:ValueIO::SyncUpdate and DAIS::HDA:ModifiedValueIO::Sync
Asynchronous: DAIS::HDA::ValueIO::AsyncUpdate, DAIS::HDA::ValueIO::Callback, DAIS::HDA::ModifiedValueIO::Async and DAIS::HDA::ModifiedValueIO::Callback
Synchronize to include following verification with asynchronous:
1) Insert verification
The Insert verification insertion to master data.Verify from the following aspects:
1) normal data
Check that data are correct in being inserted into target, it is possible to verify whether insertion is correct with reading.
2) there is the entry of mistake
Including not having authority, invalid handle, data exist.
(2) Replace verification
The Replace verification replacement to master data. Verify from the following aspects:
1) normal data
Check whether data correctly replace target, it is possible to verify whether replacement is correct with reading.
2) there is the entry of mistake
Including not having authority, invalid handle, data are absent from.
(3) Insert_replace verification
Insert_replace verifies the insertion to master data and replaces. Verify from the following aspects:
1) normal data
Check whether data correctly replace target, check whether data insert target, it is possible to verify whether replacement is correct with reading.
2) there is the entry of mistake
Including there is no authority, invalid handle.
(4) Delete_raw verification
Certain data specifying time interval is deleted by Delete_raw verification. Verify from the following aspects:
1) normally delete
Check whether data correctly delete, it is possible to verify whether replacement is correct with the reading of step.
2) there is the entry of mistake
Including there is no authority, invalid handle.
(5) Delete_at_time verification
Some data specifying time point is deleted by Delete_at_time verification. Verify from the following aspects:
1) normally delete
Check whether data correctly delete, it does not have delete, also without deleting less more. Can verify whether replacement is correct with the reading of step.
2) there is the entry of mistake
Including there is no authority, invalid handle.
2.4 entry attributes function reading verifications
Entry attributes reads by completing with lower interface:
Synchronize: DAIS::HDA::ItemAttributeIO::Sync and DAIS::HDA::ItemAttribute::IHome
Asynchronous: DAIS::HDA::ItemAttributeIO::Async, DAIS::HDA::ItemAttributeIO::Callback, DAIS::HDA::ItemAttribute::IHome.
(1) Read_attribute verification
The Read_attribute verification reading to entry attributes. Verify from the following aspects:
1) normal data
The data that verification returns whether with real data consistent, the situation of verification entry, the situation of checking data.
2) there is the entry of mistake
Including there is no authority, invalid handle, this interval no data.
2.5 labelling function verifications
Mark read-write is by completing with lower interface:
Synchronize: DAIS::HDA::ItemAttributeIO::Sync and DAIS::HDA::ItemAttribute::IHome
Asynchronous: DAIS::HDA::ItemAttributeIO::Async, DAIS::HDA::ItemAttributeIO::Callback.
(1) Read verification
The Read verification reading to entry mark. Verify from the following aspects:
1) normal data
Whether the data that verification returns are consistent with real situation.
2) there is the entry of mistake
Including there is no authority, invalid handle, invalid data interval, this interval no data.
(2) Insert verification
The Insert verification insertion to entry mark. Verify from the following aspects:
1) normal data
Whether the data that verification is inserted are consistent with real situation. Can verify with Read.
2) there is the entry of mistake
Including there is no authority, invalid handle, this interval no data.
2.6 data playback function verifications
Data playback is by asynchronous interface: DAIS::HDA::ValueIO::Playback and DAIS::HDA::ValueIO::PlaybackCallback completes.
(1) Play_raw_with_update verification
The Play_raw_with_update verification playback to master data. Verify from the following aspects:
1) abnormality test
The exception of test includes having exceeded maximum return entry.
2) normal data
The data that verification returns whether with real data consistent, the playback of verification different interval, time started time period that verification is specified is later than the situation of end time.
3) there is the entry of mistake
Including there is no authority, invalid handle.
(2) Play_processed_with_update verification
The Play_processed_with_update verification playback to the data through aggregation operator. Verify from the following aspects:
1) abnormality test
The exception of test includes having exceeded maximum return entry.
2) normal data
Whether and the data consistent processed by aggregation operator, the playback of verification different interval, verify time started time period specified is later than the situation of end time to the data that verification returns.
3) there is the entry of mistake
Including there is no authority, invalid handle.
2.7 data objects find function verification
Data object finds by completing with lower interface: DAIS::HDA::Browse, DAIS::HDA::Browse::Node::IHome, DAIS::HDA::Browse::Item::IHome and DAIS::HDA::Browse::Aggregate::IHome.
(1) whether node_home, item_home, property_home, type_home, aggregate_home, item_attribute_home of verifying DAIS::HDA::Browse::IHome return sky, it may be judged whether support various functions.
(2) the support situation of find, find_by_parent, find_by_type, get_pathnames, get_ids of DAIS::HDA::Browse::Item::IHome is verified.
(3) verification support situation to Iterator (iterator).
(4) verification support situation to each aggregation operator.
2.8 data models find function verification
Data model finds by completing with lower interface: DAIS::Type::IHome and DAIS::Property::IHome.
Whether verification supports that data model finds.
2.9 historical data object discovery function verifications
Historical data object is by completing with lower interface: DAIS::HDA::Browse::IHome::browse_base_time.
Verify the return value of this attribute, see and whether support Browse interface.
Finally, it is judged that whether described common data Fabric Interface is consistent, it is judged that whether the management of described time series data is consistent with the operation interface accessed, if both of which is consistent, then described electrical network standardized data Fabric Interface is consistent; Otherwise described electrical network standardized data Fabric Interface is inconsistent, it is necessary to again debug.
Obviously, above-described embodiment is only for clearly demonstrating example, and is not the restriction to embodiment. For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description. Here without also cannot all of embodiment be given exhaustive. And the apparent change thus extended out or variation are still among the protection domain of the invention.

Claims (3)

1. a network system data-interface method of calibration, it is characterised in that including:
Common data Fabric Interface is checked: include the verification of resource ID service function, the verification of resource query service function, the verification of Event Service function; Wherein, the verification of described resource ID service function is to whether the mapping relations between resource ID and resource URI unanimously verify;The verification of described resource query service function is the relation according to resource ID and the Property ID required to look up accordingly and correspondence, and whether the resource description of inquiry correspondence describes consistent with real resources; The information that the verification of described Event Service function is the interface to corresponding with service supplier and acquisition current service event verifies, whether consistent with the event description that the interface of described corresponding with service supplier provides according to the current service event obtained, the interface of described corresponding with service supplier refers to the various functions interface that system provides;
To time series data management with access operation interface check: include detection system consistent property degree of support function verify, Data Read Function verify; Wherein, the verification of consistent property degree of support function is whether judge that system carries out time series data management consistent with the interface supported of operation of access by described system; The verification of described Data Read Function includes synchronous data interface verification and asynchronous data interface verification;
Judge that whether described common data Fabric Interface is consistent, it is judged that whether the management of described time series data is consistent with the operation interface accessed, if both of which is consistent, then described electrical network standardized data Fabric Interface is consistent; Otherwise described electrical network standardized data Fabric Interface is inconsistent, it is necessary to again debug.
2. the method according to claim, it is characterised in that the verification of described synchronous data interface is identical with asynchronous data interface method of calibration, including:
Read master data, the historical data specifying the time period and cluster operation data;
Judge to read described master data, whether the entry number of the historical data of described appointment time period and described cluster operation data exceedes maximum return entry number, if exceeding described maximum entry number, inconsistent otherwise;
Judge whether the entry reading described master data, the historical data of described appointment time period and described cluster operation data exists wrong entry.
3. method according to claim 2, it is characterized in that, the verification of described synchronous data interface also includes judging that whether described master data is consistent with truthful data with asynchronous data interface method of calibration, and described master data includes specifying the time period, specify interval, the historical data of specified quantity and return the historical data of satisfied requirement.
CN201511031343.5A 2014-11-04 2014-11-04 Network system data-interface method of calibration Expired - Fee Related CN105677522B (en)

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
CN201410613766.7A CN104503735B (en) 2014-11-04 2014-11-04 A kind of network system standardized data Fabric Interface consistency desired result method
CN201511031343.5A CN105677522B (en) 2014-11-04 2014-11-04 Network system data-interface method of calibration

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 true CN105677522A (en) 2016-06-15
CN105677522B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442232A (en) * 2022-08-09 2022-12-06 中通服创立信息科技有限责任公司 CDN distributed management platform interface monitoring method and system

Citations (8)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442232A (en) * 2022-08-09 2022-12-06 中通服创立信息科技有限责任公司 CDN distributed management platform interface monitoring method and system
CN115442232B (en) * 2022-08-09 2023-07-25 中通服创立信息科技有限责任公司 CDN distributed management platform interface monitoring method and system

Also Published As

Publication number Publication date
CN105677522B (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN101421726B (en) Occasionally-connected application server
US8065323B2 (en) Offline validation of data in a database system for foreign key constraints
US7401085B2 (en) System and method for controlling the release of updates to a database configuration
US8880549B2 (en) Concurrent database access by production and prototype applications
US9658846B2 (en) Software configuration control wherein containers are associated with physical storage of software application versions in a software production landscape
SG183996A1 (en) Database management system
CN101901242A (en) Federated configuration data management
CN113706110B (en) FPGA test tool integrated test management platform
CN108427550A (en) A kind of Web service generation method, device and equipment
US20090287800A1 (en) Method, device and system for managing network devices
CN104503735B (en) A kind of network system standardized data Fabric Interface consistency desired result method
US20130339488A1 (en) Enterprise services framework for mobile devices
CN104765792B (en) A kind of method, apparatus and system of dimension data storage
CN104199743B (en) Consistency checking method for historical data service interface of power distribution network
CN115687503A (en) Method, device and equipment for synchronizing data among databases and storage medium
US11194616B2 (en) Method, apparatus and system for simultaneously transmitting or receiving multiple managed objects
CN105677522A (en) Power grid system data interface calibration method
CN115114325B (en) Data query method and device, electronic equipment and storage medium
US9621424B2 (en) Providing a common interface for accessing and presenting component configuration settings
CN105653485A (en) Method for checking consistency of standardized data exchange interfaces of power network system
CN115454851A (en) Interface regression testing method and device, storage medium and electronic device
CN112395340B (en) Data asset management method and device
CN111126961B (en) Full life cycle digital main line service system for complex products
KR20220010294A (en) Rule-based OPC UA Node Generation System and Method
CN114710517B (en) Internet of things data model management system

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

Granted publication date: 20190628

Termination date: 20191104

CF01 Termination of patent right due to non-payment of annual fee