Position determination method, model training method, device, equipment and storage medium

By obtaining the current location of the service requester and the consumption parameters in the target historical orders, and using the trained location model to determine a reasonable agreed location, it solves the problem of users taking a long time to find locations in the online ride-hailing system and improves efficiency.

CN111832789BActive Publication Date: 2024-09-06BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910907459.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-24
Publication Date
2024-09-06
Estimated Expiration
2040-08-04

AI Technical Summary

Technical Problem

It often takes a long time for users to find the agreed-upon location in the online car-hailing system, especially when the road conditions are complicated or the buildings overlap.

Method used

By obtaining the current location information of the service requester, using the trained location training model, and combining the consumption parameters and weights in the target historical orders, a reasonable agreed location is determined and the time for users to find the location is reduced.

Benefits of technology

The well-trained location training model provides a relatively reasonable agreed location, reducing the time it takes for service requesters to find the agreed location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111832789B
    Figure CN111832789B
Patent Text Reader

Abstract

The present application provides a location determination method, a model training method, an apparatus, a device and a storage medium, wherein the method comprises: obtaining consumption parameters of each target dimension in the process of a service requester arriving at a target location in a target historical order; determining weights corresponding to the consumption parameters of each target dimension according to numerical values ​​corresponding to the consumption parameters of each target dimension; obtaining weights corresponding to the target historical order according to the weights corresponding to the consumption parameters of each target dimension in the target historical order; training a location training model using the weights corresponding to the target historical order and the target historical order as training samples to obtain a trained location training model. Through the above method, the trained location training model can provide a relatively reasonable agreed location, thereby helping to reduce the time consumed by the service requester in finding the agreed location.
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 location determination method, a model training method, an apparatus, a device and a storage medium. Background Art

[0002] With the development of technology, online car-hailing has gradually become the first choice for people to travel. After the user places an order, the system will recommend an agreed location to the user so that the user can take the car at the location. However, the agreed location is often difficult to find, for example: the road conditions at the agreed location are complicated, making it difficult to find the agreed location, or the building overlaps with the agreed location, making it difficult to find the agreed location, etc., which makes it take a long time for the user to find the agreed location. Summary of the invention

[0003] In view of this, the purpose of the present application is to provide a location determination method, model training method, device, equipment and storage medium to reduce the time consumed by users to find an agreed place.

[0004] In a first aspect, an embodiment of the present application provides a method for determining a position, including:

[0005] After obtaining the order sent by the service requester, positioning the service requester to obtain the current location information of the service requester;

[0006] Inputting the location information as an input parameter into a trained location training model to obtain the location information of the service location, wherein the trained location training model is trained using target historical orders and weights corresponding to the target historical orders as training samples;

[0007] The location information of the service location is sent to the service requester, so that a location corresponding to the location information of the service location is displayed on a map of the service requester.

[0008] Optionally, before obtaining the order sent by the service requester, the location determination method further includes:

[0009] Obtain consumption parameters of each target dimension during the process of the service requester reaching the target location in the target historical order;

[0010] Determine the weight corresponding to each of the consumption parameters of the target dimensions according to the numerical value corresponding to each of the consumption parameters of the target dimensions, wherein the numerical value corresponding to each of the consumption parameters of the target dimensions and the weight corresponding to each of the consumption parameters of the target dimensions are in inverse proportion to each other;

[0011] Obtaining a weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order;

[0012] The weights corresponding to the target historical orders and the target historical orders are used as training samples to train the location training model to obtain a trained location training model.

[0013] Optionally, the consumption parameter of each target dimension includes at least one of the following:

[0014] The number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

[0015] Optionally, when the consumption parameter of the target dimension includes the total call duration, the consumption parameter of each target dimension in the process of the service requester arriving at the target location in the target historical order is obtained, including:

[0016] Obtain the duration of each call between the service requester and the service provider during the process of reaching the target location in the target historical order;

[0017] The call durations are summed up and the sum result is used as the total call duration.

[0018] Optionally, when the consumption parameter of the target dimension includes the walking distance, the obtaining of the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order includes:

[0019] Obtaining the location of the service requester in the target historical order when the service requester created the target historical order;

[0020] The straight-line distance between the location of the service requester and the target location is calculated to use the straight-line distance as the walking distance.

[0021] Optionally, when the consumption parameter of the target dimension includes the walking distance, the obtaining of the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order includes:

[0022] Obtaining the location of the service requester in the target historical order when the service requester creates the target historical order;

[0023] The shortest travel distance from the service requester's location to the target location is calculated using the target map, so as to use the shortest travel distance as the walking distance.

[0024] Optionally, obtaining the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order includes:

[0025] The weights corresponding to the consumption parameters of each target dimension in the target historical order are added together, and the addition result is used as the weight corresponding to the target historical order.

[0026] Optionally, obtaining the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order includes:

[0027] The weights corresponding to the consumption parameters of each target dimension in the target historical order are multiplied, and the multiplication result is used as the weight corresponding to the target historical order.

[0028] In a second aspect, an embodiment of the present application provides a model training method, comprising:

[0029] Obtain the consumption parameters of each target dimension during the process of the service requester reaching the target location in the target historical order;

[0030] Determine the weight corresponding to each of the consumption parameters of the target dimensions according to the numerical value corresponding to each of the consumption parameters of the target dimensions, wherein the numerical value corresponding to each of the consumption parameters of the target dimensions and the weight corresponding to each of the consumption parameters of the target dimensions are in inverse proportion to each other;

[0031] Obtaining a weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order;

[0032] The weights corresponding to the target historical orders and the target historical orders are used as training samples to train the location training model to obtain a trained location training model.

[0033] Optionally, the consumption parameter of each target dimension includes at least one of the following:

[0034] The number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

[0035] Optionally, when the consumption parameter of the target dimension includes the total call duration, the consumption parameter of each target dimension in the process of the service requester arriving at the target location in the target historical order is obtained, including:

[0036] Obtain the duration of each call between the service requester and the service provider during the process of reaching the target location in the target historical order;

[0037] The call durations are summed up and the sum result is used as the total call duration.

[0038] Optionally, when the consumption parameter of the target dimension includes the walking distance, the obtaining of the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order includes:

[0039] Obtaining the location of the service requester in the target historical order when the service requester created the target historical order;

[0040] The straight-line distance between the location of the service requester and the target location is calculated to use the straight-line distance as the walking distance.

[0041] Optionally, when the consumption parameter of the target dimension includes the walking distance, the obtaining of the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order includes:

[0042] Obtaining the location of the service requester in the target historical order when the service requester creates the target historical order;

[0043] The shortest travel distance from the service requester's location to the target location is calculated using the target map, so as to use the shortest travel distance as the walking distance.

[0044] Optionally, obtaining the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order includes:

[0045] The weights corresponding to the consumption parameters of each target dimension in the target historical order are added together, and the addition result is used as the weight corresponding to the target historical order.

[0046] Optionally, obtaining the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order includes:

[0047] The weights corresponding to the consumption parameters of each target dimension in the target historical order are multiplied, and the multiplication result is used as the weight corresponding to the target historical order.

[0048] Optionally, the step of training the location training model by using the weight corresponding to the target historical order and the target historical order as training samples includes:

[0049] The weights corresponding to the target historical orders and the target historical orders are used as paired training samples to train the location training model.

[0050] In a third aspect, an embodiment of the present application provides a position determination device, including:

[0051] a positioning unit, configured to, after acquiring the order sent by the service requester, locate the service requester to obtain the current location information of the service requester, and the positioning unit sends the location information to the first determining unit;

[0052] The first determining unit is used to input the location information as an input parameter into a trained location training model to obtain the location information of the service location, wherein the trained location training model is trained using target historical orders and weights corresponding to the target historical orders as training samples, and the first determining unit sends the location information of the service location to the sending unit;

[0053] The sending unit is used to send the location information of the service location to the service requester, so as to display the location corresponding to the location information of the service location on the map of the service requester.

[0054] Optionally, the position determining device further includes:

[0055] An acquisition unit, used for acquiring consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order before acquiring the order sent by the service requester, and the acquisition unit sends the consumption parameters of each target dimension to the second determination unit;

[0056] The second determining unit is used to determine the weight corresponding to the consumption parameter of each target dimension according to the numerical value corresponding to the consumption parameter of each target dimension, wherein the numerical value corresponding to the consumption parameter of each target dimension and the weight corresponding to the consumption parameter of each target dimension are inversely proportional to each other, and the second determining unit sends the weight corresponding to the consumption parameter of each target dimension to the third determining unit;

[0057] The third determination unit is used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, and the third determination unit sends the weight corresponding to the target historical order and the target historical order to the training unit;

[0058] The training unit is used to train the location training model by using the weight corresponding to the target historical order and the target historical order as training samples to obtain a trained location training model.

[0059] Optionally, the consumption parameter of each target dimension includes at least one of the following:

[0060] The number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

[0061] Optionally, when the consumption parameter of the target dimension includes the total call duration, the configuration of the acquisition unit, when used to acquire the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, includes:

[0062] Obtain the duration of each call between the service requester and the service provider during the process of reaching the target location in the target historical order;

[0063] The call durations are summed up and the sum result is used as the total call duration.

[0064] Optionally, when the consumption parameter of the target dimension includes the walking distance, the configuration of the acquisition unit, when used to acquire the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order, includes:

[0065] Obtaining the location of the service requester in the target historical order when the service requester created the target historical order;

[0066] The straight-line distance between the location of the service requester and the target location is calculated to use the straight-line distance as the walking distance.

[0067] Optionally, when the consumption parameter of the target dimension includes the walking distance, the configuration of the acquisition unit, when used to acquire the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order, includes:

[0068] Obtaining the location of the service requester in the target historical order when the service requester creates the target historical order;

[0069] The shortest travel distance from the service requester's location to the target location is calculated using the target map, so as to use the shortest travel distance as the walking distance.

[0070] Optionally, the configuration of the third determining unit, when used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, includes:

[0071] The weights corresponding to the consumption parameters of each target dimension in the target historical order are added together, and the addition result is used as the weight corresponding to the target historical order.

[0072] Optionally, the configuration of the third determining unit, when used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, includes:

[0073] The weights corresponding to the consumption parameters of each target dimension in the target historical order are multiplied, and the multiplication result is used as the weight corresponding to the target historical order.

[0074] In a fourth aspect, an embodiment of the present application provides a model training device, including:

[0075] An acquisition unit, used for acquiring consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, and the acquisition unit sends the consumption parameters of the target dimension to the first determination unit;

[0076] The first determining unit is used to determine the weight corresponding to the consumption parameter of each target dimension according to the numerical value corresponding to the consumption parameter of each target dimension, wherein the numerical value corresponding to the consumption parameter of each target dimension and the weight corresponding to the consumption parameter of each target dimension are inversely proportional to each other, and the first determining unit sends the weight corresponding to the consumption parameter of each target dimension to the second determining unit;

[0077] The second determination unit is used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, and the second determination unit sends the weight corresponding to the target historical order and the target historical order to the training unit;

[0078] The training unit is used to train the location training model by using the weight corresponding to the target historical order and the target historical order as training samples to obtain a trained location training model.

[0079] Optionally, the consumption parameter of each target dimension includes at least one of the following:

[0080] The number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

[0081] Optionally, when the consumption parameter of the target dimension includes the total call duration, the configuration of the acquisition unit, when used to acquire the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, includes:

[0082] Obtain the duration of each call between the service requester and the service provider during the process of reaching the target location in the target historical order;

[0083] The call durations are summed up and the sum result is used as the total call duration.

[0084] Optionally, when the consumption parameter of the target dimension includes the walking distance, the configuration of the acquisition unit, when used to acquire the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order, includes:

[0085] Obtaining the location of the service requester in the target historical order when the service requester created the target historical order;

[0086] The straight-line distance between the location of the service requester and the target location is calculated to use the straight-line distance as the walking distance.

[0087] Optionally, when the consumption parameter of the target dimension includes the walking distance, the configuration of the acquisition unit, when used to acquire the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order, includes:

[0088] Obtaining the location of the service requester in the target historical order when the service requester creates the target historical order;

[0089] The shortest travel distance from the service requester's location to the target location is calculated using the target map, so as to use the shortest travel distance as the walking distance.

[0090] Optionally, the configuration of the second determining unit, when used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, includes:

[0091] The weights corresponding to the consumption parameters of each target dimension in the target historical order are added together, and the addition result is used as the weight corresponding to the target historical order.

[0092] Optionally, the configuration of the second determining unit, when used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, includes:

[0093] The weights corresponding to the consumption parameters of each target dimension in the target historical order are multiplied, and the multiplication result is used as the weight corresponding to the target historical order.

[0094] Optionally, the configuration of the training unit, when used to train the location training model using the weight corresponding to the target historical order and the target historical order as training samples, includes:

[0095] The weights corresponding to the target historical orders and the target historical orders are used as paired training samples to train the location training model.

[0096] In a fifth aspect, an embodiment of the present application 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 through the bus, and the processor executes the machine-readable instructions to perform the steps of the position determination method as described in any one of the first aspects or to perform the steps of the model training method as described in any one of the second aspects.

[0097] In a sixth aspect, an embodiment of the present application 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 position determination method as described in any one of the first aspects or the steps of the model training method as described in any one of the second aspects are executed.

