Auxiliary operation method and device for virtual environment and computer program product

By setting judgment points on the map path of the virtual driving simulator and triggering the magnification function, the shortcomings of novice players in complex terrain operations are solved, the game experience and operation accuracy are improved, and the game quality and player satisfaction are achieved. Spend.

CN119174909APending Publication Date: 2024-12-24GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411199446.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

The existing virtual driving simulators are insufficient in helping novice players quickly adapt to complex terrain such as large angle curves, and the auxiliary mechanism lacks targetedness and flexibility, making it difficult for novice players to improve their game level.

Method used

By setting judgment points on the game map path, determine the path points that need assisted operations based on the angle changes or coordinate difference, and trigger the enlarged path point area when the player approaches, slow down the game speed, provide field of view enlargement and auxiliary operation prompts, help Players can operate better.

Benefits of technology

It significantly improves the observation and operation experience of players, reduces the learning difficulty for novice players, shortens learning time, enhances the playability and fun of the game, and quickly restores the game speed through intelligent screening mechanism, ensuring the consistency of the game process. and a sense of rhythm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119174909A_ABST
    Figure CN119174909A_ABST
Patent Text Reader

Abstract

The invention discloses an auxiliary operation method and device for a virtual environment and a computer program product, and the method comprises the steps: determining a path point needing auxiliary operation according to a judgment point set on a map path generated by a game; and when the virtual carrier operated by the player approaches the path point, triggering to amplify the map area where the path point is located and slowing down the game running speed. According to the method and the device, the path points for auxiliary operation and an automatic amplification function are introduced on the map path of the virtual environment, so that the observation and operation experience of players is remarkably improved, the learning difficulty of green players is reduced, and the learning time is shortened. According to the method, the map area can be automatically amplified when the player approaches the complex path point, operation errors are effectively reduced, and playability and fun of the game are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method and device for assisting operation of a virtual environment, and a computer program product. Background Art

[0002] The virtual driving experience in virtual games provides players with a more realistic and safe driving learning environment. By simulating real driving scenes and traffic rules with high precision, players can learn and practice driving skills during the game, thereby effectively improving their driving skills. The application of this technology has shown wide applicability and value in the field of games.

[0003] Although existing virtual driving simulators provide a rich driving experience, they are insufficient in helping novice players quickly adapt to and master the necessary driving skills. Especially in complex terrain, such as large-angle bends, novice players often find it difficult to react in time, resulting in operational errors. In addition, existing auxiliary mechanisms often lack pertinence and flexibility, and cannot effectively adapt to the operating levels and reaction speeds of different players. How to design an effective buffer mechanism to help novice players gradually get through the practice stage of the novice period while experiencing games of normal difficulty has become a technical problem that needs to be solved urgently. The existing technology lacks operational assistance for players on complex terrain (such as bends with large turning angles), which makes it difficult for novice players to adapt and improve their gaming skills. Summary of the invention

[0004] The technical problem to be solved by the embodiments of the present invention is to provide a method, device and computer program product for auxiliary operation of a virtual environment to improve the virtual driving experience.

[0005] In order to solve the above technical problems, the present invention provides an auxiliary operation method of a virtual environment, comprising the following steps:

[0006] According to the judgment points set on the map path generated by the game, the path points that need auxiliary operation are determined;

[0007] When the virtual vehicle operated by the player approaches the waypoint, the map area where the waypoint is located is triggered to enlarge and the game running speed is slowed down.

[0008] Preferably, the method for determining the path point requiring auxiliary operation is specifically:

[0009] Select any first judgment point set on the map path generated by the game and its second and third judgment points adjacent to each other, and judge whether the change in the angle between the second and third judgment points relative to the first judgment point, or the difference in the X-axis coordinates of the second and third judgment points, or the difference in the Y-axis coordinates of the second and third judgment points exceeds a first preset threshold. If so, determine that the first judgment point is a path point requiring auxiliary operation, wherein the X-axis and Y-axis are the coordinate axes of the map generated by the game.

[0010] Preferably, when the virtual vehicle operated by the player approaches the path point, the map area where the path point is located is triggered to be enlarged, specifically including:

[0011] When the virtual vehicle operated by the player approaches the waypoint, the waypoint and its surrounding map area are displayed at a preset magnification ratio.

[0012] Preferably, when there are multiple path points with similar distances, the method includes:

[0013] Determine the degree of overlap between the enlarged map areas where each path point is located;

[0014] If the degree of overlap is lower than a second preset threshold, re-adjusting the magnification ratio and displaying the map areas where the waypoints are located so that the map areas where the waypoints are located do not overlap;

[0015] If the degree of overlap exceeds a second preset threshold, when the vehicle operated by the player passes through each path point, the enlarged map area where each path point is located is continuously displayed.

[0016] Preferably, the slowing down of the game running speed specifically refers to slowing down the playing speed of the game screen.

[0017] Preferably, after the auxiliary operation is completed, the following steps are also included:

[0018] Adjust the game screen playback speed to normal speed;

[0019] Calculate the total number of frames of game content that were not displayed during the slowed-down playback of the game screen;

[0020] According to the preset filtering criteria, some frames that are not displayed are selectively discarded.

[0021] Preferably, when the zooming in of the map area where the path point is located is triggered, it also includes: selecting a map area within a preset range for panoramic display, so that the player can judge the operation method of the next terrain.

[0022] Preferably, when the zooming in of the map area where the waypoint is located is triggered, the method further includes: displaying an auxiliary operation bar to provide corresponding prompts.

[0023] The present invention also provides an auxiliary operation device for a virtual environment, comprising:

[0024] one or more processors;

[0025] Memory;

[0026] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more application programs are configured to execute the auxiliary operation method of the virtual environment.

[0027] The present invention also provides a computer program product, comprising computer instructions, wherein the computer instructions instruct a computer device to execute operations corresponding to the method.

[0028] The implementation of the present invention has the following beneficial effects: the present invention significantly improves the player's observation and operation experience by introducing auxiliary operation path points and automatic zoom functions on the map path of the virtual environment, reduces the learning difficulty of novice players and shortens the learning time. The present invention can automatically zoom in on the map area when the player approaches a complex path point, effectively reducing operational errors and enhancing the playability and fun of the game. In addition, the present invention also quickly restores the game screen to normal speed through an intelligent screening mechanism, ensures the continuity and rhythm of the game process, and demonstrates the high intelligence level of the game, thereby improving the overall game quality and the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 It is a flowchart of an auxiliary operation method of a virtual environment according to an embodiment of the present invention.

[0031] Figure 2 It is a schematic diagram of a curved path generated by a game in an embodiment of the present invention.

[0032] Figure 3 It is a schematic diagram of determining the path points that require auxiliary operations in an embodiment of the present invention.

[0033] Figure 4 It is a schematic diagram of the viewing angle range for determining the path point requiring auxiliary operation in an embodiment of the present invention.

[0034] Figure 5It is a schematic diagram of selecting a part of an area for panoramic map display in an embodiment of the present invention.

[0035] Figure 6 It is a schematic diagram of a plurality of path points requiring auxiliary operations in an embodiment of the present invention.

[0036] Figure 7 Schematic diagram of loading an auxiliary operation bar in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The following descriptions of the embodiments refer to the accompanying drawings to illustrate specific embodiments in which the present invention may be implemented.

[0038] Please refer to Figure 1 As shown, the first embodiment of the present invention provides an auxiliary operation method of a virtual environment, comprising the following steps:

[0039] According to the judgment points set on the map path generated by the game, the path points that need auxiliary operation are determined;

[0040] When the virtual vehicle operated by the player approaches the waypoint, the map area where the waypoint is located is triggered to enlarge and the game running speed is slowed down.

[0041] It can be seen from the above steps that the present invention sets judgment points at key path points, determines the path points that require auxiliary operations, and triggers auxiliary operations such as field of view enlargement and game speed slowdown when players approach these path points, so as to help novice players better adapt to the game and improve the gaming experience.

[0042] Specifically, Figure 2 The figure shows a simple game curve path. During the game, the player needs to rotate the steering wheel to pass the curve. If the player does not react in time, the virtual vehicle in the game will slide out of the curve. Since the terrain design in the map generated by the game is not only curves, but also straight roads, buffer routes, etc., some terrains are easy for players to react and operate, such as straight roads, while some terrains require experience and reaction speed to pass. The embodiment of the present invention provides operation assistance for complex terrains that are difficult for players to react, such as curves with large turning angles.

