CN104699960B - Standard conformance test method and system - Google Patents

Standard conformance test method and system Download PDF

Info

Publication number
CN104699960B
CN104699960B CN201510079504.1A CN201510079504A CN104699960B CN 104699960 B CN104699960 B CN 104699960B CN 201510079504 A CN201510079504 A CN 201510079504A CN 104699960 B CN104699960 B CN 104699960B
Authority
CN
China
Prior art keywords
standard
test problem
test
information standard
ambiguity
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
Application number
CN201510079504.1A
Other languages
Chinese (zh)
Other versions
CN104699960A (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.)
China Standard Science And Technology Group Co Ltd
WUHAN ZONDY CYBER CO Ltd
China National Institute of Standardization
Original Assignee
China Standard Science And Technology Group Co Ltd
WUHAN ZONDY CYBER CO Ltd
China National Institute of Standardization
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Standard Science And Technology Group Co Ltd, WUHAN ZONDY CYBER CO Ltd, China National Institute of Standardization filed Critical China Standard Science And Technology Group Co Ltd
Priority to CN201510079504.1A priority Critical patent/CN104699960B/en
Publication of CN104699960A publication Critical patent/CN104699960A/en
Application granted granted Critical
Publication of CN104699960B publication Critical patent/CN104699960B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of standard conformance test method and system, according to tested standard and the tested standard disclaimer with its it is consistent can mark it is quasi-, it generates for judging the tested standard and described surveying the whether consistent test problem in standard room, the assignment of the test problem is received later, judge whether the test problem has semantic ambiguity, when the test problem has ambiguity, the assignment of the test problem is analyzed to be analyzed as a result, judging whether to require manual intervention according to the analysis result.Therefore, standard conformance test method and system of the present invention, reduce the link of artificial treatment, shorten the time for carrying out uniformity test to standard, are conducive to the consistency and standardization of standard.

Description