[0098] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0099] After the target historical order is created, the service requester will obtain a target location as the agreed location, and the service requester will go to the target location. The process of the service requester going to the target location can reflect the difficulty of the service requester finding the target location. Therefore, in this application, it is necessary to obtain the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order, that is: for a certain target historical order, determine the difficulty of the service requester finding the target location from multiple dimensions. The easier it is for the service requester to find the target location, the shorter the time consumed by the service requester to find the target location, and the smaller the consumption parameters in each target dimension when the service requester finds the target location. It also means that the target location in the target historical order is more reasonable. In order to increase the reasonable target location, In order to determine the impact of the target historical orders corresponding to the points on the training results, it is necessary to determine the weights of the consumption parameters of each target dimension in different target historical orders. The smaller the consumption parameters of each target dimension, the larger the weight corresponding to the consumption parameters of the target dimension. Then, the weights corresponding to the consumption parameters of each target dimension in the target historical order are used to obtain the weights corresponding to the target historical order. The weights corresponding to the target historical orders can affect the training results when the target historical orders are used as training samples. The target historical orders with larger weights have a greater impact on the training results when used as training samples. Since the target locations of target historical orders with larger weights are more reasonable, the above method can enable the trained location training model to provide relatively reasonable agreed locations, which is beneficial to reduce the time consumed by the service requester to find the agreed location.

[0100] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0101] 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.

[0102] Figure 1 A flowchart of a location determination method provided in Example 1 of the present application;

[0103] Figure 2 A flowchart of another location determination method provided in Example 1 of the present application;

[0104] Figure 3 A flowchart of another location determination method provided in Example 1 of the present application;

[0105] Figure 4 A flowchart of another location determination method provided in Example 1 of the present application;

[0106] Figure 5 A flowchart of another location determination method provided in Example 1 of the present application;

[0107] Figure 6 A schematic diagram of the structure of a position determination device provided in Embodiment 3 of the present application;

[0108] Figure 7 A schematic diagram of the structure of another position determination device provided in Embodiment 3 of the present application;

[0109] Figure 8 A schematic diagram of the structure of a model training device provided in Embodiment 4 of the present application;

[0110] Fig. 9 A schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present application;

[0111] Fig.10 A schematic diagram of the structure of an electronic device provided in Example 6 of the present application. DETAILED DESCRIPTION

[0112] 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.

[0113] 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.

[0114] 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.

[0115] The terms "passenger", "requester", "service requester" and "customer" in this 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 this application are used interchangeably to refer to individuals, entities or tools that can provide services. The term "user" in this application may refer to an individual, entity or tool that requests a service, orders a service, provides a service, or facilitates the provision of a service. For example, a user may be a passenger, a driver, an operator, etc., or any combination thereof. In this application, "passenger" and "passenger terminal" are used interchangeably, and "driver" and "driver terminal" are used interchangeably.

[0116] The terms "service request" and "order" in this application are used interchangeably to refer to a request initiated by a passenger, a service requester, a driver, a service provider, a supplier, etc., or any combination thereof. The "service request" or "order" may be accepted by a passenger, a service requester, a driver, a service provider, a supplier, etc., or any combination thereof. A service request may be charged or free of charge.

[0117] It should be noted in advance that the devices or electronic devices involved in the embodiments of the present application can be executed on a single server or on a server group. The server group can be centralized or distributed. In some embodiments, the server can be local or remote relative to the terminal. For example, the server can access information and / or data stored in a service requester terminal, a service provider terminal, or a database, or any combination thereof via a network. As another example, the server can be directly connected to at least one of the service requester terminal, the service provider terminal, and the database to access the stored information and / or data. In some embodiments, the server can be implemented on a cloud platform; as an example only, the cloud platform can include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an inter-cloud, a multi-cloud, etc., or any combination thereof.

[0118] In addition, the device or electronic device involved in the embodiment of the present application can be executed on an access device or a third-party device, and specifically can include: a mobile device, a tablet computer, a laptop computer, or a built-in device in a motor vehicle, or any combination thereof. In some embodiments, the mobile device may include a smart home device, a wearable device, a smart mobile device, a virtual reality device, or an augmented reality device, or any combination thereof. In some embodiments, the smart home device may include a control device for a smart electrical appliance, a smart monitoring device, a smart TV, a smart camera, or an intercom, or any combination thereof. In some embodiments, the wearable device may include a smart bracelet, a smart helmet, a smart watch, a smart accessory, or any combination thereof. In some embodiments, the smart mobile device may include a smart phone, a personal digital assistant (PDA), a gaming device, a navigation device, or any combination thereof. In some embodiments, the virtual reality device and / or the augmented reality device may include a virtual reality helmet, an augmented reality helmet, or any combination thereof. For example, the virtual reality device and / or the augmented reality device may include various virtual reality products, etc.

[0119] It is worth noting that before the present application was filed, only historical orders were used to train the location training model, so that the impact of each historical order on the training result was the same, and thus the rationality of the agreed location provided by the location training model was poor. However, the location determination method, model training method, device, equipment and storage medium provided by the present application use the target historical orders and the weights of the target historical orders as training samples to train the location training model, so that the target historical orders with high weights have a greater impact on the training results. Since the agreed locations in the target historical orders with high weights are more reasonable, the above method can enable the trained location training model to provide a relatively reasonable agreed location, which is beneficial to reduce the time consumed by the service requester to find the agreed location.

[0120] Embodiment 1

[0121] Figure 1 A flow chart of a location determination method provided in Example 1 of the present application is shown as follows: Figure 1 As shown, the location determination method includes the following steps:

[0122] Step 101: After obtaining an order sent by a service requester, the service requester is located to obtain current location information of the service requester.

[0123] Specifically, the order sent by the service requester may be an online car-hailing order. After the order is successfully placed, in order to determine a boarding location, the service requester needs to be located to obtain the service requester's current location information so as to determine a boarding location near the service requester's current location.

[0124] Step 102: input the location information as an input parameter into a trained location training model to obtain the location information of the service location, wherein the trained location training model is trained using target historical orders and weights corresponding to the target historical orders as training samples.

[0125] Specifically, after the current location information of the service requester is input as an input parameter into the trained location training model, a nearby location of the service requester that is not used as a boarding location (service location) can be obtained so that the service requester can board the vehicle at this location.

[0126] It should be noted that the specific location training model can be set according to actual needs and is not specifically limited here. The method of using target historical orders and the weights corresponding to the target historical orders as training samples to train the location training model is described in detail below and will not be described in detail here.

[0127] Step 103: Send the location information of the service location to the service requester, so as to display the location corresponding to the location information of the service location on the map of the service requester.

[0128] Specifically, after the boarding location is determined, the boarding location needs to be sent to the service requester so that it can be displayed on the service requester's map, so that the service requester can go to the boarding location according to the instructions on the map. At the same time, the boarding location will also be sent to the service provider so that it can be displayed on the service provider's map, so that the service provider can go to the boarding location to pick up the service requester according to the instructions on the map.

[0129] In the embodiment of the present application, since the boarding location is obtained through a trained location training model, and the trained location training model is obtained by training using the target historical orders and the weights corresponding to the target historical orders as training samples, and since the target historical orders with larger weights have a greater impact on the training results when used as training samples, and the target historical orders with larger weights have a more reasonable target location, the above method can be used to enable the trained location training model to provide a relatively reasonable agreed location (boarding location), which is beneficial to reduce the time consumed by the service requester to find the agreed location.