[0043] First, please refer to Figure 3 As shown in the figure, discrete judgment points can be set on the map path generated by the game. These judgment points can be equally spaced, or the density of the points can be adjusted according to the actual terrain complexity, and then the path points that need auxiliary operations can be obtained according to the positional relationship between the points. Figure 3 The point A shown in FIG. 1 is the path point that requires auxiliary operation.

[0044] The solution for determining the waypoint A requiring auxiliary operation may be one of the following methods:

[0045] (1) Judging by the change in the angle between two adjacent groups of judgment points, for example, when the angle changes from a point before point A to a point after point A, and the angle change exceeds a preset threshold (e.g., 90°), point A can be judged as a path point that requires auxiliary operation. Specifically, select any point A on the path and consider the two adjacent points before and after it. For example, if point A is preceded by point B and followed by point C, then the three points considered are points B, A, and C. Calculate the angle formed by points B and C relative to point A. This can be achieved by the vector method, that is, calculating the vectors from B to A and from A to C, and finding the angle between the two vectors. When the player's virtual vehicle moves from point B to point C, if the angle change between points B and C relative to point A exceeds a certain threshold (e.g., 90 degrees), this indicates that point A is a sharp turn or a sharp change point, so point A is determined to be a path point that requires auxiliary operation.

[0046] (2) By judging by the change of the X-axis coordinates between two adjacent groups of judgment points, for example, when changing from a point before point A to a point after point A, when the difference in the X-axis coordinates between the two points before and after point A exceeds the preset range, point A can be judged as a path point that requires auxiliary operation. Specifically, select any point A on the path and consider the two adjacent points before and after it. For example, if point A is preceded by point B and followed by point C, then the three points considered are point B, A and C. Calculate the difference in the X-axis coordinates of point B and point C, that is, Δx = x C -x B If the difference Δx exceeds the preset range, it means that there is a large horizontal change near point A, such as a sharp turn or a sudden lane change. Therefore, point A is determined as a path point that requires auxiliary operation.

[0047] (3) By judging by the change of the Y-axis coordinates between two adjacent groups of judgment points, for example, when changing from a point before point A to a point after point A, when the difference in the Y-axis coordinates between the two points before and after point A exceeds the preset range, point A can be judged as a path point that requires auxiliary operation. Specifically, select any point A on the path and consider the two adjacent points before and after it. For example, if point A is preceded by point B and followed by point C, then the three points considered are point B, A and C. Calculate the difference in the X-axis coordinates of point B and point C, that is, Δy = y C -y B If the difference Δy exceeds the preset range, it means that there is a large vertical change near point A, such as a steep slope or a sunken section. Therefore, point A is determined as a path point that requires auxiliary operation.

[0048] It is understood that in the embodiment of the present invention, the two-dimensional rectangular coordinate system can be the coordinate system of the game map, that is, the coordinate system composed of the horizontal and vertical axes of the display interface. In this coordinate system, the X-axis usually represents the horizontal direction (e.g., from left to right), and the Y-axis represents the vertical direction (e.g., from top to bottom). By monitoring the coordinate changes of the path point on the X-axis and Y-axis, the game can determine the specific characteristics of the path point, such as sharp turns, steep slopes or sinking sections, and thus determine whether auxiliary operations are required.

