Poi database updating method and apparatus, electronic device, and storage medium

By associating brand information with wireless network information fragments to determine the POI search scope, the POI database is directly updated, solving the problems of long time consumption and privacy leakage in existing technologies, and achieving efficient and secure POI database updates.

CN115576965BActive Publication Date: 2026-02-06VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211167660.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-23
Publication Date
2026-02-06
Estimated Expiration
2042-09-23

AI Technical Summary

Technical Problem

Existing methods for updating the POI database are time-consuming and pose a risk of user privacy breaches, resulting in poor timeliness.

Method used

By identifying the association pairs between brand information and POI information, the search scope of POIs can be determined using wireless network information fragments, and the POI database can be updated directly, avoiding the acquisition of large amounts of user behavior information.

Benefits of technology

This improves the timeliness of POI database updates and enhances user privacy and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115576965B_ABST
    Figure CN115576965B_ABST
Patent Text Reader

Abstract

The application discloses a POI database updating method and device, electronic equipment and a storage medium, and belongs to the field of data processing. The method comprises the following steps: determining at least one network information according to a POI database corresponding to a brand database, wherein the brand database comprises at least one brand information, the POI database comprises at least one POI information, and the at least one network information is information of a wireless network of the POI information in the POI database within a first preset range; determining a network information segment corresponding to each brand information from the at least one network information according to at least one first association pair, wherein each first association pair is an association pair of one brand information and one POI information; determining a POI search range corresponding to each brand information according to at least one second association pair, and searching for a POI in the POI search range, wherein each second association pair is an association pair of one brand information and one network information segment; and updating the POI database according to a POI search result of each brand information.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the field of data processing, and particularly relates to a POI database updating method and device, electronic equipment and a storage medium. BACKGROUND

[0002] With the renewal iteration of stores on the market, a large amount of newly generated POI (Point of Interest) data of brands needs to be added to the POI database to realize the renewal iteration of the POI data, that is, the newly generated POI data can be added to the POI database, and the expired POI data can be deleted, so as to ensure the timeliness of the POI database, so that users can use the POI data to provide various services.

[0003] At present, the existing method is a time series data mining method, that is, the electronic equipment obtains a large amount of related behavior activity information (user use behavior of POI, etc.) of the user based on time sequence to analyze the time sequence change trend of the POI data, so as to determine whether the data in the POI database is new or expired.

[0004] However, in the above method, the electronic equipment needs to obtain a large amount of related behavior activity information of the user based on time sequence, and the user behavior information obtained may contain the user's privacy information, so that the electronic equipment consumes a long time to analyze the POI data, and the user's privacy is leaked, so that the timeliness of the POI database updating is poor and the user's privacy security cannot be ensured. SUMMARY

[0005] The purpose of the embodiments of the present application is to provide a POI database updating method and device, electronic equipment and a storage medium, which can solve the problems of poor accuracy and timeliness of POI database updating.

[0006] In a first aspect, the embodiments of the present application provide a POI database updating method, comprising: determining at least one network information according to a POI database corresponding to a brand database, the brand database comprising at least one brand information, the POI database comprising at least one POI information, and the at least one network information being information of a wireless network of the POI information in the POI database within a first preset range; determining a network information segment corresponding to each brand information from the at least one network information according to at least one first association pair, each first association pair being an association pair of one brand information and one POI information; determining a POI search range corresponding to each brand information according to at least one second association pair, and searching for a POI in the POI search range, each second association pair being an association pair of one brand information and one network information segment; and updating the POI database according to a POI search result of each brand information.

[0007] In a second aspect, the embodiments of the present application provide a POI database updating apparatus, comprising: a determining module configured to determine at least one network information according to a POI database corresponding to a brand database, wherein the brand database comprises at least one brand information, the POI database comprises at least one POI information, and the at least one network information is information of a wireless network of the POI information in the POI database within a first preset range; determine a network information segment corresponding to each brand information from the at least one network information according to at least one first association pair, wherein each first association pair is an association pair of one brand information and one POI information; and determine a POI search range corresponding to each brand information according to at least one second association pair, and search for a POI within the POI search range, wherein each second association pair is an association pair of one brand information and one network information segment; and an updating module configured to update the POI database according to a POI search result of each brand information determined by the determining module.

[0008] In a third aspect, the embodiments of the present application provide an electronic device, which comprises a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the method according to the first aspect.

[0009] In a fourth aspect, the embodiments of the present application provide a readable storage medium, wherein the readable storage medium stores programs or instructions, and the programs or instructions are executed by a processor to implement the steps of the method according to the first aspect.

[0010] In a fifth aspect, the embodiments of the present application provide a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled to the processor, the processor is configured to run programs or instructions to implement the method according to the first aspect.

[0011] In a sixth aspect, the embodiments of the present application provide a computer program product, which is stored in a storage medium, and the computer program product is executed by at least one processor to implement the method according to the first aspect.

[0012] In the embodiment of the present application, the electronic device determines at least one network information based on the POI database corresponding to the brand database, and determines the network information segment corresponding to each brand information from the at least one network information according to the first association pair between the brand information and the POI information, so as to determine the POI search range according to the second association pair between the brand information and the network information segment, and update the POI database according to the POI search range. In the present scheme, when updating the POI database, the electronic device updates the POI database according to the POI search result in the POI search range corresponding to each brand information, and the POI search range corresponding to each brand information is determined according to the network information segment corresponding to each brand information, and the network information segment corresponding to each brand information is determined by the wireless network information of the POI information in the POI database, that is, the electronic device can directly update and iterate the POI database corresponding to the brand according to the wireless network information of the POI information in the POI database, each brand information, and the network information segment corresponding to each brand information, without obtaining a large amount of user behavior information based on time sequence, so that the timeliness of the electronic device in updating the POI database can be improved, and the privacy security of the user is ensured. BRIEF DESCRIPTION OF DRAWINGS

[0013] Figure 1 is one of the flowcharts of the POI database updating method provided by the embodiment of the present application;

[0014] Figure 2 is the flowchart of converting network information and obtaining network information segment provided by the embodiment of the present application;

[0015] Figure 3 is the flowchart of converting brand Chinese name into pinyin format provided by the embodiment of the present application;

[0016] Figure 4 is the flowchart of the method for the electronic device to establish the second association pair provided by the embodiment of the present application;

[0017] Figure 5 is the second flowchart of the POI database updating method provided by the embodiment of the present application;

[0018] Figure 6 is the structural schematic diagram of the POI database updating device provided by the embodiment of the present application;

[0019] Figure 7 is one of the hardware structural schematic diagrams of the electronic device provided by the embodiment of the present application;

[0020] Figure 8 is the second hardware structural schematic diagram of the electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION

[0021] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.

[0022] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.

[0023] The POI database updating method provided by the embodiments of the present application will be described in detail below with reference to the drawings, specific embodiments and application scenarios.

[0024] The present application provides a POI database updating method, Figure 1 A flowchart of a POI database updating method provided by an embodiment of the present application is shown. As shown in Figure 1 The POI database updating method provided by the embodiments of the present application can include the following steps 201 to 204.

[0025] Step 201, the electronic device determines at least one network information according to the POI database corresponding to the brand database.

[0026] In the embodiments of the present application, the brand database includes at least one brand information, the POI database includes at least one POI information, and the at least one network information is the information of the wireless network of the POI information in the POI database within the first preset range.

[0027] Optionally, in the embodiments of the present application, the brand information includes at least one of the following information: brand type, brand logo, etc.

