CN111309843B - Vehicle map system testing method and device, electronic equipment and storage medium - Google Patents

Vehicle map system testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111309843B
CN111309843B CN202010152607.7A CN202010152607A CN111309843B CN 111309843 B CN111309843 B CN 111309843B CN 202010152607 A CN202010152607 A CN 202010152607A CN 111309843 B CN111309843 B CN 111309843B
Authority
CN
China
Prior art keywords
poi data
sample
map system
vehicle
name information
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.)
Active
Application number
CN202010152607.7A
Other languages
Chinese (zh)
Other versions
CN111309843A (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.)
Zebred Network Technology Co Ltd
Original Assignee
Zebred Network Technology 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 Zebred Network Technology Co Ltd filed Critical Zebred Network Technology Co Ltd
Priority to CN202010152607.7A priority Critical patent/CN111309843B/en
Publication of CN111309843A publication Critical patent/CN111309843A/en
Application granted granted Critical
Publication of CN111309843B publication Critical patent/CN111309843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Mathematical Physics (AREA)
  • Fuzzy Systems (AREA)
  • Manufacturing & Machinery (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the invention provides a vehicle map system testing method, a vehicle map system testing device, electronic equipment and a storage medium, wherein sample POI data are obtained; determining corresponding test parameters according to the sample POI data; generating a corresponding test case according to the sample POI data and the corresponding test parameters; and testing the vehicle map system according to the test case to determine whether the POI data in the vehicle map system is qualified. Because the test case generated by using the sample POI data and the corresponding test parameters contains the data characteristics of the sample POI data, when the vehicle map system is tested according to the test case, the automation of the test process can be realized while different POI data are tested, the inefficiency problem caused by manual test is avoided, and the test efficiency and the test accuracy of the vehicle map system are improved.

Description

Vehicle map system testing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of internet of vehicles, in particular to a vehicle map system testing method and device, electronic equipment and a storage medium.
Background
The internet of vehicles realizes the omnibearing network links of vehicles and cloud platforms, vehicles and vehicles, vehicles and roads, vehicles and people, in-vehicle and the like through a new generation of information communication technology. The map system arranged in the vehicle is the basis of functions such as vehicle navigation and automatic driving. Point of interest (Point of Interest, hereinafter referred to as POI) data, such as buildings, subway stations, streets, etc., are provided in the vehicle map system, and searching and locating of the target position can be achieved through the POI data.
In order to ensure the accuracy of the map, the POI data in the vehicle map system is updated regularly, and after the update, the vehicle map system needs to be tested to determine that the POI data in the vehicle map system is updated correctly. In the prior art, a vehicle map system is usually manually operated, a search instruction is executed, and a search result is checked to complete the test of the vehicle map system.
Because the POI data in the map system of the automobile and the machine are numerous, the manual test of all POI data cannot be realized, and the map system of the automobile and the machine can be tested only by a spot check test mode, so that the problems of low test efficiency and high missed check rate exist.
Disclosure of Invention
The invention provides a vehicle map system testing method, a device, electronic equipment and a storage medium, which are used for solving the problems of low testing efficiency and high missing rate of the vehicle map system.
According to a first aspect of an embodiment of the present disclosure, the present disclosure provides a method for testing a map system of a vehicle, where the map system of the vehicle includes at least one POI data, the method includes:
acquiring sample POI data;
determining corresponding test parameters according to the sample POI data;
generating a corresponding test case according to the sample POI data and the corresponding test parameters;
and testing the vehicle map system according to the test case to determine whether the POI data in the vehicle map system is qualified or not.
Optionally, the testing the vehicle map system according to the test case to determine whether the POI data in the vehicle map system is qualified, includes:
according to the test case, a search instruction is sent to the vehicle map system;
receiving search results corresponding to sample POI data returned by the vehicle map system;
and determining whether the POI data in the vehicle-to-machine map system is qualified or not according to the search result.
Optionally, the determining whether the POI data in the vehicle-to-machine map system is qualified according to the search result includes:
and if the search result is empty, determining the POI data in the vehicle-to-machine map system as unqualified.
Optionally, the search result includes at least one piece of first candidate POI data, and the determining, according to the search result, whether the POI data in the vehicle map system is qualified includes:
acquiring the first candidate POI data;
comparing and detecting the first candidate POI data according to the sample POI data;
and determining whether the POI data in the vehicle-to-machine map system is qualified or not according to the comparison detection result.
Optionally, the sample POI data includes sample name information, the first candidate POI data includes candidate name information, and the comparing and detecting the first candidate POI data according to the sample POI data includes:
acquiring the sample name information and the alternative name information;
and carrying out similarity detection on the sample name information and each piece of alternative name information.
Optionally, the test parameter includes a ranking threshold corresponding to the sample POI data, and the determining, according to the comparison detection result, whether the POI data in the vehicle map system is qualified includes:
Sorting the alternative name information according to the similarity of the alternative name information and the sample name information so as to obtain an alternative name information sequence;
if the first N items of the alternative name information sequence comprise the sample name information, determining that POI data in the vehicle map system are qualified;
wherein N is the ranking threshold.
Optionally, the first candidate POI data further includes candidate location information, the sample POI data further includes sample location information, the test parameter further includes a distance threshold corresponding to the sample POI data, and after the determining that the POI data in the vehicle map system is qualified, the method further includes:
determining second candidate POI data corresponding to the sample name information from the first candidate POI data;
acquiring alternative position information corresponding to the second alternative POI data;
calculating the distance between the candidate position and the sample position of the sample POI data;
and if the distance is greater than the distance threshold, determining the POI data in the vehicle-to-machine map system as unqualified.
Optionally, after the determining that the POI data in the vehicle map system is unqualified, the method further includes:
Marking the sample POI data as unqualified POI data;
and outputting the unqualified POI data.
According to a second aspect of the embodiments of the present disclosure, the present disclosure provides a vehicle map system testing apparatus, where the vehicle map system includes at least one piece of POI data, the apparatus includes:
the POI data acquisition module is used for acquiring sample POI data;
the test parameter determining module is used for determining corresponding test parameters according to the sample POI data;
the test case generation module is used for generating a corresponding test case according to the sample POI data and the corresponding test parameters;
and the POI data determining module is used for testing the vehicle-to-machine map system according to the test case so as to determine whether the POI data in the vehicle-to-machine map system are qualified.
Optionally, the POI data determining module is specifically configured to:
according to the test case, a search instruction is sent to the vehicle map system;
receiving search results corresponding to sample POI data returned by the vehicle map system;
and determining whether the POI data in the vehicle-to-machine map system is qualified or not according to the search result.
Optionally, the POI data determining module is specifically configured to, when determining whether the POI data in the vehicle map system is qualified according to the search result:
And if the search result is empty, determining the POI data in the vehicle-to-machine map system as unqualified.
Optionally, the search result includes at least one piece of first candidate POI data, and the POI data determining module is specifically configured to, when determining whether the POI data in the vehicle map system is qualified according to the search result:
acquiring the first candidate POI data;
comparing and detecting the first candidate POI data according to the sample POI data;
and determining whether the POI data in the vehicle-to-machine map system is qualified or not according to the comparison detection result.
Optionally, the sample POI data includes sample name information, the first candidate POI data includes candidate name information, and the POI data determining module includes, when comparing and detecting the first candidate POI data according to the sample POI data:
acquiring the sample name information and the alternative name information;
and carrying out similarity detection on the sample name information and each piece of alternative name information.
Optionally, the test parameter includes a ranking threshold corresponding to the sample POI data, and the POI data determining module when determining whether the POI data in the vehicle map system is qualified according to the comparison detection result includes:
Sorting the alternative name information according to the similarity of the alternative name information and the sample name information so as to obtain an alternative name information sequence;
if the first N items of the alternative name information sequence comprise the sample name information, determining that POI data in the vehicle map system are qualified;
wherein N is the ranking threshold.
Optionally, the first candidate POI data further includes candidate location information, the sample POI data further includes sample location information, the test parameter further includes a distance threshold corresponding to the sample POI data, and the POI data determining module is specifically configured to, after the determining that the POI data in the vehicle map system is qualified:
determining second candidate POI data corresponding to the sample name information from the first candidate POI data;
acquiring alternative position information corresponding to the second alternative POI data;
calculating the distance between the candidate position and the sample position of the sample POI data;
and if the distance is greater than the distance threshold, determining the POI data in the vehicle-to-machine map system as unqualified.
Optionally, the POI data determining module is specifically configured to, after determining that the POI data in the vehicle map system is failed:
Marking the sample POI data as unqualified POI data;
and outputting the unqualified POI data.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor as the vehicle map system testing method according to any one of the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of the embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having stored therein computer-executable instructions, which when executed by a processor, are configured to implement the vehicle map system testing method according to any one of the first aspect of the embodiments of the present disclosure.
According to the vehicle-to-machine map system testing method, sample POI data are obtained; determining corresponding test parameters according to the sample POI data; generating a corresponding test case according to the sample POI data and the corresponding test parameters; and testing the vehicle map system according to the test case to determine whether the POI data in the vehicle map system is qualified or not. Because the test case generated by using the sample POI data and the corresponding test parameters contains the data characteristics of the sample POI data, when the vehicle map system is tested according to the test case, the automation of the test process can be realized while different POI data are tested, the inefficiency problem caused by manual test is avoided, and the test efficiency and the test accuracy of the vehicle map system are improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1a is an application scenario diagram of a vehicle map system testing method according to an embodiment of the present invention;
fig. 1b is another application scenario diagram of a vehicle map system testing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a testing method for a map system of a vehicle according to an embodiment of the present invention;
FIG. 3 is a flowchart of a testing method for a map system of a vehicle machine according to a second embodiment of the present invention;
FIG. 4 is a flowchart of step S206 in the embodiment shown in FIG. 3;
FIG. 5 is a schematic diagram of a user interface of an electronic device according to an embodiment of the present invention;
fig. 6 is a flowchart of a testing method for a map system of a vehicle machine according to a third embodiment of the present invention;
FIG. 7 is a flowchart of step S307 in the embodiment shown in FIG. 6;
FIG. 8 is a flowchart of step S308 in the embodiment shown in FIG. 6;
fig. 9 is a flowchart of a testing method for a map system of a vehicle machine according to a fourth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a vehicle map system testing device according to an embodiment of the present invention;
Fig. 11 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
First, the terms involved in the present invention will be explained:
POI data: namely, point of interest (Point of Interest, abbreviated as POI) data, also called information point (Point of Information, abbreviated as POI) data, is data for describing position information in a geographic information system, and according to the POI data, accurate positioning of objects such as specific buildings, roads, sites and the like can be realized. Based on POI data, functions such as automatic navigation and automatic driving of the vehicle can be realized.
Test cases: test Case (Test Case) refers to the description of a specific software product for testing tasks, and reflects testing schemes, methods, technologies and strategies. The content of the method comprises a test target, a test environment, input data, a test step, an expected result, a test script and the like, and finally a document is formed. Briefly, a test case is a set of test inputs, execution conditions, and expected results tailored for a particular goal to verify that a particular functional requirement is met.
The following explains the application scenario of the embodiment of the present invention:
fig. 1a is an application scenario diagram of a vehicle map system testing method provided by the embodiment of the invention, as shown in fig. 1a, the vehicle map system testing method provided by the embodiment of the invention is applied to electronic equipment, for example, a computer 11, a vehicle map system 121 is arranged in a vehicle 12, the computer 11 communicates with the vehicle 12 in a wired or wireless manner, the computer 11 can send data and instructions to the vehicle map system 121 by communicating with the vehicle 12, and can receive data returned by the vehicle map system 121, in the application scenario provided by the embodiment, the vehicle 12 and the vehicle are in a separated state and are located indoors, and after the computer 11 responds to a testing instruction of a user, the vehicle map system 121 is tested by the vehicle map system testing method provided by the embodiment of the invention.
Fig. 1b is another application scenario diagram of the vehicle map system testing method provided by the embodiment of the present invention, as shown in fig. 1b, the vehicle map system testing method provided by the embodiment of the present invention is applied to an electronic device, for example, a cloud server 13, and a vehicle map system 141 is a part of a vehicle interior vehicle system 14, and related functions of the map system are implemented through the vehicle system 14. The cloud server 13 communicates with the vehicle-mounted system 14 in a wireless manner, and after the cloud server 13 establishes communication connection with the vehicle-mounted system 14 remotely, the vehicle-mounted map system 141 in the vehicle-mounted system 14 is tested by using the vehicle-mounted map system testing method provided by the embodiment of the invention.
In the prior art, in the process of testing the vehicle map system, because POI data in the vehicle map system is provided by map Service Providers (SP) and Content Providers (CP) in multiple parties, data non-uniformity, such as XX restaurants and XX restaurants, is easily caused, and because of the difference of the data provided by the providers, a place is easily caused, but the names are different. Therefore, the POI data is checked, usually by means of manual operation. Meanwhile, the vehicle-mounted system used for the vehicle is simple in operation interaction design and difficult to complete complex instruction and programming operation, so that POI data inspection is directly executed on the vehicle-mounted system, and the testing efficiency is low.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a testing method for a vehicle map system according to an embodiment of the present application, where the vehicle map system includes at least one POI data, as shown in fig. 2, and the testing method for a vehicle map system according to the embodiment includes the following steps:
step S101, sample POI data is acquired.
Specifically, the sample POI data refers to POI data that can be used as a correct control sample after collation. For example, searching for the POI data of the X building through the map software of the mobile phone terminal after searching for the X building; for another example, the sample POI data may be original POI data directly provided by a content provider, and since the POI data can ensure the accuracy of the POI data, the POI data obtained by the above approach can be used as the sample POI data. Of course, it will be appreciated that sample POI data may be obtained in other ways and manners, such as virtual POI data generated manually or automatically, so long as the sample can be used as a correct comparison sample, and is not specifically limited herein.
Step S102, corresponding test parameters are determined according to the sample POI data.
Different sample POI data correspond to different geographic targets, and different parameters are adopted to test the sample POI data when the sample POI data are detected due to the difference of factors such as the scale, the position and the environment of the different geographic targets, for example, beijing city is taken as the sample POI data for testing, and the difference of 1 km does not influence the accuracy of a map when describing the position of the Beijing city because the Beijing city is a large-scale area; however, when the "XX square north 1 gate" is used as the sample POI data of the test, since the area where the "XX square north 1 gate" is located is small, when describing the position of the "XX square north 1 gate", the allowable error during the test is small, otherwise, the accuracy of the map is affected. Therefore, differences exist among different sample POI data, and test parameters corresponding to the different sample POI data are determined, so that the accuracy of the test can be improved.
It will be appreciated that the test parameters may also be set according to specific needs according to factors such as the name of the sample POI data, the surrounding environment, and the like, and are not specifically limited herein.
Alternatively, the sample POI data may be one or more, and the corresponding test parameters may be one or more, that is, the test parameters of each sample POI data may be the same or different, and may be determined according to specific needs, which is not limited herein.
Step S103, corresponding test cases are generated according to the sample POI data and the corresponding test parameters.
A test case is a set of test inputs, execution conditions, and expected results tailored for a particular goal to verify that a particular functional requirement is met. Specifically, part of information of sample POI data is used as test input, test parameters are used as execution conditions, a preset result is determined according to the test parameters, and a program for testing the map system of the vehicle, namely a test case, is generated. According to the test case, the function test of the vehicle map system can be realized.
The specific form of the corresponding test case is generated, and is related to a functional interface of the vehicle map system, which is not specifically limited herein. The specific method for generating the corresponding test case according to the existing test input, execution conditions and expected result is a common means in the art, and will not be described herein.
Step S104, testing the vehicle map system according to the test case to determine whether the POI data in the vehicle map system is qualified.
After the test case is obtained, executing specific steps of the test case according to specific contents of the test case, completing testing of the vehicle-to-machine map system, and if the test result accords with an expected result of the test case, indicating that POI data in the vehicle-to-machine map system are qualified; if the test result does not accord with the expected result of the test case, the POI data in the map system of the vehicle-machine is unqualified.
In this embodiment, sample POI data is obtained; determining corresponding test parameters according to the sample POI data; generating a corresponding test case according to the sample POI data and the corresponding test parameters; and testing the vehicle map system according to the test case to determine whether the POI data in the vehicle map system is qualified. Because the test case generated by using the sample POI data and the corresponding test parameters contains the data characteristics of the sample POI data, when the vehicle map system is tested according to the test case, the automation of the test process can be realized while different POI data are tested, the inefficiency problem caused by manual test is avoided, and the test efficiency and the test accuracy of the vehicle map system are improved.
Fig. 3 is a flowchart of a vehicle map system testing method according to a second embodiment of the present invention, where, as shown in fig. 3, the vehicle map system testing method according to the present embodiment further refines step S104 on the basis of the vehicle map system testing method according to the embodiment shown in fig. 2, and then the vehicle map system testing method according to the present embodiment includes the following steps:
in step S201, sample POI data is acquired.
Step S202, corresponding test parameters are determined according to the sample POI data.
Step S203, corresponding test cases are generated according to the sample POI data and the corresponding test parameters.
Step S204, according to the test case, a search instruction is sent to the vehicle map system.
Optionally, the search instruction includes a search information instruction and a search execution instruction, where the search information instruction includes content of sample POI data, for example, sample name information of the sample POI data, specifically, for example, "beijing city", "XX square north 1 exit".
The search execution instruction is used for instructing the vehicle map system to execute a search action according to the search information instruction. For example, the car machine map system is instructed to search for "XX North 1 Exit in Square".
The search information instruction may include content of one or more pieces of POI data, for example, sample name information of one or more pieces of sample POI data, and the corresponding search execution instruction instructs the vehicle map system to execute a search action on one or more pieces of search information instruction, for example, instructs the vehicle map system to search for "XX square north 1 outlet", "XX square south 1 outlet", and "XX square north 2 outlet".
In step S205, a search result corresponding to the sample POI data returned by the vehicle map system is received.
Specifically, the vehicle map system outputs a corresponding search result after receiving and executing the search instruction. The electronic device applying the embodiment of the method receives the search result returned by the vehicle map system, and the search result has a corresponding relationship with the sample POI data of the test case generated in the step S203.
Step S206, determining whether the POI data in the vehicle map system is qualified or not according to the search result.
Specifically, the search result is that the vehicle map system executes the output of searching for the sample POI data, so that the search result is related to the POI data in the vehicle map system, and if the POI data consistent with the sample POI data exists in the vehicle map system, the POI data is displayed in the search result, which indicates that the vehicle map system has correctly recorded the sample POI data; conversely, if no POI data consistent with the sample POI data exists in the vehicle map system, the POI data consistent with the sample POI data is not displayed in the search result, which indicates that the vehicle map system does not accurately record the sample POI data.
Therefore, according to the search result, whether the sample POI data is correctly recorded in the vehicle map system or not can be determined, if the sample POI data is correctly recorded, the sample POI data is qualified, and if the sample POI data is not correctly recorded, the sample POI data is unqualified.
Optionally, as shown in fig. 4, step S206 includes two specific implementation steps of steps S2061, S2062:
in step S2061, if the search result is empty, the POI data in the vehicle map system is determined to be unqualified.
In step S2062, if the search result is not null, the POI data in the vehicle map system is determined to be qualified.
Step S207, marking the sample POI data as unqualified POI data.
Fig. 5 is a schematic diagram of a user interaction interface of an electronic device according to an embodiment of the present invention, where the test method of a map system of a vehicle machine is run on the electronic device, as shown in fig. 5, the user interaction interface includes a test interface p51, in which a start test key, a display result key, a sample POI data display area p52 and a failed POI data display area p53 are disposed, and when a user inputs sample POI data to the electronic device and clicks the start test key, the electronic device executes the steps of S201-S207 in the embodiment, after determining that the POI data in the map system of the vehicle machine is failed, marks the sample POI data as failed POI data, and displays the failed POI data in the failed POI data display area p53, which indicates that the sample POI data is not recorded correctly in the map system of the vehicle machine, so as to correct or increase the failed POI data later.
For example, the search result of the sample POI data with the sample name information of "XX square north 1 exit" is blank, which indicates that the sample POI data is not recorded correctly in the vehicle map system, and therefore, the position coordinates and navigation information cannot be obtained when the user searches for "XX square north 1 exit" using the vehicle map system. Therefore, the sample POI data with the sample name information of 'XX Square North 1 export' is marked as unqualified POI data, so that the POI data can be conveniently corrected.
Step S208, outputting unqualified POI data.
After determining the unacceptable POI data, the unacceptable POI data may be output in the form of a data list or data document, for example, by displaying the unacceptable POI data to a user via a user interactive interface as shown in fig. 5, or saved as structured data.
In the step of the embodiment, the automatic detection and result output of the automatic POI data are realized by determining, marking and outputting the unqualified POI data, so that the inspection efficiency in the map system of the vehicle and the machine is improved, and the detection accuracy is improved.
In this embodiment, the implementation manner of step S201 to step S203 is the same as the implementation manner of step S101 to step S103 in the embodiment shown in fig. 2 of the present invention, and will not be described in detail here.
Fig. 6 is a flowchart of a vehicle map system testing method according to a third embodiment of the present invention, where, as shown in fig. 6, the vehicle map system testing method according to the present embodiment further refines step S104 on the basis of the vehicle map system testing method according to the embodiment shown in fig. 2, and then the vehicle map system testing method according to the present embodiment includes the following steps:
in step S301, sample POI data is acquired.
Step S302, corresponding test parameters are determined according to the sample POI data.
Step S303, according to the sample POI data and the corresponding test parameters, generating the corresponding test case.
Step S304, according to the test case, a search instruction is sent to the vehicle map system.
In step S305, a search result corresponding to the sample POI data returned by the vehicle map system is received, where the search result includes at least one piece of first candidate POI data.
Specifically, the vehicle map system returns a plurality of pieces of POI data, i.e., first candidate POI data, according to the similarity with the sample POI data. The principle of determining the first candidate POI data is determined by a search mechanism of the vehicle map system, and different search mechanisms may generate different first candidate POI data, but at least one piece of closest POI data is determined.
Step S306, acquiring each first candidate POI data.
Step S307, performing contrast detection on the first candidate POI data according to the sample POI data.
Specifically, the sample POI data is identical to the data structure of the first candidate POI data, and whether the two are identical or partially identical can be determined by comparison.
In a specific embodiment, the sample POI data and the first candidate POI data each comprise: name information, location information, area information, and type information. For example, one specific sample POI data data_1 is:
name information: XX North 1 export of Square.
Position information: 116.890963/40.031947.
Area information: beijing city.
Type information: a building.
The data structure of the plurality of first candidate POI data is consistent with the sample POI data, but specific contents are different, for example, one specific first candidate POI data data_2 is:
name information: XX North 2 export of Square.
Position information: 116.890721/40.031641.
Area information: beijing city.
Type information: a building.
The first candidate POI data data_2 is one of a plurality of first candidate POI data in search results returned after the vehicle map system searches the sample POI data data_1. From the sample POI data data_1 comparing the one or more first alternative POI data, e.g. data_2, it may be determined whether the first alternative POI data is consistent with one or more of the first alternative POI data. The method for comparing and detecting the first candidate POI data according to the sample POI data is various, for example, comparing through "name information", or comparing through "position information", or simultaneously comparing "name information" and "position information", which can be implemented in different specific manners according to the need, and is not limited herein specifically. Wherein the location information is a combination of longitude information and latitude information.
Optionally, sample name information is included in the sample POI data, and alternative name information is included in the first alternative POI data. As shown in fig. 7, step S307 includes two specific implementation steps of steps S3071 and S3072:
in step S3071, sample name information and alternative name information are acquired.
Step S3072, similarity detection is performed on the sample name information and each candidate name information.
Specifically, the similarity of the sample POI data and the first candidate POI data can be determined by comparing the sample name information in the sample POI data with the candidate name information in the first candidate POI data. Taking the sample POI data data_1 and the first candidate POI data data_2 in step S307 of the present embodiment as an example, the sample name information of the sample POI data data_1 is "XX square north 1 exit", the candidate name information of the first candidate POI data data_2 is "XX square north 2 exit", and by comparison, it can be determined that the sample name information and the candidate name information are inconsistent, but have higher similarity.
Step S308, determining whether the POI data in the vehicle map system is qualified or not according to the comparison detection result.
According to the comparison detection result, the higher the similarity is, the higher the similarity between the first candidate POI data and the sample POI data is, and when the first candidate POI data is completely consistent with the sample POI data, the sample POI data is correctly recorded in the vehicle map system; when the similarity between the first candidate POI data and the sample POI data is higher than a preset threshold value, the sample POI data can be determined to be correctly recorded in the vehicle map system. In the step of the embodiment, whether the POI data in the map system of the vehicle-mounted machine is qualified or not is determined through the detection result, so that the problem that the test is not passed due to tiny differences of the POI data can be avoided, the robustness of the test method of the map system of the vehicle-mounted machine is improved, and the test efficiency is improved.
Optionally, the test parameters include ranking thresholds corresponding to the sample POI data, as shown in fig. 8, and step S308 includes two specific implementation steps of steps S3081 and S3082:
step S3081, sorting the candidate name information according to the similarity between the candidate name information and the sample name information to obtain a candidate name information sequence.
Step S3082, if the top N items of the alternative name information sequence include sample name information, determining that POI data in the vehicle map system is qualified, wherein N is a ranking threshold.
In a specific embodiment, the alternative name information is "XX gas station", "XX plaza North 2 Outlet", "XX plaza parking lot", respectively. The sample name information is ' XX square north 2 export ', after sorting according to the similarity with the sample name information, the alternative name information sequence is { XX square north 2 export ', ' XX square parking lot ', ' XX gas station ', ' ranking threshold is N=3 '. Because the sample name information 'XX square North 2 export' is arranged in the alternative name information sequence and in the first 3 items, the description that the plurality of alternative name information has the alternative name information highly related to the sample name information can identify the first alternative POI data, including the sample POI data, namely, the POI data in the map system of the vehicle machine is determined to be qualified.
Optionally, the ranking threshold is related to sample POI data, and in sample POI data of a region where the POI data is denser, the ranking threshold is larger, for example, sample name information of the sample POI data is "XX square", and surrounding the sample POI data, the sample name data also comprises a plurality of POI data with similar name information, such as "XX square north 1 gate", "XX square north 2 gate", "XX square south 1 gate", "XX square parking lot", and the like, so as to avoid similarity ranking fluctuation caused by different search mechanisms of the map system of the vehicle machine, and the ranking threshold is corresponding to a larger value, so that the fault tolerance capability of the test method of the map system of the vehicle machine can be improved, and the test efficiency is improved.
In this embodiment, the implementation manner of step S301 to step S304 is the same as the implementation manner of step S201 to step S204 in the embodiment shown in fig. 4 of the present invention, and will not be described in detail here.
Fig. 9 is a flowchart of a vehicle map system testing method according to a fourth embodiment of the present invention, and as shown in fig. 9, the vehicle map system testing method according to the present embodiment adds a step of checking position information of POI data after step S308 on the basis of the vehicle map system testing method according to the embodiment of fig. 6, and the vehicle map system testing method according to the present embodiment includes the following steps:
In step S401, sample POI data is acquired.
Step S402, corresponding test parameters are determined according to the sample POI data.
Step S403, according to the sample POI data and the corresponding test parameters, generating the corresponding test cases.
And step S404, according to the test case, a search instruction is sent to the vehicle map system.
Step S405, receiving a search result corresponding to the sample POI data returned by the vehicle map system, where the search result includes at least one piece of first candidate POI data.
In step S406, each first candidate POI data is acquired.
Step S407, sample name information and alternative name information are acquired.
In step S408, similarity detection is performed on the sample name information and each candidate name information.
Step S409, sorting the candidate name information according to the similarity between the candidate name information and the sample name information to obtain a candidate name information sequence.
In step S410, if the first N items of the candidate name information sequence include sample name information, the POI data in the map system of the vehicle is determined to be qualified.
Optionally, the first candidate POI data further includes candidate position information, the sample POI data further includes sample position information, and the test parameter further includes a distance threshold corresponding to the sample POI data.
In step S411, second candidate POI data corresponding to the sample name information is determined from the respective first candidate POI data.
Specifically, the similarity between the candidate name information of the second candidate POI data and the sample name information of the sample POI data is higher than a preset similarity threshold, i.e. the candidate name information of the second candidate POI data and the sample name information of the sample POI data can be considered to be consistent.
Step S412, obtaining alternative location information corresponding to the second alternative POI data.
In step S413, a distance from the candidate position to the sample position of the sample POI data is calculated.
Optionally, the candidate position is a position corresponding to the candidate position information, the sample position is a position corresponding to the sample position information, the candidate position information and the sample position information are both expressed in terms of longitude and latitude, for example, the sample position information is 116.890963/40.031947, wherein 116.890963 is longitude and 40.031947 is latitude. From the latitude and longitude information of the alternative location and the sample location, a distance of the alternative location and the sample location may be determined.
In step S414, if the distance is greater than the distance threshold, the POI data in the vehicle map system is determined to be unqualified.
When the distance is greater than the distance threshold, the second candidate POI data and the name information of the sample POI data determined in step S411 are recognized as different POI data even if they agree, and thus, the in-vehicle POI data is determined as failed.
In the step of the embodiment, the distance between the candidate position and the sample position of the sample POI data is calculated, and compared with the distance threshold value to determine whether the POI data in the vehicle map system is qualified, so that the position information verification of the POI data is increased, and the accuracy of the vehicle map system testing method is further improved.
In step S415, the sample POI data is marked as unqualified POI data.
Step S416, outputting unqualified POI data.
In this embodiment, the implementation manners of steps S401 to S410 are the same as the implementation manners of steps S301 to S308 in the embodiment of fig. 6, and the implementation manners of steps S415 to S416 are the same as the implementation manners of steps S207 to S208 in the embodiment of fig. 3, and are not described in detail herein.
Fig. 10 is a schematic structural diagram of a vehicle map system testing device according to an embodiment of the present invention, and as shown in fig. 10, the vehicle map system testing device 5 according to the present embodiment includes:
the POI data acquisition module 51 is configured to acquire sample POI data.
The test parameter determining module 52 is configured to determine corresponding test parameters according to the sample POI data.
The test case generation module 53 is configured to generate a corresponding test case according to the sample POI data and the corresponding test parameter.
The POI data determining module 54 tests the vehicle map system according to the test case to determine whether the POI data in the vehicle map system is acceptable.
Optionally, the POI data determining module 54 is specifically configured to:
and sending a search instruction to the vehicle map system according to the test case.
And receiving search results corresponding to the sample POI data returned by the vehicle map system.
And determining whether the POI data in the vehicle-to-machine map system is qualified according to the search result.
Optionally, the POI data determining module 54 is specifically configured to, when determining whether the POI data in the vehicle map system is acceptable according to the search result:
and if the search result is empty, determining the POI data in the vehicle map system as unqualified.
Optionally, the search result includes at least one piece of first candidate POI data, and the POI data determining module 54 is specifically configured to, when determining whether the POI data in the vehicle map system is qualified according to the search result:
and acquiring the first candidate POI data.
And comparing and detecting the first candidate POI data according to the sample POI data.
And determining whether POI data in the vehicle map system are qualified or not according to the comparison detection result.
Optionally, the sample POI data includes sample name information, the first candidate POI data includes candidate name information, and the POI data determining module 54 includes, when comparing and detecting the first candidate POI data according to the sample POI data:
Sample name information and alternative name information are acquired.
And carrying out similarity detection on the sample name information and each candidate name information.
Optionally, the test parameters include a ranking threshold corresponding to the sample POI data, and the POI data determining module 54 when determining whether the POI data in the map system of the vehicle is qualified according to the comparison detection result includes:
and sorting the candidate name information according to the similarity of the candidate name information and the sample name information so as to obtain a candidate name information sequence.
And if the first N items of the alternative name information sequence comprise sample name information, determining that POI data in the vehicle map system are qualified.
Where N is the ranking threshold.
Optionally, the first candidate POI data further includes candidate location information, the sample POI data further includes sample location information, the test parameter further includes a distance threshold corresponding to the sample POI data, and the POI data determining module 54 is specifically configured to, after determining that the POI data in the vehicle map system is qualified:
determining second candidate POI data corresponding to the sample name information from the first candidate POI data;
and acquiring alternative position information corresponding to the second alternative POI data.
A distance is calculated from the candidate location to the sample location of the sample POI data.
And if the distance is greater than the distance threshold, determining the POI data in the vehicle map system as unqualified.
Optionally, the POI data determining module 54 is specifically configured to, after determining the POI data in the vehicle map system as failed:
the sample POI data is marked as unacceptable POI data.
And outputting unqualified POI data.
The POI data acquisition module 51, the test parameter determination module 52, the test case generation module 53, and the POI data determination module 54 are sequentially connected. The vehicle map system testing device 5 provided in this embodiment may execute the vehicle map system testing method provided in any one of the embodiments corresponding to fig. 2 to 9, and its implementation principle and technical effects are similar, and will not be described here again.
Fig. 11 is a schematic diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 11, where the electronic device provided in the embodiment includes: memory 61, processor 62 and computer program.
The computer program is stored in the memory 61 and is configured to be executed by the processor 62 to implement the vehicle map system testing method provided in any of the embodiments corresponding to fig. 2-9 of the present invention.
Wherein the memory 61 and the processor 62 are connected by a bus 63.
The relevant descriptions and effects corresponding to the steps in the embodiments corresponding to fig. 2 to fig. 9 may be understood correspondingly, and are not described in detail herein.
An embodiment of the present invention provides a computer readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the vehicle map system testing method provided in any of the embodiments corresponding to fig. 2 to 9 of the present invention.
The computer readable storage medium may be, among other things, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. A method for testing a vehicle map system, wherein the vehicle map system comprises at least one piece of POI data, the method comprising:
acquiring sample POI data;
determining corresponding test parameters according to the sample POI data;
generating a corresponding test case according to the sample POI data and the corresponding test parameters;
according to the test case, a search instruction is sent to the vehicle map system;
Receiving search results corresponding to sample POI data returned by the vehicle map system;
determining whether POI data in the vehicle-to-machine map system are qualified or not according to the search result;
if the search result is empty, determining POI data in the vehicle-to-machine map system as unqualified;
if the search result comprises at least one piece of first candidate POI data, acquiring each piece of first candidate POI data;
comparing and detecting alternative name information in the first alternative POI data according to sample information name information in the sample POI data;
and determining whether the POI data in the vehicle-to-machine map system is qualified or not according to the comparison detection result.
2. The method according to claim 1, wherein the sample POI data includes therein sample name information, the first candidate POI data includes therein candidate name information, and the comparing and detecting the candidate name information in the first candidate POI data according to the sample information name information in the sample POI data includes:
acquiring the sample name information and the alternative name information;
and carrying out similarity detection on the sample name information and each piece of alternative name information.
3. The method according to claim 1, wherein the test parameters include ranking thresholds corresponding to the sample POI data, and the determining whether the POI data in the vehicle map system is acceptable according to the comparison detection result includes:
sorting the alternative name information according to the similarity of the alternative name information and the sample name information so as to obtain an alternative name information sequence;
if the first N items of the alternative name information sequence comprise the sample name information, determining that POI data in the vehicle map system are qualified;
wherein N is the ranking threshold.
4. The method of claim 3, wherein the first candidate POI data further comprises candidate location information, the sample POI data further comprises sample location information, the test parameter further comprises a distance threshold corresponding to the sample POI data, and after the determining that the POI data in the vehicle map system is acceptable, further comprises:
determining second candidate POI data corresponding to the sample name information from the first candidate POI data;
acquiring alternative position information corresponding to the second alternative POI data;
Calculating the distance between the candidate position and the sample position of the sample POI data;
and if the distance is greater than the distance threshold, determining the POI data in the vehicle-to-machine map system as unqualified.
5. The method according to claim 1 or 4, further comprising, after said determining the in-vehicle map system POI data as failed:
marking the sample POI data as unqualified POI data;
and outputting the unqualified POI data.
6. A vehicle map system testing apparatus, the vehicle map system including at least one piece of POI data therein, the apparatus comprising:
the POI data acquisition module is used for acquiring sample POI data;
the test parameter determining module is used for determining corresponding test parameters according to the sample POI data;
the test case generation module is used for generating a corresponding test case according to the sample POI data and the corresponding test parameters;
the POI data determining module is used for testing the vehicle-to-machine map system according to the test case so as to determine whether POI data in the vehicle-to-machine map system are qualified or not;
the POI data determining module is specifically configured to:
According to the test case, a search instruction is sent to the vehicle map system;
receiving search results corresponding to sample POI data returned by the vehicle map system;
determining whether POI data in the vehicle-to-machine map system are qualified or not according to the search result;
if the search result is empty, determining POI data in the vehicle-to-machine map system as unqualified;
if the search result comprises at least one piece of first candidate POI data, acquiring each piece of first candidate POI data;
comparing and detecting alternative name information in the first alternative POI data according to sample information name information in the sample POI data;
and determining whether the POI data in the vehicle-to-machine map system is qualified or not according to the comparison detection result.
7. An electronic device, comprising: a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the vehicle map system testing method of any one of claims 1-6.
8. A computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, which when executed by a processor are adapted to implement the vehicle map system testing method of any one of claims 1 to 6.
CN202010152607.7A 2020-03-06 2020-03-06 Vehicle map system testing method and device, electronic equipment and storage medium Active CN111309843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010152607.7A CN111309843B (en) 2020-03-06 2020-03-06 Vehicle map system testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010152607.7A CN111309843B (en) 2020-03-06 2020-03-06 Vehicle map system testing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111309843A CN111309843A (en) 2020-06-19
CN111309843B true CN111309843B (en) 2023-09-05

Family

ID=71145526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010152607.7A Active CN111309843B (en) 2020-03-06 2020-03-06 Vehicle map system testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111309843B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108287786A (en) * 2017-01-09 2018-07-17 北京四维图新科技股份有限公司 A kind of automated testing method and device and hybrid navigation system based on map
CN112015845B (en) * 2020-09-29 2024-02-06 北京百度网讯科技有限公司 Method, device, equipment and storage medium for map retrieval test

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165162A (en) * 2018-08-31 2019-01-08 北京车和家信息技术有限公司 A kind of test method and relevant device of onboard system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8681022B2 (en) * 2011-02-02 2014-03-25 Mapquest, Inc. Systems and methods for generating electronic map displays with points-of-interest based on density thresholds
CN108446280A (en) * 2017-02-06 2018-08-24 北京嘀嘀无限科技发展有限公司 Data-updating method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165162A (en) * 2018-08-31 2019-01-08 北京车和家信息技术有限公司 A kind of test method and relevant device of onboard system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王崇霞.根据用例设计测试用例.电脑开发与应用.2005,(10),全文. *

Also Published As

Publication number Publication date
CN111309843A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
EP3620926A1 (en) Method and apparatus for testing autonomous vehicle, and storage medium
JP6205030B2 (en) How to locate train events on the rail network
CN111309843B (en) Vehicle map system testing method and device, electronic equipment and storage medium
CN102272552A (en) Systems and methods for processing information related to a geographic region
CN109596145B (en) Dynamic test method and system for vehicle navigation
CN109635053B (en) Map quality inspection method, device, system and storage medium
US20180148898A1 (en) Road state management apparatus and method
US20100299057A1 (en) Method and apparatus for verifying route in route verification system
EP3789797A1 (en) Method and apparatus for evaluating data, device, and computer-readable storage medium
CN114296105B (en) Method, device, equipment and storage medium for determining positioning fault cause
KR20190098712A (en) Method and apparatus for providing raw correction data for correcting atmospheric disturbances for satellite navigation, and method and apparatus for determining correction data for correcting atmospheric disturbances for satellite navigation
CN102597952B (en) Software library rebuilds apparatus and method and utilizes the guider of these apparatus and method
CN113758492A (en) Map detection method and device
CN103791908A (en) Method for updating data set of navigation database for navigation of vehicles, involves recording feedback messages regarding data set, and adapting attribute in data set if preset number of feedback messages indicates error of attribute
CN103454659A (en) Method and device for assisting in adjusting moving direction in navigation
US20230273047A1 (en) Method and Apparatus for Providing a High-Resolution Digital Map
CN113048988B (en) Method and device for detecting change elements of scene corresponding to navigation map
CN113063426B (en) Position information determining method and device
CN112013854B (en) High-precision map inspection method and device
CN113968239A (en) Traffic information prompting method and device, electronic equipment and storage medium
CN111506678B (en) Arrival point negative sample generation method, device and equipment
CN115457769B (en) Data correction method, device, equipment and readable storage medium
US20230042482A1 (en) Server, method, and non-transitory computer readable medium
CN115437951A (en) Simulation test method, electronic device, and program product
CN117346814A (en) Test method, device, equipment, storage medium and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant