CN102789478A - Navigation data logic testing method - Google Patents

Navigation data logic testing method Download PDF

Info

Publication number
CN102789478A
CN102789478A CN201210179022XA CN201210179022A CN102789478A CN 102789478 A CN102789478 A CN 102789478A CN 201210179022X A CN201210179022X A CN 201210179022XA CN 201210179022 A CN201210179022 A CN 201210179022A CN 102789478 A CN102789478 A CN 102789478A
Authority
CN
China
Prior art keywords
data
navigation
probatio inspectionem
inspectionem pecuoarem
navigation data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210179022XA
Other languages
Chinese (zh)
Inventor
王军德
孙凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Kotei Informatics Co Ltd
Original Assignee
Wuhan Kotei Informatics 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 Wuhan Kotei Informatics Co Ltd filed Critical Wuhan Kotei Informatics Co Ltd
Priority to CN201210179022XA priority Critical patent/CN102789478A/en
Publication of CN102789478A publication Critical patent/CN102789478A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Navigation (AREA)

Abstract

The invention provides a navigation data logic testing method. The method comprises the following steps of: 1, binary navigation data analysis which comprises the steps of conformance verification of binary data and a navigation data format book, correction verification of address offset and data existence verification; 2, navigation data verification which comprises the steps of correction verification of a navigation data field range, a data inclusion relation, a data association relation, a data multilayer corresponding relation and a data mapping relation; and 3, verification output which comprises the steps of outputting an operation log and a verification report. According to the invention, the all-around verification scheme and guidance are provided for the logic test of navigation data; and the specialization, the advancement and the comprehensiveness of the navigation data test can be improved.

Description

