CN115544088A - Address information query method and device, electronic equipment and storage medium - Google Patents

Address information query method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115544088A
CN115544088A CN202211201226.9A CN202211201226A CN115544088A CN 115544088 A CN115544088 A CN 115544088A CN 202211201226 A CN202211201226 A CN 202211201226A CN 115544088 A CN115544088 A CN 115544088A
Authority
CN
China
Prior art keywords
preset
longitude
address information
matching result
latitude coordinate
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
CN202211201226.9A
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.)
Chery Automobile Co Ltd
Lion Automotive Technology Nanjing Co Ltd
Wuhu Lion Automotive Technologies Co Ltd
Original Assignee
Chery Automobile Co Ltd
Lion Automotive Technology Nanjing Co Ltd
Wuhu Lion Automotive Technologies 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 Chery Automobile Co Ltd, Lion Automotive Technology Nanjing Co Ltd, Wuhu Lion Automotive Technologies Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN202211201226.9A priority Critical patent/CN115544088A/en
Publication of CN115544088A publication Critical patent/CN115544088A/en
Pending legal-status Critical Current

Links

Images

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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • 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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • 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/23Updating
    • 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/248Presentation of query results
    • 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

Abstract

The application relates to the technical field of address resolution, in particular to an address information query method, an address information query device, electronic equipment and a storage medium, wherein the method comprises the following steps: and acquiring longitude and latitude coordinate information of the target data, using the longitude and latitude coordinate information as an index, inquiring a preset map database stored in the vehicle terminal to obtain a matching result, taking the matching result as an optimal matching result if the matching result meets a preset optimal condition, and determining first address information corresponding to the target data, otherwise, calling preset inquiry software to perform geographic inverse coding analysis on the longitude and latitude coordinate information to obtain second address information corresponding to the target data. Therefore, the problems that information calling precision is low, the range is limited, and calling is carried out for multiple times during external calling in the related technology, so that data analysis cost is high and the like are solved.

Description

Address information query method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of address resolution technologies, and in particular, to an address information query method and apparatus, an electronic device, and a storage medium.
Background
With the continuous improvement of the internet of vehicles data information acquisition technology, the sensing technology and the information data capturing technology are generally applicable to the travel, and the acquired map data information has more applications in the aspects of service analysis, travel track drawing and the like. However, the map data information obtained by the sensing technology and the information data capturing technology is the original longitude and latitude geographic coordinate information, and at this time, the longitude and latitude geographic coordinate information needs to be converted into actual text address information, so that mining and application are performed to realize service prediction of the internet of vehicles, and the maximum benefit of data processing is brought into play.
In the related technology, the method for converting longitude and latitude geographic coordinate information into actual text address information mainly includes the following two steps of performing matching calculation according to the obtained longitude and latitude geographic coordinate information and a national geographic longitude and latitude information base and calling an external map service provider API (Application Programming Interface) to perform geographic information inverse coding.
However, the two methods can only refine the converted text address information to province, city and district information, thereby causing limited service application and poor accuracy; meanwhile, the external call is paid call, and the data analysis cost is high.
Disclosure of Invention
The application provides an address information query method, an address information query device, electronic equipment and a storage medium, and aims to solve the problems that information calling precision is low, the range is limited, multiple times of external calling can be carried out, and accordingly data analysis cost is high in the related art.
An embodiment of a first aspect of the present application provides an address information query method, including the following steps:
acquiring longitude and latitude coordinate information of target data;
inquiring a preset map database stored in a vehicle terminal by taking the longitude and latitude coordinate information as an index to obtain a matching result, and judging whether the matching result meets a preset optimal condition; and
and if the preset optimal condition is met, taking the matching result as an optimal matching result, determining first address information corresponding to the target data based on the optimal matching result, and otherwise, calling preset query software to perform geographic inverse coding analysis on the longitude and latitude coordinate information to obtain second address information corresponding to the target data.
According to an embodiment of the present application, when the preset optimal condition is not satisfied, the method further includes:
and storing the longitude and latitude coordinate information and the second address information into the preset map database.
According to an embodiment of the present application, the querying a preset map database stored in a vehicle terminal by using the longitude and latitude coordinate information as an index to obtain a matching result, and determining whether the matching result meets a preset optimal condition includes:
analyzing the identification of the longitude and latitude coordinate information;
calculating the distance between at least one piece of historical address information corresponding to the identifier in a preset map database and the longitude and latitude coordinate information;
determining at least one matching result according to the distance between the historical address information and each piece of historical address information;
judging whether the distance of the at least one matching result is greater than a preset threshold value or not;
and if the current value is larger than the preset threshold value, judging that the preset optimal condition is met.
According to an embodiment of the present application, before invoking the preset query software to perform the geocoding analysis on the longitude and latitude coordinate information, the method further includes:
and generating an input file according to the longitude and latitude coordinate information and the file requirement of the preset inquiry software.
According to an embodiment of the present application, the above address information query method further includes:
and updating the data in the preset map database every preset time or receiving an updating instruction.
According to the address information query method, longitude and latitude coordinate information of target data is collected and used as an index, a preset map database stored in a vehicle terminal is queried to obtain a matching result, if the matching result meets a preset optimal condition, the matching result is used as an optimal matching result, first address information corresponding to the target data is determined, and otherwise, preset query software is called to perform geographic inverse coding analysis on the longitude and latitude coordinate information to obtain second address information corresponding to the target data. Therefore, the problems that information calling precision is low, the range is limited, and calling is carried out for multiple times during external calling in the related technology, so that data analysis cost is high and the like are solved.
An embodiment of a second aspect of the present application provides an address information query apparatus, including:
the acquisition module is used for acquiring longitude and latitude coordinate information of the target data;
the query module is used for querying a preset map database stored in the vehicle terminal by taking the longitude and latitude coordinate information as an index to obtain a matching result and judging whether the matching result meets a preset optimal condition or not; and
and the matching module is used for taking the matching result as an optimal matching result if the preset optimal condition is met, determining first address information corresponding to the target data based on the optimal matching result, and otherwise calling preset inquiry software to perform geographic inverse coding analysis on the longitude and latitude coordinate information to obtain second address information corresponding to the target data.
According to an embodiment of the present application, when the preset optimal condition is not satisfied, the method further includes:
and storing the longitude and latitude coordinate information and the second address information to the preset map database.
According to an embodiment of the present application, the query module is specifically configured to:
analyzing the identification of the longitude and latitude coordinate information;
calculating the distance between at least one piece of historical address information corresponding to the identifier in a preset map database and the longitude and latitude coordinate information;
determining at least one matching result according to the distance between the historical address information and each piece of historical address information;
judging whether the distance of the at least one matching result is greater than a preset threshold value or not;
and if the current value is larger than the preset threshold value, judging that the preset optimal condition is met.
According to an embodiment of the application, before the preset query software is called to perform the geographic inverse coding analysis on the latitude and longitude coordinate information, the matching module is further configured to:
and generating an input file according to the longitude and latitude coordinate information and the file requirement of the preset inquiry software.
According to an embodiment of the present application, the above address information query apparatus is further configured to:
and updating the data in the preset map database every preset time or receiving an updating instruction.
According to the address information inquiry device, longitude and latitude coordinate information of target data is collected and used as an index, a preset map database stored in a vehicle terminal is inquired, a matching result is obtained, if the matching result meets a preset optimal condition, the matching result is used as an optimal matching result, first address information corresponding to the target data is determined, and otherwise, preset inquiry software is called to perform geographic inverse coding analysis on the longitude and latitude coordinate information, and second address information corresponding to the target data is obtained. Therefore, the problems that information calling precision is low, the range is limited, and calling is carried out for multiple times during external calling in the related technology, so that data analysis cost is high and the like are solved.
An embodiment of a third aspect of the present application provides an electronic device, including: the address information query method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the address information query method according to the embodiment.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the program is executed by a processor, so as to implement the address information query method according to the foregoing embodiments.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of an address information query method according to an embodiment of the present application;
FIG. 2 is a flow diagram of address information retrieval according to one embodiment of the present application;
FIG. 3 is a flow diagram of the query module 1, the data parsing module, and the query module 11 according to an embodiment of the present application;
FIG. 4 is a flow diagram of data at a computing module according to one embodiment of the present application;
fig. 5 is an exemplary diagram of an address information query device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and intended to explain the present application and should not be construed as limiting the present application.
An address information query method, an apparatus, an electronic device, and a storage medium according to embodiments of the present application are described below with reference to the drawings. The method comprises the steps of collecting longitude and latitude coordinate information of target data, using the longitude and latitude coordinate information as an index, inquiring a preset map database stored in a vehicle terminal to obtain a matching result, using the matching result as an optimal matching result if the matching result meets a preset optimal condition, determining first address information corresponding to the target data, and calling preset inquiry software to carry out geographic inverse coding analysis on the longitude and latitude coordinate information to obtain second address information corresponding to the target data. Therefore, the problems that information calling precision is low, the range is limited, and calling is carried out for multiple times during external calling in the related technology, so that data analysis cost is high and the like are solved.
Before introducing the embodiment of the present application, first, the related system modules provided in the embodiment of the present application are introduced, which are: the system comprises an input module, a data query module 1, a data analysis module, a data storage module 2, a data query module 11, a data storage module 21, a data recalculation module and a data updating module.
The input module is used for reading an input formatted text, mainly comprises input longitude and latitude two-dimensional coordinate information, is connected into a character string, and is reasonably divided into small-batch concurrent query.
The data query module 1 is configured to query historical data of the VIN (Vehicle Identification Number) code preferentially, retrieve the local map database if historical address information of the VIN code does not exist, and call an external map API data interface to perform payment analysis if the local map database does not have data.
And the data analysis module is used for carrying out hierarchical sequencing on the result data returned by the external map according to the algorithm rule of the sustainable iterative optimization.
And the data storage module 2 is used for storing the sequenced data to a preset map database, storing the queried metadata and ensuring the traceability of historical query analysis.
And the data query module 11 is used for performing the position analysis on the driving geographic information of the VIN code for 15 days, if no optimal matching result exists, preferably querying a preset map database, and in the case of no data, calling an external map payment API data interface for accurate query.
And the data storage module 21 is configured to store the queried geographical inverse coding information in a local database, and store queried metadata to ensure that historical query analysis is traceable.
And the data recalculation module is used for calculating the data stored in the local, and recalculating the historical data whenever the algorithm model has updating iteration, thereby continuously improving the matching degree.
And the data updating module is used for periodically calling an external map API according to a custom time strategy to update the preset map database, so that the accuracy and timeliness of the local data are ensured.
Specifically, fig. 1 is a schematic flowchart of an address information query method provided in an embodiment of the present application.
As shown in fig. 1, the address information query method includes the following steps:
in step S101, latitude and longitude coordinate information of the target data is collected.
Specifically, the embodiment of the application is based on a database technology, and the longitude and latitude coordinate information of target data is inquired in a preset map database in full text through a vehicle T-BOX (Telematics-BOX). The preset map database is a map database of the vehicle terminal, and the longitude and latitude coordinate information is a two-dimensional longitude and latitude coordinate list.
Further, as shown in fig. 2, in the embodiment of the present application, after acquiring the longitude and latitude coordinate information of the target data, data preprocessing, that is, data cleaning, is required to be performed on the longitude and latitude coordinate information, including removing duplicate records, converting the longitude and latitude of the standard coordinate system into the longitude and latitude of the mars coordinate system, processing the connection of two-dimensional coordinates into character strings, and the like.
The longitude and latitude of the standard coordinate System in the embodiment of the present application may adopt WGS84 coordinates, for example, the standard coordinate System is adopted for a GPS (Global Positioning System) Positioning device and hardware; the longitude and latitude of the Mars coordinate system can adopt a national survey bureau coordinate system GCJ-02, such as a Goods map, an Tencent map, an Ouyi interaction map and the like.
In step S102, the longitude and latitude coordinate information is used as an index, a preset map database stored in the vehicle terminal is queried to obtain a matching result, and whether the matching result satisfies a preset optimal condition is determined.
Further, in some embodiments, querying a preset map database stored in the vehicle terminal by using the longitude and latitude coordinate information as an index to obtain a matching result, and determining whether the matching result meets a preset optimal condition, includes: analyzing the identification of the longitude and latitude coordinate information; calculating the distance between at least one piece of historical address information and longitude and latitude coordinate information corresponding to the identifier in a preset map database; determining at least one matching result according to the distance between the historical address information and each piece of historical address information; judging whether the distance of at least one matching result is greater than a preset threshold value or not; and if the threshold value is larger than the preset threshold value, judging that the preset optimal condition is met.
The preset threshold may be a threshold set by a relevant technician, or may be a threshold obtained through multiple simulations by a computer, which is not specifically limited herein.
Specifically, in the embodiment of the application, based on the collected longitude and latitude coordinate information of the target data, an identifier of the longitude and latitude coordinate information, that is, a VIN code, that is, whether VIN code historical address information corresponding to the longitude and latitude coordinate information of the target data in a preset map database exists needs to be queried, if the VIN code exists, a distance between at least one piece of historical address information corresponding to the VIN code in the preset map database and the longitude and latitude coordinate information is further calculated, at least one matching result is determined according to the distance between the longitude and latitude coordinate information and each piece of historical address information, and if the obtained distance of the matching result is greater than a preset threshold, it is determined that the longitude and latitude coordinate information and the corresponding historical address information meet a preset optimal condition.
In step S103, if the preset optimal condition is satisfied, the matching result is used as an optimal matching result, and the first address information corresponding to the target data is determined based on the optimal matching result, otherwise, the preset query software is invoked to perform the geocode analysis on the longitude and latitude coordinate information, so as to obtain the second address information corresponding to the target data.
The preset query software may be a high resolution map, a Baidu map, an Tencent map or other query pieces with a map long training function, and is not limited herein.
Specifically, if the distance between the longitude and latitude coordinate information and each piece of historical address information in the embodiment of the present application satisfies the preset optimal condition, the matching result satisfying the preset optimal condition is selected as the optimal matching result, and the first address information corresponding to the optimal matching result, that is, the historical address information corresponding to the queried optimal VIN code, is returned.
Further, in some embodiments, when the preset optimal condition is not met, the method further includes: and storing the longitude and latitude coordinate information and the second address information into a preset map database.
Specifically, if the VIN code corresponding to the longitude and latitude coordinate information of the target data in the preset map database does not exist in the query, or the matching result meeting the preset optimal condition is not matched according to the distance between the longitude and latitude coordinate information and each piece of historical address information, at this time, the longitude and latitude coordinate query needs to be performed in the full-text map database, if the matching result meeting the preset optimal condition is queried, the historical address information corresponding to the queried optimal VIN code is returned, and if the matching result meeting the preset optimal condition is not queried, the preset query software is called to perform geographic inverse coding analysis on the longitude and latitude coordinate information, so that second address information corresponding to the target data is obtained, and the second address information is stored in the preset map database.
Specifically, if a matching result meeting the preset optimal condition is not queried in the embodiment of the application, the preset query software needs to be additionally called to search and query the longitude and latitude coordinate information of the target data, when the preset query software is called to search and query the longitude and latitude coordinate information, an input file needs to be generated according to the longitude and latitude coordinate information and the file requirement of the preset query software, that is, when the preset query software API is called, the collected longitude and latitude coordinate information needs to be converted into the coordinate meeting the requirement of the data interface of the corresponding preset query software API, and the coordinate is subjected to geographic inverse coding analysis. When the software application layer of the embodiment of the application uses the map API, if the standard coordinate system is directly used for positioning, deviation exists, so that the software application layer can be used only through coordinate system conversion, and the accuracy of longitude and latitude coordinate information is ensured.
Furthermore, after calling an external map to perform inverse coding analysis, the embodiment of the application needs to archive and store returned json original data, analyze corresponding json character strings in a grading manner, and store the json character strings in a preset map database of the vehicle terminal, so that the json original data can be retrieved from the preset map database of the vehicle terminal when the same data is queried next time, repeated query and retrieval can be avoided when VIN codes occur repeatedly, an API can be called for multiple times of payment, and the retrieval efficiency is improved while the cost is saved. Meanwhile, because the GPS signal has certain drift, the matching accuracy can be continuously improved by introducing a machine learning algorithm and the like by combining multiple features according to the service complexity.
It should be noted that, after the external map API is called, the embodiment of the present application generates two types of data: geographical information data such as province, city, district, road, POI (Point of Interest) and the like in the form of returned json files and metadata for calling API, such as calling time, returned status codes and the like, are respectively provided.
Specifically, as shown in fig. 3, first, two kinds of data are respectively stored in different tables of a preset map database of the vehicle terminal, and an association key is designed so that the two parts of data can be associated together; secondly, the two kinds of associated data are transmitted to a data analysis module, and longitude and latitude coordinate information is divided into different intervals so as to improve the retrieval efficiency during full-text retrieval, and the data are ranked and ordered by using a sustainable iterative optimization algorithm, for example, data of an optimal matching result is arranged, the input target data and the data of the optimal matching result are stored into a comparison table established by a preset map database in a one-to-one corresponding combination, so that when the same input data needs to be retrieved subsequently, the comparison table of the preset map database can be inquired preferentially, the matched result is returned directly, and the time and the cost for calling an API are saved.
Further, in the embodiment of the application, after the VIN code of the latitude and longitude coordinate information is queried based on the collected latitude and longitude coordinate information of the target data, the historical geographic information of driving in the last 15 days of the VIN code can be subjected to position analysis, if the optimal matching result is not queried in the preset map database, the preset query software is also called for accurate query, the queried geographic inverse coding information is stored in the preset map database, the queried metadata is stored, and the historical query analysis can be traced.
Further, in some embodiments, the above address information query method further includes: and updating the data in the preset map database every preset time or receiving an updating instruction.
The preset duration may be a time threshold set by a user, a default time threshold of a vehicle system, or a time threshold obtained through multiple simulations by a computer, and is not specifically limited herein.
Specifically, the address information query method according to the embodiment of the application further needs to periodically call the preset query software API to update the preset map database of the vehicle terminal, and upgrade and match the relevant algorithm, so as to continuously improve the accuracy and timeliness of the address information.
Specifically, as shown in fig. 4, which is a flowchart of the data recalculation module in the embodiment of the present application, when the preset map database of the vehicle terminal in the embodiment of the present application receives an update instruction or performs an update algorithm by itself for a preset time (e.g., one month), first, the lookup table established in the preset map database is read, all input data are extracted, and all original return data stored in correspondence to the input data are queried; secondly, sequencing the original return data by using an updated algorithm in sequence, and calculating an optimal matching result by reordering; and finally, comparing whether the updated optimal matching result is consistent with the existing result or not, if so, abandoning the updated optimal matching result, keeping the existing data, and if not, logically deleting the existing data, and then combining and storing the new input data and the new optimal matching result into a comparison table so as to be directly called during subsequent use. By operating the recalculation module, the calling times of the external map are reduced, and the information matching accuracy is continuously improved.
According to the address information query method, longitude and latitude coordinate information of target data is collected and used as an index, a preset map database stored in a vehicle terminal is queried to obtain a matching result, if the matching result meets a preset optimal condition, the matching result is used as an optimal matching result, first address information corresponding to the target data is determined, and otherwise, preset query software is called to perform geographic inverse coding analysis on the longitude and latitude coordinate information to obtain second address information corresponding to the target data. Therefore, the problems that information calling precision is low, the range is limited, and calling is carried out for multiple times during external calling in the related technology, so that data analysis cost is high and the like are solved.
Next, an address information inquiry apparatus proposed according to an embodiment of the present application is described with reference to the drawings.
Fig. 5 is a block diagram illustrating an address information query apparatus according to an embodiment of the present application.
As shown in fig. 5, the address information inquiry apparatus 10 includes: acquisition module 100, query module 200, and matching module 300.
The acquisition module 100 is configured to acquire longitude and latitude coordinate information of the target data;
the query module 200 is used for querying a preset map database stored in the vehicle terminal by using the longitude and latitude coordinate information as an index to obtain a matching result, and judging whether the matching result meets a preset optimal condition; and
and the matching module 300 is configured to take the matching result as an optimal matching result if a preset optimal condition is met, determine first address information corresponding to the target data based on the optimal matching result, and otherwise, call preset query software to perform inverse geocoding analysis on the longitude and latitude coordinate information to obtain second address information corresponding to the target data.
Further, in some embodiments, when the preset optimal condition is not satisfied, the method is further configured to:
and storing the longitude and latitude coordinate information and the second address information to a preset map database.
Further, in some embodiments, the query module 200 is specifically configured to:
analyzing the identification of the longitude and latitude coordinate information;
calculating the distance between at least one piece of historical address information and longitude and latitude coordinate information corresponding to the identifier in a preset map database;
determining at least one matching result according to the distance between the historical address information and each piece of historical address information;
judging whether the distance of at least one matching result is greater than a preset threshold value or not;
and if the current value is larger than the preset threshold value, judging that the preset optimal condition is met.
Further, in some embodiments, before invoking the preset query software to perform the geocoding resolution on the latitude and longitude coordinate information, the matching module 300 is further configured to:
and generating an input file according to the longitude and latitude coordinate information and the file requirement of preset inquiry software.
Further, in some embodiments, the address information query device 10 is further configured to:
and updating data in the preset map database every preset time or receiving an updating instruction.
According to the address information inquiry device, longitude and latitude coordinate information of target data is collected and used as an index, a preset map database stored in a vehicle terminal is inquired, a matching result is obtained, if the matching result meets a preset optimal condition, the matching result is used as an optimal matching result, first address information corresponding to the target data is determined, and otherwise, preset inquiry software is called to perform geographic inverse coding analysis on the longitude and latitude coordinate information, and second address information corresponding to the target data is obtained. Therefore, the problems that information calling precision is low, the range is limited, and calling is carried out for multiple times during external calling in the related technology, so that data analysis cost is high and the like are solved.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may include:
a memory 601, a processor 602, and a computer program stored on the memory 601 and executable on the processor 602.
The processor 602 executes the program to implement the address information query method provided in the above-described embodiments.
Further, the electronic device further includes:
a communication interface 603 for communicating between the memory 601 and the processor 602.
The memory 601 is used for storing computer programs that can be run on the processor 602.
Memory 601 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 601, the processor 602 and the communication interface 603 are implemented independently, the communication interface 603, the memory 601 and the processor 602 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 601, the processor 602, and the communication interface 603 are integrated into a chip, the memory 601, the processor 602, and the communication interface 603 may complete mutual communication through an internal interface.
The processor 602 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the above address information query method.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or N wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. An address information query method is characterized by comprising the following steps:
acquiring longitude and latitude coordinate information of target data;
inquiring a preset map database stored in a vehicle terminal by taking the longitude and latitude coordinate information as an index to obtain a matching result, and judging whether the matching result meets a preset optimal condition; and
and if the preset optimal condition is met, taking the matching result as an optimal matching result, determining first address information corresponding to the target data based on the optimal matching result, and otherwise, calling preset query software to perform geographic inverse coding analysis on the longitude and latitude coordinate information to obtain second address information corresponding to the target data.
2. The method according to claim 1, further comprising, when the preset optimal condition is not satisfied:
and storing the longitude and latitude coordinate information and the second address information to the preset map database.
3. The method according to claim 1, wherein the querying a preset map database stored in a vehicle terminal by using the longitude and latitude coordinate information as an index to obtain a matching result, and judging whether the matching result meets a preset optimal condition comprises:
analyzing the identification of the longitude and latitude coordinate information;
calculating the distance between at least one piece of historical address information corresponding to the identifier in a preset map database and the longitude and latitude coordinate information;
determining at least one matching result according to the distance between the historical address information and each piece of historical address information;
judging whether the distance of the at least one matching result is greater than a preset threshold value or not;
and if the current value is larger than the preset threshold value, judging that the preset optimal condition is met.
4. The method of claim 1, before invoking the pre-set query software to perform the geocoding resolution on the longitude and latitude coordinate information, further comprising:
and generating an input file according to the longitude and latitude coordinate information and the file requirement of the preset inquiry software.
5. The method according to any one of claims 1-4, further comprising:
and updating the data in the preset map database every preset time or receiving an updating instruction.
6. An address information inquiry apparatus, comprising:
the acquisition module is used for acquiring longitude and latitude coordinate information of the target data;
the query module is used for querying a preset map database stored in the vehicle terminal by taking the longitude and latitude coordinate information as an index to obtain a matching result and judging whether the matching result meets a preset optimal condition or not; and
and the matching module is used for taking the matching result as an optimal matching result if the preset optimal condition is met, determining first address information corresponding to the target data based on the optimal matching result, and otherwise calling preset inquiry software to perform geographic inverse coding analysis on the longitude and latitude coordinate information to obtain second address information corresponding to the target data.
7. The apparatus of claim 6, further configured to, when the preset optimal condition is not satisfied:
and storing the longitude and latitude coordinate information and the second address information to the preset map database.
8. The apparatus of claim 6, wherein the query module is specifically configured to:
analyzing the identification of the longitude and latitude coordinate information;
calculating the distance between at least one piece of historical address information corresponding to the identifier in a preset map database and the longitude and latitude coordinate information;
determining at least one matching result according to the distance between the historical address information and each piece of historical address information;
judging whether the distance of the at least one matching result is greater than a preset threshold value or not;
and if the current value is larger than the preset threshold value, judging that the preset optimal condition is met.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor executing the program to implement the address information query method according to any one of claims 1 to 5.
10. A computer-readable storage medium on which a computer program is stored, the program being executed by a processor for implementing the address information querying method according to any one of claims 1 to 5.
CN202211201226.9A 2022-09-29 2022-09-29 Address information query method and device, electronic equipment and storage medium Pending CN115544088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211201226.9A CN115544088A (en) 2022-09-29 2022-09-29 Address information query method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211201226.9A CN115544088A (en) 2022-09-29 2022-09-29 Address information query method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115544088A true CN115544088A (en) 2022-12-30