Standard conformance test method and system
Technical field
The present invention relates to technical field of data processing, relate in particular to a kind of standard conformance test method and system.
Background technique
Geography information is the geographical meaning that geodata contains and expresses, and is substance related with geographic environmental elements The general name of number, text, image and the figure of quantity, quality, property, distribution characteristics, connection and rule etc..GIS-Geographic Information System Standardization, its direct effect is the Normalization for ensureing geographic information system technology and its application, instructs geography information The relevant practical activity of system, and then the application field of GIS-Geographic Information System is expanded, to realize the society of GIS-Geographic Information System And economic value.The standards system of GIS-Geographic Information System is that geographic information system technology moves towards practical and socialization guarantee, For promoting geographical information sharing, realizing that social informatization has huge impetus.As geography information country of China marks Standard gradually integrates with ISO international standard, and Geographic Information Standardization is particularly important.
In National Nature resource and geographical space basic database standard working-out, due to participating in the ginseng of geography information establishment It builds that unit ratio is more, and is possible to exist between the standard of different unit of taking part in building's establishments and intersect, repeats or even contradictory place, The consistency and harmony between standard in order to guarantee different unit of taking part in building's establishments, to effectively support natural resources and ground Manage Standardization Construction and the management in spatial fundamental library, it is necessary to which consistency detection, but the prior art are carried out to above-mentioned standard In mainly by manual type to standard carry out consistency detection, time-consuming and laborious, detection effect is also bad.
Summary of the invention
For this purpose, technical problem to be solved by the present invention lies in the prior art mainly by manual type come to standard into Row consistency detection, time-consuming and laborious and detection effect are poor.
In order to solve the above technical problems, technical scheme is as follows:
The present invention provides a kind of standard conformance test methods, comprising:
According to tested standard and the tested standard disclaimer with its it is consistent can mark standard generate for judging The tested standard and described survey the whether consistent test problem in standard room;
Receive the assignment of the test problem;
Judge whether the test problem has ambiguity;
When the test problem has ambiguity, the assignment of the test problem is analyzed to obtain analysis knot Fruit;
Judge whether to require manual intervention according to the analysis result.
Standard conformance test method of the present invention, further includes:
When the test problem does not have ambiguity, directly judged according to the assignment of the test problem described by mark It is quasi- and it is described can mark standard the test problem be related to part it is whether with uniformity.
Standard conformance test method of the present invention, the analysis is ambiguity semantic analysis, the analysis result It is the functional dependence between the semanteme that the assignment includes.
Standard conformance test method of the present invention, it is described to be judged whether to need artificial do according to the analysis result In advance, comprising:
Judge whether the functional dependence is minimal functional dependencies;
If so, judgement does not need manual intervention;
If it is not, judgement requires manual intervention.
The present invention also provides a kind of standard consistency testing systems, comprising:
Generation unit, for according to be tested standard and the tested standard disclaimer with its it is consistent can mark it is quasi- It generates for judging the tested standard and described surveying the whether consistent test problem in standard room;
Receiving unit, for receiving the assignment of the test problem;
Ambiguity judging unit, for judging whether the test problem has ambiguity;
Analytical unit, for analyzing the assignment of the test problem when the test problem has ambiguity Result is analyzed to obtain;
Intervene judging unit, for judging whether to require manual intervention according to the analysis result.
Standard consistency testing system of the present invention, further includes:
Direct judging unit is used for when the test problem does not have ambiguity, according to the assignment of the test problem Directly judge the tested standard and it is described can mark standard the test problem be related to part it is whether with uniformity.
Standard consistency testing system of the present invention, analysis described in the analytical unit are ambiguity semantemes point Analysis, it is described to analyze the functional dependence the result is that between the semanteme that the assignment includes.
Standard consistency testing system of the present invention, the intervention judging unit, comprising:
Functional dependence judgment sub-unit, for judging whether the functional dependence is minimal functional dependencies;
First judgment sub-unit, for when the functional dependence is minimal functional dependencies, judgement not to need manual intervention;
Second judgment sub-unit, for when the functional dependence is not minimal functional dependencies, judgement to be required manual intervention.
The above technical solution of the present invention has the following advantages over the prior art:
The present invention provides a kind of standard conformance test method and system, according to tested standard and the tested standard sound It is bright with its it is consistent can mark it is quasi-, generate for judging the tested standard and described surveying whether standard room has The test problem of consistency receives the assignment of the test problem later, judges whether the test problem has ambiguity, when When the test problem has ambiguity, the assignment of the test problem is analyzed to be analyzed as a result, according to described Analysis result judges whether to require manual intervention.Therefore, standard conformance test method and system of the present invention, reduce The link of artificial treatment shortens the time for carrying out uniformity test to standard, is conducive to the consistency and standardization of standard.
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 the flow chart of standard conformance test method of the present invention;
Fig. 2 is the structural block diagram of standard consistency testing system of the present invention.
Appended drawing reference indicates in figure are as follows: 1- generation unit, 2- receiving unit, and 3- ambiguity judging unit, 4- analytical unit, 5- intervenes judging unit, the direct judging unit of 6-, 51- functional dependence judgment sub-unit, the first judgment sub-unit of 52-, 53- second Judgment sub-unit.
Specific embodiment
Embodiment 1
A kind of standard conformance test method is present embodiments provided, as shown in Figure 1, comprising:
S1. according to be tested standard and the tested standard disclaimer with its it is consistent can mark it is quasi-, generation is used for Judge the tested standard and described surveys the whether consistent test problem in standard room;
S2. the assignment of the test problem is received;
S3. judge whether the test problem has ambiguity;
S4. when the test problem has ambiguity, the assignment of the test problem is analyzed to be analyzed As a result;The analysis is ambiguity semantic analysis, described to analyze the functional dependence the result is that between the semanteme that the assignment includes.
S5. judge whether to require manual intervention according to the analysis result.
S6. when the test problem does not have ambiguity, according to the assignment of the test problem, directly judge the quilt Mark standard and it is described can mark standard the test problem be related to part it is whether with uniformity.
Specifically, in step S1, tested standard can refer to any one mark in the standard worked out by different units of taking part in building Standard can select " natural resources and base to guarantee the consistency and harmony between the standard worked out by different units of taking part in building Plinth geospatial information library standard information bank uniformity test " and " GB/T 19333.5-2003/ISO 19105:2000 is geographical Consistency on messaging and test " described in content as can mark it is quasi-.It, can be first according to selection by mark in specific implementation Standard come determine and the tested standard disclaimer with its it is consistent can mark standard basic description information, and import this and can survey The basic description information of standard, then typing be tested standard basic description information, above-mentioned basic description information include title, Type, standard drafting unit, standard typing name claim, according to importing can mark standard and tested standard basic description Information is generated comprising being able to detect tested standard and can survey the whether consistent test problem in standard room, and the test is asked Topic can be presented by ways to realizaton ICS questionnaire.It, can be according to tested standard in order to keep test result more accurate Test environmental requirement, generate for supplement test test problem, for supplement test test problem can pass through realization Test supplementary material IXIT questionnaire present.For different standards, the corresponding test problem of different generations can be constructed Test model, different ICS questionnaires is generated, to test its consistency realization degree.According to the tested standard of typing early period and Can the quasi- essential information of mark, so that it may the test model for passing through building generate include above-mentioned test problem ICS questionnaire and IXIT Questionnaire, judges tested standard for the later period and whether can survey standard room with uniformity, lays a good foundation for Automatic analysis.
In step S2, assignment refers to being filled in accordingly according to the test problem of ICS questionnaire and IXIT questionnaire, this is just It is a parameter assignment process.In order to ensure the accuracy of assignment, ICS questionnaire or IXIT questionnaire are filled in and need user after finishing Mutually confirmed between test laboratory, signed.
In step S3, there are many test problems of questionnaire design, including be non-topic, multiple-choice question, enumerate topic, text topic etc., For being non-topic and multiple-choice question, because assignment is relatively simple, there is no verbal description part, namely there is no ambiguity.And for column Act topic and text topic, because assignment needs user to fill in corresponding verbal description according to tested standard, namely have ambiguity.When (for being non-topic and multiple-choice question) when test problem does not have ambiguity, according to the assignment of test problem (option of selection or Non- judging result) can directly judge tested standard and can mark standard whether in test problem be related to part with uniformity , as problem is designed as " tested standard and can mark standard using identical China's basic-scale topographic map framing with number, ground The code name of drawing scale 1:5000 is H? " if being assigned a value of H, it can directly know that the map scale of tested standard is 1:5000.And when test problem has ambiguity, then analysis knot could be obtained by needing to carry out the assignment of test problem analysis Fruit, and judge whether to require manual intervention based on the analysis results.It, can be different by judging whether test problem has ambiguity Test problem treat with a certain discrimination, be conducive to the process of optimal inspection, improve the efficiency of uniformity test.
Preferably, the step S5 may include:
S51. judge whether the functional dependence is minimal functional dependencies;
S52. if so, judgement does not need manual intervention, directly determine tested standard and can to survey standard room with uniformity;
S53. if it is not, judgement requires manual intervention.
It specifically, can be according to functional dependence (namely the relationship between semanteme between the semanteme that assignment includes in step S51 R) opening relationships mode R (U), U are the property sets (U can be regarded as being required in standard) of R, and (correspondence can mark by X It is quasi-), Y (corresponding tested standard) be U subset, for any relationship r on R (U), if two tuples are not present in r, they Attribute is identical on X, and attribute is different on Y, then Y functional dependence is claimed to rely on X in X, abbreviation Y.If the semanteme that assignment includes Between functional dependence meet above-mentioned condition, then discriminant function dependence is minimal functional dependencies, can prove that tested standard does not surpass Out can mark standard range, without by manual intervention can judge tested standard and can between mark standard it is with uniformity. If GB/T 20533-2006 ecological science data metadata and GB/T 19710-2005 geographic information metadata are in metadata packet With with uniformity in the description of entity, then necessarily minimal functional dependencies of the functional dependence between its semanteme.And if discriminant function Dependence is not minimal functional dependencies, then explains the situation more complicated, can not test automatically judge tested standard with can mark it is quasi- Between it is whether with uniformity, need to carry out manual intervention, it can be ensured that the accuracy of test result.
It preferably, can be right with the test record and log of generation during integration test after obtaining analysis result The uniformity test result of automatic test or automatic test and manual intervention carries out comprehensive judgement, and provides the general of uniformity test It describes and illustrates with the details of each test item, accordingly generate test report for user's preview/printing.Test report is main Use-case is not passed through by use-case, test including the testing backgrounds such as introduction, test source, testing time, tester data, test Etc. test results evaluate data, test final conclusion and the summary data three parts composition such as illustrate.Wherein testing background data, survey The necessary complete documentation of examination summary data, but in test result evaluation data, which test knot user can configure according to specific requirements Fruit, which retains, to be shown in final test report, which content can be deleted flexibly.According to test report, can find to be tested in time Standard and testing standard mismatch or test unsanctioned place, are corrected in time.
Standard conformance test method described in the present embodiment reduces the link of artificial treatment, shortens and carries out to standard The time of uniformity test is conducive to the consistency and standardization of standard.
Embodiment 2
A kind of standard consistency testing system is present embodiments provided, as shown in Figure 2, comprising: generation unit 1 receives list Member 2, analytical unit 4, intervenes judging unit 5 and directly judging unit 6 at ambiguity judging unit 3.Generation unit 1 is used for root According to tested standard and the tested standard disclaimer with its it is consistent can mark it is quasi-, generate described by mark for judging It is quasi- and described survey the whether consistent test problem in standard room;Receiving unit 2 is used to receive the tax of the test problem Value;Ambiguity judging unit 3 is for judging whether the test problem has ambiguity;Analytical unit 4 is used to work as the test When problem has ambiguity, the assignment of the test problem is analyzed to be analyzed as a result, the analysis is ambiguity Semantic analysis, it is described to analyze the functional dependence the result is that between the semanteme that the assignment includes;Intervene judging unit 5 to be used for according to institute Analysis result is stated to judge whether to require manual intervention;Direct judging unit 6, for not having ambiguity when the test problem When, according to the assignment of the test problem directly judge the tested standard and it is described can mark standard be related in the test problem Whether part is with uniformity.
By the tested standard of typing early period and can the quasi- essential information of mark, so that it may be generated by test model comprising upper The ICS questionnaire and IXIT questionnaire for stating test problem, judge tested standard for the later period and whether can survey standard room with uniformity, It lays a good foundation for Automatic analysis.By judging whether test problem has ambiguity, test problem area that can be different It does not treat, is conducive to the process of optimal inspection, improve the efficiency of uniformity test.
Preferably, the intervention judging unit 5 may include:
Functional dependence judgment sub-unit 51, for judging whether the functional dependence is minimal functional dependencies;
First judgment sub-unit 52, for when the functional dependence is minimal functional dependencies, judgement not to need manually dry In advance, according to the assignment of the test problem directly judge the tested standard and it is described can mark standard be related in the test problem Whether part is with uniformity;
Second judgment sub-unit 53, it is artificial dry for when the functional dependence is not minimal functional dependencies, judging to need In advance.
By discriminant function dependence whether be minimal functional dependencies, can prove tested standard whether exceed can mark it is quasi- Range, when functional dependence be minimal functional dependencies namely tested standard without departing from can mark standard range when, without passing through people Work intervention can judge tested standard and can be with uniformity between mark standard.And if discriminant function dependence is not minimum function It relies on, then explains the situation more complicated, can not test automatically and judge tested standard and whether can have unanimously between mark standard Property, need to carry out manual intervention, it can be ensured that the accuracy of test result.
Standard consistency testing system described in the present embodiment reduces the link of artificial treatment, shortens and carries out to standard The time of uniformity test is conducive to the consistency and standardization of standard.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.

