Address retrieval method and device, storage medium and computer equipment

By performing textual matching and distance comparison on the intelligent address retrieval technology, and adjusting the sorting order, the problem of poor address retrieval sorting effect in the existing technology is solved, and the user experience and platform revenue are improved.

CN118568223APending Publication Date: 2024-08-30SHENZHEN YISHIHUOLALA TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410664650.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing intelligent address retrieval technology has poor sorting effect in special scenarios, resulting in poor user experience and affecting platform revenue.

Method used

By receiving the user's address retrieval request, we obtain the address text, build a positioning address collection, perform textual matching and distance comparison, and adjust the sorting order to ensure that the address that best meets the user's needs is ranked first.

Benefits of technology

It improves the rationality of sorting address retrieval, reduces the possibility of users selecting the wrong address, reduces the impact of the complaint platform, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568223A
    Figure CN118568223A
Patent Text Reader

Abstract

The invention is suitable for the field of information retrieval, and provides an address retrieval method and device, a storage medium and computer device.The method comprises the steps that an address retrieval request initiated by a user is received, and an address text corresponding to the address retrieval request is obtained; acquiring a corresponding positioning address set based on the address text, wherein the positioning address set at least comprises one positioning address; performing text matching processing on the positioning address set to obtain a plurality of first positioning addresses conforming to text correlation; performing distance comparison on the plurality of first positioning addresses to obtain a plurality of second positioning addresses meeting user requirements; and after sorting the plurality of second positioning addresses, generating an address retrieval result corresponding to the address retrieval request. According to the method and the device, the address retrieval effect in different scenes can be improved, so that the addresses which better meet the requirements of the user are ranked in the front, and the user experience during address retrieval is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of information retrieval technology, and in particular, relates to an address retrieval method, device, storage medium and computer equipment. Background Art

[0002] With the rapid development of e-commerce, both traditional e-commerce and offline O2O (Online to Offline) transactions are highly dependent on the user's geographic location information. Therefore, intelligent address retrieval has emerged. For example, machine learning models or deep learning models are used to recall, roughly sort, and finely sort a large number of addresses based on the user's search information, and finally recommend addresses to users. Compared with traditional rule-based mechanical geological retrieval, address retrieval recommendation through machine learning models can more effectively improve the retrieval effect in different scenarios. However, the existing intelligent address retrieval method needs to be continuously iterated to achieve better retrieval results. The sorting effect of some special scenarios cannot be guaranteed in the early stage. For example, when the model believes that there are more suitable addresses, the address that best meets the user's intention cannot be placed in the front position, which not only affects the user experience, but also the user will complain to the platform after choosing the wrong address, affecting the platform's revenue.

[0003] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention

[0004] The purpose of the present application is to provide an address retrieval method, apparatus, computer-readable storage medium and computer equipment, aiming to solve the problem that the existing address retrieval technology has poor sorting effect and affects the user experience.

[0005] In a first aspect, the present application provides an address retrieval method, comprising at least the following steps: Receiving an address search request initiated by a user, and obtaining an address text corresponding to the address search request; Acquire a corresponding positioning address set based on the address text, wherein the positioning address set includes at least one positioning address; Performing text matching processing on the location address set to obtain a plurality of first location addresses that meet text relevance; Comparing the distances of the multiple first positioning addresses to obtain multiple second positioning addresses that meet user requirements; After sorting the plurality of second positioning addresses, an address search result corresponding to the address search request is generated.

[0006] In a possible implementation manner of the first aspect, the receiving an address search request initiated by a user and acquiring an address text corresponding to the address search request includes: After accepting the address search request initiated by the user, obtaining request information corresponding to the address search request; A corresponding address text is determined based on the request information.

[0007] In a possible implementation manner of the first aspect, the acquiring a corresponding location address set based on the address text, wherein the location address set includes at least one location address, includes: Get the address text; Matching multiple location addresses corresponding to the address text in an address database; A location address set corresponding to the address text is constructed based on the multiple location addresses.

[0008] In a possible implementation manner of the first aspect, performing text matching processing on the location address set to obtain a plurality of first location addresses that meet text relevance includes: Performing entity matching on each location address in the location address set by using a pre-trained named entity recognition model to obtain an entity matching result for each location address; Based on the entity matching results, a plurality of first positioning addresses that meet the text relevance and a plurality of addresses that need to be rearranged but lack house number entities are screened out.

