A hot spot area prediction method and device

By calculating historical order data to determine the ordering of hot area blocks and predicting hot areas in the same period in the future, it solves the problem of poor hot area prediction accuracy and timeliness in the existing technology, and achieves finer-grained predictions and more efficient capacity scheduling.

CN111833079BActive Publication Date: 2024-10-22BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 22 Cites 0 Cited by

Patent Information

Application Number
CN201910300318.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-15
Publication Date
2024-10-22
Estimated Expiration
2039-04-15

AI Technical Summary

Technical Problem

Existing hot spot area prediction methods have low accuracy and poor timeliness, and cannot effectively predict single volume changes at different times of the day, resulting in inaccurate hot spot area prediction results and unreasonable situations such as hot spots all day long.

Method used

By obtaining the historical order data of the designated geographical area, the number of orders in each regional block is calculated, and the historical hotspot areas are determined based on the sorting. These data are used to predict hotspot areas in the same period in the future, improving the prediction granularity and accuracy, and simplifying the prediction process.

Benefits of technology

It achieves accurate prediction of hotspot areas within each statistical period, avoids unreasonable hotspot areas being hotspots all day long, improves the accuracy and efficiency of prediction, and is suitable for capacity scheduling in scenarios such as takeout and driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111833079B_ABST
    Figure CN111833079B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method and device for predicting hot spots, which includes: obtaining historical order data of a specified geographical area, obtaining the first order quantity corresponding to each area block in each first statistical period according to the historical order data, sorting the area blocks according to the first order quantity, determining the area corresponding to the target area block as the historical hot spot area in the first statistical period, and predicting the hot spot area in the second statistical period of the specified geographical area from the historical hot spot area in the first statistical period. This achieves the prediction of the hot spot area in the time period indicated by each statistical period, with finer prediction granularity, more accurate prediction results, and greatly improved prediction efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for predicting hotspot areas. Background Art

[0002] Currently, the hotspot area prediction uses the historical average of the number of orders to predict the total number of orders in a certain delivery area (for example, Wangfujing business district) in the future. Then, based on the historical proportion of the number of orders in each GeoHash block in the delivery area, the number of orders corresponding to each GeoHash block is predicted, and the hotspot area is obtained by sorting the number of orders in each GeoHash block.

[0003] This solution has low accuracy. Directly predicting the absolute order volume (for example, the order volume of a GeoHash block is 1,000) is highly random, and in practice, the order volume in most regions is small. If a merchant launches a new operation or stops cooperating, the regional order volume will fluctuate significantly. In addition, the timeliness of this solution is poor. The prediction and statistics of each GeoHash block are in days, which cannot well predict the changes in order volume at different times of the day. Summary of the invention

[0004] In view of this, a hot spot area prediction method and device are provided in the embodiments of the present application, and the prediction results are more accurate, avoiding the unreasonable situation that the hot spot area is a hot spot all day long, and simplifying the prediction process to achieve rapid prediction.

[0005] According to a first aspect of an embodiment of the present application, a hotspot area prediction method is provided, comprising:

[0006] Acquire historical order data of a specified geographical area, and obtain, according to the historical order data, a first order quantity corresponding to each regional block in each first statistical period, wherein the specified geographical area is composed of a plurality of the regional blocks;

[0007] The area blocks are sorted according to the first order quantity, and the area corresponding to the target area block is determined as the historical hot area in the first statistical period, and the target area block is a preset number of the area blocks that are ranked first;

[0008] The hot spots in the second statistical period of the designated geographic area are predicted based on the historical hot spots in the first statistical period, wherein the time period indicated by the second statistical period is equal to that indicated by the first statistical period.

[0009] According to a second aspect of an embodiment of the present application, a hotspot area prediction device is provided, comprising:

[0010] an order quantity determination unit, configured to obtain historical order data of a specified geographical area, and obtain a first order quantity corresponding to each regional block in each first statistical period according to the historical order data, wherein the specified geographical area is composed of a plurality of the regional blocks;

[0011] a historical hot spot determination unit, configured to sort the area blocks according to the first order quantity, and determine an area corresponding to a target area block as a historical hot spot area within the first statistical period, wherein the target area block is a preset number of the area blocks that are ranked first;

