Method, system and sharing platform for pushing VR video

文档序号:1651426 发布日期:2019-12-24 浏览:22次 中文

阅读说明:本技术 一种推送vr视频的方法、系统及共享平台 (Method, system and sharing platform for pushing VR video ) 是由 赵晓朝 袁志伟 戴帅湘 于 2019-09-25 设计创作,主要内容包括:本发明实施例公开了一种虚拟现实VR视频推送的方法,所述方法包括:步骤101,获取用户的行驶路线的导航数据;步骤102,计算用户的移动数据与VR视频的镜头移动数据之间的相似度;若相似度大于等于相似度阈值,则向用户的VR头戴设备推送该VR视频;否则,不向用户推送该VR视频;其中,用户的移动数据基于导航数据得到。通过上述方法,能够提高用户在车载环境观看VR视频的用户体验。(The embodiment of the invention discloses a Virtual Reality (VR) video pushing method, which comprises the following steps: step 101, acquiring navigation data of a driving route of a user; 102, calculating the similarity between the moving data of the user and the lens moving data of the VR video; if the similarity is larger than or equal to the similarity threshold value, pushing the VR video to VR head equipment of the user; otherwise, the VR video is not pushed to the user; wherein the movement data of the user is obtained based on the navigation data. By the method, the user experience of watching the VR video in the vehicle-mounted environment can be improved.)

1. A method for pushing a Virtual Reality (VR) video, the method comprising:

step 101, acquiring navigation data of a driving route of a user;

102, calculating the similarity between the moving data of the user and the lens moving data of the VR video; if the similarity is larger than or equal to the similarity threshold value, pushing the VR video to VR head equipment of the user;

wherein the movement data of the user is obtained based on the navigation data.

2. The method according to claim 1, wherein the step 101 is in particular,

the VR head-mounted device is wirelessly connected with a terminal which is navigating, acquires navigation data of the terminal, and then sends the navigation data to the VR video sharing platform, wherein the navigation data comprises a current position, a terminal point and a set driving route.

3. The method of claim 2,

the short-distance communication function of the VR headset is started only under the trigger of an event, and the short-distance communication function is triggered to be closed when the fact that data are not sent or received in a short-distance communication mode within a preset time period is judged.

4. The method according to claim 1, wherein step 102 comprises the steps of:

step 1021, judging whether the driving direction is changed according to the driving route, and if the driving direction is changed, determining at least one position for changing the driving direction; segmenting the driving route into a plurality of sub-routes based on the at least one location; if the change of the driving direction does not exist, taking the whole driving route as a sub-route;

step 1022, predicting the time required by the user to travel through each sub-route;

step 1023, one or more VR videos of the VR video sharing platform are obtained;

step 1024, segmenting the VR video according to the time required by the user to sequentially pass through each sub-route;

step 1025, acquiring moving data of the lens in the sub video, wherein the moving data comprises a moving track;

step 1026, calculating the similarity between the movement data of the sub-route and the lens movement data of the sub-video corresponding to the sub-route; wherein the movement data of the sub-route comprises a travel trajectory;

step 1027, calculating the similarity between the lens movement data of one or more VR videos and the movement data of the user;

step 1028, filtering out VR videos with similarity higher than a threshold from the one or more VR videos as candidate VR videos, and pushing the candidate VR videos to the VR headset of the user by the VR video sharing platform.

5. A system for pushing virtual reality, VR, video, the system comprising: a VR video sharing platform, a VR headset;

the VR video sharing platform acquires the current position and the terminal point of a driving route of a user and set navigation data;

calculating the similarity between the moving data of the user and the lens moving data of the VR video by the VR video sharing platform; if the similarity is larger than or equal to the similarity threshold value, pushing the VR video to VR head equipment of the user;

wherein the movement data of the user is obtained based on the navigation data.

6. The system of claim 5,

the VR head-mounted device is wirelessly connected with a terminal which is navigating, acquires navigation data of the terminal, and then sends the navigation data to the VR video sharing platform, wherein the navigation data comprises a current position, a terminal point and a set driving route.

7. The system of claim 6,

the short-distance communication function of the VR headset is started under event triggering, and the VR headset is triggered to close the short-distance communication function when data is judged not to be sent or received in a short-distance communication mode within a preset time period.

8. The system of claim 5, wherein the VR video sharing platform calculates a similarity between movement data of the user and lens movement data of the VR video; if the similarity is greater than or equal to the similarity threshold, pushing the VR video to VR head-mounted equipment of the user, and specifically comprising the following steps:

step 1021, judging whether the driving direction is changed according to the driving route, and if the driving direction is changed, determining at least one position for changing the driving direction; segmenting the driving route into a plurality of sub-routes based on the at least one location; if the change of the driving direction does not exist, taking the whole driving route as a sub-route;

step 1022, predicting the time required by the user to travel through each sub-route;

step 1023, one or more VR videos of the VR video sharing platform are obtained;

step 1024, segmenting the VR video according to the time required by the user to sequentially pass through each sub-route;

step 1025, acquiring moving data of the lens in the sub video, wherein the moving data comprises a moving track;

step 1026, calculating the similarity between the movement data of the sub-route and the lens movement data of the sub-video corresponding to the sub-route; wherein the movement data of the sub-route comprises a travel trajectory;

step 1027, calculating the similarity between the lens movement data of one or more VR videos and the movement data of the user;