[0009] In a possible implementation manner of the first aspect, performing entity matching on each location address in the location address set by using a pre-trained named entity recognition model to obtain an entity matching result for each location address includes: Performing named entity recognition on each location address in the location address set by using the named entity recognition model, to obtain a named entity recognition result corresponding to each location address; Each named entity recognition result is matched with the address text in terms of component entities, thereby obtaining an entity matching result corresponding to each location address.

[0010] In a possible implementation manner of the first aspect, comparing the distances of the multiple first positioning addresses to obtain multiple second positioning addresses that meet user requirements includes: Calculate the longitude and latitude distances between any two of the first positioning addresses respectively; If it is detected that the latitude and longitude distances between at least two of the first positioning addresses are not greater than a preset threshold, the at least two first positioning addresses are determined to be second positioning addresses that meet user requirements.

[0011] In a possible implementation manner of the first aspect, after sorting the plurality of second location addresses, generating an address search result corresponding to the address search request includes: Acquire a plurality of the second positioning addresses and the addresses to be rearranged; The plurality of second positioning addresses are arranged before the address that needs to be rearranged, and an address search result corresponding to the address search request is generated.

[0012] In a second aspect, the present application provides an address retrieval device, comprising: A first acquisition module, configured to receive an address search request initiated by a user, and acquire an address text corresponding to the address search request; A second acquisition module, configured to acquire a corresponding positioning address set based on the address text, wherein the positioning address set includes at least one positioning address; A matching module, used for performing text matching processing on the positioning address set to obtain a plurality of first positioning addresses that meet the text correlation; A comparison module, used for comparing the distances of the plurality of first positioning addresses to obtain a plurality of second positioning addresses that meet user requirements; The sorting module is used to sort the plurality of second positioning addresses and generate an address search result corresponding to the address search request.

[0013] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the address retrieval method described in the first aspect are implemented.

[0014] In a fourth aspect, the present application provides a computer device, comprising: one or more processors; Memory; and One or more computer programs, the processor and the memory are connected via a bus, wherein the one or more computer programs are stored in the memory and are configured to be executed by the one or more processors, characterized in that the processor implements the steps of the address retrieval method as described in the first aspect when executing the computer program.

[0015] In the present application, after accepting the address search request initiated by the user, the address text corresponding to the address search request is first obtained, and then the corresponding positioning address set is obtained based on the address text, and then the positioning addresses in the positioning address set are subjected to text matching processing to determine multiple first positioning addresses that meet the text correlation, and then, by comparing the distances of the multiple first positioning addresses, the second positioning addresses that meet the user's needs are determined, and finally, the second positioning addresses are sorted and the address search results are generated. By adjusting the sorting order of the positioning addresses, the addresses that better meet the user's needs are placed in a front position, making the sorting more reasonable, avoiding users from choosing the wrong address to complain to the platform, affecting the platform's revenue, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is an application environment diagram of the address retrieval method provided by an embodiment of the present application; Figure 2 is a flowchart of an address retrieval method provided in an embodiment of the present application; Figure 3 is a schematic diagram of the structure of an address retrieval device provided in an embodiment of the present application; Figure 4 It is a structural diagram of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and beneficial effects of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0018] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0019] First, the application scenarios that can be provided by the present application are introduced, such as providing an address retrieval method, device, storage medium and computer equipment, which are mainly used in mobile smart terminals, and adopt a rule strategy matching method. By adjusting the sorting order of the positioning addresses, the addresses that better meet the user's needs are placed in a front position, making the sorting more reasonable, avoiding users from choosing the wrong address to complain to the platform, affecting the platform's revenue, and improving the user experience.

[0020] Figure 1 FIG. 1 is an application environment diagram of an address retrieval method in an embodiment. Figure 1, the address retrieval method is applied to an address retrieval system. The address retrieval system includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected via a network, and the terminal 110 can be a desktop terminal or a mobile terminal, and the mobile terminal can be at least one of a mobile phone, a tablet computer, a laptop computer, etc. The server 120 can be implemented by an independent server or a server cluster composed of multiple servers. The terminal 110 is used to initiate an address retrieval request, obtain a corresponding positioning address set based on the address text, and the positioning address set includes at least one positioning address; perform text matching processing on the positioning address set to obtain multiple first positioning addresses that meet the text correlation; perform distance comparison on the multiple first positioning addresses to obtain multiple second positioning addresses that meet the user's needs; after sorting the multiple second positioning addresses, generate an address retrieval result corresponding to the address retrieval request. The server 120 is used to receive an address retrieval request initiated by a user and obtain the address text corresponding to the address retrieval request.