The navigation data logic test method
Technical field
The present invention relates to the navigation data field, relate to the field tests of navigation data more specifically.
Background technology
Navigation data is the employed geographical traffic information data of onboard navigation system, has that data volume is big, data are strongly professional, characteristics such as data store organisation complicacy.Receive the restriction of vehicle mounted guidance hardware device and navigation software performance requirement, navigation data uses the binary file mode to store mostly, thereby has further strengthened the complexity of navigation data, has also strengthened the difficulty of navigation data test simultaneously.
Consider that from the characteristics and the distinctive complicacy angle of navigation data of mass data itself the existing software method of testing all is not suitable for the navigation data test.The inventor finds that existing method of testing all is that navigation data is reduced to navigation map in carrying out current navigation data test, re-using manual type, that navigation map and raw data map are carried out sampling fraction is right.But because operations such as navigation data has carried out deleting on the basis of raw data, merges, compressions, single sampling fraction is inaccurate to not only, and the test coverage rate is very narrow, is difficult to navigation data is carried out full test.
Summary of the invention
The objective of the invention is to, a kind of navigation data logic test method is provided, it is comprehensive with test to be used to improve test mass.
For realizing above-mentioned purpose, the method for invention comprises three steps:
Step 1, read the scale-of-two navigation data file, and the scale-of-two navigation data is resolved;
Step 2, navigation data probatio inspectionem pecuoarem carry out the codomain probatio inspectionem pecuoarem and concern probatio inspectionem pecuoarem according to navigation data form book and format conversion book the navigation real data of having resolved.
The output of step 3, probatio inspectionem pecuoarem, the result after promptly exporting Operation Log in the probatio inspectionem pecuoarem process and accomplishing with probatio inspectionem pecuoarem reports.
Be to realize above-mentioned purpose, according to above method, step 1 is specially and reads the scale-of-two navigation data file, and with the scale-of-two navigation data according to the requirement of navigation data form book resolve to can Direct Recognition the navigation real data.
For realizing above-mentioned purpose, according to above method, the scale-of-two navigation data in the step 1 is resolved and is also comprised:
1-1) the accordance probatio inspectionem pecuoarem of scale-of-two navigation data and navigation data form book, whether the storage organization, the data type that are used for probatio inspectionem pecuoarem scale-of-two navigation data be consistent with navigation data form book.
1-2) the correctness probatio inspectionem pecuoarem of binary data address offset in navigation data file; Whether the jump address (Address) and the offset (Offset) that are used for probatio inspectionem pecuoarem scale-of-two navigation data be within the file effective range, and whether the data of probatio inspectionem pecuoarem assigned address and skew place can resolve to the navigation real data that needs according to the requirement of navigation data form book.
1-3) the existence probatio inspectionem pecuoarem of binary data in navigation data file, within the scope that navigation data form book requires, whether the quantity of real data is consistent with this value for the quantity (Count) that is used for probatio inspectionem pecuoarem scale-of-two navigation data; And whether probatio inspectionem pecuoarem navigation data capacity (Size) is effective, and whether the capacity of real data is within this value scope.
For realizing above-mentioned purpose, according to above method, the navigation data probatio inspectionem pecuoarem also comprises in the step 2:
2-1) navigation real data field codomain validity probatio inspectionem pecuoarem, whether the span that is used for probatio inspectionem pecuoarem navigation real data data field is consistent with the span of corresponding field in the navigation data form book;
2-2) navigation real data relation of inclusion validity probatio inspectionem pecuoarem is used for probatio inspectionem pecuoarem and whether is present in its navigation real data as superset as the navigation real data of subclass, and whether the numerical value of probatio inspectionem pecuoarem subclass is in the scope of its superset numerical value;
2-3) navigation real data incidence relation validity probatio inspectionem pecuoarem, whether the incidence relation of record data and management data, detailed data and categorical data that is used for probatio inspectionem pecuoarem navigation real data is consistent with navigation data form book;
2-4) navigation real data levels corresponding relation correctness probatio inspectionem pecuoarem; Whether the existence that is used for each layer of probatio inspectionem pecuoarem (Level) data is consistent with the requirement of format conversion book, and whether the corresponding relation of the already present data of probatio inspectionem pecuoarem in each layer be consistent with the requirement of format conversion book;
2-5) the correctness probatio inspectionem pecuoarem of navigation real data mapping relations, be used for probatio inspectionem pecuoarem navigation real data map data presented, guiding shows or the data of the data reported, retrieval and inquisition, data that road calculates and raw data in the mapping relations of corresponding data whether consistent with the requirement of format conversion book.
For realizing above-mentioned purpose, according to above method, the probatio inspectionem pecuoarem output in the step 3 comprises:
3-1) Operation Log output is used for exporting the scale-of-two navigation data parsing of step 1, the navigation data probatio inspectionem pecuoarem in the step 2 and the operation note in the output of the probatio inspectionem pecuoarem in the step 3, and unusual and error message.
3-2) probatio inspectionem pecuoarem report output, the scale-of-two navigation data that is used for exporting step 1 resolve with step 2 in the navigation data probatio inspectionem pecuoarem in the result that obtains behind the probatio inspectionem pecuoarem report.
Description of drawings
Fig. 1 is the block diagram of organizing of navigation data logic test method in the embodiment of the invention.
Embodiment
Understand and embodiment of the present invention for the ease of those of ordinary skills, the present invention is made further detailed description below in conjunction with accompanying drawing and embodiment.
The embodiment of the invention provides a kind of navigation data logic test method, and is as shown in Figure 1, and method comprises the parsing of (1) scale-of-two navigation data, (2) navigation data probatio inspectionem pecuoarem, the output of (3) probatio inspectionem pecuoarem.
(1) the scale-of-two navigation data is resolved, and comprising:
(1-1) the accordance probatio inspectionem pecuoarem of scale-of-two navigation data and navigation data form book.Whether the storage organization, the data type that are used for probatio inspectionem pecuoarem scale-of-two navigation data be consistent with navigation data form book.Wherein, the storage organization of navigation data is a benchmark with the form of navigation data form book regulation, X form for example, and KIWI forms etc., structure content comprise Data volume, each Data Management Department, each data head, Mesh Data etc.Data type comprises Sector Address (SA), Block Size (BS), character string, integer, binary type etc.
(1-2) the correctness probatio inspectionem pecuoarem of binary data address offset in navigation data file.The correctness that is used for the probatio inspectionem pecuoarem jump address, for example: whether the address of SA numerical value appointment is greater than 0 and less than the file byte length in the Data Management Department, and whether jump to can be according to the resolution data that requires of navigation data form book behind the address of appointment.The correctness that also is used for the probatio inspectionem pecuoarem deviation post, for example: in the data head Offset field value whether greater than 0 and less than the byte length of active data area, jump to after the Offset appointed positions can be according to navigation data form book require resolution data etc.If the data of address or skew are the invalid value of navigation data form book regulation, the expression corresponding data does not exist.
(1-3) the existence probatio inspectionem pecuoarem of binary data in navigation data file.The correctness that is used for probatio inspectionem pecuoarem data bulk (Count), for example: whether the value according to detailed data record number in the data head can correct Solution separate out the data recording of specified quantity, and follow-up data also can further correctly be resolved.The correctness that also is used for probatio inspectionem pecuoarem data capacity (Size), for example: the byte length that reads when whether the numerical value of BS resolves with corresponding data in the Data Management Department is consistent etc.If the value of data bulk or data capacity is 0, the expression corresponding data does not exist.
(2) navigation data probatio inspectionem pecuoarem comprises:
(2-1) navigation real data field codomain validity probatio inspectionem pecuoarem.Be used for probatio inspectionem pecuoarem navigation real data field value whether in the scope of navigation data form book requirement.For example: whether the language codes in the data is within the span that navigation data form book requires etc.
(2-2) navigation real data relation of inclusion validity probatio inspectionem pecuoarem.Be used for probatio inspectionem pecuoarem and whether be present in its navigation real data, and whether the numerical value of probatio inspectionem pecuoarem subclass is in the scope of its superset numerical value as superset as the navigation real data of subclass.For example: whether the longitude and latitude value of Mesh is among the longitude and latitude scope of the Block under it.
(2-3) navigation real data incidence relation validity probatio inspectionem pecuoarem.Whether the incidence relation of record data and management data, detailed data and categorical data that is used for probatio inspectionem pecuoarem navigation real data is consistent with navigation data form book.For example: the incidence relation of guidance information and affiliated Link etc.
(2-4) navigation real data levels corresponding relation correctness probatio inspectionem pecuoarem.Whether the existence that is used for each layer of probatio inspectionem pecuoarem (Level) data is consistent with the requirement of format conversion book, and whether the corresponding relation of the already present data of probatio inspectionem pecuoarem in each layer be consistent with the requirement of format conversion book.For example: the levels corresponding relation of road, background data etc.
(2-5) the correctness probatio inspectionem pecuoarem of navigation real data mapping relations.Be used for probatio inspectionem pecuoarem navigation real data map data presented, guiding shows or the data of the data reported, retrieval and inquisition, data that road calculates and raw data in the mapping relations of corresponding data whether consistent with the requirement of format conversion book.For example: advanced road is the length correspondent equal in navigation real data and raw data, the fare information of guiding correspondent equal or to press switch condition calculating afterwards consistent etc. in navigation real data and raw data.
(3) probatio inspectionem pecuoarem output comprises:
(3-1) Operation Log output.Be used for output (1) scale-of-two navigation data and resolve, (2) navigation data probatio inspectionem pecuoarem, the running time in the output of (3) probatio inspectionem pecuoarem, content of operation, unusual perhaps error description etc.
(3-2) probatio inspectionem pecuoarem report output.Be used for resolving the probatio inspectionem pecuoarem result in (2) navigation data probatio inspectionem pecuoarem according to report template requirement output (1) scale-of-two navigation data.
The above; Only be in order to practical implementation case of the present invention to be described; But be not in order to limit practical range of the present invention; Such as those skilled in the art must be covered by the scope of claim of the present invention not breaking away from all equivalence changes of being accomplished under indicated spirit of the present invention and the principle or modifying.