[0012] A prediction unit is used to predict the hotspot areas in a second statistical period of the designated geographic area based on the historical hotspot areas in the first statistical period, wherein the second statistical period is equal to the time period indicated by the first statistical period.

[0013] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor, and a memory storing a computer program that can be run on the processor; wherein the processor is used to perform the steps of the method according to the first aspect of the embodiment of the present application when executing the computer program in the memory.

[0014] According to the fourth aspect of the embodiments of the present application, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method according to the first aspect of the embodiments of the present application are implemented.

[0015] Beneficial effects: The hot spot area prediction method and device of the embodiment of the present invention is applied to obtain the historical order data of the specified geographical area, obtain the first order quantity corresponding to each area block in each first statistical period according to the historical order data, sort the area blocks according to the first order quantity to determine the historical hot spot areas in the first statistical period, and predict the hot spot areas in the second statistical period from the historical hot spot areas in the first statistical period. Thus, on the one hand, the prediction of the hot spot areas in the time period indicated by each statistical period is realized. Compared with the prediction scheme based on days, the prediction granularity of this embodiment is finer and the prediction result is more accurate, which avoids the unreasonable situation that the hot spot area is a hot spot all day long and ensures accuracy. On the other hand, the use of historical hot spot areas and hot spot time periods as the current hot spot areas and hot spot time periods simplifies the prediction process, realizes rapid prediction, and greatly improves efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a flow chart of a hotspot area prediction method according to an embodiment of the present application;

[0017] Figure 2is a block diagram of a hotspot area prediction device according to an embodiment of the present application;

[0018] Figure 3 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0019] Figure 4 It is a schematic diagram of the structure of a non-transitory computer-readable storage medium according to an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the embodiments of the present application.

[0021] In some business scenarios, it is often necessary to predict hot spots for decision-making reference. For example, in takeout scenarios and chauffeur-drive scenarios, scheduling is performed based on the predicted hot spots to achieve regional capacity balance, thereby improving scheduling effects and capacity utilization, and improving corporate benefits. Taking the takeout scenario as an example, the hot spot area prediction method of this embodiment is applied to predict hot spots and hot time periods with more takeout orders during the scheduling process, so as to schedule the corresponding scale of capacity in advance to support the delivery of orders during hot time periods and hot spots, effectively improving capacity utilization and shortening delivery time, and improving consumer satisfaction.

[0022] Figure 1 is a flowchart of a hotspot area prediction method according to an embodiment of the present application, see Figure 1 The hotspot area prediction method of this embodiment includes:

[0023] Step S101, obtaining historical order data of a specified geographical area, and obtaining the first order quantity corresponding to each regional block in each first statistical period according to the historical order data,

[0024] Wherein, the designated geographical area is composed of a plurality of the area blocks;

[0025] Step S102, sorting the area blocks according to the first order quantity, determining the area corresponding to the target area block as the historical hot spot area in the first statistical period, and the target area block is a preset number of the area blocks that are ranked first;

[0026] Step S103, predicting the hot spots in the second statistical period of the designated geographical area based on the historical hot spots in the first statistical period,

[0027] The time period indicated by the second statistical period is equal to the time period indicated by the first statistical period.

[0028] Depend on Figure 1 As shown, the hot spot area prediction method of this embodiment obtains the historical order data of the specified geographical area, obtains the first order quantity corresponding to each area block in each first statistical period according to the historical order data, sorts the area blocks according to the first order quantity, obtains the historical hot spot area in the first statistical period, and predicts the hot spot area in the second statistical period from the historical hot spot area. Compared with the traditional solution of dividing hot spot areas by static business districts, the technical solution of the embodiment of the present invention achieves the technical effect of rapid prediction and refinement of the hot spot area range, simplifies the prediction process, and ensures the accuracy of the prediction results.

[0029] In the aforementioned step, obtaining the number of first orders corresponding to each regional block in each first statistical period according to the historical order data includes: according to the order time in the historical order data, obtaining the first orders with the order time within the time period indicated by the first statistical period, converting the merchant geographic location in the first order to obtain the GeoHash code, counting the first orders with the same GeoHash code to obtain the number of orders of each regional block itself, and obtaining the number of first orders of the first regional block from the number of orders of the first regional block itself and the number of orders of the second regional blocks itself; wherein the first regional block is a regional block corresponding to the GeoHash code one by one, the second regional block is a regional block adjacent to the first regional block, the time period indicated by the first statistical period includes a first time period and multiple second time periods after the first time period, and the lengths of the first time period and the second time period are equal.

[0030] That is to say, in the embodiment of the present application, the orders of a certain area block itself and the orders of multiple surrounding area blocks are used as the orders of the area block to avoid the phenomenon of geographic location jump. The so-called geographic location jump phenomenon refers to the phenomenon that one of the two adjacent area blocks is a hot spot and the other is a non-hot spot. For example, the specified geographic location area can be divided into 100 rectangular areas, each rectangular area corresponds to a area block, and the number of orders of area block A (or the first area block) is the number of orders of area block A plus the number of orders of the surrounding 24 area blocks (i.e., the second area block). That is to say, the number of orders of area block A includes the number of orders of 25 area blocks in total, and so on, the first order number of the area block is calculated for these 100 area blocks. Since the number of orders of each area block is not only based on the orders of its own area but also includes the orders of the surrounding area blocks, the phenomenon of geographic location jump caused by unreasonable area block division is avoided, and the accuracy of hot spot area prediction is improved.

[0031] The number of orders for each regional block here is obtained by converting the merchant's geographical location in the orders received within a period of time to obtain the GeoHash code, and accumulating the first orders with the same GeoHash code. The sum of the orders is the number of orders for each regional block. For example, if the first statistical period is 12:00-12:45, then the orders received during this period, such as 80 orders, are calculated. Since each order includes the merchant's geographical location, the merchant's geographical location in the order can be converted to obtain the GeoHash code (such as W4ZXO), and the number of orders with the same GeoHash code in these 80 orders is counted. For example, if there are 25 orders with the same GeoHash code, then these 25 orders belong to the same regional block.

[0032] It should be noted that in order to improve the efficiency of order delivery, this embodiment divides the designated geographical area into multiple regional blocks, that is, the regional blocks are obtained after the designated geographical area is divided, and the designated geographical area is composed of multiple regional blocks. Each regional block is allocated a certain amount of transportation capacity to quickly respond to the delivery of takeaway orders within each regional block.

[0033] Taking Beijing Zhongguancun as an example, we divide Beijing Zhongguancun into multiple rectangular areas on the electronic map, and calculate the GeoHash code corresponding to each rectangular area. GeoHash converts two-dimensional longitude and latitude into a string, such as WX4ER, WX4G2, WX4G3, etc. Each code represents a rectangular area. In other words, all points (longitude and latitude coordinates) in this rectangular area share the same GeoHash code, which can protect privacy and make caching easier.

[0034] In addition, as mentioned above, the time period indicated by the first statistical period in the embodiment of the present application includes the first time period and multiple second time periods after the first time period. The reason why the time period indicated by each statistical period includes the first time period and multiple second time periods after the first time period is because this embodiment wants to achieve the effect of hotspot prediction, that is, predicting the changes in hotspots in the future at the current moment.

[0035] Continuing with the previous example, the time period indicated by the first statistical cycle is 12:00-12:45, which is specifically composed of the first time period (12:00-12:15) and two second time periods (12:16-12:30, 12:31-12:45). In this way, at the time point of 12:00, the hot spots for takeout orders in the future during the dispatch process are predicted, which facilitates capacity planning and scheduling while making scheduling decisions.

[0036] That is to say, the prediction time granularity in the embodiment of the present application is not based on a day but on a subdivided time period within a day. Specifically, in this embodiment, 24 hours a day is divided into multiple time periods, such as 15 minutes intervals, so 24 hours a day can be divided into 96 time periods. By comparing the number of orders in each area block in different time periods, the historical hot spots and the corresponding hot spots can be obtained.

