Address information processing method and device, electronic equipment and computer readable medium
By identifying, extracting, and matching the address information input by users, the problem of inaccurate address information recommendations in existing technologies is solved, thereby improving user experience and user traffic on the network platform.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
- Filing Date
- 2020-11-27
- Publication Date
- 2026-04-14
AI Technical Summary
In existing technologies, when users input address information, the address information is not segmented and searched, resulting in a small range of recommended address information and insufficient matching, leading to a poor user experience and consequently affecting the user traffic of the online platform.
By identifying and extracting target address query information, address extraction information is generated, and the corresponding address information is matched in the address information table of the search server. Based on the set of matched address information, the accuracy of the address information is improved.
It improved the user experience when entering address information, expanded the range of matching address information, and increased user traffic on the network platform.
Smart Images

Figure CN113722580B_ABST
Abstract
Description
Technical Field
[0001] The embodiments disclosed herein relate to the field of computer technology, and more specifically to address information processing methods, apparatus, electronic devices, and computer-readable media. Background Technology
[0002] With the rapid development of information retrieval technology, address-based search functions are widely used in online platforms. Currently, when users enter their order address information, online platforms typically recommend address options based on that information for the user to choose from.
[0003] However, the above address recommendation method has the following technical problems:
[0004] First, the order address information entered by the user was not segmented and queried, resulting in a small range of recommended address information. This made it impossible to accurately recommend address information to the user, resulting in a poor user experience when entering address information, and consequently, low user traffic on the online platform.
[0005] Second, the failure to consider the matching degree between the recommended address information and the user's entered order address information from multiple dimensions resulted in the inability to accurately recommend address information to users, leading to a poor user experience when entering address information and further causing the loss of user traffic on the online platform. Summary of the Invention
[0006] The summary portion of this disclosure is intended to provide a brief overview of the concepts, which will be described in detail in the detailed description portion. This summary portion is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.
[0007] Some embodiments of this disclosure provide address information processing methods, apparatuses, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the background section above.
[0008] In a first aspect, some embodiments of this disclosure provide an address information processing method, which includes: identifying and extracting target address query information to generate address extraction information; determining whether there is address information in an address information table stored in a search server that matches the target address query information or the address extraction information; in response to determining that there is, selecting address information that matches the target address query information or the address extraction information from the address information table as matching address information to obtain a set of matching address information; and performing completion processing on the target address query information based on the set of matching address information.
[0009] Optionally, based on the above set of matching address information, the above target address query information is supplemented, including: for each preset condition in the preset condition group, in response to determining that the above target address query information or the above address extraction information meets the above preset condition, the above target address query information is supplemented according to the tag category and frequency of each matching address information included in the above address information table.
[0010] Optionally, based on the aforementioned set of matching address information, the target address query information is supplemented by: in response to the target address query information or the address extraction information satisfying the target predetermined conditions, based on the target address query information, determining the priority value of each matching address information in the aforementioned set of matching address information to obtain a priority value group; and supplementing the target address query information according to the priority value group and the aforementioned set of matching address information.
[0011] Optionally, the method further includes: in response to determining that the address does not exist, displaying a map page for the user to select address location information; and standardizing the address location information selected by the user to input it into the address information table mentioned above.
[0012] Optionally, the method also includes: displaying the completed target address query information for the user to select.
[0013] Optionally, the generation of the address information table includes the following steps: collecting at least one historical order address information for each user to obtain a historical order address information set, wherein the historical order address information includes primary region address information and secondary region address information; normalizing each historical order address information in the historical order address information set to generate normalized historical order address information, thus obtaining a normalized historical order address information set; extracting each primary region address information corresponding to each normalized historical order address information in the normalized historical order address information set to obtain a primary region address extraction information set; extracting each secondary region address information corresponding to each normalized historical order address information in the normalized historical order address information set to obtain a secondary region address extraction information set; and storing each secondary region address extraction information in the secondary region address extraction information set in the search server based on the primary region address extraction information set.
[0014] Optionally, the generation of the address information table further includes: constructing an empty address information table; inputting each first-level region address extraction information and each second-level region address extraction information corresponding to the first-level region address extraction information set into the empty address information table to generate the address information table.
[0015] Optionally, the generation of the address information table further includes: merging the words included in each secondary region address extraction information in the above-mentioned secondary region address extraction information set to generate merged secondary region address extraction information, thus obtaining a merged secondary region address extraction information set; performing a first word segmentation process on each merged secondary region address extraction information in the above-mentioned merged secondary region address extraction information set to generate word-segmented secondary region address extraction information, thus obtaining a word-segmented secondary region address extraction information set; and inputting each primary region address extraction information in the above-mentioned primary region address extraction information set and each word-segmented secondary region address extraction information corresponding to the above-mentioned primary region address extraction information into the above-mentioned address information table to update the above-mentioned address information table.
[0016] Optionally, the generation of the address information table further includes: performing word segmentation on each normalized historical order address information in the above-mentioned normalized historical order address information set to generate word groups, thus obtaining a word group set; performing a second word segmentation on each secondary region address extraction information in the above-mentioned secondary region address extraction information set to generate a secondary region address word sequence, thus obtaining a secondary region address word sequence set; determining the number of each secondary region address word included in the above-mentioned word group set, thus obtaining a quantity set; and for each secondary region address word sequence in the above-mentioned secondary region address word sequence set, in response to determining that the sum of the number of every two secondary region address words included in the above-mentioned secondary region address word sequence is greater than or equal to a predetermined threshold, merging the two secondary region address words.
[0017] Optionally, the generation of the address information table further includes: inputting each first-level area address extraction information and each second-level area address word sequence corresponding to the first-level area address extraction information set into the updated address information table; and performing marking processing on each address information included in the updated address information table based on a preset marking category group.
[0018] Secondly, some embodiments of this disclosure provide an address information processing apparatus, comprising: an extraction unit configured to perform identification and extraction processing on target address query information to generate address extraction information; a determination unit configured to determine whether address information matching the target address query information or the address extraction information exists in an address information table stored in a search server; a selection unit configured to, in response to determining that the existence exists, select address information matching the target address query information or the address extraction information from the address information table as matching address information to obtain a set of matching address information; and a completion unit configured to perform completion processing on the target address query information based on the set of matching address information.
[0019] Optionally, the completion unit is further configured to: for each preset condition in the preset condition group, in response to determining that the target address query information or the address extraction information meets the preset condition, perform completion processing on the target address query information according to the tag category and frequency of each matching address information included in the address information table.
[0020] Optionally, the completion unit is further configured to: in response to the target address query information or the address extraction information satisfying the target predetermined conditions, determine the priority value of each matching address information in the matching address information set based on the target address query information to obtain a priority value group; and perform completion processing on the target address query information according to the priority value group and the matching address information set.
[0021] Optionally, the device further includes: a display unit configured to display a map page for the user to select address location information in response to determining that the address does not exist; and an input unit configured to standardize the address location information selected by the user and input it into the address information table.
[0022] Optionally, the device further includes a sending unit configured to display the supplemented target address query information for user selection.
[0023] Optionally, the generation of the address information table includes the following steps: collecting at least one historical order address information for each user to obtain a historical order address information set, wherein the historical order address information includes primary region address information and secondary region address information; normalizing each historical order address information in the historical order address information set to generate normalized historical order address information, thus obtaining a normalized historical order address information set; extracting each primary region address information corresponding to each normalized historical order address information in the normalized historical order address information set to obtain a primary region address extraction information set; extracting each secondary region address information corresponding to each normalized historical order address information in the normalized historical order address information set to obtain a secondary region address extraction information set; and storing each secondary region address extraction information in the secondary region address extraction information set in the search server based on the primary region address extraction information set.
[0024] Optionally, the step of generating the address information table further includes: constructing an empty address information table; inputting each first-level region address extraction information and each second-level region address extraction information corresponding to the first-level region address extraction information set into the empty address information table to generate the address information table.
[0025] Optionally, the step of generating the address information table further includes: merging the words included in each secondary region address extraction information in the above-mentioned secondary region address extraction information set to generate merged secondary region address extraction information, thus obtaining a merged secondary region address extraction information set; performing a first word segmentation process on each merged secondary region address extraction information in the above-mentioned merged secondary region address extraction information set to generate word-segmented secondary region address extraction information, thus obtaining a word-segmented secondary region address extraction information set; and inputting each primary region address extraction information in the above-mentioned primary region address extraction information set and each word-segmented secondary region address extraction information corresponding to the above-mentioned primary region address extraction information into the above-mentioned address information table to update the above-mentioned address information table.
[0026] Optionally, the step of generating the address information table further includes: performing word segmentation on each normalized historical order address information in the above-mentioned normalized historical order address information set to generate word groups, thereby obtaining a word group set; performing a second word segmentation on each secondary region address extraction information in the above-mentioned secondary region address extraction information set to generate a secondary region address word sequence, thereby obtaining a secondary region address word sequence set; determining the number of each secondary region address word included in the above-mentioned word group set, thereby obtaining a quantity set; and for each secondary region address word sequence in the above-mentioned secondary region address word sequence set, in response to determining that the sum of the number of every two secondary region address words included in the above-mentioned secondary region address word sequence is greater than or equal to a predetermined threshold, merging the two secondary region address words.
[0027] Optionally, the generation of the address information table further includes: inputting each first-level area address extraction information and each second-level area address word sequence corresponding to the first-level area address extraction information set into the updated address information table; and performing marking processing on each address information included in the updated address information table based on a preset marking category group.
[0028] Thirdly, some embodiments of this disclosure provide an electronic device, including: one or more processors; and a storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation of the first aspect above.
[0029] Fourthly, some embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
[0030] The above-described embodiments of this disclosure have the following beneficial effects: The address information processing methods of some embodiments of this disclosure improve the user experience when inputting address information, thereby increasing user traffic on the network platform. Specifically, the reason for low user traffic on the network platform is that the user-inputted order address information is not segmented and queried, resulting in a small range of recommended address information and an inability to accurately recommend address information to the user. Based on this, firstly, the address information processing methods of some embodiments of this disclosure identify and extract target address query information to generate address extraction information. Thus, both target address query information and address extraction information can be queried simultaneously, laying the foundation for improving the accuracy of the recommended address information. Then, it can be determined whether there is address information matching the target address query information or address extraction information in the address information table stored in the search server. Thus, the recommended address information is considered from both the target address query information and address extraction information, further laying the foundation for improving the accuracy of the recommended address information. Next, address information matching the target address query information or address extraction information is selected from the address information table as matching address information, resulting in a set of matching address information. This expands the range of matched address information. Finally, based on the set of matched address information, the target address query information is completed. This completes the completion of the address query information entered by the user, improving the accuracy of the recommended address information. Consequently, it enhances the user experience when entering address information, thereby increasing user traffic on the network platform. Attached Figure Description
[0031] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0032] Figure 1 This is a schematic diagram illustrating an application scenario of the address information processing method according to some embodiments of this disclosure;
[0033] Figure 2 This is a flowchart of some embodiments of the address information processing method according to this disclosure;
[0034] Figure 3 These are flowcharts of other embodiments of the address information processing method according to this disclosure;
[0035] Figure 4 This is a flowchart of yet another embodiment of the address information processing method according to the present disclosure;
[0036] Figure 5This is a flowchart of some embodiments of generating an address information table according to the address information processing method of this disclosure;
[0037] Figure 6 This is a flowchart of some other embodiments of generating an address information table according to the address information processing method of this disclosure;
[0038] Figure 7 This is a schematic diagram of the structure of some embodiments of the address information processing apparatus according to the present disclosure;
[0039] Figure 8 This is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. Detailed Implementation
[0040] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0041] It should also be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.
[0042] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0043] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0044] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0045] This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0046] Figure 1 This is a schematic diagram of an application scenario of an address information processing method according to some embodiments of the present disclosure.
[0047] exist Figure 1In the application scenario, firstly, the computing device 101 can identify and extract the target address query information 102 to generate address extraction information 103. Then, the computing device 101 can determine whether there is address information in the address information table 104 stored in the search server 106 that matches the target address query information 102 or the address extraction information 103. Next, in response to the determination of existence, the computing device 101 can select the address information matching the target address query information 102 or the address extraction information 103 from the address information table 104 as the matching address information, obtaining a matching address information set 105. Finally, the computing device 101 can perform completion processing on the target address query information 102 based on the matching address information set 105.
[0048] It should be noted that the aforementioned computing device 101 can be either hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device is software, it can be installed within the hardware devices listed above. It can be implemented as, for example, multiple software programs or software modules used to provide distributed services, or as a single software program or software module. No specific limitations are made here.
[0049] It should be understood that Figure 1 The number of computing devices shown is merely illustrative. Any number of computing devices can be used depending on implementation needs.
[0050] Continue to refer to Figure 2 The diagram illustrates a flow 200 of some embodiments of an address information processing method according to the present disclosure. This address information processing method includes the following steps:
[0051] Step 201: Identify and extract the target address query information to generate address extraction information.
[0052] In some embodiments, the execution subject of the address information processing method (e.g. Figure 1The computing device 101) shown can perform identification and extraction processing on the target address query information to generate address extraction information. Here, the target address query information can be the information after normalizing the address information input by the user. Here, the address information input by the user can include, but is not limited to, at least one of the following: primary regional address information, secondary regional address information. Here, the normalization processing can be to delete the primary regional address information existing in the address information input by the user and perform word segmentation processing on the address information after the deletion processing (for example, Jieba word segmentation, Chinese word segmentation), or to perform word segmentation processing on the address information input by the user that does not include the primary regional address information. Here, the identification and extraction processing can be to identify the keywords in the target address query information and perform extraction processing. Here, the identification method can be cluster analysis. As an example, the target address query information can be "Tian / Bao / Yuan / Da / Xiong / Yu / Jin / Xiang / She". The identification and extraction processing can be performed on "Tian / Bao / Yuan / Da / Xiong / Yu / Jin / Xiang / She" to generate the address extraction information "Da / Xiong / Yu / Jin / Xiang / She". Here, "Da / Xiong / Yu / Jin / Xiang / She" is the keyword. As another example, the target address query information can be "Tian / Bao / Yuan / Da / Xiong / Yu / Jin / Xiang / She". The identification and extraction processing can be performed on "Tian / Bao / Yuan / Da / Xiong / Yu / Jin / Xiang / She" to generate the address extraction information "Da / Xiong / Yu Jin / Xiang / She". Here, "Da / Xiong / Yu Jin / Xiang / She" is the keyword. Thus, the target address query information and the address extraction information can be queried simultaneously, laying a foundation for improving the accuracy of the recommended address information.
[0053] Step 202, determine whether there is address information in the address information table stored in the search server that matches the above target address query information or the above address extraction information.
[0054] In some embodiments, the execution entity may determine whether there is address information matching the target address query information or the address extraction information stored in the address information table of the search server. Here, the search server may be a system with retrieval capabilities. For example, the search server may be a full-text search engine (e.g., Elasticsearch search engine). The address information table may be an information table pre-stored in the search server. The target address query information or address extraction information may be compared with the address information stored in the address information table to determine whether there is address information matching the target address query information or the address extraction information in the address information table. Here, the comparison may be performed by comparing each word included in the target address query information or address extraction information with each word included in the address information in the address information table. Optionally, the address information may include, but is not limited to, primary area address information and secondary area address information. Here, primary area address information may refer to the name of an administrative region, such as the name of a province, city, or district. Here, secondary area address information may include, but is not limited to, at least one of the following: Class I address names and Class II address names. Among them, Class I address names may include, but are not limited to, at least one of the following: street names and road names. Class II address names may include, but are not limited to, at least one of the following: residential address names and office address names. Here, the matching address information can be the address information corresponding to a word in the address information table that is the same as the word in the target address query information or address extraction information. As an example, the address information table could be:
[0055] Level 1 area address information Secondary area address information Daxing District, Shuiyuan City Building 1, Daxiong Tulip House, Tianbaoyuan Daxing District, Shuiyuan City Building 2, Daxiong Tulip House, Tianbaoyuan Daxing District, Shuiyuan City Tianbaoyuan Datianxiong Tulip House No. 1 Courtyard Daxing District, Shuiyuan City Longde Street
[0056] In practice, the target address query information can be "Tian / Bao / Yuan / Da / Xiong / Yu / Jin / Xiang / She". The address extraction information can be "Da / Xiong / Yu / Jin / Xiang / She". Therefore, it can be determined that the address information table stored in the search server contains address information that matches either the target address query information "Tian / Bao / Yuan / Da / Xiong / Yu / Jin / Xiang / She" or the address extraction information "Da / Xiong / Yu / Jin / Xiang / She". Thus, by considering both the target address query information and the address extraction information, the degree of matching between the recommended address information and the user's entered order address information is assessed, further laying the foundation for improving the accuracy of the recommended address information.
[0057] Step 203: In response to the determination of existence, select the address information that matches the target address query information or the address extraction information from the above address information table as the matching address information, and obtain the matching address information set.
[0058] In some embodiments, in response to determining existence, the executing entity can select address information that matches the target address query information or the address extraction information from the address information table as matching address information, thereby obtaining a set of matching address information. Here, matching can mean that the field is the same as the target address query information or the address extraction information. In practice, address information that matches the target address query information "Tian / Bao / Yuan / Da / Xiong / Yu / Jin / Xiang / She" or the address extraction information "Da / Xiong / Yu / Jin / Xiang / She" can be selected from the address information table shown in step 202 as matching address information, thereby obtaining a set of matching address information "[Building 1, Daxiong Tulip House, Tianbao Garden, Daxing District, Shuiyuan City]; [Building 2, Daxiong Tulip House, Tianbao Garden, Daxing District, Shuiyuan City]; [Courtyard 1, Daxiong Tulip House, Tianbao Garden, Daxing District, Shuiyuan City]". This expands the range of matched address information and improves the accuracy of the matched address information.
[0059] Step 204: Based on the above set of matching address information, complete the above target address query information.
[0060] In some embodiments, the aforementioned executing entity may supplement the target address query information with words that differ from the target address query information in each matching address information set, thereby completing the target address query information. Here, completion may involve adding words that differ from the target address query information to the target address query information. In practice, the matching address information set may be “[Building 1, Daxiong Tulip House, Tianbao Garden, Daxing District, Shuiyuan City]; [Building 2, Daxiong Tulip House, Tianbao Garden, Daxing District, Shuiyuan City]; [Courtyard 1, Daxiong Tulip House, Tianbao Garden, Daxing District, Shuiyuan City]”. The target address query information may be “Tian / Bao / Yuan / Da / Xiong / Yu / Jin / Xiang / She”. By completing the target address query information "Tian / Bao / Yuan / Da / Xiong / Yu / Jin / Xiang / She", the completed target address query information can be generated as "[Building 1, Daxiong Tulip House, Tianbao Garden, Daxing District, Shuiyuan City]; [Building 2, Daxiong Tulip House, Tianbao Garden, Daxing District, Shuiyuan City]; [Courtyard 1, Daxiong Tulip House, Tianbao Garden, Daxing District, Shuiyuan City]". This completes the target address query information, making it easier for users to select an address.
[0061] The above-described embodiments of this disclosure have the following beneficial effects: The address information processing methods of some embodiments of this disclosure improve the user experience when inputting address information, thereby increasing user traffic on the network platform. Specifically, the reason for low user traffic on the network platform is that the user-inputted order address information is not segmented and queried, resulting in a small range of recommended address information and an inability to accurately recommend address information to the user. Based on this, firstly, the address information processing methods of some embodiments of this disclosure identify and extract target address query information to generate address extraction information. Thus, both target address query information and address extraction information can be queried simultaneously, laying the foundation for improving the accuracy of the recommended address information. Then, it can be determined whether there is address information matching the target address query information or address extraction information in the address information table stored in the search server. Thus, the recommended address information is considered from both the target address query information and address extraction information, further laying the foundation for improving the accuracy of the recommended address information. Next, address information matching the target address query information or address extraction information is selected from the address information table as matching address information, resulting in a set of matching address information. This expands the range of matched address information. Finally, based on the set of matched address information, the target address query information is completed. This completes the completion of the address query information entered by the user, improving the accuracy of the recommended address information. Consequently, it enhances the user experience when entering address information, thereby increasing user traffic on the network platform.
[0062] Further reference Figure 3 The diagram illustrates flowcharts of some other embodiments of the address information processing method according to the present disclosure. This address information processing method includes the following steps:
[0063] Step 301: Identify and extract the target address query information to generate address extraction information.
[0064] Step 302: Determine whether there is address information in the address information table stored in the search server that matches the above target address query information or the above address extraction information.
[0065] Step 303: In response to the determination of existence, select the address information that matches the target address query information or the address extraction information from the above address information table as the matching address information, and obtain the matching address information set.
[0066] Step 304: For each preset condition in the preset condition group, in response to determining that the target address query information or the address extraction information meets the preset condition, the target address query information is supplemented according to the tag category and frequency of each matching address information included in the address information table.
[0067] In some embodiments, for each preset condition in the preset condition group, the execution entity may, in response to determining that the target address query information or the address extraction information satisfies the preset condition, perform completion processing on the target address query information according to the tag category and frequency of each matching address information included in the address information table to obtain the completed target address query information. Here, the first preset condition in the preset condition group may be [the target address query information or address extraction information is the same as a first-class address name]. The second preset condition in the preset condition group may be [the first word included in the target address query information or address extraction information is the same as a word included in a first-class address name]. The third preset condition in the preset condition group may be [the target address query information or address extraction information is the same as a second-class address name]. The fourth preset condition in the preset condition group may be [the first word included in the target address query information or address extraction information is the same as a word included in a second-class address name]. The fifth preset condition in the preset condition group may be [the target address query information or address extraction information is the same as second-level area address information]. Here, the tag category of the matching address information may be the priority tag of the matching address information. Here, the frequency of matching address information can refer to the frequency with which the user selects the matching address information. A predetermined number of matching addresses with higher priority flag values can be selected from the address information table, and then a predetermined number of frequently selected matching addresses with higher priority flags can be chosen from these to complete the target address query information, resulting in the completed target address query information. In practice, the aforementioned execution entity can simultaneously determine whether the target address query information or address extraction information meets the preset conditions in the preset condition group. Here, the secondary area address information can include both Class I and Class II address names.
[0068] As a first example, the matching address information included in the address information table could be:
[0069]
[0070] The aforementioned executing entity can respond to the determination that the target address query information "Da / Xiong / Yu / Jin / Xiang / She" or the address extraction information "Da / Xiong / Yu / Jin / Xiang / She" meets the preset condition "[the target address query information or address extraction information is the same as a Class I address name]", and can select address information "[Daxiong Tulip House, Deyun Street, Daxing District]" and address information "[Daxiong Tulip House, Shuili Street, Daxing District]" with a priority mark of "5" as matching address information. Next, it can first select address information "[Daxiong Tulip House, Shuili Street, Daxing District]" with a frequency of "80" to complete the target address query information "Da / Xiong / Yu / Jin / Xiang / She". The completed target address query information "Daxiong Tulip House, Shuili Street, Daxing District" is then obtained. Next, it can select address information "[Daxiong Tulip House, Deyun Street, Daxing District]" with a frequency of "60" to complete the target address query information "Da / Xiong / Yu / Jin / Xiang / She". The completed target address lookup information is "Daxiong Tulip House, Deyun Street, Daxing District".
[0071] As a second example, the matching address information included in the address information table could be:
[0072]
[0073] The aforementioned executing entity can, in response to determining that the target address query information "water" or the address extraction information "water" meets the preset condition "[the first word included in the target address query information or address extraction information is the same as the word included in a type of address name]", select address information "[Water Conservancy Institute, Deyun Street, Daxing District]" and address information "[Water Conservancy Institute, Shuizhiyuan, Shuili Street, Daxing District]" with a priority marker of "5" as matching address information. Next, it can first select address information "[Water Conservancy Institute, Shuizhiyuan, Shuili Street, Daxing District]" with a frequency of "80" to complete the target address query information "water". The completed target address query information is then obtained as "[Water Conservancy Institute, Shuili Street, Daxing District]". Then, it can select address information "[Water Conservancy Institute, Deyun Street, Daxing District]" with a frequency of "60" to complete the target address query information "water". The completed target address query information is then obtained as "[Water Conservancy Institute, Deyun Street, Daxing District]".
[0074] As a third example, the matching address information included in the address information table could be:
[0075]
[0076]
[0077] The above execution entity can, in response to determining that the target address query information "De / Yun / Street" or the address extraction information "De / Yun / Street" meets the preset condition "[the target address query information or the address extraction information is the same as the secondary address name]", select the address information [Deyun Street, Daxing District, Water Conservancy Institute] and the address information [Shuideryuan, Deyun Street, Daxing District] with a priority label of "5" as the matching address information. Then, it can first select the address information [Deyun Street, Daxing District, Water Conservancy Institute] with a frequency of "60" to complete the target address query information "De / Yun / Street". The completed target address query information "Deyun Street, Daxing District, Water Conservancy Institute" is obtained. Then, it can select the address information [Deyun Street, Daxing District, Water Conservancy Institute] with a frequency of "20" to complete the target address query information "De / Yun / Street". The completed target address query information "Deyun Street, Daxing District, Water Conservancy Institute" is obtained.
[0078] As a fourth example, each of the matching address information included in the address information table may be:
[0079]
[0080] The above execution entity can, in response to determining that the target address query information "De" or the address extraction information "De" meets the preset condition "[the first word included in the target address query information or the address extraction information is the same as the word included in the secondary address name]", select the address information [Deyun Street, Daxing District, Water Conservancy Institute] and the address information [Shuizhiyuan, Deshui Street, Daxing District] with a priority label of "5" as the matching address information. Then, it can first select the address information [Shuizhiyuan, Deshui Street, Daxing District] with a frequency of "80" to complete the target address query information "De". The completed target address query information "Shuizhiyuan, Deshui Street, Daxing District" is obtained. Then, it can select the address information [Deyun Street, Daxing District, Water Conservancy Institute] with a frequency of "60" to complete the target address query information "De". The completed target address query information "Deyun Street, Daxing District, Water Conservancy Institute" is obtained.
[0081] As a fifth example, each of the matching address information included in the address information table may be:
[0082]
[0083] The aforementioned executing entity can respond to the determination that the target address query information "De / Yun / Street / Water / Conservancy / Institute" or the address extraction information "Water / Conservancy / Institute" meets the preset condition "[the target address query information or address extraction information is the same as the secondary area address information]". Here, the secondary area address information can include first-class address names and second-class address names. Address information with a priority marker of "5" can be selected as matching address information: [Mengmeng District Deyun Street Water Conservancy Institute], [Xiaxia District Deyun Street Water Conservancy Institute], [Yuanyuan District Deyun Street Water Conservancy Institute], and [Longlong District Deyun Street Water Conservancy Institute]. Next, the address information [Yuanyuan District Deyun Street Water Conservancy Institute] with a frequency of "80" can be selected to complete the target address query information "De / Yun / Street / Water / Conservancy / Institute". The completed target address query information is then obtained as "Daxing District Deyun Street Water Conservancy Institute". Next, you can select the address information [Water Conservancy Institute, Deyun Street, Mengmeng District] with a frequency of "60" to complete the target address query information "De / Yun / Street / Water / Conservancy / Institute". The completed target address query information will then be "Water Conservancy Institute, Deyun Street, Mengmeng District".
[0084] Step 304, as an inventive point of this disclosure, solves the second technical problem mentioned in the background: "Failure to consider the matching degree between the recommended address information and the user's input order address information from multiple dimensions leads to inaccurate address information recommendations to the user, resulting in a poor user experience when inputting address information, and further causing user traffic loss on the online platform." Factors contributing to low user traffic on the online platform often include: failure to consider the matching degree between the recommended address information and the user's input order address information from multiple dimensions, leading to inaccurate address information recommendations to the user and a poor user experience when inputting address information. Solving these factors can increase user traffic on the online platform. To achieve this effect, this disclosure selects matching address information from the address information table through five dimensions defined in the preset condition group and target predetermined conditions. This improves the matching degree between the recommended address information and the user's input order address information, completes the address query information entered by the user, and improves the accuracy of the recommended address information. Therefore, it enhances the user experience when inputting address information, thereby increasing user traffic on the online platform.
[0085] Step 305: In response to the target address query information or the address extraction information meeting the target predetermined conditions, based on the target address query information, determine the priority value of each matching address information in the matching address information set to obtain a priority value group.
[0086] In some embodiments, in response to the target address query information or the address extraction information satisfying a predetermined target condition, the executing entity may determine the priority value of each matching address information in the matching address information set based on each word included in the target address query information, thereby obtaining a priority value group. Here, the predetermined target condition may be [a predetermined number of words included in the target address query information or address extraction information are the same as the words included in the secondary area address information]. Here, the reciprocal of the frequency of each word included in the target address query information in the address information table may be determined first. Next, the frequency of the matching address information corresponding to each word included in the target address query information may be determined. Then, the product of the reciprocal of the words in the target address query information that satisfy the predetermined target condition and the frequency of each corresponding matching address information is determined as the priority value, thereby obtaining a priority value group. Here, the secondary area address information may include first-class address names and second-class address names.
[0087] As an example, the matching address information included in the address information table could be:
[0088]
[0089] In response to determining that the target address query information "De / Huo / Lu / Shui / Guang / Chang" or the address extraction information "Shui / Guang / Chang" satisfies the target predetermined condition "[A predetermined number of words included in the target address query information or the address extraction information are the same as the words included in the secondary area address information]". Among them, the frequency of "De" in the target address query information appears "4" times in each of the matching address information included in the address information table. The frequency of "Shui" in the target address query information or the address extraction information appears "5" times in each of the matching address information included in the address information table. Among them, the reciprocal of the frequency "4" of "De" is "1 / 4". The reciprocal of the frequency "5" of "Shui" is "1 / 5". Here, the frequency of the first matching address information "Mengmeng District Detian Street Water Conservancy Institute" corresponding to "De" and "Shui" is "60". The frequency of the second matching address information "Xiaxia District Deyun Street Water Conservancy Institute" corresponding to "De" and "Shui" is "20". The frequency of the third matching address information "Yuanyuan District Dedi Street Water Conservancy Institute" corresponding to "De" and "Shui" is "80". The frequency of the fourth matching address information "Longlong District Deshui Street Water Conservancy Institute" corresponding to "De" and "Shui" is "40". Multiply the reciprocal of the frequency of "De", "1 / 4", by the frequency of the first matching address information "Mengmeng District Detian Street Water Conservancy Institute", "60", to get "15". Multiply the reciprocal of the frequency of "Shui", "1 / 5", by the frequency of the first matching address information "Mengmeng District Detian Street Water Conservancy Institute", "60", to get "12". Add "15" and "12" to generate the priority value "27" of the first matching address information "Mengmeng District Detian Street Water Conservancy Institute". Multiply the reciprocal of the frequency of "De", "1 / 4", by the frequency of the second matching address information "Xiaxia District Deyun Street Water Conservancy Institute", "20", to get "5". Multiply the reciprocal of the frequency of "Shui", "1 / 5", by the frequency of the second matching address information "Xiaxia District Deyun Street Water Conservancy Institute", "20", to get "4". Add "5" and "4" to generate the priority value "9" of the second matching address information "Xiaxia District Deyun Street Water Conservancy Institute". Multiply the reciprocal of the frequency of "De", "1 / 4", by the frequency of the third matching address information "Yuanyuan District Dedi Street Water Conservancy Institute", "80", to get "20". Multiply the reciprocal of the frequency of "Shui", "1 / 5", by the frequency of the third matching address information "Yuanyuan District Dedi Street Water Conservancy Institute", "80", to get "16". Add "20" and "16" to generate the priority value "36" of the third matching address information "Yuanyuan District Dedi Street Water Conservancy Institute". Multiply the reciprocal of the frequency of "De", "1 / 4", by the frequency of the fourth matching address information "Longlong District Deshui Street Water Conservancy Institute", "40", to get "10". Multiply the reciprocal of the frequency of "Shui", "1 / 5", by the frequency of the fourth matching address information "Longlong District Deshui Street Water Conservancy Institute", "40", to get "8". Add "10" and "8" to generate the priority value "18" of the fourth matching address information "Longlong District Deshui Street Water Conservancy Institute". Obtain the priority value group "27, 9, 36, 18".
[0090] Step 306: Based on the above priority value group and the above matching address information set, the above target address query information is supplemented.
[0091] In some embodiments, firstly, the execution entity can sort the priority values in the priority value group in descending order of numerical value to obtain a priority value sequence. Then, according to the matching address information corresponding to each priority value in the priority value sequence, the target address query information is padded. Here, the padding process may involve adding words in the matching address information that are different from the target address query information to the target address query information.
[0092] As an example, the target address query information could be "De / Huo / Lu / Shui / Guang / Chang". The priority values in the priority value group "27, 9, 36, 18" are sorted in descending order, resulting in the priority value sequence "36, 27, 18, 9". First, the matching address information "Yuanyuan District Dedi Street Water Conservancy Institute" corresponding to priority value "36" can be selected to complete the target address query information "De / Huo / Lu / Shui / Guang / Chang", resulting in the completed target address query information "Yuanyuan District Dedi Street Water Conservancy Institute". Next, the matching address information "Mengmeng District Detian Street Water Conservancy Institute" corresponding to priority value "27" can be selected to complete the target address query information "De / Huo / Lu / Shui / Guang / Chang", resulting in the completed target address query information "Mengmeng District Detian Street Water Conservancy Institute". Then, you can select the matching address information "Longlong District Deshui Street Water Conservancy Institute" corresponding to priority value "18" to complete the target address query information "De / Huo / Lu / Shui / Guang / Chang", resulting in the completed target address query information "Longlong District Deshui Street Water Conservancy Institute". Finally, you can select the matching address information "Xiaxia District Deyun Street Water Conservancy Institute" corresponding to priority value "9" to complete the target address query information "De / Huo / Lu / Shui / Guang / Chang", resulting in the completed target address query information "Xiaxia District Deyun Street Water Conservancy Institute".
[0093] Step 307: Display the completed target address query information for the user to select.
[0094] In some embodiments, the aforementioned executing entity may display the supplemented target address query information for the user to select. As an example, the supplemented target address query information "Yuanyuan District Dedi Street Water Conservancy Institute" and "Longlong District Deshui Street Water Conservancy Institute" may be sent to the relevant display device "A" for the user to select.
[0095] from Figure 3 It can be seen that, with Figure 2 Compared to the description of some corresponding embodiments, Figure 3In some corresponding embodiments, the address information processing method flow 300 can preset five dimensions divided by the condition group, improving the matching degree between the recommended address information and the order address information entered by the user, completing the address query information entered by the user, and improving the accuracy of the recommended address information. This enhances the user experience when entering address information, thereby increasing user traffic on the network platform.
[0096] Further reference Figure 4 This illustration shows further embodiments of the address information processing method according to the present disclosure. The address information processing method includes the following steps:
[0097] Step 401: Identify and extract the target address query information to generate address extraction information.
[0098] Step 402: Determine whether there is address information in the address information table stored in the search server that matches the above target address query information or the above address extraction information.
[0099] Step 403: In response to the determination of existence, select the address information that matches the target address query information or the address extraction information from the above address information table as the matching address information, and obtain the matching address information set.
[0100] Step 404: Based on the above set of matching address information, complete the above target address query information.
[0101] In some embodiments, the specific implementation of steps 401-404 and the resulting technical effects can be found in [reference needed]. Figure 2 Steps 201-204 in the corresponding embodiments will not be repeated here.
[0102] Step 405: In response to the determination that the address does not exist, a map page is displayed for the user to select address location information.
[0103] In some embodiments, in response to determining that the address does not exist, the aforementioned executing entity may display a map page for the user to select address location information. Here, the map page may be a page that includes map information. In practice, the map page may display the address location information "Yuanyuan Apartment, Tingting Road, Mengmeng District" for user "A" to select.
[0104] Step 406: Standardize the address location information selected by the user and input it into the address information table mentioned above.
[0105] In some embodiments, the aforementioned execution entity can standardize the address location information selected by the user and input it into the address information table. Here, standardization may involve dividing the selected address information into sections and then assigning priorities. This division refers to dividing the address information according to primary and secondary area address information. For example, the selected address information "Mengmeng District, Tingting Road, Yuanyuan Apartment" can be divided into "Mengmeng District / Tingting Road / Yuanyuan Apartment," with a priority marker of "5." Then, "Mengmeng District / Tingting Road / Yuanyuan Apartment" can be input into the address information table.
[0106]
[0107]
[0108] from Figure 4 It can be seen that, with Figure 2 Compared to the description of some corresponding embodiments, Figure 4 The flow 400 of the address information processing method in some corresponding embodiments can supplement the address information not found in the address information table, continuously improve the address information table, and provide data support for further increasing the recommended address information range.
[0109] Further reference Figure 5 This document illustrates some embodiments of generating an address information table in an address information processing method according to the present disclosure. The method for generating an address information table includes the following steps:
[0110] Step 501: Collect at least one historical order address information for each user to obtain a set of historical order address information.
[0111] In some embodiments, the entity that generates the address information table may be the entity that executes the address information processing method (e.g., Figure 1 The computing device 101 shown can also be other computing devices. The entity that generates the address information table can collect at least one historical order address information of each user from the terminal via a wired or wireless connection to obtain a historical order address information set. The aforementioned historical order address information includes primary area address information and secondary area address information.
[0112] As an example, the historical order address information collected for user A may include: [5th Floor, Building 7, Daxiong Tulip House, Deyun Street, Daxing District] and [5th Floor, Building 6, Daxiong Company, Deyun Street, Daxing District]. The historical order address information collected for user B may include: [5th Floor, Building 6, Daxiong Tulip House, Deyun Street, Daxing District]. The historical order address information collected for user C may include: [5th Floor, Building 6, Daxiong Tulip House, Deyun Street, Mengmeng District] and [5th Floor, Building 6, Daxiong Company, Deyun Street, Mengmeng District]. The historical order address information collected for user D may include: [Daxiong Tulip House, Deyun Street, Mengmeng District]. The historical order address information collected for user E may include: [5th Floor, Building 10, Daxiong Tulip House, Deyun Street, Mengmeng District]. The following is a list of historical order addresses: [5th Floor, Building 7, Daxiong Tulip House, Deyun Street, Daxing District]; [5th Floor, Building 6, Daxiong Company, Deyun Street, Daxing District]; [5th Floor, Building 6, Daxiong Tulip House, Deyun Street, Daxing District]; [5th Floor, Building 6, Daxiong Tulip House, Deyun Street, Mengmeng District]; [5th Floor, Building 6, Daxiong Company, Deyun Street, Mengmeng District]; [5th Floor, Building 10, Daxiong Tulip House, Deyun Street, Mengmeng District].
[0113] Step 502: Normalize each historical order address in the above historical order address information set to generate normalized historical order address information, thus obtaining a normalized historical order address information set.
[0114] In some embodiments, the aforementioned executing entity can perform normalization processing on each historical order address information in the aforementioned historical order address information set to generate normalized historical order address information, thus obtaining a normalized historical order address information set. Here, normalization processing can include partitioning and special character processing. Partitioning refers to dividing the historical order address information. Special character processing can include converting lowercase English letters to uppercase English letters, converting lowercase Chinese numerals to Arabic numerals, and removing special characters. For example, "5th Floor, Building 10, Daxiong Tulip House, Deyun Street, Mengmeng District" can be partitioned into "5th Floor, Building 10, Daxiong Tulip House, Mengmeng District / Deyun Street / Da ...
[0115] Step 503: Extract the primary region address information corresponding to each primary region address information in the above-mentioned standardized historical order address information set to obtain the primary region address extraction information set.
[0116] In some embodiments, the aforementioned executing entity can extract the primary region address information corresponding to each standardized historical order address information in the standardized historical order address information set to obtain a primary region address extraction information set. Here, the extraction process may involve first extracting the primary region address information corresponding to each standardized historical order address information, and then deduplicating the extracted primary region address information.
[0117] As an example, the standardized historical order address information set could be: [5th Floor, Building 7, Daxiong Tulip House, Deyun Street, Daxing District]; [5th Floor, Building 6, Daxiong Company, Deyun Street, Daxing District]; [5th Floor, Building 6, Daxiong Tulip House, Deyun Street, Daxing District]; [5th Floor, Building 6, Daxiong Tulip House, Deyun Street, Mengmeng District]; [5th Floor, Building 6, Daxiong Company, Deyun Street, Mengmeng District]; [5th Floor, Building 10, Daxiong Tulip House, Deyun Street, Mengmeng District]. Extracting the corresponding primary area address information from each standardized historical order address information set in the above standardized historical order address information set yields the primary area address extraction information set: [Daxing District]; [Mengmeng District].
[0118] Step 504: Extract the secondary area address information corresponding to each normalized historical order address information in the above normalized historical order address information set to obtain the secondary area address extraction information set.
[0119] In some embodiments, the aforementioned executing entity can extract the primary region address information corresponding to each standardized historical order address information in the standardized historical order address information set to obtain a primary region address extraction information set. Here, the extraction process may involve first extracting the secondary region address information corresponding to the standardized historical order address information, and then deduplicating the extracted secondary region address information.
[0120] As an example, a standardized set of historical order address information could be: [5th floor, Building 7, Daxiong Tulip House, Deyun Street, Daxing District]; [5th floor, Building 6, Daxiong Company, Deyun Street, Daxing District]; [5th floor, Building 6, Daxiong Tulip House, Deyun Street, Daxing District]; [5th floor, Building 6, Daxiong Tulip House, Deyun Street, Mengmeng District]; [5th floor, Building 6, Daxiong Company, Deyun Street, Mengmeng District]; [5th floor, Building 10, Daxiong Tulip House, Deyun Street, Mengmeng District]; [5th floor, Building 10, Daxiong Tulip House, Deyun Street, Mengmeng District]; The secondary area address information corresponding to each standardized historical order address in the above standardized historical order address information set is extracted and processed to obtain the secondary area address extraction information set: [5th floor of Building 7, Deyun Street / Daxiong Tulip House]; [5th floor of Building 6, Deyun Street / Daxiong Company]; [5th floor of Building 6, Deyun Street / Daxiong Tulip House]; [5th floor of Building 10, Deyun Street / Daxiong Tulip House]; [5th floor of Building 10, Deyun Street / Daxiong Tulip House];
[0121] Step 505: Based on the above-mentioned primary region address extraction information set, store the secondary region address extraction information in the above-mentioned secondary region address extraction information set into the above-mentioned search server.
[0122] In some embodiments, the execution entity may store each primary region address extraction information and each secondary region address extraction information corresponding to the primary region address extraction information in the primary region address extraction information set to the search server.
[0123] The embodiments disclosed above have the following beneficial effects: First, by collecting at least one historical order address information from each user, more address information can be provided, offering data support for improving the accuracy of user address information queries. Next, each historical order address information in the aforementioned historical order address information set is standardized to generate standardized historical order address information. This avoids multiple backups due to inconsistencies in the expression of various words in the information, laying the foundation for saving storage resources. Then, the primary region address information corresponding to each standardized historical order address information in the aforementioned standardized historical order address information set is extracted to obtain a primary region address extraction information set. This allows subsequent address information from the same region to be stored together for easy retrieval. Second, the secondary region address information corresponding to each standardized historical order address information in the aforementioned standardized historical order address information set is extracted to obtain a secondary region address extraction information set. This provides a reference for subsequent data storage. Finally, based on the aforementioned primary region address extraction information set, the secondary region address extraction information in the aforementioned secondary region address extraction information set is stored in the aforementioned search server. This provides data support for completing the address information entered by the user.
[0124] Further reference Figure 6 This illustration shows some other embodiments of generating an address information table in the address information processing method according to the present disclosure. The method for generating an address information table includes the following steps:
[0125] Step 601: Collect at least one historical order address information for each user to obtain a set of historical order address information.
[0126] Step 602: Normalize each historical order address in the above historical order address information set to generate normalized historical order address information, thus obtaining a normalized historical order address information set.
[0127] Step 603: Extract the primary region address information corresponding to each primary region address information in the above-mentioned standardized historical order address information set to obtain the primary region address extraction information set.
[0128] Step 604: Extract the secondary region address information corresponding to each normalized historical order address information in the above normalized historical order address information set to obtain the secondary region address extraction information set.
[0129] In some embodiments, the specific implementation of steps 601-604 and the resulting technical effects can be found in [reference]. Figure 5 Steps 501-504 in the corresponding embodiments will not be repeated here.
[0130] Step 605: Construct an empty address information table.
[0131] In some embodiments, the entity that generates the address information table can construct an empty address information table in various ways. For example, a script with table creation functionality can be used to construct the empty address information table.
[0132] Step 606: Input each first-level area address extraction information and each second-level area address extraction information corresponding to the first-level area address extraction information set into the above empty address information table to generate the address information table.
[0133] In some embodiments, the execution entity may input each first-level region address extraction information and each second-level region address extraction information corresponding to the first-level region address extraction information set into the empty address information table to generate an address information table.
[0134] As an example, the primary area address extraction information set could be: [Daxing District]; [Mengmeng District]. The secondary area address extraction information corresponding to the first primary area address extraction information [Daxing District] includes: [5th floor of Building 7, Deyun Street / Daxiong Tulip House]; [5th floor of Building 6, Deyun Street / Daxiong Company]; [5th floor of Building 6, Deyun Street / Daxiong Tulip House]. The secondary area address extraction information corresponding to the second primary area address extraction information [Mengmeng District] includes: [5th floor of Building 6, Deyun Street / Daxiong Company]; [5th floor of Building 6, Deyun Street / Daxiong Tulip House]; [5th floor of Building 10, Deyun Street / Daxiong Tulip House]. Each primary area address extraction information set and each corresponding secondary area address extraction information set are input into the above empty address information table to generate the address information table.
[0135] Level 1 area address information Class I address name Class II address name Daxing District Deyun Street 5th Floor, Building 7, Daxiong Tulip House Daxing District Deyun Street 5th Floor, Building 6, Da Xiong Company Daxing District Deyun Street 5th Floor, Building 6, Daxiong Tulip House Mengmeng District Deyun Street 5th Floor, Building 6, Da Xiong Company Mengmeng District Deyun Street 5th Floor, Building 6, Daxiong Tulip House Mengmeng District Deyun Street Daxiong Tulip House Mengmeng District Deyun Street 5th Floor, Building 10, Daxiong Tulip House
[0136] Step 607: Merge each word included in each secondary region address extraction information in the above secondary region address extraction information set to generate merged secondary region address extraction information, thus obtaining the merged secondary region address extraction information set.
[0137] In some embodiments, the execution entity may merge the words included in each secondary region address extraction information in the secondary region address extraction information set to generate merged secondary region address extraction information, thus obtaining a merged secondary region address extraction information set. Here, the merging process may be a concatenation process.
[0138] As an example, the set of secondary area address extraction information can be: [5th floor of Building 7, Daxiong Tulip House, Deyun Street]; [5th floor of Building 6, Daxiong Company, Deyun Street]; [5th floor of Building 6, Daxiong Tulip House, Deyun Street]; [5th floor of Building 10, Daxiong Tulip House, Deyun Street]. The secondary area address extraction information [5th floor of Building 7, Daxiong Tulip House, Deyun Street] is concatenated to obtain [5th floor of Building 7, Daxiong Tulip House, Deyun Street]. The secondary area address extraction information [5th floor of Building 6, Daxiong Company, Deyun Street] is concatenated to obtain [5th floor of Building 6, Daxiong Company, Deyun Street]. The secondary area address extraction information [5th floor of Building 6, Daxiong Tulip House, Deyun Street] is concatenated to obtain [5th floor of Building 6, Daxiong Tulip House, Deyun Street]. The secondary area address extraction information [5th floor of Building 6, Daxiong Tulip House, Deyun Street] is concatenated to obtain [5th floor of Building 6, Daxiong Tulip House, Deyun Street]. The extracted secondary area address information [5th floor of Building 10, Daxiong Tulip House, Deyun Street] is concatenated to obtain [5th floor of Building 10, Daxiong Tulip House, Deyun Street]. The resulting merged secondary area address extraction information set is: [5th floor of Building 7, Daxiong Tulip House, Deyun Street]; [5th floor of Building 6, Daxiong Company, Deyun Street]; [5th floor of Building 6, Daxiong Tulip House, Deyun Street]; [Daxiong Tulip House, Deyun Street]; [5th floor of Building 10, Daxiong Tulip House, Deyun Street].
[0139] Step 608: Perform first word segmentation processing on each merged secondary region address extraction information in the above merged secondary region address extraction information set to generate word segmented secondary region address extraction information, thus obtaining a word segmented secondary region address extraction information set.
[0140] In some embodiments, the aforementioned execution entity may perform a first word segmentation process on each merged secondary region address extraction information in the aforementioned merged secondary region address extraction information set to generate word-segmented secondary region address extraction information, thereby obtaining a word-segmented secondary region address extraction information set. Here, the first word segmentation process can be any word segmentation method. For example, Jieba word segmentation, or Chinese word segmentation.
[0141] As an example, the above merged secondary area address extraction information set can be: [Building 7, 5th Floor, Daxiong Tulip Residence, Deyun Street]; [Building 6, 5th Floor, Daxiong Company, Deyun Street]; [Building 6, 5th Floor, Daxiong Tulip Residence, Deyun Street]; [Daxiong Tulip Residence, Deyun Street]; [Building 10, 5th Floor, Daxiong Tulip Residence, Deyun Street]. Through Chinese word segmentation, each merged secondary area address extraction information in the above merged secondary area address extraction information set is segmented into Chinese words, obtaining the segmented secondary area address extraction information set: [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / 7 / Hao / Lou / 5 / Ceng]; [De / Yun / Jie / Da / Xiong / Gong / Si / 6 / Hao / Lou / 5 / Ceng]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / 6 / Hao / Lou / 5 / Ceng]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / 10 / Hao / Lou / 5 / Ceng].
[0142] Step 609, input each first-level area address extraction information in the above first-level area address extraction information set and each corresponding segmented second-level area address extraction information into the above address information table to update the above address information table.
[0143] In some embodiments, the above execution subject can input each first-level area address extraction information in the above first-level area address extraction information set and each corresponding segmented second-level area address extraction information into the above address information table to update the above address information table.
[0144] As an example, the first-level regional address extraction information set can be [Daxing District]; [Mengmeng District]. The second-level regional address extraction information set after word segmentation can be: [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang She / 7 Hao Lou / 5 Ceng]; [De / Yun / Jie / Da / Xiong Gong / Si / 6 Hao Lou / 5 Ceng]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang She / 6 Hao Lou / 5 Ceng]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang She]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang She / 10 Hao Lou / 5 Ceng]. The second-level regional address extraction information corresponding to the first-level regional address extraction information [Daxing District] can include: [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang She / 7 Hao Lou / 5 Ceng]; [De / Yun / Jie / Da / Xiong Gong / Si / 6 Hao Lou / 5 Ceng]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang She / 6 Hao Lou / 5 Ceng]. The second-level regional address extraction information corresponding to the first-level regional address extraction information [Mengmeng District] can include: [De / Yun / Jie / Da / Xiong Gong / Si / 6 Hao Lou / 5 Ceng]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang She / 6 Hao Lou / 5 Ceng]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang She]; [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang She / 10 Hao Lou / 5 Ceng]. Input each first-level regional address extraction information in the above first-level regional address extraction information set and each second-level regional address extraction information after word segmentation corresponding to the above first-level regional address extraction information into the above address information table for update, and obtain the updated address information table:
[0145]
[0146]
[0147] Step 610, perform word segmentation processing on each normalized historical order placement address information in the above normalized historical order placement address information set to generate word groups, and obtain a word group set.
[0148] In some embodiments, the above execution subject can perform word segmentation processing on each normalized historical order placement address information in the above normalized historical order placement address information set to generate word groups, and obtain a word group set. Here, the word segmentation processing can be performed on the normalized historical order placement address information through a pre-set regular expression {"[one, two, three, four, five, six, seven, eight, nine, ten, hundred, thousand, zero, 〇, a-zA-Z0-9]+[-#]"; "[jia, yi, bing, ding, wu, ji, geng, xin, ren, gui, lin, east, west, south, north]*[a-zA-Z0-9, one, two, three, four, five, six, seven, eight, nine, ten, hundred, thousand, zero, 〇]+ hao (district|lane|block|building|courtyard|gate|unit|number|room|alley|building|floor|meter|mansion|courtyard)}. Here, the word segmentation processing method can be Jieba word segmentation.
[0149] As an example, the standardized historical single-order address information set can be: [Daxing District / Deyun Street / Daxiong Tulip House, Building 7, 5th Floor]; [Daxing District / Deyun Street / Daxiong Company, Building 6, 5th Floor]; [Daxing District / Deyun Street / Daxiong Tulip House, Building 6, 5th Floor]; [Mengmeng District / Deyun Street / Daxiong Tulip House, Building 6, 5th Floor]; [Mengmeng District / Deyun Street / Daxiong Company, Building 6, 5th Floor]; [Mengmeng District / Deyun Street / Daxiong Tulip House]; [Mengmeng District / Deyun Street / Daxiong Tulip House, Building 10, 5th Floor]. Word segmentation can be performed on [Daxing District / Deyun Street / Daxiong Tulip House, Building 7, 5th Floor] to generate word groups [Da / Xing / Qu / De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / 7 Hao Lou / 5 Ceng]. Word segmentation can be performed on [Daxing District / Deyun Street / Daxiong Company, Building 6, 5th Floor] to generate word groups [Da / Xing / Qu / De / Yun / Jie / Da / Xiong / Gong / Si / 6 Hao Lou / 5 Ceng]. Word segmentation can be performed on [Daxing District / Deyun Street / Daxiong Tulip House, Building 6, 5th Floor] to generate word groups [Da / Xing / Qu / De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / 6 Hao Lou / 5 Ceng]. Word segmentation can be performed on [Mengmeng District / Deyun Street / Daxiong Tulip House, Building 6, 5th Floor] to generate word groups [Meng / Meng / Qu / De / Yun / Jie / Da / Xiong / Gong / Si / 6 Hao Lou / 5 Ceng]. Word segmentation can be performed on [Mengmeng District / Deyun Street / Daxiong Company, Building 6, 5th Floor] to generate word groups [Meng / Meng / Qu / De / Yun / Jie / Da / Xiong / Gong / Si / 6 Hao Lou / 5 Ceng]. Word segmentation can be performed on [Mengmeng District / Deyun Street / Daxiong Tulip House] to generate word groups [Meng / Meng / Qu / De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She]. Word segmentation can be performed on [Mengmeng District / Deyun Street / Daxiong Tulip House, Building 10, 5th Floor] to generate word groups [Meng / Meng / Qu / De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / 10 Hao Lou / 5 Ceng]. Obtain the word group set: [Da / Xing / Qu / De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / 7 Hao Lou / 5 Ceng]; [Da / Xing / Qu / De / Yun / Jie / Da / Xiong / Gong / Si / 6 Hao Lou / 5 Ceng]; [Da / Xing / Qu / De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / 6 Hao Lou / 5 Ceng]; [Meng / Meng / Qu / De / Yun / Jie / Da / Xiong / Gong / Si / 6 Hao Lou / 5 Ceng]; [Meng / Meng / Qu / De / Yun / Jie / Da / Xiong / Gong / Si / 6 Hao Lou / 5 Ceng]; [Meng / Meng / Qu / De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She]; [Meng / Meng / Qu / De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / 10 Hao Lou / 5 Ceng].
[0150] Step 611: Perform second-level word segmentation on each second-level regional address extraction information in the above second-level regional address extraction information set to generate a second-level regional address word sequence, and obtain a second-level regional address word sequence set.
[0151] In some embodiments, the above-mentioned execution entity may perform second word segmentation processing on each second-level regional address extraction information in the above-mentioned second-level regional address extraction information set to generate a second-level regional address word sequence, and obtain a second-level regional address word sequence set. Here, the second-level regional address extraction information may be segmented by a pre-set regular expression {"[一二三四五六七八九十百千零〇a-zA-Z0-9]+[-#]"; "[甲乙丙丁戊己庚辛壬癸临东西南北]*[a-zA-Z0-9一二三四五六七八九十百千零〇]+号(区|巷|座|楼|院|门|单元|号|室|弄|栋|层|米|幢|院)". Here, the way of the second word segmentation processing may be Jieba word segmentation.
[0152] As an example, the second-level regional address extraction information set may be [Deyun Street / Daxiong Tulip House, Building 7, Floor 5]; [Deyun Street / Daxiong Company, Building 6, Floor 5]; [Deyun Street / Daxiong Tulip House, Building 6, Floor 5]; [Deyun Street / Daxiong Tulip House]; [Deyun Street / Daxiong Tulip House, Building 10, Floor 5]. The second-level regional address extraction information in the second-level regional address extraction information set may be segmented to generate a second-level regional address word sequence, and obtain a second-level regional address word sequence set: [De / Yun / Street / Da / Xiong / Yu / Jin / Xiang / She, Building 7 / Floor 5]; [De / Yun / Street / Da / Xiong / Company, Building 6 / Floor 5]; [De / Yun / Street / Da / Xiong / Yu / Jin / Xiang / She, Building 6 / Floor 5]; [De / Yun / Street / Da / Xiong / Yu / Jin / Xiang / She]; [De / Yun / Street / Da / Xiong / Yu / Jin / Xiang / She, Building 10 / Floor 5].
[0153] Step 612, determine the quantity of each second-level regional address word included in the above-mentioned word segmentation group set, and obtain a quantity set.
[0154] In some embodiments, the above-mentioned execution entity may determine the quantity of each second-level regional address word included in the above-mentioned word segmentation group set, and obtain a quantity set.
[0155] As an example, the word segmentation group set can be: [Daxing District, Deyun Street, Daxiong Yujinxiang Residence, Building 7, Floor 5]; [Daxing District, Deyun Street, Daxiong Company, Building 6, Floor 5]; [Daxing District, Deyun Street, Daxiong Yujinxiang Residence, Building 6, Floor 5]; [Mengmeng District, Deyun Street, Daxiong Company, Building 6, Floor 5]; [Mengmeng District, Deyun Street, Daxiong Company, Building 6, Floor 5]; [Mengmeng District, Deyun Street, Daxiong Yujinxiang Residence]; [Mengmeng District, Deyun Street, Daxiong Yujinxiang Residence, Building 10, Floor 5]. The secondary area address word sequence set can be: [Deyun Street, Daxiong Yujinxiang Residence, Building 7, Floor 5]; [Deyun Street, Daxiong Company, Building 6, Floor 5]; [Deyun Street, Daxiong Yujinxiang Residence, Building 6, Floor 5]; [Deyun Street, Daxiong Yujinxiang Residence]; [Deyun Street, Daxiong Yujinxiang Residence, Building 10, Floor 5]. It can be determined that the number of the secondary area address word "De" included in the word segmentation group set is "7". It can be determined that the number of the secondary area address word "Yun" included in the word segmentation group set is "7". It can be determined that the number of the secondary area address word "Jie" included in the word segmentation group set is "7". It can be determined that the number of the secondary area address word "Da" included in the word segmentation group set is "10". It can be determined that the number of the secondary area address word "Xiong" included in the word segmentation group set is "7". It can be determined that the number of the secondary area address word "Yu" included in the word segmentation group set is "4". It can be determined that the number of the secondary area address word "Jin" included in the word segmentation group set is "4". It can be determined that the number of the secondary area address word "Xiang" included in the word segmentation group set is "4". It can be determined that the number of the secondary area address word "She" included in the word segmentation group set is "4". It can be determined that the number of the secondary area address word "Building 7" included in the word segmentation group set is "1". It can be determined that the number of the secondary area address word "Floor 5" included in the word segmentation group set is "5". It can be determined that the number of the secondary area address word "Gong" included in the word segmentation group set is "3". It can be determined that the number of the secondary area address word "Si" included in the word segmentation group set is "3". It can be determined that the number of the secondary area address word "Building 6" included in the word segmentation group set is "3". It can be determined that the number of the secondary area address word "Building 10" included in the word segmentation group set is "z". The quantity set is obtained: {"De": 7; "Yun": 7; "Jie": 7; "Da": 10; "Xiong": 7; "Yu": 4; "Jin": 4; "Xiang": 4; "She": 4; "Building 7": 1; "Floor 5": 5; "Gong": 3; "Si": 3; "Building 6": 3; "Building 10": 1}.
[0156] It should be noted that there seems to be an error in the original text where "Building 10" is said to have a quantity of "z" which might be a typo. I've translated it as "1" as per the context's pattern. If this is incorrect, please clarify the original content.Step 613: For each secondary region address word sequence in the above secondary region address word sequence set, in response to determining that the sum of the number of every two secondary region address words included in the above secondary region address word sequence is greater than or equal to a predetermined threshold, the two secondary region address words are merged.
[0157] In some embodiments, for each secondary region address word sequence in the set of secondary region address word sequences, the execution entity may merge the two secondary region address words in response to determining that the sum of the number of every two secondary region address words included in the secondary region address word sequence is greater than or equal to a predetermined threshold.
[0158] As an example, the set of secondary region address word sequences can be: [De / Yun / Street / Daxiong / Yujinxiang Residence / Building 7 / Floor 5]; [De / Yun / Street / Daxiong / Company / Building 6 / Floor 5]; [De / Yun / Street / Daxiong / Yujinxiang Residence / Building 6 / Floor 5]; [De / Yun / Street / Daxiong / Yujinxiang Residence]; [De / Yun / Street / Daxiong / Yujinxiang Residence / Building 10 / Floor 5]. The quantity set can be: {"De": 7; "Yun": 7; "Street": 7; "Daxiong": 10; "Yu": 4; "Jin": 4; "Xiang": 4; "Residence": 4. "Building 7": 1; "Floor 5": 5; "Gong": 3; "Company": 3; "Building 6": 3; "Building 10": 1}. For the first secondary region address word sequence [De / Yun / Street / Daxiong / Yujinxiang Residence / Building 7 / Floor 5], among them, the sum of the quantities of the secondary region address words "De" and "Yun" is "14". The sum of the quantities of the secondary region address words "Yun" and "Street" is "14". The sum of the quantities of the secondary region address words "Street" and "Daxiong" is "17". The sum of the quantities of the secondary region address words "Daxiong" and "Yu" is "11". The sum of the quantities of the secondary region address words "Yu" and "Jin" is "8". The sum of the quantities of the secondary region address words "Jin" and "Xiang" is "8". The sum of the quantities of the secondary region address words "Xiang" and "Residence" is "8". The sum of the quantities of the secondary region address words "Residence" and "Building 7" is "5". The sum of the quantities of the secondary region address words "Building 7" and "Floor 5" is "6". For every two secondary region address words in the secondary region address word sequence [De / Yun / Street / Daxiong / Yujinxiang Residence / Building 7 / Floor 5] that are greater than or equal to the predetermined threshold "8", the two secondary region address words are merged to obtain the merged secondary region address word sequence [DeYunStreetDaxiongYujinxiang Residence / Building 7 / Floor 5]. For every two secondary region address words in the secondary region address word sequence [De / Yun / Street / Daxiong / Company / Building 6 / Floor 5] that are greater than or equal to the predetermined threshold "8", the two secondary region address words are merged to obtain the merged secondary region address word sequence [DeYunStreetDaxiong / Company / Building 6 / Floor 5]. For every two secondary region address words in the secondary region address word sequence [De / Yun / Street / Daxiong / Yujinxiang Residence / Building 6 / Floor 5] that are greater than or equal to the predetermined threshold "8", the two secondary region address words are merged to obtain the merged secondary region address word sequence [DeYunStreetDaxiongYujinxiang Residence / Building 6 / Floor 5]. For every two secondary region address words in the secondary region address word sequence [De / Yun / Street / Daxiong / Yujinxiang Residence] that are greater than or equal to the predetermined threshold "8", the two secondary region address words are merged to obtain the merged secondary region address word sequence [DeYunStreetDaxiongYujinxiang Residence].For each pair of secondary area address words in the secondary area address word sequence [De / Yun / Jie / Da / Xiong / Yu / Jin / Xiang / She / Building 10 / 5th Floor], the two secondary area address words that are greater than or equal to the predetermined threshold "8" are merged to obtain the merged secondary area address word sequence [Deyun Street Daxiong Tulip House / Building 10 / 5th Floor].
[0159] Step 614: Input each first-level region address extraction information and each second-level region address word sequence corresponding to the first-level region address extraction information set into the updated address information table for updating.
[0160] In some embodiments, the executing entity may input each primary region address extraction information and each secondary region address word sequence corresponding to the primary region address extraction information set into the updated address information table for updating. Here, the secondary region address word sequence may refer to the merged secondary region address word sequence.
[0161] As an example, the above-mentioned primary area address extraction information set could be: [Daxing District]; [Mengmeng District]. The secondary area address word sequence corresponding to the primary area address extraction information [Daxing District] includes: [Deyun Street Daxiong Tulip House / Building 7 / 5th Floor]; [Deyun Street Daxiong / Company / Building 6 / 5th Floor]; [Deyun Street Daxiong Tulip House / Building 6 / 5th Floor]. The secondary area address word sequence corresponding to the primary area address extraction information [Mengmeng District] includes: [Deyun Street Daxiong / Company / Building 6 / 5th Floor]; [Deyun Street Daxiong Tulip House / Building 6 / 5th Floor]; [Deyun Street Daxiong Tulip House]; [Deyun Street Daxiong Tulip House / Building 10 / 5th Floor]. Each primary area address extraction information set and each secondary area address word sequence corresponding to the above-mentioned primary area address extraction information set can be input into the updated address information table for updating, thereby generating the updated address information table:
[0162]
[0163] Step 615: Based on the preset tag category group, tag each address information included in the updated address information table.
[0164] In some embodiments, the aforementioned executing entity can perform marking processing on each address information included in the updated address information table based on a preset marking category group. Here, the preset marking category can be a level category of Class II address names. For example, the level categories of Class II address names can be divided into 5 levels: the first level "5" can be a community or residential category, the second level "4" can be a company category, the third level "3" can be a school category, the fourth level "2" can be a hospital category, and the fifth level "1" can be other categories. The marking processing can be performed on each address information in the updated address information table as follows:
[0165]
[0166] from Figure 6 It can be seen that, with Figure 5 Compared to the description of some corresponding embodiments, Figure 6 In some corresponding embodiments, the process 600 for generating the address information table can segment the standardized historical order address information using three word segmentation methods to improve the depth and breadth of the address information included in the address information table. This improves the accuracy of the recommended address information, thereby enhancing the user experience when selecting an order address during shopping and ultimately increasing user traffic on the online platform.
[0167] Further reference Figure 7 As an implementation of the methods shown in the above figures, this disclosure provides some embodiments of an address information processing apparatus, which are similar to... Figure 2 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.
[0168] like Figure 7 As shown, an address information processing apparatus 700 in some embodiments includes: an extraction unit 701 configured to perform identification and extraction processing on target address query information to generate address extraction information; a determination unit 702 configured to determine whether there is address information matching the target address query information or the address extraction information in an address information table stored in a search server; a selection unit 703 configured to, in response to determining that there is, select address information matching the target address query information or the address extraction information from the address information table as matching address information to obtain a set of matching address information; and a completion unit 704 configured to perform completion processing on the target address query information based on the set of matching address information.
[0169] Optionally, the completion unit 704 is further configured to: for each preset condition in the preset condition group, in response to determining that the target address query information or the address extraction information meets the preset condition, perform completion processing on the target address query information according to the tag category and frequency of each matching address information included in the address information table.
[0170] Optionally, the completion unit 704 is further configured to: in response to the target address query information or the address extraction information satisfying the target predetermined conditions, determine the priority value of each matching address information in the matching address information set based on the target address query information to obtain a priority value group; and perform completion processing on the target address query information according to the priority value group and the matching address information set.
[0171] Optionally, the device 700 further includes a display unit and an input unit. The display unit is configured to display a map page for the user to select address location information in response to determining that the address does not exist; the input unit is configured to standardize the address location information selected by the user and input it into the aforementioned address information table.
[0172] Optionally, the device 700 further includes a sending unit configured to display the supplemented target address query information for user selection.
[0173] Optionally, the generation of the address information table includes the following steps: collecting at least one historical order address information for each user to obtain a historical order address information set, wherein the historical order address information includes primary region address information and secondary region address information; normalizing each historical order address information in the historical order address information set to generate normalized historical order address information, thus obtaining a normalized historical order address information set; extracting each primary region address information corresponding to each normalized historical order address information in the normalized historical order address information set to obtain a primary region address extraction information set; extracting each secondary region address information corresponding to each normalized historical order address information in the normalized historical order address information set to obtain a secondary region address extraction information set; and storing each secondary region address extraction information in the secondary region address extraction information set in the search server based on the primary region address extraction information set.
[0174] Optionally, the step of generating the address information table further includes: constructing an empty address information table; inputting each first-level region address extraction information and each second-level region address extraction information corresponding to the first-level region address extraction information set into the empty address information table to generate the address information table.
[0175] Optionally, the step of generating the address information table further includes: merging the words included in each secondary region address extraction information in the above-mentioned secondary region address extraction information set to generate merged secondary region address extraction information, thus obtaining a merged secondary region address extraction information set; performing a first word segmentation process on each merged secondary region address extraction information in the above-mentioned merged secondary region address extraction information set to generate word-segmented secondary region address extraction information, thus obtaining a word-segmented secondary region address extraction information set; and inputting each primary region address extraction information in the above-mentioned primary region address extraction information set and each word-segmented secondary region address extraction information corresponding to the above-mentioned primary region address extraction information into the above-mentioned address information table to update the above-mentioned address information table.
[0176] Optionally, the step of generating the address information table further includes: performing word segmentation on each normalized historical order address information in the above-mentioned normalized historical order address information set to generate word groups, thereby obtaining a word group set; performing a second word segmentation on each secondary region address extraction information in the above-mentioned secondary region address extraction information set to generate a secondary region address word sequence, thereby obtaining a secondary region address word sequence set; determining the number of each secondary region address word included in the above-mentioned word group set, thereby obtaining a quantity set; and for each secondary region address word sequence in the above-mentioned secondary region address word sequence set, in response to determining that the sum of the number of every two secondary region address words included in the above-mentioned secondary region address word sequence is greater than or equal to a predetermined threshold, merging the two secondary region address words.
[0177] Optionally, the step of generating the address information table further includes: inputting each first-level area address extraction information and each second-level area address word sequence corresponding to the first-level area address extraction information set into the updated address information table; and performing marking processing on each address information included in the updated address information table based on a preset marking category group.
[0178] It is understandable that the units described in the device 700 are related to the reference. Figure 2 The steps in the described method correspond to each other. Therefore, the operations, features, and beneficial effects described above for the method also apply to the device 700 and the units contained therein, and will not be repeated here.
[0179] The following is for reference. Figure 8 It illustrates electronic devices suitable for implementing some embodiments of this disclosure (e.g., Figure 1A schematic diagram of the structure of the computing device 101)800. Electronic devices in some embodiments of this disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 8 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.
[0180] like Figure 8 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0181] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8 An electronic device 800 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 8 Each box shown can represent a device or multiple devices as needed.
[0182] In particular, according to some embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, it performs the functions defined in the methods of some embodiments of this disclosure.
[0183] It should be noted that, in some embodiments of this disclosure, the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0184] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0185] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device. The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: perform identification and extraction processing on target address query information to generate address extraction information; determine whether address information matching the target address query information or the address extraction information exists in the address information table stored in the search server; in response to determining that it exists, select address information matching the target address query information or the address extraction information from the address information table as matching address information, obtaining a set of matching address information; and perform completion processing on the target address query information based on the set of matching address information.
[0186] Computer program code for performing operations of some embodiments of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0187] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0188] The units described in some embodiments of this disclosure can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor may be described as including an extraction unit, a determination unit, a selection unit, and a completion unit. The names of these units do not necessarily limit the unit itself; for example, a completion unit may also be described as "a unit that performs completion processing on the target address query information based on the aforementioned matching address information set."
[0189] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0190] The above description is merely a selection of preferred embodiments of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.
Claims
1. A method for processing address information, comprising: The target address query information is identified and extracted to generate address extraction information; Determine whether there is address information in the address information table stored in the search server that matches the target address query information or the address extraction information. The address information table stores multiple address information, and the matching address information is the address information corresponding to the same word in each word included in the address information stored in the address information table as the target address query information or address extraction information. In response to the determination of existence, the address information that matches the target address query information or the address extraction information is selected from the address information table as the matching address information, and a set of matching address information is obtained; Based on the set of matching address information, the target address query information is supplemented to obtain multiple supplemented target address query information for the user to choose from. The supplementation process involves adding words in the matching address information that are different from the target address query information to the target address query information.
2. The method of claim 1, wherein, The step of completing the target address query information based on the matching address information set includes: For each preset condition in the preset condition group, in response to determining that the target address query information or the address extraction information meets the preset condition, the target address query information is supplemented according to the tag category and frequency of each matching address information included in the address information table.
3. The method according to claim 1, wherein, The step of completing the target address query information based on the matching address information set includes: In response to the target address query information or the address extraction information satisfying the target predetermined conditions, the priority value of each matching address information in the matching address information set is determined based on the target address query information to obtain a priority value group; The target address query information is supplemented based on the priority value group and the matching address information set.
4. The method according to claim 1, wherein, The method further includes: In response to the determination that the address does not exist, a map page is displayed for the user to select address location information; The address location information selected by the user is standardized and then input into the address information table.
5. The method according to claim 1, wherein, The method further includes: The completed target address query information is displayed for the user to select.
6. The method according to claim 1, wherein, The address information table is obtained through the following steps: Collect at least one historical order address information for each user to obtain a historical order address information set, wherein the historical order address information includes primary area address information and secondary area address information; Each historical order address in the historical order address information set is normalized to generate normalized historical order address information, thus obtaining a normalized historical order address information set; Extract the primary region address information corresponding to each standardized historical order address information in the standardized historical order address information set to obtain the primary region address extraction information set; Extract the secondary region address information corresponding to each normalized historical order address information in the normalized historical order address information set to obtain the secondary region address extraction information set; Based on the primary region address extraction information set, the secondary region address extraction information set is stored in the search server.
7. The method according to claim 6, wherein, The step of storing each secondary region address extraction information from the secondary region address extraction information set into the search server based on the primary region address extraction information set includes: Construct an empty table for address information; Each primary region address extraction information and each secondary region address extraction information corresponding to the primary region address extraction information are input into the empty address information table to generate the address information table.
8. The method according to claim 7, wherein, The step of storing each secondary region address extraction information in the secondary region address extraction information set into the search server based on the primary region address extraction information set further includes: The words included in each secondary region address extraction information in the secondary region address extraction information set are merged to generate merged secondary region address extraction information, thus obtaining a merged secondary region address extraction information set; Each merged secondary region address extraction information in the merged secondary region address extraction information set is subjected to first word segmentation processing to generate word segmented secondary region address extraction information, thus obtaining a word segmented secondary region address extraction information set. Each first-level region address extraction information and each word segmentation second-level region address extraction information corresponding to the first-level region address extraction information are input into the address information table to update the address information table.
9. The method according to claim 8, wherein, The step of storing each secondary region address extraction information in the secondary region address extraction information set into the search server based on the primary region address extraction information set further includes: Each normalized historical order address in the normalized historical order address information set is segmented into words to generate word groups, thus obtaining a set of word groups; Each secondary region address extraction information in the secondary region address extraction information set is subjected to a second word segmentation process to generate a secondary region address word sequence, thus obtaining a secondary region address word sequence set. Determine the number of each secondary region address word included in the word segmentation set to obtain the quantity set; For each secondary region address word sequence in the set of secondary region address word sequences, in response to determining that the sum of the number of every two secondary region address words included in the secondary region address word sequence is greater than or equal to a predetermined threshold, the two secondary region address words are merged.
10. The method according to claim 9, wherein, The step of storing each secondary region address extraction information in the secondary region address extraction information set into the search server based on the primary region address extraction information set further includes: Each primary region address extraction information and each secondary region address word sequence corresponding to the primary region address extraction information set are input into the updated address information table; Based on the preset tag category group, the tagging process is performed on each address information included in the updated address information table.
11. An address information processing apparatus, comprising: The extraction unit is configured to identify and extract target address query information to generate address extraction information; The determining unit is configured to determine whether there is address information in the address information table stored in the search server that matches the target address query information or the address extraction information. The address information table stores multiple address information, and the matching address information is the address information corresponding to the same word in the target address query information or the address extraction information among the words included in the address information stored in the address information table. The selection unit is configured to, in response to determining that an address exists, select address information from the address information table that matches the target address query information or the address extraction information as matching address information, thereby obtaining a set of matching address information; The completion unit is configured to perform completion processing on the target address query information based on the matching address information set, and obtain multiple completed target address query information for the user to choose from. The completion processing is to add words in the matching address information that are different from the target address query information to the target address query information.
12. An electronic device, comprising: One or more processors; A storage device on which one or more programs are stored; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-10.
13. A computer-readable medium having a computer program stored thereon, wherein, When the program is executed by the processor, it implements the method as described in any one of claims 1-10.
Citation Information
Patent Citations
Address standardization method, device, storage medium and computer
CN107145577A
Address information extracting method and device
CN108763212A