Claims (4)

1. a kind of conformance test method of geographic information standard characterized by comprising
Test problem and its assignment are received, the test problem is for judging tested geographic information standard and can survey geography information The whether consistent test problem in standard room;
Judge whether the test problem has ambiguity;
When the test problem has ambiguity, obtaining the assignment to assignment progress ambiguity semantic analysis includes Semanteme between functional dependence;
Judge whether the functional dependence is minimal functional dependencies;
Whether be minimal functional dependencies according to the functional dependence, judge the tested geographic information standard and it is described can geodetic reason It is whether with uniformity between information standard;
When the test problem does not have ambiguity, the tested geographic information standard and institute are directly judged according to the assignment State between can surveying geographic information standard the test problem be related to part it is whether with uniformity.
2. the method according to claim 1, wherein it is described according to the functional dependence whether be minimum function according to Rely, judge the tested geographic information standard and it is described survey it is whether with uniformity between geographic information standard, comprising:
When the functional dependence is minimal functional dependencies, judges the tested geographic information standard and described survey geography information Standard room is with uniformity;
When the functional dependence is not minimal functional dependencies, judgement is required manual intervention.
3. a kind of consistency testing system of geographic information standard characterized by comprising
Receiving unit, for receiving the assignment of test problem, the test problem be for judge tested geographic information standard and Can survey between geographic information standard whether consistent test problem;
Ambiguity judging unit, for judging whether the test problem has ambiguity;
Semantic analysis unit, for carrying out ambiguity semantic analysis to the assignment when the test problem has ambiguity And obtain the functional dependence between the semanteme that the assignment includes;
Functional dependence judging unit, for judging whether the functional dependence is minimal functional dependencies;
Whether the first consistency judging unit judges described by geodetic for being minimal functional dependencies according to the functional dependence Reason information standard and it is described survey it is whether with uniformity between geographic information standard;
Second consistency judging unit, for directly being judged according to the assignment when the test problem does not have ambiguity The tested geographic information standard and described survey between geographic information standard are related to whether part has one in the test problem Cause property.
4. system according to claim 3, which is characterized in that the first consistency judging unit is also used to:
When the functional dependence is minimal functional dependencies, judges the tested geographic information standard and described survey geography information Standard room is with uniformity;
When the functional dependence is not minimal functional dependencies, judgement is required manual intervention.
CN201510079504.1A 2015-02-13 2015-02-13 Standard conformance test method and system Expired - Fee Related CN104699960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510079504.1A CN104699960B (en) 2015-02-13 2015-02-13 Standard conformance test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510079504.1A CN104699960B (en) 2015-02-13 2015-02-13 Standard conformance test method and system

