Method and device for interaction
By providing path selection and traffic capacity prompts in travel services, combined with multi-modal feature extraction and machine learning models, the problem of difficult assessment of traffic capacity in travel services is solved, and travel safety and experience are improved.
Patent Information
- Application Number
- CN202310227948.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2024-09-03
AI Technical Summary
In travel services, it is difficult for drivers and passengers to understand the route capacity, which results in the inability to avoid risky sections in time and affects the travel experience.
Provide an interactive method that allows users to choose a more suitable path by presenting at least two paths and their related traffic capacity prompt information, use multi-modal feature extraction and machine learning models to determine the smoothness of the path, and optimize the path recommendation algorithm.
It improves driving safety and user experience, meets individual needs, and reduces timeliness inaccuracies and safety hazards caused by poor traffic sections.
Smart Images

Figure CN118583180A
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure relate generally to the field of computers, and more particularly to methods, apparatuses, electronic devices, computer storage media, and computer program products for interaction. Background Art
[0002] At present, the information in the real world is updated quickly and has many dimensions. For transportation services, it is necessary to consider the special properties of the real environment when planning routes. For example, the actual width of the road, road conditions and other factors that affect traffic capacity.
[0003] In travel services (for example, online ride-hailing services), if drivers and passengers do not understand the overall traffic capacity of the travel route, it may result in the driver and passengers being unable to make timely decisions on whether to avoid risky sections of the road, thereby affecting the driver and passengers' travel experience. Summary of the invention
[0004] In a first aspect of the present disclosure, a method for interaction is provided. The method includes: presenting at least a first path and a second path related to a trip; and presenting first prompt information associated with the first path and second prompt information associated with the second path, so that a user can select between the first path and the second path, wherein the first prompt information at least indicates at least one of the following: a first capacity of the first path and first trip reference information for performing the trip on the first path, which is at least associated with the first capacity, and wherein the second prompt information at least indicates at least one of the following: a second capacity of the second path and second trip reference information for performing the trip on the second path, which is at least associated with the second capacity.
[0005] In a second aspect of the present disclosure, a device for interaction is provided. The device includes: a path presentation module configured to present at least a first path and a second path related to a trip; and a prompt information presentation module configured to present first prompt information associated with the first path and second prompt information associated with the second path, so that a user can select between the first path and the second path, wherein the first prompt information at least indicates at least one of the following: a first capacity of the first path and first trip reference information for performing the trip on the first path, which is at least associated with the first capacity, and wherein the second prompt information at least indicates at least one of the following: a second capacity of the second path and second trip reference information for performing the trip on the second path, which is at least associated with the second capacity.
[0006] In a third aspect of the present disclosure, an electronic device is provided, comprising: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to the first aspect of the present disclosure.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method according to the first aspect of the present disclosure.
[0008] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer executable instructions, wherein the computer executable instructions implement the method according to the first aspect of the present disclosure when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0010] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;
[0011] FIG. 2A to FIG. 2C A schematic diagram showing an example interface provided by a terminal device according to some embodiments of the present disclosure;
[0012] Figure 3 A schematic diagram showing a process of determining the degree of path patency according to some embodiments of the present disclosure;
[0013] Figure 4A and 4B shows the scale-space position and velocity representation of some embodiments of the present disclosure;
[0014] FIG. 5A to FIG. 5C A schematic diagram showing how to determine the patency of a path using a model according to some embodiments of the present disclosure;
[0015] Figure 6 A schematic diagram showing an example process for interaction according to some embodiments of the present disclosure;
[0016] Figure 7 A schematic structural block diagram of an apparatus for interaction according to some embodiments of the present disclosure is shown; and
[0017] Figure 8 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0019] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0020] As discussed above, in travel scenarios such as online car-hailing, the route taken will greatly affect the quality of service provided. For example, some inappropriate routes may cause congestion and fail to reach the destination in time. Alternatively, some inappropriate routes may pass through some sections with poor road conditions, such as muddy sections, flooded sections, potholes, etc., which will greatly affect the passengers' riding experience. Therefore, a reasonable route is an important part of travel services.
[0021] In traditional travel services, on the one hand, the service acquirers (e.g., passengers of online ride-hailing services) and service providers (e.g., drivers of online ride-hailing services) are usually unable to obtain risk alerts associated with recommended routes. On the other hand, even if suggestions for interaction are made to online ride-hailing passengers or drivers in consideration of possible road congestion, the drivers and passengers may reject the recommended route due to other factors (e.g., higher price) because they do not understand the reason for recommending this route.
[0022] In addition, how to determine the road sections where traffic congestion may occur is also an issue worth discussing. In particular, how to generate a description of the route based on historical information related to the route (for example, whether the road width is narrow or the road condition is poor, etc.) to provide prompt information that can reflect the route conditions to both drivers and passengers.
[0023] In view of this, an embodiment of the present disclosure provides a scheme for interaction. According to the scheme, a terminal device presents at least two paths related to a user's itinerary and prompt information associated with each of the at least two paths. The prompt information is related to the capacity and utility of each of the two paths, so that the user can choose between the two paths according to the prompt information.
[0024] Based on the above approach, the embodiments of the present disclosure can support providing prompt information corresponding to a path related to the user's itinerary, so that the user can understand the capacity and utility of the path based on the prompt information, and thus make a choice of the path to be taken.
[0025] In addition, the embodiments of the present disclosure can extract the features of the route from the multi-modality and provide the user with corresponding prompt information based on the features. In this way, the route recommendation algorithm can be optimized to make the recommended route more intelligent and user-friendly, thereby further improving driving safety and user experience.
[0026] Various example implementations of the scheme will be described in detail below with reference to the accompanying drawings.
[0027] Example Environment
[0028] See first Figure 1 , which schematically shows a diagram of an environment 100 in which an application according to an exemplary implementation of the present disclosure may be used.
[0029] Applications that enable users to call for vehicle services online are known and may be referred to as “travel service applications”, “ride-hailing software” or “ride-hailing applications”. Figure 1 As shown, the environment 100 includes a terminal device 110, which is configured to present Figure 1 The user interface 140 shown. In the user interface 140, the terminal device 110 can present a road risk reminder 130 related to a candidate route before the start of a trip or a current route during a trip to a user (e.g., a passenger). In some embodiments, the terminal device 110 can be, for example, an electronic device associated with a party that acquires travel services, examples of which can include but are not limited to: a smartphone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, a wearable device, etc.
[0030] As will be described in detail below, the terminal device 110 may, for example, present paths 101 and 102 related to the user's itinerary and prompt information 103 and 104 corresponding to the paths. Alternatively, the server 120 may obtain information associated with the path, such as static attributes, historical driving data of vehicles passing through the path, and / or at least a portion of an image of the path, and provide the terminal device 110 with the above information.
[0031] Example route selection process
[0032] The detailed process of route selection for a trip is described in further detail below.
[0033] In some embodiments, the embodiments of the present disclosure may support providing alternative routes and prompt information of the alternative routes for travel services before the start of the journey. FIG. 2A to FIG. 2C , which shows schematic diagrams of example interfaces 200A to 200C provided by the terminal device 110 according to some embodiments of the present disclosure.
[0034] like Figure 2A As shown, the terminal device 110 can, for example, provide an interface 200A to the user through a travel application. The interface 200A can, for example, include input controls 205 and 210 for receiving the starting location (also called the departure point) and the end location (also called the destination) of the user's trip.
[0035] After receiving the starting point and the end point, the terminal device 110 may provide, for example, an interface 200B. The interface 200B is also referred to as a trip preview interface, and the user may select a desired route through the interface 200B.
[0036] In some embodiments, interface 200B may be presented before the travel service platform successfully assigns a service provider to the user. For example, the online car-hailing platform has not yet successfully assigned a driver to provide services to the user.
[0037] Alternatively, interface 200B may be provided after the travel service platform has successfully assigned a service provider to the user and before the service provider has started the trip. For example, the online car-hailing platform has assigned a driver to provide services to the user, but the driver is still on the way to pick up the user. Alternatively, the trip may be a future trip that has not yet started.
[0038] like Figure 2B As shown, the interface 200B may present, for example, recommended routes 211 and 212 from the departure location 202 to the destination 204. Such recommended routes may be automatically generated by the travel platform, for example. The interface 200B also presents first prompt information 213 associated with the recommended route 211 and second prompt information 214 associated with the recommended route 212. The first prompt information 213 indicates a first capacity of the recommended route 211 and first trip reference information associated with the first capacity for a trip on the first route. The second prompt information 214 indicates a second capacity of the recommended route 212 and second trip reference information associated with the second capacity for a trip on the second route.
[0039] In some embodiments, the capacity may indicate, for example, whether a vehicle can pass smoothly on the path, such as whether the road is narrow or occupied. In some other embodiments, the capacity may indicate the speed of the vehicle on the path or the speed of at least a portion of the path. In some other embodiments, the capacity may also include the paving condition of the road surface, such as whether there is a poor road condition such as a gravel road, a dirt road, or a damaged road surface. It is also possible that the capacity may also indicate the safety of the vehicle traveling on the path.
[0040] In some embodiments, the first trip reference information may indicate a first utility of traveling on a first path caused by the first capability, and the second trip reference information may indicate a second utility of traveling on a second path caused by the second capability.
[0041] In some embodiments, the utility may be related to the travel consumption level of a particular route. For example, the utility may include the cost of traveling on the route, the time required for traveling on the route, and / or the distance of traveling on the route, etc.
[0042] For example, the first prompt information 213 indicates one or more of the following attribute information of the recommended path 211: smooth road, fast speed, shorter time, longer distance, higher cost, etc., while the second prompt information 214 indicates one or more of the following attribute information of the recommended path 212: including sections with unsmooth road conditions, slow speed, longer time, shorter distance, lower cost, etc.
[0043] In some embodiments, the first prompt message may be presented in association with the first path, and the second prompt message may be presented in association with the second path. For example, in interface 200B, first prompt information 213 is presented near recommended path 211, and second prompt information 214 is presented near recommended path 212. In interface 200B, there is presented an identifier 218 indicating that first prompt information 213 is associated with recommended path 211, and an identifier 219 indicating that second prompt information 214 is associated with recommended path 212.
[0044] In this way, the interface can not only present the recommended routes for the user's trip, but also provide the path capacity and the impact on the trip that may be caused by the path capacity. As a result, the user can associate the path capacity with factors such as trip cost, distance, time and safety, so that the user can choose the trip to be made based on multiple considerations. For example, if the user believes that the smoothness of the path is more important and the resulting cost difference is acceptable, the user may choose a path with higher cost but smoother traffic.
[0045] In some embodiments, if the capacity of path 211 exceeds the capacity of path 212, and the utility difference between path 211 and path 212 does not exceed a threshold value, for example, the difference in cost of the trip cost of path 211 exceeding the trip cost of path 212 does not exceed a threshold difference, then in some embodiments, a prompt for recommending a trip along path 211 may be presented. For example, the terminal device 110 may change the graphical representation of path 211, for example, the color, brightness, thickness, etc. of its route may be changed to indicate that path 211 is recommended for the user's trip. For example, in interface 200B, path 211 may be presented as a solid line. In other embodiments, the terminal device 110 may also present an entry for selecting between path 211 and path 212 on the interface. For example, controls 215 and 216 for the user to select path 211 or path 212 are presented in interface 200B. Alternatively or additionally, a prompt indicating that route 211 is recommended for the user's trip may also be presented at controls 215 and 216 for the user to select route 211 or route 212 .
[0046] In some embodiments, if the capacity of path 211 exceeds the capacity of path 212, and the utility difference between path 211 and path 212 exceeds a threshold, for example, the travel cost of path 211 exceeds the travel cost of path 212 by a difference exceeding a threshold difference, then terminal device 110 may also present an entry for selecting between path 211 and path 212 on the interface. Figure 2C As shown, controls 225 and 226 for the user to select path 211 or path 212 are presented in interface 200C.
[0047] In addition to providing controls for selecting between routes 211 and 212, alternatively or additionally, terminal device 110 may provide a prompt for the user to select between multiple recommended routes through a voice message. The user may choose to travel along route 211 or route 212 by responding to the voice message.
[0048] Alternatively or additionally, the terminal device 110 may present cost information, distance information, and / or duration information corresponding to different recommended routes, so that the user can decide whether to select a route that can avoid the road section with poor traffic conditions. For example, both interfaces 200B and 200C present regions 217 and 227 of the cost information corresponding to route 211 and route 212. The user can make a choice between route 211 and route 212 based on the difference in the cost of the route 211 and route 212.
[0049] Alternatively or additionally, the terminal device 110 may, in the process of presenting the interface 200B, voice broadcast the prompt information corresponding to the path 211 and the path 212 to the acquirer of the travel service. Alternatively or additionally, the terminal device 110 may trigger a call from the travel application to the user, thereby informing the prompt information corresponding to the path 211 and the path 212.
[0050] It should be understood that although the above described embodiment explains how to provide a plurality of recommended routes and prompt information related to the recommended routes indicating the route capacity and utility to the user before the start of the trip, such a route recommendation process and prompt information can also be presented to the user during the trip. The mechanism of presenting the recommended routes and prompt information indicating the route capacity and utility during the trip can be implemented in a manner similar to the above described embodiment, so it will not be described in detail here.
[0051] Through the scheme described above, the party that obtains the travel service can obtain prompt information associated with the recommended route, indicating the route's capacity and utility, so as to guide it to choose a safer and smoother route. In this way, on the one hand, it can meet the personalized needs of passengers for travel services and thus improve customer experience, and on the other hand, it can significantly reduce the inaccurate travel time, safety hazards and other potential risks caused by the blocked road sections.
[0052] Determination of road sections with poor traffic flow
[0053] In the embodiments of the present disclosure, it is desirable to use a multimodal form to characterize the smoothness of the route (i.e., whether the route is easy to travel), because simply using a certain mode to characterize the smoothness of the vehicle on the road is not accurate. Therefore, the embodiments of the present disclosure propose to use a machine learning model based on multimodal feature extraction to determine the smoothness of the route.
[0054] Figure 3 FIG. 3 is a schematic diagram of a model 300 based on multimodal fusion according to an embodiment of the present disclosure. Figure 3 As shown, the model 300 includes an input end 310 , a feature extraction end 320 , and an output end 330 .
[0055] The input terminal 310 may include static road attributes 311. The static road attributes 311 may be obtained, for example, from road network information. For example, the static road attributes 311 may include a road ID, a rated length and / or width of a road, the number of lanes, a road grade, a road speed limit, a shape, etc. The static road attributes 311 generally do not change frequently.
[0056] The input terminal 310 may also include trajectory information 312 (also referred to as the driving information of the vehicle's path in this disclosure). In some embodiments, a string of GPS points collected along the vehicle's path may be used as the trajectory information 312. For example, each GPS point may include time, location, speed, and direction information, which records the actual travel process of the user through the road section. In other embodiments, the route planning result of the user driving on the path may also be obtained to determine whether the user has deviated, etc.
[0057] In addition, the input terminal 310 may also include image information 313. Image information can truly reflect the paving conditions of the road surface and the surrounding environment, and judging the road capacity through images is relatively objective. Considering that the available surface of the driving recorder is low when acquiring images, for the same road, images collected at different locations on the road within a predetermined time period can be aggregated, so that spatiotemporal aggregation can be used to more comprehensively obtain the trajectory information and image information of the road capacity, so as to minimize the impact of the fluctuation of the trajectory or the image itself on the actual road capacity.
[0058] After obtaining the original information of the road, in order to extract more semantic features to represent the road, on the feature extraction side 320, different input sources are processed, and while the road information is output based on the information of each modality, a comprehensive judgment is made on whether the road is easy to travel in combination with multimodal fusion technology.
[0059] Static road attributes 311 generally do not change frequently, but they also have some features, such as road shape indicating whether the road is curved, etc. Based on this, topological complexity can be defined to represent its corresponding attributes.
[0060] For the trajectory information 312, a common practice is to extract the speed quantiles of the trajectory information. The trajectory features are represented by speed statistical features such as average speed, maximum speed, minimum speed, and quantiles of different speeds. However, this form of feature representation often loses the original trajectory information. In an embodiment of the present disclosure, the trajectory information is converted into an image representation, and the trajectory features are automatically extracted based on a neural network.
[0061] For example, to obtain the position and speed range of the historical trajectory of a specific road and nearby roads, such as the trajectory sequence of the trajectory on the road in the last month, it can be expressed as:
[0062] tra j_seq =[tra j1 ,tra j2 ,…,tra jn ], where each trajectory point tra j =(lon,lat,speed,acc,direction).
[0063] All historical trajectory points can be counted and the minimum and maximum values of the longitude and latitude of the trajectory points and the corresponding trajectory points can be calculated, so as to obtain the minimum rectangular area containing these trajectory points, and expand the local area size within a certain range to obtain the rectangular area of the historical trajectory points on the link.
[0064] The area can be converted into a raster image at certain spatial intervals. The area with tracks can be the foreground, and the area without tracks can be the background. The numerical size of the foreground grid position is represented by a function of the speed of the track point falling at that position (speed unit m / s), indicating the relative size of the speed at different positions. When multiple track points fall at the same spatial position, the speed statistics of these track points (such as the average speed) are taken as the speed of the position. The speed function is expressed as a proportional function Pix_value = k*speed, mainly to expand the range of speed values and the commonly used RGB image pixel value range. For example, the speed can be within 120km / , and the value exceeding this value is set to the default pixel value. The pixel value corresponding to this speed value is 255, and the remaining speeds are converted proportionally.
[0065] Based on different spatial intervals, trajectory grid images of different scales are obtained. For a link, position and speed images represented by multi-scale grid images are obtained. According to a similar method, the spatial position of the link is converted into a position image of the corresponding scale.
[0066] Finally, we can obtain the multi-scale spatial position image of the link and the position and speed image of the historical trajectory points, which together constitute the trajectory information represented by the multi-scale image of the road, including the speed information of the current road and the speed information of the nearby area. At the same time, the spatial position of the link can be used as a channel input as an attention, so that the network can extract the current link and the surrounding speed from the position and speed map, while also paying more attention to the characteristics of the current road such as speed.
[0067] Figure 4A and 4B Scale-space position and velocity representations of some embodiments of the present disclosure are shown. Figure 4A The position velocity diagram of the historical trajectory is shown. Figure 4A In the figure, the darker the image color, the larger the value, and the faster the corresponding speed. Figure 4BThe multi-scale spatial position image of link is shown. Figure 4B In the example, the foreground pixel value is a constant, indicating the position of the link in the image.
[0068] For the image information 313, although traditional manually designed image feature extraction methods such as HOG, LBP, etc. are widely used in fields such as image recognition, for road scenes, due to their complex backgrounds, large spatiotemporal variability and other characteristics, manually designed features are difficult to meet the needs, and manually designed features often face challenges in generalization. In the embodiments of the present disclosure, with the help of the advantages of deep neural networks, feature extraction through neural networks has been rapidly developed and applied. In particular, models based on convolutional neural networks (CNN) have been successfully applied to applications related to image recognition in the image field. Based on the deep convolutional network ResNet, features of different layers of the image are extracted, and in particular, the output features of the last four stages of resnet (not shown) are used to obtain the image feature pyramid f_image = [P1, P2, P3, P4]. For multiple images on a road, the feature pyramids of all images can form road-level image features, which can be expressed as:
[0069]
[0070] The trajectory position and speed in the above trajectory information can be converted into image representations. The convolutional neural network is used to extract the trajectory representation of the road. The trajectory position and speed graph of each scale can obtain the corresponding trajectory pyramid representation:
[0071]
[0072]
[0073] At the output end 330, the output information may include, for example, whether the road is easy to drive after the fusion of multimodal features. Information related to the speed of the road is determined based on the trajectory features. The paving conditions of the road surface obtained based on the image information, for example, whether the driving will be bumpy; the drivable width of the road, which determines whether the vehicle will be difficult to pass; information on roads with difficult passing or poor road paving conditions, which are more prone to accidents and pose greater potential risks to people or vehicles, and are more likely to bring negative experiences to drivers and passengers.
[0074] In order to take advantage of the WYSIWYG advantage of images, the paving conditions of roads such as dirt roads, cement roads, asphalt roads, and road damage are predicted based on deep learning models to predict the drivable width of roads, such as whether the drivable road surface is extremely narrow, narrow, or wide, and / or predict the scene labels of roads such as vehicles occupying the road, narrow alleys, etc. If most images on a road indicate that the road is difficult to pass, or many images show that the road is paved with dirt roads or the road surface is damaged, then such roads are more likely to be considered difficult to travel. In this way, based on the learning ability of deep learning models, through auxiliary tasks of images and trajectories, accurate results describing the road's traffic capacity can be obtained, while providing more options for route interpretation.
[0075] Therefore, based on the above model 300, the degree to which a road is easy or difficult to travel can be obtained globally, and locally, rich road detail information can be provided based on the trajectory information of user behavior and the images collected by the driving recorder.
[0076] The above-mentioned model training process can be performed at the server 120 , for example, and the trained model can be provided from the server 120 to the terminal device 110 , for example.
[0077] However, in actual use, in addition to static road attributes, the driving information of the vehicle's path or at least part of the image information of the path may be missing. In the case of missing information, based on the trained model, the information of the missing modality can be inferred based on the feature similarity of the existing modalities.
[0078] For example, for roads in the same scene, the distance between the trajectory features of two samples is smaller than that of the trajectory features of different scenes. Similarly, for roads in the same scene, the distance between the image features of two samples is smaller than that of the image features of different scenes. For example, for samples i, j, k, where i and j belong to the roads of the same scene and k belongs to the roads of another scene, the minimized trajectory feature is expressed as:
[0079] L(D ij ) traj =distince(D ij _traj-D ik -traj+margin)
[0080] Similarly, the minimized image feature is expressed as:
[0081]
[0082] In this way, the similarity of image and trajectory features of roads in the same scene is higher than that of roads in different scenes, and the information of missing modes inferred based on the existing modes is more convincing. For both image and trajectory modes, the model has the ability to handle modality loss. In practical applications, if both modes exist, the model only needs to make one prediction, while for prediction using one mode, two results can be obtained. For any missing mode, prediction can be made.
[0083] Finally, the entire loss function can include the multi-task loss and the metric loss of the feature constraint module, which is expressed as:
[0084]
[0085] FIG. 5A to FIG. 5C A schematic diagram showing the use of a model to determine the patency of a path according to some embodiments of the present disclosure.
[0086] like Figure 5A As shown, in the absence of modality loss, the path can be obtained (e.g. Figure 2B The static road information 511, trajectory information 512 and image information 513 of the path 211 in the image are taken as the output of the input end 510, and the feature extraction side 520 extracts the corresponding road features, trajectory features and image features, so as to obtain the conclusion of whether the road is easy to travel at the output end 530.
[0087] For roads with a missing mode, for example Figure 5B As shown, at the input end 510, image information is missing but there is trajectory information 512. At the feature extraction side 520, a road with an image and the most similar trajectory feature can be found and its image feature can be obtained as the image feature of the current road, and then the real trajectory information of the road and the image information similar to its trajectory can be used for prediction, so that decision-making can be assisted by both the image and the trajectory.
[0088] Similarly, for example, Figure 5C As shown, at the input end 510, the trajectory modality is missing but there is image information 513. Its image features can be extracted at the feature extraction side 520, and then a road with a trajectory and the most similar image features can be found, and its trajectory features can be obtained as the trajectory features of the current road, and then the real image information of the road and the trajectory information similar to its image can be used for prediction.
[0089] Therefore, in Figure 5B and Figure 5C In the example, at output terminal 530, a conclusion on whether the path is easy to travel can be output.
[0090] In addition, in the case of missing modalities, model training can also be performed on a single modality. For example, when there are only trajectories, only the trajectories are used to train a model for easy or difficult roads, and predictions are made for roads with only trajectories when applied. The same is true for roads with only images. Based on predictions based on a single modality and multiple modalities, multiple prediction results can be obtained, and trade-offs can be made for different applications when making decisions. For example, when users try to avoid difficult roads, when only one prediction result is a difficult road, it is judged that the road is difficult. If you want to more accurately determine the difficult roads for intervention, then the road is determined to be difficult only when multiple models predict that it is difficult to travel. In order to avoid some extreme model misjudgments, you can use the road grade and historical average speed, flow and other features after the model prediction for further screening to ensure that the difficult roads provided for route recommendations have greater credibility.
[0091] Whether a road is easy to drive can be judged based on individual trajectory features or image features, but the integration of information from multiple modes can, to a certain extent, more comprehensively and objectively characterize the degree of road ease. At the same time, the mutual constraints of information from multiple modes can also improve the accuracy of the mined data to a certain extent. For example, vehicles on a road are driving at low speeds, which may be caused by factors such as traffic lights. If the road surface is in good condition and the road width does not cause difficulties in passing, then such a road will not be considered a difficult road. Similarly, on a relatively narrow road, if the vehicle speed is generally very high, then the road may be a rural road with low traffic volume. Even if it is slightly narrower, it will not have much negative impact on the driver and passenger experience. In this way, it is more reasonable to use multimodal fusion to jointly characterize the ease of driving a road.
[0092] According to the solution disclosed in the present invention, the road capacity can be determined in a multimodal manner. For the scenario of missing modalities, the missing modalities can be filled using the feature similarity of the existing modalities based on the feature constraints of metric learning. The road capacity can also be identified for roads with only image modalities or trajectory modalities. As a result, it is possible to provide support for path selection for the user front end, allowing users to avoid difficult sections of the road, thereby significantly improving the safety and satisfaction of travel.
[0093] In some embodiments, after the trip is over, for example, an entry may be provided for the user to provide feedback on whether the route prompt information previously presented to the user is accurate. Based on user feedback, the trained model may be further updated.
[0094] Example Process
[0095] Figure 6 FIG. 6 is a flowchart of a process 600 for interaction according to various embodiments of the present disclosure. The process 600 may be performed as follows: Figure 1 The embodiment is implemented by the terminal device 110 shown.
[0096] like Figure 6 As shown, in block 610 , the terminal device 110 presents at least a first route and a second route related to the trip.
[0097] In block 620, the terminal device 110 presents first prompt information associated with the first path and second prompt information associated with the second path, so that the user can select between the first path and the second path. The first prompt information indicates at least one of the following: a first capacity of the first path and at least first trip reference information associated with the first capacity for making the trip on the first path, and wherein the second prompt information indicates at least one of the following: a second capacity of the second path and at least second trip reference information associated with the second capacity for making the trip on the second path.
[0098] In some embodiments, in response to the second capability exceeding the first capability and the difference between the first trip utility indicated by the first trip reference information and the second trip utility indicated by the second trip reference information not exceeding a threshold difference, a prompt recommending the trip along the second path and / or an entry for selecting the first path or the second path is presented.
[0099] In some embodiments, in response to the second capability exceeding the first capability and a difference between a first trip utility indicated by the first trip reference information and a second trip utility indicated by the second trip reference information exceeding a threshold difference, an entry for selecting the first path or the second path is provided.
[0100] In some embodiments, generating the first prompt information includes: obtaining static road attributes passed by the first path; obtaining driving information of a vehicle passing through the first path and / or image information of the first path; using a trained machine learning model to extract at least one element indicating the communication capability of the first path and the travel utility of the trip on the first path from at least one of the driving information and the image information and the static road attributes; and generating the first prompt information based on the at least one element.
[0101] In some embodiments, the image information includes at least one of the following: an image acquired by the vehicle while passing through the first path; an image acquired by a device other than the vehicle.
[0102] In some embodiments, it also includes: receiving feedback input from a user, wherein the feedback input indicates the consistency between the corresponding prompt information of the selected path and the user's actual experience; and updating the machine learning model based on the feedback input.
[0103] In some embodiments, the first prompt message is presented in relation to the first path, and wherein the second prompt message is presented in association with the second path.
[0104] Example devices and equipment
[0105] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 7 A schematic structural block diagram of an apparatus 700 for interaction according to some embodiments of the present disclosure is shown.
[0106] like Figure 7 As shown, the apparatus 700 includes a route presentation module 710 configured to present at least a first route and a second route related to a trip.
[0107] The device 700 further includes a prompt information presenting module 720, configured to present first prompt information associated with the first path and second prompt information associated with the second path, so that the user can select between the first path and the second path. The first prompt information indicates at least one of the following: a first capacity of the first path and at least first trip reference information associated with the first capacity for making the trip on the first path, and wherein the second prompt information indicates at least one of the following: a second capacity of the second path and at least second trip reference information associated with the second capacity for making the trip on the second path.
[0108] In some embodiments, the device 700 is further configured to present a prompt recommending the trip along the second path, or an entrance guiding the user to make a selection between the first path and the second path, in response to the second capacity exceeding the first capacity and the difference between the first trip utility indicated by the first trip reference information and the second trip utility indicated by the second trip reference information not exceeding a threshold difference.
[0109] In some embodiments, the device 700 is further configured to provide an entry for selecting the first path or the second path in response to the second capacity exceeding the first capacity and the difference between the first trip utility indicated by the first trip reference information and the second trip utility indicated by the second trip reference information exceeding a threshold difference.
[0110] In some embodiments, the device 700 is also configured to generate the first prompt information, including: obtaining static road attributes passed by the first path; obtaining driving information of a vehicle passing through the first path and / or image information of the first path; using a trained machine learning model, extracting at least one element indicating the communication capability of the first path and the travel utility of the trip on the first path from at least one of the driving information and the image information and the static road attributes; and generating the first prompt information based on the at least one element.
[0111] In some embodiments, the image information includes at least one of the following: an image acquired by the vehicle while passing through the first path; an image acquired by a device other than the vehicle.
[0112] In some embodiments, the device 700 is further configured to: receive feedback input from a user, wherein the feedback input indicates consistency between corresponding prompt information of the selected path and the user's actual experience; and update the machine learning model based on the feedback input.
[0113] In some embodiments, the first prompt message is presented in relation to the first path, and wherein the second prompt message is presented in association with the second path.
[0114] The units included in the device 700 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 700 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0115] Figure 8 8 shows a block diagram of an electronic device / server 800 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 8 The electronic device / server 800 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.
[0116] like Figure 8As shown, the electronic device / server 800 is in the form of a general electronic device. The components of the electronic device / server 800 may include, but are not limited to, one or more processors or processing units 810, a memory 820, a storage device 830, one or more communication units 840, one or more input devices 850, and one or more output devices 860. The processing unit 810 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 820. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capabilities of the electronic device / server 800.
[0117] The electronic device / server 800 typically includes a plurality of computer storage media. Such media can be any available media accessible to the electronic device / server 800, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 820 can be a volatile memory (e.g., register, cache, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory) or some combination thereof. The storage device 830 can be a removable or non-removable medium, and can include a machine-readable medium, such as a flash drive, a disk, or any other medium, which can be used to store information and / or data (e.g., training data for training) and can be accessed within the electronic device / server 800.
[0118] The electronic device / server 800 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 8 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 820 may include a computer program product 825 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0119] The communication unit 840 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device / server 800 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device / server 800 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0120] The input device 850 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 860 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device / server 800 may also communicate with one or more external devices (not shown) through the communication unit 840 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device / server 800, or communicate with any device that allows the electronic device / server 800 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0121] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method described above.
[0122] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0123] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0124] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0125] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0126] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the implementations disclosed herein.
Claims
1. A method for interaction, comprising: presenting at least a first route and a second route associated with the trip; as well as presenting first prompt information associated with the first path and second prompt information associated with the second path, so that the user can choose between the first path and the second path, wherein The first prompt information indicates at least one of the following: a first capacity of the first path and first trip reference information for performing the trip on the first path at least associated with the first capacity, and wherein The second prompt information indicates at least one of the following: a second traffic capacity of the second path and second trip reference information for performing the trip on the second path, which is at least associated with the second traffic capacity.
2. The method according to claim 1, further comprising: In response to the second capability exceeding the first capability and the difference between the first trip utility indicated by the first trip reference information and the second trip utility indicated by the second trip reference information not exceeding a threshold difference, presenting a prompt recommending that the trip be made along the second route, or An entry for selecting the first path or the second path.
3. The method according to claim 1, further comprising: In response to the second capacity exceeding the first capacity and a difference between a first trip utility indicated by the first trip reference information and a second trip utility indicated by the second trip reference information exceeding a threshold difference, providing access for selecting the first path or the second path.
4. The method according to claim 1, further comprising generating the first prompt information, comprising: Obtaining static road attributes passed by the first path; Acquire driving information of a vehicle passing through the first path and / or image information of the first path; extracting, using the trained machine learning model, at least one element indicating a communication capability of the first path and a trip utility of making the trip on the first path from at least one of the driving information and the image information and the static road attribute; as well as The first prompt information is generated based on the at least one element.
5. The method according to claim 4, wherein the image information comprises at least one of the following: An image acquired when the vehicle passes through the first path; Images acquired by a device other than the vehicle.
6. The method according to claim 4 or 5, wherein the at least one element comprises at least one of the following of the first road: The smoothness of traffic; Traffic speed; Road conditions.
7. The method according to claim 4, further comprising: receiving feedback input from a user, the feedback input indicating consistency between corresponding prompt information of the selected path and actual experience of the user; as well as The machine learning model is updated based on the feedback input.
8. The method according to any one of claims 1 to 7, wherein the first prompt message is presented in relation to the first path, and wherein the second prompt message is presented in association with the second path.
9. A device for interaction, comprising: A route presentation module, configured to present at least a first route and a second route related to the trip; as well as a prompt information presenting module, configured to present first prompt information associated with the first path and second prompt information associated with the second path, so that the user can choose between the first path and the second path, wherein The first prompt information indicates at least one of the following: a first capacity of the first path and first trip reference information for performing the trip on the first path at least associated with the first capacity, and wherein The second prompt information indicates at least one of the following: a second traffic capacity of the second path and second trip reference information for performing the trip on the second path, which is at least associated with the second traffic capacity.
10. An electronic device, comprising: Memory and processor; The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having one or more computer instructions stored thereon, wherein the one or more computer instructions are executed by a processor to implement the method according to any one of claims 1 to 8.
12. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Driving method and system for virtual navigation
CN107588782A
Navigation information intelligent display control method and related devices
CN112461254A
Road condition information determination method and device, electronic equipment and storage medium
CN113066285A
Driving path recommendation method and system, medium, equipment and program product
CN114255607A
Enhanced path mapping based on safety consideration
US20210123753A1
Cited By
Method for recommending route, electronic device, storage medium and program product
CN119719441A