[0021] See also Figure 2 , is a flowchart of an address retrieval method provided in an embodiment of the present application. This embodiment mainly uses the application of the address retrieval method to a computer device as an example to illustrate. The address retrieval method provided in an embodiment of the present application includes the following steps: S101, receiving an address search request initiated by a user, and obtaining an address text corresponding to the address search request; Specifically, for step S101, firstly, an address search request initiated by a user through an APP application on a mobile smart terminal (such as a mobile phone or a tablet computer) is accepted, thereby obtaining an address text corresponding to the address search request. For example, a user enters an address text on an APP of a mobile smart terminal, and then in response to a user clicking an address search button, an address search request is triggered.

[0022] S102, acquiring a corresponding positioning address set based on the address text, where the positioning address set includes at least one positioning address; Specifically, for step S102, after obtaining the address text corresponding to the address retrieval request, the corresponding location address is first obtained according to the address text. Since a single address text may correspond to multiple candidate location addresses, it is necessary to construct the multiple location addresses into a location address set, which includes at least one location address.

[0023] S103, performing text matching processing on the location address set to obtain a plurality of first location addresses that meet the text correlation; Specifically, for step S103, after obtaining the location address set corresponding to the address text, it is necessary to perform text matching processing on multiple location addresses in the location address set one by one. For example, a rule strategy matching method can be adopted to match and obtain multiple location addresses that meet the text relevance, and these location addresses that meet the text relevance are used as the first location address.

[0024] In a specific embodiment, text matching of the location address may be performed by using a pre-trained named entity recognition model or a dictionary matching method to perform text correlation matching.

[0025] S104, performing distance comparison on a plurality of first positioning addresses to obtain a plurality of second positioning addresses that meet user requirements; Specifically, for step S104, a distance comparison is performed on multiple first location addresses that meet the text correlation, and the distance between each first location address is calculated using the latitude and longitude information of the multiple first location addresses, so as to measure the degree of aggregation of the multiple first location addresses, and finally determine multiple first location addresses that meet the user's needs as the second location addresses.

[0026] In a specific embodiment, for distance comparison, in addition to calculating the longitude and latitude information, the physical distance between each positioning address can also be directly calculated.

[0027] S105, after sorting the plurality of second positioning addresses, generating an address search result corresponding to the address search request; Specifically, for step S105, after determining multiple second location addresses, the order of all retrieved location addresses is readjusted, and finally the address retrieval results corresponding to this address retrieval request are generated and displayed on the display screen of the user's mobile smart terminal in order to respond to the address retrieval request initiated by the user this time.

[0028] It can be seen that the address search method provided in this embodiment first obtains the address text corresponding to the address search request after accepting the address search request initiated by the user, then obtains the corresponding positioning address set based on the address text, and then performs text matching processing on the positioning addresses in the positioning address set to determine multiple first positioning addresses that meet the text correlation, and then determines the second positioning addresses that meet the user's needs by comparing the distances of the multiple first positioning addresses, and finally generates the address search result after sorting the second positioning addresses, and adjusts the sorting order of the positioning addresses so that the order of the addresses finally retrieved not only clarifies that the positioning address corresponding to the user's address text exists in all the retrieved positioning addresses, but also ensures that the retrieved positioning addresses are all addresses that meet the user's needs, and the addresses that better meet the user's needs are ranked in a front position, so that the sorting is more reasonable, avoiding users from choosing the wrong address complaint platform, affecting the platform's revenue, and greatly improving the user's experience when searching for addresses.

[0029] In a possible implementation, step S101 of "receiving an address search request initiated by a user and obtaining an address text corresponding to the address search request" may specifically include: S1011. After accepting the address search request initiated by the user, obtain request information corresponding to the address search request; S1012: Determine a corresponding address text based on the request information.

[0030] In a specific embodiment, for step S101, the address retrieval request initiated by the user through the application of the mobile smart terminal is first received, and then the request information corresponding to this address retrieval request is obtained through the cloud server. The request information can be text information. Finally, the address text corresponding to this address retrieval request is determined based on the request information.