[0130] In one possible embodiment, Figure 2A flowchart of another location determination method provided in Example 1 of the present application is shown as follows: Figure 2 As shown, before obtaining the order sent by the service requester, the location determination method further includes the following steps:

[0131] Step 201: Obtain consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order.

[0132] Specifically, after the target history order is created, the service requester will obtain a target location as the agreed location, and the service requester will go to the target location. In the process of the service requester going to the target location, the consumption parameters of each target dimension in the target history order can reflect the difficulty of the service requester finding the target location. For example: the time consumed by the service requester in the target history order is directly proportional to the difficulty of the service requester finding the target location, and / or the call duration between the service requester and the service provider in the target history order is directly proportional to the difficulty of the service requester finding the target location. Therefore, in order to determine the weights of different target history orders, it is necessary to obtain the consumption parameters of each target dimension in the process of the service requester reaching the target location in each target history order.

[0133] The target historical order may be a historical order that has been executed within a period of time, or a historical order in which the waiting time of the service requester after reaching the target location within a period of time is less than a preset threshold, etc. The screening conditions for the target historical orders can be set according to actual needs and are not specifically limited here.

[0134] It should be noted that the specific number and types of target dimensions can be set according to actual needs and are not specifically limited here.

[0135] It should be noted that the above-mentioned target locations include locations where the vehicle can be picked up by the service provider and does not violate traffic regulations, such as places on both sides of the road where motor vehicles are allowed to park. Therefore, the location training model trained by the target historical orders corresponding to the above-mentioned target locations can recommend pick-up locations that are also locations where the vehicle can be picked up by the service provider and does not violate traffic regulations.

[0136] Step 202: determine the weight corresponding to each consumption parameter of the target dimension according to the numerical value corresponding to the consumption parameter of each target dimension, wherein the numerical value corresponding to the consumption parameter of each target dimension and the weight corresponding to the consumption parameter of each target dimension are inversely proportional to each other.

[0137] Specifically, a correspondence between the numerical value corresponding to the consumption parameter of each target dimension and the weight corresponding to the consumption parameter of the target dimension is established in advance. After the consumption parameters of each target dimension of a target historical order are determined, the weight corresponding to the consumption parameter of each target dimension in the target historical order is determined using the correspondence. In this correspondence, the numerical value corresponding to the consumption parameter of each target dimension and the weight corresponding to the consumption parameter of the target dimension are inversely proportional to each other, so that the more reasonable the determined target location (boarding location) is, the greater the weight of the target historical order corresponding to the target historical order will be.

