Method, system, storage medium and electronic device for generating designated driver order
By considering the target area and driving trajectory of the vehicle in the generation of designated drivers and matching the designated drivers who meet the conditions, the problem of inefficiency caused by straight-line distance matching in the prior art is solved, and more efficient designated drivers are achieved.
Patent Information
- Application Number
- CN202410910069.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-07-09
AI Technical Summary
The existing method of generating orders for drivers only considers straight-line distance when matching with drivers, ignoring the possible movement trajectory of the user, resulting in drivers needing to detour far, extend the pick-up time, and affecting efficiency.
By determining the target area and driving trajectory of the vehicle, match the driver who meets the order conditions. The conditions include the distance and time of the driver to the junction point being less than the preset value, generating the driver's order, taking into account the vehicle location and the driver's time and space accessibility in a comprehensive manner. .
It improves the efficiency of designated driving services, shortens the driver's invalid detour distance, reduces user waiting time, and improves the overall designated driving scheduling efficiency and user satisfaction.
Smart Images

Figure CN118505358B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Vehicles, and specifically to a method, system, storage medium and electronic device for generating a designated driver order. Background Art
[0002] With the popularity of online ride-hailing and other travel services, designated driver services are becoming increasingly popular as a flexible and convenient way of travel. Through the designated driver platform, users can quickly match nearby designated drivers to meet temporary or planned car needs.
[0003] However, the existing methods for generating designated driver orders often only consider the straight-line distance between the designated driver's location and the user's order location when matching designated drivers, ignoring the fact that the user may actually move by car. This results in the designated driver being closer to the user but may need to travel a long distance to meet up with the user, which prolongs the designated driver's pick-up time and affects the efficiency of the designated driver service. Summary of the invention
[0004] The present application provides a method, system, storage medium and electronic device for generating a designated driver order, which can improve the efficiency of designated driver services.
[0005] In a first aspect of the present application, the present application provides a method for generating a designated driver order, comprising:
[0006] In response to a designated driver request of a vehicle, determining a target area corresponding to the designated driver request and a driving track of the vehicle within the target area;
[0007] Matching a target designated driver who meets the order conditions in the target area, and sending the designated driver request to the target designated driver, wherein the order conditions include that the distance traveled by the designated driver to the driving track and merge with the vehicle is less than a preset distance, and / or that the time taken by the designated driver to travel to the driving track and merge with the vehicle is less than a preset time;
[0008] In response to the order acceptance operation of the target designated driver, a designated driving order between the vehicle and the target designated driver is generated.
[0009] Optionally, determining a target area corresponding to the designated driver request and a driving trajectory of the vehicle within the target area includes:
[0010] Obtaining the first location where the vehicle is scheduled to pick up the driver in the designated driver request, and the second location where the vehicle is currently located;
[0011] A driving trajectory is determined according to the first position and the second position, and a target area is determined according to the driving trajectory.
[0012] Optionally, determining the driving trajectory according to the first position and the second position includes:
[0013] determining whether the first position and the second position are the same;
[0014] If the first position and the second position are the same, taking the first position as the driving trajectory of the vehicle;
[0015] If the first position and the second position are different, a driving trajectory is generated according to the first position and the second position.
[0016] Optionally, determining the driving trajectory according to the first position and the second position includes:
[0017] If the second position is a position reached by the vehicle after passing through the first position, at least one driving trajectory is predicted based on the second position.
[0018] Optionally, determining the target area according to the driving trajectory includes:
[0019] Acquire a key position on the driving trajectory, wherein the key position corresponds to the position of the vehicle;
[0020] Taking the key position as the center of the circle and the preset radius as the radius, generating at least one corresponding key area, wherein the preset radius is determined according to the preset duration and the riding speed of the designated driver;
[0021] The union of the key areas is determined as the target area.
[0022] Optionally, matching a target designated driver who meets the order conditions in the target area includes:
[0023] Acquire the third position and movement mode of each designated driver in the target area, wherein the movement mode includes riding mode;
[0024] generating a driving path corresponding to the moving mode according to the third position of each of the designated drivers and the driving trajectory, wherein the driving path intersects with the driving trajectory at a merging point;
[0025] The first time and the first distance for each designated driver to arrive at the meeting point are calculated, and the designated driver whose first distance is less than the preset distance and / or whose first time is less than the preset time is determined as the target designated driver who meets the order conditions.
[0026] Optionally, the method further includes:
[0027] If a target designated driver who meets the order conditions is not matched, at least one of the range of the target area, the preset distance and the preset duration is increased, and the step of matching a target designated driver who meets the order conditions in the target area is re-executed until a target designated driver who meets the order conditions is matched.
[0028] In a second aspect of the present application, a system for generating a designated driver order is provided, comprising:
[0029] A driving trajectory determination module, for determining, in response to a designated driver request of a vehicle, a target area corresponding to the designated driver request and a driving trajectory of the vehicle within the target area;
[0030] a designated driver order matching module, configured to match a target designated driver who meets the order conditions in the target area, and send the designated driver request to the target designated driver, wherein the order conditions include that the distance traveled by the designated driver to the driving track and the vehicle is less than a preset distance, and / or that the time taken by the designated driver to the driving track and the vehicle is less than a preset time;
[0031] The designated driver order generating module is used to generate a designated driver order between the vehicle and the target designated driver in response to the order acceptance operation of the target designated driver.
[0032] In a third aspect of the present application, a computer storage medium is provided, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above method steps.
[0033] In a fourth aspect of the present application, an electronic device is provided, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0034] The method, system, storage medium and electronic device for generating a designated driver order provided in the embodiments of the present application respond to a designated driver request of a vehicle, determine a target area corresponding to the designated driver request and a driving trajectory of the vehicle in the target area, match a target designated driver who meets the order conditions in the target area, and send the designated driver request to the target designated driver driver, wherein the order conditions include that the distance traveled by the designated driver to reach the driving trajectory and merge with the vehicle is less than a preset distance and / or the time taken by the designated driver to reach the driving trajectory and merge with the vehicle is less than a preset time, and generate a designated driver order for the vehicle and the target designated driver in response to the target designated driver's order acceptance operation, so that factors such as the real-time position of the vehicle, the driving trajectory and the spatial and temporal accessibility of the designated driver are comprehensively considered when generating the designated driver order, thereby overcoming the deficiency of existing designated driver order matching that only considers the straight-line distance between the driver and the passenger, while ignoring the vehicle's moving trajectory.
[0035] Through the embodiments of the present application, the system can accurately define the target search area for candidate designated drivers, set dual time and space constraints, and select the best designated driver who can quickly reach the target trajectory and efficiently merge with the vehicle, which not only shortens the invalid detour distance of the designated driver, reduces the waiting time of the user, but also improves the overall designated driver scheduling efficiency and user satisfaction. At the same time, limiting the designated driver candidates for the order to the target area can also avoid the time and cost waste caused by the driver driving a long distance to pick up the driver.
[0036] To sum up, the method for generating a designated driver order provided in the embodiment of the present application can significantly improve the intelligence level and overall operating efficiency of the designated driver service, and provide users with a more convenient, efficient and accurate designated driver experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flowchart of a method for generating a designated driver order provided in an embodiment of the present application;
[0038] Figure 2 It is a structural diagram of a system for generating a designated driver order provided in an embodiment of the present application;
[0039] Figure 3 It is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application.
[0040] Description of reference numerals: 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION
[0041] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0042] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0043] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0044] This application embodiment provides a method for generating a designated driver order. Figure 1 , Figure 1 This is a flow chart of a method for generating a designated driver order provided by an embodiment of the present application. The method can be implemented by a computer program, which can be integrated into an application or run as an independent tool application. The method can also be implemented by a single-chip microcomputer or run in a designated driver order generation system based on the von Neumann system. Specifically, the method can include the following steps:
[0045] Step 101: In response to a designated driver request of a vehicle, a target area corresponding to the designated driver request and a driving track of the vehicle in the target area are determined.
[0046] Among them, the designated driver request refers to the request information sent by the user for the designated driver service. In the embodiment of the present application, it can be understood as a designated driver service application submitted by the user through the designated driver software or platform, which contains information such as the scheduled pick-up location and current location, so that the system can match qualified designated drivers to pick up users at the designated location or within the specified route.
[0047] Furthermore, the target area can be understood as a geographical area range for matching a designated driver. The target area is a geographical area determined according to the driving trajectory of the vehicle, and is used to match a qualified designated driver within this area so that the designated driver can reach the current location of the vehicle in a shorter time.
[0048] The target area should not be set too small, otherwise the designated driver may not be matched; nor should it be set too large, otherwise the time it takes for the matched designated driver to reach the vehicle location will be too long. A reasonable target area should be determined based on the specific situation so that the matched designated driver can reach the vehicle location in a shorter time, thereby shortening the user's waiting time.
[0049] The driving trajectory refers to the path that the vehicle travels during driving. In the embodiment of the present application, the driving trajectory can be understood as the driving path that the vehicle travels from the time the user sends a driver request to the scheduled pick-up location.
[0050] Furthermore, there are two main purposes for determining the driving trajectory: (1) predicting the vehicle's direction of travel and possible driving routes so that the designated driver can meet the vehicle driver on the driving trajectory; (2) helping the system to reasonably determine the target area so as to match a suitable designated driver in advance before the vehicle arrives at the scheduled pick-up location, thereby improving the efficiency of designated driving.
[0051] To achieve the above purpose, the system needs to obtain the scheduled pick-up location and the current location information of the vehicle submitted by the user in the designated driver request to determine the direction of travel and possible driving paths of the vehicle. The system can analyze the relationship between the scheduled pick-up location and the current location, and use the path planning method of the vehicle navigation to generate one or more possible driving paths as the driving trajectory. After that, the system generates an area of appropriate size as the target area based on the driving trajectory. The target area must not only consider including a sufficient number of designated drivers, but also be controlled within a reasonable range to ensure that the matched designated driver can quickly reach the location where the user's vehicle meets.
[0052] By determining the target area and driving trajectory in the above manner, the efficiency of subsequent designated driver order matching can be improved, the user's waiting time can be shortened, and fast and efficient designated driver services can be achieved.
[0053] Based on the above embodiment, as an optional embodiment, in step 101: determining the target area corresponding to the designated driver request and the driving trajectory of the vehicle in the target area may further include the following steps:
[0054] Step 201: Obtain the first location where the vehicle is scheduled to pick up the driver in the designated driver request, and the second location where the vehicle is currently located.
[0055] The first location refers to the target location coordinates set by the user when submitting the designated driver request, where the designated driver is expected to pick up the user. In the embodiment of the present application, the first location can be understood as a certain geographical location coordinate selected by the user through the designated driver software or platform, which is used to indicate that the designated driver expects to pick up the user at this location.
[0056] Correspondingly, the second position refers to the real-time positioning coordinate position when the vehicle issues a designated driver request. In the embodiment of the present application, the second position can be understood as the geographic coordinates of the current location of the vehicle obtained through GPS or other location services. It is used to reflect the specific location of the vehicle when it initiates a designated driver call to determine whether the vehicle has currently arrived at the scheduled pick-up location, or how far away it is from the scheduled pick-up location.
[0057] It should be noted that, in the embodiment of the present application, the first location selected by the user is not the only determined pick-up location, and the pick-up location may also be any location in the process of the vehicle traveling from the second location to the first location.
[0058] Specifically, the first position and the second position are used together to determine the vehicle's driving direction, driving route and estimated arrival time, so that the system can reasonably set the target area and assign the best pick-up location. Among them, the first position is actively set by the user and represents the desired pick-up coordinates; the second position is the current real-time position of the vehicle. The first position reflects the vehicle's travel target, and the second position reflects the vehicle's starting point. The combination of the two can infer the vehicle's travel direction. The system uses the second position to determine when the vehicle can reach the first position or any point on the driving route, thereby calculating the time point for pick-up, and then deploying the designated driver to arrive at the appropriate pick-up location in advance. The actual pick-up location can be flexibly adjusted, and the pick-up can be completed before the user arrives. By obtaining the first position and the second position, the vehicle's travel direction, route and time are determined so that the system can set the target area, calculate the pick-up time, arrange the pick-up location, and achieve fast and efficient designated driver matching.
[0059] Step 202: Determine a driving trajectory according to the first position and the second position, and determine a target area according to the driving trajectory.
[0060] Specifically, in the embodiment of the present application, in order to determine the driving trajectory of the vehicle and the corresponding target area, the system's primary task is to determine the relationship between the first position and the second position given in the designated driver request. By analyzing the relative relationship between the two positions, the system can infer the current driving stage and intention of the vehicle, and thus adopt targeted strategies to plan the driving path and target area.
[0061] Furthermore, there may be the following three relationships between the first position and the second position:
[0062] (1) The first position and the second position overlap. This usually indicates that the user's vehicle has arrived at the pre-set pick-up location and is waiting for the designated driver to arrive. The vehicle is stationary and does not need to plan a driving path. The system only needs to define a circular area with a reasonable radius as the target area with the second position as the center.
[0063] For example, user Xiao Wang had dinner and drinks with friends on Friday night and was ready to drive home after dinner. For safety reasons, Xiao Wang set the restaurant entrance as the pick-up location on the designated driver software in advance, and walked to the restaurant entrance after dinner, and clicked the software to send a designated driver request. At this time, the system obtains the first location of the designated driver request (restaurant entrance) and the second location of Xiao Wang's vehicle at this moment (restaurant entrance), and the two coincide.
[0064] (2) The first position and the second position do not overlap. This means that the user's vehicle has not yet arrived at the scheduled pick-up location, but is on the way to the pick-up location. The vehicle is in motion and needs to plan a driving path from the current location to the pick-up location. The system should select the optimal path as the driving trajectory based on real-time road conditions, and use the trajectory and the area within a certain width around it as the target area.
[0065] For example, user Xiao Li is a salesperson who often drives to visit customers. One day, Xiao Li was going to visit a customer in a remote area. Considering that he might be tired on the return trip, he set a temporary parking spot near the customer's company as the pick-up location on the designated driver software in advance. When Xiao Li was halfway through the journey, he clicked on the software to send a designated driver request and authorized the software to continue to obtain the vehicle location. At this time, the system obtains the first location of the designated driver request (the parking spot near the customer's company) and the second location of Xiao Li's vehicle at this moment (on the viaduct in the urban area), and the two do not overlap.
[0066] (3) The second location is the location that the vehicle arrives at after passing the first location. This situation indicates that the user's vehicle has arrived at or passed the pre-set pick-up location, but may continue to move forward due to reasons such as the temporary inability to park at the location, and look for a more suitable stop near the pick-up location. In this case, the scheduled pick-up location needs to be dynamically adjusted. The system should use the second location as the starting point, search for surrounding areas suitable for parking, plan a short-distance driving path, and use the path and its adjacent areas as the new driving trajectory and target area.
[0067] For example, user Xiao Zhang is a professional manager who usually makes an appointment for airport pick-up through a designated driver software. One day, Xiao Zhang set the airport terminal gate as the pick-up location in advance on the designated driver software. The flight was delayed that day, and when Xiao Zhang got out of the cabin to drive, he found that there were dense vehicles at the terminal gate and the parking spaces were full, so he clicked on the software while driving to send a designated driver request. At this time, the system obtains the first location of the designated driver request (the terminal gate) and the second location of Xiao Zhang's vehicle at this moment (a temporary parking spot outside the terminal), and finds that the second location has passed and exceeded the first location.
[0068] In summary, by judging the relative relationship between the first position and the second position in the designated driver request, the system can automatically infer the vehicle's current driving status and the driver's intention, whether the vehicle has arrived at the pick-up location waiting for the designated driver, is on the way to the pick-up location, or needs to change the pick-up location. Based on the above three typical scenarios, the system will adopt different path planning and area demarcation strategies to dynamically generate a driving trajectory and target area that matches the vehicle's driving status. Through the above intelligent judgment and processing methods, the designated driver service can be closer to the user's actual travel needs, improving pick-up efficiency and user satisfaction.
[0069] As an optional implementation, the system first needs to determine whether the first position and the second position are the same. If the first position and the second position are the same, the first position is used as the driving trajectory of the vehicle.
[0070] Specifically, in order to efficiently generate a designated driver order that meets the actual needs of the user, before determining the vehicle's driving trajectory and target area, the system first needs to determine whether the first location and the second location provided in the designated driver request are the same.
[0071] Specifically, if the system detects that the first position and the second position completely overlap, it can be reasonably inferred that the user's vehicle has arrived at the scheduled pick-up location in advance and is waiting for the designated driver to arrive. In this case, the vehicle is stationary and there is no need to plan an additional driving path. Therefore, the system can directly use the first position (that is, the second position) as the vehicle's current position and the only driving trajectory.
[0072] As another optional implementation, if the first position and the second position are different, the driving trajectory is generated according to the first position and the second position.
[0073] Specifically, since the first position and the second position do not overlap, it means that the user's vehicle has not yet arrived at the scheduled pick-up location, but is on the way to the pick-up location. In this case, the vehicle is in a continuous moving state, and the system needs to plan an optimal driving path from the current location to the pick-up location as the driving trajectory.
[0074] To achieve the above purpose, the system can generate the driving trajectory in one of the following two ways:
[0075] First, if the navigation function is currently turned on in the user's vehicle, the system can directly call up the planned route in the vehicle navigation system as the driving trajectory for this designated driver. This method is easy to operate and can ensure that the trajectory is completely consistent with the user's actual driving route.
[0076] Secondly, if the vehicle does not have navigation turned on, the system can use the route planning engine of the designated driver platform to automatically generate an optimal route as the driving trajectory based on the coordinate information of the first and second positions, and recommend it to the user as a reference route. This method can use the real-time traffic information obtained by the platform to intelligently plan an efficient and convenient driving route for users, thereby improving the designated driver experience.
[0077] It should be noted that in the process of generating the driving trajectory, the system should also fully consider the accessibility of the designated driver. Since the designated driver usually needs to ride or walk to the pick-up location, the planned driving trajectory needs to ensure that the designated driver can arrive smoothly. In this regard, when planning the route, the system should try to choose roads with bicycle lanes or sidewalks, and avoid including sections that are difficult to ride or walk into the driving trajectory, so as not to affect the normal pick-up of the designated driver.
[0078] For example, user Xiao Li's vehicle is driving from the city to the suburbs and is now on an elevated bridge connecting the city and the suburbs. The pick-up location Xiao Li pre-set is in a residential community in the suburbs. Assume that the system only plans a driving trajectory based on Xiao Li's driving route: elevated bridge-expressway-internal roads of the community, while ignoring the accessibility of the designated driver by riding or walking. Although this trajectory allows Xiao Li's vehicle to reach the community as quickly as possible, non-motor vehicles and pedestrians are prohibited from passing through the elevated bridge and expressway, and the designated driver cannot reach the location by riding a bicycle or walking, which may result in a failed pick-up.
[0079] Therefore, when generating the trajectory, the system also needs to consider an alternative path: overpass-expressway-non-motorized vehicle lane outside the community, to ensure that the designated driver can smoothly meet Xiao Li on the non-motorized vehicle lane outside the community.
[0080] As another optional implementation, if the second position is a position reached by the vehicle after passing through the first position, at least one driving trajectory is predicted based on the second position.
[0081] Specifically, when the user's vehicle has passed the pre-set first position and continues to drive forward for a distance, the system continuously obtains the vehicle's position and finds that its current second position has exceeded the original pick-up location. Usually, it may be due to the temporary inability to park at the scheduled pick-up point, and the driver chooses to continue forward to find a more suitable waiting location. In the face of such emergencies, the system needs to dynamically predict its possible driving path based on the vehicle's second position to provide a reference for the designated driver's pick-up work.
[0082] To achieve the above purpose, the system can generate the driving trajectory in one of the following two ways:
[0083] First, if the vehicle turns on the navigation function after passing the first position, the system can directly extract the forward route planned in the vehicle navigation system and use it as the predicted driving path.
[0084] Secondly, if the vehicle is not using navigation, the system can use its own path planning engine to search for roads within a certain range starting from the second location, select several routes whose forward direction is consistent with the vehicle's driving direction and lead to suitable parking areas, generate multiple alternative driving trajectories, and push them to the user for reference.
[0085] On the one hand, since the above-mentioned predicted path is estimated by the system based on the instantaneous position and driving direction of the vehicle, and the user's actual driving intention may be different, there is a deviation between the predicted result and the actual route. Therefore, the system should continuously track the position changes of the user's vehicle and use the latest acquired position as the new second position. Once it is found that the vehicle deviates from the predicted path, the above-mentioned prediction process is immediately triggered to generate a trajectory that matches the new driving direction of the vehicle. At the same time, the user is prompted to make timely adjustments through voice or pop-up windows to avoid affecting the designated driver's pick-up work.
[0086] On the other hand, in the process of predicting the driving trajectory, the system also needs to fully consider the accessibility of the selected route for the designated driver to ride or walk. Given that designated drivers usually travel by non-motorized vehicles, they have high requirements for road conditions. The system should give priority to routes equipped with well-equipped non-motorized lanes and sidewalks, and avoid areas that are difficult for designated drivers to pass as much as possible, such as highways and urban expressways, so as to avoid the actual pick-up location being inconsistent with the predicted location and delaying the designated driver service.
[0087] For example, suppose a user named Xiao Zhang sets the pick-up area in front of the airport terminal as a designated driver pick-up point in advance. The flight was delayed that day, and when Xiao Zhang picked up the car, he found that the pick-up area was already full of cars. In desperation, Xiao Zhang drove slowly away from the terminal while issuing a designated driver request. The system captured Xiao Zhang's second position at a location outside the terminal, and judged that he had left the original pick-up point, so it immediately triggered the driving path prediction: if the navigation system in Xiao Zhang's car shows that the destination ahead is a parking lot, the navigation route is used as the predicted path; if the navigation is not used, the roads outside the terminal leading to temporary parking areas, drop-off areas, etc. are searched, and several alternative routes are planned and pushed to Xiao Zhang's designated driver APP interface to guide him to the ideal waiting point. At the same time, the system should also monitor Xiao Zhang's vehicle position in real time. Once it is found that it deviates from the predicted route, it will be re-planned in time and a voice reminder will be given: "You have deviated from the recommended route. There is a parking strip xxx meters ahead. Please follow the navigation instructions." In addition, considering that the designated driver needs to ride an electric bike or walk to pick up the passenger, the system should try to avoid the express lanes outside the terminal when selecting candidate routes, and give priority to sections with well-paved bicycle lanes and sidewalks to facilitate the driver to quickly reach the parking spot.
[0088] In summary, in a dynamic pick-up scenario, the system needs to continuously predict the possible driving path of the vehicle based on the changes in the vehicle's real-time position, guide the driver to the ideal waiting point, and take into account the travel conditions of the designated driver, and preferably use routes with non-motorized lanes and sidewalks to improve the efficiency of pick-up. Through the above methods, the system can flexibly respond to various emergencies and dynamically adjust the pick-up plan, thereby improving the real-time and reliability of the designated driver service and meeting the diverse designated driver needs of users to the greatest extent.
[0089] Based on the above embodiment, as an optional embodiment, in step 202: determining the target area according to the driving trajectory may further include the following steps:
[0090] Step 301: Acquire a key position on the driving trajectory, where the key position corresponds to the position of the vehicle.
[0091] Among them, key locations refer to locations where users may get off their vehicles to do business or stay during the driving trajectory, which usually have one or more of the following characteristics: the starting point or end point of the driving trajectory, the location where the user's vehicle stays for more than a preset time, the turning point where the driving trajectory changes direction sharply, the location where the driving speed suddenly decreases, parking lots, gas stations, restaurants, locations where users frequently stay in historical behavior data of their vehicles, and restaurants near specific times (such as meal times).
[0092] In the embodiment of the present application, the key position can be understood as an important node in the driving process of the user's vehicle, which can reflect the location where the user's vehicle may get off to do business or stay. By obtaining and analyzing these key positions, the driving trajectory and behavior pattern of the user's vehicle can be fully understood, providing an important basis for the subsequent generation of key areas and determination of target areas.
[0093] The acquisition and identification of key locations are used to improve the efficiency of dispatching and managing designated drivers. By accurately determining the locations where users may get off the vehicle to do business or stay during driving, the behavior and needs of users' vehicles can be better predicted, thereby achieving efficient dispatch and management of designated drivers. In addition, the identification of key locations can also provide more personalized and accurate services for users' vehicles, improving the work experience and satisfaction of designated drivers.
[0094] It should be noted that the key position is not necessarily strictly located on the driving trajectory, and there may be a situation where the key position is located near the driving trajectory. For example, the user's vehicle may park the vehicle on the roadside or in a parking lot, and then walk to a nearby place of business. In order to cope with this situation, when acquiring the key position, the embodiment of the present application not only considers the position on the driving trajectory, but also identifies the potential key positions near the driving trajectory by analyzing the historical behavior data of the user's vehicle. In this way, the location where the user's vehicle may get off to do business or stay can be more comprehensively obtained, thereby improving the coverage and accuracy of the key positions.
[0095] Step 302: With the key position as the center and the preset radius as the radius, generate at least one corresponding key area, where the preset radius is determined according to the preset duration and the riding speed of the designated driver.
[0096] Specifically, the system generates a circular area with each key position as the center and a preset radius as the radius, and the area is the corresponding key area. The size of the preset radius is calculated based on the preset duration and the riding speed of the designated driver.
[0097] For example, the preset radius may be equal to the product of the preset duration and the riding speed of the designated driver. The preset duration indicates the time that the user's vehicle may stay near the key location, which can be set based on experience or statistical data; the riding speed of the designated driver can be estimated based on historical data or real-time traffic conditions.
[0098] Through the above method, the corresponding key area can be generated according to the key position. The size of the key area is determined by the preset radius, and the calculation of the preset radius takes into account the time the user's vehicle may stay near the key position and the speed of the designated driver. The scope of the key area can be dynamically adjusted to adapt to different user vehicle behaviors and traffic conditions.
[0099] For example, when the preset time is longer or the designated driver rides faster, the preset radius will increase accordingly, and the area of the generated key area will also increase; conversely, when the preset time is shorter or the designated driver rides slower, the preset radius will decrease accordingly, and the area of the generated key area will also decrease.
[0100] The process of generating key areas fully considers the possible movement range and time of the user's vehicle near the key location, so that the key areas can more accurately cover the areas where the user's vehicle may get off to do business or stay. This not only improves the accuracy of subsequent target area determination, but also provides more accurate and timely services for user vehicles. In addition, by dynamically adjusting the size of the key area, it can adapt to different driver behaviors and traffic conditions.
[0101] Step 303: determine the union of the key areas as the target area.
[0102] Specifically, the union of all key areas can be calculated. The union calculation method can use the union operation in set theory, that is, the areas included in all key areas are merged into a whole. In this way, the scattered key areas can be integrated into a continuous target area with a wider coverage.
[0103] In the process of calculating the union of key areas, the situation of non-intersecting areas also needs to be considered. When there is no overlapping part between two or more key areas, they are non-intersecting. In this case, the target area will be composed of multiple separated sub-areas, each sub-area corresponding to one or more key areas. In order to accurately represent the target area, when calculating the union, the embodiment of the present application retains the non-intersecting key areas as independent sub-areas instead of forcibly merging them. This can more accurately reflect the range of possible movement of the designated driver in different areas and improve the accuracy of the target area.
[0104] Through the above method, the union of each key area can be determined as the target area. The determination of the target area comprehensively considers the possible movement range of the user's vehicle near different key locations, and can cover the entire driving trajectory and potential stop area of the user's vehicle. This not only improves the comprehensiveness and accuracy of the decision-making basis for the dispatch and management of designated drivers, but also provides more accurate and timely services for designated drivers, improving the work efficiency and satisfaction of designated drivers. In addition, by retaining non-intersecting areas as independent sub-areas, the target area can be represented more accurately, improving the accuracy of the target area.
[0105] Step 102: matching a target designated driver who meets the order conditions in the target area, and sending a designated driver request to the target designated driver, wherein the order conditions include that the distance traveled by the designated driver to reach the driving track and merge with the vehicle is less than a preset distance, and / or that the time taken by the designated driver to reach the driving track and merge with the vehicle is less than a preset time.
[0106] Among them, the order conditions refer to the requirements that the system needs to meet when matching a designated driver for the user. In the embodiment of the present application, the order conditions can be understood as the designated driver selection criteria predetermined by the system based on the user's designated driver request and vehicle driving information. By setting the distance limit and time limit for the designated driver to reach the convergence point of the driving trajectory, it is used to screen out designated drivers who can reach the user's vehicle location or driving trajectory in a shorter time, thereby achieving the purpose of quickly responding to the user's designated driver request and shortening the user's waiting time.
[0107] Furthermore, the order conditions are set taking into account factors such as actual road conditions and the mobility of the designated driver, and reasonable restrictions are imposed on the accessibility of the designated driver. This ensures that the designated driver can reach the current location of the user's vehicle or a certain location on the driving route within the specified time, while avoiding overly strict restrictions that lead to failure to successfully match a suitable designated driver. By filtering according to order conditions, the system can arrange designated driver services in a targeted manner according to the actual needs of users.
[0108] Specifically, the system first locks all currently available designated drivers in the target area. Then it traverses each designated driver and calculates the estimated distance and time from each designated driver's current position to the nearest rendezvous point on the driving trajectory. The designated driver who meets the distance limit and time limit is determined as the target designated driver. After that, the system pushes the designated driver request to the target designated driver.
[0109] Based on the above embodiment, as an optional embodiment, in step 102: matching a target designated driver who meets the order conditions in the target area may further include the following steps:
[0110] Step 401: Obtain the third position and movement mode of each designated driver in the target area, where the movement mode includes riding mode.
[0111] Among them, the mode of movement refers to the means of movement or passage used by the driver when executing the driver order. In the embodiment of the present application, the mode of movement can be understood as the means of movement used by the driver from receiving the order to arriving at the user, such as walking, riding (including electric vehicles), taking public transportation, etc.
[0112] The movement mode is used to calculate the estimated time it takes for the designated driver to reach the user's vehicle from the current location. Different movement modes will result in different average movement speeds, which will also affect the total time calculation result. The purpose of obtaining the movement mode is to allow the system to accurately evaluate whether each designated driver meets the time limit in the order conditions, so as to quickly and accurately match the best designated driver who can reach the user's vehicle location in time.
[0113] Specifically, in order to quickly respond to the user's designated driver request, the system needs to grasp the status of all designated drivers in the target area in real time for dynamic evaluation and screening. Key status information includes: the current location and movement mode of the designated driver. The third position reflects the geographical coordinates of the designated driver at the moment and is the starting point for calculating the estimated time. The movement mode determines the average movement speed of the designated driver and directly affects the total time. Among them, cycling, as a flexible and efficient way of movement, is suitable for most designated driver scenarios.
[0114] Specifically, the system can collect the coordinate data of the driver's equipment in real time through the positioning component; as for the movement mode, the driver can actively report when accepting the order, or make intelligent judgments by analyzing the trajectory of position changes.
[0115] In a feasible implementation, the system can perform intelligent evaluation and sorting based on the real-time status of all designated drivers, ensuring rapid matching with the optimal designated driver who can reach the user's vehicle location in a short time, significantly shortening the user's waiting time, and providing a more intelligent and efficient designated driver service.
[0116] Step 402: Generate a driving path corresponding to the moving mode according to the third position and driving trajectory of each designated driver, and the driving path intersects with the driving trajectory at a convergence point.
[0117] The driving path refers to the navigation path that the driver follows from the current location to the user's vehicle location. In the embodiment of the present application, the driving path can be understood as a travel route plan intelligently generated by the system for the driver, which is used to guide the driver to the location where the user's vehicle meets in the shortest time.
[0118] Furthermore, the driving route can be determined by the driver's movement mode. For example, the driving route generated by the walking mode will avoid highways and give priority to paths with more sidewalks; the driving route generated by the cycling mode tends to choose paths with more bicycle lanes. The generation of the driving route takes into account the characteristics of the movement mode and makes it suitable for the corresponding travel mode to ensure that the driver can quickly and smoothly reach the meeting point and effectively meet the user's vehicle.
[0119] The meeting point refers to the predetermined location where the designated driver and the user's vehicle meet for the final pickup. In the embodiment of the present application, the meeting point can be understood as the ideal pickup location generated by the system based on the collision of the user's vehicle's driving trajectory and the designated driver's position. It takes into account both the direction and speed of the user's vehicle and the mobility and real-time location of the designated driver, so as to achieve efficient and smooth pickup between the user and the designated driver and shorten the user's waiting time.
[0120] The meeting point is determined by the system and is usually set near a suitable parking spot on the user's vehicle's driving trajectory. Its location attributes satisfy the requirement that the designated driver's driving path can intersect with the user's vehicle's trajectory and that the designated driver can arrive in a short time. When both parties arrive at the meeting point, the entire matching process of the user picking up the car and the designated driver accepting the order is completed.
[0121] Specifically, the system will first obtain the current real-time location coordinates of all designated drivers, which corresponds to the third position in the above scheme. The current location determines the starting point of the designated driver. The system will select different path planning modes according to the different movement methods adopted by each designated driver.
[0122] For example, if the designated driver is walking, the system will prioritize routes with more sidewalks; if the designated driver is riding a bicycle, the system will prioritize routes with more bicycle lanes. This allows personalized route planning based on the mode of movement.
[0123] When planning the route, the system will also use the user's vehicle's driving trajectory as a reference. The system will automatically search for a point on the driving trajectory as the designated driver's target location, i.e., the meeting point. Thus, a driving route is planned from the designated driver's current location to the meeting point.
[0124] When the system navigates based on the unique routes generated for each driver, the travel time for each driver can be minimized because these routes are highly personalized and optimized. When the driver and the user's vehicle arrive at the meeting point at the same time, a quick pick-up can be completed, avoiding unnecessary conflicts and improving the system's response speed and efficiency as a whole.
[0125] Step 403: Calculate the first time and first distance of each designated driver to reach the meeting point, and determine the designated driver whose first distance is less than the preset distance and / or whose first time is less than the preset time as the target designated driver who meets the order conditions.
[0126] Among them, the first duration refers to the estimated time required for the designated driver to reach the meeting point with the user's vehicle from the current location. In the embodiment of the present application, the first duration can be understood as the system calculating the length of time required for the designated driver to reach the meeting point based on the real-time location, movement mode, and generated driving path of the designated driver. The first duration is used to evaluate whether a specific designated driver can meet the preset duration requirements, so as to determine whether to determine it as the target designated driver.
[0127] Correspondingly, the preset duration refers to the maximum time taken by the designated driver to arrive at the meeting point, which is preset by the system according to the order requirements. In the embodiment of the present application, the preset duration can be understood as a time threshold determined by the system based on factors such as the user's waiting time expectation and the type of designated driver. It is used to screen designated drivers who can arrive at the meeting point within a given time limit.
[0128] The first distance refers to the length of the path from the current location of the designated driver to the meeting point via the generated driving path. In the embodiment of the present application, the first distance can be understood as the estimated driving distance calculated by the system based on the real-time location and navigation path of the designated driver. The first distance is used to evaluate whether a specific designated driver meets the preset distance requirements to determine whether to determine it as a target designated driver.
[0129] The preset distance refers to the maximum path distance that the designated driver reaches the meeting point, which is preset by the system according to the order requirements. In the embodiment of the present application, the preset distance can be understood as a distance threshold determined by the system based on factors such as the user's expected waiting time and the designated driver's range. It is used to screen designated drivers whose driving path distance is within a given range.
[0130] Specifically, the system calculates the estimated time and distance for each designated driver to reach the meeting point from the current location. After obtaining the first time and the first distance, the system compares them with the preset time threshold and distance threshold. The preset time and the preset distance are two key parameters set in advance based on factors such as the user's expected waiting time and the type of designated driver service, and are used to screen out designated drivers who can respond quickly and arrive at the meeting point in time.
[0131] If the first distance of a designated driver is less than the preset distance, and the first duration is also less than the preset duration, it means that his location is close enough to the meeting point, and the estimated time is also within the acceptable range for the user. At this point, the system can identify the designated driver who meets the above conditions as the target designated driver. In actual applications, whether to use the screening conditions of both distance and time dimensions can be adjusted according to actual needs. The introduction of the dual judgment criteria of the first duration and the first distance can more comprehensively and accurately evaluate the spatial and temporal accessibility of the designated driver, so as to match the most suitable candidate.
[0132] For example, a user named Xiao Zhang was unable to drive on his way home from get off work because he was drunk, so he opened the designated driver app and initiated a designated driver request. After receiving the request, the system immediately began to analyze the real-time driving trajectory of Xiao Zhang's vehicle. By identifying key location points (such as Xiao Zhang's company, restaurants he often goes to, and the highway entrances and exits he must pass on his way home), and generating several key areas with these locations as the center of the circle, a target area covering Xiao Zhang's entire driving trajectory was finally determined.
[0133] After the target area is determined, the system begins to analyze and screen all designated drivers in the area one by one, including designated driver Xiao Li, who is currently riding an electric bike 2 kilometers away from Xiao Zhang's route home waiting for new orders.
[0134] The system obtains Xiao Li's location coordinates (third location) and movement mode (cycling) in real time. Based on this information, the system plans an optimal cycling route for Xiao Li from his current location to a meeting point on Xiao Zhang's route. After calculation, Xiao Li's estimated time to reach the meeting point by bike (first duration) is 10 minutes, and the total length of the route (first distance) is 3 kilometers.
[0135] Assume that the time requirement (preset duration) for the driver to respond to this order is 15 minutes, and the distance requirement (preset distance) is 5 kilometers. It can be seen that Xiao Li's first duration and first distance both meet the order conditions. Therefore, the system determines Xiao Li as the target driver for this designated driver service and pushes the order to him as soon as possible. After receiving the order, Xiao Li immediately rides to the meeting point according to the optimal path planned by the system. At the same time, Xiao Zhang is also driving along the original planned route. About 9 minutes later, Xiao Li and Xiao Zhang arrived at the meeting point one after another.
[0136] Based on the above embodiment, as an optional embodiment, if the target designated driver who meets the order conditions is not matched, at least one of the range of the target area, the preset distance and the preset time is increased, and the step of matching the target designated driver who meets the order conditions in the target area is re-executed until the target designated driver who meets the order conditions is matched.
[0137] Specifically, if the system fails to find a designated driver who meets the preset time and distance requirements during the initial matching, the matching conditions can be appropriately relaxed and the matching process can be re-executed. This idea of dynamically adjusting the matching strategy is mainly based on the uncertainty of designated driver resources and demand in reality. During peak order periods or in remote areas, it may be impossible to find a designated driver who is close enough or responds quickly enough in a short period of time. At this time, we cannot simply end the entire process with a failed match, but should give the system a certain degree of flexibility and adaptability so that it can dynamically adjust the matching strategy according to actual conditions, and strive to ultimately meet user needs.
[0138] To achieve this goal, the system can relax the matching conditions in three dimensions: increasing the scope of the target area, increasing the preset distance threshold, and extending the preset duration threshold. In actual operation, the system will first try to expand the scope of the target area, such as increasing the search radius from 3 kilometers to 5 kilometers. This means that the third position of the designated driver can be farther away from the order initiation point, thereby covering more potential target designated drivers.
[0139] If a suitable driver still cannot be matched after expanding the target area, the system can further increase the preset distance threshold, for example, adjusting 5 kilometers to 8 kilometers. This means that the first distance allowed for the driver, that is, the driving distance to the meeting point, can be longer. However, in order to avoid the driver taking too long to drive to the meeting point, the system usually considers the balance between the preset distance threshold and the preset time threshold.
[0140] If the matching target is still not achieved after adjusting the first two strategies, the system can also appropriately extend the preset time threshold, for example, from 15 minutes to 20 minutes. This means that users can accept a slightly longer waiting time, and the first time limit for the designated driver to arrive at the meeting point is also relaxed. Through the linkage adjustment of the above three dimensions, the system can flexibly respond to a variety of actual restrictions and maximize the probability of successfully matching a designated driver.
[0141] The entire matching process can be iterated repeatedly until a target designated driver who meets the conditions is found. This strategy of dynamically adjusting matching conditions can significantly improve the system's ability to cope with complex scenarios. When it is difficult to find the optimal solution at one time, a suboptimal match can be achieved through limited concessions, ultimately achieving an overall balance between the user and the system.
[0142] At the same time, this mechanism can improve the success rate of designated driver matching while minimizing the impact on user experience. By expanding the target area first, the impact on time expectations can be minimized as much as possible; when the preferred options cannot be met, more matching space can be won by appropriately extending the preset time, striving to find the best balance between matching accuracy and response time.
[0143] Step 103: In response to the order acceptance operation of the target designated driver, a designated driving order between the vehicle and the target designated driver is generated.
[0144] Specifically, after the system recommends the target designated driver, it will automatically send him an order invitation. The order information includes key elements such as the starting point (meeting point), destination, driving route, estimated mileage and cost of the designated driver service. The target designated driver needs to carefully confirm the order content and accept the order on the premise of accepting the terms.
[0145] After the order is accepted, the system can refer to the order information and formally generate an electronic order for this designated driver service. The order not only contains the basic elements of the service mentioned above, but also further associates the identity information of the designated driver and the user, as well as the relevant parameters of the vehicle (such as model, license plate number, fuel level, etc.). The order will serve as the certificate for the entire designated driver service, record the key data of the entire service process, and provide a reliable electronic certificate for the user and the designated driver.
[0146] Based on the above embodiment, as an optional embodiment, the fee calculation link after the order is completed can be further optimized, and a track point verification and supplement mechanism can be introduced to ensure the accuracy of mileage and fee calculation. After the order is completed, the system will review the track point data of the entire journey again, and automatically discover and fill in the possible point missing problems by comparing with the navigation route, thereby avoiding errors and losses in the mileage calculation.
[0147] Specifically, due to the uncertainty of trajectory data collection in actual designated driver scenarios. Ideally, the system can record the vehicle's driving trajectory in real time through positioning technologies such as GPS, and use this as a basis for calculating mileage and service fees. However, in actual operations, the trajectory point data in certain time periods may be lost or missing due to equipment failure, signal blind spots, human interference, etc. If incomplete trajectory data is used directly to calculate mileage, the actual driving distance may be underestimated, thereby affecting the accuracy of fee calculation and damaging the interests of users or designated drivers.
[0148] To solve the above problem, the system can start the track verification program after the order is completed. In a feasible implementation, the system will extract all the track point data recorded during the order process and arrange them in chronological order to form a complete driving track. Then, the system will compare the track with the navigation route planned when the order was generated. By analyzing the overlap and deviation of the two paths, the system can automatically identify possible breakpoints or blank areas in the track data.
[0149] Once a suspected missing section is found, the system will automatically fill it in using the navigation path based on the positional relationship between the previous and next points. Specifically, the system will extract the coordinates of the two points before and after the missing section, then search for the shortest path between the two points on the navigation map, and extract the key nodes on the path as supplementary trajectory points to insert into the original data sequence, thereby completing the trajectory.
[0150] In another feasible implementation, when a vehicle enters a valley, tunnel, underground parking lot or other area with severe lack of GPS signals, the system cannot obtain external satellite positioning information. Therefore, the system can enable sensors in the vehicle-mounted equipment, including gyroscopes and accelerometers, to detect the vehicle's speed and direction changes. The system can calculate the vehicle's moving distance and direction based on this, and thus predict the next location coordinates that the vehicle may reach. This allows the system to continue to provide track points in areas without signals, ensuring data continuity.
[0151] Through the above-mentioned trajectory verification and completion operations, the system can effectively correct the mileage calculation errors caused by missing points. The supplemented trajectory data can more comprehensively and accurately reflect the actual driving path of the vehicle, avoiding underestimation or omission of driving distance. On this basis, the system can recalculate the total mileage of the order, and refer to the real-time road conditions and traffic conditions of the navigation path to dynamically adjust the cost parameters such as estimated duration and waiting time, and finally obtain a more accurate order cost.
[0152] The above-mentioned post-track verification and completion mechanism can significantly improve the reliability and fairness of the calculation of the designated driver service fee. On the one hand, through intelligent means, the real data of the entire service process is restored to the maximum extent, preventing data loss caused by human factors or technical failures, providing an objective and accurate basis for fee settlement, and effectively protecting the rights and interests of users. On the other hand, this mechanism also provides a reasonable evaluation and compensation for the efforts of the designated driver, avoiding the loss of service remuneration due to mileage errors, and helping to maintain the enthusiasm and satisfaction of the designated driver.
[0153] Reference Figure 2 The present application also provides a system for generating a designated driver order, including:
[0154] A driving trajectory determination module, for determining, in response to a designated driver request of a vehicle, a target area corresponding to the designated driver request and a driving trajectory of the vehicle within the target area;
[0155] a designated driver order matching module, configured to match a target designated driver who meets the order conditions in the target area, and send the designated driver request to the target designated driver, wherein the order conditions include that the distance traveled by the designated driver to the driving track and the vehicle is less than a preset distance, and / or that the time taken by the designated driver to the driving track and the vehicle is less than a preset time;
[0156] The designated driver order generating module is used to generate a designated driver order between the vehicle and the target designated driver in response to the order acceptance operation of the target designated driver.
[0157] Based on the above embodiment, as an optional embodiment, the driving trajectory determination module is also used to obtain the first location where the vehicle is scheduled to pick up in the designated driver request, and the second location where the vehicle is currently located; determine the driving trajectory according to the first location and the second location, and determine the target area according to the driving trajectory.
[0158] Based on the above embodiment, as an optional embodiment, the driving trajectory determination module is further used to determine whether the first position and the second position are the same;
[0159] If the first position and the second position are the same, taking the first position as the driving trajectory of the vehicle;
[0160] If the first position and the second position are different, a driving trajectory is generated according to the first position and the second position.
[0161] Based on the above embodiment, as an optional embodiment, the driving trajectory determination module is further used to predict at least one driving trajectory according to the second position if the second position is the position reached by the vehicle after passing the first position.
[0162] Based on the above embodiment, as an optional embodiment, the driving trajectory determination module is further used to obtain a key position on the driving trajectory, where the key position corresponds to the position of the vehicle;
[0163] Taking the key position as the center of the circle and the preset radius as the radius, generating at least one corresponding key area, wherein the preset radius is determined according to the preset duration and the riding speed of the designated driver;
[0164] The union of the key areas is determined as the target area.
[0165] Based on the above embodiment, as an optional embodiment, the designated driver order matching module is further used to obtain the third position and movement mode of each designated driver in the target area, wherein the movement mode includes riding mode;
[0166] generating a driving path corresponding to the moving mode according to the third position of each of the designated drivers and the driving trajectory, wherein the driving path intersects with the driving trajectory at a merging point;
[0167] The first time and the first distance for each designated driver to arrive at the meeting point are calculated, and the designated driver whose first distance is less than the preset distance and / or whose first time is less than the preset time is determined as the target designated driver who meets the order conditions.
[0168] On the basis of the above embodiment, as an optional embodiment, the designated driver order matching module is also used to increase at least one of the range of the target area, the preset distance and the preset time if the target designated driver who meets the order conditions is not matched, and re-execute the step of matching the target designated driver who meets the order conditions in the target area until the target designated driver who meets the order conditions is matched.
[0169] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0170] The embodiment of the present application also provides a computer storage medium, which can store multiple instructions. The instructions are suitable for being loaded by a processor and executed by the method for generating a designated driver order as in the above embodiment. The specific execution process can refer to the specific description of the embodiment shown, which will not be repeated here.
[0171] The present application also discloses an electronic device. Figure 3 , Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
[0172] The communication bus 302 is used to realize the connection and communication between these components.
[0173] The user interface 303 may include a display interface and a camera interface. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0174] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0175] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface diagrams and applications, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
[0176] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally also be at least one storage device located away from the aforementioned processor 301. Refer to Figure 3 , the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of a method for generating a designated driver order.
[0177] exist Figure 3 In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call an application program storing a method for generating a designated driver order in the memory 305. When executed by one or more processors 301, the electronic device 300 executes one or more of the methods described in the above embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0178] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0179] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units 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 service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0180] The units described as separate components may or may not be physically separated, and the components shown as units 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.
[0181] 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0182] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0183] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0184] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for generating a designated driver order, characterized in that: include: In response to a designated driver request of a vehicle, determining a target area corresponding to the designated driver request and a driving track of the vehicle within the target area; Wherein, determining the target area corresponding to the designated driver request and the driving track of the vehicle in the target area includes: obtaining the first location of the vehicle scheduled to pick up the driver in the designated driver request, and the second location of the vehicle currently located; determining whether the first position and the second position are the same; If the first position and the second position are the same, taking the first position as the driving trajectory of the vehicle; If the first position and the second position are different, generating a driving trajectory according to the first position and the second position, If the second position is the position reached by the vehicle after passing through the first position, predicting at least one driving trajectory according to the second position; and determining the target area according to the driving trajectory; Matching a target designated driver who meets the order conditions in the target area, and sending the designated driver request to the target designated driver, wherein the order conditions include that the distance traveled by the designated driver to the driving track and merge with the vehicle is less than a preset distance, and / or that the time taken by the designated driver to travel to the driving track and merge with the vehicle is less than a preset time; In response to the order acceptance operation of the target designated driver, a designated driving order between the vehicle and the target designated driver is generated.
2. The method for generating a designated driver order according to claim 1, characterized in that: Determining the target area according to the driving trajectory includes: Acquire a key position on the driving trajectory, wherein the key position corresponds to the position of the vehicle; Taking the key position as the center of the circle and the preset radius as the radius, generating at least one corresponding key area, wherein the preset radius is determined according to the preset duration and the riding speed of the designated driver; The union of the key areas is determined as the target area.
3. The method for generating a designated driver order according to claim 1, characterized in that: The matching of a target designated driver who meets the order conditions in the target area includes: Acquire the third position and movement mode of each designated driver in the target area, wherein the movement mode includes riding mode; generating a driving path corresponding to the moving mode according to the third position of each of the designated drivers and the driving trajectory, wherein the driving path intersects with the driving trajectory at a merging point; The first time and the first distance for each designated driver to arrive at the meeting point are calculated, and the designated driver whose first distance is less than the preset distance and / or whose first time is less than the preset time is determined as the target designated driver who meets the order conditions.
4. The method for generating a designated driver order according to claim 1, characterized in that: The method further comprises: If a target designated driver who meets the order conditions is not matched, at least one of the range of the target area, the preset distance and the preset duration is increased, and the step of matching a target designated driver who meets the order conditions in the target area is re-executed until a target designated driver who meets the order conditions is matched.
5. A system for generating designated driver orders, characterized in that: include: A driving trajectory determination module, for determining, in response to a driver request for a vehicle, a target area corresponding to the driver request and a driving trajectory of the vehicle within the target area; wherein the determination of the target area corresponding to the driver request and the driving trajectory of the vehicle within the target area comprises: obtaining a first location of the vehicle scheduled to be picked up in the driver request and a second location where the vehicle is currently located; determining whether the first location and the second location are the same; if the first location and the second location are the same, taking the first location as the driving trajectory of the vehicle; if the first location and the second location are not the same, generating a driving trajectory based on the first location and the second location, and if the second location is the location where the vehicle arrives after passing through the first location, predicting at least one driving trajectory based on the second location; and determining the target area based on the driving trajectory; a designated driver order matching module, configured to match a target designated driver who meets the order conditions in the target area, and send the designated driver request to the target designated driver, wherein the order conditions include that the distance traveled by the designated driver to the driving track and the vehicle is less than a preset distance, and / or that the time taken by the designated driver to the driving track and the vehicle is less than a preset time; The designated driver order generating module is used to generate a designated driver order between the vehicle and the target designated driver in response to the order acceptance operation of the target designated driver.
6. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method according to any one of claims 1 to 4.
7. A computer storage medium, characterized in that: The computer storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 4 is executed.