Family

ID=84732257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211201226.9A Pending CN115544088A (en) 2022-09-29 2022-09-29 Address information query method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115544088A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115840732A (en) * 2023-01-30 2023-03-24 北京四维图新科技股份有限公司 Method, device and equipment for determining target object in special area in map
CN116842120A (en) * 2023-07-04 2023-10-03 广东星云开物科技股份有限公司 Address information acquisition system, device, storage medium and method for equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115840732A (en) * 2023-01-30 2023-03-24 北京四维图新科技股份有限公司 Method, device and equipment for determining target object in special area in map
CN115840732B (en) * 2023-01-30 2023-05-23 北京四维图新科技股份有限公司 Method, device and equipment for determining target object in special area in map
CN116842120A (en) * 2023-07-04 2023-10-03 广东星云开物科技股份有限公司 Address information acquisition system, device, storage medium and method for equipment
CN116842120B (en) * 2023-07-04 2024-04-19 广东星云开物科技股份有限公司 Address information acquisition system, device, storage medium and method for equipment

Similar Documents

Publication Publication Date Title
US9880012B2 (en) Hybrid road network and grid based spatial-temporal indexing under missing road links
CN109376761B (en) Address identification and longitude and latitude mining method and device thereof
CN115544088A (en) Address information query method and device, electronic equipment and storage medium
CN107590123B (en) Vehicular middle-location context reference resolution method and device
CN102693266A (en) Method of searching a data base, navigation device and method of generating an index structure
US8532922B2 (en) Method for simplifying a description of a route of travel
CN111382212B (en) Associated address acquisition method and device, electronic equipment and storage medium
CN109947881B (en) POI weight judging method and device, mobile terminal and computer readable storage medium
CN103714092A (en) Geographic position searching method and geographic position searching device
CN111026978A (en) Position query method and device, computer equipment and storage medium
CN106251164A (en) Method and system are recommended at a kind of scenic spot
JPWO2019069505A1 (en) Information processing device, join condition generation method and join condition generation program
CN110968791A (en) Data processing method, device and equipment for goods source route and storage medium
CN111931077A (en) Data processing method and device, electronic equipment and storage medium
CN111427976B (en) Road freshness obtaining method and device
WO2020005594A1 (en) Geocode interpolation
US7836047B2 (en) Method for assignment of point level address geocodes to street networks
CN110377805B (en) Sensor resource recommendation method based on rapid branch allocation and sorting algorithm
CN112148819A (en) Address recognition method and device combining RPA and AI
CN114513550B (en) Geographic position information processing method and device and electronic equipment
JP4510792B2 (en) LOCATION ANALYSIS DEVICE, LOCATION ANALYSIS METHOD, ITS PROGRAM, AND RECORDING MEDIUM
CN107391728B (en) Data mining method and data mining device
US9436715B2 (en) Data management apparatus and data management method
CN112100307B (en) Data processing method, path-finding processing device and electronic equipment
CN108920749B (en) Pipeline two-dimensional and three-dimensional data updating method and device and computer readable storage medium

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