Video recommendation method and device, equipment, medium, program product and vehicle

By determining the target geographical location along the navigation route and performing video recommendations, the problem of single video recommendation in the existing technology in navigation scenarios is solved, and higher video recommendation diversity and user satisfaction are achieved.

CN120050455APending Publication Date: 2025-05-27BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510088756.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The existing video recommendation technology is too single and relies on big data to analyze user behavior, which cannot meet users' video viewing needs in navigation scenarios.

Method used

By determining the target geographical location along the navigation route, video recommendations are made for these locations to improve the diversity of video recommendations.

Benefits of technology

In the navigation scenario, video recommendations are made based on the target geographical location along the way, which improves the diversity of video recommendations, allowing users to obtain the desired video more easily and meet the video viewing needs in the navigation scenario.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050455A_ABST
    Figure CN120050455A_ABST
Patent Text Reader

Abstract

The invention relates to a video recommendation method and device, equipment, a medium, a program product and a vehicle, and relates to the field of video recommendation, and the method comprises the steps: determining a target geographic position along a navigation route; according to the video recommendation method and device, video recommendation is carried out on the target geographic position along the navigation way, so that the diversity of video recommendation is improved, and a user can more conveniently obtain and watch a required video in a navigation scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of video recommendation, and in particular, to a video recommendation method, apparatus, device, medium, program product, and vehicle. Background Art

[0002] With the development and popularization of Internet technology, people can watch videos on their mobile phones at any time. In order to enable users to watch more suitable videos, appropriate videos will be actively recommended to users through video push. However, in related technologies, video push is performed by analyzing user behavior through big data, resulting in a single video push method and being unable to meet the video viewing needs of users. Summary of the Invention

[0003] Embodiments of this application provide a video recommendation method, apparatus, device, medium, program product, and vehicle, which improve the diversity of video recommendation and meet the video viewing needs of users, so as to at least partially solve the above technical problems.

[0004] To achieve the above object, according to the first aspect of this application, a video recommendation method is provided. The video recommendation method includes:

[0005] Determine target geographical locations along the navigation route;

[0006] Perform video recommendation for the target geographical locations.

[0007] According to the second aspect of this application, an electronic device is provided, including:

[0008] A determination module, configured to determine target geographical locations along the navigation route;

[0009] A recommendation module, configured to perform video recommendation for the target geographical locations.

[0010] According to the third aspect of this application, an electronic device is further provided, including a processor, the processor is connected to a memory, the memory stores a computer program, and the processor is configured to run the computer program in the memory to execute any of the above video recommendation methods.

[0011] According to the fourth aspect of this application, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the above video recommendation methods is performed.

[0012] According to the fifth aspect of this application, a computer program product is provided, which includes a computer program, and when the computer program is executed by a processor, any of the above video recommendation methods is implemented.

[0013] According to a sixth aspect of the present application, there is provided a vehicle that executes any of the above video recommendation methods, or includes the above-described electronic device or electronic equipment.

[0014] The video recommendation method provided by the embodiments of the present application determines target geographical locations along a navigation route; and makes video recommendations for the target geographical locations. In this way, in the navigation scenario, video recommendations are made according to the target geographical locations along the way, improving the diversity of video recommendations, enabling users to more conveniently obtain and watch the desired videos in the navigation scenario, and meeting the user's need to watch videos in the navigation scenario.

[0015] Other features and advantages of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] To more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative efforts.

[0017] To more fully understand the present application and its beneficial effects, the following will be described in conjunction with the accompanying drawings, where the same reference numerals represent the same parts in the following description.

[0018] Figure 1 is a flowchart showing an embodiment of a video recommendation method provided in an embodiment of the present invention;

[0019] Figure 2 is a schematic diagram of a map interface of a video recommendation method provided in an embodiment of the present invention;

[0020] Figure 3 is a flowchart showing a video rendering process of a video recommendation method provided in an embodiment of the present invention;

[0021] Figure 4 is a flowchart showing a video playback process of a video recommendation method provided in an embodiment of the present invention;

[0022] Figure 5 is a flowchart showing a video recommendation process of a video recommendation method provided in an embodiment of the present invention;

[0023] Figure 6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention;

[0024] Figure 7 is a schematic diagram of the structure of an electronic equipment provided in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present application.

[0026] With the development and popularization of Internet technology, people can watch videos on their mobile phones at any time. In order to enable users to watch more suitable videos, appropriate videos will be actively recommended to users through video push. However, in the related art, video push is performed by analyzing user behavior through big data, resulting in a too single video push method and being unable to meet the video viewing needs of users.

[0027] The inventor found that: the related video recommendation methods all perform video push by analyzing user behavior through big data, lacking a technical solution for combining the navigation scenario for video recommendation and being unable to meet the video viewing needs of users in the navigation scenario.

[0028] To solve the above problems, the embodiments of the present application propose a video recommendation method, device, equipment, medium, program product and vehicle. The embodiments of the present application perform video recommendation according to the target geographical locations along the navigation route, improving the diversity of video recommendation and meeting the needs of users to watch videos in the navigation scenario.

[0029] Specifically, the video recommendation method in the present application can be applied to an electronic device, which can be a vehicle or a device installed on a vehicle, such as an in-vehicle display screen. The electronic device can also be a terminal such as a mobile phone, a computer, or a tablet.

