Method, device, electronic device and storage medium for obtaining driver terminal location

By using the bias factor and distance factor to adjust the driver's position in third-party applications, the problem of driver position drift is solved, achieving more accurate position display and better user experience.

CN117216176BActive Publication Date: 2025-10-03PINGAN YIQIANBAO E COMMERCE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311179134.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2025-10-03
Estimated Expiration
2043-09-12

AI Technical Summary

Technical Problem

In the existing technology, when third-party applications obtain the driver's location, due to environmental factors, signal transmission factors and insufficient hardware settings, the driver's location display drifts, affecting the user experience.

Method used

By introducing bias factors and distance factors, the driver's observation position is adjusted and projected onto the target path to obtain the driver's effective position. The position update frequency is controlled to reduce noise interference.

Benefits of technology

Improved the accuracy of driver location, reduced vehicle icon drift, and enhanced user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117216176B_ABST
    Figure CN117216176B_ABST
Patent Text Reader

Abstract

The present invention relates to a method, device, electronic device and storage medium for obtaining the driver-side location. It relates to the technical field of cross-platform data sharing, and the method includes: obtaining the observed position of the driver-side vehicle, the observed position being the position of the driver-side vehicle obtained by the application; adjusting the observed position according to the bias factor and the distance factor to obtain the effective position of the driver-side vehicle, the bias factor being used to project the observed position onto the target path, and the distance factor being used to control the update frequency of the effective position of the driver-side vehicle; and sending the effective position of the driver-side vehicle to the passenger terminal. The above method can improve the accuracy of the driver-side vehicle position, so that the driver-side vehicle position obtained by the passenger is consistent with the actual vehicle position, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cross-platform data sharing technology, and in particular to a method, device, electronic device and storage medium for obtaining a driver's terminal location. Background Art

[0002] With the popularity of online ride-hailing services, many third-party applications will connect to the driver resources of online ride-hailing suppliers in order to improve user stickiness and facilitate user management. However, since the supplier's drivers are online ride-hailing driver-side users and passengers are users of third-party applications, the two use different applications. Therefore, when passengers use third-party applications to take a ride, the third-party applications obtain the driver's location information by calling the interface provided by the online ride-hailing supplier, so that passengers can understand the driver's current location.

[0003] However, in the research and practice of the prior art, the inventors of the present invention found that when a passenger places an online car-hailing order through a third-party application, the vehicle icon representing the driver's location displayed on the third-party application will drift during the driver's journey to the pick-up point, affecting the user's judgment of the driver's location and resulting in a poor riding experience. The reason why the vehicle icon representing the driver's location displayed on the third-party application drifts may be due to environmental factors, signal transmission factors, and insufficient hardware settings. For example, when the vehicle is traveling in a tunnel or in an area blocked by high-rise buildings, the GPS signal strength is weak, which will affect the driver's positioning signal. In addition, the frequency with which the third-party application calls the interface provided by the online car-hailing supplier is low, far lower than the normal frequency of obtaining location information. In addition, the third-party application lacks auxiliary information such as base station information of the mobile operator network, driver's speed information, and WiFi information to adjust the driver's positioning. The overly discrete location information and the lack of auxiliary information make it impossible for the third-party application to accurately estimate the driver's location.

[0004] It can be seen that the above-mentioned environmental factors, signal transmission factors and insufficient hardware settings will cause the driver's location obtained by the third-party application to deviate from the driver's actual location, causing the vehicle icon representing the driver's location displayed on the third-party application to drift, seriously affecting the user experience. Summary of the Invention

[0005] Based on this, it is necessary to provide a method, device, electronic device and storage medium for obtaining the driver's side location to address the problem in the existing technology that third-party applications cannot accurately obtain the driver's real-time location.

[0006] Based on the above-mentioned purpose, in the first aspect, the present application proposes a method for obtaining the driver-side position, the method comprising: obtaining the observed position of the driver-side vehicle, the observed position being the position of the driver-side vehicle obtained by the application; adjusting the observed position according to the bias factor and the distance factor to obtain the effective position of the driver-side vehicle, the bias factor being used to project the observed position onto the target path, and the distance factor being used to control the update frequency of the effective position of the driver-side vehicle; and sending the effective position of the driver-side vehicle to the passenger terminal.

[0007] Optionally, before obtaining the observed position of the driver-side vehicle, the method also includes: obtaining the initial position of the driver when accepting the online ride-hailing order and the pick-up point displayed in the online ride-hailing order; taking the initial position as the starting point and the pick-up point as the end point, obtaining at least one planned path, and using the starting point as the initial valid position of the driver-side vehicle.

[0008] Optionally, the observation position is adjusted according to the bias factor and the distance factor to obtain the effective position of the driver-side vehicle, including: obtaining the road closest to the observation position as a reference path based on preset road network information; determining the target path based on the distance relationship between the observation position and the reference path and each planned path, the target path being one of the planned paths and the reference path; and obtaining the effective position of the driver-side vehicle based on the projection position of the observation position on the target path and the distance factor.

[0009] Optionally, determining the target path based on the distance relationship between the observation position and the reference path and each planned path includes: calculating the distance between the observation position and each planned path to obtain the planned path with the minimum distance as an alternative path; calculating the first distance between the observation position and the alternative path, and calculating the second distance between the observation position and the reference path; when the difference between the first distance and the second distance is less than the bias factor, taking the alternative path as the target path; when the difference between the first distance and the second distance is greater than or equal to the bias factor, taking the reference path as the target path.

[0010] Optionally, the effective position of the driver-side vehicle is obtained based on the projection position of the observation position on the target path and the distance factor, including: obtaining the effective position at a preset moment; when the distance between the projection position of the observation position on the target path and the effective position at the preset moment is greater than the distance factor, using the projection position of the observation position on the target path as the effective position of the driver-side vehicle.

[0011] Optionally, after obtaining the valid position of the driver-side vehicle, the method further includes: determining whether the valid position is on any planned path, and if so, continuing the calculation of the next valid position; if not, recalculating the planned path.

[0012] Optionally, the method also includes updating the bias factor and the distance factor based on a statistical model, and the updating method includes: when the driver-side vehicle arrives at the pick-up point, obtaining the actual driving route of the driver-side vehicle; obtaining the mapping position of the observation position of the driver-side vehicle on the driver's actual driving route, and obtaining an error data set based on the difference between the observation position of the driver-side vehicle and the mapping position of the observation position on the actual driving route; after the amount of data in the error data set reaches a preset number, updating the bias factor and distance factor.

[0013] In a second aspect, a device for acquiring a driver's vehicle position is provided. The device comprises: a data acquisition module for acquiring the observed position of the driver's vehicle, where the observed position is the position of the driver's vehicle as acquired by an application; a data processing module for adjusting the observed position based on a bias factor and a distance factor to obtain an effective position of the driver's vehicle; the bias factor is used to project the observed position onto a target path, and the distance factor is used to control the update frequency of the effective position of the driver's vehicle; and an output module for transmitting the effective position of the driver's vehicle to the passenger terminal.

[0014] In a third aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the method described in the first aspect.

[0015] In a fourth aspect, a storage medium storing computer-readable instructions is also provided. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of any one of the methods described in the first aspect.

[0016] In general, the beneficial effects of this application are at least:

[0017] A method for obtaining the driver's position is provided. The observation position is longitudinally adjusted by a bias factor, and the driver's observation position is reasonably projected onto the target path, thereby improving the accuracy of target path selection. The projection of the observation position on the target path is horizontally adjusted by a distance factor to obtain an effective position, thereby reducing the impact of noise on the positioning of the vehicle when the vehicle is moving slowly or stationary, avoiding slow updates of the vehicle position on the driver's side, and finally sending the effective position of the vehicle on the driver's side to the passenger terminal. This embodiment can improve the accuracy of the vehicle position on the driver's side, ensure that the vehicle position on the driver's side obtained by the passenger is consistent with the actual vehicle position, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a diagram of an implementation environment of a method for obtaining a driver's terminal location provided in one embodiment;

[0019] Figure 2 A flowchart of a method for obtaining a driver's terminal location in one embodiment;

[0020] Figure 3 A schematic diagram of a process for obtaining a valid position of a vehicle on the driver side in one embodiment;

[0021] Figure 4 This is a structural block diagram of a device for obtaining a driver's terminal position in one embodiment;

[0022] Figure 5 A schematic diagram of an electronic device provided by an embodiment;

[0023] Figure 6 A schematic diagram of a computer-readable storage medium is provided for one embodiment. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0025] It will be understood that the terms "first," "second," etc. used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.

[0026] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0027] Figure 1 This is an implementation environment diagram of a method for obtaining a driver's terminal location provided in one embodiment, such as Figure 1 As shown, in this implementation environment, a computer device 110 and a terminal 120 are included.

[0028] The computer device 110 may be a server, and the computer device 110 and the terminal device 120 may be connected via Bluetooth, USB (Universal Serial Bus) or other communication connection methods, which are not limited in the present invention.