Claims (5)

1. a navigation data logic test method is characterized in that, comprising:
Step 1, read the scale-of-two navigation data file, and the scale-of-two navigation data is resolved;
Step 2, navigation data probatio inspectionem pecuoarem carry out the codomain probatio inspectionem pecuoarem and concern probatio inspectionem pecuoarem according to navigation data form book and format conversion book the navigation real data of having resolved.
The output of step 3, probatio inspectionem pecuoarem, the result after promptly exporting Operation Log in the probatio inspectionem pecuoarem process and accomplishing with probatio inspectionem pecuoarem reports.
2. require described method according to right 1, it is characterized in that, said step 1 is specially and reads the scale-of-two navigation data file, and with the scale-of-two navigation data according to the requirement of navigation data form book resolve to can Direct Recognition the navigation real data.
3. require described method according to right 1, it is characterized in that, the scale-of-two navigation data in the said step 1 is resolved and is also comprised:
1-1) the accordance probatio inspectionem pecuoarem of scale-of-two navigation data and navigation data form book, whether the storage organization, the data type that are used for probatio inspectionem pecuoarem scale-of-two navigation data be consistent with navigation data form book.
1-2) the correctness probatio inspectionem pecuoarem of binary data address offset in navigation data file; Whether the jump address (Address) and the offset (Offset) that are used for probatio inspectionem pecuoarem scale-of-two navigation data be within the file effective range, and whether the data of probatio inspectionem pecuoarem assigned address and skew place can resolve to the navigation real data that needs according to the requirement of navigation data form book.
1-3) the existence probatio inspectionem pecuoarem of binary data in navigation data file, within the scope that navigation data form book requires, whether the quantity of real data is consistent with this value for the quantity (Count) that is used for probatio inspectionem pecuoarem scale-of-two navigation data; And whether probatio inspectionem pecuoarem navigation data capacity (Size) is effective, and whether the capacity of real data is within this value scope.
4. require described method according to right 1, it is characterized in that, the navigation data probatio inspectionem pecuoarem also comprises in the said step 2:
2-1) navigation real data field codomain validity probatio inspectionem pecuoarem, whether the span that is used for probatio inspectionem pecuoarem navigation real data data field is consistent with the span of corresponding field in the navigation data form book;
2-2) navigation real data relation of inclusion validity probatio inspectionem pecuoarem is used for probatio inspectionem pecuoarem and whether is present in its navigation real data as superset as the navigation real data of subclass, and whether the numerical value of probatio inspectionem pecuoarem subclass is in the scope of its superset numerical value;
2-3) navigation real data incidence relation validity probatio inspectionem pecuoarem, whether the incidence relation of record data and management data, detailed data and categorical data that is used for probatio inspectionem pecuoarem navigation real data is consistent with navigation data form book;
2-4) navigation real data levels corresponding relation correctness probatio inspectionem pecuoarem; Whether the existence that is used for each layer of probatio inspectionem pecuoarem (Level) data is consistent with the requirement of format conversion book, and whether the corresponding relation of the already present data of probatio inspectionem pecuoarem in each layer be consistent with the requirement of format conversion book;
2-5) the correctness probatio inspectionem pecuoarem of navigation real data mapping relations, be used for probatio inspectionem pecuoarem navigation real data map data presented, guiding shows or the data of the data reported, retrieval and inquisition, data that road calculates and raw data in the mapping relations of corresponding data whether consistent with the requirement of format conversion book.
5. require described method according to right 1, it is characterized in that, the probatio inspectionem pecuoarem output in the said step 3 comprises:
3-1) Operation Log output is used for exporting the scale-of-two navigation data parsing of step 1, the navigation data probatio inspectionem pecuoarem in the step 2 and the operation note in the output of the probatio inspectionem pecuoarem in the step 3, and unusual and error message.
3-2) probatio inspectionem pecuoarem report output, the scale-of-two navigation data that is used for exporting step 1 resolve with step 2 in the navigation data probatio inspectionem pecuoarem in the result that obtains behind the probatio inspectionem pecuoarem report.
CN201210179022XA 2012-06-01 2012-06-01 Navigation data logic testing method Pending CN102789478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210179022XA CN102789478A (en) 2012-06-01 2012-06-01 Navigation data logic testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210179022XA CN102789478A (en) 2012-06-01 2012-06-01 Navigation data logic testing method