[0028] Optionally, in the embodiments of the present application, the POI information includes at least one of the following data: POI identifier, POI address information (such as coordinate information, latitude and longitude information), etc.

[0029] Optionally, in the embodiment of the present application, the electronic device determines the POI information corresponding to each brand information through the POI database corresponding to the brand database, and determines the address information corresponding to each POI information, and detects one or more network information in a first preset range of the position corresponding to each POI information.

[0030] It should be noted that each POI information corresponds to a first preset range, and the first preset range corresponding to each POI information is a circular region with the position corresponding to the POI information as the center and a preset value as the radius. The range of the first preset range can be determined according to actual use requirements, and the embodiment of the present application does not limit it.

[0031] Exemplarily, as shown in Table 1, the POI information (here, POI unique identifier and POI name are taken as examples) corresponding to three brands in the brand database and all network information (here, WiFi information is taken as an example) corresponding to the POI are shown. Among them, the POI information corresponding to brand A is POI A11 and POI A12; the electronic device can take the position corresponding to POI A11 corresponding to the brand A as the center and a preset value as the radius as the first preset range, and search the WiFi signal in the first preset range, so as to correspond the information of the searched WiFi signal (referred to as first WiFi information) to POI A11, that is, POI A11 corresponds to the first WiFi information; and the electronic device can take the position corresponding to POI A12 corresponding to the brand A as the center and a preset value as the radius as the first preset range, and search the WiFi signal in the first preset range, so as to correspond the information of the searched WiFi signal (referred to as second WiFi information) to POI A12, that is, POI A12 corresponds to the second WiFi information. It should be noted that only the WiFi information corresponding to the POI information corresponding to brand A is described here, and other POI information corresponding to brand A in Table 1 will not be described one by one.

[0032] Table 1

[0033]

[0034] Step 202, the electronic device determines the network information segment corresponding to each brand information from at least one network information according to at least one first association pair.

[0035] In the embodiment of the present application, each first association pair in the above-mentioned at least one first association pair is an association pair of a brand information and a POI information.

[0036] Optionally, before the step 201, the POI database updating method provided in the embodiments of the present application further includes the following step 301.

[0037] In step 301, the electronic device establishes at least one first association pair according to the target similarity.

[0038] In the embodiments of the present application, the target similarity is the similarity between each brand information in the at least one brand information and each POI information in the at least one POI information.

[0039] It can be understood that, for each brand information in the at least one brand information, the electronic device can compare the brand information with each POI information in the at least one POI information to obtain at least one similarity, i.e., the similarity between the brand information and each POI information; and the electronic device traverses all brand information in the at least one brand information to obtain the similarity between each brand information and each POI information, i.e., the target similarity.

[0040] Optionally, in the embodiments of the present application, when the value of the text similarity calculated for a brand information and a POI data is greater than or equal to a threshold value, it is considered that the brand information and the POI data have an association relationship, so as to establish a first association pair; and when the value of the similarity calculated for a brand information and a POI data is less than a threshold value, in combination with the related information of the brand corresponding to the brand information, when the related information of the brand contains information associated with the POI information, it is considered that the brand information and the POI data have an association relationship, so as to establish a first association pair.

[0041] Optionally, in the embodiments of the present application, the electronic device can determine the target similarity according to the text similarity and brand-related information such as brand public opinion information.

[0042] Optionally, in the embodiments of the present application, the step 202 can be implemented by the following steps 202a to 202c.

[0043] In step 202a, the electronic device splits each network information in the at least one network information to obtain at least two network information segments.

[0044] Optionally, in the embodiments of the present application, for each network information in the at least one network information, the electronic device can uniformly convert the English letters in the network information to lowercase format English letters, and split the network information into at least two network information segments according to the space symbols and special characters in the lowercase format English letters.

[0045] Optionally, in this embodiment of the application, for each piece of network information in at least one piece of network information, after the electronic device converts the English letters in a piece of network information into lowercase English letters, if there are spaces before and after the lowercase English letters in the piece of network information, the electronic device deletes the spaces.

[0046] Optionally, in this embodiment, the electronic device can replace spaces and special characters in the network information with delimiters (e.g., "_|"), thereby allowing the electronic device to conveniently split the network information into at least two network information segments based on the delimiters. Since the network information format settings contain format phrases unrelated to the router / carrier / brand, such as "Chinanet," "CMCC," and "wifi," the electronic device can use regular expressions to delete these format phrases, thus obtaining at least two valid network segment information.

[0047] For example, taking the network signal as "ABcd-123 brand 1-WiFi" as an example, such as Figure 2 As shown, the electronic device replaces all uppercase English letters in the network signal with lowercase letters to obtain "abcd-123brand1-wifi". Since there is a space before this WiFi information, the electronic device can delete the space to get "abcd-123brand1-wifi". At this point, the network signal includes Chinese characters, English letters, spaces, and special characters. Therefore, the electronic device can replace the spaces and special characters with the separator "_|", resulting in "abcd_|123_|brand1_|wifi". Based on the separator, it can be split into four network signal phrases: "abcd", "123", "brand1", and "wifi". Since "wifi" is a format phrase unrelated to the brand, the electronic device deletes the format phrase "wifi", ultimately obtaining three valid WiFi phrases ("abcd", "123", and "brand1").

[0048] Step 202b: The electronic device obtains at least one first probability, at least one second probability, and at least one third probability based on at least one first association pair.

[0049] In this embodiment of the application, the above-mentioned at least one first probability is the probability of the occurrence of each network information segment under the same brand, the above-mentioned at least one second probability is the probability of the occurrence of each brand under the same network, and the above-mentioned at least one third probability is the coverage of each network under the same brand.

[0050] It can be understood that the at least one first probability is a probability calculated by the electronic device according to a total number of occurrences of each network information segment within a preset range of each POI and a total number of occurrences of all network information segments within a preset range. The at least one second probability is a probability calculated by the electronic device according to a total number of occurrences of each network information segment within a preset range of each POI and a total number of occurrences of each network information segment in network information within a preset range. The at least one third probability is a probability calculated according to a total number of POIs corresponding to each network information segment when the network information segment occurs under each brand of POI and a total number of POIs corresponding to each brand.

[0051] Optionally, in the embodiment of the present application, the step 202b can be implemented by the following steps 202b1 to 202b3.

[0052] In step 202b1, the electronic device determines at least one first probability according to the first total number and the second total number.

[0053] In the embodiment of the present application, the first total number is a total number of occurrences of each network information segment within a second preset range of each POI, and the second total number is a total number of occurrences of network information segments within the second preset range.

[0054] Optionally, in the embodiment of the present application, for each network information segment in the at least one network information segment, the electronic device calculates a ratio of a total number of occurrences of one network information segment within a second preset range of each POI to a total number of occurrences of one network information segment within a second preset range of one POI to obtain a probability P1 of occurrence of one network information segment under the same brand (i.e., one first probability).

[0055] Optionally, in the embodiment of the present application, for each network information segment in the at least one network information segment, the electronic device can calculate one first probability according to a total number of occurrences of one network information segment within a preset range of each POI and a total number of occurrences of all network information segments within a preset range by using Formula One.

[0056]

[0057] Wherein, Pr(A|B) is a probability of occurrence of event A in the case of occurrence of event B, i.e., a probability of occurrence of one network information segment in the case of the same brand; Pr(A∩B) is a probability of simultaneous occurrence of events A and B, i.e., a probability of occurrence of one network information segment within a preset range of each POI; and Pr(B) is a probability of occurrence of event B, i.e., a probability of occurrence of all network information segments within a preset range.

