A method, device, electronic device and storage medium for generating POI features
By dividing the time range, determining the path weight value and generating POI travel paths in the online car-hailing platform, the problem of inaccurate POI feature information is solved, and the server processing efficiency and user experience are improved.
Patent Information
- Application Number
- CN201910745782.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-13
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the existing online ride-hailing platform determines POI characteristic information, it ignores the differences in paths between POIs, resulting in inaccurate generated characteristic information and reducing the processing efficiency of the server.
By obtaining the completed service orders of the target client, dividing different time ranges, determining the path weight value between the starting point and the ending point POI, generating POI travel paths, and generating target feature information based on these paths to improve the accuracy and accuracy of the feature information. Server processing efficiency.
It improves the accuracy of POI feature information, improves the efficiency of data processing based on this information, and improves the quality and user experience of travel services.
Smart Images

Figure CN111832768B
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing technology, and in particular to a method, device, electronic device and storage medium for generating POI features. Background Art
[0002] As the travel needs of users increase, more and more users take taxis based on online ride-hailing platforms. Among them, online ride-hailing platforms analyze users' taxi orders to obtain feature information that represents the degree of correlation between different points of interest (POI) on the map, and provide users with better travel services through the feature information of these POIs.
[0003] At present, in the method of determining the characteristic information of POI by the online car-hailing platform, a POI is selected as the starting point, POIs are selected in an equal probability manner, and the characteristic information of the POI is determined based on the selected multiple POIs.
[0004] However, the above method ignores the difference in the paths between the two POIs, which will result in inaccurate feature information of the generated POIs, thereby reducing the processing efficiency of the server. Summary of the invention
[0005] In view of this, the purpose of the present application is to provide a method, device, electronic device and storage medium for generating POI features, which can improve the accuracy of the feature information of the generated POI, and thereby improve the processing efficiency of the server when performing data processing based on the feature information of the POI.
[0006] In a first aspect, an embodiment of the present application provides a method for generating a POI feature, comprising:
[0007] Obtain at least one completed service order corresponding to the target client; wherein each of the service orders includes service time information and a set of location information, and each set of location information includes a point of interest POI corresponding to a starting point and a POI corresponding to an end point;
[0008] Determine, according to the service time information respectively corresponding to the at least one service order, a path weight value between a POI corresponding to a starting point and a POI corresponding to an end point in each set of location information within different preset time ranges;
[0009] For each time range, generating at least one POI walking path corresponding to the time range according to the path weight value corresponding to each set of location information within the time range;
[0010] Based on at least one POI walking path corresponding to each time range, target feature information corresponding to each POI in the at least one POI walking path is determined; the target feature information is used to characterize the degree of correlation between different POIs corresponding to the target client.
[0011] In a possible implementation, after determining target feature information corresponding to each POI in the at least one POI walking path based on the at least one POI walking path corresponding to each time range, the method includes:
[0012] Obtaining current location information of the target client;
[0013] Inputting one or more of target feature information of the POI corresponding to the current location information and current time information, user information corresponding to the target client, and current weather information into a first prediction model, and outputting predicted destination information corresponding to the target client;
[0014] The predicted destination information is sent to the target client.
[0015] In a possible implementation, after determining target feature information corresponding to each POI in the at least one POI walking path based on the at least one POI walking path corresponding to each time range, the method includes:
[0016] Obtaining the current pending order and the current location information of the target client;
[0017] Inputting one or more of target feature information of the POI corresponding to the current location information and current time information, user information corresponding to the target client, and current weather information into a second prediction model, and outputting predicted destination information corresponding to the target client;
[0018] Selecting a candidate to-be-processed order including the predicted destination information from the to-be-processed orders;
[0019] Selecting a target order to be processed from the candidate orders to be processed whose starting point location information is less than a preset threshold from the current location information;
[0020] The target to-be-processed order is sent to the target client.
[0021] In a possible implementation, a method for determining a POI corresponding to any location information includes:
[0022] For each piece of location information in the service order, determine the target location range information to which the location information belongs;
[0023] According to the location range information respectively corresponding to each POI, the POI corresponding to the target location range information is determined as the POI corresponding to the location information.
[0024] In a possible implementation, determining, according to the service time information corresponding to the at least one service order, a path weight value between a POI corresponding to a starting point and a POI corresponding to an end point in each set of location information within different preset time ranges includes:
[0025] For each time range, obtaining at least one service order completed by the target client within the time range; wherein each of the service orders includes a set of location information;
[0026] For each set of location information, based on each set of location information respectively corresponding to the at least one service order within the time range, counting the number of service orders that include the set of location information within the time range;
[0027] Based on the number of service orders including the group of location information within the time range, a path weight value corresponding to the group of location information within the time range is determined.
[0028] In a possible implementation, for each time range, at least one POI walking path corresponding to the time range is generated according to the path weight value corresponding to each set of location information within the time range, including:
[0029] For each time range, any POI within the time range is randomly selected as the starting POI;
[0030] According to the path weight values between the starting POI and each end POI corresponding to the starting POI, a target end POI is selected from each end POI, and the target end POI is used as a new starting POI;
[0031] Return the step of selecting a target destination POI from each destination POI according to the path weight value between the starting POI and each destination POI, until the number of selected POIs meets the first threshold or there is no destination POI corresponding to the starting POI, and obtain a POI walking path with the starting POI as the starting point within the time range.
[0032] In a possible implementation manner, after obtaining the POI walking path within the time range with the starting point POI as the starting point, the method further includes:
[0033] Return to the step of randomly selecting any POI within the time range as the starting POI, until the number of POI travel paths obtained within the time range meets the second threshold.
[0034] In a possible implementation, based on at least one POI travel path corresponding to each time range, determining target feature information corresponding to each POI in the at least one POI travel path includes:
[0035] For each time range, based on at least one POI travel path corresponding to the time range, determining feature information corresponding to each POI in the at least one POI travel path within the time range;
[0036] For each POI, obtain the feature information corresponding to the POI in each time range;
[0037] Based on the characteristic information corresponding to the POI in each time range and the number of the time ranges, the target characteristic information corresponding to the POI is determined.
[0038] In a possible implementation, determining target characteristic information corresponding to the POI based on characteristic information corresponding to each time range of the POI and the number of the time ranges includes:
[0039] Determine the sum of the feature information corresponding to the POI in each time range;
[0040] A ratio of the sum of the feature information and the number of the time ranges is determined as target feature information corresponding to the POI.
[0041] In a possible implementation, determining target characteristic information corresponding to the POI based on characteristic information corresponding to each time range of the POI and the number of the time ranges includes:
[0042] Obtain the weight values corresponding to the POI in each time range;
[0043] Based on the characteristic information corresponding to the POI in each time range, the weight value and the number of the time ranges, the target characteristic information corresponding to the POI is determined.
[0044] In a possible implementation, determining target characteristic information corresponding to the POI based on characteristic information corresponding to each time range of the POI and the number of the time ranges includes:
[0045] The feature information corresponding to the POI in each time range is spliced to obtain the target feature information corresponding to the POI.
[0046] In a possible implementation, for each time range, based on at least one POI travel path corresponding to the time range, determining feature information corresponding to each POI in the at least one POI travel path within the time range includes:
[0047] For each time range, at least one POI travel path corresponding to the time range is input into the third prediction model to obtain feature information corresponding to each POI in the at least one POI travel path within the time range output by the third prediction model.
[0048] In a second aspect, an embodiment of the present application further provides a device for generating POI features, including:
[0049] A first acquisition module is used to acquire at least one completed service order corresponding to the target client; wherein each of the service orders includes service time information and a set of location information, and each set of location information includes a point of interest POI corresponding to a starting point and a POI corresponding to an end point;
[0050] A first determination module is used to determine, according to the service time information corresponding to the at least one service order, a path weight value between a POI corresponding to a starting point and a POI corresponding to an end point in each set of location information within a preset different time range;
[0051] A generating module, configured to generate, for each time range, at least one POI walking path corresponding to the time range according to the path weight value corresponding to each set of location information within the time range;
[0052] The second determination module is used to determine the target feature information corresponding to each POI in the at least one POI wandering path based on the at least one POI wandering path corresponding to each time range; the target feature information is used to characterize the correlation between different POIs corresponding to the target client.
[0053] In a possible implementation, the device further includes:
[0054] A second acquisition module is used to acquire the current location information of the target client after determining the target feature information corresponding to each POI in the at least one POI walking path based on the at least one POI walking path corresponding to each time range;
[0055] A first input module, used to input one or more of target feature information of the POI corresponding to the current location information and current time information, user information corresponding to the target client, and current weather information into a first prediction model, and output predicted destination information corresponding to the target client;
[0056] The first sending module is used to send the predicted destination information to the target client.
[0057] In a possible implementation, the device further includes:
[0058] A third acquisition module is used to acquire the current pending order and the current location information of the target client after determining the target feature information corresponding to each POI in the at least one POI travel path based on the at least one POI travel path corresponding to each time range;
[0059] A second input module is used to input one or more of the target feature information of the POI corresponding to the current location information and the current time information, the user information corresponding to the target client, and the current weather information into a third prediction model, and output the predicted destination information corresponding to the target client;
[0060] A first selection module, configured to select a candidate to-be-processed order including the predicted destination information from the to-be-processed orders;
[0061] A second selection module is used to select a target order to be processed from the candidate orders to be processed whose starting point location information is less than a preset threshold from the current location information;
[0062] The second sending module is used to send the target to-be-processed order to the target client.
[0063] In a possible implementation, the device further includes:
[0064] A third determination module is used to determine, for each piece of location information in the service order, target location range information to which the location information belongs according to the location range information respectively corresponding to each POI;
[0065] The fourth determining module is used to determine the POI corresponding to the target location range information as the POI corresponding to the location information.
[0066] In a possible implementation manner, the first determining module, when determining, according to the service time information respectively corresponding to the at least one service order, a path weight value between a POI corresponding to a starting point and a POI corresponding to an end point in each set of location information within a preset different time range, includes:
[0067] For each time range, obtaining at least one service order completed by the target client within the time range; wherein each of the service orders includes a set of location information;
[0068] For each set of location information, based on the respective sets of location information corresponding to the at least one service order obtained, counting the number of service orders including the set of location information;
[0069] Based on the number of the service orders, a path weight value corresponding to the group of location information within the time range is determined.
[0070] In a possible implementation, the generating module, for each time range, generates at least one POI walking path corresponding to the time range according to the path weight value corresponding to each set of location information within the time range, including:
[0071] For each time range, any POI within the time range is randomly selected as the starting POI;
[0072] According to the path weight values between the starting POI and each ending POI, a target ending POI is selected from each ending POI, and the target ending POI is used as a new starting POI;
[0073] Return the step of selecting a target destination POI from each destination POI according to the path weight value between the starting POI and each destination POI, until the number of selected POIs meets the first threshold or there is no destination POI corresponding to the starting POI, and obtain a POI walking path with the starting POI as the starting point within the time range.
[0074] In a possible implementation manner, after obtaining the POI walking path with the starting point POI as the starting point within the time range, the generation module further includes:
[0075] Return to the step of randomly selecting any POI within the time range as the starting POI, until the number of POI travel paths obtained within the time range meets the second threshold.
[0076] In a possible implementation manner, the second determining module, when determining the target feature information corresponding to each POI in the at least one POI walking path corresponding to each time range, includes:
[0077] For each time range, based on at least one POI travel path corresponding to the time range, determining feature information corresponding to each POI in the at least one POI travel path within the time range;
[0078] For each POI, obtain the feature information corresponding to the POI in each time range;
[0079] Based on the characteristic information corresponding to the POI in each time range and the number of the time ranges, the target characteristic information corresponding to the POI is determined.
[0080] In a possible implementation manner, the second determining module, when determining the target characteristic information corresponding to the POI based on the characteristic information corresponding to each time range of the POI and the number of the time ranges, includes:
[0081] Determine the sum of the feature information corresponding to the POI in each time range;
[0082] A ratio of the sum of the feature information and the number of the time ranges is determined as target feature information corresponding to the POI.
[0083] In a possible implementation manner, the second determining module, when determining the target characteristic information corresponding to the POI based on the characteristic information corresponding to each time range of the POI and the number of the time ranges, includes:
[0084] Obtain the weight values corresponding to the POI in each time range;
[0085] Based on the characteristic information corresponding to the POI in each time range, the weight value and the number of the time ranges, the target characteristic information corresponding to the POI is determined.
[0086] In a possible implementation manner, the second determining module, based on the characteristic information corresponding to the POI in each time range and the number of the time ranges, determines the target characteristic information corresponding to the POI, including:
[0087] The feature information corresponding to the POI in each time range is spliced to obtain the target feature information corresponding to the POI.
[0088] In a possible implementation manner, the second determining module, when determining, for each time range, based on at least one POI travel path corresponding to the time range, the feature information corresponding to each POI in the at least one POI travel path within the time range, includes:
[0089] For each time range, at least one POI travel path corresponding to the time range is input into the third prediction model to obtain feature information corresponding to each POI in the at least one POI travel path within the time range output by the third prediction model.
[0090] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the method for generating POI features as described above.
[0091] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for generating POI features as described above are executed.
[0092] The embodiment of the present application provides a method, device, electronic device and storage medium for generating POI features, which pre-divides multiple different time ranges. For each client, based on the service time information and a set of location information in the completed service order corresponding to the client, the path weight value between the starting point POI and the end point POI in each set of location information is determined within the preset different time ranges, and the POI walking path corresponding to each time range is determined based on the path weight value. Finally, based on the POI walking paths corresponding to each time range, the target feature information corresponding to each POI in the above POI walking path is generated. Through the above method, the accuracy of the generated POI feature information can be improved, and when data processing is performed based on the above POI feature information, the processing efficiency of the server can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0094] Figure 1 A flow chart of a method for generating POI features provided in an embodiment of the present application is shown;
[0095] Figure 2 A flowchart of another method for generating POI features provided in an embodiment of the present application is shown;
[0096] Figure 3 A flowchart of another method for generating POI features provided in an embodiment of the present application is shown;
[0097] Figure 4 A flowchart of another method for generating POI features provided in an embodiment of the present application is shown;
[0098] Figure 5 A flowchart of another method for generating POI features provided in an embodiment of the present application is shown;
[0099] Figure 6 A flowchart of another method for generating POI features provided in an embodiment of the present application is shown;
[0100] Figure 7 A flowchart of another method for generating POI features provided in an embodiment of the present application is shown;
[0101] Figure 8 A schematic diagram of the structure of a POI feature generation device provided in an embodiment of the present application is shown;
[0102] Fig. 9 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0103] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0104] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0105] In order to enable those skilled in the art to use the contents of this application, the following implementation methods are provided in conjunction with the specific application scenario "online car-hailing field". For those skilled in the art, the general principles defined here can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application is mainly described around the "method for generating POI features in the field of online car-hailing", it should be understood that this is only an exemplary embodiment.
[0106] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0107] The terms "passenger", "requester", "service requester" and "customer" in the embodiments of the present application are used interchangeably to refer to individuals, entities or tools that can request or order services. The terms "driver", "provider", "service provider" and "supplier" in the embodiments of the present application are used interchangeably to refer to individuals, entities or tools that can provide services.
[0108] The positioning technology used in the embodiments of the present application to obtain the location information can be based on the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the Compass Navigation System (COMPASS), the Galileo Positioning System, the Quasi-Zenith Satellite System (QZSS), the Wireless Fidelity (WiFi) positioning technology, etc., or any combination thereof. One or more of the above positioning systems can be used interchangeably in the present application.
[0109] In the field of online car-hailing, the online car-hailing platform selects POIs in an equal probability manner based on the service orders completed by the target client, and determines the characteristic information of each POI based on the selected POI. However, the above method does not take into account the differences between two different groups of POIs (here, each group of POIs includes two different POIs), which will lead to inaccurate characteristic information of the generated POIs, and then reduce the processing efficiency of the server when processing data based on the characteristic information of the POI.
[0110] Based on the above problems, the embodiments of the present application provide a method, device, electronic device and storage medium for generating POI features, which can improve the accuracy of the generated POI feature information, and further improve the processing efficiency of the server when performing data processing based on the POI feature information. The following is an explanation in conjunction with specific embodiments.
[0111] like Figure 1 As shown, a method for generating POI features is provided for an embodiment of the present application. The method can be applied to a server, and the method includes the following steps:
[0112] S101. Obtain at least one completed service order corresponding to a target client; wherein each of the service orders includes service time information and a set of location information, and each set of location information includes a point of interest POI corresponding to a starting point and a POI corresponding to an end point.
[0113] In the embodiment of the present application, the target client refers to an application (Application, APP) that can be run on a terminal device, and each target client corresponds to a user information; wherein different target clients correspond to different user information. Here, the user information can be passenger information or driver information.
[0114] Here, the completed service orders of the target client in the historical time period are obtained; for example, the completed service orders of the target client within one month before the current time are obtained; or, the completed service orders of the target client within two months before the current time are obtained.
[0115] As an implementation method, the service time information in the service order includes: the taxi date and the taxi time; for example, August 1, 2019, 9:00 a.m. to 10:00 a.m. Each set of location information in the service order includes: starting location information and end location information; the starting location information corresponds to a point of interest (POI), and the end location information corresponds to a end POI.
[0116] S102: Determine, according to the service time information corresponding to the at least one service order, a path weight value between a POI corresponding to a starting point and a POI corresponding to an end point in each set of location information within different preset time ranges.
[0117] As an implementation method, the server predetermines a date type and a time range of a day; wherein the date type includes weekdays and holidays, and the time range includes morning peak, daytime, evening peak, night, and early morning. Accordingly, the different time ranges determined by the server based on the date type and time range are: weekday morning peak, weekday daytime, weekday evening peak, weekday evening, weekday early morning; holiday morning peak, holiday daytime, holiday evening peak, holiday evening, holiday early morning.
[0118] As an optional implementation, the server records the five time ranges of morning peak, daytime, evening peak, night, and early morning with numbers 1-5, and the above ten different time ranges (that is, ten relationships) are weekday_1 to weekday_5, and holiday_1 to holiday_5.
[0119] As an implementation method, for each service order, the service order is first divided into the above ten time ranges (i.e., ten relationships) according to the taxi date and taxi time in the service order. For example, if the user takes a taxi to work on Monday morning, it is converted into the relationship: weekday morning rush hour (i.e., weekday_2). The server also converts each service order into the following records: starting point POI (e.g., 116.595_39.910), end point POI (e.g., 116.505_39.895), and time range information (weekday_2).
[0120] For each time range, based on each set of location information of the target client in the time range, an information network is constructed, which includes multiple single links. The first node in each single link corresponds to the starting POI, the second node in each single link corresponds to the end POI, and the edge between the first node and the second node corresponds to the road information. For example, weekday_2: POI1-POI2, POI2-POI3, POI3-POI6, POI6-POI9. Weekday_4: POI3-POI1, POI1-POI4, POI2-POI3, POI3-POI4.
[0121] The server obtains the path weight value corresponding to each edge (ie, the starting point POI and the end point POI in each set of location information) in the above information network within the time range.
[0122] S103 . For each time range, generate at least one POI travel path corresponding to the time range according to the path weight value corresponding to each set of position information within the time range.
[0123] In an embodiment of the present application, in each time range, a POI is selected as the starting POI, and there are multiple next-hop POI nodes of the POI (that is, the various end-point POIs corresponding to the POI as the starting POI). At this time, based on the path weight value between the starting POI and each next-hop POI node, the target next-hop POI node is selected from the multiple next-hop POI nodes, and the above operation is repeated to generate at least one POI travel path corresponding to the time range.
[0124] For example, weekday_2: the generated path 1 is: POI1-POI2-POI3-POI6-POI9, and the path 2 is: POI3-POI6-POI9-POI4-POI3.
[0125] For another example, working day_4: the generated path 1 is: POI1-POI2-POI7-POI6-POI9, and the path 2 is: POI3-POI6-POI7-POI4-POI5.
[0126] S104: based on at least one POI walking path corresponding to each time range, determine target feature information corresponding to each POI in the at least one POI walking path; the target feature information is used to characterize the correlation between different POIs corresponding to the target client.
[0127] As an optional implementation, for each time range, at least one POI travel path corresponding to the time range is input into the third prediction model, and feature information corresponding to each POI in at least one POI travel path within the time range output by the third prediction model is obtained. The feature information here is feature information related to the inclusion and location of each POI (i.e., embedding, vector representation), and is also used to characterize the degree of correlation between different POIs corresponding to the target client.
[0128] For each POI, after obtaining the characteristic information of the POI in each time range, the target characteristic information corresponding to the POI is generated based on the characteristic information, wherein the target characteristic information can characterize the correlation between the POI corresponding to the target client and other POIs.
[0129] In the embodiment of the present application, the target feature information (i.e., target embedding) of the POI can be used in various models and scenarios that require location information, such as order prediction and location recommendation.
[0130] A method for generating POI features provided in an embodiment of the present application pre-divides a plurality of different time ranges, and for each client, based on the service time information and a set of location information in the completed service order corresponding to the client, determines the path weight value between the starting point POI and the end point POI in each set of location information within the preset different time ranges, and determines the POI walking paths corresponding to each time range based on the path weight value, and finally, based on the POI walking paths corresponding to each time range, generates the target feature information corresponding to each POI in the above POI walking paths. Through the above method, the accuracy of the generated POI feature information can be improved, and when data processing is performed based on the above POI feature information, the processing efficiency of the server can be improved.
[0131] After obtaining the target feature information corresponding to each POI, the server can push information based on the target feature information corresponding to each POI. The following is a specific application of information push on the passenger side and the driver side:
[0132] The first one is applied to the passenger side, such as Figure 2 As shown, after determining target feature information corresponding to each POI in the at least one POI walking path based on the at least one POI walking path corresponding to each time range, the method includes:
[0133] S201: Acquire the current location information of the target client.
[0134] In the embodiment of the present application, after receiving the first service request from the target client (i.e., the passenger), the server obtains the current location information of the target client based on the positioning technology. After obtaining the current location information of the target client, the POI of the target client is determined; wherein the current location information refers to the latitude and longitude information of the target client.
[0135] S202, inputting one or more of the target feature information of the POI corresponding to the current location information, the current time information, the user information corresponding to the target client, and the current weather information into the first prediction model, and outputting the predicted destination information corresponding to the target client.
[0136] In the embodiment of the present application, the first prediction model is a pre-trained model capable of outputting destination information, wherein the sample feature information used in training the first prediction model at least includes target feature information of each POI.
[0137] As an implementation method, the server inputs one or more of the target feature information of the POI corresponding to the current location information, the current time information, the passenger information corresponding to the target client, and the current weather information into the first prediction model, and the first prediction model outputs the destination information corresponding to the target client.
[0138] It should be noted that when predicting a passenger's destination information, one or more of the current time information, the passenger information corresponding to the target client, and the current weather information input into the first prediction model is only an implementation method, and the embodiments of the present application are not limited to the above-mentioned characteristic information.
[0139] S203: Send the predicted destination information to the target client.
[0140] In the embodiment of the present application, after receiving the predicted destination information, the target client displays the predicted destination information so that the passenger can select the predicted destination information. In this way, the passenger does not need to manually input the destination information, thereby improving the travel efficiency of the passenger.
[0141] The first one is applied to the driver side, such as Figure 3 As shown, after determining target feature information corresponding to each POI in the at least one POI walking path based on the at least one POI walking path corresponding to each time range, the method includes:
[0142] S301, obtaining the current pending order and the current location information of the target client.
[0143] In an embodiment of the present application, the above-mentioned pending order refers to a travel order from the passenger side that includes travel date, travel time information, starting point location information (starting POI) and end point location information (end point POI).
[0144] After receiving the second service request from the target client (i.e., the driver), the server obtains the current location information of the target client based on the positioning technology. After obtaining the current location information of the target client, the POI of the target client is determined; wherein the current location information refers to the latitude and longitude information of the target client.
[0145] S302, inputting one or more of the target feature information of the POI corresponding to the current location information, the current time information, the user information corresponding to the target client, and the current weather information into the second prediction model, and outputting the predicted destination information corresponding to the target client.
[0146] In the embodiment of the present application, the second prediction model is a pre-trained model capable of outputting destination information, wherein the sample feature information used in training the second prediction model at least includes target feature information of each POI.
[0147] As an implementation method, the server inputs one or more of the target feature information of the POI corresponding to the current location information, the current time information, the driver information corresponding to the target client, and the current weather information into the second prediction model, and the second prediction model outputs the destination information corresponding to the target client.
[0148] It should be noted that when predicting the driver's destination information, one or more of the current time information, the driver information corresponding to the target client, and the current weather information input into the second prediction model is only an implementation method, and the embodiments of the present application are not limited to the above-mentioned characteristic information.
[0149] S303: Select an alternative order to be processed that includes the predicted destination information from the orders to be processed.
[0150] In an embodiment of the present application, for any pending order, the server determines whether the destination information corresponding to the pending order is predicted destination information. If so, the pending order is determined to be an alternative pending order.
[0151] S304: Select a target order to be processed from the candidate orders to be processed, the target order having a starting point location information whose distance from the current location information is less than a preset threshold.
[0152] In an embodiment of the present application, after selecting an alternative order to be processed, for each alternative order to be processed, the server calculates the distance between the starting point location information and the current location information in the alternative order to be processed. If the distance is less than a preset threshold, the alternative order to be processed is determined to be a target order to be processed.
[0153] S305: Send the target pending order to the target client.
[0154] In the embodiment of the present application, after receiving the target pending order, the target client displays the target pending order so that the driver can select the order he wants to serve from the target pending order. In this way, the driver does not need to manually query the target pending order, which improves the service efficiency for the driver.
[0155] Further, such as Figure 4 As shown, in the method for generating POI features provided in the embodiment of the present application, the method for determining the POI corresponding to any location information includes:
[0156] S401. For each piece of location information in the service order, determine the target location range information to which the location information belongs.
[0157] S402: Determine, according to the location range information corresponding to each POI, the POI corresponding to the target location range information as the POI corresponding to the location information.
[0158] In combination with step 401 and step 402, places with similar longitude and latitude are represented by the same POI. The server divides the map into multiple grids with equal distances in advance, each grid is a POI, all locations in the same grid correspond to the same POI, and the longitude and latitude of the center point of the grid are determined as the name of the POI. Each divided grid corresponds to a location range.
[0159] For each piece of location information in the service order, the server determines the target location range information to which the location information belongs, and determines the POI corresponding to the target location range information as the POI corresponding to the location information.
[0160] Further, such as Figure 5 As shown, in the method for generating POI features provided in the embodiment of the present application, according to the service time information corresponding to the at least one service order, the path weight value between the POI corresponding to the starting point and the POI corresponding to the end point in each set of location information within the preset different time ranges is determined, including:
[0161] S501. For each time range, obtain at least one service order completed by a target client within the time range; wherein each of the service orders includes a set of location information.
[0162] In the embodiment of the present application, according to the service time information in each service order corresponding to the target client, the service orders within each time range are counted.
[0163] For example, statistics on working day_2, user A has completed service orders in the last two months. Another example is statistics on working day_1, user A has completed service orders in the last two months.
[0164] A set of location information included in each service order includes: starting point location information and end point location information; the starting point location information corresponds to a starting point POI, and the end point location information corresponds to an end point POI.
[0165] S502: For each set of location information, based on the sets of location information respectively corresponding to the at least one service order within the time range, count the number of service orders that include the set of location information within the time range.
[0166] For example, on working day_2, the number of service orders with a starting POI of POI1 and an ending POI of POI2 is counted; for another example, on working day_2, the number of service orders with a starting POI of POI2 and an ending POI of POI3 is counted; for another example, on working day_1, the number of service orders with a starting POI of POI1 and an ending POI of POI2 is counted.
[0167] S503: Determine a path weight value corresponding to the group of location information within the time range based on the number of service orders that include the group of location information within the time range.
[0168] As an implementation method, the number of service orders including the group of location information within the time range is determined as the path weight value corresponding to the group of location information within the time range. For example, on working day _2, the number of service orders from the starting point POI1 to the end point POI2 is 300, which is the path weight value from the starting point POI1 to the end point POI2.
[0169] As another implementation, the number of service orders including the group of location information within the time range is normalized to obtain the path weight value corresponding to the group of location information within the time range. For example, on working day _2, the number of service orders from the starting point POI1 to the end point POI2 is 300, and 300 is normalized, that is, the ratio of 300 to 100 is calculated, and the ratio is 3, and the ratio 3 is determined as the path weight value from the starting point POI1 to the end point POI2.
[0170] Further, such as Figure 6 As shown, in the method for generating POI features provided in the embodiment of the present application, for each time range, according to the path weight value corresponding to each set of location information within the time range, at least one POI walking path corresponding to the time range is generated, including the following three steps:
[0171] S601 . For each time range, randomly select any POI within the time range as a starting POI.
[0172] For example, in weekday_2, the corresponding POIs include: POI1-POI2, POI2-POI3, POI3-POI6, POI6-POI9, POI9-POI4, POI4-POI3. For another example, POI1 is randomly selected as the starting POI.
[0173] S602: Select a target terminal POI from each terminal POI according to the path weight value between the starting point POI and each terminal POI corresponding to the starting point POI, and use the target terminal POI as a new starting point POI.
[0174] In the embodiment of the present application, when each POI is used as a starting POI, it may include multiple reachable end POIs. For a randomly selected starting POI, based on the path weight values between the starting POI and each corresponding end POI, the probability of each end POI being selected as the next node (i.e., the target end POI) of the starting POI is calculated according to the following formula:
[0175]
[0176] Among them, w sx represents the weight value between the starting POI and the corresponding end POI of the starting POI, then p sx represents the probability of the destination POI being selected as the next node of the starting POI; i represents any destination POI corresponding to the starting POI; N represents all destination POIs corresponding to the starting POI; b(s) represents any destination POI corresponding to the starting POI; w siRepresents the weight value between the starting POI and any end POI; here, represents the sum of the weight values from the starting POI to each destination POI (i.e., the total number of completed service orders departing from the starting POI within any time range). If the starting POI does not have a corresponding reachable destination POI, then w sx =0.
[0177] After the next node (ie, the target end POI) corresponding to the starting POI is determined based on the above formula, the target end POI is used as the new starting POI, and the next node (ie, the target end POI) corresponding to the new starting POI is further determined using the above formula.
[0178] S603, returning to the step of selecting a target destination POI from each destination POI according to the path weight value between the starting point POI and each destination POI, until the number of selected POIs meets the first threshold or there is no destination POI corresponding to the starting point POI, and obtaining a POI walking path with the starting point POI as the starting point within the time range.
[0179] In the embodiment of the present application, the server repeats the process of step 601 and step 602 with the selected target destination POI as the new starting point POI until the number of selected POI nodes meets the preset first threshold (that is, the number of selected POIs reaches the required number, such as 6), or there is no destination POI corresponding to the current starting point POI; for example, after three POIs are selected, when the third POI is used as the starting point POI, there is no corresponding destination POI, and the process ends at this time.
[0180] Through the above method, a POI wandering path of the target client in each time range can be obtained.
[0181] S604: Return to the step of randomly selecting any POI within the time range as the starting POI, until the number of POI travel paths obtained within the time range meets the second threshold.
[0182] Here, what is generated by step 602 is a POI walking path in each time range. When there are multiple POI walking paths in each time range set in the server, steps 603 to 602 are repeated until the number of POI walking paths generated in each time range meets the preset second threshold.
[0183] Through the above method, multiple POI travel paths of the target client within various time ranges can be obtained.
[0184] like Figure 7As shown, in the embodiment of the present application, based on at least one POI travel path corresponding to each time range, determining the target feature information corresponding to each POI in the at least one POI travel path includes:
[0185] S701: For each time range, based on at least one POI travel path corresponding to the time range, determine feature information corresponding to each POI in the at least one POI travel path within the time range.
[0186] In the embodiment of the present application, for each time range, at least one POI travel path corresponding to the time range is input into the third prediction model, the third prediction model is trained, and the feature information corresponding to each POI in the at least one POI travel path within the time range is output. As an implementation method, the third prediction model is a Skip-gram model in Word2vec.
[0187] In the embodiment of the present application, the server inputs at least one POI travel path corresponding to each time range as corpus into the third prediction model, and learns the feature information corresponding to each POI in the at least one POI travel path through the third prediction model.
[0188] For example, the time range of weekday_2 corresponds to two POI travel paths, namely: POI travel path 1 (POI1-POI2-POI3-POI6); POI travel path 2 (POI3-POI4-POI7-POI4). The above two paths are input into the third prediction model, the initial model parameters in the third prediction model (i.e., the initial feature information of each POI) are trained, and the feature information corresponding to each POI in at least one POI travel path within the time range is output.
[0189] S702: For each POI, obtain feature information corresponding to the POI in each time range.
[0190] For example, for POI1 in at least one POI travel path on weekday_2, characteristic information of POI1 on weekday_1, weekday_2, weekday_3, weekday_4, weekday_5, holiday_1, holiday_2, holiday_3, holiday_4, and holiday_5 is obtained.
[0191] S703: Determine target characteristic information corresponding to the POI based on characteristic information corresponding to each time range and the number of time ranges.
[0192] Here, determining the target feature information corresponding to the POI includes three types, which are described below respectively:
[0193] The first method is to average the target feature information (i.e., embedding) of each POI within each time range (obtained under 10 relationships) to obtain the final embedding of each POI. The specific method is as follows:
[0194] Determine the sum of the characteristic information corresponding to the POI in each time range; and determine the ratio of the sum of the characteristic information to the number of the time ranges as the target characteristic information corresponding to the POI.
[0195] For example, for POI1, calculate the sum of the feature information of POI1 on weekday_1, weekday_2, weekday_3, weekday_4, weekday_5, holiday_1, holiday_2, holiday_3, holiday_4, and holiday_5, and then calculate the ratio of the sum to the number of time ranges (10 here) as the target feature information corresponding to POI1.
[0196] The second method is to obtain the weight values corresponding to the POI in each time range, and determine the target feature information corresponding to the POI based on the feature information, weight values and the number of time ranges corresponding to the POI in each time range.
[0197] For example, for POI1, calculate the sum of the feature information of POI1 on weekday_1, weekday_2, weekday_3, weekday_4, weekday_5, holiday_1, holiday_2, holiday_3, holiday_4, and holiday_5, as well as the weight values corresponding to POI on weekday_1, weekday_2, weekday_3, weekday_4, weekday_5, holiday_1, holiday_2, holiday_3, holiday_4, and holiday_5, respectively.
[0198] Calculate the product of the feature information of POI1 in weekday_1 and the weight value of POI in weekday_1, the product of the feature information of POI1 in weekday_2 and the weight value of POI in weekday_2...the product of the feature information of POI1 in holiday_5 and the weight value of POI in holiday_5, calculate the sum of the above products, and then calculate the ratio of the sum to the number of time ranges (10 here) as the target feature information corresponding to POI1.
[0199] By weighted averaging, some feature information of POIs is merged, more information is retained, and the dimension of target feature information of each POI is small, which is easy to use.
[0200] The third method is to splice the feature information corresponding to the POI in each time range to obtain the target feature information corresponding to the POI.
[0201] For example, for POI1, feature information of POI1 in weekday_1, weekday_2, weekday_3, weekday_4, weekday_5, holiday_1, holiday_2, holiday_3, holiday_4, and holiday_5 are concatenated as target feature information corresponding to POI1.
[0202] Among them, the method of splicing feature information is adopted to retain comprehensive information.
[0203] A method for generating POI features provided in an embodiment of the present application pre-divides a plurality of different time ranges, and for each client, based on the service time information and a set of location information in the completed service order corresponding to the client, determines the path weight value between the starting point POI and the end point POI in each set of location information within the preset different time ranges, and determines the POI walking paths corresponding to each time range based on the path weight value, and finally, based on the POI walking paths corresponding to each time range, generates the target feature information corresponding to each POI in the above POI walking paths. Through the above method, the accuracy of the generated POI feature information can be improved, and when data processing is performed based on the above POI feature information, the processing efficiency of the server can be improved.
[0204] Figure 8 1 is a block diagram showing a POI feature generation device of some embodiments of the present application. The functions implemented by the POI feature generation device correspond to the steps performed by the above method. The device can be understood as the above server, or a processor of the server, or can be understood as a component independent of the above server or processor that implements the functions of the present application under the control of the server, such as Figure 8 As shown, the embodiment of the present application further provides a device for generating POI features, which may include:
[0205] The first acquisition module 801 is used to acquire at least one completed service order corresponding to the target client; wherein each of the service orders includes service time information and a set of location information, and each set of location information includes a point of interest POI corresponding to a starting point and a POI corresponding to an end point;
[0206] A first determining module 802 is used to determine, according to the service time information corresponding to the at least one service order, a path weight value between a POI corresponding to a starting point and a POI corresponding to an end point in each set of location information within a preset different time range;
[0207] A generating module 803 is used to generate, for each time range, at least one POI travel path corresponding to the time range according to the path weight value corresponding to each set of position information in the time range;
[0208] The second determination module 804 is used to determine the target feature information corresponding to each POI in the at least one POI wandering path based on the at least one POI wandering path corresponding to each time range; the target feature information is used to characterize the correlation between different POIs corresponding to the target client.
[0209] In a possible implementation manner, in the device for generating POI features provided in the embodiment of the present application, the device further includes:
[0210] A second acquisition module is used to acquire the current location information of the target client after determining the target feature information corresponding to each POI in the at least one POI walking path based on the at least one POI walking path corresponding to each time range;
[0211] A first input module, used to input one or more of target feature information of the POI corresponding to the current location information and current time information, user information corresponding to the target client, and current weather information into a first prediction model, and output predicted destination information corresponding to the target client;
[0212] The first sending module is used to send the predicted destination information to the target client.
[0213] In a possible implementation manner, in the device for generating POI features provided in the embodiment of the present application, the device further includes:
[0214] A third acquisition module is used to acquire the current pending order and the current location information of the target client after determining the target feature information corresponding to each POI in the at least one POI travel path based on the at least one POI travel path corresponding to each time range;
[0215] A second input module is used to input one or more of the target feature information of the POI corresponding to the current location information and the current time information, the user information corresponding to the target client, and the current weather information into a third prediction model, and output the predicted destination information corresponding to the target client;
[0216] A first selection module, configured to select a candidate to-be-processed order including the predicted destination information from the to-be-processed orders;
[0217] A second selection module is used to select a target order to be processed from the candidate orders to be processed whose starting point location information is less than a preset threshold from the current location information;
[0218] The second sending module is used to send the target to-be-processed order to the target client.
[0219] In a possible implementation manner, in the device for generating POI features provided in the embodiment of the present application, the device further includes:
[0220] A third determination module is used to determine, for each piece of location information in the service order, target location range information to which the location information belongs according to the location range information respectively corresponding to each POI;
[0221] The fourth determining module is used to determine the POI corresponding to the target location range information as the POI corresponding to the location information.
[0222] In a possible implementation manner, in the device for generating POI features provided in an embodiment of the present application, the first determination module 802, when determining, according to the service time information corresponding to the at least one service order, a path weight value between a POI corresponding to a starting point and a POI corresponding to an end point in each set of location information within a preset different time range, includes:
[0223] For each time range, obtaining at least one service order completed by the target client within the time range; wherein each of the service orders includes a set of location information;
[0224] For each set of location information, based on the respective sets of location information corresponding to the at least one service order obtained, counting the number of service orders including the set of location information;
[0225] Based on the number of the service orders, a path weight value corresponding to the group of location information within the time range is determined.
[0226] In a possible implementation, in the POI feature generation device provided in the embodiment of the present application, the generation module 803, for each time range, generates at least one POI travel path corresponding to the time range according to the path weight value corresponding to each set of location information within the time range, including:
[0227] For each time range, any POI within the time range is randomly selected as the starting POI;
[0228] According to the path weight values between the starting POI and each ending POI, a target ending POI is selected from each ending POI, and the target ending POI is used as a new starting POI;
[0229] Return the step of selecting a target destination POI from each destination POI according to the path weight value between the starting POI and each destination POI, until the number of selected POIs meets the first threshold or there is no destination POI corresponding to the starting POI, and obtain a POI walking path with the starting POI as the starting point within the time range.
[0230] In a possible implementation manner, in the POI feature generation device provided in the embodiment of the present application, the generation module 803, after obtaining the POI travel path with the starting point POI as the starting point within the time range, further includes:
[0231] Return to the step of randomly selecting any POI within the time range as the starting POI, until the number of POI travel paths obtained within the time range meets the second threshold.
[0232] In a possible implementation, in the POI feature generation device provided in the embodiment of the present application, the second determination module 804, when determining the target feature information corresponding to each POI in the at least one POI travel path based on the at least one POI travel path corresponding to each time range, includes:
[0233] For each time range, based on at least one POI travel path corresponding to the time range, determining feature information corresponding to each POI in the at least one POI travel path within the time range;
[0234] For each POI, obtain the feature information corresponding to the POI in each time range;
[0235] Based on the characteristic information corresponding to the POI in each time range and the number of the time ranges, the target characteristic information corresponding to the POI is determined.
[0236] In a possible implementation, in the device for generating POI features provided in an embodiment of the present application, the second determination module 804, when determining the target feature information corresponding to the POI based on the feature information corresponding to each time range and the number of the time ranges, includes:
[0237] Determine the sum of the feature information corresponding to the POI in each time range;
[0238] A ratio of the sum of the feature information and the number of the time ranges is determined as target feature information corresponding to the POI.
[0239] In a possible implementation, in the device for generating POI features provided in an embodiment of the present application, the second determination module 804, when determining the target feature information corresponding to the POI based on the feature information corresponding to each time range and the number of the time ranges, includes:
[0240] Obtain the weight values corresponding to the POI in each time range;
[0241] Based on the characteristic information corresponding to the POI in each time range, the weight value and the number of the time ranges, the target characteristic information corresponding to the POI is determined.
[0242] In a possible implementation, in the POI feature generation device provided in the embodiment of the present application, the second determination module 804, based on the feature information corresponding to the POI in each time range and the number of the time ranges, determines the target feature information corresponding to the POI, including:
[0243] The feature information corresponding to the POI in each time range is spliced to obtain the target feature information corresponding to the POI.
[0244] In a possible implementation, in the device for generating POI features provided in the embodiment of the present application, the second determination module 804, when determining, for each time range, based on at least one POI travel path corresponding to the time range, feature information corresponding to each POI in the at least one POI travel path within the time range, includes:
[0245] For each time range, at least one POI travel path corresponding to the time range is input into the third prediction model to obtain feature information corresponding to each POI in the at least one POI travel path within the time range output by the third prediction model.
[0246] The embodiment of the present application provides a POI feature generation device, which pre-divides multiple different time ranges. For each client, based on the service time information and a set of location information in the completed service order corresponding to the client, the path weight value between the starting point POI and the end point POI in each set of location information within the preset different time ranges is determined, and the POI walking path corresponding to each time range is determined based on the path weight value. Finally, based on the POI walking paths corresponding to each time range, the target feature information corresponding to each POI in the above POI walking path is generated. Through the above method, the accuracy of the generated POI feature information can be improved, and when data processing is performed based on the above POI feature information, the processing efficiency of the server can be improved.
[0247] like Fig. 9 As shown, an electronic device 900 provided in an embodiment of the present application includes: a processor 901, a memory 902 and a bus, wherein the memory 902 stores machine-readable instructions executable by the processor 901. When the electronic device is running, the processor 901 communicates with the memory 902 through the bus, and the processor 901 executes the machine-readable instructions to perform the steps of the method for generating POI features as described above.
[0248] Specifically, the memory 902 and the processor 901 can be general-purpose memories and processors, which are not specifically limited here. When the processor 901 runs the computer program stored in the memory 902, the method for generating the POI features can be executed.
[0249] Corresponding to the above-mentioned method for generating POI features, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for generating POI features are executed:
[0250] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0251] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0252] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0253] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0254] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for generating POI features, characterized in that: include: Obtain at least one completed service order corresponding to the target client; wherein each of the service orders includes service time information and a set of location information, and each set of location information includes a point of interest POI corresponding to a starting point and a POI corresponding to an end point; According to the service time information respectively corresponding to the at least one service order, a path weight value between a POI corresponding to a starting point and a POI corresponding to an end point in each set of location information is determined within different preset time ranges; including: For each time frame, Obtain at least one service order completed by the target client within the time range; wherein each of the service orders includes a set of location information; For each set of location information, based on each set of location information respectively corresponding to the at least one service order within the time range, counting the number of service orders including the set of location information within the time range; Determine, based on the number of service orders including the group of location information within the time range, the path weight value corresponding to the group of location information within the time range; For each of the time ranges, generating at least one POI walking path corresponding to the time range according to the path weight value corresponding to each set of location information within the time range; Based on the at least one POI walking path corresponding to each time range, target feature information corresponding to each POI in the at least one POI walking path is determined; the target feature information is used to characterize the degree of correlation between different POIs corresponding to the target client.
2. The method for generating POI features according to claim 1, characterized in that: After determining target feature information corresponding to each POI in the at least one POI walking path based on the at least one POI walking path corresponding to each time range, the method includes: Obtaining current location information of the target client; Inputting one or more of target feature information of the POI corresponding to the current location information and current time information, user information corresponding to the target client, and current weather information into a first prediction model, and outputting predicted destination information corresponding to the target client; The predicted destination information is sent to the target client.
3. The method for generating POI features according to claim 1, characterized in that: After determining target feature information corresponding to each POI in the at least one POI walking path based on the at least one POI walking path corresponding to each time range, the method includes: Obtaining the current pending order and the current location information of the target client; Inputting one or more of target feature information of the POI corresponding to the current location information and current time information, user information corresponding to the target client, and current weather information into a second prediction model, and outputting predicted destination information corresponding to the target client; Selecting a candidate to-be-processed order including the predicted destination information from the to-be-processed orders; Selecting a target order to be processed from the candidate orders to be processed whose starting point location information is less than a preset threshold from the current location information; The target to-be-processed order is sent to the target client.
4. The method for generating POI features according to claim 1, characterized in that: A method for determining a POI corresponding to any location information includes: For each piece of location information in the service order, determine the target location range information to which the location information belongs; According to the location range information respectively corresponding to each POI, the POI corresponding to the target location range information is determined as the POI corresponding to the location information.
5. The method for generating POI features according to claim 1, characterized in that: For each time range, at least one POI walking path corresponding to the time range is generated according to the path weight value corresponding to each set of location information within the time range, including: For each time range, randomly select any POI within the time range as the starting POI; According to the path weight values between the starting POI and each end POI corresponding to the starting POI, a target end POI is selected from each end POI, and the target end POI is used as a new starting POI; Return the step of selecting a target destination POI from each destination POI according to the path weight value between the starting POI and each destination POI, until the number of selected POIs meets the first threshold or there is no destination POI corresponding to the starting POI, and obtain a POI walking path with the starting POI as the starting point within the time range.
6. The method for generating POI features according to claim 5, characterized in that: After obtaining the POI walking path with the starting point POI as the starting point within the time range, the method further includes: Return to the step of randomly selecting any POI within the time range as the starting POI, until the number of POI travel paths obtained within the time range meets the second threshold.
7. The method for generating POI features according to claim 1, characterized in that: Determining target feature information corresponding to each POI in the at least one POI walking path based on the at least one POI walking path corresponding to each time range, including: For each of the time ranges, based on the at least one POI travel path corresponding to the time range, determining feature information corresponding to each POI in the at least one POI travel path within the time range; For each POI, obtain the feature information corresponding to the POI in each time range; Based on the characteristic information corresponding to the POI in each time range and the number of the time ranges, the target characteristic information corresponding to the POI is determined.
8. The method for generating POI features according to claim 7, characterized in that: Determining target characteristic information corresponding to the POI based on characteristic information corresponding to each time range and the number of the time ranges includes: Determine the sum of the feature information corresponding to the POI in each time range; A ratio of the sum of the feature information and the number of the time ranges is determined as target feature information corresponding to the POI.
9. The method for generating POI features according to claim 7, characterized in that: Determining target characteristic information corresponding to the POI based on characteristic information corresponding to each time range and the number of the time ranges includes: Obtain the weight values corresponding to the POI in each time range; Based on the characteristic information corresponding to the POI in each time range, the weight value and the number of the time ranges, the target characteristic information corresponding to the POI is determined.
10. The method for generating POI features according to claim 7, characterized in that: Determining target characteristic information corresponding to the POI based on characteristic information corresponding to each time range and the number of the time ranges includes: The feature information corresponding to the POI in each time range is spliced to obtain the target feature information corresponding to the POI.
11. The method for generating POI features according to claim 7, characterized in that: For each time range, based on at least one POI travel path corresponding to the time range, determining feature information corresponding to each POI in the at least one POI travel path within the time range, includes: For each time range, at least one POI travel path corresponding to the time range is input into the third prediction model to obtain feature information corresponding to each POI in the at least one POI travel path within the time range output by the third prediction model.
12. A device for generating POI features, characterized in that: include: A first acquisition module is used to acquire at least one completed service order corresponding to the target client; wherein each of the service orders includes service time information and a set of location information, and each set of location information includes a point of interest POI corresponding to a starting point and a POI corresponding to an end point; The first determination module is used to determine the path weight value between the POI corresponding to the starting point and the POI corresponding to the end point in each group of location information within different preset time ranges according to the service time information corresponding to the at least one service order; including: For each time frame, Obtain at least one service order completed by the target client within the time range; wherein each of the service orders includes a set of location information; For each set of location information, based on each set of location information respectively corresponding to the at least one service order within the time range, counting the number of service orders including the set of location information within the time range; Determine, based on the number of service orders including the group of location information within the time range, the path weight value corresponding to the group of location information within the time range; A generating module, configured to generate, for each time range, at least one POI walking path corresponding to the time range according to the path weight value corresponding to each set of location information within the time range; The second determination module is used to determine the target feature information corresponding to each POI in the at least one POI wandering path based on the at least one POI wandering path corresponding to each time range; the target feature information is used to characterize the correlation between different POIs corresponding to the target client.
13. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the method for generating a POI feature as described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for generating a POI feature according to any one of claims 1 to 11 are executed.
