Method for dividing geographic grid, method and device for determining business district

By introducing geographical transformation operators and multi-dimensional factors to calculate business scores, it solves the problems of low accuracy and insufficient multi-level support of existing business district geographical range mining algorithms, and achieves continuously adjustable business district range and multi-level mining capabilities. Meets the needs of real business scenarios.

CN110348896BActive Publication Date: 2024-10-01TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910581922.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-30
Publication Date
2024-10-01
Estimated Expiration
2040-05-13

AI Technical Summary

Technical Problem

Existing business district geographical scope mining algorithms have problems such as low mining accuracy and inability to support multi-level business district mining, and cannot meet the needs of real business scenarios.

Method used

By introducing geographical transformation operators and multi-dimensional factors to calculate business scores, the geographical grid size can be continuously adjusted and the business district scope can be accurately adjusted, and the determination of multi-level business districts can be supported.

Benefits of technology

It improves the mining accuracy of the geographical scope of business districts, meets the operational needs of multi-level business districts, and realizes the continuous adjustment and multi-level mining capabilities of business district ranges.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110348896B_ABST
    Figure CN110348896B_ABST
Patent Text Reader

Abstract

This disclosure provides a method for dividing a geographic grid, a method for determining a business district, and an apparatus. The method for dividing a geographic grid includes: determining a geographic transformation operator based on the size of the geographic grid to be divided and a predetermined relationship between the size of the geographic grid and a geographic transformation operator; performing predetermined mathematical operations on the longitude and latitude of points within a predetermined area with the geographic transformation operator to determine the longitude and latitude codes corresponding to each point, wherein the predetermined relationship and the predetermined mathematical operations ensure that the longitude and latitude codes corresponding to points within the predetermined area continuously change as the size of the geographic grid continuously changes; and grouping points within the predetermined area with the same longitude and latitude codes into the same geographic grid. Through the embodiments of this application, the accuracy of the geographic range of a business district can be continuously adjusted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer and communication technology, and in particular to a method for dividing a geographic grid, a method and device for determining a business district, and a computer-readable storage medium. Background Art

[0002] The geographical scope of a business district has very important commercial value and is the basic geographical data required for offline business operations. The determination of the geographical scope of a business district is mainly divided into two types: manual drawing and automatic algorithm mining. Manual drawing requires people to manually draw the geographical scope of the business district on the map based on their own understanding. It needs to be drawn one business district at a time, which is inefficient and consumes a lot of manpower and material resources. Algorithm-based mining is based on the collected geographic data, and an algorithm program is designed to automatically mine the geographical scope of the business district. Existing automatic algorithm mining solutions have problems such as low mining accuracy and inability to support multi-level business district mining, which cannot meet the needs of real business scenarios. Summary of the invention

[0003] The embodiments of the present application provide a method for dividing a geographic grid, a method and device for determining a business district, and a computer-readable storage medium, so as to provide a technical solution for determining a business district with high mining accuracy.

[0004] According to a first aspect of an embodiment of the present application, a method for dividing a geographic grid is disclosed, which includes:

[0005] Determining a geographic transformation operator according to the size of the geographic grid to be divided and a predetermined relationship between the size of the geographic grid and the geographic transformation operator;

[0006] The longitude and latitude of the point in the predetermined area are respectively subjected to a predetermined mathematical operation with the geographic transformation operator to respectively determine the longitude code and latitude code corresponding to the point, wherein the predetermined relationship and the predetermined mathematical operation enable the longitude code and latitude code corresponding to the point in the predetermined area to continuously change with the continuous change of the size of the geographic grid;

[0007] Points with the same longitude code and latitude code in the predetermined area are divided into the same geographic grid.

[0008] According to an exemplary embodiment, the approximate rounding function is a rounding function.

[0009] According to an exemplary embodiment, the method further comprises:

[0010] According to the longitude code and latitude code corresponding to the point, the grid code of the geographic grid where the point is located is determined.

[0011] In the technical solution according to the first aspect of the embodiment of the present application and its various specific implementation methods, the geographic transformation operator is determined by the size of the geographic grid, and the corresponding longitude code and latitude code of a point are determined by the longitude and latitude of the point and the predetermined operation of the geographic transformation operator, so that the continuous change of the size of the geographic grid can cause the continuous change of the geographic transformation operator, thereby causing the continuous change of the longitude code and the latitude code, so that the accuracy of the business district range determined by the size of the geographic grid can be continuously adjusted.

[0012] According to a second aspect of an embodiment of the present application, a method for determining a business district is disclosed, which includes:

[0013] dividing the predetermined area into a plurality of geographic grids;

[0014] Determine a population score for each geographic grid according to the number of resident population and the number of visitors in each geographic grid of the plurality of geographic grids;

[0015] Determining a commercial point of interest score for each geographic grid according to the number of commercial points of interest in each geographic grid in the plurality of geographic grids;

[0016] Determine a business score for each geographic grid based on the population score and the business interest point score of each geographic grid;

[0017] A first-level business district in the predetermined area is determined according to the business scores of the plurality of geographic grids.

[0018] According to an exemplary embodiment, dividing the predetermined area into a plurality of geographical grids comprises:

[0019] The predetermined area is divided into a plurality of geographical grids according to the method described in the first aspect.

[0020] According to an exemplary embodiment, according to the number of residents, the number of workers and the number of visitors of each geographic grid, respectively determining the resident population score, the working population score and the number of visitors score of each geographic grid includes:

[0021] The resident population score, working population score, and visitor population score for each geographic grid are determined using the following formula:

[0022] s1=Ri / Rav,

[0023] s2=Wi / Wav,

[0024] s3=Vi / Vav,

[0025] Among them, Ri, Wi, Vi are respectively the number of residents, the number of working population and the number of visitors in the predetermined time period of the geographical grid, and Rav, Wav and Vav are respectively the average number of residents, the number of working population and the number of visitors in the predetermined time period of each geographical grid of the multiple geographical grids included in the predetermined area.

[0026] According to an exemplary embodiment, determining the first commercial point of interest score and the second commercial point of interest score of each geographic grid respectively according to the number of the first type of commercial points of interest and the number of the second type of commercial points of interest of each geographic grid includes:

[0027] The first commercial point of interest score and the second commercial point of interest score for each geographic grid are determined according to the following formula:

[0028] s4=Ni / Nav,

[0029] s5=Mi / Mav,

[0030] Among them, Ni and Mi are respectively the number of first type and second type of commercial interest points of the geographic grid, and Nav and Mav are respectively the average number of first type and second type of commercial interest points of each geographic grid of the multiple geographic grids contained in the predetermined area.

[0031] According to an exemplary embodiment, determining the commercial score of each geographic grid according to the population score and the commercial interest point score of each geographic grid includes:

[0032] The population score of each geographic grid is multiplied by the commercial point of interest score to obtain the commercial score of the geographic grid.

[0033] According to an exemplary embodiment, determining the commercial score of each geographic grid according to the population score and the commercial interest point score of each geographic grid includes:

[0034] Multiply the population score of each geographic grid by the commercial interest point score to obtain the original commercial score of the geographic grid;

[0035] According to the original business score of the geographic grid and the original business scores of the plurality of geographic grids contained in the predetermined area, a normalized business score of the geographic grid is determined as the business score of the geographic grid.