[0029] The computer device 110 provides a business point of processing, database, and communication facilities. The server can be a monolithic server, a distributed server across multiple computers, a computer data center, a cloud server, or a server cluster deployed in the cloud. The server can be of various types, such as, but not limited to, a web server, a news server, a mail server, a message server, an advertising server, a file server, an application server, an interactive server, a database server, or a proxy server. In some embodiments, each server can include hardware, software, or embedded logic components for performing appropriate functions supported or implemented by the server, or a combination of two or more such components. For example, the server is a blade server, a cloud server, etc., or it can be a server group consisting of multiple servers, which can include one or more of the above-mentioned types of servers, etc.

[0030] In this embodiment, the terminal 120 is, for example, a mobile phone, a portable computer, a tablet computer, a PDA, a wearable device, etc., but is not limited thereto. The terminal 120 is installed with an application APP with an online car-hailing function, and the APP obtains the driver's terminal location information provided by the online car-hailing operator through the computer device 110.

[0031] One application scenario of this embodiment involves a user hailing a ride through a third-party application. When a user needs a ride, they can access the ride interface through the third-party application on their operating terminal. This interface provides a map showing the location of nearby vehicles, guiding the user to quickly find a ride. In this scenario, upon entering the ride interface based on the user's operation, the terminal will obtain the passenger's location information to determine the pick-up point, or determine the pick-up point based on the address entered by the passenger. After the user successfully requests a ride, the ride interface will display the driver's vehicle's location as a vehicle icon, allowing the passenger to easily identify the driver's location and wait at the pick-up point in time based on the driver's upcoming arrival time. In order to avoid the situation where the vehicle icon drifts during this process, this embodiment provides a method for obtaining the driver-side location, which adjusts the driver's location information obtained from the operator side based on the bias factor and the distance factor, and predicts the driver's effective location. When the online car-hailing order is completed, the received driver-side vehicle location information and the actual driver-side vehicle location information are compared to generate an error set for each road, and then the bias factor and the distance factor are updated according to the error set, so that the calculation of the effective position is more accurate, thereby improving the calculation accuracy of the effective position, reducing the drift of the vehicle icon on the passenger car use page, and improving the consistency between the driver-side vehicle position displayed on the car use interface and the actual position of the driver-side vehicle.

[0032] Figure 2 A flowchart of a method for obtaining the driver's terminal location is shown. The implementation subject of this method is a server or a terminal. When the implementation subject is a terminal, the terminal can send a data acquisition request to the server to obtain the driver's location information obtained by the server, and then execute the method of this embodiment. This embodiment takes the server as the implementation subject as an example. For example, the implementation subject is Figure 1 computer device 110.

[0033] like Figure 2 As shown, in one embodiment, a method for obtaining a driver's terminal location includes the following steps S201 to S203:

[0034] S201. Obtain the observed position of the vehicle on the driver side.

[0035] It is understandable that since the driver and the passenger are users of two different applications, third-party applications cannot directly obtain the location information of the driver's vehicle. In addition, due to environmental factors, signal transmission factors, and insufficient hardware settings, the location of the driver's vehicle obtained by the third-party application from the online car-hailing supply platform may deviate from the actual location of the driver's vehicle.

[0036] Therefore, in this embodiment, the observed position of the driver-side vehicle is the position obtained by the application. The above-mentioned application is a third-party application. The application obtains the driver's position from the online car-hailing supply platform. In one example, the observed position of the driver-side vehicle may be different from the actual position of the driver-side vehicle, or it may be the same as the actual position of the driver-side vehicle.

[0037] In one example, a ride-hailing driver's driving path generally follows the route specified by the ride-hailing platform. This route is generally consistent with the preset route, and this principle can be used as the basis for adjusting the driver's position. It is also understandable that when a driver receives a ride-hailing order, they must proceed to the pick-up point based on the order information. Therefore, the driver's location at the time of accepting the order is the starting point for the driver's vehicle. Therefore, in this embodiment, before obtaining the driver's observed location, the following steps are also included: obtaining the driver's initial location when accepting the ride-hailing order and the pick-up point indicated in the ride-hailing order; obtaining at least one planned path using the initial location as the starting point and the pick-up point as the end point, and using the starting point as the initial valid position for the driver's vehicle. The planned path and initial valid position can be stored to facilitate subsequent calculation of the valid position and target path.

[0038] S202: Adjust the observation position according to the bias factor and the distance factor to obtain the effective position of the driver's vehicle.

[0039] In this embodiment, the road network information is pre-stored in the server. The road network is a virtual mapping of actual roads. Any actual road can find a corresponding road network road in the road network.

[0040] In the prior art, the projection point of the observation position onto the nearest road on the road network is directly used as the effective position. For example, the observation position is displayed as position A on the road network, and the roads adjacent to A are Road M and Road N. The vertical distance between observation position A and Road M is greater than the vertical distance between observation position A and Road N. In this case, the projection position of observation position A on Road N is used as the effective position of observation position A. However, when urban roads have many two-way one-way streets separated by green belts, Road M and Road N are roads in opposite directions. This method may cause observation position A to be projected onto the opposite one-way street. In addition, at intersections on urban roads, vehicles may move slowly due to congestion or be stationary due to waiting at traffic lights. In this scenario, the error in the observation position is much larger than the actual displacement of the vehicle, causing greater interference. In this case, the observation position may be distributed on all sides of the intersection.