[0058] It should be noted that, in the process of the electronic device obtaining the first total amount, if multiple same network information segments appear in the second preset range of the same POI, the network information segments are correspondingly counted as multiple times. In the process of the electronic device obtaining the second total amount, if multiple same network information segments appear in the second preset range of the same POI, the network information segments are correspondingly counted as multiple times; if the same network information segment appears in the second preset range of different POIs, the network information segment is correspondingly counted as multiple times.

[0059] In step 202b2, the electronic device determines at least one second probability according to the first total amount and the third total amount.

[0060] In the embodiment of the present application, the third total amount is the total number of appearances of each network information segment in the network information in the third preset range.

[0061] It can be understood that, for each network information segment in the at least one network information segment, the electronic device calculates a ratio of the total number of appearances of a network information segment in the second preset range of each POI and the total number of appearances of the network information segment in the network information in the third preset range, to obtain a probability P2 of the appearance of a brand under the same network (i.e., a second probability).

[0062] In step 202b3, the electronic device determines at least one third probability according to a fourth total amount and a fifth total amount, the fourth total amount being the total number of POIs counted when each network information segment appears under the POI of each brand, and the fifth total amount being the total number of POIs corresponding to each brand.

[0063] It can be understood that, for each network information segment in the at least one network information segment, the electronic device calculates a ratio of the total number of POIs counted when a network information segment appears under the POI of each brand and the total number of POIs corresponding to a brand, to obtain a coverage rate P3 of a network under a brand (i.e., a third probability).

[0064] It should be noted that, in the process of the electronic device obtaining the fourth total amount, if multiple same network information segments appear in the second preset range of the same POI, the network information segments are correspondingly counted as one time.

[0065] In the embodiment of the present application, the electronic device calculates the probability through the first association, to filter the network information segments related to the brand, so that the comparison is more intuitive through the numerical value, and the intuitiveness and convenience of the electronic device in analyzing data are improved.

[0066] In step 202c, the electronic device determines the network information segment corresponding to each brand information from the at least two network information segments according to the at least one first probability, the at least one second probability, and the at least one third probability.

[0067] Optionally, the step 202c can be implemented through the following steps 202c1-202c3 in the embodiments of the present application.

[0068] In the step 202c1, if the variance value of the probability of the appearance of each brand under the network corresponding to each network information segment in the M network information segments is less than or equal to the first threshold value, the electronic device deletes the M network information segments to obtain the K filtered network information segments.

[0069] In the embodiments of the present application, the M network information segments are network information segments in the at least two network information segments.

[0070] It can be understood that if the variance value of the probability of the appearance of each brand under the network corresponding to each network information segment in the M network information segments is less than or equal to the first threshold value, it is considered that the network information segment appears in the second area of more brands, and the number of appearances in the second area of each brand is small, that is, the electronic device can delete the network information segment as noise to obtain the K filtered network information segments.

[0071] In the step 202c2, the electronic device determines, for each brand information in the at least one brand information, the network information segment corresponding to the probability that the sequence number in the at least one first sorting result, the sequence number in the at least one second sorting result, and the sequence number in the at least one third sorting result are all greater than or equal to the second threshold value, as the network information segment corresponding to the first brand information.

[0072] In the embodiments of the present application, the at least one first sorting result is the sorting result of the probability of the appearance of each network information segment under the first brand information, the at least one second sorting result is the sorting result of the probability of the appearance of each brand under the network corresponding to the first brand information, the at least one third sorting result is the sorting result of the coverage rate of each network under the first brand information, and the first brand information is any brand information in the at least one brand information.

[0073] It should be noted that the sorting result is a sorting result obtained by the electronic device according to the numerical value of each probability from small to large.

[0074] It can be understood that the electronic device sorts the network information segments in the first brand information according to the probabilities from small to large, and obtains a first sorting result. When the sequence number of one of the network information segments in the first sorting result is greater than or equal to a second threshold, it is considered that the probability of the appearance of the first brand information when the one network information segment appears is relatively large. The electronic device sorts the probabilities of the appearance of each brand under the network corresponding to the first brand information from small to large, and obtains a second sorting result. When the sequence number of one of the brands in the second sorting result is greater than or equal to the second threshold, it is considered that the probability of the appearance of the network information phrase corresponding to the first brand information when the one brand appears is relatively large. The electronic device sorts the coverage rates of each network under the first brand information from small to large, and obtains a third sorting result. When the sequence number of one of the networks in the third sorting result is greater than or equal to the second threshold, it is considered that the coverage range of the one network around the first brand information is relatively large.

[0075] In step 202c3, the electronic device determines the network information segment corresponding to each brand information in the at least one brand information.

[0076] It should be noted that the above steps 202c1 and 202c2 can be performed for each brand information in the at least one brand information to determine the network information segment corresponding to each brand information.

[0077] In the embodiment of the present application, the electronic device matches the network information segment and the brand information according to the probability calculated by the first association to perform screening, so that the electronic device can update the POI database according to less data, thereby improving the convenience of updating the POI database.

[0078] Optionally, after the above step 202c, the POI database updating method provided in the embodiment of the present application further includes the following steps 202d and 202e.

[0079] In step 202d, for each brand information in the at least one brand information, the electronic device performs text matching between each network information segment and the first brand information, and in the case that the first brand information matches the first network information segment, the first network information segment is determined as the network information segment corresponding to the first brand information.

[0080] In the embodiment of the present application, the above first brand information is any brand information in the at least one brand information.

[0081] Optionally, in the embodiment of the present application, the above step 202d can be implemented by the following steps 202d1 to 202d4.

[0082] Step 202d1, the electronic device converts the first brand information into a first pinyin format.

[0083] In the embodiments of the present application, the first pinyin format includes a pinyin name of the first brand information and at least one symbol, and each symbol in the at least one symbol is used to indicate the position of each letter in the pinyin name in the pinyin name.

[0084] Optionally, in the embodiments of the present application, the electronic device converts the Chinese name in the first brand information into pinyin, adds a syllable separator (for example, “@”) before the first letter in each pinyin to locate the first letter in the pinyin, adds a byte separator (for example, “|”) before the remaining characters, and adds a number before each character in the pinyin in the order of syllables to mark the current syllable sequence number, thereby obtaining the first pinyin format.

[0085] For example, as shown in Figure 3 Taking the first brand information “yellow melon” as an example, the electronic device converts each Chinese name into a pinyin format to obtain “huangnangua”, adds “@” before the first letter of each pinyin to obtain “@huang@nan@gua”, adds “|” before the remaining characters, and adds the syllable sequence number, thereby obtaining the first pinyin format of “yellow melon” as “1@h 1|u 1|a 1|n 1|g 2@n 2|a 2|n 3@g 3|u 3|a”.

[0086] Step 202d2, the electronic device respectively matches each network information segment with the first pinyin format in a forward order to obtain a first matching result.