[0037] For example, for the same day and the same designated geographical area, the top 5% GeoHash blocks and time periods are determined as hot spots and hot time periods. That is, the order quantities of multiple regional blocks (or GeoHash blocks) are sorted from small to large, and the preset number of regional blocks ranked at the top are determined as target regional blocks, and the area corresponding to the target regional blocks is determined as the historical hot spot area in the first statistical period. The preset number is based on the ratio and the total number of regional blocks. If the ratio is 5% and the total number of regional blocks is, for example, 100, then the preset number is 5, that is, the top 5 regional blocks are determined as target regional blocks, and the area corresponding to these 5 regional blocks is the hot spot area. Since the hot spot area is counted and predicted once in each first statistical period in this embodiment, the hot spot areas in multiple first statistical periods can be obtained, and the hot spot time period can be obtained according to the first statistical period corresponding to the hot spot area.

[0038] In this embodiment, after obtaining the historical hot spots and historical hot spots, the hot spots and hot spots are predicted for the current day using the historical data. Specifically, this embodiment obtains the historical order data for the specified geographical area, including: obtaining the historical order data for the previous day for the specified geographical area, and predicting the hot spots for the second statistical period for the specified geographical area from the historical hot spots in the first statistical period, including: using the historical hot spots in the first statistical period directly as the hot spots for the second statistical period for the specified geographical area on the current day, wherein the previous day and the current day are both working days, or the previous day and the current day are both rest days.

[0039] For example, the designated geographical area is Beijing Zhongguancun area, the day is Tuesday, Tuesday is a working day, and the previous day is Monday. Then in this embodiment, the hot spot prediction result of Zhongguancun area on Tuesday is to directly use the hot spot areas and hot spot time periods on Monday. In this way, the prediction results can be obtained quickly and complex calculations can be avoided. Moreover, according to the statistical data of long-term takeout orders, the number of takeout orders on Monday and Tuesday is not much different, so using the hot spot areas and hot spot time periods of the previous day directly as the hot spot areas and hot spot time periods of the day also ensures the accuracy of the prediction results. Of course, if the day is a rest day, then in order to ensure the prediction results, in this embodiment, the previous rest day is selected as the previous day, and the hot spot areas of the day are predicted based on the historical hot spot data of the previous day.

[0040] The above introduces a method for quickly determining the hot spots and time periods of the day. In practical applications, real-time changes within a certain area block, such as weather changes or a large-scale promotion organized by a merchant, will affect the orders that need to be delivered in the area and thus affect the key areas of scheduling. In order to improve the accuracy of the prediction results of the hot spots and to cope with such real-time changes and emergencies in the capacity scheduling process, in this embodiment, the LR (Logistic Regressive) model is used for classification verification to determine whether the hot spots determined in the above embodiment are true hot spots or false hot spots. By using real-time data as part of the training features, the consideration of real-time changes of the day is reflected. The relevant features here mainly include: real-time data features of the specified geographical area and real-time data features of the area block.

[0041] It should be noted that in this embodiment, when using the LR model for classification verification, the real-time characteristics of the specified geographical area are considered because of the actual needs of capacity scheduling in the takeaway scenario. For example, if two regional blocks have the same number of orders but are located in different geographical areas (one in Zhongguancun and the other in Wangjing), the judgment results of whether they are hot spots may be different, that is, one regional block may be a hot spot and the other regional block may not be a hot spot.

[0042] In other words, in this embodiment, whether a region block is a hotspot region not only considers the number of orders, but also the weather, delivery time, delivery distance and other factors of the designated geographical area where the region block is located, so as to comprehensively determine which region blocks are hotspot regions, thereby improving the accuracy of the prediction results. For example, the hotspot region prediction method of this embodiment further includes, after predicting the hotspot regions in the second statistical period of the designated geographical area from the historical hotspot regions in the first statistical period, obtaining the real-time delivery feature data of the designated geographical area and the real-time delivery feature data of the hotspot region, verifying the hotspot region based on the real-time delivery feature data of the designated geographical area and the real-time delivery feature data of the hotspot region, if the hotspot region passes the verification, then the hotspot region is marked as valid, if the hotspot region fails the verification, then the hotspot region is marked as invalid. The real-time delivery feature data here includes one or more of the following feature data: number of orders, weather, delivery time, delivery distance, transportation capacity, and commercial promotion.

