Method and device for obtaining community links based on location information
By expanding the community area, the problem that the user community division area is smaller than the reachable scope of the order purchase business is solved, and more users' community joining is achieved, and the order buying efficiency is improved.
Patent Information
- Application Number
- CN202210099556.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-27
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2042-01-27
AI Technical Summary
现有技术中,用户社群划分的区域范围小于社群拼单购业务可达范围,导致大量潜在社群拼单用户流失。
By obtaining the location information of the target user, expand the original area to generate the extension area. The area of the extension area is larger than the original area, and displays the regional community links corresponding to the extension area, and determine the extension area using preset expansion strategies and business quality scores.
It has realized the introduction of more users into the community, solved the problem of user loss caused by the regional division of user community groups that is smaller than the reach of the community order purchase business, and improved the efficiency of users joining the community.
Smart Images

Figure CN114528485B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular, to a method and device for obtaining community links based on location information. Background Art
[0002] In the prior art, guiding users with similar geographical locations to the same community with geographical scope attributes can facilitate in-group users to form group purchases and other business operations with other nearby users, thereby improving the efficiency of commodity distribution and the sales volume of commodities.
[0003] Guiding users to a community with geographical scope attributes can be abstracted as a process of a point falling on a surface. The "point" is the longitude and latitude where the user is located, and the "surface" is a geographical area range with a high density of user aggregation corresponding to each community (similar to the delivery range of a merchant). When the "point" where the user is located is within the range of the "surface" corresponding to the group, the community is displayed to the user and the user is guided to join the community.
[0004] The delivery range of a merchant is generally marked by each merchant, and the marking workload is small; while the range for joining a community is for users. If a large number of communities are marked manually, the cost will be extremely high.
[0005] Based on the above background, the technical solution of the prior art is to create communities with AOIs (Areas of Interests) as units. The geographical area range of each community completely coincides with the range of the corresponding AOI. When a user clicks on the community entry point, based on the user's real-time longitude and latitude, the AOI basic service is used to determine which AOI range the user is in, and then the community QR code corresponding to the AOI is recommended to the user to guide the user to join the group for group purchase.
[0006] In the prior art, in the scenario of community group purchase business, the AOI range under the AOI basic service is generally smaller than the range within which group purchase users can jointly conduct group purchases, resulting in potential community group purchase users outside the AOI boundary being unable to be guided into the community, that is, a large number of potential community group purchase users are lost.
[0007] It can be seen that in the related art, no effective solution has been proposed for the above problems. Summary of the Invention
[0008] The embodiments of the present invention provide a method and device for obtaining community links based on location information, so as to at least solve the technical problem that a large number of potential community group purchase users are lost because the regional range of user community division in the related art is smaller than the reachable range of the community group purchase business.
[0009] According to one aspect of an embodiment of the present invention, there is provided a method for obtaining community links based on location information, including: obtaining an extended area corresponding to the location information of a target user, where the extended area is obtained by extending the original area corresponding to the location information, and the area of the extended area is larger than that of the original area; displaying community links of a regional community corresponding to the extended area.
[0010] Further, before obtaining the extended area corresponding to the location information of the target user, it further includes: determining an accessible area and an extended area range according to the original area, where the accessible area includes a plurality of sampling units; determining the extended area within the accessible area according to the service quality score corresponding to the sampling unit and the extended area range.
[0011] Further, determining the accessible area and the extended area range according to the original area includes: determining the side length of the accessible area according to the side length of the original area and a preset extension strategy; determining the extended area range according to the original area and the accessible area.
[0012] Further, determining the extended area within the accessible area according to the service quality score corresponding to the sampling unit and the extended area range includes: sequentially traversing within the accessible area according to the extended area range; determining the area corresponding to the maximum value of the service quality scores corresponding to the sampling units within the extended area range as the extended area.
[0013] Further, determining the area corresponding to the maximum value of the sum of the service quality scores corresponding to the sampling units within the extended area range as the extended area includes: determining an auxiliary area corresponding to the extended area range according to the accessible area and the extended area range; determining the extended area according to the sum of the service quality scores corresponding to the sampling units in the auxiliary area.
[0014] According to another aspect of an embodiment of the present invention, there is also provided a device for obtaining community links based on location information, including: obtaining an extended area corresponding to the location information of a target user, where the extended area is obtained by extending the original area corresponding to the location information, and the area of the extended area is larger than that of the original area; displaying community links of a regional community corresponding to the extended area.
[0015] Further, before obtaining the extended area corresponding to the location information of the target user, it further includes: determining an accessible area and an extended area range according to the original area, where the accessible area includes a plurality of sampling units; determining the extended area within the accessible area according to the service quality score corresponding to the sampling unit and the extended area range.
[0016] Further, determining the reachable area and the extended area range according to the original area includes: determining the side length of the reachable area according to the side length of the original area and a preset extension strategy; determining the extended area range according to the original area and the reachable area.
[0017] Further, determining the extended area within the reachable area according to the service quality score corresponding to the sampling unit and the extended area range includes: sequentially traversing within the reachable area according to the extended area range; determining the area corresponding to the maximum value of the service quality scores corresponding to the sampling units within the extended area range as the extended area.
[0018] Further, determining the area corresponding to the maximum value of the sum of the service quality scores corresponding to the sampling units within the extended area range as the extended area includes: determining an auxiliary area corresponding to the extended area range according to the reachable area and the extended area range; determining the extended area according to the sum of the service quality scores corresponding to the sampling units in the auxiliary area.
[0019] According to another aspect of the embodiments of the present invention, an electronic device is further provided, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method for obtaining community links based on location information as described above are implemented.
[0020] According to another aspect of the embodiments of the present invention, a readable storage medium is further provided. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, the steps of the method for obtaining community links based on location information as described above are implemented.
[0021] In the embodiments of the present invention, by obtaining the interest area corresponding to the location information of the target user, where the interest area is extended from the original area corresponding to the location information, and the area of the interest area is larger than the original area; presenting the community link of the area community corresponding to the interest area. The purpose of expanding the original area where the target users originally gathered geographically is achieved, thereby realizing the technical effect that more users near the original area can join the community, and further solving the technical problem that a large number of potential community group-buying users are lost because the area range of user community division in the related technology is smaller than the reachable range of the community group-buying business. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention. In the drawings:
[0023] Figure 1 is a schematic flowchart of an optional method for obtaining community links based on location information according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of an optional extended area range according to an embodiment of the present invention;
[0025] Figure 3 is a schematic diagram of an optional extended area according to an embodiment of the present invention;
[0026] Figure 4 is a schematic diagram of a sampling unit in an optional extended area according to an embodiment of the present invention;
[0027] Figure 5 is a schematic structural diagram of an optional device for obtaining community links based on location information according to an embodiment of the present invention. Detailed implementation manners
[0028] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily need to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0030] Embodiment 1
[0031] According to an embodiment of the present invention, a method for obtaining community links based on location information is provided. As Figure 1 shown, the method includes:
[0032] S102, obtaining an extended area corresponding to the location information of the target user, where the extended area is obtained by expanding the original area corresponding to the location information, and the area of the extended area is larger than the original area;
[0033] In this embodiment, the location information of the target user can be the location information input by the user, or can be obtained by positioning the target user terminal. By obtaining the longitude and latitude information of the target terminal, the original area where the target user is located is determined. In addition, the original area corresponding to the location information of the target user is area information such as the building, community, street, and urban area where the target user is located.
[0034] In one example, the user terminal of the target user is a mobile phone. The community location where the target user is located is determined according to the mobile phone of the target user, and then the original area of the target user is determined by determining the community location of the target user.
[0035] In this embodiment, each extended area corresponds to one or more area communities. The extended area is an area obtained by expanding the boundary of the original area (AOI, Area of Interests). The area range of the extended area is larger than the area range of the original area, so as to add more users around the original area to the range of the extended area, making the extended area a high-density user aggregation area, and thus ensuring that the area corresponding to the area community is a high-density user aggregation area.
[0036] In this embodiment, the division granularity of the area can be set according to actual service requirements, and no limitation is made in this embodiment.
[0037] In this embodiment, after receiving the specified operation or community joining request of the target user, the user terminal of the target user is positioned to obtain the location information of the target user, and then according to the location information of the target user, the extended area where the location information of the target user falls is determined.
[0038] Optionally, in this embodiment, before obtaining the extended area corresponding to the location information of the target user, it further includes but is not limited to: determining the reachable area and the extended area range according to the original area, where the reachable area includes multiple sampling units; determining the extended area within the reachable area according to the service quality score corresponding to the sampling unit and the extended area range.
[0039] In this embodiment, the extended areas corresponding to each original area such as buildings, communities, and streets are pre-divided. Before implementing the technical solution of the embodiment, the boundary of the original area is expanded in advance to obtain the extended area corresponding to the original area.
[0040] Specifically, the reachable area and the area of interest range are first determined based on the original area. In this embodiment, the reachable area is the area that the merchant's business can support. For example, in the takeaway business, it is the area where the merchant can perform takeaway deliveries. The extended area range is the range of the extended area set by the merchant according to actual needs. The area of the extended area range is larger than the original area and smaller than the reachable area.
[0041] In this embodiment, the reachable area and the extended area range are determined based on the area range set by the merchant and the original area. The reachable area is divided into multiple sampling units. By counting the business quality scores of each sampling unit in the reachable area, the business status of the merchant in the reachable area can be determined, and then the extended area can be determined according to the business status of the merchant in the reachable area.
[0042] Specifically, the reachable area is divided into sampling units, the geographical location coordinates and the center point coordinates of each sampling unit are recorded. The center point coordinates of the sampling unit are used as the sampling points of the sampling unit, and the business quality score corresponding to the sampling point is used as the business quality score of the sampling unit. When the area of each sampling unit is small, the business performance of the entire sampling unit can be approximated as the business performance of a single sampling point. For example, the average value of the business quality scores of the entire sampling unit is regarded as the business quality score of a single sampling point.
[0043] Optionally, in this embodiment, determining the reachable area and the extended area range based on the original area includes, but is not limited to: determining the side length of the reachable area according to the side length of the original area and a preset extension strategy; determining the extended area range according to the original area and the reachable area.
[0044] Specifically, after obtaining and processing the basic data, that is, the AOI original boundary provided by the AOI basic service, first calculate the longitude and latitude lengths of the AOI extended boundary according to the extension strategy corresponding to the AOI community. The selection of the preset extension strategy is set when the community is created. The preset extension strategy includes, but is not limited to: absolute distance extension, proportional extension, and complementary extension of the business distance range. The longitude and latitude lengths of the extended boundaries generated by different extension strategies are different.
[0045] In one example, as Figure 2 shown, the irregular figure 200 in the center represents the original area of the AOI corresponding to the community, the inner rectangle represents the circumscribed rectangle area range of the AOI original area range, x0 represents the latitude length, and y0 represents the longitude length; the outer rectangle 210 represents the AOI extended area range, x represents the latitude length, and y represents the longitude length. For the three different extension strategies, the calculation methods of the boundary lengths of the AOI extended area are as follows:
[0046] For absolute distance extension, x = x0 + d, y = y0 + d, where d is the extension distance.
[0047] For proportional expansion, x = x0(1 + δ), y = y0(1 + δ), where δ is a preset expansion ratio coefficient.
[0048] For complementary expansion of the service distance range where D is the maximum distance within which the service can be carried out. For this expansion mode, when the range of the original AOI area has exceeded the maximum distance supported by the service, the circumscribed rectangular area range of the AOI expansion area coincides with the range of the AOI original area. It should be noted that the service can be a combined purchase service, and the service distance is the distance between two users of the combined purchase. In this embodiment, by limiting the service distance range D, the density between users in the expansion area can be limited.
[0049] In the above manner, the side length of the reachable area is determined according to the side length of the original area and the preset expansion strategy; the expansion area range is determined according to the original area and the reachable area
[0050] Optionally, in this embodiment, according to the service quality score corresponding to the sampling unit and the expansion area range, the expansion area is determined within the reachable area, including but not limited to: sequentially traversing within the reachable area according to the expansion area range; determining the area corresponding to the maximum value of the sum of the service quality scores corresponding to the sampling units within the expansion area range as the expansion area.
[0051] Specifically, after determining the longitude and latitude lengths of the AOI expansion boundary, in order to ensure that the AOI original area is completely included in the AOI expansion area, in combination with the actual business scenario, the most suitable position is selected to place the AOI expansion area.
[0052] In an example, as Figure 3 shown, the gray area 300 is the expansion area, and the outer dotted rectangle of the expansion area 300 is the reachable area range of the expansion area 300, that is, the reachable area 310. With the position of the AOI original area 302 unchanged, according to the above constraints, the expansion area 300 can gradually move from the bottom left corner of the reachable area 310 in the left figure to the high-latitude and high-longitude positions until it moves to the top right corner of the reachable area 310 in the right figure. During the movement process, there is a position where the service performance is the best, and the area in this position is used as the expansion area.
[0053] Next, in order to measure the service performance of the expansion area, the AOI expansion area is divided into several small square areas, and each area is called a sampling unit.
[0054] In an example, as Figure 4As shown, each square area corresponds to a sampling unit. x’ represents the latitude length of the reachable area, and y’ represents the longitude length of the reachable area. The side length of the sampling unit is l, which represents the fineness of the division of the reachable area. From the above, the total number of sampling units within the reachable area is Within the AOI extended area, the total number of sampling units is
[0055] After dividing the sampling units, record the geographical location coordinates and the coordinates of the center point of each sampling unit, and use the coordinates of the center point of the sampling unit as the sampling point of the sampling unit. When the area of each sampling unit is small, the business performance of the entire sampling unit can be approximated as the business performance of the single sampling point.
[0056] For the sampling points in the sampling units, according to three types of business indicators such as "historical order quantity of users", "number of nearby deliverable stores", and "coincidence degree of deliverable stores", the formula for defining the order consolidation quality score of the sampling points is as follows:
[0057]
[0058] Among them, BS i (Bargain Score) represents the business quality score of sampling point i, A i represents the normalized historical order quantity of users of sampling point i, B i represents the normalized number of nearby deliverable stores of sampling point i, C i represents the normalized coincidence degree of deliverable stores of sampling point i, α represents the historical order weight coefficient, β represents the deliverable store weight coefficient, and γ represents the store coincidence degree weight coefficient. Among them, A i 、B i 、C i can be obtained by querying in the database of the relevant platform (for example, querying after inputting the longitude and latitude coordinates of the sampling point in the database of the relevant platform), and α, β, and γ can be flexibly adjusted according to the degree of emphasis on the corresponding business benefits of the three types of business indicators. The historical order quantity of users is positively correlated with the order quantity within the community. In the order consolidation business scenario, the number of nearby relevant business deliverable stores is positively correlated with the number of order consolidable stores within the community, and the coincidence degree of deliverable stores is positively correlated with the order consolidation success rate within the community. In an example, the reference values are α = 0.5, β = 0.25, and γ = 0.25.
[0059] For a certain AOI extended area, traverse all sampling points within the reachable area, calculate the business quality score and cache it. The time complexity and space complexity are both
[0060] Next, when moving the AOI extended area from the upper leftmost corner to the upper rightmost corner, each position will be covered The sum of the service quality scores of all sampling units covered by the AOI extension area is calculated as the sum of the service quality scores of the current AOI extension area. The coordinates of the sampling unit at the bottom left corner of the reachable area are defined as (1,1) and the coordinates of the sampling unit at the top right corner are defined as For the AOI extension area moved to a certain position, the sum of its service quality scores is calculated as follows:
[0061]
[0062] Among them, SBS(x b ,y b )(Sum Bargain Score) represents the sampling unit coordinates of the lower left corner of the expansion area (x b ,y b ) is the sum of the service quality scores. b ,y b )=(1,1), the AOI extension area is located at the lower left corner of the accessible area. When , the AOI extension area is located at the upper right corner of the accessible area. (x n ,y n ) represents the coordinates of any sampling unit in the AOI extension area, BS(x n ,y n ) represents the service quality score of the sampling unit. From the above formula, it can be seen that the optional positions of a certain AOI extension area are species, corresponding The sum of the service quality scores is then used, and then the AOI extension area with the largest sum of service quality scores is found through a search algorithm.
[0063] Through the above example, the reachable area is traversed in sequence according to the extended area range; the area corresponding to the maximum value of the sum of the business quality scores corresponding to the sampling units within the extended area is determined as the extended area, which realizes the consideration of business factors in the process of expanding the original area, and maximizes the average order volume per user in the community, the number of delivery stores within the community, etc.
[0064] Optionally, in this embodiment, the area corresponding to the maximum value of the sum of the service quality scores corresponding to the sampling units within the extended area is determined as the extended area, including but not limited to: determining the auxiliary area corresponding to the extended area based on the reachable area and the extended area; determining the extended area based on the sum of the service quality scores corresponding to the sampling units in the auxiliary area.
[0065] Specifically, in order to simplify the calculation process of the extended area, in this embodiment, the calculation complexity of the sum of the service quality scores of the extended area is reduced by determining the auxiliary area.
[0066] First, for a rectangular area in the reachable area, if the coordinates of the sampling unit at its bottom leftmost corner are (1, 1), then this rectangular area is called an auxiliary area. According to the coordinates (x r , y r ) of the sampling unit at the top rightmost corner of the auxiliary area, the sum of the service quality scores of all sampling units within this rectangular area is defined as the auxiliary service quality score ABS(x r , y r ) (Assist Bargain Score) of this rectangular area, that is:
[0067]
[0068] It can be seen that for a certain reachable area, there are auxiliary areas and corresponding auxiliary service quality scores in total. According to the service quality scores of all the sampled points cached above, through row-by-row traversal and column-by-column traversal, the auxiliary service quality scores of all auxiliary areas are calculated and cached. Both the time complexity and the space complexity are
[0069] Next, after the auxiliary data is constructed, for any optional AOI extended area within the reachable area, the sum of its service quality scores SBS(x b , y b ) can be quickly calculated by means of the auxiliary service quality scores of the existing relevant auxiliary areas. The formula is as follows:
[0070]
[0071] Through row-by-row traversal and column-by-column traversal, the AOI extended area corresponding to the maximum sum of service quality scores can be calculated and searched. The time complexity is If the above algorithm is not used and the exhaustive method is adopted to search for the maximum sum of service quality scores, then it is necessary to calculate the sum of the service quality scores of sampling units for each AOI extended area once, and the time complexity is relatively high, which is
[0072] After the above calculations, the position with the largest sum of service quality scores is finally found as the AOI extended area with the best service performance, and its boundary is recorded for subsequent online use. Thus, the generation of the AOI extended boundary is completed. For the overall process of generating the extended boundary of a single AOI extended area, both the time complexity and the space complexity are
[0073] Through the above examples, the auxiliary area corresponding to the extended area range is determined according to the reachable area and the extended area range; the extended area is determined according to the sum of the service quality scores corresponding to the sampling units in the auxiliary area, reducing the computational complexity of the sum of the service quality scores of the extended area and the time and space complexities during the process of expanding the boundary of the extended area.
[0074] S104, display the community links of the area community corresponding to the extended area.
[0075] Specifically, in this embodiment, after the online user clicks on the community guidance entrance, the user's user terminal is quickly located by AOI to query the AOI list existing within a large spatial range centered on the user's real-time longitude and latitude; next, this part of the AOIs are traversed one by one to filter out the AOIs that are in the process of being launched, and then it is judged whether the longitude and latitude of the user's location fall within the extended area ranges of the respective AOIs, and those not within the range are excluded. The remaining extended areas of the AOIs are the AOIs with communities nearby where the user's location hits. Next, they will be sorted according to the distance from the user's location to the center points of the respective AOIs, and finally, on the page of the user terminal, the community links of the area communities corresponding to the sorted extended areas of the AOIs will be presented to the user. In this embodiment, the community links of the area community include but are not limited to string links and QR code lists, etc.
[0076] In the embodiment of the present invention, by obtaining the extended area corresponding to the location information of the target user, wherein the extended area is obtained by expanding the original area corresponding to the location information, and the area of the extended area is larger than the original area; the link of the area community corresponding to the extended area is displayed. The purpose of expanding the original area where the target users were originally aggregated in the geographical area is achieved, thus realizing the technical effect that more users near the original area can join the community, and further solving the technical problem that due to the fact that the area range divided by the user community in the related technology is smaller than the reachable range of the community group purchase business, a large number of potential community group purchase users are lost.
[0077] It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0078] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions to enable a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.
[0079] Embodiment 2
[0080] According to an embodiment of the present invention, there is also provided a location information-based community link acquisition device for implementing the above location information-based community link acquisition method, as Figure 5 shown. The device includes:
[0081] 1) An acquisition module 50, configured to acquire an extended area corresponding to the location information of a target user, where the extended area is obtained by extending the original area corresponding to the location information, and the area of the extended area is larger than the original area;
[0082] 1) A display module 52, configured to display the community link of the area community corresponding to the extended area.
[0083] Optionally, in this embodiment, it further includes:
[0084] 1) A first determination module, configured to determine an accessible area and an extended area range according to the original area before acquiring the extended area corresponding to the location information of the target user, where the accessible area includes a plurality of sampling units;
[0085] 2) A second determination module, configured to determine the extended area within the accessible area according to the service quality score corresponding to the sampling unit and the extended area range.
[0086] Optionally, in this embodiment, the first determination module includes:
[0087] 1) A first determination sub-module, configured to determine the side length of the accessible area according to the side length of the original area and a preset extension strategy;
[0088] 2) A second determination sub-module, configured to determine the extended area range according to the original area and the accessible area.
[0089] Optionally, in this embodiment, the second determination module includes:
[0090] 1) A traversal sub-module, configured to sequentially traverse in the reachable area according to the extended area range;
[0091] 2) A third determination sub-module, configured to determine the area corresponding to the maximum value of the sum of the service quality scores of the sampling units within the extended area range as the extended area.
[0092] Optionally, in this embodiment, the third determination sub-module includes:
[0093] 1) A first determination unit, configured to determine an auxiliary area corresponding to the extended area range according to the reachable area and the extended area range;
[0094] 2) A second determination unit, configured to determine the extended area according to the sum of the service quality scores of the sampling units in the auxiliary area.
[0095] In an embodiment of the present invention, by obtaining an extended area corresponding to the location information of a target user, where the extended area is obtained by expanding the original area corresponding to the location information, and the area of the extended area is larger than the original area; presenting the community link of the regional community corresponding to the extended area. The purpose of expanding the original area where the target users originally gathered geographically is achieved, thereby realizing the technical effect that more users near the original area can join the community, and further solving the technical problem that a large number of potential community group-buying users are lost because the regional scope of user community division in the related art is smaller than the reachable scope of the community group-buying business.
[0096] Embodiment 3
[0097] According to an embodiment of the present invention, there is also provided an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the community link acquisition method based on location information as described above are implemented.
[0098] Optionally, in this embodiment, the memory is set to store program codes for executing the following steps:
[0099] S1, obtaining an extended area corresponding to the location information of a target user, where the extended area is obtained by expanding the original area corresponding to the location information, and the area of the extended area is larger than the original area;
[0100] S2, presenting the community link of the regional community corresponding to the extended area.
[0101] Optionally, the specific examples in this embodiment may refer to the examples described in the above Embodiment 1, and will not be elaborated herein.
[0102] Embodiment 4
[0103] An embodiment of the present invention further provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method for obtaining community links based on location information as described above are implemented.
[0104] Optionally, in this embodiment, the readable storage medium is configured to store program code for performing the following steps:
[0105] S1, obtaining an extended area corresponding to the location information of the target user, where the extended area is obtained by expanding the original area corresponding to the location information, and the area of the extended area is larger than the original area;
[0106] S2, displaying the community links of the regional community corresponding to the extended area.
[0107] Optionally, the readable storage medium is further configured to store program code for performing the steps included in the method in Embodiment 1 above, which will not be elaborated herein.
[0108] Optionally, in this embodiment, the above-mentioned readable storage medium may include, but is not limited to: various media such as USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs that can store program code.
[0109] Optionally, the specific examples in this embodiment may refer to the examples described in Embodiment 1 above, which will not be elaborated herein.
[0110] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0111] If the integrated unit in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in the above-mentioned computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product. The computer software product is stored in the storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0112] In the above embodiments of the present invention, the descriptions of the various embodiments have their own emphases. For the parts not elaborated in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0113] In several embodiments provided by this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of units or modules can be in electrical or other forms.
[0114] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0115] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0116] The above is only the preferred embodiment of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present invention.
Claims
1. A method for obtaining community links based on location information, characterized in that, including: determining an accessible area and an extended area range according to an original area, where the accessible area includes a plurality of sampling units; determining an extended area within the accessible area according to the service quality score corresponding to the sampling unit and the extended area range; where the extended area is the area corresponding to the maximum value of the sum of the service quality scores corresponding to the sampling units within the extended area range; the service quality score is determined according to the user's historical order quantity, the number of nearby deliverable stores, and the coincidence degree of deliverable stores; obtaining the extended area corresponding to the location information of the target user, where the extended area is extended from the original area corresponding to the location information, and the area of the extended area is larger than the original area; displaying the community link of the regional community corresponding to the extended area.
2. The method according to claim 1, wherein Determining an accessible area and an extended area range according to the original area includes: determining the side length of the accessible area according to the side length of the original area and a preset extension strategy; determining the extended area range according to the original area and the accessible area.
3. The method according to claim 1, wherein Determining the extended area within the accessible area according to the service quality score corresponding to the sampling unit and the extended area range includes: sequentially traversing within the accessible area according to the extended area range; determining the area corresponding to the maximum value of the sum of the service quality scores corresponding to the sampling units within the extended area range as the extended area.
4. The method according to claim 3, wherein Determining the area corresponding to the maximum value of the sum of the service quality scores corresponding to the sampling units within the extended area range as the extended area includes: determining an auxiliary area corresponding to the extended area range according to the accessible area and the extended area range; determining the extended area according to the sum of the service quality scores corresponding to the sampling units in the auxiliary area.
5. A community link acquisition device based on location information, characterized in that, including: a first determination module, configured to determine an accessible area and an extended area range according to an original area before obtaining the extended area corresponding to the location information of the target user, where the accessible area includes a plurality of sampling units; a second determination module, configured to determine an extended area within the accessible area according to the service quality score corresponding to the sampling unit and the extended area range; where the extended area is the area corresponding to the maximum value of the sum of the service quality scores corresponding to the sampling units within the extended area range; an obtaining module, configured to obtain the extended area corresponding to the location information of the target user, where the extended area is extended from the original area corresponding to the location information, and the area of the extended area is larger than the original area; a display module, configured to display the community link of the regional community corresponding to the extended area.
6. The device according to claim 5, characterized in that The first determination module includes: a first determination sub-module, configured to determine the side length of the accessible area according to the side length of the original area and a preset extension strategy; a second determination sub-module, configured to determine the extended area range according to the original area and the accessible area.
7. The device according to claim 5, characterized in that, The second determination module includes: a traversing sub-module, configured to sequentially traverse within the accessible area according to the extended area range; The third determination sub-module is configured to determine, as the extended area, the area corresponding to the maximum value of the sum of the service quality scores of the sampling units within the extended area range.
8. The device according to claim 7, wherein, The third determination sub-module includes: The first determination unit is configured to determine an auxiliary area corresponding to the extended area range according to the reachable area and the extended area range; The second determination unit is configured to determine the extended area according to the sum of the service quality scores of the sampling units in the auxiliary area.
9. An electronic device, characterized in that, It includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the location information-based community link acquisition method as claimed in claims 1-4 are implemented.
10. A readable storage medium, characterized in that, A program or instruction is stored on the readable storage medium. When the program or instruction is executed by the processor, the steps of the location information-based community link acquisition method as claimed in claims 1-4 are implemented.
Citation Information
Patent Citations
Interest point processing method and device based on artificial intelligence and electronic equipment
CN110597943A
Resource recommendation method and device and computer storage medium
CN112749343A
Information recommendation method and device and electronic equipment
CN113360790A