[0087] Optionally, in the embodiments of the present application, the electronic device matches one character in one network information segment with the first initial letter in the first pinyin format, if the matching is successful, the electronic device adds the syllable number corresponding to the first initial letter and the "@" symbol before the one character; if the matching is not successful, the electronic device matches the one character with the rest of the initial letters in the first pinyin format according to the syllable order. If the one character cannot be matched with all the initial letters in the first pinyin format, the electronic device can detect the nearest "|" before the current network information segment character, and detect the corresponding syllable number and character before the "|", so as to find the corresponding character in the first pinyin format corresponding to the syllable of the current network information segment character, and then the electronic device can match the first character after the character. If the matching is successful, the corresponding syllable number and the "|" are added; if the matching is still not successful, the electronic device can detect the nearest "@" before the current network information segment character, and detect the syllable number and the corresponding character before the "@", so as to find the corresponding character in the first pinyin format corresponding to the syllable, and then match the first character after the corresponding character, if the matching is successful, the corresponding syllable number and the "|" are added.

[0088] Exemplarily, taking the network information segment "huangng" and the first pinyin format "1@h 1|u 1|a 1|n 1|g2@n 2|a 2|n 3@g 3|u 3|a" as an example. The electronic device matches the first letter "h" with the initial letter "1@h" successfully; the second letter and the initial letter are both matched unsuccessfully, and then matched with "1|u" successfully; the third letter "a" and the initial letter are both matched unsuccessfully, and then matched with "1|a" successfully; the fourth letter "n" and the initial letter "2@n" are matched successfully; the fifth letter "g" and the initial letter "3@g" are matched successfully, at this time, although there are two letter upper matching in the network information segment, the three initial letters in the first pinyin format are all matched successfully with the network information segment, and then the matching is ended, and the first matching result "1@h 1|u 1|a2@n 3@gng" is obtained.

[0089] Step 202d3, the electronic device respectively matches each network information segment with the first pinyin format in reverse order, and obtains a second matching result.

[0090] Optionally, in the embodiments of the present application, the above reverse order matching is that the electronic device matches one network information segment from the last letter with the last initial letter in the first pinyin format in reverse order. Except that the matching order is different, the specific matching steps are the same as the steps of the forward order matching provided by the present application, which can be referred to the above step 201d2 and the related solutions, and will not be described here.

[0091] Exemplarily, taking the network information segment as "huangng", and the first pinyin format as "1@h 1|u 1|a 1|n 1|g2@n 2|a 2|n 3@g 3|u 3|a" as an example. The electronic device matches the last letter "g" with the last first letter "3@g" successfully; the second last letter "n" with the second first letter "2@n" successfully; the third last letter "g" with the last first letter can be matched, but since the second last letter has been matched with "2@n" successfully, the electronic device matches the third last letter "g" with "1|g" before "2@n"; similarly, the electronic device matches the fourth last letter "n" with "1|n", matches the letter "a" with "1|a", matches the letter "u" with "1|u", and matches the first letter "h" with the first letter "1@h", to obtain a second matching result "1@h 1|u 1|a 1|n 1|g 2@n 3@g".

[0092] In step 202d4, the electronic device determines whether all characters in each network information segment are matched with the first pinyin format.

[0093] In the embodiment of the present application, the first brand information matched with the first network information segment is that the first matching result and the second matching result both satisfy the preset condition, and all characters in each network information segment are matched with the first pinyin format.

[0094] Optionally, in the embodiment of the present application, if there is a character in a network information segment that cannot be matched with the first pinyin format, the network information segment cannot be matched with the first brand information corresponding to the first pinyin format.

[0095] Optionally, in the embodiment of the present application, the electronic device cuts and counts the first matching result and the second matching result according to numbers and symbols. For example, the electronic device counts "1@h 1|u 1|a 1|n 1|g 2@n 3@g" as { "1@" : 1, "2@" : 1, "3@" : 1, "1|" : 4}.

[0096] Optionally, in the embodiments of the present application, first, the electronic device can detect the number containing "@" according to the statistical information, and determine whether the detected number containing "@" is continuous, if continuous, the one network information segment is related to / matches the first brand information corresponding to the first pinyin format. Then, the electronic device can calculate the ratio of the number of the number containing "@" and the number of the phonetic symbol of the first brand information, if the ratio is greater than or equal to the preset threshold, the one network information segment is related to / matches the first brand information corresponding to the first pinyin format. Finally, the electronic device can detect the number containing "|" according to the statistical information, if the statistical value containing "|" is the same as the number of non-initial letters in the first pinyin format, the one network information segment is related to / matches the first brand information corresponding to the first pinyin format.

[0097] Step 202d5, in the case that the first matching result and the second matching result both satisfy the preset condition, and all characters in each network information segment match the first pinyin format, the electronic device determines the first network information segment as the network information segment corresponding to the first brand information.

[0098] In the embodiments of the present application, the electronic device performs forward sequential matching and reverse sequential matching of each network information segment with the first pinyin, and determines whether all characters in the network information segment match the first pinyin format, thereby improving the accuracy of the electronic device in determining the network information segment corresponding to the first brand information.

[0099] Step 202e, the electronic device traverses all brand information in the at least one brand information to determine the network information segment corresponding to each brand information.

[0100] It should be noted that the above step 202d can be performed for all brand information in the at least one brand information to determine the network information segment corresponding to each brand information.

[0101] Optionally, in the embodiments of the present application, as shown in Figure 4 , the specific process of the electronic device in determining the network information segment corresponding to each brand information is shown. The process of the electronic device in determining the network information segment corresponding to each brand information includes a forward matching process, a reverse matching process and a judgment process.

[0102] In the embodiments of the present application, since the electronic device converts the brand and the format of the searched network signal segment, the electronic device can more conveniently filter the information network information segment according to the same format, thereby improving the efficiency of the electronic device in processing data. Meanwhile, the electronic device filters the network information segment through the first matching result obtained in the forward order and the second matching result obtained in the reverse order, so that the electronic device more accurately obtains the network information segment related to the brand, thereby improving the accuracy of the electronic device in processing data.

[0103] In step 203, the electronic device determines the POI search range corresponding to each brand information according to at least one second association pair, and searches for POI in the POI search range.

[0104] In the embodiments of the present application, each second association pair in the at least one second association pair is an association pair of one brand information and one network information segment.

[0105] Optionally, in the embodiments of the present application, the step 203 of "determining the POI search range corresponding to each brand information according to at least one second association pair" in the step 203 can be implemented through the following steps 203a to 203c.

[0106] In step 203a, the electronic device determines the network information corresponding to the network information segment corresponding to each brand information from the preset network information library according to at least one second association pair.

[0107] In step 203b, for each brand information, the electronic device determines the network in the central area in all networks corresponding to the first brand information as a search center point, and obtains the POI search range corresponding to the first brand information with a preset value as a search radius.

[0108] In the embodiments of the present application, the first brand information is any brand information in the at least one brand information.

[0109] It should be noted that all networks corresponding to the first brand information are the networks indicated by all network information corresponding to the first brand information.

[0110] Optionally, in the embodiments of the present application, the search center point can also be the network with a signal quality greater than or equal to a third threshold value in all network information corresponding to the first brand information.

[0111] Optionally, in the embodiments of the present application, the electronic device can store the information of the POI search range corresponding to the first brand information in the format of (brand, longitude, latitude, search radius / m).

[0112] Optionally, in the embodiments of the present application, the electronic device can record the network information segments corresponding to the POI search range of the first brand information, and the format of the POI search range information corresponding to the first brand information stored by the electronic device is (brand, longitude, latitude, search radius / meter, network information segment). For example, the search range of "xx coffee" is clustered by three network information segments a and five network information segments b, and the POI search range information stored by the electronic device is (xx coffee, X, Y, 500, {a=3, b=5}).