step 1028, filtering out VR videos with similarity higher than a threshold from the one or more VR videos as candidate VR videos, and pushing the candidate VR videos to the VR headset of the user by the VR video sharing platform.

9. A Virtual Reality (VR) video sharing platform, the platform comprising:

an acquisition unit configured to acquire navigation data of a driving route of a user;

the pushing unit is used for calculating the similarity between the moving data of the user and the lens moving data of the VR video; if the similarity is larger than or equal to the similarity threshold value, pushing the VR video to VR head equipment of the user;

wherein the movement data of the user is obtained based on the navigation data.

10. Platform according to claim 9, characterized in that the acquisition unit is in particular adapted to,

navigation data is acquired by the VR headset from a terminal establishing wireless connection with the VR headset and being navigated, and the navigation data comprises a current position, a destination and a set driving route.

11. The platform of claim 9, wherein the push unit is specifically configured to perform the steps of:

step 1021, judging whether the driving direction is changed according to the driving route, and if the driving direction is changed, determining at least one position for changing the driving direction; segmenting the driving route into a plurality of sub-routes based on the at least one location; if the change of the driving direction does not exist, taking the whole driving route as a sub-route;

step 1022, predicting the time required by the user to travel through each sub-route;

step 1023, one or more VR videos of the VR video sharing platform are obtained;

step 1024, segmenting the VR video according to the time required by the user to sequentially pass through each sub-route;

step 1025, acquiring moving data of the lens in the sub video, wherein the moving data comprises a moving track;

step 1026, calculating the similarity between the movement data of the sub-route and the lens movement data of the sub-video corresponding to the sub-route; wherein the movement data of the sub-route comprises a travel trajectory;

step 1027, calculating the similarity between the lens movement data of one or more VR videos and the movement data of the user;

step 1028, filtering out VR videos with similarity higher than a threshold from the one or more VR videos as candidate VR videos, and pushing the candidate VR videos to the VR headset of the user.

12. A computer device comprising a processor and a memory, the memory storing computer instructions executable by the processor, the computer instructions when executed by the processor performing the method of any one of claims 1 to 4.

13. A computer-readable storage medium storing computer instructions for implementing the method of any one of claims 1-4.

Technical Field

The embodiment of the invention relates to the field of virtual reality, in particular to a method, a system and a sharing platform for pushing a VR video.

Background

Along with the development of the technology, the virtual reality VR technology is gradually and widely applied to the fields of military affairs, medical treatment, games, entertainment and the like, and particularly along with the popularization of the VR technology, a user can shoot a VR video by himself and share the video to other users. When watching the VR video, the user's motion state can influence the effect of watching, if when watching the VR video in the vehicle is traveling, the route of traveling, the speed of traveling of vehicle can cause the user to watch in-process picture rock, immerse influence such as sense reduction. In order to make the user have a good experience, it is particularly important to select a VR video suitable for the motion state of the user.

In the face of a large number of VR videos, how to select a VR video more suitable for a user to watch is a problem to be solved.

Disclosure of Invention

In order to solve the above problems in the prior art, the present invention provides a method, a system, and a sharing platform for pushing a VR video.

The embodiment of the invention provides a method for pushing a Virtual Reality (VR) video, which comprises the following steps:

step 101, acquiring navigation data of a driving route of a user;

102, calculating the similarity between the moving data of the user and the lens moving data of the VR video; and if the similarity is larger than or equal to the similarity threshold value, pushing the VR video to the VR head-mounted equipment of the user.

Preferably, in the step 101, specifically,

the VR head-mounted device is wirelessly connected with a terminal which is navigating, acquires navigation data of the terminal, and sends the navigation data to the VR video sharing platform, wherein the navigation data comprises a current position, a terminal point and a set driving route.

Preferably, the short-range communication function of the VR headset is turned on only when the event is triggered, and the short-range communication function is turned off when the data is judged not to be transmitted or received in the short-range communication mode within a predetermined time period.

Preferably, step 102 specifically includes the following steps:

step 1021, judging whether the driving direction is changed according to the driving route, and if the driving direction is changed, determining the position of the changed driving direction; dividing the driving route into a plurality of sub-routes based on the position; if the change of the driving direction does not exist, taking the whole driving route as a sub-route;

step 1022, predicting the time required by the user to travel through each sub-route;

step 1023, one or more VR videos of the VR video sharing platform are obtained;

step 1024, segmenting the VR video according to the time required by the user to sequentially pass through each sub-route;

step 1025, acquiring moving data of the lens in the sub video, wherein the moving data comprises a moving track;

step 1026, calculating the similarity between the movement data of the sub-route and the lens movement data of the sub-video corresponding to the sub-route; wherein the movement data of the sub-route comprises a travel trajectory;

step 1027, calculating the similarity between the lens movement data of one or more VR videos and the movement data of the user;

step 1028, filtering out VR videos with similarity higher than a threshold from the one or more VR videos as candidate VR videos, and pushing the candidate VR videos to the VR headset of the user by the VR video sharing platform.

The embodiment of the invention also discloses a system for pushing the virtual reality VR video, which comprises: a VR video sharing platform, a VR headset;

the VR video sharing platform acquires the current position and the terminal point of a driving route of a user and set navigation data;

calculating the similarity between the moving data of the user and the lens moving data of the VR video by the VR video sharing platform; and if the similarity is larger than or equal to the similarity threshold value, pushing the VR video to the VR head-mounted equipment of the user.

