Method, device, electronic device and computer medium for sorting geographic information points
By obtaining user behavior and attribute information of geographical information points, extracting feature information and inputting it into the heat detection model, the problem of inaccurate sorting of geographical information points in the existing technology is solved, and more accurate heat sorting and user demand matching are achieved.
Patent Information
- Application Number
- CN202010964023.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-14
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-09-14
AI Technical Summary
The sorting results of geographical information points in the existing technology are not accurate enough, resulting in the geographical information points recommended to users being unable to meet user needs.
By obtaining the user behavior information and attribute information of the geographical information points to be sorted, the first feature information and the second feature information are extracted, and input into the pre-trained popularity detection model, and the popularity scores are obtained and then sorted.
The sorting results based on user behavior information and attribute information can accurately reflect the popularity of geographical information points, making the geographical information points recommended to users more effective and easier to match user needs.
Smart Images

Figure CN112199455B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and specifically to a method, device, electronic device and computer medium for sorting geographic information points. Background Art
[0002] Map data contains a large number of geographic information points (POIs), which can also be called points of interest. In many cases, it is necessary to sort the geographic information points in the map data, so as to recommend some geographic information points to users based on the sorting results to facilitate users' travel.
[0003] In the prior art, all geographic information points are usually sorted according to the accuracy of the geographic information points (such as the accuracy of the coordinates and the accuracy of the address), and the top geographic information points are provided to the user. Since the data used in the sorting process is relatively single, the sorting results usually cannot accurately reflect the popularity of the geographic information points, resulting in the geographic information points recommended to the user not being able to meet the user's needs. Summary of the invention
[0004] The embodiments of the present application propose a method, device, electronic device and computer medium for sorting geographic information points to solve the technical problem in the prior art that the sorting results of geographic information points are not accurate enough, resulting in the geographic information points recommended to users failing to meet user needs.
[0005] In a first aspect, an embodiment of the present application provides a method for sorting geographic information points, the method comprising: obtaining user behavior information and attribute information of each geographic information point to be sorted; extracting first feature information from the user behavior information of each geographic information point, and extracting second feature information from the attribute information of each geographic information point; respectively inputting the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model to obtain a heat score for each geographic information point; sorting each geographic information point according to the heat score to obtain a sorting result.
[0006] In the second aspect, an embodiment of the present application provides a device for sorting geographic information points, the device comprising: an acquisition unit, configured to acquire user behavior information and attribute information of each geographic information point to be sorted; an extraction unit, configured to extract first feature information from the user behavior information of each geographic information point, and to extract second feature information from the attribute information of each geographic information point; an input unit, configured to input the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model, respectively, to obtain a heat score of each geographic information point; and a sorting unit, configured to sort each geographic information point according to the heat score to obtain a sorting result.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0009] The method, device, electronic device and computer medium for sorting geographic information points provided in the embodiments of the present application obtain user behavior information and attribute information of each geographic information point to be sorted; then extract the first feature information from the user behavior information of each geographic information point, and extract the second feature information from the attribute information of each geographic information point; then input the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model to obtain the heat score of each geographic information point; finally, sort each geographic information point according to the heat score to obtain the sorting result. Since the user behavior information and attribute information of each geographic information point are used simultaneously in the sorting process, and the user behavior information can reflect the degree of attention of the geographic information point to a certain extent, the sorting result determined based on the user behavior information and attribute information can accurately reflect the heat of the geographic information point, so that the geographic information points recommended to the user are more effective and easier to match with the user's needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0011] Figure 1 is a flow chart of an embodiment of a method for sorting geographic information points according to the present application;
[0012] Figure 2 is a flow chart of another embodiment of the method for sorting geographic information points according to the present application;
[0013] Figure 3 is a schematic structural diagram of an embodiment of a device for sorting geographic information points according to the present application;
[0014] Figure 4 It is a schematic diagram of the structure of a computer system for implementing an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0015] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0016] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0017] Please refer to Figure 1 , which shows a process 100 of an embodiment of a method for sorting geographic information points according to the present application. The method for sorting geographic information points comprises the following steps:
[0018] Step 101: Obtain user behavior information and attribute information of each geographic information point to be sorted.
[0019] In this embodiment, the execution subject of the method for sorting geographic information points (such as an electronic device such as a server) can obtain user behavior information and attribute information of each geographic information point to be sorted. The geographic information points to be sorted can be all geographic information points in the map data, or part of the geographic information points in the map data, such as geographic information points in a local geographic area, geographic information points that have generated user behaviors (such as placing an order, visiting, etc.), etc., which are not specifically limited here.
[0020] In this embodiment, for each geographic information point, the user behavior information of the geographic information point may be information characterizing the user behavior generated by the user with respect to the geographic information point. As an example, the user behavior information of each geographic information point may include, but is not limited to, at least one of the following: the number of times the wireless network (such as wifi) of each geographic information point is connected by the user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order in each geographic information point, information indicating whether there is a target user behavior in each geographic information point, etc.
[0021] Among them, the requests related to each geographic information point may include at least one of the following: ride request, search request, takeaway reservation request, etc. The number of orders placed by the above-mentioned users at each geographic information point may include at least one of the following: the number of takeaway orders at each geographic information point, the number of ride orders at each geographic information point. Here, the number of ride orders at each geographic information point may refer to the number of ride orders with the geographic information point as the destination. The above-mentioned target behavior may include but is not limited to at least one of the following: voucher use behavior, group purchase voucher use behavior, code scanning and payment behavior, power bank rental behavior, etc.
[0022] It should be noted that, in addition to the above-mentioned information, the user behavior information of each geographic information point may also include other information, such as the number of contacts with the staff of the geographic information point, the number of evaluations of the geographic information point, etc., which is not limited in this embodiment of the present application.
[0023] In this embodiment, for each geographic information point, the attribute information of the geographic information point may include but is not limited to at least one of the following: information indicating whether a sub-geographic information point is included (which can be represented by 1 or 0), information indicating whether an AOI (Area of Interest) outline is included (which can be represented by 1 or 0), comment information, information indicating whether a telephone number is included (which can be represented by 1 or 0), etc. For example, if the geographic information point is an amusement park, since the amusement park usually includes a store as a geographic information point, the amusement park includes a sub-geographic information point. At the same time, an amusement park usually covers a large area and therefore includes an AOI outline. In practice, a geographic information point with an area greater than a certain threshold can be regarded as a geographic information point that includes an AOI outline.
[0024] Step 102: extracting first characteristic information from the user behavior information of each geographic information point, and extracting second characteristic information from the attribute information of each geographic information point.
[0025] In this embodiment, the execution entity can extract feature information from the user behavior information of each geographic information point and the attribute information of each geographic information point, and the feature information extracted from the user behavior information is called the first feature information, and the feature information extracted from the attribute information is called the second feature information.
[0026] Among them, the feature information can be used to characterize the features of the geographic information point. Both the first feature information and the second feature information can be represented in the form of a vector. The value of each dimension in the vector is a feature value. The feature value in the first feature information can be obtained based on the user behavior information, and can be a numerical representation of one or more information in the user behavior information. The feature value in the second feature information can be obtained based on the attribute information, and can be a numerical representation of one or more information in the attribute information. In practice, each feature information can be normalized so that the value of each dimension in the vector is within the numerical interval of [0,1] to facilitate subsequent data processing.
[0027] In some optional implementations of this embodiment, the execution subject may extract the first feature information from the user behavior information of each geographic information point through the following sub-steps:
[0028] Sub-step S11, based on the information indicating whether the target user behavior exists in each geographic information point, determining the one-hot encoding (one-hot) vector of each geographic information point.
[0029] Here, the one-hot encoding vector may be a multi-dimensional vector, and each target behavior may correspond to one dimension. For example, if there are 12 target behaviors, the one-hot encoding vector is a 12-dimensional vector.
[0030] For each geographic information point, if the user has a certain target behavior at the geographic information point, the value corresponding to the target behavior in the one-hot encoding vector of the geographic information point is 1; otherwise, it is 0. For example, the one-hot encoding vector is a 4-dimensional vector, the first dimension indicates whether there is a voucher usage behavior, the second dimension indicates whether there is a group purchase voucher usage behavior, the third dimension indicates whether there is a scan code payment behavior, and the fourth dimension indicates whether there is a power bank rental behavior. If the user has a group purchase voucher usage behavior, a group purchase voucher usage behavior, and a scan code payment behavior at a geographic information point, and does not have a power bank rental behavior, the one-hot encoding vector of the geographic information point can be [1 1 1 0].
[0031] Sub-step S12, determining the first feature information of each geographic information point based on the unique hot encoding vector of each geographic information point and at least one of the number of times the wireless network of each geographic information point is connected by the user device, the number of times the user sends requests related to each geographic information point, and the number of times the user places an order at each geographic information point.
[0032] Here, for each geographic information point, at least one of the number of times the wireless network of the geographic information point is connected by the user device, the number of times the user sends requests related to the geographic information point, and the number of times the user places an order at the geographic information point can be quantified into a numerical value, and each numerical value is normalized to obtain a vector containing at least one normalized numerical value. The vector is combined with the one-hot encoding (one-hot) vector of the geographic information point (such as concatenation), and the first feature information of each geographic information point can be obtained.
[0033] Among them, at least one of the number of times the wireless network of the geographic information point is connected by the user device, the number of times the user sends requests related to the geographic information point, and the number of times the user places an order at the geographic information point is quantified into a numerical value. The value of each of the above times can be used directly, or it can be a value obtained after further numerical calculation of the value of each of the above times. No specific limitation is made here.
[0034] Since user behavior information can reflect the degree of attention paid to geographic information points to a certain extent, extracting the first characteristic information from the user behavior information and sorting the geographic information points based on the first characteristic information can make the sorting results accurately reflect the popularity of the geographic information points, making the geographic information points provided to users more effective and easier to match with user needs. In addition, since user behavior information contains multiple dimensions (such as the number of times the wireless network of the geographic information point is connected by the user's device, the number of times the user sends requests related to the geographic information point, the number of times the user places an order in the geographic information point, and information used to indicate whether there is a user's store behavior at the geographic information point, etc.), it can greatly increase the data utilization rate of the sorting process, thereby improving the accuracy of the sorting results.
[0035] Step 103 , respectively input the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model to obtain a heat score of each geographic information point.
[0036] In this embodiment, a pre-trained popularity detection model may be pre-stored in the execution body. The popularity detection model may be used to predict the popularity score of the geographic information point. The popularity may indicate the degree of user attention of the predicted geographic information point. The higher the degree of user attention of the geographic information point, the higher its popularity score.
[0037] In this embodiment, the execution subject can input the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model to obtain the heat score of the geographic information point. Here, when inputting the first feature information and the second feature information of each geographic information point into the pre-trained heat detection model, the first feature information and the second feature information of the geographic information point can be first spliced, and the spliced feature information can be input into the heat detection model.
[0038] The heat detection model can be obtained by pre-training the basic model using a machine learning method (such as a supervised learning method). Among them, the basic model can use a logistic regression (LR) model, a neural network, etc. In practice, the sample set used to train the heat detection model can include a large number of sample geographic information points, and each sample geographic information point can include a label indicating whether it is a hot spot geographic information point. For example, if a sample geographic information point is a hot spot geographic information point, its label can be set to 1; otherwise, its label can be set to 0.
[0039] During the training process, the characteristic information of the sample geographic information point (which may include the first characteristic information and the second characteristic information of the sample geographic information point, and the extraction method of each characteristic information can be referred to step 102) can be input into the basic model one by one to obtain the detection result output by the basic model. The detection result is the predicted value of the heat score of the sample geographic information point. Then, the loss value can be determined based on the detection result and the annotation information corresponding to the sample geographic information point. The above loss value is a non-negative real-valued function, which can be used to characterize the difference between the detection result and the true result. In general, the smaller the value of the loss function (loss value), the better the robustness of the model. The above loss value can be determined by various existing loss functions (such as cross entropy loss function). The loss function can be set according to actual needs. Afterwards, the parameters of the basic model can be updated using the loss value. Thus, each time a sample geographic information point is input, the parameters of the basic model can be updated based on the loss value corresponding to the sample geographic information point until the model training is completed.
[0040] Step 104, sorting the geographic information points according to the heat score to obtain a sorting result.
[0041] In this embodiment, the geographic information points may be sorted in descending order of heat scores to obtain a sorting result.
[0042] After obtaining the sorting results, a preset number of geographic information points can be selected according to the sorting order indicated by the sorting results, and the selected geographic information points can be pushed to the user, so that the pushed geographic information points can be displayed on the electronic map used by the user. Since the geographic information points pushed to the user are the more popular geographic information points, that is, the geographic information points that most users are more interested in, selecting these geographic information points to recommend to the user can make the geographic information points provided to the user more effective and easier to match with the user's needs, thereby improving the effectiveness and practicality of the pushed information.
[0043] The method provided by the above-mentioned embodiment of the present application obtains the user behavior information and attribute information of each geographic information point to be sorted; then extracts the first feature information from the user behavior information of each geographic information point, and extracts the second feature information from the attribute information of each geographic information point; then inputs the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model to obtain the heat score of each geographic information point; finally, sorts each geographic information point according to the heat score to obtain a sorting result. Since the user behavior information and attribute information of each geographic information point are used simultaneously in the sorting process, and the user behavior information can reflect the degree of attention of the geographic information point to a certain extent, the sorting result determined based on the user behavior information and attribute information can accurately reflect the heat of the geographic information point, so that the geographic information points provided to the user are more effective and easier to match with the user's needs.
[0044] Further references Figure 2 , which shows a process 200 of another embodiment of a method for sorting geographic information points. The process 200 of the method for sorting geographic information points includes the following steps:
[0045] Step 201: Obtain user behavior information and attribute information of each geographic information point to be sorted.
[0046] In this embodiment, the execution subject of the geographic information point sorting method (such as an electronic device such as a server) can obtain user behavior information and attribute information of each geographic information point to be sorted.
[0047] In this embodiment, for each geographic information point, the user behavior information of the geographic information point may be information characterizing the user behavior generated by the user with respect to the geographic information point. As an example, the user behavior information of each geographic information point may include, but is not limited to, at least one of the following: the number of times the wireless network of each geographic information point is connected by the user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order in each geographic information point, information indicating whether there is a target user behavior in each geographic information point, etc.
[0048] Among them, the requests related to each geographic information point may include at least one of the following: ride request, search request, takeaway reservation request, etc. The number of orders placed by the above-mentioned users at each geographic information point may include at least one of the following: the number of takeaway orders at each geographic information point, the number of ride orders at each geographic information point. Among them, the number of ride orders at each geographic information point may refer to the number of ride orders with the geographic information point as the destination. The above-mentioned target behavior may include but is not limited to at least one of the following: voucher use behavior, group purchase voucher use behavior, code scanning and payment behavior, power bank rental behavior, etc.
[0049] In this embodiment, for each geographic information point, the attribute information of the geographic information point may include but is not limited to at least one of the following: information indicating whether a sub-geographic information point is included, information indicating whether an AOI outline is included, comment information, information indicating whether a telephone number is included, etc.
[0050] It should be noted that, in addition to the above-mentioned information, the user behavior information of each geographic information point may also include other information, such as the number of contacts with the staff of the geographic information point, the number of evaluations of the geographic information point, etc., which is not limited in this embodiment of the present application.
[0051] Step 202 : determining a one-hot encoding vector of each geographic information point based on information indicating whether the target user behavior exists in each geographic information point.
[0052] In this embodiment, the execution subject may determine the one-hot encoding vector of each geographic information point based on the information indicating whether the target user behavior exists in each geographic information point. Here, the one-hot encoding vector may be a multi-dimensional vector, and each target behavior may correspond to one dimension. For example, if there are 12 target behaviors in total, the one-hot encoding vector is a 12-dimensional vector.
[0053] For each geographic information point, if the user has a certain target behavior at the geographic information point, the value corresponding to the target behavior in the one-hot encoding vector of the geographic information point is 1; otherwise, it is 0. For example, the one-hot encoding vector is a 4-dimensional vector, the first dimension indicates whether there is a voucher usage behavior, the second dimension indicates whether there is a group purchase voucher usage behavior, the third dimension indicates whether there is a scan code payment behavior, and the fourth dimension indicates whether there is a power bank rental behavior. If the user has a group purchase voucher usage behavior, a group purchase voucher usage behavior, and a scan code payment behavior at a geographic information point, and does not have a power bank rental behavior, the one-hot encoding vector of the geographic information point can be [1 1 1 0].
[0054] Step 203, based on at least one of the number of times the wireless network of each geographic information point is connected by the user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order at each geographic information point, and the unique hot encoding vector of each geographic information point, determine the first feature information of each geographic information point.
[0055] In this embodiment, for each geographic information point, the execution subject may quantify at least one of the number of times the wireless network of the geographic information point is connected by the user device, the number of times the user sends a request related to the geographic information point, and the number of times the user places an order at the geographic information point into a numerical value, and normalize each numerical value to obtain a vector containing at least one normalized numerical value. The vector is combined (such as concatenated) with the one-hot encoding vector of the geographic information point to obtain the first feature information of each geographic information point.
[0056] In some optional implementations of this embodiment, the above execution subject may be executed according to the following sub-steps:
[0057] Sub-step S21, determining the network connection heat score of each geographic information point based on the number of times the wireless network of each geographic information point is connected by the user equipment.
[0058] For example, the number of times the wireless network of each geographic information point is connected by the user equipment may be directly used as the network connection heat score of the geographic information point.
[0059] For another example, each geographic information point may be sorted based on the number of times the wireless network of each geographic information point is connected by the user device to obtain a first order of each geographic information point. Then, based on the preset first correspondence information and the first order of each geographic information point, the network connection heat score of each geographic information point is determined, wherein the first correspondence information includes the correspondence between each first order and the network connection heat score.
[0060] For another example, a first sum of the number of times the wireless network of each geographic information point is connected by the user device may be determined first, and then, for each geographic information point, the ratio of the number of times the wireless network of the geographic information point is connected by the user device to the first sum is used as the network connection heat score of the geographic information point.
[0061] Sub-step S22, based on the number of times the user sends requests related to each geographic information point, determine the user request heat score of each geographic information point.
[0062] For example, the number of times that users send requests related to each geographic information point can be directly used as the user request heat score of the geographic information point.
[0063] For another example, each geographic information point may be sorted based on the number of times the user sends requests related to each geographic information point to obtain a second ranking of each geographic information point. Then, based on the preset second correspondence information and the second ranking of each geographic information point, the user request heat score of each geographic information point is determined, wherein the second correspondence information includes the correspondence between each second ranking and the user request heat score.
[0064] For another example, the second sum of the number of times the user sends requests related to each geographic information point can be determined first, and then, for each geographic information point, the ratio of the number of times the user sends requests related to the geographic information point to the second sum is used as the user request heat score of the geographic information point.
[0065] Sub-step S23, based on the number of orders placed by users at each geographic information point, determine the order popularity score of each geographic information point.
[0066] For example, the number of orders placed by users at each geographic information point can be directly used as the order popularity score of the geographic information point.
[0067] For another example, each geographic information point may be sorted based on the number of orders placed by users at each geographic information point to obtain a third ranking of each geographic information point. Then, based on the preset third correspondence information and the third ranking of each geographic information point, the order heat score of each geographic information point is determined, wherein the third correspondence information includes the correspondence between each third ranking and the order heat score.
[0068] For another example, the third sum of the number of orders placed by users in each geographic information point may be determined first, and then, for each geographic information point, the ratio of the number of orders placed by users in the geographic information point to the third sum may be used as the order heat score of the geographic information point.
[0069] Sub-step S24, combining at least one of the user request heat score, the user request heat score, and the order heat score of each geographic information point with the one-hot encoding vector of the geographic information point to obtain the first feature information of the geographic information point.
[0070] Here, for each geographic information point, at least one of the user request heat score, user request heat score, and order heat score of the geographic information point may be normalized to obtain a vector containing at least one normalized value. The vector is combined (such as concatenated) with the one-hot encoding vector of the geographic information point to obtain the first feature information of each geographic information point.
[0071] Since user behavior information can reflect the degree of attention paid to geographic information points to a certain extent, extracting the first characteristic information from the user behavior information and sorting the geographic information points based on the first characteristic information can make the sorting results accurately reflect the popularity of the geographic information points, making the geographic information points provided to users more effective and easier to match with user needs. In addition, since user behavior information contains multiple dimensions (such as the number of times the wireless network of the geographic information point is connected by the user's device, the number of times the user sends requests related to the geographic information point, the number of times the user places an order in the geographic information point, and information used to indicate whether there is a user's store behavior at the geographic information point, etc.), it can greatly increase the data utilization rate of the sorting process, thereby improving the accuracy of the sorting results.
[0072] Step 204 , respectively input the first characteristic information and the second characteristic information of each geographic information point into a pre-trained heat detection model to obtain a heat score of each geographic information point.
[0073] Step 204 in this embodiment may refer to step 103 in the above embodiment, and will not be described in detail here.
[0074] Step 205: sort the geographic information points according to the heat score to obtain a sorting result.
[0075] Step 205 in this embodiment may refer to step 104 in the above embodiment, and will not be described in detail here.
[0076] from Figure 2 It can be seen that Figure 1Compared with the corresponding embodiment, the process 200 of the method for sorting geographic information points in this embodiment involves the step of extracting the first feature information based on the number of times the wireless network of each geographic information point is connected by the user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order in each geographic information point, and the information indicating whether there is target user behavior in each geographic information point. Therefore, the scheme described in this embodiment can use multi-dimensional user behavior information, thereby introducing more dimensional feature information, which can greatly increase the data utilization rate of the sorting process. In addition, the user behavior information of each dimension can characterize the degree of attention paid to the geographic information point, so that the sorting result can more accurately reflect the popularity of the geographic information point, further improving the accuracy of the sorting result.
[0077] Further references Figure 3 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a device for sorting geographic information points. Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0078] like Figure 3 As shown, the above-mentioned geographic information point sorting device 300 of this embodiment includes: an acquisition unit 301, configured to acquire user behavior information and attribute information of each geographic information point to be sorted; an extraction unit 302, configured to extract first feature information from the user behavior information of each geographic information point, and extract second feature information from the attribute information of each geographic information point; an input unit 303, configured to input the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model, respectively, to obtain a heat score of each geographic information point; a sorting unit 304, configured to sort each geographic information point according to the above-mentioned heat score, to obtain a sorting result.
[0079] In some optional implementations of this embodiment, the user behavior information of each geographic information point includes at least one of the following: the number of times the wireless network of each geographic information point is connected by the user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order in each geographic information point, and information indicating whether there is target user behavior in each geographic information point.
[0080] In some optional implementations of this embodiment, the above-mentioned requests related to each geographic information point include at least one of the following: a ride request, a search request, a takeout reservation request; the above-mentioned number of orders includes at least one of the following: the number of ride orders, the number of takeout orders.
[0081] In some optional implementations of the present embodiment, the extraction unit 302 is further configured to: determine the one-hot encoding vector of each geographic information point based on the information indicating whether the target user behavior exists in each geographic information point; determine the first feature information of each geographic information point based on at least one of the number of times the wireless network of each geographic information point is connected by the user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order in each geographic information point, and the one-hot encoding vector of each geographic information point.
[0082] In some optional implementations of the present embodiment, the extraction unit 302 is further configured to: determine the network connection heat score of each geographic information point based on the number of times the wireless network of each geographic information point is connected by the user device; determine the user request heat score of each geographic information point based on the number of times the user sends requests related to each geographic information point; determine the order heat score of each geographic information point based on the number of times the user places an order at each geographic information point; combine at least one of the user request heat score, user request heat score, and order heat score of each geographic information point with the unique hot encoding vector of the geographic information point to obtain the first feature information of the geographic information point.
[0083] In some optional implementations of the present embodiment, the extraction unit 302 is further configured to: sort each geographic information point based on the number of times the wireless network of each geographic information point is connected by the user device to obtain the first order of each geographic information point; determine the network connection heat score of each geographic information point based on the preset first correspondence information and the first order of each geographic information point, wherein the first correspondence information includes the correspondence between each first order and the network connection heat score.
[0084] In some optional implementations of the present embodiment, the extraction unit 302 is further configured to: determine a first sum of the number of times the wireless network of each geographic information point is connected by the user device; for each geographic information point, use the ratio of the number of times the wireless network of the geographic information point is connected by the user device to the first sum as the network connection heat score of the geographic information point.
[0085] In some optional implementations of the present embodiment, the extraction unit 302 is further configured to: sort each geographic information point based on the number of times the user sends a request related to each geographic information point to obtain a second order of each geographic information point; determine the user request heat score of each geographic information point based on preset second correspondence information and the second order of each geographic information point, wherein the second correspondence information includes the correspondence between each second order and the user request heat score.
[0086] In some optional implementations of the present embodiment, the extraction unit 302 is further configured to: determine a second total of the number of times the user sends requests related to each geographic information point; for each geographic information point, take the ratio of the number of times the user sends requests related to the geographic information point to the second total as the user request heat score of the geographic information point.
[0087] In some optional implementations of the present embodiment, the extraction unit 302 is further configured to: sort each geographic information point based on the number of orders placed by users at each geographic information point to obtain a third order of each geographic information point; determine an order heat score of each geographic information point based on preset third correspondence information and the third order of each geographic information point, wherein the third correspondence information includes a correspondence between each third order and the order heat score.
[0088] In some optional implementations of the present embodiment, the extraction unit 302 is further configured to: determine the third sum of the number of orders placed by the user at each geographic information point; and for each geographic information point, use the ratio of the number of orders placed by the user at the geographic information point to the third sum as the order heat score of the geographic information point.
[0089] In some optional implementations of this embodiment, the above-mentioned heat detection model is obtained by training a logistic regression model using a machine learning method.
[0090] The device provided by the above-mentioned embodiment of the present application obtains the user behavior information and attribute information of each geographic information point to be sorted; then extracts the first feature information from the user behavior information of each geographic information point, and extracts the second feature information from the attribute information of each geographic information point; then inputs the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model to obtain the heat score of each geographic information point; finally, sorts each geographic information point according to the above heat score to obtain a sorting result. Since the user behavior information and attribute information of each geographic information point are used simultaneously in the sorting process, and the user behavior information can reflect the degree of attention of the geographic information point to a certain extent, the sorting result determined based on the user behavior information and attribute information can accurately reflect the heat of the geographic information point, so that the geographic information points provided to the user are more effective and easier to match with the user's needs.
[0091] Reference below Figure 4 , which shows a schematic diagram of the structure of a computer system 400 suitable for implementing an electronic device of an embodiment of the present application. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0092] like Figure 4 As shown, the computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage part 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the system 400 are also stored. The CPU 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0093] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.
[0094] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the central processing unit (CPU) 401, the above functions defined in the method of the present application are executed. It should be noted that the computer-readable medium described in the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can 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 of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer 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. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus or a device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. 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. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus or a device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0095] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0096] The units involved in the embodiments described in this application may be implemented by software or hardware. The units described may also be arranged in a processor, wherein the names of these units do not constitute limitations on the units themselves in certain circumstances.
[0097] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the device, the device: obtains user behavior information and attribute information of each geographic information point to be sorted; extracts first feature information from the user behavior information of each geographic information point, and extracts second feature information from the attribute information of each geographic information point; respectively inputs the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model to obtain the heat score of each geographic information point; sorts each geographic information point according to the heat score to obtain a sorting result.
[0098] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A method for sorting geographic information points, characterized in that: include: Obtaining user behavior information and attribute information of each geographic information point to be sorted; Extracting first feature information from user behavior information of each geographic information point, and extracting second feature information from attribute information of each geographic information point; Inputting the first characteristic information and the second characteristic information of each geographic information point into a pre-trained heat detection model respectively to obtain a heat score of each geographic information point; Sorting the geographic information points according to the heat score to obtain a sorting result; The user behavior information of each geographic information point includes at least one of the following: the number of times the wireless network of each geographic information point is connected by the user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order in each geographic information point, and information indicating whether there is a target user behavior in each geographic information point; The attribute information of the geographic information point includes but is not limited to at least one of the following: information indicating whether a sub-geographic information point is included, information indicating whether an AOI interest surface outline is included, comment information, and information indicating whether a telephone number is included; The extracting first feature information from the user behavior information of each geographic information point includes: Determining a one-hot encoding vector for each geographic information point based on the information indicating whether the target user behavior exists in each geographic information point; The first feature information of each geographic information point is determined based on at least one of the number of times the wireless network of each geographic information point is connected by a user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order at each geographic information point, and the unique hot encoding vector of each geographic information point.
2. The method according to claim 1, characterized in that: The request related to each geographic information point includes at least one of the following: a ride request, a search request, and a takeaway reservation request; The number of orders includes at least one of the following: the number of ride orders and the number of takeout orders.
3. The method according to claim 1, characterized in that: The method of determining the first feature information of each geographic information point based on at least one of the number of times the wireless network of each geographic information point is connected by a user device, the number of times the user sends a request related to each geographic information point, the number of times the user places an order at each geographic information point, and the unique hot encoding vector of each geographic information point includes: Determine the network connection heat score of each geographic information point based on the number of times the wireless network of each geographic information point is connected by the user device; Determine a user request heat score for each geographic information point based on the number of times the user sends requests related to each geographic information point; Based on the number of orders placed by users at each geographic information point, determine the order popularity score of each geographic information point; At least one of the user request heat score, the user request heat score, and the order heat score of each geographic information point is combined with the one-hot encoding vector of the geographic information point to obtain the first feature information of the geographic information point.
4. The method according to claim 3, characterized in that: The determining of the network connection heat score of each geographic information point based on the number of times the wireless network of each geographic information point is connected by the user equipment includes: Based on the number of times the wireless network of each geographic information point is connected by the user equipment, the geographic information points are sorted to obtain a first order of each geographic information point; Based on the preset first correspondence information and the first order of each geographic information point, the network connection heat score of each geographic information point is determined, wherein the first correspondence information includes the correspondence between each first order and the network connection heat score.
5. The method according to claim 3, characterized in that: The determining of the network connection heat score of each geographic information point based on the number of times the wireless network of each geographic information point is connected by the user equipment includes: Determine a first sum of the number of times the wireless network of each geographic information point is connected by the user equipment; For each geographic information point, the ratio of the number of times the wireless network of the geographic information point is connected by the user equipment to the first sum is used as the network connection heat score of the geographic information point.
6. The method according to claim 3, characterized in that: The step of determining the user request heat score of each geographic information point based on the number of times the user sends requests related to each geographic information point includes: Sort the geographic information points based on the number of requests related to the geographic information points sent by the user to obtain a second order of the geographic information points; Based on the preset second correspondence information and the second order of each geographic information point, the user request heat score of each geographic information point is determined, wherein the second correspondence information includes the correspondence between each second order and the user request heat score.
7. The method according to claim 3, characterized in that The step of determining the user request heat score of each geographic information point based on the number of times the user sends requests related to each geographic information point includes: Determining a second total of the number of times the user sends requests associated with each geographic information point; For each geographic information point, the ratio of the number of times the user sends requests related to the geographic information point to the second sum is used as the user request heat score of the geographic information point.
8. The method according to claim 3, characterized in that The step of determining the order popularity score of each geographic information point based on the number of orders placed by the user at each geographic information point includes: Based on the number of orders placed by users at each geographic information point, the geographic information points are sorted to obtain the third order of each geographic information point; Based on the preset third correspondence information and the third order of each geographic information point, the order heat score of each geographic information point is determined, wherein the third correspondence information includes the correspondence between each third order and the order heat score.
9. The method according to claim 3, characterized in that: The step of determining the order popularity score of each geographic information point based on the number of orders placed by the user at each geographic information point includes: Determine the third sum of the number of orders placed by the user in each geographic information point; For each geographic information point, the ratio of the number of orders placed by users in the geographic information point to the third sum is used as the order heat score of the geographic information point.
10. The method according to claim 1, characterized in that The heat detection model is obtained by training a logistic regression model using a machine learning method.
11. A device for sorting geographic information points, characterized in that: include: An acquisition unit, configured to acquire user behavior information and attribute information of each geographic information point to be sorted; an extraction unit configured to extract first feature information from user behavior information of each geographic information point, and to extract second feature information from attribute information of each geographic information point; An input unit is configured to input the first feature information and the second feature information of each geographic information point into a pre-trained heat detection model to obtain a heat score of each geographic information point; A sorting unit is configured to sort the geographic information points according to the heat score to obtain a sorting result; The user behavior information of each geographic information point includes at least one of the following: the number of times the wireless network of each geographic information point is connected by the user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order in each geographic information point, and information indicating whether there is a target user behavior in each geographic information point; The attribute information of the geographic information point includes but is not limited to at least one of the following: information indicating whether a sub-geographic information point is included, information indicating whether an AOI interest surface outline is included, comment information, and information indicating whether a telephone number is included; The extracting first feature information from the user behavior information of each geographic information point includes: Determining a one-hot encoding vector for each geographic information point based on the information indicating whether the target user behavior exists in each geographic information point; The first feature information of each geographic information point is determined based on at least one of the number of times the wireless network of each geographic information point is connected by a user device, the number of times the user sends requests related to each geographic information point, the number of times the user places an order at each geographic information point, and the unique hot encoding vector of each geographic information point.
12. An electronic device, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 10.
13. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Information pushing method and device
CN104123398A
Position information obtaining method and device
CN104135718A