[0030] Subsequently, taking the execution subject of the video recommendation method as an electronic device as an example, each embodiment will be described in detail.

[0031] Correspondingly, as Figure 1 shown, the video recommendation method may include the following steps:

[0032] S10. Determine the target geographical locations along the navigation route;

[0033] S20. Perform video recommendation for the target geographical locations.

[0034] In this embodiment, the electronic device can be a device with navigation function, which can perform route planning according to the requirements such as the starting point and the ending point set by the user. The navigation route can be a route obtained based on route planning, and the navigation route is used to guide the user on how to get from one location to another. The navigation route has a starting point and an ending point, and the route from the starting point to the ending point is known, so the target geographical locations along the navigation route can be determined.

[0035] The target geographical location is the location of the passing point of the navigation route. Video recommendation for the target geographical locations along the way is also based on video recommendation for the passing points. The video recommendation can include determining the recommended videos based on the target geographical locations, and can also include displaying the recommended videos for the user to selectively play the videos they want to watch from the recommended videos. The recommended videos can be videos related to the target geographical locations along the way, that is, videos related to the passing points.

[0036] In some embodiments, video recommendation can be performed for each target geographical location. In the navigation scenario, when the user travels along the navigation route, they will pass through these target geographical locations. Therefore, the user has a need to understand these target geographical locations. Based on the target geographical locations along the way, the videos related to them are recommended to the user, which is convenient for the user to understand the relevant information of the passing points of the navigation route and improves the efficiency of the user to obtain the videos they need in the navigation scenario.

[0037] In some embodiments, the user can re-perform route planning based on the recommended videos. For example, after the video recommendation, the user discovers something interesting at a certain passing point through the recommended video, and thus goes to that passing point, improving the user's travel experience.

[0038] In some embodiments, the target geographical locations along the way do not necessarily have to be on the navigation route, but it is allowed that there is a certain distance between them and the navigation route. In some embodiments, the distance between the target geographical location and the navigation route (which can be the straight-line distance, the shortest path distance, etc.) does not exceed a preset distance, and the preset distance can be set according to requirements.

[0039] In some embodiments, at least two target geographical locations along the navigation route can be determined, and video recommendation can be performed for each target geographical location to achieve video recommendation along the way. It will be more convenient for the user to re-plan the route by viewing the target videos recommended for different target geographical locations.

[0040] In the technical solution disclosed in this embodiment, the target geographical locations along the navigation route are determined; video recommendations are made for the target geographical locations. In this way, in the navigation scenario, video recommendations are made based on the target geographical locations along the way. Compared with making data recommendations based on more user personal preference information, the diversity of video recommendations is improved, enabling users to more conveniently obtain and watch the desired videos in the navigation scenario, improving the efficiency of users watching the videos required in the navigation scenario, enhancing the operational convenience, and at the same time improving the user travel experience and meeting the user's need to watch videos in the navigation scenario.

[0041] In some embodiments, the navigation route is a route plan based on a map. One or more target geographical locations along the navigation route can be quickly determined by calling the along-the-way search interface of the map, facilitating video recommendations based on the target geographical locations.

[0042] In one embodiment, the making of video recommendations for the target geographical locations includes:

[0043] Displaying the video layer corresponding to the target geographical location in the map where the navigation route is located, and the video layer is used to play the target video recommended for the target geographical location.

[0044] In this embodiment, the video recommendation for the target geographical location is mainly divided into determining the target video recommended for the target geographical location and presenting the target video to the user. The navigation route is a path plan based on a map. In this embodiment, the map refers to the map interface, which includes different layers. Different layers are used to display diverse information of the map and can be selected and combined according to the user's needs. The map layers in the map interface generally include a base map layer, a satellite image layer, a traffic layer, a terrain layer, etc. The map interface is displayed through an electronic device or a display device associated with the electronic device to facilitate the user to observe the map. The navigation route is also displayed in the map to guide the user to move forward and achieve navigation.

[0045] A corresponding video layer can be generated for the target geographical location and displayed in the map where the navigation route is located. This video layer is equivalent to a video playback window and can be used to play the target video recommended for its corresponding target geographical location. During the navigation process, the user can watch the target video recommended for the target geographical locations along the navigation route through the video layer on the map.

[0046] In some embodiments, the video layer may be a custom layer in the map. A custom layer is a layer that users can create according to specific needs, such as the distribution of specific events, the distribution of specific types of facilities, etc. The video layer is a custom layer set by the user based on the need to display the recommended target video, and can be displayed on the map.

[0047] By displaying the video layer for playing the recommended target video on the map, users can more conveniently and quickly view the target video recommended for the target geographical location during navigation or map viewing, which can improve the convenience of user operations, further meet the user's video viewing needs, and improve the video recommendation effect.

[0048] In one embodiment, in the map, the video layer is associated with the target geographical location corresponding to the video layer and displayed.

[0049] In this embodiment, in order to make it more convenient for users to view the target video recommended for the target geographical location, in the map, the target geographical location and its corresponding video layer are also associated and displayed, so that when users view the target video through the video layer in the map, they can quickly determine the target geographical location corresponding to the target video, or users can quickly find the video layer corresponding to the target geographical location they want to know, so as to quickly view the target video recommended for the target geographical location they want to know through the video layer. Associating and displaying the video layer with the target geographical location corresponding to the video layer in the map can facilitate users to associate the target geographical location with the target video recommended for it, achieving a better video recommendation effect.

[0050] In some embodiments, geographical attribute identifiers corresponding to the target geographical location, such as place names, address types, latitude and longitude coordinates, etc., can be marked on the video layer, so as to realize the associated display of the video layer for playing the target video on the map and the target geographical location corresponding to the video layer.

[0051] In one embodiment, the step of displaying the video layer corresponding to the target geographical location on the map where the navigation route is located includes:

[0052] Obtain the map marker of the target geographical location in the map;

[0053] Based on the map marker, render the video layer corresponding to the target geographical location in the map, so that the video layer is displayed on the target geographical location in the map.

[0054] In this embodiment, a navigation route is displayed on the video layer. Therefore, the target geographical locations along the navigation route can generally be found on the map. The video layer corresponding to the target geographical location can be displayed at the target geographical location on the map. The target geographical location on the map refers to the map position where the target geographical location is located. Displaying the video layer corresponding to the target geographical location at the target geographical location on the map includes displaying the video layer at the map position that matches the map position where the corresponding target geographical location is located, so that the video layer can be displayed near the map position corresponding to the target geographical location on the map, and the video layer corresponding to the target geographical location along the navigation route can also be seen near the navigation route. For example Figure 2 As shown, there are 4 target geographical locations along the navigation path. The target geographical locations on the map are shown as marks 1, 2, 3, and 4 in the figure, and their corresponding video layers are also displayed at their map positions.

[0055] In this embodiment, it is necessary to first obtain the map label of the target geographical location on the map. The map label is a data type used to mark specific positions on the map. Through the map label, a certain point on the map can be quickly identified and located. In this embodiment, through the map label of the target geographical location on the map, the target geographical location on the map can be quickly identified and located. The map label includes the map position of the target geographical location on the map. Generally, the map position is the longitude and latitude coordinates, and it can also include some extended information, such as the location name, description, picture, etc.

[0056] In this embodiment, the video layer corresponding to the target geographical location is also obtained. The video layer is a layer generated for the target geographical location to play the target video corresponding to the target geographical location. The size, style, etc. of the video layer can be set according to user needs. Render the video layer corresponding to the target geographical location based on the target geographical location on the map, so as to realize the display of the video layer at the target geographical location in the map.

[0057] In one example, referring to Figure 3 , the video layer rendering process is as follows:

[0058] The video layer rendering process starts. Identify whether the target geographical location is valid, including whether the target geographical location is on the map. If it is, it indicates that the target geographical location is valid. Convert each valid target geographical location into the data type specified for the map business layer (BizCustomPointInfo type data), obtain the map markers corresponding to each target geographical location, and call the custom layer controller (BizCustomControl) of the map. The layer controller calls the pre-generated video layer corresponding to the target geographical location of each map marker by calling a method (the updateCustomPoint() method), configures the layer style, and the map business layer controller (BizCustomControl) renders the corresponding video layer onto the map according to the longitude and latitude coordinates in each map marker, completing the video layer rendering and making the video layer display at the corresponding target geographical location on the map.

[0059] In this way, the video layer is displayed at the target geographical location on the map, making it more convenient for users to view the corresponding target videos at the target geographical locations on the map, and also making it convenient for users to determine the locations of the target geographical locations corresponding to each target video along the navigation route through the map, making it more convenient for users to watch recommended videos and assisting users in re-planning the route, further improving the video recommendation effect in the navigation scenario.

[0060] In one embodiment, when the preset playback condition is met, play the target video recommended for the target geographical location on the video layer.

[0061] In some embodiments, after the video layer is rendered, the target video can be directly played through the video layer.

[0062] In this embodiment, after the video layer is rendered, the target video recommended for the target geographical location will be played on the video layer only when the preset playback condition is met. For multiple target geographical locations, the preset playback condition can be unified, or the preset playback conditions corresponding to different target geographical locations can be different. The target video recommended for a target geographical location can be played on the video layer corresponding to that target geographical location when the preset playback condition corresponding to the target geographical location is met.

[0063] In this way, according to the satisfaction of the preset playback condition, control the timing of playing the target video on the video layer of the map, and the video can be played when it better meets the user's needs, reducing interference to navigation and further improving the video recommendation effect in the navigation scenario.

[0064] In one embodiment, the preset playing conditions include at least one of the following: receiving a playing instruction triggered by a user for the video layer; traveling within a preset range of the target geographical location; the target video corresponding to a target geographical location on the navigation route is played to completion.

[0065] In this embodiment, the user can trigger a playing instruction for the video layer in the map according to requirements, and the triggering method can be touch, button, voice, etc. For example, when the user touches the video layer to trigger a playing instruction, after the electronic device receives the playing instruction triggered by the user for the video layer, it can start playing the target video to better meet the user's needs.

[0066] In this embodiment, the current traveling position of the user can also be obtained, and it is judged whether the current user has traveled within the preset range corresponding to the target geographical location according to the traveling position. When traveling within the preset range of the target geographical location, the video can be automatically played, reducing user operations and improving the automatic playing of video recommendations. For example, in a vehicle navigation scenario, the vehicle position can be obtained, and it is judged whether the current user has traveled within the preset range corresponding to the target geographical location. If so, the video can be automatically played, thereby providing a video recommendation effect for accompanying the vehicle during driving.

[0067] In this embodiment, the videos can also be automatically played in sequence according to the passing order of the target geographical locations on the navigation route. Starting from the first passing order, the target videos corresponding to each target geographical location are automatically played in the passing order. When the target video of a target geographical location on the navigation route is played to completion, the target video of the current target geographical location can start to be played. In this way, the target videos corresponding to the target geographical locations along the navigation route can be played in sequence, allowing the user to understand the passing situation in advance and improving the travel experience.

[0068] In one embodiment, the target video includes at least one of the promotion video, introduction video, hot video, and live video of the target geographical location.

[0069] In this embodiment, the promotion video is a video promoting specific products, services, or activities, etc. of the target geographical location, which can be commercial activities, tourist attractions, etc. The introduction video is a video introducing the target geographical location, such as historical background, cultural characteristics, natural scenery, etc., which can help users understand the target geographical location more deeply. The hot video can be a video with a relatively high popularity related to the target geographical location, involving some popular events or topics that have occurred, enabling users to timely understand the latest dynamics and trends of a certain area. The live video provides instant visual information of the target geographical location, which can include traffic conditions, weather changes, on-site activities, etc. The live video can also be a live broadcast video of the target geographical location or the latest video related to the target geographical location, which can assist users in planning travel routes or understanding the on-site situation.

[0070] In one embodiment, playing a target video recommended for the target geographical location on the video layer includes:

[0071] Based on the video playback address and video player of the target video, playing the target video recommended for the target geographical location on the video layer.

[0072] In this embodiment, when playing the target video recommended for the target geographical location on the video layer corresponding to the target geographical location, it can be achieved based on the video playback address and video player of the target video. The video player is a component that can read the video playback address and render and play the video content. The video playback address is the source from which the video player obtains and plays the video content. The video player will load the target video recommended for the target geographical location based on the video playback address of the target video recommended for the target geographical location, and achieve playing the target video on the video layer, so that the user can view the target video recommended for the target geographical location.

[0073] In one example, referring to Figure 4 , the video playback process is as follows:

[0074] Use a video player (ExoPlayer player) to play the video, obtain the video playback address of the target video, and call the call method (playVideo() method) provided by the video player to play the video. If the video playback address is valid, complete the video display and playback. If the video playback address is invalid, do not play the video.

[0075] In one embodiment, playing a target video recommended for the target geographical location on the video layer includes:

[0076] The target video corresponding to the target geographical location is determined according to the geographical attribute identifier of the target geographical location, and the target video matches the geographical attribute identifier of the target geographical location.

[0077] In this embodiment, the target video is determined according to the geographical attribute identifier of the target geographical location. This step can be performed on an electronic device or by a video server. Correspondingly, the target video that matches the geographical attribute identifier of the target geographical location can be obtained from a database. Specifically, it can be the target video with the same geographical attribute identifier. The database can be a local memory or the database corresponding to the video server. The geographical attribute identifier is used to identify the geographical attributes of the target geographical location, and can be the location name, location type, longitude and latitude coordinates, etc. corresponding to the target geographical location. The video can also be set with a corresponding geographical attribute identifier to identify the geographical attributes of the video. In the database, there can be multiple videos with geographical attribute identifiers. The database will be queried through the geographical attribute identifier of the target geographical location to obtain the video with the same geographical attribute identifier as the target video, so that the target video related to the target geographical location can be quickly and accurately determined for recommendation.

[0078] In some embodiments, before determining the target video, the target geographical location belonging to invalid address information can also be screened out. The invalid address information can be a geographical location without a geographical attribute identifier. A geographical location without a geographical attribute identifier is difficult to be used for video recommendation, so it is an invalid geographical location and needs to be screened out to reduce the waste of video recommendation resources.

[0079] In one embodiment, the method further includes:

[0080] Initiate a network request to the video server based on the target geographical location;

[0081] Receive the video playback address of the target video returned by the video server based on the network request.

[0082] In this embodiment, the target video that can be recommended and the corresponding video playback address are queried from the video server. The video server can be a network server and has more video resources. The electronic device sends a network request to the video server based on the target geographical location to request the server to query the video related to the target geographical location. The server queries the video related to the target geographical location based on the network request and uses it as the target video, and feeds back the video playback address of the target video to the electronic device. The video playback address can be the video website address of the target video.

[0083] In some embodiments, a network request may include a geographical attribute identifier of a target geographical location. The server queries the associated video database for a video that matches the geographical attribute identifier in the received network request as the target video, and associates and sends the video playback address of the target video and the corresponding geographical attribute identifier to the electronic device for storage. After generating a video layer, the electronic device can obtain the associated video playback address according to the geographical attribute identifier of the target geographical location corresponding to the video layer, and render and play the target video corresponding to the video playback address through a video player.

[0084] In this way, the video server can more easily find the target video for recommendation, and can also enrich the types of recommended videos, improving the diversity of video recommendations in the navigation scenario.

[0085] In one embodiment, receiving the video playback address of the target video returned by the video server based on the network request includes:

[0086] Generating a corresponding video layer for the target geographical location associated with the video playback address to display the video layer corresponding to the target geographical location with the target video.

[0087] In this embodiment, there may be a situation where the video server cannot query the target video corresponding to the target geographical location. In this case, the server cannot return the video playback address corresponding to this target geographical location. Conversely, there will be a video playback address. For the target geographical location associated with the queried video playback address, a corresponding video layer can be generated on the map to display the video layer corresponding to the target geographical location with the target video. For the target geographical location corresponding to the target video that is not associated with a video playback address and has not been recommended, no video layer is generated and rendered to further save video recommendation resources.

[0088] In one embodiment, determining the target geographical locations along the navigation route includes:

[0089] Obtaining at least two geographical locations along the navigation route;

[0090] Thinning the at least two geographical locations to obtain the target geographical locations.

[0091] In this embodiment, for a navigation route, multiple geographical locations along the way can be obtained. By thinning at least two geographical locations, these redundant points can be removed, thereby reducing the amount of data and the complexity of the data. At the same time, by thinning, while removing redundant points, the core features and geometric relationships of the data can be maintained as much as possible, such as the shape of a curve, the topological structure of a graph, etc., which can ensure that the data still has high accuracy and usability after simplification. The thinning rules adopted can be set in advance, which can effectively screen out the target geographical locations that meet the requirements for video recommendation of waypoints in the navigation scenario.

[0092] In this embodiment, several target geographical locations that can be evenly distributed along the navigation route can be screened out from these geographical locations by thinning. By thinning at least two geographical locations, the target geographical locations can be obtained. It can effectively make the target geographical locations and their corresponding video layers evenly distributed on the navigation route.

[0093] In one embodiment, the target geographical locations are evenly distributed along the navigation route.

[0094] In this embodiment, there can be multiple target geographical locations, and these target geographical locations can be evenly distributed along the navigation route, so that video recommendations can be made at balanced intervals, and the video layers corresponding to the target geographical locations will also be evenly distributed on the map to verify the navigation route. Refer to Figure 2 The user can quickly obtain the recommended videos along the way. Even distribution can provide richer destination information, assist the user in planning the itinerary, easily discover the scenic spots and activities along the way, improve the video recommendation effect in the navigation scenario, and moreover, making video recommendations at evenly spaced positions can make the display screen of the map cleaner, reduce the overlapping of video layers, and improve the viewing performance.

[0095] In one embodiment, thinning at least two geographical locations to obtain the target geographical locations includes:

[0096] Determine the target spacing between the target geographical locations;

[0097] According to the target spacing, determine the target geographical locations from the at least two geographical locations.

[0098] In this embodiment, first determine the target spacing between multiple target geographical locations. This target spacing can represent the interval size between the corresponding waypoints for which videos need to be passed. This target spacing can be configured according to user requirements or determined according to relevant information of the navigation route. According to the target spacing, the target geographical locations can be determined from at least two geographical locations so that the interval between them meets the target spacing.

[0099] In this way, through the target distance between the target geographical locations, it is possible to quickly determine the evenly distributed target geographical locations, thereby improving the video recommendation efficiency.

[0100] In one embodiment, determining the target distance between the target geographical locations includes:

[0101] Determine the farthest geographical location among the at least two geographical locations, where the farthest geographical location is the geographical location farthest from the starting point of the navigation route;

[0102] According to the maximum distance between the farthest geographical location and the starting point, and the expected number of waypoints, determine the target distance.

[0103] In this embodiment, first, the farthest geographical location among the at least two geographical locations is considered. The farthest geographical location is the geographical location farthest from the starting point of the navigation route. In some embodiments, this farthest geographical location may be the end point of the navigation route. The expected number of waypoints is the number of waypoints for which video recommendations are desired along the way, and this expected number of waypoints can be information configured by the user. According to the maximum distance between the farthest geographical location and the starting point, and the expected number of waypoints along the route, it is possible to determine the target distance that can be evenly divided on the navigation route, such that the number of target geographical locations for video recommendations along the way meets the user's requirements.

[0104] In this way, by determining the target distance through the maximum distance from the starting point to the farthest geographical location and the expected number of waypoints along the route, it is possible to quickly determine the evenly distributed target geographical locations, further improving the video recommendation efficiency.

[0105] In one embodiment, according to the target distance, determining the target geographical location from the at least two geographical locations includes:

[0106] Determine a geographical location group that meets the target distance from the at least two geographical locations, where the geographical location group includes a pair of candidate geographical locations;

[0107] According to the distance between each pair of candidate geographical locations, screen out the target geographical location from the candidate geographical locations.

[0108] In some implementations, along the navigation route, one corresponding geographical location can be selected at every interval of a target distance as the target geographical location. However, this may result in not necessarily being able to find a target geographical location near the node of the target distance, and it will also limit the target geographical locations to the navigation route.

[0109] Based on this, in this embodiment, a geographical location group that meets the target spacing is determined from at least two geographical locations. The geographical location group includes a pair of candidate geographical locations, that is, two candidate geographical locations, and the spacing between the candidate geographical locations in different geographical location groups is the same. The candidate geographical locations included in different geographical location groups are obtained, so that a plurality of candidate geographical locations can be obtained. For these candidate geographical locations, the candidate geographical locations that are too close (the minimum will be less than the preset distance threshold) are calculated by means of a sorting algorithm, and the candidate geographical locations that are too close are deleted from the candidate geographical locations. The remaining candidate geographical locations are the selected target geographical locations that are evenly distributed, thus completing thinning. In this way, the geographical location group that meets the target spacing determines the candidate geographical locations, and then the points that are too close are screened according to the distance between the candidate geographical locations, so that the target geographical locations that are evenly distributed can be accurately and easily screened, thereby further improving the video recommendation efficiency.