[0138] For example, the target dimensions include target dimension 1, target dimension 2, and target dimension 3, and the corresponding relationship between each target dimension and weight is established in advance, such as: when the value corresponding to the consumption parameter of target dimension 1 is [0,3], the corresponding weight is 1, when the value corresponding to the consumption parameter of target dimension 1 is [4,6], the corresponding weight is 0.5, when the value corresponding to the consumption parameter of target dimension 1 is [7,10], the corresponding weight is 0.2, when the value corresponding to the consumption parameter of target dimension 2 is [0,4], the corresponding weight is 1, and when the value corresponding to the consumption parameter of target dimension 2 is [ When the value corresponding to the consumption parameter of target dimension 2 is [8,11], the corresponding weight is 0.2, when the value corresponding to the consumption parameter of target dimension 3 is [0,4], the corresponding weight is 1, when the value corresponding to the consumption parameter of target dimension 3 is [5,7], the corresponding weight is 0.5, when the value corresponding to the consumption parameter of target dimension 3 is [8,12], the corresponding weight is 0.2. After determining the values ​​corresponding to the consumption parameters of each target dimension, the corresponding relationship can be used to determine the weights corresponding to the consumption parameters of each target dimension.

[0139] It should be noted that the above description is merely an exemplary description, and the specific corresponding relationship can be described according to actual needs and is not specifically limited here.

[0140] Step 203: Obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order.

[0141] It should be noted that, regarding the weights corresponding to the consumption parameters of each target dimension in the target historical order, the specific method of obtaining the weights corresponding to the target historical order can be set according to actual needs and is not specifically limited here.

[0142] Step 204: Use the weights corresponding to the target historical orders and the target historical orders as training samples to train the location training model to obtain a trained location training model.

[0143] It should be noted that the specific method of training the location training model using the weights corresponding to the target historical orders and the target historical orders as training samples can be set according to actual needs and is not specifically limited here.

[0144] In the present application, it is necessary to obtain the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target history order, that is: for a certain target history order, determine the difficulty of the service requester to find the target location from multiple dimensions. The easier it is for the service requester to find the target location, the shorter the time consumed by the service requester to find the target location, and the smaller the consumption parameters in each target dimension when the service requester finds the target location. It also means that the target location in the target history order is more reasonable. In order to increase the influence of the target history order corresponding to the reasonable target location on the training results, it is necessary to determine the weights for the consumption parameters of each target dimension in different target history orders. The smaller the consumption parameter of each target dimension is, the larger the weight corresponding to the consumption parameter of the target dimension is. Then, the weight corresponding to the target historical order is obtained by using the weight corresponding to the consumption parameter of each target dimension in the target historical order. The weight corresponding to the target historical order can affect the training result when the target historical order is used as a training sample. The target historical order with a larger weight has a greater impact on the training result when used as a training sample. Since the target location of the target historical order with a larger weight is more reasonable, the above method can enable the trained location training model to provide a relatively reasonable agreed location, which is beneficial to reduce the time consumed by the service requester to find the agreed location.

[0145] In a feasible implementation scheme, the consumption parameters of each target dimension include at least one of the following: the number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

[0146] Specifically, after the order issued by the service requester is accepted by the service provider, the service provider will provide the service to the service requester. During the process of the service provider going to the target location, if the service requester cannot find the service provider, it will contact the service provider by phone. The more difficult the target location is to find, the more calls the service requester will have with the service provider, and the longer the total call time between the service requester and the service provider will be. At the same time, the walking distance of the service requester in the process of reaching the target location will be longer. The above data will be saved in the target history order. Therefore, after taking the above three dimensions as target dimensions, the consumption parameters of these three target dimensions can be used to determine the difficulty of the service requester finding the target location.

[0147] In one possible embodiment, Figure 3 A flowchart of another location determination method provided in Example 1 of the present application is shown as follows: Figure 3 As shown, when the consumption parameter of the target dimension includes the total call duration, when executing step 201, it can be implemented by the following steps:

[0148] Step 301: Obtain the duration of each call between the service requester and the service provider in the process of reaching the target location in the target historical order.

[0149] Step 302: sum up the call durations to take the sum result as the total call duration.

[0150] Specifically, the service requester may make telephone contact with the service provider in the process of searching for the target location. If the service requester makes telephone contact with the service provider, the telephone contact and the duration of the telephone contact will be recorded in the target history order. Then, by summing up the duration of each telephone contact, the total duration of the call between the service requester and the service provider in the process of reaching the target location in the target history order can be obtained.

[0151] In one possible embodiment, Figure 4 A flowchart of another location determination method provided in Embodiment 1 of the present application is shown as follows: Figure 4 As shown, when the consumption parameter of the target dimension includes the walking distance mentioned above, when executing step 201, it can be achieved by the following steps:

[0152] Step 401: Obtain the location of the service requester in the target historical order when the service requester creates the target historical order.

[0153] Step 402: Calculate the straight-line distance between the location of the service requester and the target location, and use the straight-line distance as the walking distance.

[0154] Specifically, after the service requester successfully places an order (the service requester creates a target historical order), the service requester will be located to obtain the service requester's location, and then a relatively close location will be allocated to the service requester as the boarding location based on the service requester's location. After completing the above operations, the service requester's location and the boarding location will be recorded in the target historical order, and the straight-line distance between the service requester's location and the target location can intuitively reflect the distance between the boarding location and the service requester. The farther the distance, the more difficult it is for the service requester to find the boarding location. Therefore, the straight-line distance can be used as the walking distance of the service requester in the target historical order to reach the target location.

[0155] In one possible embodiment, Figure 5 A flowchart of another location determination method provided in Embodiment 1 of the present application is shown as follows: Figure 5 As shown, when the consumption parameter of the target dimension includes the above-mentioned walking distance, when executing step 201, it can also be implemented by the following steps:

[0156] Step 501: Obtain the location of the service requester in the target historical order when the service requester creates the target historical order.

[0157] Step 502: Calculate the shortest travel distance from the service requester's location to the target location using the target map, and use the shortest travel distance as the walking distance.

[0158] Specifically, after the service requester successfully places an order (the service requester creates a target historical order), the service requester will be located to obtain the service requester's location, and then a relatively close location will be assigned to the service requester as the boarding location based on the service requester's location. After completing the above operations, the service requester's location and the boarding location will be recorded in the target historical order. However, the service requester's location to the boarding location is often not reachable in a straight line. The service requester needs to travel to the boarding location according to the road plan, and there is often more than one travel path. The shortest travel path (shortest travel distance) can indicate the difficulty of the service requester finding the boarding location, and the longer the shortest travel path, the more difficult it is to find the boarding location. The target historical order will record the shortest travel path, so the shortest travel distance can be used as the walking distance of the service requester in the target historical order to reach the target location.

[0159] In a feasible implementation scheme, when executing step 203, it can be implemented in the following two ways:

[0160] Method 1: performing addition calculation on the weights corresponding to the consumption parameters of each target dimension in the target historical order, and using the addition calculation result as the weight corresponding to the target historical order.

[0161] Method 2: multiplying the weights corresponding to the consumption parameters of each target dimension in the target historical order, and using the multiplication result as the weight corresponding to the target historical order.

[0162] Specifically, when determining the weights corresponding to the target historical orders through method one, the influence of each target dimension on the weights corresponding to the target historical orders can be reduced, avoiding the situation where a single target dimension has too great an influence on the weights corresponding to the target historical orders, thereby making the influence of the three target dimensions on the weights corresponding to the target historical orders more evenly distributed.

[0163] Since different target dimensions have different impacts on the difficulty of the service requester finding the pick-up location, when determining the weights corresponding to the target historical orders through method 2, the proportion of the target dimension with the greatest impact in the weights corresponding to the target historical orders can be highlighted.

[0164] It should be noted that the specific method of obtaining the weight corresponding to the target historical order can be set according to actual needs and is not specifically limited here.

[0165] Embodiment 2

[0166] Embodiment 2 of the present application provides a model training method, which is implemented in the following manner:

[0167] Obtain the consumption parameters of each target dimension during the process of the service requester reaching the target location in the target historical order;

[0168] Determine the weight corresponding to each of the consumption parameters of the target dimensions according to the numerical value corresponding to each of the consumption parameters of the target dimensions, wherein the numerical value corresponding to each of the consumption parameters of the target dimensions and the weight corresponding to each of the consumption parameters of the target dimensions are in inverse proportion to each other;

[0169] Obtaining a weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order;

[0170] The weights corresponding to the target historical orders and the target historical orders are used as training samples to train the location training model to obtain a trained location training model.

[0171] Specifically, for the detailed description of the above implementation method, please refer to the relevant explanation in Example 1, and will not be described in detail here.

[0172] In a feasible implementation scheme, the consumption parameters of each target dimension include at least one of the following: the number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

[0173] Specifically, for the detailed description of the above implementation method, please refer to the relevant explanation in Example 1, which will not be described in detail here.

[0174] In a feasible implementation scheme, when the consumption parameter of the target dimension includes the total call duration, obtaining the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order can be achieved in the following manner:

[0175] Obtain the duration of each call between the service requester and the service provider during the process of reaching the target location in the target historical order;

[0176] The call durations are summed up and the sum result is used as the total call duration.

[0177] Specifically, for the detailed description of the above implementation method, please refer to the relevant explanation in Example 1, and will not be described in detail here.

[0178] In a feasible implementation scheme, when the consumption parameter of the target dimension includes the walking distance, obtaining the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order can be achieved in the following manner:

[0179] Obtaining the location of the service requester in the target historical order when the service requester created the target historical order;

[0180] The straight-line distance between the location of the service requester and the target location is calculated to use the straight-line distance as the walking distance.

[0181] Specifically, for the detailed description of the above implementation method, please refer to the relevant explanation in Example 1, and will not be described in detail here.

[0182] In a feasible implementation scheme, when the consumption parameter of the target dimension includes the walking distance, obtaining the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order can be achieved in the following manner:

[0183] Obtaining the location of the service requester in the target historical order when the service requester creates the target historical order;

[0184] The shortest travel distance from the service requester's location to the target location is calculated using the target map, so as to use the shortest travel distance as the walking distance.

[0185] Specifically, for the detailed description of the above implementation method, please refer to the relevant explanation in Example 1, and will not be described in detail here.

[0186] In a feasible implementation scheme, according to the weights corresponding to the consumption parameters of each target dimension in the target historical order, the weight corresponding to the target historical order is obtained, which can be achieved in the following two ways:

[0187] Method 1: performing addition calculation on the weights corresponding to the consumption parameters of each target dimension in the target historical order, and using the addition calculation result as the weight corresponding to the target historical order.

[0188] Method 2: multiplying the weights corresponding to the consumption parameters of each target dimension in the target historical order, and using the multiplication result as the weight corresponding to the target historical order.

[0189] Specifically, for the detailed description of the above two implementation methods, please refer to the relevant explanations in Example 1, and no detailed description will be given here.

[0190] In a feasible implementation scheme, the weight corresponding to the target historical order and the target historical order are used as training samples to train the location training model, which can be achieved in the following manner:

[0191] The weights corresponding to the target historical orders and the target historical orders are used as paired training samples to train the location training model.

[0192] Specifically, when training the location training model, multiple training samples are needed to train it. In order to make different target historical orders have different effects on the training results, the target historical orders and the weights corresponding to the target historical orders need to be input into the location training model as pairs of training samples to train the location training model so that the trained location training model can provide a relatively reasonable boarding location for the service requester.

[0193] After the target historical order is created, the service requester will obtain a target location as the agreed location, and the service requester will go to the target location. The process of the service requester going to the target location can reflect the difficulty of the service requester finding the target location. Therefore, in this application, it is necessary to obtain the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order, that is: for a certain target historical order, determine the difficulty of the service requester finding the target location from multiple dimensions. The easier it is for the service requester to find the target location, the shorter the time consumed by the service requester to find the target location, and the smaller the consumption parameters in each target dimension when the service requester finds the target location. It also means that the target location in the target historical order is more reasonable. In order to increase the reasonable target location, In order to determine the impact of the target historical orders corresponding to the points on the training results, it is necessary to determine the weights of the consumption parameters of each target dimension in different target historical orders. The smaller the consumption parameters of each target dimension, the larger the weight corresponding to the consumption parameters of the target dimension. Then, the weights corresponding to the consumption parameters of each target dimension in the target historical order are used to obtain the weights corresponding to the target historical order. The weights corresponding to the target historical orders can affect the training results when the target historical orders are used as training samples. The target historical orders with larger weights have a greater impact on the training results when used as training samples. Since the target locations of target historical orders with larger weights are more reasonable, the above method can enable the trained location training model to provide relatively reasonable agreed locations, which is beneficial to reduce the time consumed by the service requester to find the agreed location.

[0194] Embodiment 3

[0195] Figure 6 A schematic diagram of the structure of a position determination device provided in Embodiment 3 of the present application is shown in FIG. Figure 6 As shown, the position determination device includes:

[0196] A positioning unit 61 is used to locate the service requester after acquiring the order sent by the service requester to obtain the current location information of the service requester, and the positioning unit 61 sends the location information to the first determining unit 62;

[0197] The first determining unit 62 is used to input the location information as an input parameter into a trained location training model to obtain the location information of the service location, wherein the trained location training model is trained using target historical orders and weights corresponding to the target historical orders as training samples, and the first determining unit 62 sends the location information of the service location to the sending unit 63;

[0198] The sending unit 63 is used to send the location information of the service location to the service requester, so as to display the location corresponding to the location information of the service location on the map of the service requester.

[0199] In one possible embodiment, Figure 7 This is a schematic diagram of the structure of another position determination device provided in Embodiment 3 of the present application, such as Figure 7 As shown, the position determination device further includes:

[0200] The acquiring unit 64 is used to acquire the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order before acquiring the order sent by the service requester, and the acquiring unit 64 sends the consumption parameters of each target dimension to the second determining unit 65;

[0201] The second determining unit 65 is used to determine the weight corresponding to the consumption parameter of each target dimension according to the numerical value corresponding to the consumption parameter of each target dimension, wherein the numerical value corresponding to the consumption parameter of each target dimension and the weight corresponding to the consumption parameter of each target dimension are inversely proportional to each other, and the second determining unit 65 sends the weight corresponding to the consumption parameter of each target dimension to the third determining unit 66;

[0202] The third determination unit 66 is used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, and the third determination unit 66 sends the weight corresponding to the target historical order and the target historical order to the training unit 67;

[0203] The training unit 67 is used to train the location training model by using the weight corresponding to the target historical order and the target historical order as training samples to obtain a trained location training model.

[0204] In a feasible implementation scheme, the consumption parameters of each target dimension include at least one of the following:

[0205] The number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

[0206] In a feasible implementation scheme, when the consumption parameter of the target dimension includes the total call duration, the configuration of the acquisition unit 64, when used to acquire the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, includes:

[0207] Obtain the duration of each call between the service requester and the service provider during the process of reaching the target location in the target historical order;

[0208] The call durations are summed up and the sum result is used as the total call duration.

[0209] In a feasible implementation scheme, when the consumption parameter of the target dimension includes the walking distance, the configuration of the acquisition unit 64, when used to acquire the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, includes:

[0210] Obtaining the location of the service requester in the target historical order when the service requester created the target historical order;

[0211] The straight-line distance between the location of the service requester and the target location is calculated to use the straight-line distance as the walking distance.

[0212] In a feasible implementation scheme, when the consumption parameter of the target dimension includes the walking distance, the configuration of the acquisition unit 64, when used to acquire the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, includes:

[0213] Obtaining the location of the service requester in the target historical order when the service requester creates the target historical order;

[0214] The shortest travel distance from the service requester's location to the target location is calculated using the target map, so as to use the shortest travel distance as the walking distance.

[0215] In a feasible implementation manner, the configuration of the third determining unit 66, when used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, includes:

[0216] The weights corresponding to the consumption parameters of each target dimension in the target historical order are added together, and the addition result is used as the weight corresponding to the target historical order.

[0217] In a feasible implementation manner, the configuration of the third determining unit 66, when used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, includes:

[0218] The weights corresponding to the consumption parameters of each target dimension in the target historical order are multiplied, and the multiplication result is used as the weight corresponding to the target historical order.

[0219] For a detailed description of the above units, please refer to the relevant description of the first embodiment, which will not be repeated here.

[0220] In the embodiment of the present application, since the boarding location is obtained through a trained location training model, and the trained location training model is obtained by training using the target historical orders and the weights corresponding to the target historical orders as training samples, and since the target historical orders with larger weights have a greater impact on the training results when used as training samples, and the target historical orders with larger weights have a more reasonable target location, the above method can be used to enable the trained location training model to provide a relatively reasonable agreed location (boarding location), which is beneficial to reduce the time consumed by the service requester to find the agreed location.

[0221] Embodiment 4

[0222] Figure 8 A schematic diagram of the structure of a model training device provided in Example 4 of the present application is shown in FIG. Figure 8 As shown, the model training device includes:

[0223] An acquisition unit 81 is used to acquire consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, and the acquisition unit 81 sends the consumption parameters of the target dimension to the first determination unit 82;

[0224] The first determining unit 82 is used to determine the weight corresponding to the consumption parameter of each target dimension according to the numerical value corresponding to the consumption parameter of each target dimension, wherein the numerical value corresponding to the consumption parameter of each target dimension and the weight corresponding to the consumption parameter of each target dimension are inversely proportional to each other, and the first determining unit 82 sends the weight corresponding to the consumption parameter of each target dimension to the second determining unit 83;

[0225] The second determining unit 83 is used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, and the second determining unit 83 sends the weight corresponding to the target historical order and the target historical order to the training unit 84;

[0226] The training unit 84 is used to train the location training model by using the weight corresponding to the target historical order and the target historical order as training samples to obtain a trained location training model.

[0227] In a feasible implementation scheme, the consumption parameters of each target dimension include at least one of the following:

[0228] The number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

[0229] In a feasible implementation scheme, when the consumption parameter of the target dimension includes the total call duration, the configuration of the acquisition unit 81, when used to acquire the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, includes:

[0230] Obtain the duration of each call between the service requester and the service provider during the process of reaching the target location in the target historical order;

[0231] The call durations are summed up and the sum result is used as the total call duration.

[0232] In a feasible implementation manner, when the consumption parameter of the target dimension includes the walking distance, the configuration of the acquisition unit 81, when used to acquire the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, includes:

[0233] Obtaining the location of the service requester in the target historical order when the service requester created the target historical order;

[0234] The straight-line distance between the location of the service requester and the target location is calculated to use the straight-line distance as the walking distance.

[0235] In a feasible implementation manner, when the consumption parameter of the target dimension includes the walking distance, the configuration of the acquisition unit 81, when used to acquire the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, includes:

[0236] Obtaining the location of the service requester in the target historical order when the service requester creates the target historical order;

[0237] The shortest travel distance from the service requester's location to the target location is calculated using the target map, so as to use the shortest travel distance as the walking distance.

[0238] In a feasible implementation manner, the configuration of the second determining unit 83, when used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, includes:

[0239] The weights corresponding to the consumption parameters of each target dimension in the target historical order are added together, and the addition result is used as the weight corresponding to the target historical order.

[0240] In a feasible implementation manner, the configuration of the second determining unit 83, when used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, includes:

[0241] The weights corresponding to the consumption parameters of each target dimension in the target historical order are multiplied, and the multiplication result is used as the weight corresponding to the target historical order.

[0242] In a feasible implementation manner, the configuration of the training unit 84, when used to train the location training model using the weight corresponding to the target historical order and the target historical order as training samples, includes:

[0243] The weights corresponding to the target historical orders and the target historical orders are used as paired training samples to train the location training model.

[0244] For a detailed description of the above units, please refer to the relevant description of the second embodiment, which will not be described in detail here.

[0245] After the target historical order is created, the service requester will obtain a target location as the agreed location, and the service requester will go to the target location. The process of the service requester going to the target location can reflect the difficulty of the service requester finding the target location. Therefore, in this application, it is necessary to obtain the consumption parameters of each target dimension in the process of the service requester reaching the target location in the target historical order, that is: for a certain target historical order, determine the difficulty of the service requester finding the target location from multiple dimensions. The easier it is for the service requester to find the target location, the shorter the time consumed by the service requester to find the target location, and the smaller the consumption parameters in each target dimension when the service requester finds the target location. It also means that the target location in the target historical order is more reasonable. In order to increase the reasonable target location, In order to determine the impact of the target historical orders corresponding to the points on the training results, it is necessary to determine the weights of the consumption parameters of each target dimension in different target historical orders. The smaller the consumption parameters of each target dimension, the larger the weight corresponding to the consumption parameters of the target dimension. Then, the weights corresponding to the consumption parameters of each target dimension in the target historical order are used to obtain the weights corresponding to the target historical order. The weights corresponding to the target historical orders can affect the training results when the target historical orders are used as training samples. The target historical orders with larger weights have a greater impact on the training results when used as training samples. Since the target locations of target historical orders with larger weights are more reasonable, the above method can enable the trained location training model to provide relatively reasonable agreed locations, which is beneficial to reduce the time consumed by the service requester to find the agreed location.

[0246] Embodiment 5

[0247] Fig. 9 A schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present application includes: a processor 901, a storage medium 902 and a bus 903, wherein the storage medium 902 includes: Figure 6 In the position determination device shown, the storage medium 902 stores machine-readable instructions executable by the processor 901. When the electronic device runs the above-mentioned position determination method, the processor 901 communicates with the storage medium 902 through the bus 903, and the processor 901 executes the machine-readable instructions to perform the following steps:

[0248] After obtaining the order sent by the service requester, positioning the service requester to obtain the current location information of the service requester;

[0249] Inputting the location information as an input parameter into a trained location training model to obtain the location information of the service location, wherein the trained location training model is trained using target historical orders and weights corresponding to the target historical orders as training samples;

[0250] The location information of the service location is sent to the service requester, so that a location corresponding to the location information of the service location is displayed on a map of the service requester.

[0251] In the embodiment of the present application, the storage medium 902 can also execute other machine-readable instructions to execute other methods as described in Example 1. For the specific execution method steps and principles, please refer to the description of Example 1, which will not be repeated here.

[0252] Embodiment 6

[0253] Fig.10 A schematic diagram of the structure of an electronic device provided in Embodiment 6 of the present application includes: a processor 1001, a storage medium 1002 and a bus 1003, wherein the storage medium 1002 includes: Figure 8 In the model training device shown, the storage medium 1002 stores machine-readable instructions executable by the processor 1001. When the electronic device runs the above-mentioned model training method, the processor 1001 communicates with the storage medium 1002 through the bus 1003, and the processor 1001 executes the machine-readable instructions to perform the following steps:

[0254] Obtain the consumption parameters of each target dimension during the process of the service requester reaching the target location in the target historical order;

[0255] Determine the weight corresponding to each of the consumption parameters of the target dimensions according to the numerical value corresponding to each of the consumption parameters of the target dimensions, wherein the numerical value corresponding to each of the consumption parameters of the target dimensions and the weight corresponding to each of the consumption parameters of the target dimensions are in inverse proportion to each other;

[0256] Obtaining a weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order;

[0257] The weights corresponding to the target historical orders and the target historical orders are used as training samples to train the location training model to obtain a trained location training model.

[0258] In the embodiment of the present application, the storage medium 1002 can also execute other machine-readable instructions to execute other methods as described in Example 2. For the specific execution method steps and principles, please refer to the description of Example 1, which will not be repeated here.

[0259] Embodiment 7

[0260] Embodiment 7 of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are performed:

[0261] After obtaining the order sent by the service requester, positioning the service requester to obtain the current location information of the service requester;

[0262] Inputting the location information as an input parameter into a trained location training model to obtain the location information of the service location, wherein the trained location training model is trained using target historical orders and weights corresponding to the target historical orders as training samples;

[0263] The location information of the service location is sent to the service requester, so that a location corresponding to the location information of the service location is displayed on a map of the service requester.

[0264] In the embodiment of the present application, the computer program can also execute other machine-readable instructions when being run by the processor to execute other methods as described in Example 1. For the specific execution method steps and principles, please refer to the description of Example 1, which will not be repeated here.

[0265] Embodiment 8

[0266] Embodiment 8 of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are performed:

[0267] Obtain the consumption parameters of each target dimension during the process of the service requester reaching the target location in the target historical order;

[0268] Determine the weight corresponding to each of the consumption parameters of the target dimensions according to the numerical value corresponding to each of the consumption parameters of the target dimensions, wherein the numerical value corresponding to each of the consumption parameters of the target dimensions and the weight corresponding to each of the consumption parameters of the target dimensions are in inverse proportion to each other;

[0269] Obtaining a weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order;

[0270] The weights corresponding to the target historical orders and the target historical orders are used as training samples to train the location training model to obtain a trained location training model.

[0271] In the embodiment of the present application, the computer program can also execute other machine-readable instructions when being run by the processor to execute other methods as described in Example 2. For the specific execution method steps and principles, please refer to the description of Example 1, which will not be repeated here.

[0272] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and 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 system, 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.

[0273] 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.

[0274] 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.

[0275] 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.

[0276] 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 determining a position, characterized in that: include: After obtaining the order sent by the service requester, positioning the service requester to obtain the current location information of the service requester; The location information is input as an input parameter into the trained location training model to obtain the location information of the service location. The trained location training model is obtained by using the target historical orders and the weights corresponding to the target historical orders as training samples, and the values ​​corresponding to the consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical orders are inversely proportional to the weights corresponding to the consumption parameters of each target dimension, and The weight corresponding to the target historical order is obtained according to the weight corresponding to the consumption parameter of each target dimension in the target historical order by at least one of the following methods: performing addition calculation on the weights corresponding to the consumption parameters of each target dimension in the target historical order, and using the result of the addition calculation as the weight corresponding to the target historical order, Performing a multiplication calculation on the weight corresponding to the consumption parameter of each target dimension in the target historical order, so as to use the result of the multiplication calculation as the weight corresponding to the target historical order; as well as The location information of the service location is sent to the service requester, so that a location corresponding to the location information of the service location is displayed on a map of the service requester.

2. The method for determining a position according to claim 1, wherein: Before obtaining the order sent by the service requester, the location determination method further includes: Obtain consumption parameters of each target dimension during the process of the service requester reaching the target location in the target historical order; Determine the weight corresponding to each of the consumption parameters of the target dimensions according to the numerical value corresponding to each of the consumption parameters of the target dimensions, wherein the numerical value corresponding to each of the consumption parameters of the target dimensions and the weight corresponding to each of the consumption parameters of the target dimensions are in inverse proportion to each other; Obtaining a weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order; The weights corresponding to the target historical orders and the target historical orders are used as training samples to train the location training model to obtain a trained location training model.

3. The position determination method according to claim 2, characterized in that: The consumption parameters of each target dimension include at least one of the following: The number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

4. A model training method, characterized in that: include: Obtain the consumption parameters of each target dimension during the process of the service requester reaching the target location in the target historical order; Determine the weight corresponding to each of the consumption parameters of the target dimensions according to the numerical value corresponding to each of the consumption parameters of the target dimensions, wherein the numerical value corresponding to each of the consumption parameters of the target dimensions and the weight corresponding to each of the consumption parameters of the target dimensions are in inverse proportion to each other; According to the weights corresponding to the consumption parameters of each target dimension in the target historical order, the weights corresponding to the target historical order are obtained by at least one of the following methods: performing addition calculation on the weights corresponding to the consumption parameters of each target dimension in the target historical order, and using the addition calculation result as the weight corresponding to the target historical order, Performing multiplication calculation on the weight corresponding to the consumption parameter of each target dimension in the target historical order, so as to use the multiplication result as the weight corresponding to the target historical order; as well as The weights corresponding to the target historical orders and the target historical orders are used as training samples to train the location training model to obtain a trained location training model.

5. A position determination device, characterized in that: include: a positioning unit, configured to, after acquiring the order sent by the service requester, locate the service requester to obtain the current location information of the service requester, and the positioning unit sends the location information to the first determining unit; The first determination unit is used to input the location information as an input parameter into a trained location training model to obtain the location information of the service location; wherein the trained location training model is obtained by training using target historical orders and weights corresponding to the target historical orders as training samples, and the values ​​corresponding to the consumption parameters of each target dimension in the target historical orders during the process of the service requester arriving at the target location and the weights corresponding to the consumption parameters of each target dimension are inversely proportional to each other; The first determining unit sends the location information of the service location to the sending unit; The sending unit is used to send the location information of the service location to the service requester, so as to display the location corresponding to the location information of the service location on the map of the service requester; The position determination device also includes: The third determining unit is configured to obtain the weight corresponding to the target historical order through at least one of the following items according to the weight corresponding to the consumption parameter of each target dimension in the target historical order: performing addition calculation on the weights corresponding to the consumption parameters of each target dimension in the target historical order, and using the result of the addition calculation as the weight corresponding to the target historical order, Performing a multiplication calculation on the weight corresponding to the consumption parameter of each target dimension in the target historical order, so as to use the result of the multiplication calculation as the weight corresponding to the target historical order; The numerical value corresponding to the consumption parameter of each target dimension and the weight corresponding to the consumption parameter of each target dimension are inversely proportional.

6. The position determination device according to claim 5, characterized in that: The position determination device further comprises: An acquisition unit, used for acquiring consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order before acquiring the order sent by the service requester, and the acquisition unit sends the consumption parameters of each target dimension to the second determination unit; The second determining unit is used to determine the weight corresponding to each consumption parameter of the target dimension according to the numerical value corresponding to the consumption parameter of each target dimension, and send the weight corresponding to the consumption parameter of each target dimension to the third determining unit; The third determining unit is used to send the weight corresponding to the target historical order and the target historical order to the training unit; The training unit is used to train the location training model by using the weight corresponding to the target historical order and the target historical order as training samples to obtain a trained location training model.

7. The position determination device according to claim 6, characterized in that: The consumption parameters of each target dimension include at least one of the following: The number of calls between the service requester and the service provider in the process of reaching the target location in the target history order, the total duration of calls between the service requester and the service provider in the process of reaching the target location in the target history order, and the walking distance of the service requester in the process of reaching the target location in the target history order.

8. A model training device, characterized in that: include: An acquisition unit, used for acquiring consumption parameters of each target dimension in the process of the service requester arriving at the target location in the target historical order, and the acquisition unit sends the consumption parameters of the target dimension to the first determination unit; The first determining unit is used to determine the weight corresponding to the consumption parameter of each target dimension according to the numerical value corresponding to the consumption parameter of each target dimension, wherein the numerical value corresponding to the consumption parameter of each target dimension and the weight corresponding to the consumption parameter of each target dimension are inversely proportional to each other, and the first determining unit sends the weight corresponding to the consumption parameter of each target dimension to the second determining unit; The second determination unit is used to obtain the weight corresponding to the target historical order according to the weight corresponding to the consumption parameter of each target dimension in the target historical order, and the second determination unit sends the weight corresponding to the target historical order and the target historical order to the training unit; The training unit is used to train the location training model by using the weight corresponding to the target historical order and the target historical order as training samples to obtain a trained location training model.

9. 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 through the bus, and the processor executes the machine-readable instructions to perform the steps of the position determination method as described in any one of claims 1 to 3 or to perform the steps of the model training method as described in claim 4.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the position determination method according to any one of claims 1 to 3 or the steps of the model training method according to claim 4.