Preferably, the VR headset establishes wireless connection with a terminal which is navigating, acquires navigation data of the terminal, and sends the navigation data to the VR video sharing platform, wherein the navigation data comprises a current position, a terminal point and a set driving route.

Preferably, the short-range communication function of the VR headset is turned on only when the event is triggered, and the VR headset is triggered to turn off the short-range communication function when the data is judged not to be transmitted or received in the short-range communication mode within the predetermined time period.

Preferably, the VR video sharing platform calculates a similarity between the movement data of the user and the lens movement data of the VR video; if the similarity is greater than or equal to the similarity threshold, pushing the VR video to VR head-mounted equipment of the user, and specifically comprising the following steps:

step 1021, judging whether the driving direction is changed according to the driving route, and if the driving direction is changed, determining the position of the changed driving direction; dividing the driving route into a plurality of sub-routes based on the position; if the change of the driving direction does not exist, taking the whole driving route as a sub-route;

step 1022, predicting the time required by the user to travel through each sub-route;

step 1023, one or more VR videos of the VR video sharing platform are obtained;

step 1024, segmenting the VR video according to the time required by the user to sequentially pass through each sub-route;

step 1025, acquiring moving data of the lens in the sub video, wherein the moving data comprises a moving track;

step 1026, calculating the similarity between the movement data of the sub-route and the lens movement data of the sub-video corresponding to the sub-route; wherein the movement data of the sub-route comprises a travel trajectory;

step 1027, calculating the similarity between the lens movement data of one or more VR videos and the movement data of the user;

step 1028, filtering out VR videos with similarity higher than a threshold from the one or more VR videos as candidate VR videos, and pushing the candidate VR videos to the VR headset of the user by the VR video sharing platform.

The embodiment of the invention also discloses a virtual reality VR video sharing platform, which comprises:

an acquisition unit configured to acquire navigation data of a driving route of a user;

the pushing unit is used for calculating the similarity between the moving data of the user and the lens moving data of the VR video; and if the similarity is larger than or equal to the similarity threshold value, pushing the VR video to the VR head-mounted equipment of the user.

Preferably, the acquisition unit is specifically adapted to,

navigation data is acquired by the VR headset from a terminal establishing wireless connection with the VR headset and being navigated, and the navigation data comprises a current position, a destination and a set driving route.

Preferably, the pushing unit is specifically configured to perform the following steps:

step 1021, judging whether the driving direction is changed according to the driving route, and if the driving direction is changed, determining the position of the changed driving direction; dividing the driving route into a plurality of sub-routes based on the position; if the change of the driving direction does not exist, taking the whole driving route as a sub-route;

step 1022, predicting the time required by the user to travel through each sub-route;

step 1023, one or more VR videos of the VR video sharing platform are obtained;

step 1024, segmenting the VR video according to the time required by the user to sequentially pass through each sub-route;

step 1025, acquiring moving data of the lens in the sub video, wherein the moving data comprises a moving track;

step 1026, calculating the similarity between the movement data of the sub-route and the lens movement data of the sub-video corresponding to the sub-route; wherein the movement data of the sub-route comprises a travel trajectory;

step 1027, calculating the similarity between the lens movement data of one or more VR videos and the movement data of the user;

step 1028, filtering out VR videos with similarity higher than a threshold from the one or more VR videos as candidate VR videos, and pushing the candidate VR videos to the VR headset of the user.

Embodiments of the present invention also provide a computer device, which includes a processor and a memory, where the memory stores computer instructions executable by the processor, and when the processor executes the computer instructions, the method as described above is implemented.

Embodiments of the present invention also provide a computer-readable storage medium for storing computer instructions, where the computer instructions are used to implement the method described above.

By the method, the system and the sharing platform for pushing the VR video, user experience of watching the VR video in a vehicle-mounted environment can be improved.

Drawings

Fig. 1 is a method of pushing VR video in one embodiment of the invention.

Fig. 2 is a method of splitting a driving route according to an embodiment of the present invention.

Fig. 3 is a VR video sharing platform in one embodiment of the invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

The system for pushing the VR video comprises a VR video sharing platform and VR head equipment, wherein a VR video playing APP runs on the VR head equipment, and the VR video sharing platform is used for receiving and storing VR videos uploaded by users and pushing the VR videos to the users.

In the embodiment of the present invention, the exemplary user is in a state of riding in the vehicle, and other motion states may be possible.

Next, a method for pushing a VR video according to the present invention will be described, referring to fig. 1, where the method includes the following steps:

step 101, acquiring navigation data of a driving route of a user;

102, calculating the similarity between the moving data of the user and the lens moving data of the VR video; if the similarity is larger than or equal to the similarity threshold value, pushing the VR video to VR head equipment of the user; otherwise, the VR video is not pushed to the user;

wherein the movement data of the user is obtained based on the navigation data.

By the method, the VR video matched with the mobile data is recommended to the user, so that the feeling of watching the VR video by the user can be improved, and the immersion feeling of the user is improved.

Preferably, in the step 101, a wireless connection is established between the VR headset and a terminal that is navigating, the VR headset acquires navigation data of the terminal, and then sends the navigation data to the VR video sharing platform, where the navigation data includes a current position and a destination of the user, and a planned driving route from the current position to the destination. Preferably, the navigation data further includes road condition information and an average traveling speed for each road segment.