Publications (2)

Publication Number Publication Date
CN104699960A CN104699960A (en) 2015-06-10
CN104699960B true CN104699960B (en) 2019-01-15

Family

ID=53347072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510079504.1A Expired - Fee Related CN104699960B (en) 2015-02-13 2015-02-13 Standard conformance test method and system

Country Status (1)

Country Link
CN (1) CN104699960B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153730A (en) * 2017-05-02 2017-09-12 武汉中地数码科技有限公司 Multi-source geologic data coupling modeling method under the constraint diagram of geologic division

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
XML环的定义、分类、判定和消除;刘文远 等;《小型微型计算机系统》;20080331;第2008年卷(第3期);第4节 *
地理信息标准一致性测试建模;刁俊玲 等;《地理与地理信息科学》;20100930;第26卷(第5期);同上 *
地理信息标准一致性测试建模;刁俊玲 等;《地理与地理信息科学》;20100930;第26卷(第5期);第1节 *
基于测绘地理信息标准一致性测试技术与流程分析;兀伟 等;《测绘技术装备》;20130430;第15卷(第4期);全文 *
测绘地理信息标准一致性测试理论与方法探讨;赵鑫 等;《测绘通报》;20131231;第2013年卷(第增刊期);全文 *

Also Published As

Publication number Publication date
CN104699960A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
Pontius et al. Lessons and challenges in land change modeling derived from synthesis of cross-case comparisons
Ahmad et al. A systematic mapping study of empirical studies on software cloud testing methods
CN111240961A (en) Database performance test system and method based on power grid big data platform
CN114519498A (en) Quality evaluation method and system based on BIM (building information modeling)
CN108536570B (en) Method, device and system for measuring gray level pressure of data live broadcast room
CN110471857A (en) The automatic test approach and device of artificial intelligence model performance capability
CN104699960B (en) Standard conformance test method and system
CN114240177A (en) Government affair data quality assessment method and system
CN107562615B (en) Airworthiness conformance testing method based on target conformance review and demonstration tree model
CN105653445B (en) A kind of implementation method for meeting DO 178C test results
CN113704077A (en) Test case generation method and device
CN111767205A (en) Online detection method and system supporting task splitting
CN110597728A (en) Method, device and system for constructing test data
CN111190073B (en) Power grid wide area measurement interaction and search service system
KR102217092B1 (en) Method and apparatus for providing quality information of application
CN106338747A (en) Lock-losing recapturing test method based on multi-mode multi-band OEM board card
CN114401032B (en) Testing method and system for satellite communication comprehensive tester
KR100775102B1 (en) Quality test result estimate system of platform based application on embedded device and method thereof
CN101894217A (en) Standard consistency testing system and testing method thereof
CN109976802A (en) A kind of software architecture reconstructing method of schema object
CN106227669B (en) Code testing method and device and electronic equipment
CN110517665B (en) Method and device for obtaining test sample
CN110532186A (en) Method, apparatus, electronic equipment and the storage medium tested using identifying code
Ślusarski et al. Model of quality of data collected in the topographic database
CN108763092A (en) A kind of aacode defect detection method and device based on cross validation

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: 20190115

Termination date: 20200213

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