[0043] The above-mentioned verification of the hot spot area based on the real-time delivery characteristic data of the designated geographical area and the real-time delivery characteristic data of the hot spot area includes: inputting the real-time delivery characteristic data of the designated geographical area and the real-time delivery characteristic data of the hot spot area as test data into a pre-trained logistic regression model to obtain a classification result output by the logistic regression model, and determining whether the hot spot area has passed or failed the verification based on the classification result, wherein the logistic regression model is trained using sample data, and the sample data includes the historical delivery characteristics of the designated geographical area and the historical delivery characteristics of each of the regional blocks, and the historical delivery characteristics include one or more of the following characteristics: order quantity, weather, delivery time, delivery distance, transportation capacity, and commercial promotion.

[0044] That is to say, in this embodiment, the historical distribution characteristics of the designated geographical area and the historical distribution data of the regional block are collected in advance as sample data for training the logistic regression model. The trained logistic regression model is used to verify the hotspot area. If the verification passes, the hotspot area is determined to be valid, that is, a true hotspot area. If the hotspot area fails the verification, it is invalid, that is, the hotspot area is determined to be a false hotspot area. The false hotspot area can be filtered out later and not be used as the focus of capacity scheduling, and the capacity can be concentrated to meet the order delivery needs of the hotspot area.

[0045] It should be noted that the historical delivery features correspond to the real-time delivery feature data. If the number of orders, weather and commercial promotions in the specified geographical area and regional block are selected as historical delivery features when training the logistic regression model, then in the subsequent model verification stage, the number of orders, weather and commercial promotions in the specified geographical area and the number of orders, weather and commercial promotions in the hot area are also obtained as real-time feature data for testing.

[0046] Note: How to train a logistic regression model is an existing technology, so please refer to the description in the existing technology and will not be repeated here.

[0047] It can be seen that in this embodiment, the hot spot areas predicted in the quick prediction embodiment are verified by considering the real-time changes of the designated geographical area and the hot spot areas within the designated geographical area during the scheduling process, and the real hot spot areas are selected as the focus of subsequent capacity scheduling, thereby improving the accuracy of hot spot area prediction and scheduling efficiency.

[0048] In order to improve the efficiency of scheduling and capacity distribution, in this embodiment, multiple hot spots with similar distances are aggregated. For example, after the hot spots of the specified geographical area are predicted, multiple hot spots within a preset distance threshold are aggregated into polygons based on the GeoHash coding prefix matching results. The capacity scheduling direction is determined by the area indicated by the polygon and the acquired geographic location information of the capacity, wherein the capacity scheduling direction includes: capacity from one hot spot area to another hot spot area, capacity from one hot spot area to a non-hot spot area, capacity from a non-hot spot area to a hot spot area, and capacity from one non-hot spot area to another non-hot spot area.

[0049] The GeoHash code is converted from the longitude and latitude coordinates of the point, so if the GeoHash code prefixes of the area blocks are the same, it means that the area blocks are close. For example, there are three hot spots within the preset distance threshold (such as 2 kilometers) whose GeoHash code prefixes are all Wx4. In this embodiment, these three hot spots are aggregated into polygons on the electronic map, and the capacity scheduling direction is determined by the area indicated by the polygon and the acquired geographic location information of the capacity. Taking into account that in actual applications, the capacity is active and its geographic location is not fixed, in this embodiment, multiple hot spots with similar distances are aggregated, and the capacity scheduling direction is determined by the polygon and the geographic location of the capacity. The capacity scheduling direction here includes: capacity from one hot spot area to another hot spot area, capacity from one hot spot area to a non-hot spot area, capacity from a non-hot spot area to a hot spot area, and capacity from one non-hot spot area to another non-hot spot area.

[0050] By considering the future order delivery situation in a larger area after aggregation in scheduling, the distribution of transportation capacity can be adjusted more reasonably, so that the transportation capacity can be supplemented to the areas with more order delivery tasks, thereby fully utilizing the transportation capacity and ensuring the order delivery efficiency.

[0051] The hot spot area prediction method mentioned above is of the same technical concept. The present application embodiment also provides a hot spot area prediction device, see Figure 2 The hotspot area prediction device 200 of this embodiment includes:

[0052] The order quantity determination unit 201 is used to obtain historical order data of a specified geographical area, and obtain the first order quantity corresponding to each regional block in each first statistical period according to the historical order data, wherein the specified geographical area is composed of a plurality of the regional blocks;

[0053] A historical hot spot determination unit 202 is used to sort the area blocks according to the first order quantity, and determine the area corresponding to the target area block as the historical hot spot area in the first statistical period, and the target area block is a preset number of the area blocks that are ranked first;

[0054] The prediction unit 203 is used to predict the hotspot areas in the second statistical period of the designated geographical area based on the historical hotspot areas in the first statistical period, wherein the time period indicated by the second statistical period is equal to that indicated by the first statistical period.

[0055] In one embodiment of the present invention, the order quantity determination unit 201 is specifically used to obtain, based on the order time in the historical order data, statistics of first orders with order time within the time period indicated by the first statistical period, convert the merchant geographic location in the first order to obtain a GeoHash code, count the first orders with the same GeoHash code, obtain the number of orders of each area block, and obtain the number of first orders of the first area block from the number of orders of the first area block and the number of orders of the second area blocks; wherein the first area block is a area block corresponding to the GeoHash code one by one, the second area block is a area block adjacent to the first area block, the time period indicated by the first statistical period includes a first time period and multiple second time periods after the first time period, and the lengths of the first time period and the second time period are equal.

[0056] In one embodiment of the present invention, the order quantity determination unit 201 is specifically used to obtain historical order data of the previous day for a specified geographical area, and the prediction unit 203 is specifically used to directly use the historical hot spot area within the first statistical period as the hot spot area within the second statistical period of the specified geographical area on the same day, wherein the previous day and the current day are both working days, or the previous day and the current day are both rest days.

[0057] In one embodiment of the present invention, Figure 2 The hot spot area prediction device shown further includes a verification unit, which is used to obtain the real-time distribution characteristic data of the designated geographical area and the real-time distribution characteristic data of the hot spot area, and verify the hot spot area based on the real-time distribution characteristic data of the designated geographical area and the real-time distribution characteristic data of the hot spot area. If the hot spot area passes the verification, the hot spot area is marked as valid; if the hot spot area fails the verification, the hot spot area is marked as invalid.

[0058] In one embodiment of the present invention, the real-time delivery characteristic data includes one or more of the following characteristic data: order quantity, weather, delivery time, delivery distance, transportation capacity, and commercial promotion.

[0059] In one embodiment of the present invention, the verification unit is specifically used to input the real-time delivery feature data of the designated geographic area and the real-time delivery feature data of the hot spot area as test data into a pre-trained logistic regression model to obtain a classification result output by the logistic regression model, and determine whether the hot spot area passes or fails the verification based on the classification result, wherein the logistic regression model is trained using sample data, and the sample data includes the real-time delivery characteristics of the designated geographic area and the historical delivery characteristics of each of the regional blocks, and the historical delivery characteristics include one or more of the following characteristics: order quantity, weather, delivery time, delivery distance, transportation capacity, and commercial promotion.

[0060] In one embodiment of the present invention, Figure 2 The hotspot area prediction device shown further includes: a scheduling unit, which is used to aggregate multiple hotspot areas within a preset distance threshold into polygons based on the GeoHash coding prefix matching results, and determine the capacity scheduling direction by the area indicated by the polygon and the acquired geographical location information of the capacity, wherein the capacity scheduling direction includes: capacity from one hotspot area to another hotspot area, capacity from a hotspot area to a non-hotspot area, capacity from a non-hotspot area to a hotspot area, and capacity from a non-hotspot area to another non-hotspot area.

[0061] about Figure 2 The example explanations of the functions performed by the various units in the hot spot area prediction device shown are consistent with the example explanations in the aforementioned method embodiment, and will not be repeated here one by one.

[0062] In summary, the hot spot area prediction method and device of this embodiment use statistics and map theory to determine the relative popularity of regional blocks, simplify the hot spot area prediction process and ensure accuracy, and combine actual application scenarios to achieve the effects of rapid prediction and range refinement, providing a decision-making reference for capacity scheduling.