In another embodiment, when the VR headset detects that a user starts a VR video playing APP, the VR headset is connected with a terminal which is navigating in a short-distance communication mode, if the short-distance communication function is not started in the current VR headset, the VR headset automatically starts the function and is connected with the terminal which is navigating, and after the connection is established, the VR headset acquires navigation data of the terminal and sends the navigation data to a VR video sharing platform. The short-range communication is not limited to bluetooth, NFC functionality.

Preferably, the short-range communication function of the VR headset is turned on only when the event is triggered, and the short-range communication function is turned on when the navigation data is acquired by establishing a connection with the terminal currently being navigated, and the short-range communication function is turned off when it is determined that the data is not transmitted or received in the short-range communication manner within a predetermined time period, so as to save power consumption.

In one embodiment, in step 102, the VR video sharing platform specifically performs the following steps:

step 1021, judging whether the driving direction is changed according to the driving route, and if the driving direction is changed, determining at least one position for changing the driving direction; segmenting the driving route into a plurality of sub-routes based on the at least one location;

further, if there is no change in the traveling direction, the entire traveling route is taken as a sub-route;

in particular, the method comprises the following steps of,

a. laying a plurality of positions on a travel route, and determining a travel direction at each of the plurality of positions;

b. judging whether an included angle between the driving directions of any two adjacent positions in the plurality of positions is smaller than or equal to a preset included angle, if so, determining that the driving direction is not changed between the two adjacent positions, and executing the step e; if not, determining that the driving direction is changed, and executing the step d;

d. adding the position passed by the user after driving in the two adjacent positions into the direction-changing position set; and executing the step e;

e. judging whether a comparison step is executed on all the two adjacent positions, namely step b, if so, executing step f, and if not, executing step b on the positions of the two adjacent positions which are not executed with the comparison step;

f. determining whether the direction-changing position set comprises at least one position, if so, splitting the driving route at the position included in the set to form a plurality of sub-routes; if not, the whole driving route is taken as a sub-route.

Preferably, the positions are uniformly distributed on a driving route, for example, the positions are uniformly distributed on the driving route at intervals of a first preset distance, and the first preset distance is set by a system or a user; in another embodiment, the positions may be laid out at specific positions or unevenly laid out according to user requirements; the preset included angle is set by a system or a user.

In the following description, taking fig. 2 as an example, it is assumed that the curve is a driving route from the current position to the end point, the user will drive from the position 1 to the position 5 along the driving route, the position 1 is the current position of the user, the position 5 is the end point, and 5 positions are arranged on the driving route: positions 1-5, judging whether an included angle between the driving directions of any two adjacent positions in the positions 1-5 is smaller than or equal to a preset included angle, as shown in fig. 2, the driving direction of the position 1 is the direction 1, and the driving direction of the position 2 is the direction 2; comparing the included angle between the driving directions of the position 1 and the position 2, and if the included angle is smaller than a preset included angle, determining that the driving directions from the position 1 to the position 2 are not changed; the driving direction of the position 3 is the direction 3, and if the driving directions of the direction 2 and the direction 3 are larger than a preset included angle, the position 3 which is passed by the user in the later driving process is added into the direction-changing position set; and so on, judge the relation between the contained angle between the driving direction of position 3 and position 4, the contained angle between the driving direction of position 4 and position 5 and predetermine the contained angle respectively, the contained angle between the driving direction of supposing position 3 and position 4 is greater than predetermine the contained angle, the contained angle between the driving direction of position 4 and position 5 is less than predetermine the contained angle, then position 4 is the position that the driving direction changed, then also add position 4 to the position set that changes the direction, confirm that the position set that changes the direction includes two positions, namely position 3, 4, then cut the route of driving at position 3, 4 department, form 3 sub-routes.

By the method for dividing the route, the driving route is not excessively divided, and the influence of the position with small direction change on the driving route on the VR video watched by the user is small and can be ignored.

In another embodiment, if the entire route is taken as the sub-route, determining whether there is a change in the travel speed according to the travel route, and if so, determining at least one location where the travel speed is changed; the driving route is divided into a plurality of sub-routes based on the at least one position. Specifically, the driving route is segmented according to the driving speed to obtain a plurality of route segments, two or more adjacent route segments with the difference of the driving speed smaller than or equal to the preset speed are used as one sub-route, and two adjacent route segments with the difference of the driving speed larger than the preset speed respectively belong to different sub-routes. Specifically, the dividing method comprises the following steps:

A. dividing the driving route into a plurality of route segments; each route segment is provided with two end points which are respectively a starting point and an end point of the route segment, the starting point of the first route segment is the current position of the user, and the end point of the last route segment is the end point of the driving route; predicting the average speed of the user through each route segment;

the length of each route segment is equal to a second preset distance, the second preset distance is set by a system or a user, and the smaller the second preset distance is, the closer the predicted average speed of the route segments is to the instantaneous speed of the user; the prediction of the average velocity may be obtained directly from the navigation data, or based on the navigation data or otherwise predicted.

B. Judging whether the difference value of the average speeds of any two adjacent route segments in the plurality of route segments is smaller than or equal to a preset speed, if so, determining that the running speed of the two adjacent route segments to be compared is not changed, and executing the step E; if not, executing the step D;

D. adding the position of the end point of the route segment passing through first in the two adjacent compared route segments into the change speed position set; and executing the step E;

E. judging whether a comparison step is executed on all two adjacent route segments, namely step B, if so, executing step F, and if not, executing step B on the route segments of the two adjacent route segments which are not executed with the comparison step;