[0036] In the technical solution according to the second aspect of the embodiment of the present application and its various specific implementation methods, when determining the population score of a geographic grid, it is determined not only based on the number of visitors to the geographic grid, but also based on the number of permanent residents of the geographic grid, so that the population score of the geographic grid takes into account factors in multiple dimensions, and the score calculation result is more accurate.

[0037] According to a third aspect of an embodiment of the present application, a device for dividing a geographic grid is disclosed, comprising:

[0038] A transformation operator determination unit, configured to: determine a geographic transformation operator according to the size of the geographic grid to be divided and a predetermined relationship between the size of the geographic grid and the geographic transformation operator;

[0039] A code determination unit, configured to: perform predetermined mathematical operations on the longitude and latitude of a point within a predetermined area and the geographic transformation operator, respectively, to determine the longitude code and latitude code corresponding to the point, respectively, wherein the predetermined relationship and the predetermined mathematical operation enable the longitude code and latitude code corresponding to the point within the predetermined area to continuously change with the continuous change of the size of the geographic grid;

[0040] A division unit is configured to divide the points with the same longitude code and latitude code in the predetermined area into the same geographic grid.

[0041] According to an exemplary embodiment, the predetermined relationship between the size of the geographic grid and the geographic transformation operator is: T=N / D, where T represents the geographic transformation operator, D represents the size of the geographic grid, and N is a predetermined value.

[0042] According to an exemplary embodiment, the encoding determination unit is configured to:

[0043] Calculate the longitude and latitude codes corresponding to the point according to the following formulas:

[0044] Loc = round (Lo × T) / T,

[0045] Lac=round(La×T) / T,

[0046] Wherein, Lo and La represent the longitude and latitude of the point in the predetermined area respectively, Loc and Lac represent the longitude code and latitude code corresponding to the point respectively, T is the geographic transformation operator, and round is the approximate rounding function.

[0047] According to an exemplary embodiment, the approximate rounding function is a rounding function.

[0048] According to an exemplary embodiment, the encoding determination unit is further configured to:

[0049] According to the longitude code and latitude code corresponding to the point, the grid code of the geographic grid where the point is located is determined.

[0050] According to a fourth aspect of an embodiment of the present application, a device for determining a business district is disclosed, which includes:

[0051] A division unit configured to: divide a predetermined area into a plurality of geographical grids;

[0052] A population scoring unit, configured to: determine a population score for each geographical grid according to the number of resident population and the number of visitors in each geographical grid of the plurality of geographical grids;

[0053] a point of interest scoring unit, configured to: determine a commercial point of interest score for each geographic grid according to the number of commercial points of interest in each geographic grid in the plurality of geographic grids;

[0054] A business scoring unit, configured to: determine a business score for each geographic grid according to a population score and a business interest point score of each geographic grid;

[0055] The business district determining unit is configured to determine a first-level business district in the predetermined area according to the business scores of the plurality of geographic grids.

[0056] According to an exemplary embodiment, the dividing unit is configured to:

[0057] According to the method described in the first aspect and embodiments thereof, the predetermined area is divided into a plurality of geographical grids.

[0058] According to an exemplary embodiment, the population scoring unit is configured to:

[0059] According to the number of resident population and number of visitors in each geographical grid, the resident population score and the number of visitors score of each geographical grid are determined respectively;

[0060] Determine the weighted sum of the resident population score and the visitor population score for each geographic grid as the population score for each geographic grid.

[0061] According to an exemplary embodiment, the number of permanent residents in each geographic grid includes the number of resident population and the number of working population in each geographic grid, and the population scoring unit is configured as follows:

[0062] According to the number of residents, working population and visitors in each geographical grid, the resident population score, working population score and visitor number score of each geographical grid are determined respectively;

[0063] Determine the weighted sum of the resident population score, working population score, and visitor population score for each geographic grid as the population score for each geographic grid.

[0064] According to an exemplary embodiment, the population scoring unit is configured to:

[0065] The population score for each geographic grid is determined according to the following formula:

[0066] Sp=s1×A / (s1+D)+s2×B / (s2+E)+s3×C / (s3+F),

[0067] Among them, Sp represents the population score of each geographic grid, s1, s2, and s3 represent the resident population score, working population score, and visitor population score of the geographic grid respectively, A, B, C, D, E, and F are all preset values, the values ​​of A, B, and C are between 0 and 1 and satisfy A+B+C=1, and D, E, and F are all positive numbers.

[0068] According to an exemplary embodiment, the population scoring unit is configured to:

[0069] The resident population score, working population score, and visitor population score for each geographic grid are determined using the following formula:

[0070] s1=Ri / Rav,

[0071] s2=Wi / Wav,

[0072] s3=Vi / Vav,

[0073] Among them, Ri, Wi, Vi are respectively the number of residents, the number of working population and the number of visitors in the predetermined time period of the geographical grid, and Rav, Wav and Vav are respectively the average number of residents, the number of working population and the number of visitors in the predetermined time period of each geographical grid of the multiple geographical grids included in the predetermined area.

[0074] According to an exemplary embodiment, the commercial points of interest include a first type of commercial points of interest and a second type of commercial points of interest, wherein the point of interest scoring unit is configured to:

[0075] Determine a first commercial point of interest score and a second commercial point of interest score for each geographic grid according to the number of commercial points of interest of the first type and the number of commercial points of interest of the second type in each geographic grid;

[0076] The commercial point of interest score of each geographic grid is determined based on the first commercial point of interest score and the second commercial point of interest score of each geographic grid.

[0077] According to an exemplary embodiment, the interest point scoring unit is configured to:

[0078] The commercial point of interest score for each geographic grid is determined according to the following formula:

[0079] Sc=max(s4 / (s4+G),s5 / (s5+H)),

[0080] Among them, Sc is the commercial interest point score of each geographic grid, s4 and s5 are the first commercial interest point score and the second commercial interest point score of the geographic grid respectively, G and H are both preset values, and H is greater than G, and max() is a function of taking the maximum value.

[0081] According to an exemplary embodiment, the interest point scoring unit is configured to:

[0082] The first commercial point of interest score and the second commercial point of interest score for each geographic grid are determined according to the following formula:

[0083] s4=Ni / Nav,

[0084] s5=Mi / Mav,

[0085] Among them, Ni and Mi are respectively the number of first type and second type of commercial interest points of the geographic grid, and Nav and Mav are respectively the average number of first type and second type of commercial interest points of each geographic grid of the multiple geographic grids contained in the predetermined area.

[0086] According to an exemplary embodiment, the business scoring unit is configured to:

[0087] The population score of each geographic grid is multiplied by the commercial interest point score to obtain the commercial score of the geographic grid.

[0088] According to an exemplary embodiment, the business scoring unit is configured to:

[0089] Multiply the population score of each geographic grid by the commercial interest point score to obtain the original commercial score of the geographic grid;

[0090] According to the original business score of the geographic grid and the original business scores of the plurality of geographic grids contained in the predetermined area, a normalized business score of the geographic grid is determined as the business score of the geographic grid.

[0091] According to an exemplary embodiment, the business district determining unit is configured to:

[0092] Determine one or more geographic grids having a business score greater than a first predetermined threshold among the plurality of geographic grids as candidate geographic grids;