[0113] Step 203c, the electronic device traverses all brand information in the at least one brand information, and determines the POI search range corresponding to each brand information.

[0114] It should be noted that the above steps 203a and 203b can be performed for all brand information in the at least one brand information to determine the POI search range corresponding to each brand information.

[0115] In the embodiments of the present application, for each brand, the electronic device determines the POI search range by the network information segments corresponding to the brand information to obtain the POI search result, thereby updating the POI database, that is, the electronic device can obtain the POI search result by the network information corresponding to each brand; and the electronic device can obtain the type and number of network information segments corresponding to the POI search range, and more accurately determine the POI search range; thereby improving the pertinence and accuracy of the electronic device in updating the POI database.

[0116] Step 204, the electronic device updates the POI database according to the POI search result of each brand information.

[0117] Optionally, in the embodiments of the present application, the above step 204 can be implemented by the following step 204a or step 204b.

[0118] Step 204a, the electronic device queries the first POI from the POI database in the case that the first POI is not searched in the POI search range corresponding to the first brand information, and deletes the first POI from the POI database in the case that the first POI is included in the POI database.

[0119] In the embodiments of the present application, the above first POI is the POI related to the first brand information.

[0120] It should be noted that the first POI not searched in the POI search range corresponding to the first brand information can be understood as the expired data in the POI database.

[0121] In the case that the electronic device searches the first POI in the POI search range corresponding to the first brand information, the electronic device performs data fusion between the first POI and the POI database in step 204b.

[0122] It should be noted that the first POI searched in the POI search range corresponding to the first brand information can be understood as data to be updated in the POI database.

[0123] Optionally, in the embodiments of the present application, the data fusion between the first POI and the POI database in step 204b can be implemented through the following steps 204b1 and 204b2.

[0124] In the case that the first POI is included in the POI database, the electronic device updates the time tag information of the first POI in the POI database in step 204b1.

[0125] It should be noted that the first POI included in the POI database can be understood as the first POI being unexpired data contained in the POI database.

[0126] In the case that the first POI is not included in the POI database, the electronic device adds the first POI to the POI database and adds the time tag information of the first POI in the POI database in step 204b2.

[0127] It should be noted that the first POI not included in the POI database can be understood as the first POI being newly generated data in the POI related to the first brand information, so the electronic device needs to add the first POI to the POI database.

[0128] In the embodiments of the present application, the electronic device updates the POI database in combination with the search result, and synchronously updates the time tag information in the POI database, thereby improving the accuracy and timeliness of the electronic device in updating the POI database.

[0129] The embodiment of the present application provides a POI database updating method, and the electronic device determines at least one network information based on the POI database corresponding to the brand database, and determines the network information segment corresponding to each brand information from the at least one network information according to a first association pair between the brand information and the POI information, so as to determine the POI search range through a second association pair between the brand information and the network information segment, and update the POI database according to the POI search range. In the scheme, when updating the POI database, the electronic device updates the POI database according to the POI search result in the POI search range corresponding to each brand information, and the POI search range corresponding to each brand information is determined according to the network information segment corresponding to each brand information, and the network information segment corresponding to each brand information is determined by the wireless network information of the POI information in the POI database, that is, the electronic device can directly update and iterate the POI database corresponding to the brand through the wireless network information of the POI information in the POI database, each brand information, and the network information segment corresponding to each brand information, without obtaining a large amount of user behavior information based on time sequence, so that the timeliness of the electronic device in updating the POI database can be improved, and the privacy security of the user is ensured.

[0130] Optionally, in the embodiment of the present application, the POI database updating method further comprises the following steps 205 to 208 after step 204. Figure 1 As shown in the above step 204, the POI database updating method provided by the embodiment of the present application further comprises the following steps 205 to 208. Figure 5

[0131] Step 205, in the case of first POI search or the second brand information does not exist corresponding network information segment, the electronic device establishes a first mapping table.

[0132] In the embodiment of the present application, the second brand information is the brand information corresponding to the last POI search of the current POI search, the first mapping table is a mapping table of the brand information corresponding to the last POI search, the second network information segment and the first weight value, the second network information segment is the network information segment corresponding to the current POI search and not existing in the second association pair corresponding to the last POI search, and the first weight value is the weight value corresponding to the second network information segment.

[0133] In the embodiment of the present application, the first mapping table includes but is not limited to the following information: the second brand information, the network information segment corresponding to the second brand information and the weight value corresponding to the network information segment corresponding to the second brand information.

[0134] It should be noted that the first weight value can be understood as the weight value of the total number of times of the searched second network information segment.

[0135] ​Step 206, the electronic device merges the first mapping table with the mapping table updated after the last POI search to obtain a second mapping table.

[0136] Step 207, the electronic device increases a value for the weight value of the network information segment corresponding to the brand information of the POI searched by the current POI search result.

[0137] In the embodiment of the present application, the value is the total number of network information segments corresponding to the brand information of the POI searched by the current POI search result.

[0138] For example, when the POI search result of the brand "xx coffee" includes 100 phrases a and 200 phrases b, the weight value of the phrase a is increased by 100, and the weight value of the phrase b is increased by 200.

[0139] Step 208, the electronic device filters the network information segment corresponding to the POI search result of each brand information, and retains the network information segment with a weight value greater than or equal to a fourth threshold value.

[0140] Optionally, in the embodiment of the present application, the weight value greater than or equal to the fourth threshold value can be understood as that the network information segment has a high degree of relevance with the brand, so that the electronic device can retain the network information segment with the weight value greater than or equal to the fourth threshold value as the basis for the next search.

[0141] In the embodiment of the present application, the electronic device updates or increases the weight value according to the POI search result, so that the electronic device can more conveniently and targetedly search and update the POI database again, and the accuracy of the electronic device in updating the POI database is improved.

[0142] It should be noted that the POI database updating method provided in the embodiment of the present application can be executed by the POI database updating device, or the electronic device, or the functional module or entity in the electronic device. In the embodiment of the present application, the POI database updating device is taken as an example to illustrate the POI database updating method provided in the embodiment of the present application.

[0143] Figure 6 A possible structure diagram of the POI database updating device involved in the embodiment of the present application is shown. As shown in the figure, the POI database updating device 70 can include a determination module 71 and an updating module 72. Figure 6

[0144] ​The determination module 71 is configured to determine at least one network information according to a POI database corresponding to the brand database, determine a network information segment corresponding to each brand information from the at least one network information according to at least one first association pair, and determine a POI search range corresponding to each brand information according to at least one second association pair, and search for POIs in the POI search range. Each first association pair is an association pair of one brand information and one POI information. Each second association pair is an association pair of one brand information and one network information segment. The update module 72 is configured to update the POI database according to a POI search result of each brand information determined by the determination module 71.

[0145] The POI database updating apparatus provided by the embodiment of the present application can improve the timeliness of the POI database updating of the electronic device and ensure the privacy security of the user.

[0146] In a possible implementation, the determination module 71 is further configured to establish at least one first association pair according to a target similarity before determining the at least one network information according to the POI database corresponding to the brand database. The target similarity is a similarity between each brand information in the at least one brand information and each POI information in the at least one POI information.

[0147] In a possible implementation, the determining module 71 is specifically configured to: split each network information in the at least one network information to obtain at least two network information segments; obtain at least one first probability, at least one second probability and at least one third probability according to at least one first association pair, the at least one first probability being a probability of occurrence of each network information segment under a same brand, the at least one second probability being a probability of occurrence of each brand under a same network, and the at least one third probability being a coverage rate of each network under a same brand; and determine, according to the at least one first probability, the at least one second probability and the at least one third probability, a network information segment corresponding to each brand information from the at least two network information segments.