F. determining whether the position set for changing the driving speed comprises at least one position, if so, segmenting the driving route at the position included in the set to form a plurality of sub-routes; if not, no segmentation is performed.

Preferably, the sub-routes divided according to the driving direction are further subdivided, and the manner of dividing the routes according to the driving speed is used for each sub-route divided according to the driving direction, so that the movement data, i.e., the driving track and the driving speed, of each sub-route have the same or similar attributes, for example, the sub-route 1 in fig. 2 is further divided into the sub-route 11 and the sub-route 12 according to the driving speed. The molecular route is drawn by two factors of the driving direction and the driving speed, so that the driving characteristics of the user can be more accurately known, and a more suitable VR video can be pushed to the user.

Step 1022, predicting the time required by the user to travel through each sub-route;

in the step, the VR headset acquires the time required by passing through each sub-route from the terminal which is navigating and sends the time to the VR video sharing platform; in order to obtain a time period required by passing through each sub-route, a VR video sharing platform sends information of each sub-route, such as start point and/or end point information of each sub-route to a VR head-mounted device, the VR head-mounted device sends a time prediction request to a terminal, the time prediction request comprises the start point and/or end point information of each sub-route, and the terminal determines time required by passing through each sub-route by adding a passing point in a driving route, wherein the passing point is the start point or the end point of the sub-route. And the VR head-mounted equipment acquires the time required by the user to travel through each sub-route from the terminal and then sends the time to the VR video sharing platform.

Or, the VR video sharing platform predicts the time required for the user to travel through each sub-route based on the navigation function of the VR video sharing platform.

As shown in fig. 2, it is assumed that the times required to predict the passage through the sub-routes 1, 2, and 3 are t1, t2, and t3 in this order.

Step 1023, one or more VR videos of the VR video sharing platform are obtained;

step 1024, segmenting the VR video according to the time required by the user to sequentially pass through each sub-route;

preferably, before the step 1024, the method further includes judging whether the playing time length of the VR video is less than or equal to the time required by the user to pass through the driving route, if so, executing the step 1024, otherwise, not pushing the VR video to the user.

In step 1024, when the playing time of the VR video is the same as the time required for the VR video to pass through the driving route, sequentially dividing the VR video into sub-videos of which the playing time is the same as the time required for the user to successively pass through the sub-routes; as in the embodiment of fig. 2, when the VR video playing time length T is the same as the total time T1+ T2+ T3, the VR video is sequentially segmented into 3 sub-videos with playing time lengths T1, T2 and T3; otherwise, when the VR videos are sequentially cut, and the playing time of the remaining VR video segments after being cut or the VR videos which are not cut is shorter than the time required by passing through the corresponding sub-routes, the VR video segments are used as a section of sub-video; if the VR video is segmented into playing time lengths T1, T2 and T-T1-T2 in sequence; (when T1+ T2< T1+ T2+ T3) or T1, T-T1 (when T1< T1+ T2), or T (when T < T1).

Preferably, in step 1024, when the playing duration of the VR video is close to the time required for passing through the at least one sub-route, the whole VR video is taken as the sub-video;

the time required by the video playing time length to pass through the at least one sub-route is close to the time required by the video playing time length to pass through the at least one sub-route, and the difference between the video playing time length and the time required by the video playing time length to pass through the at least one sub-route is smaller than or equal to a preset time difference, and the preset time difference is set by a system or a user.

Step 1025, acquiring moving data of the lens in the sub-video, wherein the moving data comprises a moving track and further information such as moving speed and the like;

step 1026, calculating the similarity between the movement data of the sub-route and the lens movement data of the sub-video corresponding to the sub-route;

the moving data of the sub-route comprises a driving track and a driving speed; the lens movement data includes a lens movement trajectory and/or a lens movement speed. The travel locus refers to a line with a direction indicating a route traveled by a user on the corresponding route, the length of the line being related to the length of time passed through the corresponding route, as shown in fig. 2, the travel locus of the sub-route 1 is a straight line having an angle close to 30 degrees with the horizontal direction. Similarly, a shot movement trajectory is a line with a direction representing the route of the shot movement, the length of the line being related to the corresponding video playback time period.

If the sub-route is divided only according to the driving direction, the moving data of the sub-route is a driving track, and the lens moving data is a lens moving track; calculating the similarity as calculating the similarity of the tracks, namely calculating the similarity between the driving track of the sub-route and the lens moving track of the sub-video corresponding to the sub-route; when the similarity is greater than or equal to a first preset similarity, the sub-video is a high-similarity sub-video;

in another embodiment, for a VR video with a playing time length close to the time required for passing through the at least one sub-route, the trajectory similarity is calculated by calculating the similarity between the driving trajectory of each sub-route and the lens moving trajectory of the sub-video, respectively, when there is at least one condition that the similarity is greater than or equal to a first preset similarity, the sub-video is identified as a high-similarity video, and the corresponding sub-route with the similarity greater than or equal to the first preset similarity is identified for the sub-video.

If the sub-route is divided only based on the driving speed, the moving data of the sub-route is the driving speed, the lens moving data is the lens moving speed, and the similarity is calculated as the driving speed similarity, specifically, the calculation is performed according to the following formula: the average speed of the sub-route/| the average speed of the sub-route-the average moving speed | of the lens of the sub-video corresponding to the sub-route, if the calculated similarity is greater than or equal to a second preset similarity, the sub-video is a high-similarity sub-video;