[0031] In a possible implementation, step S102 of "obtaining a corresponding location address set based on the address text, where the location address set includes at least one location address" may specifically include: S1021. Obtain address text; S1022, matching multiple location addresses corresponding to the address text in an address database; S1023: Construct a location address set corresponding to the address text based on the multiple location addresses.

[0032] In a specific embodiment, the address text corresponding to the current address search request is first obtained, and then at least one location address corresponding to the address text is matched in the address database of the cloud server, so as to construct a location address set corresponding to the current address text based on these location addresses for subsequent further address screening.

[0033] In a possible implementation, step S103 of "performing textual matching processing on the location address set to obtain a plurality of first location addresses that meet textual relevance" may specifically include: S1031, performing entity matching on each location address in the location address set respectively by using a pre-trained named entity recognition model to obtain an entity matching result for each location address; S1032. Based on the entity matching results, a plurality of first positioning addresses that meet the text relevance and a plurality of addresses that need to be rearranged but lack house number entities are screened out.

[0034] In a specific embodiment, after obtaining a set of location addresses corresponding to the address text (i.e., multiple location addresses), it is necessary to match the multiple location addresses based on text relevance, and use a pre-trained named entity recognition model to perform entity matching on each location address in the location address combination, identify the named entity in each location address, and generate an entity matching result corresponding to each location address based on the recognition result; then, based on the entity matching result corresponding to each location address, screen out the first location address that meets the text relevance, for example, the location address must contain entities such as city, district, road, house number, etc. in the user search information; and screen out location addresses that lack house number entities as addresses that need to be reordered. This embodiment matches the location addresses based on text relevance to ensure that the addresses finally retrieved meet the address search request initiated by the user.

[0035] In a possible implementation, step S1031 "perform entity matching on each location address in the location address set respectively through a pre-trained named entity recognition model to obtain an entity matching result for each location address" may specifically include: Perform named entity recognition on each location address in the location address set by using a named entity recognition model, and obtain a named entity recognition result corresponding to each location address; Each named entity recognition result is matched with the address text respectively to obtain the entity matching result corresponding to each location address.

[0036] In a specific embodiment, for matching of text relevance, named entity recognition is performed on each location address in the location address set through a named entity recognition model to obtain a named entity recognition result corresponding to each location address, and then the named entity result corresponding to each location address is matched with the address text corresponding to the address retrieval request for component entities. For example, the named entity recognition result can be scored through a machine learning model to determine the entity matching result corresponding to each location address based on the score value. In this embodiment, entity matching and scoring are performed on the location addresses so that the retrieved location addresses have a certain text relevance to ensure that they meet user needs.

[0037] In a possible implementation, step S104 of “comparing distances of multiple first positioning addresses to obtain multiple second positioning addresses that meet user requirements” may specifically include: S1041, respectively calculating the longitude and latitude distances between any two first positioning addresses; S1042: If it is detected that the latitude and longitude distances between at least two first positioning addresses are not greater than a preset threshold, determine that the at least two first positioning addresses are second positioning addresses that meet user requirements.

[0038] In a specific embodiment, after matching the location address for text relevance, in order to further ensure that the location address retrieved is more in line with user needs, it is also necessary to verify the longitude and latitude distance of the location address, because there are always addresses that meet the user's search among the addresses exposed in the address search, which must have a specific door address number, and these addresses with strong relevance are all within a certain distance range. Therefore, after screening out the location addresses that meet the text relevance, the degree of aggregation of these location addresses is measured, and the longitude and latitude information of the location address is used to calculate the longitude and latitude distance between any two location addresses. When it is detected that there are at least two location addresses whose longitude and latitude distance is not greater than the preset threshold, then these two location addresses are location addresses that meet user needs, as the second location address. This embodiment further ensures that the retrieved address is more in line with user needs by comparing the distance of the location address after text relevance matching.

[0039] In a possible implementation, step S105 "after sorting the plurality of second positioning addresses, generating an address search result corresponding to the address search request" may specifically include: S1051, obtaining multiple second positioning addresses and addresses that need to be rearranged; S1052: Arrange the plurality of second positioning addresses before the addresses that need to be rearranged, and generate an address search result corresponding to the address search request.