[0093] One or more geographic grid sets are determined from the candidate geographic grids, and each geographic grid set is used as a first-level business district, wherein in each geographic grid set, the geographic grids contained in the geographic grid set are connected together and are not connected to other geographic grids outside the geographic grid set.

[0094] According to an exemplary embodiment, the business district determining unit is configured to:

[0095] Initialization step: determining the geographic grid code of each geographic grid in the candidate geographic grid as the business district identifier of the geographic grid, and using the business score of each geographic grid as the business district score of the geographic grid;

[0096] Fusion step: for each of the candidate geographic grids, determine the geographic grid with the highest business district score among the geographic grid and the geographic grids adjacent to the geographic grid, and set the business district identifier and business district score of the geographic grid to the business district identifier and business district score of the geographic grid with the highest business district score respectively;

[0097] Repeating step: repeating the fusion step for a predetermined number of times;

[0098] Determining step: after the repeating step, determining the geographic grids with the same business district identifier among the candidate geographic grids as one of the geographic grid sets.

[0099] According to an exemplary embodiment, the business district determination unit is further configured to:

[0100] Determine the relevance of each business district in the first level to other business districts in the first level;

[0101] Two business districts in the first level of business districts with a correlation higher than a second predetermined threshold are used as a combined business district, wherein each of the two business districts is called a member business district of the combined business district;

[0102] Combined business districts with one or more identical member business districts are integrated together as the second-level business district.

[0103] According to an exemplary embodiment, the business district determining unit is configured to:

[0104] For the business district and each other business district, determine the ratio of the number of people who have visited the business district and the other business district at the same time to the total number of people who have visited the business district and the other business district as the correlation between the business district and the other business district.

[0105] According to a fifth aspect of an embodiment of the present application, a computing device is disclosed, which includes a processor and a memory, wherein a computer program is stored in the memory, and when the processor executes the computer program in the memory, it is configured to implement any one of the method embodiments described above.

[0106] According to a sixth aspect of the embodiments of the present application, a computer-readable storage medium is disclosed, on which a computer program is stored. When the computer program is executed by a processor, any one of the method embodiments described above is implemented.

[0107] Other features and advantages of the embodiments of the present application will become apparent from the following detailed description, or may be partially learned through the practice of the embodiments of the present application.

[0108] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0109] The above and other objectives, features and advantages of the embodiments of the present application will become more apparent by describing in detail its exemplary embodiments with reference to the accompanying drawings. The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application.

[0110] Figure 1 A schematic flow chart of a method for dividing a geographical grid according to an embodiment of the present application is shown.

[0111] Figure 2 A schematic flowchart of a method for determining a business district according to an embodiment of the present application is shown.

[0112] Figure 3 Show Figure 2 A schematic flow chart of an exemplary specific implementation of S220 in the illustrated embodiment.

[0113] Figure 4 Show Figure 2 A schematic flow chart of another exemplary specific implementation of S220 in the illustrated embodiment.

[0114] Figure 5 Show Figure 2 A schematic flowchart of an exemplary specific implementation of S230 in the illustrated embodiment.

[0115] Figure 6 A schematic flow chart showing an exemplary specific implementation of how to determine a set of geographic grids as a trade district from candidate geographic grids.

[0116] Figure 7 Shown with Figure 6 A schematic diagram of an example candidate geographic grid corresponding to the illustrated embodiment.

[0117] Figure 8 A schematic flowchart showing an exemplary implementation of further drilling down multiple business districts at a first level to determine business districts at a second level.

[0118] Fig. 9 A schematic block diagram of a device for dividing a geographic grid according to an embodiment of the present application is shown.

[0119] Fig.10 A schematic block diagram of the composition of a device for determining a business district according to an embodiment of the present application is shown.

[0120] Fig.11 A schematic block diagram of a computing device according to an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0121] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the embodiments of the present application will be more comprehensive and complete, and the concepts of the example embodiments will be fully conveyed to those skilled in the art. The accompanying drawings are only schematic illustrations of the embodiments of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0122] In addition, the described features, structures or characteristics may be combined in one or more example implementations in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example implementations of the present application embodiments. However, those skilled in the art will appreciate that the technical solutions of the present application embodiments may be practiced and one or more of the specific details may be omitted, or other methods, components, steps, etc. may be adopted. In other cases, known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring the various aspects of the present application embodiments.

[0123] Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0124] A business district is an area with high commercial and pedestrian density and high concentration of commercial entities. The main steps of an existing automatic business district mining method are to first divide the target area into multiple geographic grids of equal size, and then determine the scope of the business district in the target area based on the pedestrian flow data and the number of businesses in the multiple geographic grids. This technical solution has the following problems:

[0125] 1. Does not support continuous adjustment of the mining accuracy of the business district geographic scope.

[0126] The existing business district geographic scope mining algorithm generally uses Geohash coding to divide geographic grids, and then aggregates the geographic grids into the business district geographic scope. Therefore, the size of the divided geographic grid determines the accuracy of the subsequent business district geographic scope. For example, if the size of the geographic grid is 600 meters × 600 meters, then the accuracy of the subsequent aggregation of the business district geographic scope is also 600 meters.

[0127] GeoHash is a coding method that converts the longitude and latitude of a location into a string, so that in most cases, the more string prefixes match, the closer the two locations are. In this method, the earth is understood as a two-dimensional plane, and the plane is recursively decomposed into smaller sub-blocks, each of which has the same Geohash code within a certain longitude and latitude range. That is, the geographic grid can be divided by Geohash coding. The problem with the existing Geohash coding method for dividing geographic grids is that Geohash coding can only discretely adjust the size of the divided geographic grid. For example, the accuracy of a 6-bit Geohash code is 610 meters, and the accuracy of a 5-bit Geohash code is 2.4 kilometers. Geohash coding cannot meet any business district geographic scope mining needs with an accuracy between 610 meters and 2.4 kilometers. For example, if a business needs to mine the geographic scope of a business district with an accuracy of 1 kilometer, the existing method cannot meet this requirement due to the use of Geohash coding, and can only provide a business district geographic scope with an accuracy of 610 meters or 2.4 kilometers as an alternative.

[0128] 2. Does not support multi-level business district geographic scope mining.

[0129] In reality, business districts have multiple levels, and real businesses also need to formulate targeted operation strategies based on business districts at different levels. For example, the target geographic scope includes three different levels of business districts: the first level is independent shopping centers including "XX Plaza" and "XX Cultural Plaza", the second level is a commercial complex consisting of multiple shopping centers and malls including "XX Mall", and the third level is a larger area consisting of multiple commercial complexes and adjacent areas including "XX Area". The existing business district geographic scope algorithm only supports the output of one level of business district results, which cannot well meet the real business's operational needs for multi-level business districts.

[0130] In one aspect of the embodiments of the present application, the inventor of the present application has proposed a new method for dividing geographic grids, so that the size of the geographic grids can be continuously adjusted, so that the accuracy of the geographic scope of the business district when the business district scope is subsequently determined based on the geographic grids divided in this way can also be continuously adjusted. In another aspect of the embodiments of the present application, the inventor of the present application has proposed a method for determining a business district, in which factors of multiple dimensions are considered to determine the business score of the geographic grid, so that the score calculation result is more accurate. In addition, the business district determination method can also support multi-level mining of business districts.

[0131] Figure 1 A schematic flow chart of a method for dividing a geographic grid according to an embodiment of the present application is shown. This exemplary method can be executed by any computing device with data computing capabilities. Figure 1 As shown, the example method includes:

[0132] S110, determining a geographic transformation operator according to the size of the geographic grid to be divided and a predetermined relationship between the size of the geographic grid and the geographic transformation operator.

[0133] In this article, the target area to be divided into a geographic grid is referred to as a predetermined area. Subsequently, the predetermined area after being divided into a geographic grid can also be used to determine the scope of the business district. The predetermined area can be global, one or more countries, one or more cities, or one or more areas in a city. In the following embodiments, the method of dividing a geographic grid according to an embodiment of the present application is explained by dividing a geographic grid in a predetermined area. It should be understood that the method of dividing a geographic grid in an embodiment of the present application is applicable to dividing a predetermined area of ​​any range (including a global range) into a geographic grid.

[0134] A geographic grid is a spatial data structure that classifies planes according to certain rules. It has a high degree of standardization and is conducive to the research and development of spatial databases and geometric operation algorithms. Using a geographic grid, geographic spatial positioning and geographic feature descriptions can be associated, with grid units as the basic resolution. A common geographic grid is a grid system composed of longitude and latitude. The grid is composed of longitude and latitude lines at equal intervals. The attributes of spatial data are associated with points in the longitude and latitude grid, which facilitates the acquisition and processing of spatial data in the grid. The grid system can create finer sub-grids based on the original smaller resolution grid to increase its resolution.

[0135] In an embodiment according to the present application, a predetermined area is divided into a plurality of geographic grids of equal size, and the divided geographic grids are approximately square, so the length of the side of the geographic grid can be used to represent the size of the geographic grid. In an embodiment according to the present application, the longitude and latitude coordinates of a point in the predetermined area can be used to represent the position of the point, and the longitude code and latitude code corresponding to the point are determined by the operation of the longitude and latitude coordinates and the geographic transformation operator. For a geographic grid, the longitude code and latitude code of all points in it are respectively the same. In one embodiment, the combination of the longitude code and latitude code corresponding to the points in the geographic grid can be used to determine the identification of the geographic grid, that is, the geographic grid code.

[0136] In an embodiment according to the present application, the inventor introduces a geographic transformation operator as a transformation parameter of the longitude and latitude coordinates of a point in a geographic grid to the corresponding longitude code and latitude code (as well as to the geographic grid code). In one embodiment, the geographic transformation operator is set to be a function of the size of the geographic grid. For example, the predetermined relationship between the size of the geographic grid and the geographic transformation operator can be set to: T = N / D, where T represents the geographic transformation operator, D represents the size of the geographic grid to be divided, and N is a predetermined value. Wherein, N is a value that can be pre-set based on experience or experimental results, which represents the relationship between the change of the longitude and latitude coordinates and the change of the geographic range. For example, based on experience or experimental results, when the longitude and latitude coordinates have three decimal places, the change in the corresponding geographic range for each incremental change of the longitude or latitude coordinates is 100 meters, so N can be set to 100 / 1000, where 100 represents the change in the geographic range, and 1000 represents that the longitude and latitude coordinates have three decimal places. For example, in the case of N = 100 / 1000 as described above, if the predetermined area is to be divided into a plurality of geographic grids with a side length of 100 meters, the size of the geographic transformer is T = 1 / 1000. From the relationship between the geographic transformer and the size of the geographic grid, it can be seen that the continuous change of the size of the geographic grid will cause the continuous change of the geographic transformer, that is, as long as the size of the geographic grid changes, the size of the geographic transformer also changes.

[0137] S120, performing predetermined mathematical operations on the longitude and latitude of points within the predetermined area and the geographic transformation operator respectively to determine the longitude code and latitude code corresponding to the point respectively, wherein the predetermined relationship and the predetermined mathematical operation enable the longitude code and latitude code corresponding to the points within the predetermined area to change continuously with the continuous change of the size of the geographic grid.

[0138] In S120, the corresponding longitude code and latitude code are determined by a predetermined mathematical operation of the longitude and latitude and the geographic transformation operator, and the predetermined mathematical operation causes the longitude code and latitude code to change continuously as the size of the geographic grid changes continuously. The predetermined mathematical operation described in the embodiment of the present application may generally refer to any mathematical operation that causes the longitude code and latitude code to change continuously as the size of the geographic grid changes, and causes the corresponding longitude code and latitude code of all points in each geographic grid to be the same.

[0139] In one embodiment, the predetermined mathematical operation may be a mathematical operation defined by the following formula:

[0140] Loc = round (Lo × T) / T,

[0141] Lac=round(La×T) / T,

[0142] Wherein, Lo and La represent the longitude and latitude of a point in a predetermined area, respectively, Loc and Lac represent the longitude code and latitude code corresponding to the point, respectively, T is a geographic transformation operator, round is an approximate rounding function, and the meaning of T is as described in S110. In one example, the approximate rounding function may be a rounding approximate rounding function.

[0143] For example, assuming that the longitude and latitude of a point are 132.1345 and 32.1234, respectively, and the size of the geographic grid (the side length of the geographic grid) is 100 meters, the corresponding longitude code and latitude code can be calculated as 132.135 and 32.123, respectively, by the above formula. In one example, the grid code of the geographic grid where the point is located can be determined based on the longitude code and latitude code corresponding to the point. In this example, the geographic grid code where the point (132.1345, 32.1234) is located can be set to a combination of the longitude code and the latitude code, for example, to the longitude code_latitude code, that is, 132.135_32.123.

[0144] Through step S120, the corresponding longitude code and latitude code and / or geographic grid code can be determined for any point in the predetermined area.

[0145] S130: Divide the points in the predetermined area having the same longitude code and latitude code into the same geographic grid.

[0146] In S130, the predetermined area is divided into a plurality of geographic grids according to the longitude codes and latitude codes corresponding to the points in the predetermined area. Specifically, points with the same longitude code and latitude code are divided into the same geographic grid.

[0147] In each embodiment of dividing the geographic grid as described above, the continuous change of the size of the geographic grid will cause the continuous change of the geographic transformation operator, and the continuous change of the geographic transformation operator will in turn cause the continuous change of the corresponding longitude code and latitude code, so that the size of the geographic grid can be continuously adjusted when dividing the geographic grid, so that the accuracy of the business district range can be continuously adjusted when the business district is subsequently determined based on the division of the geographic grid.

[0148] Figure 2 FIG. 1 is a schematic flow chart of a method for determining a business district according to an embodiment of the present application. The exemplary method can be executed by any computing device with data computing capabilities. Figure 1 As shown, the example method includes:

[0149] S210, dividing a predetermined area into a plurality of geographical grids.

[0150] The predetermined area mentioned here is the target area for determining the business district, and its scope is as follows: Figure 1 The above is described in the embodiment shown and will not be described in detail here.

[0151] The predetermined area may be divided into a plurality of geographical grids in a variety of ways, for example, according to an existing division method, or according to the method for dividing geographical grids described in the above embodiments.

[0152] After the predetermined area is divided into a plurality of geographical grids, a business score of each geographical grid is determined in S220 - S240 .

[0153] S220: Determine a population score of each geographic grid according to the number of permanent residents and the number of visitors in each geographic grid of the plurality of geographic grids.