[0041] Therefore, this embodiment adjusts the observation position according to the bias factor and the distance factor to obtain the effective position of the vehicle on the driver's side. In this embodiment, the bias factor is used to project the observation position onto the target path. For example, when the observation position satisfies the corresponding relationship with the bias factor, the observation position is projected onto the target path. The distance factor is used to control the update frequency of the effective position of the vehicle on the driver's side. For example, when the observation position satisfies the corresponding relationship with the distance factor, the effective position is updated. Thus, the observation position is longitudinally adjusted by the bias factor, and the driver's observation position is reasonably projected onto the target path. The projection of the observation position on the target path is horizontally adjusted by the distance factor to obtain the effective position. This can reduce the impact of noise on the positioning of the vehicle when it is moving slowly or stationary, and avoid slow updates of the vehicle position on the driver's side, which affects the user experience.

[0042] In this embodiment, Figure 3 A schematic diagram of the process of obtaining the effective position of the driver is shown. Figure 3 , adjusting the observation position according to the bias factor and the distance factor to obtain the effective position of the driver's vehicle, including the following steps S301 to S303:

[0043] S301. According to preset road network information, obtain the road closest to the observation location as a reference path.

[0044] As can be seen from the above embodiment, the observed position may be correct or may have deviations. When the observed position is correct, the road closest to the observed position can be the target path. Therefore, this embodiment obtains the road closest to the observed position on the road network as a reference path. This reference path can be one of the planned paths.

[0045] S302: Determine the target path based on the distance relationship between the observation position and the reference path and each planned path.

[0046] In this embodiment, the target path is any one of the planned paths and the reference path. In one example, the planned paths may include T1, T2, T3, ..., Tn. It is understood that the reference path is the road closest to the observation location. Therefore, there is only one reference path, which is denoted as T in this embodiment. Therefore, in this embodiment, the target path at any moment is any one of T, T1, T2, T3, ..., Tn.

[0047] In this embodiment, the target path is determined based on the distance relationship between the observation position and the reference path and each planned path, including: calculating the distance between the observation position and each planned path, obtaining the planned path with the minimum distance as an alternative path; calculating the first distance between the observation position and the alternative path, and calculating the second distance between the observation position and the reference path; when the difference between the first distance and the second distance is less than the bias factor, taking the alternative path as the target path; when the difference between the first distance and the second distance is greater than or equal to the bias factor, taking the reference path as the target path.

[0048] Continuing with the above example, the planned paths include T1, T2, T3…Tn, and the reference path is T. The first distances between the observation location and each planned path are S1, S2, S3…Sn, respectively. If the minimum value among S1, S2, S3…Sn is S2, then the alternative path is T2. The second distance between the observation location and the reference path T is S. The difference between the first and second distances is a1, where a1 = |S2-S|. When a1 is less than the bias factor λ, the alternative path T2 is used as the target path. When a1 is greater than or equal to the bias factor λ, the reference path T is used as the target path.

[0049] By introducing the bias factor λ to optimize target path selection using the above method, the accuracy of target path selection can be improved. It is understood that when the bias factor λ is 0, the observed position will be directly projected onto the reference path. When the bias factor λ is infinite, the observed position will be directly projected onto any planned path, failing to reflect the driver's vehicle's actual path. Therefore, the more accurate the bias factor λ in this embodiment, the more accurate the target path selection.

[0050] S303. Obtain the effective position of the driver's vehicle based on the projection position of the observation position on the target path and the distance factor.

[0051] It is understandable that the position of a vehicle is constantly changing during driving. In order to reduce the impact of noise on its positioning when the vehicle is moving slowly or stationary, and to avoid slow updates of the vehicle position on the driver side, which affects the user experience, this embodiment introduces the distance factor S t , when the distance between the effective positions of two adjacent moments is greater than S t , the effective position is updated.

[0052] Specifically, in this embodiment, the effective position of the driver-side vehicle is obtained based on the projection position of the observation position on the target path and the distance factor, including: obtaining the effective position at a preset time; when the distance between the projection position of the observation position on the target path and the effective position at the preset time is greater than the distance factor, the projection position of the observation position on the target path is used as the effective position.