Publications (1)

Publication Number Publication Date
CN102789478A true CN102789478A (en) 2012-11-21

Family

ID=47154881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210179022XA Pending CN102789478A (en) 2012-06-01 2012-06-01 Navigation data logic testing method

Country Status (1)

Country Link
CN (1) CN102789478A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778859A (en) * 2021-08-06 2021-12-10 武汉光庭信息技术股份有限公司 Data conversion correctness testing method and device for vehicle navigation data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080140605A1 (en) * 2006-07-10 2008-06-12 Jens Gelhar Database management using format description
CN101509783A (en) * 2009-03-24 2009-08-19 北京四维图新科技股份有限公司 Data checking method and device applying to navigation electronic map production

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080140605A1 (en) * 2006-07-10 2008-06-12 Jens Gelhar Database management using format description
CN101509783A (en) * 2009-03-24 2009-08-19 北京四维图新科技股份有限公司 Data checking method and device applying to navigation electronic map production

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778859A (en) * 2021-08-06 2021-12-10 武汉光庭信息技术股份有限公司 Data conversion correctness testing method and device for vehicle navigation data

Similar Documents

Publication Publication Date Title
US11550826B2 (en) Method and system for generating a geocode trie and facilitating reverse geocode lookups
US9880012B2 (en) Hybrid road network and grid based spatial-temporal indexing under missing road links
KR101330094B1 (en) System and method for obtaining a structured address by geocoding unstructured address information
US9753945B2 (en) Systems, methods, and computer-readable media for interpreting geographical search queries
CN102841860A (en) Large data volume information storage and access method
CN103778030B (en) Daily record subsystem wiring method, error tracking method and processor
CN103853725B (en) A kind of traffic track data noise-reduction method and system
CN109961259B (en) Address standardization processing method and equipment
CN105550221A (en) Information searching method and device
CN104536700B (en) Quick storage/the read method and system of a kind of bit stream data
CN104991263A (en) Method for performing satellite positioning signal resolution
CN115061990A (en) Log storage method, log retrieval method, log storage device, log retrieval device and log storage medium
CN102193873B (en) Method of quickly reading and writing mass data file
EP4123618A1 (en) System and method for processing vehicle event data for journey analysis
CN102789478A (en) Navigation data logic testing method
CN115495082B (en) TLV format data automatic conversion method and related equipment
CN104731779A (en) Real-time file system data organization and management method facing real-time databases
CN111858093B (en) Message processing method, device, equipment and storage medium
CN113626729B (en) Method and equipment for determining interest point information
CN103946671A (en) Map information processing device
CN110555070B (en) Method and apparatus for outputting information
Lin et al. A Compressive Sensing Approach for Connected Vehicle Data Capture and Its Impact on Travel Time Estimation
CN102279858A (en) Method and device for realizing plurilingual display on electronic display equipment
CN102567519A (en) Data analysis device and method for GSM-R system
JP2014235597A (en) Specific point name determination apparatus, specific point name determination method, and specific point name determination program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121121