Position pushing method and device
By receiving the location acquisition request of the user terminal in the POI system and determining the recommended points based on the sorting score, the problem of lack of basis for the popularity sorting and display of virtual points is solved, and the reliability and accuracy of position push is improved.
Patent Information
- Application Number
- CN202411669713.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-02-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional POI systems are difficult to provide accurate location services, especially for virtual locations. The lack of effective heat calculation methods leads to lack of basis for their popularity sorting and display, which affects the reliability and accuracy of location push.
By receiving the position acquisition request of the user terminal, multiple recommended points are determined based on the target position and the sort score of each point. The recommended points include a first point obtained from high to low according to the sort score and a second point obtained randomly that does not repeat the first point.
By pushing the first point, ensuring the reliability and accuracy of position push, and quickly accumulating data by pushing the second point, providing a basis for popularity sorting and display for points lacking data, improving the quality of overall location services.
Smart Images

Figure CN119537700A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a location push method and device. Background Art
[0002] In location-based services and map applications, POI (Point of Interest) data is often used to provide users with key information about geographic locations. However, POI systems can only process and display actual locations, making it difficult to provide accurate location services. Therefore, mining emerging virtual locations that are not in the existing POI database plays an important role in improving location-based services.
[0003] However, since traditional POI popularity ranking relies on actual order or visit data, and virtual points do not initially have these data, there is a lack of basis for popularity ranking and display, which makes it impossible to effectively display some important points, and the reliability and accuracy of location push are low. Summary of the invention
[0004] In view of this, the purpose of an embodiment of the present invention is to provide a location push method and device, which can ensure the reliability and accuracy of the location push by pushing the first point, and quickly accumulate data for the points that lack data by pushing the second point, thereby providing a basis for heat sorting and display.
[0005] In a first aspect, an embodiment of the present invention provides a location push method, the method comprising:
[0006] Receiving a location acquisition request sent by a user terminal, wherein the location acquisition request includes a target location;
[0007] Determine a plurality of recommended points according to the target position and the ranking scores of each point, wherein the recommended points include at least one first point and at least one second point, wherein the first point is a point obtained in descending order according to the ranking scores, and the second point is a point obtained randomly and does not overlap with the first point;
[0008] The recommended point is sent to the user terminal.
[0009] In some embodiments, determining a plurality of recommended points according to the target location and the ranking scores of each point includes:
[0010] Acquire multiple candidate points according to the target position;
[0011] Determining the ranking score of the candidate point;
[0012] Multiple recommended points are determined according to the ranking scores of the candidate points.
[0013] In some embodiments, determining the ranking score of the candidate point comprises:
[0014] Determine the type corresponding to each candidate point;
[0015] Determine the order popularity corresponding to each candidate point according to the type;
[0016] The ranking score is determined according to the order popularity.
[0017] In some embodiments, the types include online points and offline points, the online points include POI points and online virtual points, and the offline points are offline virtual points.
[0018] In some embodiments, determining the order popularity corresponding to each candidate point according to the type includes:
[0019] In response to the type of the candidate point being an online point, determining the order heat according to the order heat of the candidate point, wherein the order heat is used to characterize the frequency of initiating orders with the candidate point in historical orders;
[0020] In response to the type of the candidate point being an offline point, the order heat is determined according to the arrival heat of the candidate point, and the arrival heat is used to characterize the frequency of using the area where the candidate point is located as the arrival area in historical orders, and the area is a pre-divided grid.
[0021] In some embodiments, determining the ranking score according to the order popularity includes:
[0022] Normalizing the order heat to obtain the first ranking score;
[0023] The ranking score of the candidate point is set to the first ranking score.
[0024] In some embodiments, determining the ranking score according to the order popularity further includes:
[0025] In response to acquiring the second ranking score of the candidate point, the ranking score of the candidate point is set to the second ranking score, where the second ranking score is preset.
[0026] In some embodiments, the second ranking score includes a first interval and a second interval, and the method further includes:
[0027] In response to the second ranking score being in the first interval, the corresponding candidate point is removed or hidden.
[0028] In some embodiments, determining a plurality of recommended points according to the ranking scores of the candidate points includes:
[0029] Selecting a first number of candidate points as the first point in descending order of ranking scores;
[0030] A second number of candidate points are randomly acquired as second points, where the second points are different from the first points.
[0031] In a second aspect, an embodiment of the present invention provides a location push method, the method comprising:
[0032] A location acquisition request sent to a server, wherein the location acquisition request includes a target location;
[0033] Receive multiple recommended points sent by a server, the recommended points including at least one first point and at least one second point, the first point is a point obtained in descending order according to the ranking score, and the second point is a randomly obtained point that does not overlap with the first point;
[0034] The recommended points are displayed.
[0035] In some embodiments, displaying the recommended location includes:
[0036] Display the first point at a fixed position on the position display interface;
[0037] The second point position is displayed at a random position of the position display interface, and the fixed position is arranged in front of the random position.
[0038] In a third aspect, an embodiment of the present invention provides a position push device, the device comprising:
[0039] A request receiving unit, configured to receive a location acquisition request sent by a user terminal, wherein the location acquisition request includes a target location;
[0040] a recommended point determination unit, configured to determine a plurality of recommended points according to the target position and the ranking scores of the respective points, wherein the recommended points include at least one first point and at least one second point, wherein the first point is a point obtained in descending order according to the ranking scores, and the second point is a point obtained randomly and does not overlap with the first point;
[0041] The recommended point sending unit is used to send the recommended point to the user terminal.
[0042] In a fourth aspect, an embodiment of the present invention provides a location push device, the device comprising:
[0043] A request sending unit, configured to send a location acquisition request to a server, wherein the location acquisition request includes a target location;
[0044] A recommended point receiving unit, configured to receive a plurality of recommended points sent by a server, wherein the recommended points include at least one first point and at least one second point, wherein the first point is a point obtained in descending order according to the ranking score, and the second point is a point obtained randomly and does not overlap with the first point;
[0045] The recommended point display unit is used to display the recommended points.
[0046] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method described in the first aspect and the second aspect.
[0047] In a sixth aspect, an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a computer program. When the computer program runs on a computer, the computer executes the methods described in the first and second aspects above.
[0048] In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer program instructions, wherein the computer program instructions, when executed by a processor, implement the method described in the first aspect and the second aspect.
[0049] The technical solution of the embodiment of the present invention receives a location acquisition request sent by a user terminal, the location acquisition request includes a target location, determines multiple recommended points according to the target location and the ranking scores of each point, the recommended points include at least one first point and at least one second point, the first point is a point acquired in descending order according to the ranking score, and the second point is a randomly acquired point that does not overlap with the first point, and sends the recommended point to the user terminal. Therefore, by pushing the first point, the reliability and accuracy of the location push can be guaranteed, and by pushing the second point, data can be quickly accumulated for the points that lack data, thereby providing a basis for heat sorting and display. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0051] Figure 1 is a schematic diagram of a location push system according to an embodiment of the present invention;
[0052] Figure 2is a flow chart of an information interaction method according to an embodiment of the present invention;
[0053] Figure 3 is a schematic diagram of an exemplary location display interface of an embodiment of the present invention;
[0054] Figure 4 is a schematic diagram of another exemplary location display interface of an embodiment of the present invention;
[0055] Figure 5 is a flow chart of a method for pushing a location of a server according to an embodiment of the present invention;
[0056] Figure 6 is a flow chart of a method for pushing a location of a user terminal according to an embodiment of the present invention;
[0057] Figure 7 is a schematic diagram of a location push device of a server according to an embodiment of the present invention;
[0058] Figure 8 is a schematic diagram of a device for pushing a position of a user terminal according to an embodiment of the present invention;
[0059] Fig. 9 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0060] The present application is described below based on embodiments, but the present application is not limited to these embodiments. In the detailed description of the present application below, some specific details are described in detail. It is possible for those skilled in the art to fully understand the present application without the description of these details. In order to avoid confusing the essence of the present application, known methods, processes, flows, components and circuits are not described in detail.
[0061] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0062] Unless the context clearly requires otherwise, the words "include", "comprising" and similar words throughout the application should be interpreted as including rather than exclusive or exhaustive; that is, the meaning is "including but not limited to".
[0063] In the description of this application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" is two or more.
[0064] The solutions described in this specification and in the examples, if they involve the processing of personal information, will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0065] POI (Point of Interest) refers to an observable point of interest in a geographic information system, which is often named after an entity, such as a house, a shop, a bus stop, etc. However, the actual POI points often cannot meet the growing and diverse needs of users. Especially for large-scale surface POIs, the traditional point representation method cannot meet the user's taxi needs. Users are more inclined to use "xx intersection", "next to xx sign", "north side of xx shopping mall" to describe their location, or some collection points. The embodiment of the present invention defines such points as "virtual points" or "virtual location points". Mining "virtual points" plays an important role in improving location services.
[0066] Traditional POI systems can only process and display actual locations, and it is difficult to effectively identify and display new points of interest or virtual points of interest. This limitation will result in users being unable to obtain the latest popular locations or potential points of interest in a timely manner.
[0067] At the same time, there is a lack of effective heat calculation methods for virtual points. Traditional POI heat ranking relies on actual order or visit data, but virtual points do not have this data initially, resulting in a lack of basis for heat ranking and display.
[0068] Moreover, in existing systems, the display logic of actual points of interest and virtual points is often inconsistent, which may lead to confusion in user experience or incoherent information display.
[0069] Therefore, the embodiment of the present invention provides a location push method to solve the above defects, improve the accuracy of location point recommendation, and simplify the user's operation process.
[0070] Figure 1 Schematic diagram of a location push system according to an embodiment of the present invention. Figure 1 As shown, the location push system according to the embodiment of the present invention includes a server 1 and a user terminal 2 .
[0071] Server 1 is a platform for providing location services, which can be implemented through a single server or a server cluster consisting of multiple servers.
[0072] The user terminal 2 is various terminal devices of users who have accessed and used the location service provided by the server. For example, the user terminal can be through a mobile phone, tablet computer, car navigation system, smart watch or other wearable device.
[0073] The user terminal 2 communicates with the server 1 via a wireless or wired network, sends a location request and receives location service information. In this way, the user terminal can obtain accurate location data and services in real time, thereby supporting a variety of applications such as online car-hailing, navigation, and map display.
[0074] The embodiment of the present invention is described by taking online car-hailing as an example, where the server is the online car-hailing platform and the user terminal is the terminal device used by the passenger.
[0075] Specifically, Figure 2 is a flow chart of the information interaction method according to an embodiment of the present invention. Figure 2 As shown, the information interaction method of the embodiment of the present invention includes the following steps:
[0076] Step S101, obtaining the target position.
[0077] In this embodiment, the user terminal obtains a target location, where the target location is a location where the user expects to obtain a location service.
[0078] In some embodiments, taking the online car-hailing scenario as an example, the target location is the user-specified drop-off location, and the target location can be obtained by the user entering text in the car-hailing interface or by the user selecting it through a map. Correspondingly, the location acquisition request is a car-hailing request.
[0079] It should be noted that the embodiment of the present invention takes the example of location service for pushing the alighting point in the online car-hailing scenario, but the embodiment of the present invention does not limit the specific application scenario. For example, the location service can also be used for pushing the boarding point in the online car-hailing scenario, or the location service can also be used for pushing the location in other scenarios (such as route planning, navigation, map display, etc.).
[0080] Step S102: Send a location acquisition request.
[0081] In this embodiment, the user terminal generates a location acquisition request according to the target location, and sends the location acquisition request to the server. The location acquisition request includes the target location.
[0082] Step S103: Acquire multiple candidate points according to the target position.
[0083] In this embodiment, the server obtains multiple candidate points according to the target location. The candidate points include at least one of virtual points and real points, the real points are POI points of interest, and the virtual points are other points obtained by mining.
[0084] In an optional implementation, obtaining multiple candidate points according to the target position includes: obtaining the distance between each point and the target position, and determining the point whose distance is less than or equal to a predetermined distance as the candidate point. The predetermined distance can be set according to actual needs, such as 500 meters, 800 meters, etc.
[0085] In another optional implementation, obtaining multiple candidate points according to the target position includes: obtaining the distance between each point and the target position, and selecting a predetermined number of points as the candidate points in order of distance from small to large. The predetermined number can be set according to actual needs, such as 8, 10, etc.
[0086] In this way, the candidate points can be obtained.
[0087] Step S104: determine the order popularity of the candidate points.
[0088] In this embodiment, the server determines the type corresponding to each candidate point, and determines the order popularity corresponding to each candidate point according to the type. The type includes online points and offline points. The online points include POI points and online virtual points, and the offline points are virtual points that are not online.
[0089] Specifically, as described above, the embodiment of the present invention divides points into at least one of virtual points and real points, the real points are POI points, and the virtual points are other points obtained through mining. Among the mined virtual points, according to the usage of the virtual points, if the virtual points are used more frequently by users, the virtual points will be put online, and these virtual points are online virtual points. Newly mined virtual points or virtual points with low usage frequency will not be put online, and these virtual points are offline virtual points. Furthermore, the embodiment of the present invention classifies the online virtual points and POI points as online points, and classifies the offline virtual points as offline points.
[0090] In response to the type of the candidate point being an online point, it means that the point already has certain order data, and the order heat is determined according to the order heat of the candidate point, and the order heat is used to characterize the frequency of initiating orders with the candidate point in historical orders. That is, the frequency of selecting the candidate point to initiate orders in historical orders. The frequency of initiating orders can be the number of orders that select the candidate point to initiate orders within a historical predetermined time period (e.g., 3 months, 6 months, etc.).
[0091] In response to the type of the candidate point being an offline point, indicating that the point has no order data or less order data, the order heat is determined according to the arrival heat of the candidate point, and the arrival heat is used to characterize the frequency of using the area where the candidate point is located as the arrival area in historical orders, and the area is a pre-divided grid. Specifically, based on Geohash (longitude and latitude hash) coding, a grid is obtained as the area, and the area where the offline point is located is determined as the arrival area, and the frequency of initiating orders with the arrival area in historical orders is determined, wherein the frequency of initiating orders can be the number of orders in the arrival area at the arrival location within a historical predetermined time period (e.g., 3 months, 6 months, etc.).
[0092] Therefore, the real world is divided into several Geohash-coded grid cells, each of which represents a certain geographical area. By calculating the frequency of user arrivals in these grid cells, the points are assigned preliminary arrival heat, thus providing a ranking basis for the newly generated virtual points.
[0093] Step S105: Determine the ranking scores of the candidate points.
[0094] In this embodiment, the order heat is normalized to obtain the first ranking score, the ranking score of the candidate point is set to the first ranking score, and in response to obtaining the second ranking score of the candidate point, the ranking score of the candidate point is set to the second ranking score, and the second ranking score is pre-set.
[0095] Specifically, since the order heat of the offline points is the arrival heat, and the order heat of the online points is the order issuance heat, the arrival heat and the order issuance heat belong to different dimensions. Therefore, the arrival heat and the order issuance heat need to be normalized to obtain the first ranking score of the same dimension.
[0096] In a specific implementation, the order heat is normalized to obtain the first ranking score by taking the product of the order heat and the first weight as the first ranking score, and taking the product of the arrival heat and the second weight as the first ranking score. The first weight and the second weight can be set according to actual conditions. For example, assuming that the first ranking score is set between 0 and 100 points, within a certain geographical location (e.g., a geographical location based on city division), the maximum order heat of all online points is A. max , then the first weight can be set to 100 / (A max +C), where C is a constant greater than or equal to 0. Within a certain geographical location (e.g., a geographical location based on city division), the maximum value of the arrival heat of all offline points is B max , then the second weight can be set to 100 / (B max + C), where C is a constant greater than or equal to 0. In this way, the normalization of the arrival heat and the order heat can be achieved.
[0097] It should be noted that the normalization processing shown above is only an example provided by the embodiment of the present invention. The embodiment of the present invention does not limit the method of normalization processing, and it can be implemented based on various existing methods.
[0098] At the same time, in actual business scenarios, the system may not be able to fully meet business needs based on the automatically generated first ranking score, especially when it is necessary to give priority to displaying certain important points, or when it is necessary to shield certain points in specific scenarios, the automatic sorting logic cannot adapt to all situations. In order to meet such diverse needs, the embodiment of the present invention designs a manual intervention mechanism based on the second ranking score to flexibly adjust the display order of the points. The manual intervention mechanism design divides the second ranking score of each point into multiple intervals, which correspond to different processing logics.
[0099] Specifically, the second ranking score of each point is divided into two intervals, namely the first interval and the second interval. The operation and maintenance personnel can selectively pre-configure the second ranking score of each point. For points that no longer need to be displayed or need to be temporarily hidden, the corresponding second ranking score is set to the first interval. Such points may no longer be suitable as display content due to location changes, naming errors or other business adjustments. For points that need to be displayed, they can be set to the second interval. In the second interval, manual intervention can directly affect the display order of the points in the user interface by adjusting the ranking score of the points. By increasing the score, the priority of a certain point can be increased manually, so that it can be moved forward in the display position of the user interface, and even placed in the first place. For example, when a certain point needs to be particularly prominent in a certain period of time or a specific business scenario, the ranking score can be adjusted to the highest manually to ensure that the point is always displayed at the forefront. On the contrary, reducing the score can reduce the display priority of the point, which is suitable for those points that have weak display needs or do not need to be emphasized temporarily. In some embodiments, the first ranking score is within an interval greater than or equal to 0 and less than or equal to 100. Thus, the first interval may be 0, and the second interval may be any interval greater than 100, for example, an interval greater than 100 and less than 200.
[0100] In some embodiments, in response to the second ranking score being in the first interval, the server removes or hides the corresponding candidate point.
[0101] Furthermore, after receiving the second ranking score set by the operation and maintenance personnel for the point, the server stores the point and the corresponding second ranking score in the database. After obtaining the candidate point, it is detected whether there is a second ranking score of the candidate point in the database, and in response to obtaining the second ranking score of the candidate point, the ranking score of the candidate point is set to the second ranking score, and the second ranking score is preset.
[0102] In summary, after acquiring the candidate points, the embodiment of the present invention first determines the first ranking score of each candidate point, and then detects whether each candidate point has a second ranking score. If there is a second ranking score, the ranking score of the corresponding candidate point is set to the second ranking score. For example, assuming that there are 8 candidate points, namely W1-W8, and the corresponding first ranking scores are F1-F8, respectively. Assuming that the candidate points W2 and W5 have second ranking scores, respectively G2 and G5, the final ranking scores of W1-W8 obtained in the above manner are F1, G2, F3, F4, G5, F6, F7, F8.
[0103] In order to ensure that manual intervention does not interfere with the accuracy of the system's automated sorting logic, especially the heat calculation, the embodiment of the present invention adopts a strategy of separating manual editing scores from automated process scores. Manual intervention only affects the final display order of the points in the user interface, but does not directly participate in the heat calculation of the system. In the specific execution process, the manually adjusted scores are only used to cover the display priority, and will not change the actual heat score generated by the system based on the actual order data. This design avoids data confusion or heat distortion that may be caused by manual adjustment. Through the introduction of the manual intervention mechanism, the system can flexibly respond to diverse business needs while ensuring the stability and accuracy of the system's automated sorting logic. The controllable design of manual intervention not only avoids excessive manual interference with the automated process, but also provides sufficient flexibility to adapt to special scenarios when necessary. Finally, the manually adjusted intervention logic ensures the flexibility of point sorting, while ensuring the consistency and accuracy of the overall sorting algorithm of the system, and will not destroy the system's automated sorting principles due to manual operation.
[0104] Step S106: Acquire the first point.
[0105] In this embodiment, after the server obtains the ranking scores of each candidate point, it selects a first number of candidate points as the first point in descending order of the ranking scores. The first number can be set according to actual needs, such as 1, 2, 3, 4, etc. Take the first number of 3 as an example to illustrate, and select the three candidate points with the highest ranking scores as the first point.
[0106] Step S107, obtaining a second point.
[0107] In this embodiment, a second number of candidate points are randomly obtained as the second point, and the second point is different from the first point. The second number can be set according to actual needs, such as 1, 2, 3, 4, etc. Take the second number as 3 as an example, exclude the first point from the multiple candidate points, and randomly select three candidate points from the remaining other points as the second point.
[0108] Step S108: Send the recommended points.
[0109] In this embodiment, in steps S106-S107, the server determines multiple recommended points according to the ranking scores of each candidate point, and sends the recommended points to the user terminal, wherein the recommended points include a first point and a second point. The first point is a point obtained in descending order according to the ranking scores, and the second point is a randomly obtained point that does not overlap with the first point.
[0110] In some embodiments, the server sends the recommended points by sending push data to the user terminal, wherein the push data includes the recommended points.
[0111] In some embodiments, the pushed data also includes a ranking score of each point.
[0112] Step S109: display recommended points.
[0113] In this embodiment, the user terminal displays a position display interface, displays the first point position at a fixed position of the position display interface, and displays the second point position at a random position of the position display interface, and the fixed position is arranged in front of the random position.
[0114] Figure 3 FIG. 1 is a schematic diagram of an exemplary location display interface of an embodiment of the present invention. Figure 3 As shown, the position display interface of the embodiment of the present invention includes a target position input area D1 and a recommended point display area D2. The recommended point display area D2 includes a fixed position D3 and a random position D4. The fixed position is arranged in front of the random position.
[0115] In some embodiments, the multiple first points may be displayed in multiple fixed positions in order according to the sizes of the ranking scores.
[0116] In some embodiments, the plurality of second points may be displayed in a plurality of random positions in order according to the size of the ranking scores, or the plurality of second points may be displayed randomly in a plurality of random positions.
[0117] Figure 4 It is a schematic diagram of another example of the location display interface of an embodiment of the present invention. In a specific implementation, assuming that the target location input by the user is xx railway station, the server obtains 8 candidate points and determines the corresponding ranking scores. Among them, the 8 candidate points and the corresponding ranking scores are: northeast exit (47 points), next to the south gate (73 points), underground parking area E (29 points), northwest gate (85 points), east gate entrance (56 points), taxi area (19 points), southwest gate exit (62 points), parking area F exit (91 points).
[0118] The server selects the three candidate points with the highest ranking scores as the first points, and randomly selects three candidate points as the second points. The three first points are: the exit of parking area F (91 points), the northwest gate (85 points), and the south gate (73 points). The three random points are: the northeast exit (47 points), the east gate entrance (56 points), and the taxi area (19 points). The location display interface displayed by the user terminal can be as follows Figure 4 shown.
[0119] In the traditional display method, due to the limited display space of the user interface, usually the page can only display a limited number of points at most. For example, for some large scenic spots, business districts or busy areas, there may be a large number of points, and it is difficult for these points to be fully exposed at one time in the limited display space. This may cause some points with lower popularity to be unable to be seen by users for a long time, thereby affecting the order data accumulation and heat calculation of the system. Therefore, the embodiment of the present invention can push more accurate points to users by combining the first point and the second point to display, and by obtaining and displaying the first point in order from high to low, thereby ensuring the reliability and accuracy of the location push. By randomly obtaining and displaying the second point that is not repeated with the first point, more order data can be accumulated, thereby gradually increasing the popularity of these points and avoiding the cold start problem caused by long-term lack of display. This exposure logic not only ensures the stable display of high-heat points, but also provides fair exposure opportunities for low-heat points, thereby optimizing the overall display effect.
[0120] On the front-end user interface, virtual points and real points are mixed in calculation and display. By combining the arrival heat and order heat of the point, the system is able to provide users with a unified sorting result. This mixed display method ensures that the points that users see on the interface have consistent sorting logic, whether it is a virtual point or a real point. At the same time, in the data storage and maintenance of the server, a separate database is built for virtual points for management, which can ensure that the server effectively isolates different types of points and avoids confusion during storage, updating or maintenance. The data management library of virtual points can be optimized according to their unique characteristics, such as more frequent data updates, more flexible heat adjustments, etc.
[0121] In some embodiments, for an offline point, in response to the offline point satisfying a predetermined condition, the offline point is updated to an online point. The predetermined condition is that the number of orders issued for the offline point is greater than or equal to a predetermined number, or the predetermined condition is that the usage time of the offline point is greater than a predetermined time.
[0122] Therefore, for new points, in the cold start phase, the points are sorted by arrival heat. Arrival heat is based on the frequency of users arriving at a certain geographic location, even if the point has not been used to initiate orders for the time being. As users gradually place orders at these points, when a certain number of orders have accumulated, or when the point has been used for a certain period of time, the order heat is gradually introduced for sorting. This strategy aims to filter out points that users often visit but do not choose as the starting point of an order, which usually means that there may be problems with the naming or location of the point or it is not recognized by users.
[0123] The embodiment of the present invention receives a location acquisition request sent by a user terminal, the location acquisition request includes a target location, determines multiple recommended points according to the target location and the ranking scores of each point, the recommended points include at least one first point and at least one second point, the first point is a point acquired in descending order according to the ranking score, and the second point is a randomly acquired point that does not overlap with the first point, and sends the recommended point to the user terminal. Therefore, by pushing the first point, the reliability and accuracy of the location push can be guaranteed, and by pushing the second point, data can be quickly accumulated for the points that lack data, thereby providing a basis for heat sorting and display.
[0124] Figure 5 FIG. 1 is a flow chart of a method for pushing a location of a server according to an embodiment of the present invention. Figure 5 As shown, the location push method of the server in the embodiment of the present invention includes the following steps:
[0125] Step S210: receiving a location acquisition request sent by a user terminal, wherein the location acquisition request includes a target location.
[0126] Step S220: determine a plurality of recommended points according to the target position and the ranking scores of the respective points, wherein the recommended points include at least one first point and at least one second point, wherein the first point is a point obtained in descending order according to the ranking scores, and the second point is a randomly obtained point that does not overlap with the first point.
[0127] Step S230: Send the recommended point to the user terminal.
[0128] In some embodiments, determining a plurality of recommended points according to the target location and the ranking scores of each point includes:
[0129] Acquire multiple candidate points according to the target position;
[0130] Determining the ranking score of the candidate point;
[0131] Multiple recommended points are determined according to the ranking scores of the candidate points.
[0132] In some embodiments, determining the ranking score of the candidate point comprises:
[0133] Determine the type corresponding to each candidate point;
[0134] Determine the order popularity corresponding to each candidate point according to the type;
[0135] The ranking score is determined according to the order popularity.
[0136] In some embodiments, the types include online points and offline points, the online points include POI points and online virtual points, and the offline points are offline virtual points.
[0137] In some embodiments, determining the order popularity corresponding to each candidate point according to the type includes:
[0138] In response to the type of the candidate point being an online point, determining the order heat according to the order heat of the candidate point, wherein the order heat is used to characterize the frequency of initiating orders with the candidate point in historical orders;
[0139] In response to the type of the candidate point being an offline point, the order heat is determined according to the arrival heat of the candidate point, and the arrival heat is used to characterize the frequency of using the area where the candidate point is located as the arrival area in historical orders, and the area is a pre-divided grid.
[0140] In some embodiments, determining the ranking score according to the order popularity includes:
[0141] Normalizing the order heat to obtain the first ranking score;
[0142] The ranking score of the candidate point is set to the first ranking score.
[0143] In some embodiments, determining the ranking score according to the order popularity further includes:
[0144] In response to acquiring the second ranking score of the candidate point, the ranking score of the candidate point is set to the second ranking score, where the second ranking score is preset.
[0145] In some embodiments, the second ranking score includes a first interval and a second interval, and the method further includes:
[0146] In response to the second ranking score being in the first interval, the corresponding candidate point is removed or hidden.
[0147] In some embodiments, determining a plurality of recommended points according to the ranking scores of the candidate points includes:
[0148] Selecting a first number of candidate points as the first point in descending order of ranking scores;
[0149] A second number of candidate points are randomly acquired as second points, where the second points are different from the first points.
[0150] The embodiment of the present invention receives a location acquisition request sent by a user terminal, the location acquisition request includes a target location, determines multiple recommended points according to the target location and the ranking scores of each point, the recommended points include at least one first point and at least one second point, the first point is a point acquired in descending order according to the ranking score, and the second point is a randomly acquired point that does not overlap with the first point, and sends the recommended point to the user terminal. Therefore, by pushing the first point, the reliability and accuracy of the location push can be guaranteed, and by pushing the second point, data can be quickly accumulated for the points that lack data, thereby providing a basis for heat sorting and display.
[0151] Figure 6 FIG. 1 is a flow chart of a method for pushing a location of a user terminal according to an embodiment of the present invention. Figure 6 As shown, the method for pushing the location of a user terminal in an embodiment of the present invention includes the following steps:
[0152] Step S310: sending a location acquisition request to a server, wherein the location acquisition request includes a target location.
[0153] Step S320, receiving multiple recommended points sent by the server, the recommended points including at least one first point and at least one second point, the first point is a point obtained in descending order according to the ranking score, and the second point is a randomly obtained point that does not overlap with the first point.
[0154] Step S330: display the recommended points.
[0155] In some embodiments, displaying the recommended location includes:
[0156] Display the first point at a fixed position on the position display interface;
[0157] The second point position is displayed at a random position of the position display interface, and the fixed position is arranged in front of the random position.
[0158] The embodiment of the present invention receives a location acquisition request sent by a user terminal, the location acquisition request includes a target location, determines multiple recommended points according to the target location and the ranking scores of each point, the recommended points include at least one first point and at least one second point, the first point is a point acquired in descending order according to the ranking score, and the second point is a randomly acquired point that does not overlap with the first point, and sends the recommended point to the user terminal. Therefore, by pushing the first point, the reliability and accuracy of the location push can be guaranteed, and by pushing the second point, data can be quickly accumulated for the points that lack data, thereby providing a basis for heat sorting and display.
[0159] Figure 7 Schematic diagram of a server location push device according to an embodiment of the present invention. Figure 7 As shown, the location push device of the server of the embodiment of the present invention includes a request receiving unit 71, a recommended point determination unit 72 and a recommended point sending unit 73. Among them, the request receiving unit 71 is used to receive a location acquisition request sent by a user terminal, and the location acquisition request includes a target location. The recommended point determination unit 72 is used to determine multiple recommended points according to the target location and the ranking scores of each point, and the recommended points include at least one first point and at least one second point, the first point is a point obtained in descending order according to the ranking score, and the second point is a randomly obtained point that does not overlap with the first point. The recommended point sending unit 73 is used to send the recommended point to the user terminal.
[0160] In some embodiments, the recommended point determination unit includes:
[0161] A candidate point determination subunit, used to obtain a plurality of candidate points according to the target position;
[0162] A ranking score determination subunit, used to determine the ranking score of the candidate point;
[0163] The recommended point determination subunit is used to determine multiple recommended points according to the ranking scores of each candidate point.
[0164] In some embodiments, the ranking score determination subunit includes:
[0165] A type determination module is used to determine the type corresponding to each candidate point;
[0166] An order heat determination module, used to determine the order heat corresponding to each candidate point according to the type;
[0167] A ranking score determination module is used to determine the ranking score according to the order popularity.
[0168] In some embodiments, the types include online points and offline points, the online points include POI points and online virtual points, and the offline points are offline virtual points.
[0169] In some embodiments, the order heat determination module includes:
[0170] A first heat determination submodule is used for determining the order heat according to the order heat of the candidate point in response to the type of the candidate point being an online point, wherein the order heat is used to characterize the frequency of initiating orders with the candidate point in historical orders;
[0171] The second heat determination submodule is used to determine the order heat in response to the type of the candidate point being an offline point and according to the arrival heat of the candidate point, wherein the arrival heat is used to characterize the frequency of using the area where the candidate point is located as the arrival area in historical orders, and the area is a pre-divided grid.
[0172] In some embodiments, the ranking score determination module includes:
[0173] A first determination submodule, configured to normalize the order heat to obtain the first ranking score;
[0174] The second determining submodule is configured to set the ranking score of the candidate point to the first ranking score.
[0175] In some embodiments, the ranking score determination module further comprises:
[0176] The third determining submodule is configured to, in response to obtaining the second ranking score of the candidate point, set the ranking score of the candidate point to the second ranking score, where the second ranking score is preset.
[0177] In some embodiments, the second ranking score includes a first interval and a second interval, and the apparatus further includes:
[0178] A removing unit is configured to remove or hide the corresponding candidate point in response to the second ranking score being in the first interval.
[0179] In some embodiments, the recommended point determination unit includes:
[0180] A first point determination subunit is used to select a first number of candidate points as the first point in descending order of ranking scores;
[0181] The second point position determination subunit is used to randomly obtain a second number of candidate points as second points, and the second points are different from the first points.
[0182] The embodiment of the present invention receives a location acquisition request sent by a user terminal, the location acquisition request includes a target location, determines multiple recommended points according to the target location and the ranking scores of each point, the recommended points include at least one first point and at least one second point, the first point is a point acquired in descending order according to the ranking score, and the second point is a randomly acquired point that does not overlap with the first point, and sends the recommended point to the user terminal. Therefore, by pushing the first point, the reliability and accuracy of the location push can be guaranteed, and by pushing the second point, data can be quickly accumulated for the points that lack data, thereby providing a basis for heat sorting and display.
[0183] Figure 8 Schematic diagram of a device for pushing a location of a user terminal according to an embodiment of the present invention. Figure 8 As shown, the location push device of the user terminal of the embodiment of the present invention includes a request sending unit 81, a recommended point receiving unit 82 and a recommended point display unit 83. Among them, the request sending unit 81 is used to send a location acquisition request to the server, and the location acquisition request includes a target location. The recommended point receiving unit 82 is used to receive multiple recommended points sent by the server, and the recommended points include at least one first point and at least one second point. The first point is a point obtained in descending order according to the ranking score, and the second point is a randomly obtained point that does not overlap with the first point. The recommended point display unit 83 is used to display the recommended point.
[0184] In some embodiments, the recommended location display unit includes:
[0185] A first display subunit, used to display the first point position at a fixed position of the position display interface;
[0186] The second display subunit is used to display the second point position at a random position of the position display interface, and the fixed position is arranged in front of the random position.
[0187] The embodiment of the present invention receives a location acquisition request sent by a user terminal, the location acquisition request includes a target location, determines multiple recommended points according to the target location and the ranking scores of each point, the recommended points include at least one first point and at least one second point, the first point is a point acquired in descending order according to the ranking score, and the second point is a randomly acquired point that does not overlap with the first point, and sends the recommended point to the user terminal. Therefore, by pushing the first point, the reliability and accuracy of the location push can be guaranteed, and by pushing the second point, data can be quickly accumulated for the points that lack data, thereby providing a basis for heat sorting and display.
[0188] Fig. 9 Schematic diagram of an electronic device according to an embodiment of the present invention. Fig. 9 As shown, Fig. 9The electronic device shown is a general data processing device, which includes a general computer hardware structure, which at least includes a processor 91 and a memory 92. The processor 91 and the memory 92 are connected via a bus 93. The memory 92 is suitable for storing instructions or programs executable by the processor 91. The processor 91 can be an independent microprocessor or a collection of one or more microprocessors. Thus, the processor 91 executes the instructions stored in the memory 92, thereby executing the method flow of the embodiment of the present invention as described above to realize the processing of data and the control of other devices. The bus 93 connects the above-mentioned multiple components together, and at the same time connects the above-mentioned components to the display controller 94 and the display device and the input / output (I / O) device 95. The input / output (I / O) device 95 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a somatosensory input device, a printer, and other devices known in the art. Typically, the input / output device 95 is connected to the system via an input / output (I / O) controller 96.
[0189] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices (equipment) or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0190] The present application is described with reference to flowcharts of methods, apparatuses (devices) and computer program products according to embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.
[0191] These computer program instructions may be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device that implements the process Figure 1 A function specified in a process or multiple processes.
[0192] These computer program instructions may also be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce the instructions for implementing the process Figure 1 A device that specifies functions in a process or multiple processes.
[0193] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, wherein the computer-readable program is used for a computer to execute part or all of the above method embodiments.
[0194] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by specifying relevant hardware through a program, and the program is stored in a storage medium, including several instructions for a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0195] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A location push method, characterized in that: The method comprises: Receiving a location acquisition request sent by a user terminal, wherein the location acquisition request includes a target location; Determine a plurality of recommended points according to the target position and the ranking scores of each point, wherein the recommended points include at least one first point and at least one second point, wherein the first point is a point obtained in descending order according to the ranking scores, and the second point is a point obtained randomly and does not overlap with the first point; The recommended point is sent to the user terminal.
2. The method according to claim 1, characterized in that The step of determining a plurality of recommended points according to the target position and the ranking scores of each point includes: Acquire multiple candidate points according to the target position; Determining the ranking scores of the candidate points; Multiple recommended points are determined according to the ranking scores of the candidate points.
3. The method according to claim 2, characterized in that Determining the ranking scores of the candidate points includes: Determine the type corresponding to each candidate point; Determine the order popularity corresponding to each candidate point according to the type; The ranking score is determined according to the order popularity.
4. The method according to claim 3, characterized in that The types include online points and offline points. The online points include POI points and online virtual points. The offline points are virtual points that are not online.
5. The method according to claim 4, characterized in that Determining the order heat corresponding to each candidate point according to the type includes: In response to the type of the candidate point being an online point, determining the order heat according to the order heat of the candidate point, wherein the order heat is used to characterize the frequency of initiating orders with the candidate point in historical orders; In response to the type of the candidate point being an offline point, the order heat is determined according to the arrival heat of the candidate point, and the arrival heat is used to characterize the frequency of using the area where the candidate point is located as the arrival area in historical orders, and the area is a pre-divided grid.
6. The method according to claim 3, characterized in that Determining the ranking score according to the order popularity includes: Normalizing the order heat to obtain a first ranking score; The ranking score of the candidate point is set as the first ranking score.
7. The method according to claim 6, characterized in that Determining the ranking score according to the order popularity also includes: In response to acquiring the second ranking score of the candidate point, the ranking score of the candidate point is set to the second ranking score, where the second ranking score is preset.
8. The method according to claim 7, characterized in that The second ranking score includes a first interval and a second interval, and the method further includes: In response to the second ranking score being in the first interval, the corresponding candidate point is removed or hidden.
9. The method according to claim 2, characterized in that: Determining a plurality of recommended points according to the ranking scores of the candidate points includes: Selecting a first number of candidate points as the first point in descending order of ranking scores; A second number of candidate points are randomly acquired as second points, where the second points are different from the first points.
10. A location push method, characterized in that: The method comprises: A location acquisition request sent to a server, wherein the location acquisition request includes a target location; Receive multiple recommended points sent by a server, the recommended points including at least one first point and at least one second point, the first point is a point obtained in descending order according to the ranking score, and the second point is a randomly obtained point that does not overlap with the first point; The recommended points are displayed.
11. The method according to claim 10, characterized in that The display of the recommended points includes: Display the first point at a fixed position on the position display interface; The second point position is displayed at a random position of the position display interface, and the fixed position is arranged in front of the random position.
12. A position push device, characterized in that: The device comprises: A request receiving unit, configured to receive a location acquisition request sent by a user terminal, wherein the location acquisition request includes a target location; a recommended point determination unit, configured to determine a plurality of recommended points according to the target position and the ranking scores of the respective points, wherein the recommended points include at least one first point and at least one second point, wherein the first point is a point obtained in descending order according to the ranking scores, and the second point is a point obtained randomly and does not overlap with the first point; The recommended point sending unit is used to send the recommended point to the user terminal.
13. A position push device, characterized in that: The device comprises: A request sending unit, configured to send a location acquisition request to a server, wherein the location acquisition request includes a target location; A recommended point receiving unit, configured to receive a plurality of recommended points sent by a server, wherein the recommended points include at least one first point and at least one second point, wherein the first point is a point obtained in descending order according to the ranking score, and the second point is a point obtained randomly and does not overlap with the first point; The recommended point display unit is used to display the recommended points.
14. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1-11.
15. A computer program product, comprising a computer program, characterized in that: When the computer program is executed on a computer, the computer executes the method according to any one of claims 1 to 11.
16. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 11 when executed by a processor.
Citation Information
Patent Citations
Content recommendation method and system, computer equipment and storage medium
CN112231590A
Position recommendation method and device and electronic equipment
CN112785393A
Methods and systems for recommending pick-up points
US20220248170A1