[0110] Based on any of the above embodiments, in one embodiment, the method further includes:

[0111] If the target geographical location is an invalid geographical location, then the target geographical location is screened out;

[0112] Wherein, the invalid geographical location includes at least one of a geographical location without a geographical attribute identifier, a geographical location without a recommendable video, and a geographical location not displayed on the map where the navigation route is located.

[0113] In this embodiment, the target geographical locations are divided into valid and invalid. The invalid geographical locations include geographical locations without geographical attribute identifiers, geographical locations without recommendable videos, and target geographical locations not displayed on the map where the navigation route is located. By screening out these invalid target geographical locations, video recommendations are not made for the target geographical locations, so as to save video recommendation resources and improve the video recommendation effect.

[0114] In some embodiments, this screening step can be performed before initiating a network request, when rendering a video layer, and / or before playing a target video, so as to effectively save video recommendation resources.

[0115] Based on any of the above embodiments, in one example, video recommendation and display can be implemented based on the target geographical locations along the navigation route, such as Figure 5As shown, in the map navigation scenario, by calling the map along-the-way search interface, a set of geographical locations along the way is generated. After thinning the set of geographical locations along the way, an effective and evenly distributed set of target geographical locations is generated. Each location in the effective set of target geographical locations has a geographical attribute identifier, and it is verified that the navigation route is evenly distributed. The geographical attribute identifiers of the set of target geographical locations are used to request a video server via a network request. The video server searches the video database based on the received geographical attribute identifiers to find out if there are target videos corresponding to the geographical attribute identifiers. If there are, the matching is successful, and the video playback address of the target video recommended for the set of target geographical locations, as well as the associated geographical attribute identifiers, are returned. If no target video is matched, an empty data set is returned. Finally, according to the video playback address, the playVideo() method is called to play the video, and according to the geographical attribute identifiers, the updateCustomPoint() is called to draw the video layer corresponding to the target geographical location on the map, completing the video recommendation and display along the navigation route.

[0116] Based on any of the above embodiments, in one example, the video recommendation method will be applied to the vehicle navigation scenario, and the execution entity can be a vehicle or a vehicle display screen, etc. The map can be an in-vehicle map, and video is pushed to the target geographical locations along the planned navigation route, which can solve the problem of integrating travel recommendation videos with the in-vehicle map in the user navigation scenario, realizing a complete ecological closed-loop of in-vehicle recommendation, browsing, decision-making, and navigation. The in-vehicle map and the video layer for playing the recommended target video can also be displayed on the co-pilot screen, improving driving safety.

[0117] This embodiment also provides an electronic device, which can be specifically integrated in a vehicle. For example, as Figure 6 shown, the electronic device may include:

[0118] A determination module 1001, configured to determine the target geographical locations along the navigation route;

[0119] A recommendation module 1002, configured to perform video recommendation for the target geographical locations.

[0120] Optionally, the recommendation module 1002 is further configured to:

[0121] Display the video layer corresponding to the target geographical location on the map where the navigation route is located, and the video layer is used to play the target video recommended for the target geographical location.

[0122] Optionally, in the map, the video layer is associated and displayed with the target geographical location corresponding to the video layer.

[0123] Optionally, the recommendation module 1002 is further configured to:

[0124] Obtain the map label of the target geographical location in the map;

[0125] Based on the map label, render the video layer corresponding to the target geographical location in the map, so that the video layer is displayed at the target geographical location in the map.

[0126] Optionally, the recommendation module 1002 is further configured to:

[0127] Play the target video recommended for the target geographical location on the video layer when a preset playing condition is met.

[0128] Optionally, the recommendation module 1002 is further configured to:

[0129] Play the target video recommended for the target geographical location on the video layer based on the video playing address and video player of the target video.

[0130] Optionally, the target video corresponding to the target geographical location is determined according to the geographical attribute identifier of the target geographical location, and the target video matches the geographical attribute identifier of the target geographical location.

[0131] Optionally, the recommendation module 1002 is further configured to:

[0132] Initiate a network request to the video server based on the target video address;

[0133] Receive the video playing address of the target video returned by the video server based on the network request.

[0134] Optionally, the recommendation module 1002 is further configured to:

[0135] Generate a corresponding video layer for the target geographical location associated with the video playing address, for displaying the video layer corresponding to the target geographical location with the target video.

[0136] Optionally, the preset playing condition includes at least one of the following:

[0137] Receive a play instruction triggered by the user for the video layer;

[0138] Travel within a preset range of the target geographical location;

[0139] The target video corresponding to the previous target geographical location on the navigation route has finished playing.

[0140] Optionally, the target video includes at least one of the promotional video, introduction video, hot video, and live video of the target geographical location.

[0141] Optionally, the determination module 1001 is further configured to:

[0142] Obtain at least two geographical locations along the navigation route;

[0143] Thin out the at least two geographical locations to obtain the target geographical location.

[0144] Optionally, the target geographical locations are evenly distributed along the navigation route.

[0145] Optionally, the determination module 1001 is further configured to:

[0146] Determine the target distance between the target geographical locations;

[0147] Determine the target geographical locations from the at least two geographical locations according to the target distance.

[0148] Optionally, the determination module 1001 is further configured to:

[0149] Determine the farthest geographical location among the at least two geographical locations, where the farthest geographical location is the geographical location farthest from the starting point of the navigation route;

[0150] Determine the target distance according to the maximum distance between the farthest geographical location and the starting point, and the expected number of waypoints.

[0151] Optionally, the recommendation module 1002 is further configured to:

[0152] Determine a group of geographical locations that meet the target distance from the at least two geographical locations, where the group of geographical locations includes a pair of candidate geographical locations;

[0153] Screen out the target geographical locations from the candidate geographical locations according to the distance between each pair of candidate geographical locations.

[0154] Optionally, the recommendation module 1002 is further configured to:

[0155] If the target geographical location is an invalid geographical location, screen out the target geographical location;

[0156] Wherein, the invalid geographical locations include at least one of geographical locations without geographical attribute identifiers, geographical locations without recommended videos, and geographical locations not displayed on the map where the navigation route is located.

[0157] This embodiment determines the target geographical locations along the navigation route and makes video recommendations for the target geographical locations. In this way, in the navigation scenario, video recommendations are made based on the target geographical locations along the route, improving the diversity of video recommendations and enabling users to more conveniently obtain and watch the desired videos in the navigation scenario, meeting the user's need to watch videos in the navigation scenario.

[0158] For the specific implementation of each of the above operations, reference may be made to the previous embodiments and will not be elaborated here.

[0159] Correspondingly, an embodiment of the present application also provides an electronic device, as Figure 7 shown, Figure 7 which is a schematic structural diagram of the electronic device provided by the embodiment of the present application. The electronic device 1100 further includes a processor 1101 having one or more processing cores, a memory 1102 having one or more computer-readable storage media, and a computer program stored in the memory 1102 and executable on the processor. Among them, the processor 1101 is electrically connected to the memory 1102. Those skilled in the art can understand that the structural diagram of the electronic device shown in the figure does not limit the electronic device, and it may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0160] The processor 1101 is the control center of the electronic device 1100, connecting various parts of the entire electronic device 1100 through various interfaces and lines. By running or loading software programs and / or units stored in the memory 1102, and by calling the data stored in the memory 1102, it executes various functions of the electronic device 1100 and processes data, thereby monitoring the entire electronic device 1100. The processor 1101 may be a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc., and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application.

[0161] In the embodiment of the present application, the processor 1101 in the electronic device 1100 will load the instructions corresponding to the processes of one or more application programs into the memory 1102 according to the following steps, and the processor 1101 will run the application programs stored in the memory 1102 to implement various functions, such as:

[0162] Determine the target geographical locations along the navigation route; make video recommendations for the target geographical locations.

[0163] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, which will not be elaborated herein.

[0164] Optionally, as Figure 7 shown, the electronic device 1100 further includes: a touch display screen 1103, a radio frequency circuit 1104, an audio circuit 1105, an input unit 1106, and a power supply 1107. Among them, the processor 1101 is electrically connected to the touch display screen 1103, the radio frequency circuit 1104, the audio circuit 1105, the input unit 1106, and the power supply 1107 respectively. Those skilled in the art can understand that Figure 7 the structure of the electronic device shown in

[0165] does not constitute a limitation on the electronic device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0166] The radio frequency circuit 1104 can be used to receive and transmit radio frequency signals to establish wireless communication with network medical devices or other electronic devices, and to receive and transmit signals between the network medical devices or other electronic devices.

[0167] The audio circuit 1105 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 1105 can convert the received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 1105 and then converted into audio data. After the audio data is output to the processor 1101 for processing, it is sent to another electronic device through the radio frequency circuit 1104, or the audio data is output to the memory 1102 for further processing. The audio circuit 1105 may also include an earphone jack to provide communication between the peripheral earphone and the electronic device.

[0168] The input unit 1106 can be used to receive input digital, character information or user feature information (such as fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0169] The power supply 1107 is used to supply power to each component of the electronic device 1100. Optionally, the power supply 1107 can be logically connected to the processor 1101 through a power management device, so as to realize functions such as management of charging, discharging, and power consumption management through the power management device. The power supply 1107 may also include any components such as one or more DC or AC power supplies, a recharge device, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0170] Although Figure 7 not shown in the figure, the electronic device 1100 may also include a camera, a sensor, a Wi-Fi module, a Bluetooth module, etc., which will not be elaborated here.

[0171] In the above embodiments, the descriptions of each embodiment have their own emphases. For parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0172] Those of ordinary skill in the art can understand that all or part of the steps in the above various methods can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0173] To this end, an embodiment of the present application provides a computer-readable storage medium, which stores multiple computer programs that can be loaded by a processor to execute any video recommendation method provided by the embodiment of the present application. The computer programs can execute the steps of the following video recommendation method:

[0174] Determine the target geographical locations along the navigation route; perform video recommendations for the target geographical locations.

[0175] For the specific implementation of each of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.

[0176] Among them, the computer-readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), a magnetic disk, an optical disc, etc.

[0177] Since the computer programs stored in the computer-readable storage medium can execute any video recommendation method provided by the embodiment of the present application, the beneficial effects achievable by any video recommendation method provided by the embodiment of the present application can be realized. For details, reference can be made to the previous embodiments, which will not be elaborated here.

[0178] Optionally, an embodiment of the present application further provides a vehicle, which includes any of the above electronic devices, electronic equipment, computer-readable storage media, computer program products, and executes any of the above methods.

[0179] In the above video recommendation method, electronic device, electronic equipment, vehicle, computer-readable storage medium, computer program product, etc., the descriptions of each embodiment have their own focuses. For the parts not elaborated in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes and the beneficial effects that can be brought by the above-described electronic device, electronic equipment, vehicle, computer-readable storage medium, computer program product and their corresponding units can refer to the description of the video recommendation method in the above embodiments, which will not be elaborated here specifically.

[0180] The above has introduced in detail a video recommendation method, an electronic device, electronic equipment, a vehicle, a computer-readable storage medium, and a computer program product provided by the embodiment of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A video recommendation method, characterized in that: The video recommendation method comprises: Determine the target geographic location along the navigation route; Video recommendations are made for the target geographic location.

2. The video recommendation method according to claim 1, characterized in that: The recommending a video for the target geographic location includes: The video layer corresponding to the target geographic location is displayed on the map where the navigation route is located, and the video layer is used to play the target video recommended for the target geographic location.

3. The video recommendation method according to claim 2, characterized in that: In the map, the video layer is displayed in association with the target geographical location corresponding to the video layer.

4. The video recommendation method according to claim 3, characterized in that: The step of displaying the video layer corresponding to the target geographic location on the map where the navigation route is located includes: Obtaining a map mark of the target geographical location in the map; Based on the map marking, a video layer corresponding to the target geographical location is rendered in the map, so that the video layer is displayed on the target geographical location in the map.

5. The video recommendation method according to claim 2, characterized in that: The method further comprises: When a preset playback condition is met, a target video recommended for the target geographic location is played on the video layer.

6. The video recommendation method according to claim 5, characterized in that: Playing the target video recommended for the target geographic location on the video layer includes: Based on the video playback address and video player of the target video, the target video recommended for the target geographic location is played on the video layer.

7. The video recommendation method according to claim 6, characterized in that: The video playback address and the video player based on the target video, before playing the target video recommended for the target geographic location on the video layer, further includes: Initiate a network request to a video server based on the target geographic location; Receive the video playback address of the target video returned by the video server based on the network request.

8. The video recommendation method according to claim 7, characterized in that: The receiving the video playback address of the target video returned by the video server based on the network request includes: A corresponding video layer is generated for the target geographical location associated with the video playback address to display the video layer corresponding to the target geographical location with the target video.

9. The video recommendation method according to claim 5, characterized in that: The preset playback condition includes at least one of the following: Receiving a playback instruction triggered by a user for the video layer; Traveling to a preset range of the target geographic location; and The target video corresponding to a target geographical location on the navigation route is played.

10. The video recommendation method according to claim 2, characterized in that: The target video recommended for the target geographic location is determined according to the geographic attribute identifier of the target geographic location, and the target video matches the geographic attribute identifier of the target geographic location.

11. The video recommendation method according to claim 2, characterized in that: The target video includes at least one of a promotional video, an introduction video, a hot video and a real-time video of the target geographic location.

12. The video recommendation method according to claim 1, characterized in that: Determining the target geographical location along the navigation route includes: Acquire at least two geographical locations along the navigation route; At least two geographical locations are thinned out to obtain the target geographical location.

13. The video recommendation method according to claim 12, characterized in that: The target geographical locations are evenly distributed along the navigation route.

14. The video recommendation method according to claim 12, characterized in that: The thinning out of at least two geographical locations to obtain the target geographical location includes: determining a target spacing between the target geographic locations; The target geographical location is determined from the at least two geographical locations according to the target distance.

15. The video recommendation method according to claim 14, characterized in that: The determining the target distance between the target geographical locations includes: Determine a farthest geographical location among the at least two geographical locations, the farthest geographical location being a geographical location farthest from a starting point of the navigation route; The target spacing is determined based on the farthest distance between the farthest geographical location and the starting point, and the expected number of waypoints.

16. The video recommendation method according to claim 14, characterized in that: The step of determining the target geographical location from the at least two geographical locations according to the target distance includes: Determine a group of geographical locations that meet the target distance from the at least two geographical locations, the group of geographical locations comprising a pair of candidate geographical locations; The target geographical location is selected from the candidate geographical locations according to the distances between the candidate geographical locations.

17. The video recommendation method according to any one of claims 1 to 16, characterized in that: The method further comprises: If the target geographic location is an invalid geographic location, the target geographic location is screened out; The invalid geographic location includes at least one of a geographic location without a geographic attribute identifier, a geographic location without a video to be recommended, and a geographic location not displayed on a map where the navigation route is located.

18. An electronic device, characterized in that: include: A determination module, used to determine a target geographical location along a navigation route; The recommendation module is used to recommend videos for the target geographic location.

19. An electronic device, characterized in that: The invention comprises a processor, wherein the processor is connected to a memory, wherein the memory stores a computer program, and wherein the processor is used to run the computer program in the memory to execute the video recommendation method according to any one of claims 1 to 17.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the video recommendation method according to any one of claims 1 to 17 is implemented.

21. A computer program product, characterized in that The method comprises a computer program, wherein the computer program is executed by a processor to implement the video recommendation method according to any one of claims 1 to 17.

22. A vehicle, characterized in that: The vehicle executes the video recommendation method as described in any one of claims 1-17, or includes the electronic device as described in claim 18 or the electronic device as described in claim 19.