[0148] In a possible implementation, the determining module 71 is specifically configured to: determine at least one first probability according to a first total quantity and a second total quantity, the first total quantity being a total number of occurrences of each network information segment within a second preset range of each POI, and the second total quantity being a total number of occurrences of network information segments within the second preset range; determine at least one second probability according to the first total quantity and a third total quantity, the third total quantity being a total number of occurrences of each network information segment in network information within a third preset range; and determine at least one third probability according to a fourth total quantity and a fifth total quantity, the fourth total quantity being a total number of POIs counted when each network information segment occurs under a POI of each brand, and the fifth total quantity being a total number of POIs corresponding to each brand.

[0149] In a possible implementation, the determining module 71 is specifically configured to: if a variance value of the probability of occurrence of each brand under a network corresponding to each network information segment in M network information segments is less than or equal to a first threshold value, delete the M network information segments to obtain K filtered network information segments, the M network information segments being network information segments in the at least two network information segments; and for each brand information in the at least one brand information, determine, as a network information segment corresponding to a first brand information, a network information segment corresponding to a probability that is greater than or equal to a second threshold value in a sequence number in at least one first sorting result, in a sequence number in at least one second sorting result and in a sequence number in at least one third sorting result, the at least one first sorting result being a sorting result of the probability of occurrence of each network information segment under the first brand information, the at least one second sorting result being a sorting result of the probability of occurrence of each brand under a network corresponding to the first brand information, and the at least one third sorting result being a sorting result of the coverage rate of each network under the first brand information, the first brand information being any brand information in the at least one brand information; and traverse all brand information in the at least one brand information to determine a network information segment corresponding to each brand information.

[0150] In a possible implementation, the POI database updating apparatus 70 provided by the embodiment of the present application further comprises a processing module and a traversal module. The processing module is configured to, after the determining module 71 determines the network information segment corresponding to each brand information from the at least two network information segments according to the at least one first probability, the at least one second probability and the at least one third probability, respectively perform text matching between each network information segment and the first brand information for each brand information in the at least one brand information. The determining module 71 is further configured to, in a case where the first network information segment matches the first brand information, determine the first network information segment as the network information segment corresponding to the first brand information, and the first brand information is any brand information in the at least one brand information. The traversal module is configured to traverse all brand information in the at least one brand information, and determine the network information segment corresponding to each brand information.

[0151] In a possible implementation, the processing module is specifically configured to convert the first brand information into a first pinyin format, and the first pinyin format comprises a pinyin name of the first brand information and at least one symbol, each symbol is used to indicate the position of each letter in the pinyin name in the pinyin name; and respectively perform forward sequence matching between each network information segment and the first pinyin format to obtain a first matching result, and respectively perform reverse sequence matching between each network information segment and the first pinyin format to obtain a second matching result, and judge whether all characters in each network information segment match the first pinyin format. The determining module 71 is specifically configured to, in a case where the first matching result and the second matching result both satisfy a preset condition, and all characters in each network information segment match the first pinyin format, determine the first network information segment as the network information segment corresponding to the first brand information.

[0152] In a possible implementation, the determining module 71 is specifically configured to determine, according to the at least one second association pair, the network information corresponding to the network information segment corresponding to each brand information from a preset network information library; and for each brand information, determine the network in the center area in all networks corresponding to the first brand information as a search center point, and take a preset value as a search radius to obtain a POI search range corresponding to the first brand information; the first brand information is any brand information in the at least one brand information; and traverse all brand information in the at least one brand information to determine the POI search range corresponding to each brand information.

[0153] In a possible implementation, the POI database updating apparatus further includes a processing module. After the updating module 72 updates the POI database according to the POI search result of each brand information, the processing module establishes a first mapping table in the following cases: the first time the POI search is performed or the second brand information does not exist corresponding network information segment. The second brand information is the brand information corresponding to the last POI search of the current POI search. The first mapping table is a mapping table of the brand information corresponding to the last POI search, the second network information segment, and the first weight value. The second network information segment is the network information segment corresponding to the current POI search and not existing in the second association pair corresponding to the last POI search. The first weight value is the weight value corresponding to the second network information segment. The processing module further combines the first mapping table with the mapping table updated after the last POI search to obtain a second mapping table. The processing module further increases a value to the weight value of the network information segment corresponding to the brand information corresponding to the POI searched by the current POI search according to the POI search result of each brand information. The processing module further filters the network information segment corresponding to the POI search result of each brand information and retains the network information segment with the weight value greater than or equal to a fourth threshold value.

[0154] The POI database updating apparatus in the embodiments of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than the terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the like. The electronic device can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, and the like. The embodiments of the present application are not limited in this regard.

[0155] The POI database updating apparatus in the embodiments of the present application can be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems. The embodiments of the present application are not limited in this regard.

[0156] The POI database updating apparatus provided by the embodiments of the present application can implement each process implemented by the method embodiments, and thus repeated descriptions are omitted here.

[0157] Optionally, as shown in Figure 7 The embodiments of the present application also provide an electronic device 90, which includes a processor 91 and a memory 92, and the memory 92 stores programs or instructions executable on the processor 91, and each step of the POI database updating method embodiments is implemented when the programs or instructions are executed by the processor 91, and the same technical effects can be achieved, and thus repeated descriptions are omitted here.

[0158] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device and the non-mobile electronic device.

[0159] Figure 8 A hardware structure schematic diagram of an electronic device for implementing the embodiments of the present application.

[0160] The electronic device 100 includes but is not limited to the radio frequency unit 101, the network module 102, the audio output unit 103, the input unit 104, the sensor 105, the display unit 106, the user input unit 107, the interface unit 108, the memory 109, and the processor 110, and the like.

[0161] Those skilled in the art can understand that the electronic device 100 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 110 through a power management system, so as to realize the functions of power management, such as charging, discharging, and power consumption management, through the power management system. Figure 8 The electronic device structure shown in the above-mentioned embodiments does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than the diagram, or combine certain components, or different component arrangements, and thus repeated descriptions are omitted here.

[0162] The processor 110 is configured to determine at least one network information according to a POI database corresponding to a brand database, the brand database includes at least one brand information, the POI database includes at least one POI information, the at least one network information is information of a wireless network of the POI information in the POI database within a first preset range; determine a network information segment corresponding to each brand information from the at least one network information according to at least one first association pair, each first association pair is an association pair of one brand information and one POI information; determine a POI search range corresponding to each brand information according to at least one second association pair, and search for a POI in the POI search range, each second association pair is an association pair of one brand information and one network information segment; and update the POI database according to a POI search result of each brand information.

[0163] The embodiment of the present application provides an electronic device, wherein when the electronic device updates the POI database, the POI database is updated according to POI search results in a POI search range corresponding to each brand information, the POI search range corresponding to each brand information is determined according to a network information segment corresponding to each brand information, and the network information segment corresponding to each brand information is determined by wireless network information of POI information in the POI database, that is, the electronic device can directly update and iterate the POI database corresponding to the brand through the wireless network information of the POI information in the POI database, each brand information, and the network information segment corresponding to each brand information, without obtaining a large amount of user behavior information based on time sequence, so that the timeliness of the electronic device in updating the POI database can be improved, and the privacy security of the user is ensured.