[0063] It should be noted that:

[0064] The algorithm and display provided herein are not inherently related to any specific computer, virtual device or other equipment. Various general devices can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of device. In addition, the embodiment of the application is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the embodiment of the application described herein, and the description of the above specific language is to disclose the best mode of implementation of the embodiment of the application.

[0065] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0066] Similarly, it should be understood that in order to streamline the present disclosure and help understand one or more of the various application aspects, in the above description of the exemplary embodiments of the present application, the various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed embodiments of the present application require more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the application aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby explicitly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.

[0067] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0068] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the embodiments of the present application and to form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0069] The various component embodiments of the embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the page performance test device according to the embodiments of the present application. The application can also be implemented as a device or device program (e.g., computer program and computer program product) for performing a part or all of the methods described herein. Such a program implementing the embodiments of the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0070] For example, Figure 3 It is a schematic diagram of the structure of an electronic device of an embodiment of the present application. The electronic device 300 includes: a processor 301, and a memory 302 storing a computer program that can be run on the processor 301. The processor 301 is used to execute the steps of the method in the embodiment of the present application when executing the computer program in the memory 302. The memory 302 can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. The memory 302 has a storage space 303 for storing a computer program 304 for executing any method step in the above method. The computer program 304 can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are usually, for example Figure 4 Non-transitory computer-readable storage medium shown.

[0071] Figure 4 4 is a schematic diagram of the structure of a non-transitory computer-readable storage medium of an embodiment of the present application. The computer-readable storage medium 400 stores a computer program 304 for executing the method steps according to the embodiment of the present application, which can be read by the processor 301 of the electronic device 300. When the computer program 304 is executed by the electronic device 300, the electronic device 300 executes the various steps in the method described above. Specifically, the computer program 304 stored in the computer-readable storage medium can execute the method shown in any of the above embodiments. The computer program 304 can be compressed in an appropriate form.

[0072] It should be noted that the above embodiments illustrate rather than limit the embodiments of the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The embodiments of the present application may be implemented by means of hardware including several different elements and by means of appropriately programmed computers. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words, second, and third, etc. does not indicate any order, and these words may be interpreted as names.

Claims

1. A hot spot area prediction method, characterized in that: include: Acquire historical order data of a specified geographical area, and obtain, according to the historical order data, a first order quantity corresponding to each regional block in each first statistical period, wherein the specified geographical area is composed of a plurality of the regional blocks; The area blocks are sorted according to the first order quantity, and the area corresponding to the target area block is determined as the historical hot area in the first statistical period, and the target area block is a preset number of the area blocks that are ranked first; Predicting the hot spots in the second statistical period of the designated geographical area from the historical hot spots in the first statistical period, wherein the second statistical period is equal to the time period indicated by the first statistical period; The obtaining, according to the historical order data, the first order quantity corresponding to each regional block in each first statistical period includes: According to the order time in the historical order data, first orders whose order time is within the time period indicated by the first statistical period are counted, the merchant geographic location in the first order is converted to obtain a GeoHash code, the first orders with the same GeoHash code are counted to obtain the number of orders of each regional block, and the number of orders of the first regional block and the number of orders of the second regional blocks are used to obtain the number of the first orders of the first regional block; The first area block is an area block corresponding to the GeoHash code one by one, the second area block is an area block adjacent to the first area block, the time period indicated by the first statistical period includes a first time period and a plurality of second time periods after the first time period, and the first time period and the second time period are equal in length; After the hot spots in the second statistical period of the designated geographical area are predicted from the historical hot spots in the first statistical period, the method further comprises: Acquire the real-time distribution characteristic data of the designated geographical area and the real-time distribution characteristic data of the hot spot area; Verifying the hotspot area using a logistic regression model based on the real-time delivery characteristic data of the designated geographic area and the real-time delivery characteristic data of the hotspot area; If the hotspot area passes the verification, the hotspot area is marked as valid; if the hotspot area fails the verification, the hotspot area is marked as invalid; The real-time delivery characteristic data includes one or more of the following characteristic data: order quantity, weather, delivery time, delivery distance, transportation capacity, and commercial promotion.