[0049] After determining the path point A that needs auxiliary operation, in order to enhance the convenience of the player's operation, the embodiment of the present invention designs a mechanism for automatically zooming in the viewing angle. Specifically, when the player's virtual vehicle approaches point A, the system activates the zooming in of the map area where the path point is located as the zoomed viewing angle range (such as Figure 4 The purpose of this is to enable players to observe the environmental details around point A more clearly, thereby facilitating precise operations, such as better controlling the car through corners.

[0050] In order to achieve this function, you first need to select a suitable magnified viewing angle range. This viewing angle range is defined by the proportion of the magnified viewing angle in the entire game display area. As an example, the display ratio of the magnified viewing angle range is set to 20% to 45% of the entire game interface to ensure that players can obtain sufficient field of view magnification effect without affecting the overall grasp of the game due to excessive magnification.

[0051] When the player's virtual vehicle enters the boundary of this viewing range, the system will immediately trigger the field of view magnification effect, significantly magnifying the map area around point A, as a reminder that the player has entered a path area that requires high attention and quick reaction. On the contrary, if the player's virtual vehicle leaves the boundary of this viewing range, the system will correspondingly cancel the field of view magnification effect and restore to the normal game perspective to ensure that the player can continue to play the game smoothly.

[0052] This intelligent perspective magnification mechanism not only improves the player's navigation experience in the game, but also greatly enhances the player's operational accuracy and reaction speed when dealing with complex path points.

[0053] In addition, when the field of view is enlarged, the embodiment of the present invention also triggers the adjustment of the game speed. By temporarily slowing down the game running speed, the player is assisted in smoothly completing the operation of changing direction through the curve. After triggering the field of view to be enlarged, you can choose to reduce the running speed of the game and slow down the playback speed of the game screen to adapt to the player's reaction speed. At this time, the speed of the virtual vehicle in the game is not changed, but the speed of the game screen is changed to give the player the feeling that the game speed has been slowed down.

[0054] After the auxiliary operation is completed, the animation display of the game returns to normal speed, but because of the previous slow playback process, it is necessary to select the content that was not displayed during the slow playback. At this time, the unplayed content is filtered, and the playback of some frames is discarded so that the display content of the screen keeps up with the normal game progress. Specifically, after the auxiliary operation is completed, the current playback speed of the game screen is detected; then the playback speed of the game screen is gradually adjusted to the preset normal speed to ensure a smooth transition of the screen; the total number of frames of game content that was not displayed during the slowed down operation is calculated; according to the preset screening criteria, some undisplayed frames are selectively discarded to ensure the continuity and smoothness of the animation and avoid playback delays caused by slow playback.

[0055] When selectively discarding some frames that are not presented, the following criteria and methods can be used:

[0056] Keyframe identification: Determine which frames are keyframes, which usually contain important visual information or action turning points and should be retained in the picture. For non-keyframes, they are evaluated based on the importance of their content. For example, if a frame shows repetitive or unimportant background information, it can be determined to be discarded.

[0057] Visual Continuity Analysis: Evaluate whether discarding certain frames will affect visual continuity. If discarding a frame will make it difficult for players to understand scene changes or action continuity, the frame should be retained.

[0058] Timestamp and interval: Decide whether to discard based on the timestamp of the frame and the time interval between the previous and next frames. If the time interval between two frames is short, it means that the content they show has not changed much, and the middle frame may be suitable for discarding.

[0059] Motion vector analysis: Motion vectors are used to analyze the motion changes between frames. If the motion vector is small, it means that the visual changes between frames are not significant, and these frames may be candidates for discarding.

[0060] Scene content changes: Consider the speed at which scene content changes. In fast-changing scenes like racing, more frames need to be retained to maintain consistency; in slower-changing scenes, more frames can be discarded.

[0061] Player operation synchronization: Consider the synchronization between player operation and animation display. If discarding some frames will affect the player's judgment of the timing of the operation, these frames should be retained.

[0062] As a further improvement of the embodiment of the present invention, Figure 5As shown, when performing auxiliary operations, you can also select a part of the area for panoramic map display, so that when the player is operating the current bend, he can judge the operation method when entering the next terrain based on the panoramic map, and the latter can predict the difficulty of the next terrain.

[0063] When the distance between the auxiliary operation points is far and their magnified fields of view do not overlap, the mutual influence between these points is small. In this case, no additional processing is required, and the field of view magnification can be triggered according to the normal auxiliary operation steps.

[0064] However, when there are path points that are closer, such as Figure 6 The magnified fields of view of the three points B, C, and D shown may overlap. This overlap may cause the player's field of view to switch frequently or become confused when approaching these points, so special processing is required:

[0065] If the overlap between the magnified fields of view between points is small, you can consider re-adjusting the fields of view of these points so that their magnified fields of view no longer overlap. This can avoid frequent switching of fields of view and improve the player's gaming experience.

[0066] If the overlap between the magnified fields of view between points is large, it may not be appropriate to readjust the field of view. In this case, consider not switching the field of view, but instead keep the magnified field of view continuously displayed when the player's vehicle passes through these points until the player leaves these points. This ensures that the player can continue to have a clear view when approaching and passing these points, so as to better operate the game.

[0067] For example Figure 7 As shown, during auxiliary operation, you can also set Figure 7 As shown in the auxiliary operation bar in the upper left corner, players can practice according to the prompts of the auxiliary operation bar when performing operations to make the timing and skills of the operations more proficient.

[0068] Corresponding to the auxiliary operation method of the virtual environment described in the first embodiment of the present invention, the second embodiment of the present invention further provides an auxiliary operation device of the virtual environment, including:

[0069] one or more processors;

[0070] Memory;

[0071] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more application programs are configured to execute the auxiliary operation method of the virtual environment.

[0072] Corresponding to the auxiliary operation method of the virtual environment described in the aforementioned embodiment 1 of the present invention, the third embodiment of the present invention further provides a computer program product, including computer instructions, and the computer instructions instruct a computer device to execute operations corresponding to the method.

[0073] Preferably, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor. The processor is the control center of the device, and various parts of the device are connected using various interfaces and lines.

[0074] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory can also be other volatile solid-state storage devices.

[0075] It should be noted that the above-mentioned device may include but is not limited to a processor and a memory, which can be understood by those skilled in the art.

[0076] For the working principle and process of the above embodiment, please refer to the description of the above embodiment of the present invention, which will not be repeated here.

[0077] It can be seen from the above description that compared with the prior art, the beneficial effects of the present invention are as follows: the present invention significantly improves the player's observation and operation experience by introducing auxiliary operation path points and automatic zoom functions on the map path of the virtual environment, reduces the learning difficulty of novice players and shortens the learning time. The present invention can automatically zoom in on the map area when the player approaches a complex path point, effectively reducing operational errors and enhancing the playability and fun of the game. In addition, the present invention also quickly restores the game screen to normal speed through an intelligent screening mechanism, ensuring the continuity and rhythm of the game process, showing the high intelligence level of the game, thereby improving the overall game quality and the player's gaming experience.

[0078] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A method for assisting operation of a virtual environment, characterized in that: The following steps are involved: According to the judgment points set on the map path generated by the game, the path points that need auxiliary operation are determined; When the virtual vehicle operated by the player approaches the waypoint, the map area where the waypoint is located is triggered to enlarge and the game running speed is slowed down.

2. The method according to claim 1, characterized in that The method for determining the path points that require auxiliary operations is as follows: Select any first judgment point set on the map path generated by the game and its second and third judgment points adjacent to each other, and judge whether the change in the angle between the second and third judgment points relative to the first judgment point, or the difference in the X-axis coordinates of the second and third judgment points, or the difference in the Y-axis coordinates of the second and third judgment points exceeds a first preset threshold. If so, determine that the first judgment point is a path point requiring auxiliary operation, wherein the X-axis and Y-axis are the coordinate axes of the map generated by the game.

3. The method according to claim 1, characterized in that When the virtual vehicle operated by the player approaches the path point, the map area where the path point is located is triggered to be enlarged, specifically including: When the virtual vehicle operated by the player approaches the waypoint, the waypoint and its surrounding map area are displayed at a preset magnification ratio.

4. The method according to claim 3, characterized in that When there are multiple path points with similar distances, the method includes: Determine the degree of overlap between the enlarged map areas where each path point is located; If the degree of overlap is lower than a second preset threshold, re-adjusting the magnification ratio and displaying the map areas where the waypoints are located so that the map areas where the waypoints are located do not overlap; If the degree of overlap exceeds a second preset threshold, when the vehicle operated by the player passes through each path point, the enlarged map area where each path point is located is continuously displayed.

5. The method according to claim 1, characterized in that The slowing down of the game running speed specifically refers to slowing down the playing speed of the game screen.

6. The method according to claim 5, characterized in that After the auxiliary operation is completed, it also includes: Adjust the game screen playback speed to normal speed; Calculate the total number of frames of game content that were not displayed during the slowed-down playback of the game screen; According to the preset filtering criteria, some frames that are not displayed are selectively discarded.

7. The method according to claim 1, characterized in that When the map area where the path point is located is triggered to be enlarged, it also includes: selecting a map area within a preset range for panoramic display, so that the player can judge the operation method for the next terrain.

8. The method according to claim 1, characterized in that When the map area where the path point is located is triggered to be enlarged, the method also includes: displaying an auxiliary operation bar to provide corresponding prompts.

9. An auxiliary operation device for a virtual environment, characterized in that: include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the auxiliary operation method of the virtual environment as described in any one of claims 1 to 8.

10. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions instruct a computer device to execute operations corresponding to the method according to any one of claims 1 to 8.