[0040] In a specific embodiment, after the location addresses are matched with text relevance and compared with distances, the location addresses need to be reordered according to the reordering strategy to obtain multiple second location addresses (location addresses that meet user needs) and location addresses that need to be reordered. Then, the multiple second location addresses are arranged in front, the location addresses that need to be reordered are arranged at the end, and the remaining location addresses in the location address set are arranged in the middle. After reordering, a recommended address list is finally output as the address search result corresponding to this address search request. This embodiment improves the rationality of the sorting by placing the location address that best meets the user's needs in front, thereby preventing users from selecting the wrong address and affecting the search experience.

[0041] See also Figure 3 The address retrieval device provided in one embodiment of the present application may be a computer program or a program code running in a computer device, for example, the address retrieval device is an application software; the address retrieval device may be used to execute the corresponding steps in the address retrieval method provided in the embodiment of the present application. The address retrieval device provided in one embodiment of the present application may specifically include: The first acquisition module 10 is used to receive an address search request initiated by a user and obtain an address text corresponding to the address search request; Specifically, the first acquisition module 10 first accepts an address search request initiated by a user through an APP application on a mobile smart terminal (such as a mobile phone or a tablet computer), thereby acquiring an address text corresponding to the address search request. For example, a user enters an address text on an APP on a mobile smart terminal, and then in response to a user clicking an address search button, an address search request is triggered.

[0042] A second acquisition module 20, configured to acquire a corresponding positioning address set based on the address text, wherein the positioning address set includes at least one positioning address; Specifically, for the second acquisition module 20, after obtaining the address text corresponding to the address retrieval request, the corresponding location address is first obtained according to the address text. Since a single address text may correspond to multiple candidate location addresses, it is necessary to construct the multiple location addresses into a location address set, which includes at least one location address.

[0043] A matching module 30 is used to perform text matching processing on the location address set to obtain a plurality of first location addresses that meet the text correlation; Specifically, for the matching module 30, after obtaining the location address set corresponding to the address text, it is necessary to perform text matching processing on multiple location addresses in the location address set one by one. For example, a rule strategy matching method can be adopted to match multiple location addresses that meet the text relevance, and these location addresses that meet the text relevance are used as the first location address.

[0044] A comparison module 40 is used to compare the distances of the multiple first positioning addresses to obtain multiple second positioning addresses that meet the user's needs; Specifically, the comparison module 40 performs a distance comparison on multiple first location addresses that meet the text relevance, and uses the longitude and latitude information of the multiple first location addresses to calculate the distance between each first location address, thereby measuring the degree of aggregation of the multiple first location addresses, and finally determining multiple first location addresses that meet the user's needs as the second location addresses.

[0045] A sorting module 50, configured to sort the plurality of second positioning addresses and generate an address search result corresponding to the address search request; Specifically, for the sorting module 50, after determining multiple second location addresses, the sorting of all retrieved location addresses is readjusted, and finally the address retrieval results corresponding to this address retrieval request are generated and displayed on the display screen of the user's mobile smart terminal according to the sorting, in response to the address retrieval request initiated by the user this time.

[0046] In summary, the address retrieval device provided in the embodiment of the present application adopts a rule strategy matching method to adjust the sorting order of the location addresses so that addresses that better meet user needs are placed in a front position, making the sorting more reasonable, avoiding users from choosing the wrong address complaint platform, affecting the platform's revenue, and improving user experience.

[0047] The address retrieval device provided in one embodiment of the present application and the address retrieval method provided in one embodiment of the present application belong to the same concept. The specific implementation process is detailed in the full text of the specification and will not be repeated here.

[0048] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the address retrieval method provided in the embodiment of the present application are implemented.

[0049] Figure 4 A specific structural block diagram of a computer device provided in an embodiment of the present application is shown. The computer device may be Figure 1The terminal 110 shown in the figure, a computer device 100 includes: one or more processors 101, a memory 102, and one or more computer programs, wherein the processor 101 and the memory 102 are connected via a bus, the one or more computer programs are stored in the memory 102, and are configured to be executed by the one or more processors 101, and the processor 101 implements the steps of the address retrieval method provided in an embodiment of the present application when executing the computer program. The computer device includes a server and a terminal, etc. The computer device can be a desktop computer, a mobile terminal or a vehicle-mounted device, and the mobile terminal includes at least one of a mobile phone, a tablet computer, a personal digital assistant or a wearable device, etc.