[0154] In S220, the population score of each geographic grid is determined. In the embodiment of the present application, when determining the population score of a geographic grid, not only the number of people visiting the geographic grid but also the number of permanent residents in the geographic grid are considered.

[0155] Figure 3 FIG. 2 is a schematic flow chart showing an exemplary specific implementation of determining the population score of a geographic grid (S220) based on the number of permanent residents and the number of visitors to the geographic grid. Figure 3 As shown, the example method includes:

[0156] S310, determining a resident population score and a visitor number score of each geographical grid according to the resident population and visitor number of each geographical grid.

[0157] The resident population of a geographic grid may refer to the population that uses a location within the geographic grid as a routine place for daily activities, for example, the population living in the geographic grid area, the population working in the geographic grid area, and so on.

[0158] The data of the resident population and the number of visitors can be obtained in many ways. For example, the number of the resident population can be obtained through preliminary statistical work, and the number of visitors can be obtained through the location information of the mobile terminal of the visitor, the reported information, etc. Among them, the number of visitors can be the number of people who visit the geographic grid within a predetermined time period (for example, one month, 10 days, three months, etc.).

[0159] According to the number of permanent residents and the number of visitors, the permanent population score and the number of visitors score of the geographic grid can be determined respectively. For example, the more permanent residents and the more visitors there are, the more prosperous the business of the geographic grid may be, so the corresponding score can be set higher.

[0160] S320: Determine a weighted sum of the resident population score and the visitor population score of each geographic grid to serve as the population score of each geographic grid.

[0161] In S320, a weighted sum of the resident population score and the visitor number score is calculated. In one example, the corresponding weights of the resident population score and the visitor number score can be determined according to actual conditions. For example, if the contribution of the resident population to the commercial prosperity of the geographic grid is greater than that of the visitor population, the weight of the resident population score can be set to be greater than the weight of the visitor number score, and vice versa.

[0162] In one example, the population score for each geographic grid can be calculated as follows:

[0163] Sp=Sc×W1 / (Sc+W1')+s3×W2 / (s3+W2')

[0164] Wherein, Sp represents the population score of each geographic grid, Sc represents the resident population score of the geographic grid, s3 represents the visitor score of the geographic grid, W1 and W2 are the corresponding preset weight values ​​of Sc and s3, respectively, and W1' and W2' are the preset correction parameters of Sc and s3, respectively. Wherein, W1+W2=1, and W1' and W2' are both positive numbers.

[0165] Figure 4 A schematic flow chart of another exemplary embodiment of determining the population score of a geographic grid based on the number of permanent residents and the number of visitors to the geographic grid (S220) is shown. In this embodiment, the permanent population is divided into a residential population and a working population, and their corresponding scores are calculated respectively. Figure 4 As shown, the example method includes:

[0166] S410, determining a resident population score, a working population score, and a visitor number score of each geographical grid according to the resident population number, the working population number, and the visitor number of each geographical grid.

[0167] The calculation principle of the resident population score, the working population score and the visitor number score may be the same as described in S310. In one example, the resident population score, the working population score and the visitor number score of each geographic grid may be determined according to the following formula:

[0168] s1=Ri / Rav,

[0169] s2=Wi / Wav,

[0170] s3=Vi / Vav,

[0171] Among them, Ri, Wi, Vi are respectively the number of residents, the number of working population and the number of visitors within a predetermined time period (for example, one month, 10 days, three months, etc.) of the geographical grid, and Rav, Wav and Vav are respectively the average number of residents, the number of working population and the number of visitors within the predetermined time period of each of the multiple geographical grids included in the predetermined area.

[0172] S420, determining a weighted sum of the resident population score, the working population score, and the visitor population score of each geographic grid to serve as the population score of each geographic grid.

[0173] Similarly, the corresponding weights of the resident population score, the working population score and the visitor population score may also be determined based on actual conditions.

[0174] In one example, the population score for each geographic grid can be determined according to the following formula:

[0175] Sp=s1×A / (s1+D)+s2×B / (s2+E)+s3×C / (s3+F),

[0176] Among them, Sp represents the population score of each geographic grid, s1, s2, and s3 represent the resident population score, working population score, and visitor number score of the geographic grid respectively, A, B, C, D, E, and F are all preset values, the values ​​of A, B, and C (i.e., the corresponding weight values ​​of the resident population score, the working population score, and the visitor number score) are between 0 and 1 and satisfy A+B+C=1, and D, E, and F (i.e., the corresponding correction parameters of the resident population score, the working population score, and the visitor number score) are all positive numbers.

[0177] Figure 3 and Figure 4The method of considering multiple population factors as shown in makes the calculation result of the population score more accurate and better reflects the real contribution of each population factor of the geographic grid to the business score of the geographic grid, thereby making the final business score of the geographic grid more accurate.

[0178] S230: Determine a score of commercial points of interest for each geographic grid according to the number of commercial points of interest in each geographic grid in the plurality of geographic grids.

[0179] In S230, a commercial point of interest score is calculated for each geographic grid. A commercial point of interest (POI) of a geographic grid may refer to a point where a commercial activity occurs or results in a commercial activity, such as a house, a shopping mall, a store, a post box, a bus stop, a community, etc.

[0180] In one example, the POI score of each geographic grid may be determined according to the total number of POIs contained in the geographic grid. For example, the greater the total number of POIs, the higher the commercialization degree of the geographic grid, and the higher the POI score.

[0181] In another example, POIs may be classified according to their different contributions to the commercial prosperity of the geographic grid. For example, common POIs such as shopping, dining, and entertainment may be classified as first-type POIs, and POIs such as cinemas, airports, and train stations that can drive or cause other POIs may be classified as special-type POIs, as second-type POIs. In this example, corresponding POI scores may be calculated according to the corresponding numbers of two or more types of POIs. Figure 5 A schematic flow chart of such an example is shown in FIG. Figure 5 As shown, the example method includes:

[0182] S510: Determine a first commercial point of interest score and a second commercial point of interest score for each geographic grid according to the number of first-type commercial points of interest and the number of second-type commercial points of interest in each geographic grid.

[0183] For example, the higher the number of POIs, the higher the score of the POI of the corresponding type. In one example, the first commercial point of interest score and the second commercial point of interest score of each geographic grid can be determined according to the following formulas:

[0184] s4=Ni / Nav,

[0185] s5=Mi / Mav,

[0186] Among them, Ni and Mi are respectively the number of first type and second type of commercial interest points of the geographic grid, and Nav and Mav are respectively the average number of first type and second type of commercial interest points of each geographic grid of the multiple geographic grids contained in the predetermined area.

[0187] S520: Determine the commercial point of interest score of each geographic grid according to the first commercial point of interest score and the second commercial point of interest score of each geographic grid.

[0188] In one example, a weighted sum of the first commercial point of interest score and the second commercial point of interest score may be calculated as the commercial point of interest score of the geographic grid.

[0189] In another example, the larger of the first commercial point of interest score and the second commercial point of interest score may be taken as the commercial point of interest score of the geographic grid. For example, the commercial point of interest score of each geographic grid may be determined according to the following formula:

[0190] Sc=max(s4 / (s4+G),s5 / (s5+H)),

[0191] Among them, Sc is the commercial interest point score of each geographic grid, s4 and s5 are the first commercial interest point score and the second commercial interest point score of the geographic grid respectively, G and H are both preset values, and H is greater than G, and max() is a function of taking the maximum value.

[0192] Through steps S220 and S230, the population score and the commercial point of interest (POI) score of each geographic grid can be obtained respectively. Afterwards, the commercial score of each geographic grid is calculated in S240.

[0193] S240, determining a commercial score for each geographic grid according to the population score and the commercial interest point score of each geographic grid.

[0194] In one example, the population score of each geographic grid may be multiplied by the commercial point of interest score to obtain the commercial score of the geographic grid.

[0195] In another example, the population score of each geographic grid may be multiplied by the commercial interest point score to obtain the original commercial score of the geographic grid, and then the normalized commercial score of the geographic grid may be determined based on the original commercial score of the geographic grid and the original commercial scores of the plurality of geographic grids included in the predetermined area to obtain the commercial score of the geographic grid. For example, the ratio of the original commercial score of the geographic grid to the highest original commercial score or the average original commercial score of the geographic grids included in the predetermined area may be calculated as the normalized commercial score of the geographic grid.

[0196] Through S220 - S240 , a business score may be determined for each geographic grid within a predetermined area.

[0197] S250: Determine a first-level business district in the predetermined area according to the business scores of the plurality of geographic grids.

[0198] In S250, the geographical scope of the first-level business district is determined according to the business score of each geographic grid. In one example, a first predetermined threshold of the business score can be pre-set to filter out geographic grids with a business score less than the first predetermined threshold, and one or more geographic grids with a business score greater than the first predetermined threshold are used as candidate geographic grids for determining the business district. In one example, one or more geographic grid sets can be determined from the candidate geographic grids, and each geographic grid set is used as a business district of the first level, wherein in each geographic grid set, the geographic grids contained in the geographic grid set are connected together and are not connected to other geographic grids outside the geographic grid set.

[0199] Figure 6 An exemplary embodiment of how to determine a set of geographic grids as a business district from candidate geographic grids is shown. Figure 6 As shown, the example process includes:

[0200] S610, initialization step: determining the geographic grid code of each geographic grid in the candidate geographic grid as the business district identifier of the geographic grid, and using the business score of each geographic grid as the business district score of the geographic grid.

[0201] Regarding how to determine the geographic grid code of each geographic grid, reference may be made to the above description. For example, “longitude code_latitude code” may be used as the geographic grid code.

[0202] S620, fusion step: for each geographic grid in the candidate geographic grids, determine the geographic grid with the highest business district score among the geographic grid and the geographic grids adjacent to the geographic grid, and set the business district identifier and business district score of the geographic grid to the business district identifier and business district score of the geographic grid with the highest business district score respectively.

[0203] Each geographic grid may have at most eight adjacent geographic grids. In S620, each geographic grid may be merged with the geographic grid with the highest business district score among its adjacent geographic grids (ie, the business district identifiers and business district scores are set to be the same).

[0204] S630, repeating step: repeating the fusion step a predetermined number of times.

[0205] The fusion step in S620 may be repeated for a predetermined number of times to obtain as exhaustive fusion as possible. The corresponding predetermined number of times may be pre-set based on the size of the predetermined area of ​​the business district to be determined, based on experience or experiments, so as to exhaust all possible fusions.

[0206] S640, determining step: after the repeating step, determining the geographic grids with the same business district identifier in the candidate geographic grids as one of the geographic grid sets.

[0207] Through S640, the connected geographic grids in the candidate geographic grids can be determined as a geographic grid set as a first-level business district, and the sum of the geographic ranges of all geographic grids in the geographic grid set is the geographic range of the business district. Through S610-640, one or more business districts can be determined from the candidate geographic grids.

[0208] Below Figure 7 The example candidate geographic grid in Figure 6 The example process in is described in detail.

[0209] like Figure 7 As shown in FIG. 1 , S1 shows the candidate geographic grids G1-G6 after the initialization step in S610. The candidate geographic grids include 6, whose business district identifiers (IDs) are id1, ..., id6, and whose business district scores (S) are as follows: Figure 7 As shown in S1.

[0210] S2 shows the candidate geographic grids after the fusion step of S620. As shown in S2, the business district score of geographic grid G1 is the highest among the business district scores of the geographic grid and its adjacent geographic grid (G2), so the business district score S of G1 remains at 0.9, and the initial business district score of G2 (0.8) becomes the largest one among the business district scores of the geographic grid G2 and its adjacent geographic grids G1 and G3 after S620 (i.e., the business district score of G1 is 0.9), and the initial business district score of G3 (0.3) becomes the largest one among the business district scores of the geographic grid G3 and its adjacent geographic grid G2 after S620 (i.e., the business district score of G2 is 0.8). Correspondingly, the business district identifiers of G1-G3 are also respectively changed to the business district identifiers of the corresponding geographic grids with the highest business district scores. Similarly, the business district scores and business district identifiers of G4-G6 are respectively changed to those shown in S2.

[0211] It can be seen from S2 that after S620, G4-G6 have been fully integrated into a business district with the same business district identifier (id5) and business district score (0.8). However, G1-G3 can be further integrated, so step S630 is entered.

[0212] S3 shows the candidate geographic grid after the repetition of step S630. As shown in S3, after S630, G1-G3 are further integrated, that is, the business district score and business district identifier of G3 become the higher business district score (0.9) and business district identifier (id1) of the geographic grid adjacent to it.

[0213] It can be seen from S3 that after S620 is repeated once, the six candidate geographic grids are fully integrated. In an ideal case, the number of repetitions at this time has reached the predetermined number of repetitions, so the process proceeds to step S640.

[0214] S4 shows a schematic diagram of the geographical scope of the business district obtained after the determination step S640. As shown in S4, G1-G3 form a set of connected geographical grids as business district 1, that is, the geographical scope of business district 1 is the sum of the geographical scopes of G1-G3; G4-G6 form another set of connected geographical grids as business district 2, that is, the geographical scope of business district 2 is the sum of the geographical scopes of G4-G6.

[0215] Depend on Figure 7 It can be seen from S4 that after S610-S640, based on Figure 7 The candidate geographic grid example in has two business districts 1 and 2 at the same level (the business district identifiers are id1 and id2 respectively), which are called the first-level business districts.

[0216] In an exemplary embodiment of the present application, according to the commercial district determination method of the embodiment of the present application, multi-level commercial districts can be determined. For example, after multiple first-level commercial districts are determined according to the above-mentioned embodiments, the second-level or even higher-level commercial districts can be further determined. Figure 8 FIG. 1 is a schematic flow chart showing an exemplary implementation of further mining multiple business districts at the first level to determine a business district at the second level. Figure 8 As shown, the example process includes:

[0217] S810, determining the correlation between each business district of the first level and other business districts of the first level.

[0218] For example, assuming there are seven first-level business districts id1-id7, the correlation between every two business districts is determined in S810.

[0219] In one example, the correlation between the two business districts can be determined based on the number of people who have visited the two business districts at the same time. For example, the ratio of the number of people who have visited the two business districts at the same time to the total number of people who have visited the two business districts is calculated as the correlation between the two business districts.

[0220] S820: Two business districts in the first level of business districts whose correlation is higher than a second predetermined threshold are taken as a combined business district, wherein each of the two business districts is referred to as a member business district of the combined business district.

[0221] According to the correlation calculated in S810, a group of business districts with correlation higher than the second predetermined threshold may be selected in S820. For example, assume that in S820, five groups of business districts with correlation higher than the second predetermined threshold are determined: (id1, id2), (id2, id3), (id3, id5), (id4, id7), and (id6, id7).

[0222] S830: Combine the combined business districts with one or more identical member business districts to form a second-level business district.

[0223] In the above five groups of business districts, it can be seen that the first business district group and the second business district group have the same member business district id2, the second business district group and the third business district group have the same member business district id3, and the fourth business district group and the fifth business district group have the same member business district id7. Therefore, at S830, the first, second and third business district groups can be merged together as a business district of the second level, and the fourth and fifth business district groups can be merged together as another business district of the second level.

[0224] It can be seen that one or more business districts of the second level can be obtained through S810-S830. It is understandable that the multiple business districts of the second level can be further mined according to steps similar to S810-S830 to obtain multiple business districts of the third level, and so on, business districts of higher levels can be mined, which will not be repeated here.

[0225] Through the various embodiments of the business district determination method described above, the results of determining the multi-level business district can be provided, thereby better meeting the operational needs of real businesses for the multi-level business district.

[0226] It should be particularly emphasized that this application involves data collection (such as regional demographics, transaction statistics, etc.). When applying the various embodiments in this application to specific products or technologies, data collection can only be carried out after obtaining the permission or consent of the relevant users (such as user authorization trajectory information, merchant authorization transaction information, etc.), and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0227] According to another aspect of the embodiments of the present application, a device for dividing a geographic grid is also provided, which is used to execute the various embodiments of the method for dividing a geographic grid as described above. Fig. 9A schematic block diagram of the composition of such an apparatus 900 for dividing a geographic grid according to an embodiment of the present application is shown.

[0228] like Fig. 9 As shown, the device 900 includes:

[0229] A transformation operator determination unit 910, which is configured to: determine a geographic transformation operator according to the size of the geographic grid to be divided and a predetermined relationship between the size of the geographic grid and the geographic transformation operator;

[0230] A code determination unit 920 is configured to: perform predetermined mathematical operations on the longitude and latitude of a point within a predetermined area and the geographic transformation operator to respectively determine the longitude code and latitude code corresponding to the point, wherein the predetermined relationship and the predetermined mathematical operation enable the longitude code and latitude code corresponding to the point within the predetermined area to continuously change with the continuous change of the size of the geographic grid;

[0231] The division unit 930 is configured to divide the points with the same longitude code and latitude code in the predetermined area into the same geographic grid.

[0232] For details on the processing performed by the various components of the device 900, please refer to the various embodiments of the positioning method described above, which will not be repeated here.

[0233] According to another aspect of the embodiments of the present application, a business district determination device is also provided, which is used to execute the various business district determination method embodiments described above. Fig.10 FIG. 1 shows a schematic block diagram of a commercial district determination device 1000 according to an embodiment of the present application. Fig.10 As shown, the commercial district determination device 1000 includes:

[0234] A division unit 1010 is configured to: divide a predetermined area into a plurality of geographical grids;

[0235] A population scoring unit 1020, configured to: determine a population score for each geographic grid according to the number of resident population and the number of visitors in each geographic grid of the plurality of geographic grids;

[0236] The point of interest scoring unit 1030 is configured to: determine a commercial point of interest score for each geographic grid according to the number of commercial points of interest in each geographic grid in the plurality of geographic grids;

[0237] A business score unit 1040 is configured to: determine a business score for each geographic grid according to the population score and the business interest point score of each geographic grid;

[0238] The business district determining unit 1050 is configured to determine a first-level business district within the predetermined area according to the business scores of the plurality of geographic grids.

[0239] The implementation process and related details of the functions and effects of each unit or module in the above-mentioned devices are specifically described in the implementation process of the corresponding steps in the above-mentioned method embodiments, and will not be repeated here.

[0240] Each device embodiment in the above embodiments can be implemented by hardware, software, firmware or a combination thereof, and it can be implemented as a single device, or it can be implemented as a logical integrated system in which each component unit or module is dispersed in one or more computing devices and performs corresponding functions respectively. The units or modules constituting each device in the above embodiments are divided according to logical functions, and they can be re-divided according to logical functions, for example, the device can be implemented by more or fewer units or modules. These component units or modules can be implemented by hardware, software, firmware or a combination thereof, respectively, and they can be separate independent components, or they can be integrated units or modules in which multiple components are combined to perform corresponding logical functions. The hardware, software, firmware or a combination thereof may include: separate hardware components, functional modules implemented by programming, functional modules implemented by programmable logic devices, etc., or a combination of the above.

[0241] According to an exemplary embodiment, each of the above-mentioned apparatus embodiments may be implemented as a computing device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the computing device executes any embodiment of the method for dividing a geographic grid or the method for determining a business district as described above or the processing performed by the apparatus embodiments, or, when the computer program is executed by the processor, the computing device implements the functions implemented by the constituent units or modules of the apparatus embodiments as described above.

[0242] The processor described in the above embodiments may refer to a single processing unit, such as a central processing unit CPU, or may refer to a distributed processor system including multiple dispersed processing units or processors.

[0243] The memory described in the above embodiments may include one or more memories, which may be internal memories of the computing device, such as various transient or non-transient memories, or external storage devices connected to the computing device via a memory interface.

[0244] Fig.11 A schematic block diagram of an exemplary embodiment of such a computing device 1101 is shown. Fig.11As shown, the computing device may include, but is not limited to: at least one processing unit 1110, at least one storage unit 1120, and a bus 1130 connecting different system components (including the storage unit 1120 and the processing unit 1110).

[0245] The storage unit stores program codes, which can be executed by the processing unit 1110, so that the processing unit 1110 performs the steps according to various exemplary embodiments of the present application described in the description section of the exemplary method described above in this specification. For example, the processing unit 1110 can perform the various steps shown in the accompanying drawings.

[0246] The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 1121 and / or a cache memory unit 1122 , and may further include a read-only memory unit (ROM) 1123 .

[0247] The storage unit 1120 may also include a program or utility 1124 having a set (at least one) of program modules 1125, such program modules 1125 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0248] Bus 1130 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0249] The computing device may also communicate with one or more external devices 1170 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may communicate with one or more devices that enable a user to interact with the computing device, and / or may communicate with any device that enables the computing device to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1150. In one embodiment, the computing device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1160. As shown, the network adapter 1160 communicates with other modules of the computing device via a bus 1130. It should be understood that, although not shown in the figure, the computing device may be implemented using other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Drives, RAID) systems, tape drives, and data backup storage systems.

[0250] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0251] In an exemplary embodiment of the present application, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes each method embodiment described in the above method embodiment section.

[0252] According to one embodiment of the present application, a program product for implementing the method in the above method embodiment is also provided, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the embodiment of the present application is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0253] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0254] Computer readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a readable computer program. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0255] The computer program contained in the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.

[0256] The program code for performing the operation of the embodiment of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages-such as Java, C++, etc., and also including conventional procedural programming languages-such as C or similar programming languages. The program code can be executed completely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device, partially on the remote computing device, or completely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0257] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the embodiments of the present application, which follows the general principles of the embodiments of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and embodiments are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.

Claims