[0053] In this embodiment, the preset time is the calculation time of the last valid position. In an example, if the target path is T2, the observation position is A, the projection position of the observation position on the target path is B, the valid position at the last moment is C, and position C is on the target path T2, then when the distance between position B and position C is greater than the distance factor S t When , position B is stored as the valid position at the current moment. If the distance between the projection position of the observed position on the target path and the valid position at the previous moment is less than the distance factor, the driver's observed position is retrieved again and step S301 is executed again.

[0054] Through the above method, the distance factor S is introduced t , so that the vehicle travels a distance factor S t After that, the update frequency of the effective position is controlled. It can be understood that when S t = 0, the projection position of each observation position on the target path will be regarded as a valid position. t When the distance factor S is infinite, all observed positions will be ignored, and the driver's position will be updated slowly, affecting the user experience. t The more accurate the value of , the more accurate the selection of the effective position by this embodiment.

[0055] After obtaining the valid position of the driver, the method of this embodiment further includes: determining whether the valid position is on any planned path; if so, continuing the calculation of the next valid position; if not, recalculating the planned path.

[0056] For example, the planned route includes T1, T2, and T3, and the valid position obtained in step S303 is a point on T2, then the calculation of the next valid position is continued. If the valid position obtained in step S303 is not on any of the routes T1, T2, and T3, then there is a possibility that the driver has changed the route or the passenger has modified the address. In this case, the planned route is recalculated, that is, steps S201 to S202 are re-executed.

[0057] S203: Send the valid location of the vehicle on the driver's side to the passenger terminal.

[0058] In this embodiment, to allow passengers to see the effective location of the driver's vehicle in real time, a third-party application can be used to provide a vehicle usage interface on the passenger's terminal. The vehicle usage interface uses a vehicle icon to represent the current location of the driver's vehicle. The position of the vehicle icon is consistent with the effective location of the vehicle. For example, if the effective location is position D on road T5 in the road network, the vehicle icon will also be displayed at position D on road T5 in the road network.

[0059] In order to improve the bias factor λ and distance factor S tAccuracy, this embodiment uses a statistical model to calculate the bias factor λ and the distance factor S t The statistical model is updated, wherein the initial value can be manually set based on historical data and expert experience for the cold start of the system.

[0060] In an example, considering that when λ is 20 meters, the bias factor can meet the positioning error in most open areas with good signals, and has a certain tolerance for signal distortion caused by multipath effects, the initial value of the bias factor λ is set to 20. The distance factor S t Related to λ, assuming that λ is a noise distribution in a circular area with the true position as the center, then S t It should be larger than the diameter of the circle by 2λ. Based on historical data, t When the difference from 2λ is 10 meters, the update frequency of the effective position has a better effect. t The calculation formula for the initial value is:

[0061] S t =2λ+10

[0062] That is, in this embodiment, the initial value of λ can be 20 meters, then S t The initial value can be 50 meters.

[0063] The above is a method for setting the initial values ​​of the bias factor and the distance factor. It can be understood that the bias factor and distance factor of each road will change with different time points and different road conditions. In order to further improve the effective prediction of the driver's actual position, this embodiment also includes: when the driver's vehicle arrives at the pick-up point, obtaining the actual driving route of the driver's vehicle; obtaining the mapping position of the observed position of the driver's vehicle on the driver's actual driving route, and obtaining an error data set based on the difference between the observed position of the driver's vehicle and the mapping position of the observed position on the actual driving route; after the amount of data in the error data set reaches a preset amount, the bias factor and distance factor are updated.

[0064] When the driver's vehicle arrives at the pick-up point, it indicates that the driver has picked up the passenger. The actual driving path of the driver's vehicle will be stored in the online car-hailing supply platform. This embodiment requests the online car-hailing supply platform to obtain the complete actual driving route of the driver's vehicle, and then compares the obtained observed position of the driver's vehicle with the mapped position of the observed position on the actual driving route. For example, the observed position at a certain moment is O, and the mapped position of the observed position O on the actual driving route is P. The difference between position O and position P is 1 meter. The error data set is obtained in this way. After the amount of data in the error data set reaches the preset number, it indicates that the statistical data quantity has reached a statistically significant level. The output of the statistical model is more stable and can better reflect the actual situation of the road. At this time, the bias factor and distance factor are updated.

[0065] In one example, assuming that the error distribution between the observed position and the mapped position of the observed position on the actual driving route approximately follows a two-dimensional Gaussian distribution, the distribution of the observed position is approximately elliptical, and the observed position distribution formula is:

[0066]

[0067] Among them, σ x As the semi-major axis of the ellipse, it represents the variance of the data in the x direction; σ y The semi-minor axis of the ellipse represents the variance of the data in the y-direction; s represents the scale of the ellipse, corresponding to the confidence level. This solution uses a 95% confidence interval as the standard, meaning that statistically, 95% of the data will fall within this confidence ellipse, which can solve most business problems. Since x and y follow a Gaussian distribution with 2 degrees of freedom, the following formula can be derived by querying the chi-square distribution table:

[0068] P(s<5.991)=1-0.005=0.95

[0069] According to the formula, when s = 5.991, it is the boundary of the confidence ellipse. Substituting it into the observed position distribution formula, we get the 95% confidence ellipse range:

[0070]

[0071] At the same time, the major axis of the ellipse can be calculated as: The minor axis of the ellipse is: To facilitate calculation and implementation of the method of this embodiment, the confidence ellipse is approximated as a confidence circle in this embodiment. The radius of the confidence circle can be used as the bias factor λ, which is calculated as follows:

[0072]

[0073] At the same time, the distance factor can be calculated

[0074] Then the bias factor λ and distance factor S can be obtained respectively t The calculation formula is:

[0075]

[0076]

[0077] Where n is the number of samples of the current road, and t is the sample number threshold. That is, when the number of samples n of the current road is less than t, the bias factor λ = 20, and the distance factor S t =50, when the number of samples n of the current road is greater than t, the bias factor Distance Factor

[0078] In one example, t can be 50, that is, when the amount of data in the error data set is greater than 50, the bias factor λ and the distance factor S t to update.

[0079] The above is a method for obtaining the driver-side position provided by this embodiment. The observation position is longitudinally adjusted through the bias factor, and the observation position of the driver-side vehicle is reasonably projected onto the target path to improve the accuracy of the target path selection. The projection of the observation position on the target path is adjusted horizontally through the distance factor to obtain the effective position, reduce the impact of noise on the positioning of the vehicle when it is slowly moving or stationary, and avoid slow updates of the driver-side vehicle position. Finally, the effective position of the driver-side vehicle is sent to the passenger terminal. This embodiment can improve the accuracy of the driver-side vehicle position, so that the driver-side vehicle position obtained by the passenger is consistent with the actual position of the vehicle, thereby improving the user experience.

[0080] like Figure 4 As shown, in one embodiment, a device 400 for obtaining the position of the driver end is provided. The device for obtaining the position of the driver end can be integrated into the above-mentioned computer device 110. The device for obtaining the position of the driver end is used to execute the method for obtaining the position of the driver end described in the above embodiment, such as Figure 4 As shown, the device 400 for obtaining the driver's terminal position may include:

[0081] The data acquisition module 401 is used to obtain the observed position of the driver's vehicle, where the observed position is the position of the driver's vehicle obtained by the application program;

[0082] A data processing module 402 is configured to adjust the observed position based on a bias factor and a distance factor to obtain an effective position of the driver-side vehicle, wherein the bias factor is used to project the observed position onto the target path, and the distance factor is used to control the update frequency of the effective position of the driver-side vehicle;

[0083] The output module 403 is used to send the effective position of the vehicle on the driver side to the passenger terminal.

[0084] In one embodiment, the data acquisition module 401 is also used to, before obtaining the observed position of the driver-side vehicle, the method also includes: obtaining the initial position of the driver when accepting the online car-hailing order and the pick-up point displayed in the online car-hailing order; using the initial position as the starting point and the pick-up point as the end point, obtaining at least one planned path, and using the starting point as the initial valid position of the driver-side vehicle.

[0085] In one embodiment, the data processing module 402 is used to obtain the road closest to the observation position as a reference path based on preset road network information; determine the target path based on the distance relationship between the observation position and the reference path and each planned path, and the target path is one of any of the planned paths and the reference path; and obtain the effective position of the driver-side vehicle based on the projection position of the observation position on the target path and the distance factor.

[0086] In one embodiment, the data processing module 402 is used to calculate the distance between the observation position and each planned path, obtain the planned path with the minimum distance, and use it as an alternative path; calculate the first distance between the observation position and the alternative path, and calculate the second distance between the observation position and the reference path; when the difference between the first distance and the second distance is less than the bias factor, use the alternative path as the target path; when the difference between the first distance and the second distance is greater than or equal to the bias factor, use the reference path as the target path.

[0087] In one embodiment, the data processing module 402 is used to obtain the effective position at a preset time; when the distance between the projected position of the observation position on the target path and the effective position at the preset time is greater than the distance factor, the projected position of the observation position on the target path is used as the effective position of the driver-side vehicle.

[0088] In one embodiment, the data processing module 402 is used to determine whether the valid position of the driver is on any planned path after the valid position is obtained. If so, the calculation of the next valid position is continued; if not, the planned path is recalculated.

[0089] In one embodiment, the data processing module 402 is used to update the bias factor and the distance factor based on a statistical model. The updating method includes: when the driver-side vehicle arrives at the pick-up point, obtaining the actual driving route of the driver-side vehicle; obtaining the mapping position of the observation position of the driver-side vehicle on the actual driving route of the driver-side vehicle, and obtaining an error data set based on the difference between the observation position and the mapping position of the observation position on the actual driving route; after the amount of data in the error data set reaches a preset number, updating the bias factor and the distance factor.

[0090] The device for obtaining the driver-side location provided in the above-mentioned embodiment of the present application and the method for obtaining the driver-side location provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application stored therein.

[0091] The embodiment of the present application further provides an electronic device corresponding to the method for obtaining the driver's terminal position provided in the above embodiment, so as to execute the above method for obtaining the driver's terminal position.

[0092] An embodiment of the present application also provides an electronic device corresponding to the method for obtaining the driver-side location provided in the aforementioned embodiment, so as to execute the aforementioned method for obtaining the driver-side location.

[0093] In one embodiment, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented: obtaining the observed position of the driver-side vehicle, where the observed position is the position of the driver-side vehicle obtained by the application; adjusting the observed position according to a bias factor and a distance factor to obtain the effective position of the driver-side vehicle, where the bias factor is used to project the observed position onto the target path, and the distance factor is used to control the update frequency of the effective position of the driver-side vehicle; and sending the effective position of the driver-side vehicle to the passenger terminal.

[0094] Please refer to Figure 5 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 5 As shown, the electronic device 20 includes: a processor 200, a memory 201, a bus 202 and a communication interface 203, and the processor 200, the communication interface 203 and the memory 201 are connected via the bus 202; the memory 201 stores a computer program that can be run on the processor 200, and when the processor 200 runs the computer program, it executes the method for obtaining the driver's end position provided in any of the aforementioned embodiments of the present application.

[0095] The memory 201 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage. The system network element communicates with at least one other network element via at least one communication interface 203 (which may be wired or wireless), and may utilize the Internet, a wide area network, a local area network, a metropolitan area network, or the like.

[0096] Bus 202 may be an ISA bus, a PCI bus, or an EISA bus. Such buses may be classified as address buses, data buses, and control buses. Memory 201 is used to store programs, and processor 200 executes the programs upon receiving execution instructions. The method for obtaining the driver's terminal location disclosed in any of the aforementioned embodiments of this application may be applied to or implemented by processor 200.

[0097] The processor 200 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor 200 or by software instructions. The above processor 200 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of this application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 201 , and the processor 200 reads the information in the memory 201 and completes the steps of the above method in combination with its hardware.

[0098] The electronic device provided in the embodiment of the present application and the method for obtaining the driver-side location provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.

[0099] The present application also provides a storage medium storing computer-readable instructions corresponding to the method for obtaining the driver's terminal location provided in the above embodiment, referring to Figure 6 , the computer-readable storage medium shown is a CD 30. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the method for obtaining the driver's terminal position provided by any of the aforementioned embodiments.

[0100] In one embodiment, when the computer-readable instructions are executed by one or more processors, the one or more processors perform the following steps: obtaining the driver's observed position, where the observed position is the driver's position obtained by the application; adjusting the observed position according to a bias factor and a distance factor to obtain the driver's effective position, where the bias factor is used to project the observed position onto the target path, and the distance factor is used to control the update frequency of the driver's effective position; and outputting a vehicle icon to the passenger terminal, where the position of the vehicle icon is consistent with the effective position.

[0101] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), and the like, and will not be described in detail here.

[0102] The storage medium storing computer-readable instructions provided in the above-mentioned embodiments of the present application and the method for obtaining the driver-side location provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.

[0103] It should be noted that:

[0104] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems may also be used in conjunction with the teachings herein. Based on the above description, it is apparent that the structure required for constructing such systems is suitable. In addition, the present application is not directed to any specific programming language. It should be understood that various programming languages ​​may be utilized to implement the present application described herein, and the description of specific languages ​​above is provided for the purpose of disclosing the best mode of implementation of the present application.

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

[0106] Similarly, it should be understood that in order to streamline the present application and aid in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting an intention that the claimed application requires more features than are expressly recited in each claim. Rather, as reflected in the claims below, inventive aspects lie in fewer than all the features of the individual embodiments disclosed above. Accordingly, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim itself serving as a separate embodiment of the present application.

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

[0108] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, combinations of features from different embodiments are intended to be within the scope of this application and to form different embodiments. For example, in the claims below, any of the claimed embodiments may be used in any combination.