[0164] Optionally, the processor 110 is further configured to, before determining the at least one network information according to the POI database corresponding to the brand database, establish at least one first association pair according to a target similarity, the target similarity being a similarity between each brand information in the at least one brand information and each POI information in the at least one POI information.

[0165] Optionally, the processor 110 is specifically configured to split each network information in the at least one network information to obtain at least two network information segments, acquire at least one first probability, at least one second probability and at least one third probability according to the at least one first association pair, the at least one first probability being a probability of each network information segment under a same brand, the at least one second probability being a probability of each brand under a same network, and the at least one third probability being a coverage rate of each network under a same brand, and determine the network information segment corresponding to each brand information from the at least two network information segments according to the at least one first probability, the at least one second probability and the at least one third probability.

[0166] Optionally, the processor 110 is specifically configured to determine the at least one first probability according to a first total amount and a second total amount, the first total amount being a total number of each network information segment appearing in a second preset range of each POI, and the second total amount being a total number of network information segments appearing in the second preset range, determine the at least one second probability according to the first total amount and a third total amount, the third total amount being a total number of each network information segment appearing in network information in a third preset range, and determine the at least one third probability according to a fourth total amount and a fifth total amount, the fourth total amount being a total number of POIs counted when each network information segment appears under a POI of each brand, and the fifth total amount being a total number of POIs corresponding to each brand.

[0167] Optionally, the processor 110 is specifically configured to: if a variance value of the probability of occurrence of each brand in each network corresponding to each of the M network information segments is less than or equal to a first threshold value, delete the M network information segments to obtain K filtered network information segments, and the M network information segments are network information segments in the at least two network information segments; and for each brand information in the at least one brand information, determine a network information segment corresponding to the first brand information as a network information segment corresponding to the first brand information, if the network information segment has a probability corresponding to a sequence number in the at least one first sorting result, a sequence number in the at least one second sorting result, and a sequence number in the at least one third sorting result, all greater than or equal to a second threshold value, the at least one first sorting result is a sorting result of the probability of occurrence of each network information segment under the first brand information, the at least one second sorting result is a sorting result of the probability of occurrence of each brand in the network corresponding to the first brand information, the at least one third sorting result is a sorting result of the coverage rate of each network under the first brand information, and the first brand information is any brand information in the at least one brand information; and traverse all brand information in the at least one brand information to determine a network information segment corresponding to each brand information.

[0168] Optionally, the processor 110 is further configured to: after determining the network information segment corresponding to each brand information from the at least two network information segments according to the at least one first probability, the at least one second probability, and the at least one third probability, respectively perform text matching between each network information segment and the first brand information for each brand information in the at least one brand information, and determine the first network information segment as the network information segment corresponding to the first brand information if the first network information segment matches the first brand information, the first brand information being any brand information in the at least one brand information; and traverse all brand information in the at least one brand information to determine a network information segment corresponding to each brand information.

[0169] Optionally, the processor 110 is specifically configured to: convert the first brand information into a first pinyin format, the first pinyin format including a pinyin name of the first brand information and at least one symbol, each symbol being used to indicate a position of each letter in the pinyin name in the pinyin name; respectively perform forward sequence matching between each network information segment and the first pinyin format to obtain a first matching result, and respectively perform reverse sequence matching between each network information segment and the first pinyin format to obtain a second matching result; and determine whether all characters in each network information segment match the first pinyin format; and in a case where the first matching result and the second matching result both satisfy a preset condition, and all characters in each network information segment match the first pinyin format, determine the first network information segment as the network information segment corresponding to the first brand information.

[0170] Optionally, the processor 110 is specifically configured to determine, from the preset network information base, network information corresponding to the network information segment corresponding to each brand information according to the at least one second association pair; and determine, for each brand information, all networks in a central region corresponding to the first brand information as search center points, and obtain a POI search range corresponding to the first brand information by taking a preset value as a search radius; the first brand information is any brand information in the at least one brand information; and the POI search range corresponding to each brand information is determined by traversing all brand information in the at least one brand information.

[0171] Optionally, the processor 110 is further configured to, after updating the POI database according to the POI search result of each brand information, establish a first mapping table in a case that the first time POI search is performed or the second brand information does not exist corresponding network information segment, the second brand information is brand information corresponding to the last POI search of the current POI search, the first mapping table is a mapping table of the last POI search corresponding brand information, the second network information segment and the first weight value, the second network information segment is a network information segment corresponding to the current POI search and not existing in the second association pair corresponding to the last POI search, and the first weight value is a weight value corresponding to the second network information segment; and merge the first mapping table and the mapping table updated after the last POI search to obtain a second mapping table; and increase a value to the weight value of the network information segment corresponding to the brand information corresponding to the POI searched by the current POI search according to the POI search result of each brand information; and filter the network information segment corresponding to the POI search result of each brand information, and retain the network information segment with a weight value greater than or equal to a fourth threshold value.

[0172] The electronic device provided in the embodiment can realize each process realized by the method embodiments, and achieve the same technical effects. To avoid repetition, details are not described herein.

[0173] The beneficial effects of various implementation manners in the embodiment can refer to the beneficial effects of the corresponding implementation manners in the method embodiments, and details are not described herein to avoid repetition.

[0174] It should be understood that in the embodiments of the present application, the input unit 104 can include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 can include a display panel 1061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 can include two parts of a touch detection device and a touch controller. The other input devices 1072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, and the like, which will not be described here.

[0175] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory 109 can include a volatile memory or a non-volatile memory, or the memory 109 can include both volatile and non-volatile memories. The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synch link DRAM (SLDRAM), and a direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory 109 in the embodiments of the present application includes but is not limited to these and any other suitable types of memory.

[0176] The processor 110 can include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes a wireless communication signal, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 110.

[0177] The embodiment of the present application further provides a readable storage medium, and the readable storage medium stores a program or instructions, the program or instructions are executed by a processor to realize various processes of the above-mentioned method embodiment, and the same technical effects can be achieved, and details are not repeated here to avoid repetition.

[0178] The processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.

[0179] The embodiment of the present application further provides a chip, and the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or instructions to realize various processes of the above-mentioned method embodiment, and the same technical effects can be achieved, and details are not repeated here to avoid repetition.

[0180] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system level chip, a system chip, a chip system, or a system on chip, and the like.

[0181] The embodiment of the present application provides a computer program product, and the program product is stored in a storage medium, and the program product is executed by at least one processor to realize various processes of the above-mentioned method embodiment, and the same technical effects can be achieved, and details are not repeated here to avoid repetition.

[0182] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element. Furthermore, it is to be understood that the method and apparatus of the present application can be carried out by more than one process, method, article, or apparatus either simultaneously, concurrently, or with intervening action that are carried out at the same time, either in a simultaneous fashion or in a fashion that is interleaved in time. For example, the described methods can be performed in a different order from that described, and / or various steps can be combined or omitted, and / or additional steps can be added, without departing from the scope of the present application. Also, features described with respect to certain examples can be combined in other examples.

[0183] From the above description of the embodiments, it is apparent that the above-mentioned method can be realized by means of software and necessary universal hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solution of the present application can be embodied in the form of computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, or network equipment, etc.) execute the method described in various embodiments of the present application.

[0184] The embodiments of the present application are described above in conjunction with the drawings, but the present application is not limited to the above-described specific embodiments, and the above-described specific embodiments are merely illustrative, rather than limiting, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.

Claims