2. The method according to claim 1, characterized in that The obtaining of historical order data of a specified geographical area includes: The historical order data of the previous day of the designated geographical area is obtained, and the hot spots in the second statistical period of the designated geographical area are predicted based on the historical hot spots in the first statistical period, including: The historical hot spot areas in the first statistical period are directly used as the hot spot areas in the second statistical period of the designated geographical area on that day, wherein the previous day and the current day are both working days, or the previous day and the current day are both rest days.

3. The method according to claim 1, characterized in that The verifying the hotspot area according to the real-time distribution characteristic data of the designated geographical area and the real-time distribution characteristic data of the hotspot area comprises: The real-time delivery feature data of the designated geographic area and the real-time delivery feature data of the hot spot area are input as test data into a pre-trained logistic regression model to obtain a classification result output by the logistic regression model, and the classification result is used to determine whether the hot spot area has passed or failed the verification, wherein the logistic regression model is trained using sample data, and the sample data includes historical delivery features of the designated geographic area and historical delivery features of each of the regional blocks, and the historical delivery features include one or more of the following features: order quantity, weather, delivery time, delivery distance, transportation capacity, and commercial promotion.

4. The method according to any one of claims 1 to 3, characterized in that After the hotspot areas of the designated geographic area are predicted, multiple hotspot areas within a preset distance threshold are aggregated into polygons according to the GeoHash code prefix matching results, and the capacity dispatch direction is determined by the area indicated by the polygon and the acquired geographic location information of the capacity, wherein the capacity dispatch direction includes: capacity from one hotspot area to another hotspot area, capacity from one hotspot area to a non-hotspot area, capacity from a non-hotspot area to a hotspot area, and capacity from one non-hotspot area to another non-hotspot area.

5. A hot spot area prediction device, characterized in that: include: an order quantity determination unit, configured to obtain historical order data of a specified geographical area, and obtain a first order quantity corresponding to each regional block in each first statistical period according to the historical order data, wherein the specified geographical area is composed of a plurality of the regional blocks; a historical hot spot determination unit, configured to sort the area blocks according to the first order quantity, and determine an area corresponding to a target area block as a historical hot spot area within the first statistical period, wherein the target area block is a preset number of the area blocks that are ranked first; A prediction unit, configured to predict the hotspot areas in a second statistical period of the designated geographical area based on the historical hotspot areas in the first statistical period, wherein the second statistical period is equal to the time period indicated by the first statistical period; The obtaining, according to the historical order data, the first order quantity corresponding to each regional block in each first statistical period includes: According to the order time in the historical order data, first orders whose order time is within the time period indicated by the first statistical period are counted, the merchant geographic location in the first order is converted to obtain a GeoHash code, the first orders with the same GeoHash code are counted to obtain the number of orders of each regional block, and the number of orders of the first regional block and the number of orders of the second regional blocks are used to obtain the number of the first orders of the first regional block; The first area block is an area block corresponding to the GeoHash code one by one, the second area block is an area block adjacent to the first area block, the time period indicated by the first statistical period includes a first time period and a plurality of second time periods after the first time period, and the first time period and the second time period are equal in length; The device further comprises a verification unit, which is used to: Acquire the real-time distribution characteristic data of the designated geographical area and the real-time distribution characteristic data of the hot spot area; Verifying the hotspot area using a logistic regression model based on the real-time delivery characteristic data of the designated geographic area and the real-time delivery characteristic data of the hotspot area; If the hotspot area passes the verification, the hotspot area is marked as valid; if the hotspot area fails the verification, the hotspot area is marked as invalid; The real-time delivery characteristic data includes one or more of the following characteristic data: order quantity, weather, delivery time, delivery distance, transportation capacity, and commercial promotion.

6. An electronic device, characterized in that: The electronic device comprises: a processor, and a memory storing a computer program executable on the processor; The processor is configured to execute the steps of the method according to any one of claims 1 to 4 when executing the computer program in the memory.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method and device for predicting business hot spots

    CN104254083A

  • Dispatching method and dispatching system based on orders

    CN104599088A

  • Method and equipment for informing order supply and demand density

    CN104657933A

  • Order monitoring method and device

    CN105719109A

  • Recommendation method and device

    CN105808784A