[0109] The various component embodiments of the present application can be implemented in hardware, or implemented in a software module running on one or more processors, or implemented in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the creation system of the virtual machine according to an embodiment of the present application. The application can also be implemented as a part or all of the equipment or system program (for example, computer program and computer program product) for performing the method described herein. Such a program realizing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0110] It should be noted that the above embodiments illustrate rather than limit the present application, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbols placed between brackets should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present application may be implemented by means of hardware comprising several different elements and by means of appropriately programmed computers. In a unit claim enumerating several systems, several of these systems may be embodied by the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.

[0111] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily conceive of various modifications or substitutions within the technical scope disclosed in this application, and such modifications or substitutions should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A method for obtaining the driver's terminal position, characterized in that: The method comprises: Obtain the driver's initial location when accepting the online ride-hailing order and the pick-up point indicated in the order; obtain at least one planned path using the initial location as the starting point and the pick-up point as the end point, and use the starting point as the initial valid location of the driver's vehicle; Obtain the observed position of the driver's vehicle, where the observed position is the position of the driver's vehicle obtained by the application; Adjusting the observed position according to a bias factor and a distance factor to obtain an effective position of the driver-side vehicle, wherein the bias factor is used to project the observed position onto the target path, and the distance factor is used to control the update frequency of the effective position of the driver-side vehicle; Sending the valid position of the vehicle on the driver's side to the passenger terminal; The adjusting of the observation position according to the bias factor and the distance factor to obtain the effective position of the driver-side vehicle includes: obtaining the road closest to the observation position as a reference path according to preset road network information; determining the target path according to the bias factor and the distance relationship between the observation position and the reference path and each planned path, wherein the target path is one of the planned paths and the reference path; and obtaining the effective position of the driver-side vehicle according to the projection position of the observation position on the target path and the distance factor.

2. The method for obtaining the driver's terminal position according to claim 1, characterized in that: The determining of the target path according to the bias factor, the distance relationship between the observation position and the reference path and each planned path includes: Calculate the distance between the observation position and each planned path, and obtain the planned path with the minimum distance as an alternative path; Calculating a first distance between the observation position and the alternative path, and calculating a second distance between the observation position and the reference path; When the difference between the first distance and the second distance is less than the bias factor, taking the alternative path as the target path; When the difference between the first distance and the second distance is greater than or equal to the offset factor, the reference path is used as the target path.

3. The method for obtaining the driver's terminal position according to claim 1, characterized in that: Obtaining the effective position of the driver-side vehicle according to the projection position of the observation position on the target path and the distance factor includes: Get the valid location at the preset time; When the distance between the projection position of the observation position on the target path and the effective position at the preset time is greater than the distance factor, the projection position of the observation position on the target path is used as the effective position of the driver-side vehicle.

4. The method for obtaining the driver's terminal position according to claim 3, characterized in that: After obtaining the valid position of the driver-side vehicle, the method further includes: Determine whether the valid position is on any planned path. If so, continue calculating the next valid position. If not, recalculate the planned path.

5. The method for obtaining the driver's terminal position according to claim 1, characterized in that: The method further includes updating the bias factor and the distance factor based on a statistical model, the updating method comprising: When the driver's vehicle arrives at the pick-up point, obtaining the actual driving route of the driver's vehicle; Obtaining a mapped position of the observed position of the driver-side vehicle on the actual driving route of the driver-side vehicle, and obtaining an error data set based on a difference between the observed position and the mapped position of the observed position on the actual driving route; After the amount of data in the error data set reaches a preset amount, the bias factor and the distance factor are updated.

6. A device for obtaining the driver's terminal position, characterized in that: The device for obtaining the driver's terminal position includes: A data acquisition module is configured to obtain the driver's initial location when accepting an online ride-hailing order and the pickup point indicated in the order; obtain at least one planned path using the initial location as a starting point and the pickup point as an end point, and use the starting point as the initial valid location of the driver's vehicle; and obtain the observed location of the driver's vehicle, which is the location of the driver's vehicle as obtained by the application. a data processing module configured to adjust the observation position according to a bias factor and a distance factor to obtain an effective position of the driver-side vehicle, wherein the bias factor is used to project the observation position onto a target path, and the distance factor is used to control the update frequency of the effective position of the driver-side vehicle; obtain, based on preset road network information, a road closest to the observation position as a reference path; determine a target path based on the bias factor and the distance relationship between the observation position and the reference path and each planned path, wherein the target path is one of the planned paths and the reference path; and obtain the effective position of the driver-side vehicle based on the projection position of the observation position on the target path and the distance factor; The output module is used to send the effective position of the vehicle on the driver side to the passenger terminal.

7. An electronic device comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor performs the steps of the method according to any one of claims 1 to 5.

8. A storage medium storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors are caused to perform the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Driving track determination method and device, equipment and storage medium

    CN113447040A

  • Vehicle positioning method, device, electronic apparatus, and computer storage medium

    JP2021131398A