CN115712783A - Map-based enterprise information query method, apparatus, device and medium - Google Patents
Map-based enterprise information query method, apparatus, device and medium Download PDFInfo
- Publication number
- CN115712783A CN115712783A CN202211299386.1A CN202211299386A CN115712783A CN 115712783 A CN115712783 A CN 115712783A CN 202211299386 A CN202211299386 A CN 202211299386A CN 115712783 A CN115712783 A CN 115712783A
- Authority
- CN
- China
- Prior art keywords
- information
- enterprise
- map
- longitude
- latitude
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000012216 screening Methods 0.000 claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 17
- 230000002159 abnormal effect Effects 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000015556 catabolic process Effects 0.000 claims description 3
- 238000006731 degradation reaction Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 26
- 230000003993 interaction Effects 0.000 abstract description 19
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012946 outsourcing Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a map-based enterprise information query method, a map-based enterprise information query device, a map-based enterprise information query equipment and a map-based enterprise information query medium. The method comprises the following steps: determining target longitude and latitude information corresponding to the target address information from a map; establishing an enterprise index according to the target longitude and latitude information and the screening condition, and determining matched enterprise abstract information from a bank internal search engine according to the enterprise index; the internal search engine of the bank is established according to the enterprise abstract information collected in advance; marking the enterprise abstract information in a map according to the longitude and latitude information of the enterprise in the enterprise abstract information; and determining the enterprise detail information from an OLTP database in the bank according to the enterprise ID information so as to query the corresponding enterprise detail information according to the longitude and latitude information in the map. According to the technical scheme, the problem of data leakage risks generated in the interaction process of the enterprise information and the extraterrestrial maps is solved, and accurate and efficient enterprise information query based on the maps is realized.
Description
Technical Field
The invention relates to the technical field of internet information processing, in particular to a map-based enterprise information query method, a map-based enterprise information query device, a map-based enterprise information query equipment and a map-based enterprise information query medium.
Background
The social progress represented by the development of information technology, the accumulation of data information increases at a progression speed, the development of network technology promotes the propagation and accumulation of information, and internet search and big data analysis become popular in current internet applications. The extraordinarily purchased map platform service is similar to the map function used by the internet, and the access to the map data in the bank intranet can be realized through the gateway. In the interaction process of the bank enterprise information inquiry system and an outsourcing map platform, data privacy protection needs to be paid particular attention to, so that the combined use of the out-of-line map data and the in-line enterprise data becomes a difficult problem.
In the existing enterprise information map query scheme, the defects are as follows: 1. the in-line enterprise sensitive information needs to be interacted with an out-of-line system, although encrypted transmission exists, physical contact with the internet exists, encryption is easy to occur and crack, and data leakage is caused; 2. the map enterprise query of the bank enterprise information query system is realized through a map platform, and a large amount of data is carried across a gateway, so that the query performance is reduced; thirdly, when the service is upgraded, if the requirement changes, the query interfaces of the intra-row system and the extra-row graph platform need to be frequently modified, so that the maintenance cost is high, and the flexibility is poor.
Therefore, how to avoid the risk of data leakage in the interaction process of the enterprise information and the foreign map and accurately and efficiently query the enterprise information based on the external map are very important.
Disclosure of Invention
The invention provides a map-based enterprise information query method, a map-based enterprise information query device and a map-based enterprise information query medium, which are used for solving the problem of data leakage risk in the interaction process of enterprise information and an extraterrestrial map and realizing accurate and efficient map-based enterprise information query.
According to an aspect of the present invention, there is provided a map-based enterprise information query method, the method including:
determining target longitude and latitude information corresponding to the target address information from a map; wherein the destination address information comprises enterprise address information;
creating an enterprise index according to the target longitude and latitude information and screening conditions, and determining matched enterprise abstract information from a bank internal search engine according to the enterprise index; the internal search engine of the bank is established according to pre-collected enterprise abstract information, wherein the enterprise abstract information at least comprises enterprise ID information and corresponding enterprise longitude and latitude information;
marking the enterprise summary information in the map according to the longitude and latitude information of the enterprises in the enterprise summary information;
and determining enterprise detail information from an OLTP database in a bank according to the enterprise ID information so as to query the corresponding enterprise detail information according to the longitude and latitude information in the map.
According to another aspect of the present invention, there is provided a map-based business information query apparatus, the apparatus including:
the first information determining module is used for determining target longitude and latitude information corresponding to the target address information from a map; wherein the destination address information comprises enterprise address information;
the second information determining module is used for creating an enterprise index according to the target longitude and latitude information and the screening condition and determining matched enterprise abstract information from a bank internal search engine according to the enterprise index; the internal search engine of the bank is established according to pre-collected enterprise summary information, wherein the enterprise summary information at least comprises enterprise ID information and corresponding enterprise longitude and latitude information;
the marking module is used for marking the enterprise abstract information in the map according to the longitude and latitude information of the enterprise in the enterprise abstract information;
and the query module is used for determining the enterprise detail information from an OLTP database in the bank according to the enterprise ID information so as to query the corresponding enterprise detail information according to the enterprise ID information in the map.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a map-based business information query method according to any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the map-based enterprise information query method according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, the target longitude and latitude information corresponding to the target address information is determined from the map; establishing an enterprise index according to the target longitude and latitude information and the screening condition, and determining matched enterprise abstract information from a bank internal search engine according to the enterprise index; the internal search engine of the bank is established according to the enterprise abstract information collected in advance; marking the enterprise abstract information in a map according to the longitude and latitude information of the enterprise in the enterprise abstract information; and determining the enterprise detail information from an OLTP database in the bank according to the enterprise ID information so as to query the corresponding enterprise detail information according to the longitude and latitude information in the map. According to the technical scheme, the problem of data leakage risks generated in the interaction process of the enterprise information and the extraterrestrial maps is solved, and accurate and efficient enterprise information query based on the maps is realized.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a map-based enterprise information query method according to an embodiment of the present invention;
FIG. 2 is a timing diagram of a map-based enterprise information query method suitable for implementing embodiments of the present invention;
FIG. 3 is a block diagram of a map-based enterprise information query, to which embodiments of the present invention are applicable;
fig. 4 is a schematic structural diagram of a map-based enterprise information query device according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device implementing a map-based enterprise information query method according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and "object" and the like in the description and claims of the invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a map-based enterprise information query method according to an embodiment of the present invention, where the present embodiment is applicable to a situation where enterprise information is queried based on a map, and the method may be executed by a map-based enterprise information query device, where the map-based enterprise information query device may be implemented in a form of hardware and/or software, and the map-based enterprise information query device may be configured in an electronic device of the map-based enterprise information query method. As shown in fig. 1, the method includes:
s110, determining target longitude and latitude information corresponding to the target address information from a map; wherein the destination address information comprises enterprise address information.
The target address information may be location information related to the address of the business queried by the user. The target latitude and longitude information may be information that uniquely represents the location of the business on a map. The business address information may be information representing the location of the business.
Specifically, target address information is obtained and preprocessed, so that the completeness and accuracy of the target address information are ensured, the target longitude and latitude information corresponding to the target address information can be found from a map by referring to the target address information, the accuracy of the target longitude and latitude information is ensured, and the corresponding enterprise detail information can be conveniently and accurately inquired through the target longitude and latitude information in the follow-up process
In a possible embodiment, optionally, the destination address information further includes information of a location where the user is located; then, the accurate longitude and latitude information of the target needs to be obtained by processing the position information of the user, and the specific process is as follows: and carrying out map code system conversion on the position information of the user according to the longitude and latitude specifications in the map to obtain the target longitude and latitude information. For example, referring to fig. 2, in response to a request for location information of a user, if a code system of the location information of the user is different from a map code system, map code system conversion needs to be performed on the location information of the user according to a longitude and latitude specification of a map, so that target longitude and latitude information corresponding to the location information of the user can be correctly found in the map, and accurate determination of the target longitude and latitude information is realized.
According to the technical scheme, map code system conversion is carried out on the position information of the user by utilizing the longitude and latitude specifications in the map, so that information transmission errors caused by different code systems are avoided, the target longitude and latitude information is inaccurate, and the accurate determination of the target longitude and latitude information is realized.
In a possible embodiment, optionally, determining the target longitude and latitude information corresponding to the target address information from the map includes:
and if the longitude and latitude information corresponding to the target address information is more than one, expanding the target address information until the longitude and latitude information corresponding to the target address information is unique according to the longitude and latitude information determined from the map.
Specifically, if the only latitude and longitude information cannot be determined from the map or the latitude and longitude information cannot be obtained with reference to the target address information, the target address information needs to be expanded probably due to incomplete target address information, and the specific process can be divided into the following steps A1 to A3:
step A1, expanding the target address information into province and city information and address information, and determining the target longitude and latitude information by taking the expanded target address information as reference.
And step A2, if the latitude and longitude information obtained according to the step A1 is not unique or the latitude and longitude information cannot be obtained, expanding the target address information into province and city information, address information and enterprise name information, and determining the target latitude and longitude information again by taking the expanded target address information as a reference.
And step A3, if the longitude and latitude information obtained according to the step A2 is still not unique or cannot be obtained, the data can be discarded due to poor data quality. However, it was found through experiments that the data for this case is less than 1%.
According to the technical scheme, the target longitude and latitude information is continuously determined according to the expanded target address information through expansion of the target address information, so that the uniqueness of the target longitude and latitude information of each enterprise is ensured, the efficiency is improved during query, and the accuracy is improved.
S120, creating an enterprise index according to the target longitude and latitude information and the screening condition, and determining matched enterprise abstract information from a bank internal search engine according to the enterprise index; the internal search engine of the bank is established according to pre-collected enterprise abstract information, wherein the enterprise abstract information at least comprises enterprise ID information and corresponding enterprise longitude and latitude information.
Wherein the screening conditions include at least one of: search distance, business name information, and business registration information. The enterprise abstract information also comprises at least one item of the following items: business name information and business registration information. The corporate index may be the referral information for making the corporate summary information determination.
Specifically, acquiring the longitude and latitude information and the screening condition of a target, and establishing an enterprise index; when the enterprise index is the target longitude and latitude information and the searching distance, calling a search engine in a bank, and performing range query according to the searching distance through the target longitude and latitude information to obtain enterprise name information and enterprise longitude and latitude information which are fixed at a distance near a certain central point, so as to accurately determine the enterprise abstract information, and simultaneously improve the query efficiency, for example, a round range is approximately a square for retrieval, and the query efficiency can reach the ms level under the million-level data volume; when the enterprise index is field information such as enterprise name information and/or enterprise registration information, a search engine in a bank is called, the field information such as the enterprise name information and/or the enterprise registration information is set as a content item of an index field to be searched, the registration age, the registration capital and the like are screened according to the index field, the enterprise name information and the enterprise longitude and latitude information are obtained through sequencing the sequencing field, the enterprise summary information is further accurately determined, and the aggregated digital query is realized. In addition, the enterprise index can also be other guidance information which can be used for searching after the internal search engine of the bank is called, so that the matched enterprise abstract information can be accurately determined through the internal search engine of the bank.
In one possible embodiment, optionally, before the marking the business summary information in the map according to the business longitude and latitude information in the business summary information, the method further includes:
judging whether the search engine in the bank is normal or not;
if not, determining matched enterprise summary information from a degraded index backup in an OLTP database in the bank according to the enterprise index; and the degraded index backup is established according to the pre-collected enterprise summary information.
Optionally, the specific manner of determining whether the search engine in the bank is normal is as follows: firstly, if the enterprise abstract information query time based on a bank internal search engine exceeds a preset threshold value, determining that the bank internal search engine is abnormal; secondly, if the heartbeat signal of the internal search engine of the bank disappears, the internal search engine of the bank is determined to be abnormal; thirdly, if an automatic degradation retrieval request initiated by a user is received, determining that the internal search engine of the bank is abnormal.
Specifically, after it is determined that the bank internal search engine is abnormal, it indicates that the matched enterprise summary information cannot be determined by calling the bank internal search engine, and at this time, the enterprise summary information needs to be searched from the degraded index backup in the bank internal OLTP database according to the enterprise index to determine accurate enterprise summary information. In addition, only the core information is in the degraded index backup, and the data volume is small, so that the occupied space is small, and the whole index efficiency is not reduced.
According to the technical scheme, whether the search engine in the bank is normal or not is judged, and when the search engine in the bank is abnormal, local query service can be provided in time, namely, matched enterprise summary information is determined from the degraded index backup in the OLTP database in the bank, so that the problem that query interruption is caused when the search engine in the bank is abnormal and information query is influenced is avoided, and further the basic service can be normally carried out.
S130, marking the enterprise abstract information in the map according to the longitude and latitude information of the enterprise in the enterprise abstract information.
Specifically, the enterprise abstract information is obtained, at this time, the enterprise longitude and latitude information in the enterprise abstract information is the information uniquely identifying the enterprise address, in order to ensure that the enterprise can be accurately positioned from the longitude and latitude information in the map, the longitude and latitude information of the enterprise on the map needs to be determined according to the longitude and latitude information of the enterprise, and meanwhile, the enterprise abstract information is marked in the map, so that the enterprise detail information can be determined from an OLTP database in a bank through enterprise ID information in the follow-up process.
S140, determining enterprise detail information from an OLTP database in a bank according to the enterprise ID information, and inquiring the corresponding enterprise detail information according to the longitude and latitude information in the map.
The enterprise detail information may refer to information about enterprise trades, judicial expertise, public sentiments, relationships or risks, and the like, which are related to the enterprise and are open to the public.
Specifically, when a user wants to query enterprise information, after information related to an enterprise is acquired, unique address information of the enterprise in a map can be determined according to the information, enterprise summary information can be further acquired from the address on the map, and enterprise detail information is determined from an OLTP database in a bank according to enterprise ID information in the enterprise summary information, so that accurate and efficient query of the enterprise detail information is achieved. In the whole process, only the step of determining the enterprise detail information is needed in the interaction process of the map and the inside of the bank, and sensitive information is not involved in the interaction of other information, so that the sensitive information in the bank is not exposed. In addition, the enterprise detail information is inquired through an OLTP database in the bank, so that the storage space of a search engine in the bank is saved, and meanwhile, the accurate determination of the enterprise detail information is ensured.
In one possible embodiment, optionally, the map-based business information query method further includes:
acquiring incremental enterprise information based on a preset time period;
judging whether the incremental enterprise information comprises address incremental information or not;
if yes, acquiring corresponding updated longitude and latitude information from the map according to the address increment information;
and updating the OLTP database in the bank and the search engine in the bank according to the updated longitude and latitude information and the incremental enterprise information.
Specifically, enterprise data (including bank internal OLTP databases and bank internal search engines) is typically updated in an incremental manner, i.e., the enterprise data is updated based on incremental enterprise information.
For incremental business information, it is generally meant that any field in the business information is changed or that there is an addition of information. In order to reduce the frequency of online access to a map platform and reduce performance pressure, the method needs to perform address increment comparison, acquire longitude and latitude address information by only using address change or newly added data in increments to update the longitude and latitude information, and then update an OLTP database in a bank and a search engine in the bank according to the updated longitude and latitude information and incremental enterprise information so as to ensure the accuracy of the enterprise data and avoid query errors caused by inaccurate data.
According to the technical scheme, the incremental enterprise information is periodically acquired, whether the incremental enterprise information comprises the address incremental information is judged, accurate updated longitude and latitude information is determined through the address incremental information, frequent interaction between platforms is avoided, performance pressure is relieved, and then the OLTP database and the search engine in the bank can be updated according to the updated longitude and latitude information and the incremental enterprise information, so that the accuracy of enterprise data is ensured, and the accurate and efficient query of the enterprise information based on the map is further realized.
According to the technical scheme of the embodiment of the invention, the target longitude and latitude information corresponding to the target address information is determined from the map; establishing an enterprise index according to the target longitude and latitude information and the screening condition, and determining matched enterprise abstract information from a bank internal search engine according to the enterprise index; the internal search engine of the bank is established according to the enterprise abstract information collected in advance; marking the enterprise abstract information in a map according to the longitude and latitude information of the enterprise in the enterprise abstract information; and determining the enterprise detail information from an OLTP database in the bank according to the enterprise ID information so as to query the corresponding enterprise detail information according to the longitude and latitude information in the map. According to the technical scheme, the problem of data leakage risks generated in the interaction process of the enterprise information and the extraterrestrial maps is solved, and accurate and efficient enterprise information query based on the maps is realized.
Example two
Fig. 3 is a structural diagram of enterprise information query based on a map according to the embodiment of the present invention, and the structural diagram describes in detail an implementation process of the map-based enterprise information query method in the present application. The platform of the extra-local graph in the graph is the map of the application, the intra-local search engine is an internal search engine of a bank, the enterprise search in the online display area is enterprise abstract information, and the enterprise detail is checked to be enterprise detailed information. The data processing area is used for processing the acquired enterprise-related information before confirming the enterprise abstract information. The OLTP library is an internal OLTP database of the bank.
Specifically, the process of enterprise information query based on map analysis is as follows: firstly, acquiring information such as enterprise addresses, provinces and cities, analyzing the information through an information processing area to acquire accurate target dimension information, and determining matched enterprise abstract information from a bank internal search engine through enterprise indexes created by target longitude and latitude information and screening conditions; in the process, if the search engine in the bank cannot work normally, a degraded index backup in the OLTP database in the bank, namely the degraded index in fig. 3, is started, so that the matched enterprise summary information is determined from the degraded index backup in the OLTP database in the bank according to the enterprise index, the terminal enterprise information query process is avoided, and the basic query process can be normally completed; after the enterprise abstract information is determined, longitude and latitude information needs to be returned, a request is sent to an extraterrestrial map platform to obtain the position of the longitude and latitude information in a map, and the enterprise abstract information is marked on the corresponding map position; and then determining the enterprise detail information from an OLTP database in the bank through the enterprise ID information in the enterprise abstract information, so that the corresponding enterprise detail information is inquired according to the longitude and latitude information in the map in the whole process.
Optionally, as can also be seen from fig. 3 above, the efficient query method reduces interaction with the extraterrestrial graph platform by separating the retrieval process, the detail query process and the map interaction process. The interaction between the method and the extraterrestrial map platform only carries out the interaction of non-sensitive information such as enterprise addresses, provinces and cities, longitude and latitude, map areas and the like, and the interaction with OLTP is carried out only when the detail information of the enterprise is inquired. The whole process has the following advantages:
firstly, sensitive information in a bank is ensured not to be exposed;
secondly, the information interaction amount is small, and the data transmission efficiency is improved;
thirdly, the design of the device interface corresponding to the method is simple, related data items are few, the service logic displayed on line is isolated from the logic of the interaction of the extra-site map platform, and the improvement of the common service function rarely relates to the transformation of the map interaction interface;
and fourthly, the detail information is realized by an OLTP database, so that the storage space of a search engine is saved, and meanwhile, the performance requirement of detail single information query can be met.
Optionally, the efficiency of actual query is further improved by preprocessing the enterprise address data and acquiring the longitude and latitude in advance, and meanwhile, the query accuracy is improved by querying and screening the longitude and latitude compared with screening by using an enterprise name or an enterprise address.
Optionally, for enterprise search, that is, for enterprise summary information, since the retrieval process only interacts with the inline search engine and does not involve retrieval of the OLTP library, the retrieval efficiency of the retrieval engine can be fully exerted. The three retrieval modes can be provided and combined for use, so that efficient and flexible searching of enterprises is realized, and the searching results are marked on the map. The specific mode can be as follows:
the mode is to search through latitude and longitude information range, such as 5 km range near a certain coordinate position. In order to improve the query efficiency, a circular range is approximately a square for retrieval, and the query efficiency can reach ms level under the condition of million-level data volume;
the second mode is that the enterprise name is searched, and the word segmentation query can be carried out by setting the word segmentation rule;
and the third mode is to perform condition screening, such as registered capital range, established age and the like, wherein each screening condition can realize aggregated numerical query.
According to the technical scheme of the embodiment, the map-based enterprise information query method is further explained in detail in the form of the structure diagram for carrying out enterprise information query based on the map, so that the map-based enterprise information query method and the beneficial effects achieved by the method in the embodiment of the application are more clearly embodied.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an enterprise information query device based on a map according to a second embodiment of the present invention. As shown in fig. 4, the apparatus includes:
a first information determining module 210, configured to determine, from a map, target longitude and latitude information corresponding to the target address information; wherein the destination address information comprises enterprise address information;
the second information determining module 220 is configured to create an enterprise index according to the target longitude and latitude information and the screening condition, and determine matched enterprise abstract information from a bank internal search engine according to the enterprise index; the internal search engine of the bank is established according to pre-collected enterprise summary information, wherein the enterprise summary information at least comprises enterprise ID information and corresponding enterprise longitude and latitude information;
a marking module 230, configured to mark the enterprise summary information in the map according to the longitude and latitude information of the enterprise in the enterprise summary information;
and the query module 240 is configured to determine the enterprise detail information from an OLTP database in the bank according to the enterprise ID information, so as to query the corresponding enterprise detail information according to the enterprise ID information in the map.
Optionally, the screening conditions include at least one of: searching distance, enterprise name information and enterprise registration information; correspondingly, the enterprise abstract information further comprises at least one of the following items: business name information and business registration information.
Optionally, the marking module further includes a determining unit, specifically configured to:
judging whether the internal search engine of the bank is normal or not;
if not, determining matched enterprise summary information from a degraded index backup in an OLTP database in the bank according to the enterprise index; and the degraded index backup is established according to the pre-collected enterprise summary information.
Optionally, the determining unit includes a determining information determining unit, and is specifically configured to:
if the enterprise abstract information query time based on the bank internal search engine exceeds a preset threshold value, determining that the bank internal search engine is abnormal; or,
if the heartbeat signal of the internal search engine of the bank disappears, determining that the internal search engine of the bank is abnormal; or,
and if an automatic degradation retrieval request initiated by a user is received, determining that the internal search engine of the bank is abnormal.
Optionally, the first information determining module is specifically configured to:
and carrying out map code system conversion on the position information of the user according to the longitude and latitude specifications in the map to obtain target longitude and latitude information.
The target address information also comprises the position information of the user;
optionally, the map-based enterprise information query device further includes an incremental information determining unit, specifically configured to:
acquiring incremental enterprise information based on a preset time period;
judging whether the incremental enterprise information comprises address incremental information or not;
if yes, acquiring corresponding updated longitude and latitude information from the map according to the address increment information;
and updating the OLTP database in the bank and the search engine in the bank according to the updated longitude and latitude information and the incremental enterprise information.
Optionally, the first information determining module is specifically configured to:
and if the longitude and latitude information corresponding to the target address information is more than one, expanding the target address information until the longitude and latitude information corresponding to the target address information is unique according to the longitude and latitude information determined from the map.
The map-based enterprise information query device provided by the embodiment of the invention can execute the map-based enterprise information query method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations and do not violate the good custom of the public order.
Example four
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device that may be used to implement the map-based business information query method according to the embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the map-based business information query method.
In some embodiments, the map-based business information query method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When loaded into RAM 13 and executed by processor 11, the computer program may perform one or more of the steps of the map-based business information query method described above. Alternatively, in other embodiments, the processor 11 may be configured to perform the map-based business information query method by any other suitable means (e.g., by way of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the Internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A map-based enterprise information query method is characterized by comprising the following steps:
determining target longitude and latitude information corresponding to the target address information from a map; wherein the destination address information comprises enterprise address information;
creating an enterprise index according to the target longitude and latitude information and the screening condition, and determining matched enterprise abstract information from a bank internal search engine according to the enterprise index; the internal search engine of the bank is established according to pre-collected enterprise abstract information, wherein the enterprise abstract information at least comprises enterprise ID information and corresponding enterprise longitude and latitude information;
marking the enterprise abstract information in the map according to the longitude and latitude information of the enterprise in the enterprise abstract information;
and determining enterprise detail information from an OLTP database in a bank according to the enterprise ID information so as to query the corresponding enterprise detail information according to the longitude and latitude information in the map.
2. The method of claim 1, wherein the screening conditions comprise at least one of: searching distance, enterprise name information and enterprise registration information; correspondingly, the enterprise abstract information further comprises at least one of the following items: business name information and business registration information.
3. The method of claim 1, wherein prior to marking the business summary information in the map according to the business latitude and longitude information in the business summary information, the method further comprises:
judging whether the search engine in the bank is normal or not;
if not, determining matched enterprise summary information from a degraded index backup in an OLTP database in the bank according to the enterprise index; and the degraded index backup is established according to the pre-collected enterprise summary information.
4. The method of claim 3, wherein determining whether the bank internal search engine is normal comprises:
if the enterprise abstract information query time based on the bank internal search engine exceeds a preset threshold value, determining that the bank internal search engine is abnormal; or the like, or a combination thereof,
if the heartbeat signal of the internal search engine of the bank disappears, determining that the internal search engine of the bank is abnormal; or,
and if an automatic degradation retrieval request initiated by a user is received, determining that the internal search engine of the bank is abnormal.
5. The method of claim 1, wherein the destination address information further comprises location information of a user;
correspondingly, determining the target longitude and latitude information corresponding to the target address information from the map comprises the following steps:
and carrying out map code system conversion on the position information of the user according to the longitude and latitude specifications in the map to obtain target longitude and latitude information.
6. The method of claim 1, further comprising:
acquiring incremental enterprise information based on a preset time period;
judging whether the incremental enterprise information comprises address incremental information or not;
if yes, acquiring corresponding updated longitude and latitude information from the map according to the address increment information;
and updating the OLTP database and the search engine in the bank according to the updated longitude and latitude information and the incremental enterprise information.
7. The method of claim 1, wherein determining target latitude and longitude information corresponding to the target address information from the map comprises:
and if the longitude and latitude information corresponding to the target address information is determined to be more than one from the map, expanding the target address information until the longitude and latitude information corresponding to the target address information is unique according to the determination from the map.
8. A map-based enterprise information query device, comprising:
the first information determining module is used for determining target longitude and latitude information corresponding to the target address information from a map; wherein the destination address information comprises enterprise address information;
the second information determining module is used for creating an enterprise index according to the target longitude and latitude information and the screening condition, and determining matched enterprise abstract information from a bank internal search engine according to the enterprise index; the internal search engine of the bank is established according to pre-collected enterprise abstract information, wherein the enterprise abstract information at least comprises enterprise ID information and corresponding enterprise longitude and latitude information;
the marking module is used for marking the enterprise abstract information in the map according to the longitude and latitude information of the enterprise in the enterprise abstract information;
and the query module is used for determining the enterprise detail information from an OLTP database in a bank according to the enterprise ID information so as to query the corresponding enterprise detail information according to the longitude and latitude information in the map.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the map-based business information query method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the map-based business information query method of any one of claims 1-7 when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211299386.1A CN115712783A (en) | 2022-10-21 | 2022-10-21 | Map-based enterprise information query method, apparatus, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211299386.1A CN115712783A (en) | 2022-10-21 | 2022-10-21 | Map-based enterprise information query method, apparatus, device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115712783A true CN115712783A (en) | 2023-02-24 |
Family
ID=85231333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211299386.1A Pending CN115712783A (en) | 2022-10-21 | 2022-10-21 | Map-based enterprise information query method, apparatus, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115712783A (en) |
-
2022
- 2022-10-21 CN CN202211299386.1A patent/CN115712783A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108628811B (en) | Address text matching method and device | |
CN114580916A (en) | Enterprise risk assessment method and device, electronic equipment and storage medium | |
CN114519061A (en) | Map data updating method, device, electronic equipment and medium | |
CN110427574B (en) | Route similarity determination method, device, equipment and medium | |
CN116521866A (en) | Training sample construction method and device, electronic equipment and medium | |
CN115145924A (en) | Data processing method, device, equipment and storage medium | |
CN113139258B (en) | Road data processing method, device, equipment and storage medium | |
CN107357797A (en) | A kind of information-pushing method and device | |
CN113032258A (en) | Electronic map testing method and device, electronic equipment and storage medium | |
CN116401410B (en) | Method, device, storage medium and equipment for accessing map data to multi-scene graph database | |
CN115712783A (en) | Map-based enterprise information query method, apparatus, device and medium | |
CN116414814A (en) | Data checking method, device, equipment, storage medium and program product | |
CN116340318A (en) | Method, device, equipment and storage medium for processing secondary index record | |
CN114036414A (en) | Method and device for processing interest points, electronic equipment, medium and program product | |
CN115454971A (en) | Data migration method and device, electronic equipment and storage medium | |
CN112836472A (en) | Address annotation method, device, equipment and storage medium | |
CN115511014B (en) | Information matching method, device, equipment and storage medium | |
CN114064830A (en) | Navigation data automatic production method, system, electronic equipment and storage medium | |
CN117520400A (en) | Information aggregation method, device, equipment and storage medium | |
CN115238183A (en) | Time information determination method and device, storage medium, electronic equipment and product | |
CN117709903A (en) | Library separation method and device, electronic equipment and storage medium | |
CN115858104A (en) | Method, device and equipment for acquiring snapshot of transaction commit sequence number and storage medium | |
CN118467579A (en) | Database structure processing method, device, equipment and storage medium | |
CN113420781A (en) | Brand identification method, apparatus, device, storage medium and program product | |
CN115905213A (en) | Report storage method and device and electronic equipment |
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 |