1. A method for determining a business district, characterized in that: include: dividing the predetermined area into a plurality of geographic grids; The division process includes: determining a geographic transformation operator according to the size of the geographic grid to be divided and a predetermined relationship between the size of the geographic grid and the geographic transformation operator; performing predetermined mathematical operations on the longitude and latitude of points in a predetermined area and the geographic transformation operator to respectively determine the longitude code and latitude code corresponding to the point, and dividing the points in the predetermined area with the same longitude code and latitude code into the same geographic grid; Determine a population score for each geographic grid according to the number of resident population and the number of visitors in each geographic grid of the plurality of geographic grids; Determining a commercial point of interest score for each geographic grid according to the number of commercial points of interest in each geographic grid in the plurality of geographic grids; the commercial point of interest is a point in the predetermined area where commercial activities occur or lead to commercial activities; Determine a business score for each geographic grid based on the population score and the business interest point score of each geographic grid; Determine one or more geographic grids having a business score greater than a first predetermined threshold among the plurality of geographic grids as candidate geographic grids; Determine one or more geographic grid sets from the candidate geographic grids, wherein the process includes: Initialization step: determining the geographic grid code of each geographic grid in the candidate geographic grid as the business district identifier of the geographic grid, and using the business score of each geographic grid as the business district score of the geographic grid; fusion step: for each geographic grid in the candidate geographic grid, determining the geographic grid with the highest business district score among the geographic grid and the geographic grids adjacent to the geographic grid, and setting the business district identifier and business district score of the geographic grid to the business district identifier and business district score of the geographic grid with the highest business district score respectively; repetition step: repeating the fusion step for a predetermined number of times; determination step: after the repetition step, determining the geographic grids in the candidate geographic grids with the same business district identifier as one of the geographic grid sets; Each geographic grid set is regarded as a first-level business district, wherein in each geographic grid set, the geographic grids contained in the geographic grid set are connected together and are not connected to other geographic grids outside the geographic grid set.

2. The method according to claim 1, characterized in that Determining the population score of each geographic grid according to the number of resident population and the number of visitors of each geographic grid in the plurality of geographic grids comprises: According to the number of resident population and number of visitors in each geographical grid, the resident population score and the number of visitors score of each geographical grid are determined respectively; Determine the weighted sum of the resident population score and the visitor population score for each geographic grid as the population score for each geographic grid.

3. The method according to claim 1, characterized in that The number of permanent residents in each geographic grid includes the number of residents and the number of working residents in each geographic grid. According to the number of permanent residents and the number of visitors in each of the plurality of geographic grids, determining the population score of each geographic grid includes: According to the number of residents, working population and visitors in each geographical grid, the resident population score, working population score and visitor number score of each geographical grid are determined respectively; Determine the weighted sum of the resident population score, working population score, and visitor population score for each geographic grid as the population score for each geographic grid.

4. The method according to claim 3, characterized in that Determine the weighted sum of the residential population score, working population score, and visitor population score for each geographic grid to obtain the population score for each geographic grid, including: The population score for each geographic grid is determined according to the following formula: Sp=s1×A / (s1+D)+s2×B / (s2+E)+s3×C / (s3+F), Among them, Sp represents the population score of each geographic grid, s1, s2, and s3 represent the resident population score, working population score, and visitor population score of the geographic grid respectively, A, B, C, D, E, and F are all preset values, the values ​​of A, B, and C are between 0 and 1 and satisfy A+B+C=1, and D, E, and F are all positive numbers.

5. The method according to claim 1, characterized in that The commercial points of interest include first-type commercial points of interest and second-type commercial points of interest, wherein, according to the number of commercial points of interest in each of the plurality of geographic grids, determining a score of the commercial points of interest in each geographic grid comprises: Determine a first commercial point of interest score and a second commercial point of interest score for each geographic grid according to the number of commercial points of interest of the first type and the number of commercial points of interest of the second type in each geographic grid; The commercial point of interest score of each geographic grid is determined based on the first commercial point of interest score and the second commercial point of interest score of each geographic grid.

6. The method according to claim 5, characterized in that Determining the commercial point of interest score of each geographic grid according to the first commercial point of interest score and the second commercial point of interest score of each geographic grid includes: The commercial point of interest score for each geographic grid is determined according to the following formula: Sc=max(s4 / (s4+G),s5 / (s5+H)), Among them, Sc is the commercial interest point score of each geographic grid, s4 and s5 are the first commercial interest point score and the second commercial interest point score of the geographic grid respectively, G and H are both preset values, and H is greater than G, and max() is a function of taking the maximum value.

7. The method according to any one of claims 1 to 6, characterized in that Also includes: Determine the relevance of each business district in the first level to other business districts in the first level; Two business districts in the first level of business districts with a correlation higher than a second predetermined threshold are used as a combined business district, wherein each of the two business districts is called a member business district of the combined business district; Combined business districts with one or more identical member business districts are integrated together as the second-level business district.

8. The method according to claim 7, characterized in that Determining the relevance between each business district at the first level and other business districts at the first level includes: For the business district and each other business district, determine the ratio of the number of people who have visited the business district and the other business district at the same time to the total number of people who have visited the business district and the other business district as the correlation between the business district and the other business district.

9. A device for determining a business district, characterized in that: include: A division unit configured to: divide a predetermined area into a plurality of geographical grids; The division process includes: determining a geographic transformation operator according to the size of the geographic grid to be divided and a predetermined relationship between the size of the geographic grid and the geographic transformation operator; performing predetermined mathematical operations on the longitude and latitude of points in a predetermined area and the geographic transformation operator to respectively determine the longitude code and latitude code corresponding to the point, and dividing the points in the predetermined area with the same longitude code and latitude code into the same geographic grid; A population scoring unit, configured to: determine a population score for each geographical grid according to the number of resident population and the number of visitors in each geographical grid of the plurality of geographical grids; A point of interest scoring unit, configured to: determine a commercial point of interest score for each geographic grid according to the number of commercial points of interest in each geographic grid in the plurality of geographic grids; the commercial point of interest is a point in the predetermined area where commercial activities occur or lead to commercial activities; A business scoring unit, configured to: determine a business score for each geographic grid according to a population score and a business interest point score of each geographic grid; A business district determining unit is configured to: determine one or more geographic grids having a business score greater than a first predetermined threshold among the plurality of geographic grids as candidate geographic grids; Determine one or more geographic grid sets from the candidate geographic grids, wherein the process includes: Initialization step: determining the geographic grid code of each geographic grid in the candidate geographic grid as the business district identifier of the geographic grid, and using the business score of each geographic grid as the business district score of the geographic grid; fusion step: for each geographic grid in the candidate geographic grid, determining the geographic grid with the highest business district score among the geographic grid and the geographic grids adjacent to the geographic grid, and setting the business district identifier and business district score of the geographic grid to the business district identifier and business district score of the geographic grid with the highest business district score respectively; repetition step: repeating the fusion step for a predetermined number of times; determination step: after the repetition step, determining the geographic grids in the candidate geographic grids with the same business district identifier as one of the geographic grid sets; Each geographic grid set is regarded as a first-level business district, wherein in each geographic grid set, the geographic grids contained in the geographic grid set are connected together and are not connected to other geographic grids outside the geographic grid set.

10. A computing device, comprising a processor and a memory, wherein a computer program is stored in the memory, and when the processor executes the computer program in the memory, the processor is configured to implement the method according to any one of claims 1 to 8.