if the sub-route is divided according to the driving direction and the driving speed, the movement data of the sub-route is the driving track and the driving speed, and the lens movement data is the lens movement track and the lens average movement speed. The similarity is calculated as: calculating the track similarity and the driving speed similarity of the sub-route and the sub-video corresponding to the sub-route respectively in the same way as the method, wherein the similarity between the sub-video and the corresponding sub-route is as follows: when the track similarity is greater than or equal to a first preset similarity and the driving speed similarity is greater than or equal to a second preset similarity, the sub-video is a high-similarity sub-video; when the track similarity is smaller than a first preset similarity and the driving speed similarity is smaller than a second preset similarity, the sub-video is a low-similarity sub-video; otherwise, the video is a medium similarity sub video.

Step 1027, calculating the similarity between the lens movement data of one or more VR videos and the movement data of the user, wherein the similarity is the ratio of the number of high-similarity sub-videos in the VR video which is cut into at least one sub-video to the total number of the sub-videos;

preferably, if the sub-video includes the medium-similarity sub-video and the high-similarity sub-video, or includes the medium-similarity sub-video and does not include the high-similarity sub-video, the similarity between the VR video and the driving route of the user is as follows: (number of high-similarity sub-videos + number of similarity sub-videos x w)/total number of sub-videos; where w is a weighting factor, 0< w < 1.

Step 1028, screening out VR videos with similarity higher than a threshold value from the one or more VR videos as candidate VR videos, pushing the candidate VR videos to the VR headset of the user by the VR video sharing platform, and displaying the similarity between the shot movement data of each candidate VR video and the movement data of the user to the user.

Preferably, the pushed candidate VR video is displayed in an interface of the VR video playing APP.

By the method, the driving route of the user is matched with the lens track of the VR video, the VR video more suitable for the user to watch on the driving route can be provided for the user, and the immersion feeling of the user is improved.

Preferably, in another embodiment, in step 102, calculating the similarity includes calculating a direction similarity, and specifically includes the following steps:

1. determining a driving track from a current position to a terminal point of a user;

2. selecting a VR video with the playing time length less than or equal to the time required by a user to pass through a driving route, and determining a lens moving track of the VR video;

3. placing a plurality of points on the driving track, and recording the predicted time of passing each point;

the positions of the points may be uniform or non-uniform, with the more densely the points are placed, the more accurate the predicted result is.

4. Placing points at the time corresponding to each point on the lens moving track of the VR video;

5. comparing the included angle between the driving direction of the point of the driving track passed by the user and the moving direction of the point on the lens moving track corresponding to the same time, and determining the number of the points of which the included angle is smaller than a second preset included angle;

6. and when the ratio of the number of the points with the included angles smaller than the second preset included angle to the number of the points on the lens moving track of the VR video is larger than a third threshold value, determining that the VR video is a direction high-similarity video.

Preferably, the calculating the similarity further comprises calculating the velocity similarity, and in addition to the steps 1-4, further comprises the steps of:

7. predicting the average speed of a user when the user passes through the tracks between all two adjacent points on the driving track;

8. calculating the average speed of the tracks between every two adjacent points on the moving track of the lens;

9. calculating the difference value between the average speed of all two adjacent points on the driving track and the average speed of two adjacent points on the lens moving track corresponding to the same time; determining a number of differences less than a second predetermined difference;

10. and when the ratio of the number of the difference values smaller than the second preset difference value to the number of sub tracks formed by all the adjacent two points on the lens moving track is larger than a fourth threshold value, determining that the VR video is a high-speed high-similarity video.

Preferably, the similarity between the VR video and the driving route is determined by integrating the driving direction and the driving speed of the user as follows: and when the similarity is greater than a fifth threshold, the VR video is a high-similarity video. Wherein w3 and w4 are weight factors.

Preferably, pushing the VR video to the VR headset of the user includes recommending a direction high similarity video, a speed high similarity video, a high similarity video, and identifying in the VR video that it belongs to that high similarity video type.

Further, the method comprises the following steps:

103, acquiring a VR video selected by a user from the candidate VR video;

the candidate VR video refers to one or more VR videos recommended to a user by a VR video sharing platform, a VR video playing APP detects a selection command of the user to the VR video, the selection command can be that the user touches the VR video to play, or the user selects the VR video through a voice command, and the VR video selected by the user is obtained based on the detection.

104, prompting a user whether to adjust the display of the VR video according to the mobile data of the user in the VR video playing process;

for example, the lens movement speed, the movement direction, and the like of the VR video are adjusted according to the traveling speed and the traveling direction of the user.

And 105, acquiring the selection of the user, if the selection of the user is yes, adjusting the display of the VR video according to the mobile data of the user when the VR video is played, and if the selection of the user is not, directly playing the VR video.

For example, the moving speed of the lens in the VR video is reduced or increased according to the driving speed, so that a better experience is provided for the user.

Preferably, if the video selected by the user is a video with high similarity of the driving track or the driving direction, the lens moving speed of the VR video is preferentially adjusted according to the driving speed during playing; and if the video selected by the user is the video with high running speed similarity, preferentially adjusting the moving direction or the moving track of the VR video lens according to the running track or the running direction.

By the method, on one hand, the matching of the driving route is carried out when the VR video is pushed to the user, on the other hand, the VR video is adjusted according to the user moving data when the VR video is played, so that the effects that the VR video is accurately pushed and is more comfortable to play can be achieved.

An embodiment of the present invention provides a VR video sharing platform, configured to execute the foregoing method, and with reference to fig. 3, the method specifically includes:

an acquisition unit configured to acquire navigation data of a driving route of a user;

the pushing unit is used for calculating the similarity between the moving data of the user and the lens moving data of the VR video; if the similarity is larger than or equal to the similarity threshold value, pushing the VR video to VR head equipment of the user;

wherein the movement data of the user is obtained based on the navigation data.

Preferably, the acquisition unit acquires the navigation data from the terminal being navigated, which establishes a connection with the VR headset, through the VR headset.

Preferably, the pushing unit specifically executes the following steps 1021-:

step 1021, judging whether the driving direction is changed according to the driving route, and if the driving direction is changed, determining at least one position for changing the driving direction; segmenting the driving route into a plurality of sub-routes based on the at least one location;

further, the pushing unit is further configured to: if the change of the driving direction does not exist, taking the whole driving route as a sub-route; step 1021 specifically comprises the following steps:

a. laying a plurality of positions on a travel route, and determining a travel direction at each of the plurality of positions;

b. judging whether an included angle between the driving directions of any two adjacent positions in the plurality of positions is smaller than or equal to a preset included angle, if so, determining that the driving direction is not changed between the two adjacent positions, and executing the step e; if not, determining that the driving direction is changed, and executing the step d;

d. adding the position passed by the user after driving in the two adjacent positions into the direction-changing position set; and executing the step e;

e. judging whether a comparison step is executed on all the two adjacent positions, namely step b, if so, executing step f, and if not, executing step b on the positions of the two adjacent positions which are not executed with the comparison step;

f. determining whether the direction-changing position set comprises at least one position, if so, splitting the driving route at the position included in the set to form a plurality of sub-routes; if not, the whole driving route is taken as a sub-route.

Preferably, the positions are uniformly distributed on a driving route, for example, the positions are uniformly distributed on the driving route at intervals of a first preset distance, and the first preset distance is set by a system or a user; in another embodiment, the positions may be laid out at specific positions or unevenly laid out according to user requirements; the preset included angle is set by a system or a user.

If the whole route is taken as a sub-route, judging whether the change of the running speed exists according to the running route, and if so, determining at least one position for changing the running speed; the driving route is divided into a plurality of sub-routes based on the at least one position. Specifically, the driving route is segmented according to the driving speed to obtain a plurality of route segments, two or more adjacent route segments with the difference of the driving speed smaller than or equal to the preset speed are used as one sub-route, and two adjacent route segments with the difference of the driving speed larger than the preset speed respectively belong to different sub-routes. Specifically, step 1021 includes the following steps:

A. dividing the driving route into a plurality of route segments; each route segment is provided with two end points which are respectively a starting point and an end point of the route segment, the starting point of the first route segment is the current position of the user, and the end point of the last route segment is the end point of the driving route; predicting the average speed of the user through each route segment;

the length of each route segment is equal to a second preset distance, the second preset distance is set by a system or a user, and the smaller the second preset distance is, the closer the predicted average speed of the route segments is to the instantaneous speed of the user; the prediction of the average velocity may be obtained directly from the navigation data, or based on the navigation data or otherwise predicted.

B. Judging whether the difference value of the average speeds of any two adjacent route segments in the plurality of route segments is smaller than or equal to a preset speed, if so, determining that the running speed of the two adjacent route segments to be compared is not changed, and executing the step E; if not, executing the step D;

D. adding the position of the end point of the route segment passing through first in the two adjacent compared route segments into the change speed position set; and executing the step E;

E. judging whether a comparison step is executed on all two adjacent route segments, namely step B, if so, executing step F, and if not, executing step B on the route segments of the two adjacent route segments which are not executed with the comparison step;

F. determining whether the position set for changing the driving speed comprises at least one position, if so, segmenting the driving route at the position included in the set to form a plurality of sub-routes; if not, no segmentation is performed.

Preferably, the pushing unit further subdivides the sub-routes split according to the driving direction, and applies the way of dividing the routes according to the driving speed to each sub-route split according to the driving direction, so that the movement data, i.e., the driving track and the driving speed, of each sub-route have the same or similar attributes.

Step 1022, predicting the time required by the user to travel through each sub-route;

in this step, the push unit may acquire, through the VR headset, the time required to pass through each sub-route from the terminal being navigated; the pushing unit sends information of each sub-route, such as start point and/or end point information of each sub-route, to the VR headset, the VR headset sends a time prediction request to the terminal, the time prediction request comprises the start point and/or end point information of each sub-route, and the terminal determines time needed for passing through each sub-route in a mode of adding a passing point in a driving route, wherein the passing point is the start point or the end point of the sub-route. And the VR head-mounted equipment acquires the time required by the user to travel through each sub-route from the terminal and then sends the time to the pushing unit.

In another embodiment, the VR video sharing platform further includes a navigation unit,

the push unit sends a time prediction request to the navigation unit so that the navigation unit predicts the time required by the user to travel through each sub-route, and the navigation unit sends the prediction result to the push unit.

Step 1023, one or more VR videos of the VR video sharing platform are obtained;

step 1024, segmenting the VR video according to the time required by the user to sequentially pass through each sub-route;

preferably, before the step 1024, the method further includes judging whether the playing time length of the VR video is less than or equal to the time required by the user to pass through the driving route, if so, executing the step 1024, otherwise, not pushing the VR video to the user.

Preferably, in step 1024, when the playing duration of the VR video is close to the time required for passing through the at least one sub-route, the whole VR video is taken as the sub-video;

the time required by the video playing time length to pass through the at least one sub-route is close to the time required by the video playing time length to pass through the at least one sub-route, and the difference between the video playing time length and the time required by the video playing time length to pass through the at least one sub-route is smaller than or equal to a preset time difference, and the preset time difference is set by a system or a user.

Step 1025, acquiring moving data of the lens in the sub-video, wherein the moving data comprises a moving track and further information such as moving speed and the like;

step 1026, calculating the similarity between the movement data of the sub-route and the lens movement data of the sub-video corresponding to the sub-route;

the method for calculating the similarity is the same as that described in the above method, and will not be described again.

Step 1027, calculating the similarity between the lens movement data of one or more VR videos and the movement data of the user, wherein the similarity is the ratio of the number of high-similarity sub-videos in the VR video which is cut into at least one sub-video to the total number of the sub-videos;

preferably, if the sub-video includes the medium-similarity sub-video and the high-similarity sub-video, or includes the medium-similarity sub-video and does not include the high-similarity sub-video, the similarity between the VR video and the driving route of the user is as follows: (number of high-similarity sub-videos + number of similarity sub-videos x w)/total number of sub-videos; where w is a weighting factor, 0< w < 1.

Step 1028, screening out VR videos with similarity higher than a threshold value from the one or more VR videos as candidate VR videos, pushing the candidate VR videos to the VR headset of the user, and displaying the similarity between the shot movement data of each candidate VR video and the movement data of the user to the user.

In another embodiment, the step of calculating the similarity by the pushing unit includes calculating the direction similarity, and specifically includes the following steps:

1. determining a driving track from a current position to a terminal point of a user;

2. selecting a VR video with the playing time length less than or equal to the time required by a user to pass through a driving route, and determining a lens moving track of the VR video;

3. placing a plurality of points on the driving track, and recording the predicted time of passing each point;

the positions of the points may be uniform or non-uniform, with the more densely the points are placed, the more accurate the predicted result is.

4. Placing points at the time corresponding to each point on the lens moving track of the VR video;

5. comparing the included angle between the driving direction of the point of the driving track passed by the user and the moving direction of the point on the lens moving track corresponding to the same time, and determining the number of the points of which the included angle is smaller than a second preset included angle;

6. and when the ratio of the number of the points with the included angles smaller than the second preset included angle to the number of the points on the lens moving track of the VR video is larger than a third threshold value, determining that the VR video is a direction high-similarity video.

Preferably, the calculating the similarity further comprises calculating a velocity similarity, and in addition to the steps 1-4, further comprises the steps of:

7. predicting the average speed of a user when the user passes through the tracks between all two adjacent points on the driving track;

8. calculating the average speed of the tracks between every two adjacent points on the moving track of the lens;

9. calculating the difference value between the average speed of all two adjacent points on the driving track and the average speed of two adjacent points on the lens moving track corresponding to the same time; determining a number of differences less than a second predetermined difference;

10. and when the ratio of the number of the difference values smaller than the second preset difference value to the number of sub tracks formed by all the adjacent two points on the lens moving track is larger than a fourth threshold value, determining that the VR video is a high-speed high-similarity video.

Preferably, the similarity between the VR video and the driving route is as follows: and when the similarity is greater than a fifth threshold, the VR video is a high-similarity video. Wherein w3 and w4 are weight factors.

Preferably, pushing the VR video to the VR headset of the user includes recommending a direction high similarity video, a speed high similarity video, a high similarity video, and identifying in the VR video that it belongs to that high similarity video type.

Further, the VR headset comprises a VR video playing APP, the APP configured to perform the steps of:

103, acquiring a VR video selected by a user from the candidate VR video;

104, prompting a user whether to adjust the display of the VR video according to the mobile data of the user in the VR video playing process;

and 105, acquiring the selection of the user, if the selection of the user is yes, adjusting the display of the VR video according to the mobile data of the user when the VR video is played, and if the selection of the user is not, directly playing the VR video.

Preferably, if the video selected by the user is a video with high similarity of the driving track or the driving direction, the lens moving speed of the VR video is preferentially adjusted according to the driving speed during playing; and if the video selected by the user is the video with high running speed similarity, preferentially adjusting the moving direction or the moving track of the VR video lens according to the running track or the running direction.

An embodiment of the present invention provides a computer device, which includes a processor and a memory, where the memory stores computer instructions executable by the processor, and when the processor executes the computer instructions, the method as described above is implemented.

Embodiments of the present invention provide a computer-readable storage medium for storing computer instructions for implementing the method as described above.

Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. The computer-readable storage medium may include: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), a flash memory, an erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

Computer program code for carrying out operations of the present invention may be written in one or more programming languages or combinations thereof

The above description is only an example for the convenience of understanding the present invention, and is not intended to limit the scope of the present invention. In the specific implementation, a person skilled in the art may change, add, or reduce the components of the apparatus according to the actual situation, and may change, add, reduce, or change the order of the steps of the method according to the actual situation without affecting the functions implemented by the method.

While embodiments of the invention have been shown and described, it will be understood by those skilled in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents, and all changes that come within the meaning and range of equivalency of the claims are to be embraced within their scope.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:摄像头模组的整版制程方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类