[0050] It should be understood that each step in each embodiment of the present application is not necessarily performed in sequence according to the order indicated by the step number. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, at least a part of the steps in each embodiment can include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.

[0051] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0052] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0053] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. An address retrieval method, characterized in that: At least the following steps are included: Receiving an address search request initiated by a user, and obtaining an address text corresponding to the address search request; Acquire a corresponding positioning address set based on the address text, wherein the positioning address set includes at least one positioning address; Performing text matching processing on the location address set to obtain a plurality of first location addresses that meet text relevance; Comparing the distances of the multiple first positioning addresses to obtain multiple second positioning addresses that meet user requirements; After sorting the plurality of second positioning addresses, an address search result corresponding to the address search request is generated.

2. The address search method according to claim 1, characterized in that: The receiving an address search request initiated by a user and obtaining an address text corresponding to the address search request includes: After accepting the address search request initiated by the user, obtaining request information corresponding to the address search request; A corresponding address text is determined based on the request information.

3. The address search method according to claim 2, characterized in that: The acquiring a corresponding location address set based on the address text, wherein the location address set includes at least one location address, includes: Get the address text; Matching multiple location addresses corresponding to the address text in an address database; A location address set corresponding to the address text is constructed based on the multiple location addresses.

4. The address search method according to claim 3, characterized in that: The text matching process is performed on the location address set to obtain a plurality of first location addresses that meet the text correlation, including: Performing entity matching on each location address in the location address set by using a pre-trained named entity recognition model to obtain an entity matching result for each location address; Based on the entity matching results, a plurality of first positioning addresses that meet the text relevance and a plurality of addresses that need to be rearranged but lack house number entities are screened out.

5. The address search method according to claim 4, characterized in that: The method of performing entity matching on each location address in the location address set by using a pre-trained named entity recognition model to obtain an entity matching result for each location address includes: Performing named entity recognition on each location address in the location address set by using the named entity recognition model, to obtain a named entity recognition result corresponding to each location address; Each named entity recognition result is matched with the address text in terms of component entities, thereby obtaining an entity matching result corresponding to each location address.

6. The address search method according to claim 5, characterized in that: The step of comparing the distances of the plurality of first positioning addresses to obtain a plurality of second positioning addresses that meet user requirements includes: Calculate the longitude and latitude distances between any two of the first positioning addresses respectively; If it is detected that the latitude and longitude distances between at least two of the first positioning addresses are not greater than a preset threshold, the at least two first positioning addresses are determined to be second positioning addresses that meet user requirements.

7. The address search method according to claim 6, characterized in that: After sorting the plurality of second location addresses, generating an address search result corresponding to the address search request includes: Acquire a plurality of the second positioning addresses and the addresses to be rearranged; The plurality of second positioning addresses are arranged before the address that needs to be rearranged, and an address search result corresponding to the address search request is generated.

8. An address search device, characterized in that: include: A first acquisition module, configured to receive an address search request initiated by a user, and acquire an address text corresponding to the address search request; A second acquisition module, configured to acquire a corresponding positioning address set based on the address text, wherein the positioning address set includes at least one positioning address; A matching module, used for performing text matching processing on the positioning address set to obtain a plurality of first positioning addresses that meet the text correlation; A comparison module, used for comparing the distances of the plurality of first positioning addresses to obtain a plurality of second positioning addresses that meet user requirements; The sorting module is used to sort the plurality of second positioning addresses and generate an address search result corresponding to the address search request.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the address search method according to any one of claims 1 to 7 are implemented.

10. A computer device comprising: one or more processors; Memory; as well as One or more computer programs, the processor and the memory are connected via a bus, wherein the one or more computer programs are stored in the memory and are configured to be executed by the one or more processors, wherein the processor implements the steps of the address retrieval method according to any one of claims 1 to 7 when executing the computer program.

Citation Information

Patent Citations

  • A general Chinese address matching method for a big data environment

    CN109165273A

  • Address matching method and device, electronic equipment and storage medium

    CN112818685A

  • Physical site screening method and device, electronic equipment and storage medium

    CN112910674A

  • Address resolution method and device, computer equipment and storage medium

    CN114169331A

  • Address query method, method for obtaining address vector representation model and corresponding device

    CN114579883A