1. A point of interest (POI) database updating method, characterized by, The method comprises: determining at least one network information according to a POI database corresponding to a brand database, wherein the brand database comprises at least one brand information, the POI database comprises at least one POI information, and the at least one network information is information of a wireless network of the POI information in the POI database within a first preset range; performing splitting processing on each network information in the at least one network information to obtain at least two network information segments; obtaining at least one first probability, at least one second probability and at least one third probability according to the at least one first association pair, wherein the at least one first probability is a probability of occurrence of each network information segment under a same brand, the at least one second probability is a probability of occurrence of each brand under a same network, and the at least one third probability is a coverage rate of each network under a same brand, and each first association pair is an association pair of one brand information and one POI information; determining a network information segment corresponding to each brand information from the at least two network information segments according to the at least one first probability, the at least one second probability and the at least one third probability; determining a POI search range corresponding to each brand information according to at least one second association pair, and searching for a POI in the POI search range, wherein each second association pair is an association pair of one brand information and one network information segment; updating the POI database according to a POI search result of each brand information.

2. The method of claim 1, wherein, Before the step of determining at least one network information according to a POI database corresponding to a brand database, the method further comprises: establishing the at least one first association pair according to a target similarity, wherein the target similarity is a similarity between each brand information in the at least one brand information and each POI information in the at least one POI information.

3. The method of claim 1, wherein, The step of obtaining at least one first probability, at least one second probability and at least one third probability according to the at least one first association pair comprises: determining the at least one first probability according to a first total amount and a second total amount, wherein the first total amount is a total number of occurrences of each network information segment within a second preset range of each POI, and the second total amount is a total number of occurrences of the network information segment within the second preset range; determining the at least one second probability according to the first total amount and a third total amount, wherein the third total amount is a total number of occurrences of each network information segment in network information within a third preset range; determining the at least one third probability according to a fourth total amount and a fifth total amount, wherein the fourth total amount is a total number of POIs counted when each network information segment occurs under a POI of each brand, and the fifth total amount is a total number of POIs corresponding to each brand.

4. The method of claim 1, wherein, The step of determining a network information segment corresponding to each brand information from the at least two network information segments according to the at least one first probability, the at least one second probability and the at least one third probability comprises: If a variance value of the probability of occurrence of each brand under each network corresponding to each of the M network information segments is less than or equal to a first threshold value, the M network information segments are deleted, and K filtered network information segments are obtained, the M network information segments being network information segments in the at least two network information segments; For each brand information in the at least one brand information, a network information segment corresponding to a probability that a sequence number in at least one first sorting result, a sequence number in at least one second sorting result, and a sequence number in at least one third sorting result are all greater than or equal to a second threshold value is determined as a network information segment corresponding to a first brand information, the at least one first sorting result being a sorting result of the probability of occurrence of each network information segment under the first brand information, the at least one second sorting result being a sorting result of the probability of occurrence of each brand under a network corresponding to the first brand information, the at least one third sorting result being a sorting result of the coverage rate of each network under the first brand information, the first brand information being any brand information in the at least one brand information; All brand information in the at least one brand information is traversed to determine a network information segment corresponding to each brand information.

5. The method of claim 1, wherein, After the network information segment corresponding to each brand information is determined from the at least two network information segments according to the at least one first probability, the at least one second probability, and the at least one third probability, the method further comprises: For each brand information in the at least one brand information, each network information segment is respectively matched with a first brand information in text, and in a case that a first network information segment is matched with the first brand information, the first network information segment is determined as a network information segment corresponding to the first brand information, the first brand information being any brand information in the at least one brand information; All brand information in the at least one brand information is traversed to determine a network information segment corresponding to each brand information.

6. The method of claim 5, wherein, The respective matching of each network information segment with a first brand information in text, and the determination of the first network information segment as a network information segment corresponding to the first brand information in a case that the first network information segment is matched with the first brand information, comprises: The first brand information is converted into a first pinyin format, the first pinyin format comprising a pinyin name of the first brand information and at least one symbol, each symbol being used to indicate a position of each letter in the pinyin name in the pinyin name; Each network information segment is respectively matched with the first pinyin format in a forward order to obtain a first matching result, and each network information segment is respectively matched with the first pinyin format in a reverse order to obtain a second matching result, and it is judged whether all characters in each network information segment are matched with the first pinyin format; In a case that the first matching result and the second matching result both satisfy a preset condition and all characters in each network information segment match the first pinyin format, the first network information segment is determined as a network information segment corresponding to the first brand information.

7. The method of claim 1, wherein, The determining, according to the at least one second association pair, of a POI search range corresponding to each brand information comprises: The determining, according to the at least one second association pair, of network information corresponding to a network information segment corresponding to each brand information from a preset network information library; For each brand information, all networks in a central region corresponding to a first brand information are determined as search center points, and a preset value is taken as a search radius to obtain a POI search range corresponding to the first brand information; the first brand information is any brand information in the at least one brand information; All brand information in the at least one brand information is traversed to determine a POI search range corresponding to each brand information.

8. The method of claim 1, wherein, After the updating of the POI database according to the POI search result of each brand information, the method further comprises: In a case that a first POI search is performed for the first time or a second brand information does not exist corresponding to a network information segment, a first mapping table is established, the second brand information is brand information corresponding to a last POI search of current POI retrieval, the first mapping table is a mapping table of the brand information corresponding to the last POI search, a second network information segment and a first weight value, the second network information segment is a network information segment corresponding to current POI retrieval and not existing in the second association pair corresponding to the last POI search, and the first weight value is a weight value corresponding to the second network information segment; The first mapping table and a mapping table updated after the last POI search are combined to obtain a second mapping table; According to the POI search result of each brand information, a weight value of a network information segment corresponding to brand information of a POI retrieved by current POI retrieval is respectively increased by a value; The network information segment corresponding to the POI search result of each brand information is filtered, and a network information segment with a weight value greater than or equal to a fourth threshold value is retained.

9. A point of interest (POI) database updating apparatus characterized by comprising: The POI database updating apparatus comprises a determining module and an updating module. The determining module is configured to determine at least one network information according to a POI database corresponding to a brand database, wherein the brand database comprises at least one brand information, the POI database comprises at least one POI information, the at least one network information is information of a wireless network of the POI information in the POI database within a first preset range; each network information in the at least one network information is split to obtain at least two network information segments; at least one first probability, at least one second probability and at least one third probability are obtained according to the at least one first association pair, the at least one first probability is a probability of each network information segment under a same brand, the at least one second probability is a probability of each brand under a same network, and the at least one third probability is a coverage rate of each network under a same brand; each first association pair is an association pair of one brand information and one POI information; a network information segment corresponding to each brand information is determined from the at least two network information segments according to the at least one first probability, the at least one second probability and the at least one third probability; a POI search range corresponding to each brand information is determined according to at least one second association pair, and a POI is searched in the POI search range, and each second association pair is an association pair of one brand information and one network information segment. The updating module is configured to update the POI database according to a POI search result of each brand information determined by the determining module.

10. An electronic device, comprising: A processor and a memory are included, the memory stores programs or instructions that can be run on the processor, and the programs or instructions are executed by the processor to implement the steps of the POI database updating method according to any one of claims 1 to 8.

11. A readable storage medium, characterized by, A readable storage medium stores programs or instructions, and the programs or instructions are executed by a processor to implement the steps of the POI database updating method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • POI text retrieval method and device, and electronic equipment

    CN110765262A

  • Network search method and device, multi-mode terminal, and storage medium

    WO2021258854A1