Display method, device, equipment and medium of vehicle animation

By monitoring the display angle switching operation in the vehicle animation, determining multiple reference display angles and rendering the angle changes of the driving scene model, the problem of insufficient smoothness when switching the vehicle animation angle is solved, and the user interaction experience is improved.

CN119149157BActive Publication Date: 2025-10-17ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411270562.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2025-10-17
Estimated Expiration
2044-09-11

AI Technical Summary

Technical Problem

In the prior art, vehicle animation lacks smoothness when switching angles, which affects the user interaction experience.

Method used

By monitoring the display angle switching operation, multiple reference display angles are determined, and the angle change process of the driving scene model is rendered in an animated manner, including the transition between the first display angle and the second display angle, to avoid the abruptness caused by direct switching.

Benefits of technology

Improved the smoothness of vehicle model angle switching and improved the user's interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119149157B_ABST
    Figure CN119149157B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a display method, device, equipment and medium for vehicle animation, wherein the method comprises: when a driving scene model is displayed at a first display angle in a driving picture of a vehicle according to a display angle switching operation, monitoring whether a display angle reset condition is met; when the display angle reset condition is met, determining a second display angle according to a current driving posture of the vehicle; determining a plurality of reference display angles according to the first display angle and the second display angle, wherein the plurality of reference display angles include the first display angle and the second display angle, and the number of the plurality of reference display angles is greater than 2; and rendering and displaying the current driving scene model in the driving picture according to each reference display angle in a small-to-large order. In the technical solution, the angle change process of the driving scene model in the driving picture is rendered in an animated manner, the smoothness of the vehicle model angle switching is improved, and the interactive experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer application, and particularly relates to a display method and device of vehicle animation, equipment and medium. BACKGROUND

[0002] With the progress of computer technology, displaying a driving picture in a vehicle becomes a common driving assistance function, for example, displaying a parking picture in the driving picture to assist the driver to park into an idle parking space, etc. The driving picture mainly contains a vehicle model and other driving scene models. The user can rotate the driving interface and perform other operations to meet the viewing needs of the driving scene model in different directions.

[0003] In the related art, if the time without operation of the user is greater than a certain time length after the rotation operation is performed on the driving picture, the driving scene model consistent with the real-world environment is directly displayed in the driving picture, for example, the user controls the driving scene model in the driving picture to rotate 45 degrees to the left, and if the time without operation of the user is greater than a certain time length, the driving scene model in the current real world is obtained to display in the direction of 45 degrees to the right, and then the driving scene model is directly switched to display in the direction of 45 degrees to the right.

[0004] However, the above-mentioned display mode of directly switching the driving scene model displayed in the driving picture to the display of the real-world direction causes the smoothness of the angle switching display of the driving scene model to be not high, and the interactive experience of the user is affected. SUMMARY

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a display method, device, equipment and medium of vehicle animation, which realizes rendering the angle change process of the driving scene model in the driving picture in an animated manner, improves the smoothness of the angle switching of the vehicle model, and improves the interactive experience of the user.

[0006] The present disclosure provides a display method of vehicle animation, which comprises: when a driving scene model is displayed in a driving picture of a vehicle at a first display angle according to a display angle switching operation, monitoring whether a display angle reset condition is met; when the display angle reset condition is met, determining a second display angle according to a current driving posture of the vehicle; determining a plurality of reference display angles according to the first display angle and the second display angle, wherein each reference display angle is different, the first display angle and the second display angle are included in the plurality of reference display angles, and the number of the plurality of reference display angles is greater than 2; and rendering and displaying the current driving scene model in the driving picture according to each reference display angle in order from small to large.

[0007] The embodiment of the present disclosure further provides a display device of vehicle animation, the device comprising: a monitoring module, configured to monitor whether a display angle reset condition is met when a driving scene model is displayed at a first display angle in a driving picture of a vehicle according to a display angle switching operation; a first determining module, configured to determine a second display angle according to a current driving posture of the vehicle when the display angle reset condition is met; a second determining module, configured to determine a plurality of reference display angles according to the first display angle and the second display angle, wherein each of the reference display angles is different, the first display angle and the second display angle are included in the plurality of reference display angles, and the number of the plurality of reference display angles is greater than 2; and a display processing module, configured to render and display a current driving scene model in the driving picture according to each of the reference display angles in a sequence from small to large.

[0008] The embodiment of the present disclosure further provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; and the processor is configured to read the executable instructions from the memory and execute the instructions to implement the display method of vehicle animation provided by the embodiment of the present disclosure.

[0009] The embodiment of the present disclosure further provides a computer readable storage medium, which stores a computer program for executing the display method of vehicle animation provided by the embodiment of the present disclosure.

[0010] The technical solution provided by the embodiment of the present disclosure has the following advantages compared with the prior art.

[0011] The display solution of vehicle animation provided by the embodiment of the present disclosure, when a driving scene model is displayed at a first display angle in a driving picture of a vehicle according to a display angle switching operation, monitors whether a display angle reset condition is met, determines a second display angle according to a current driving posture of the vehicle when the display angle reset condition is met, and then determines a plurality of reference display angles according to the first display angle and the second display angle, wherein each of the reference display angles is different, the first display angle and the second display angle are included in the plurality of reference display angles, and the number of the plurality of reference display angles is greater than 2. The current driving scene model is rendered and displayed in the driving picture according to each of the reference display angles in a sequence from small to large. In the technical solution, the angle change process of the driving scene model in the driving picture is rendered in the form of animation, the smoothness of the vehicle model angle switching is improved, and the user's interactive experience is improved. BRIEF DESCRIPTION OF DRAWINGS

[0012] The above-described and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent as various embodiments of the present disclosure are described in conjunction with the following detailed description, which, together with the drawings, illustrates specific embodiments in which the present disclosure can be practiced. Throughout the drawings, like or similar reference numerals can be used to refer to like or similar elements, features, and structures.

[0013] Figure 1 A flowchart of a display method of a vehicle animation provided by an embodiment of the present disclosure;

[0014] Figure 2 A schematic diagram of a driving scene model provided by an embodiment of the present disclosure;

[0015] Figure 3 A schematic diagram of a display scene of a vehicle animation provided by an embodiment of the present disclosure;

[0016] Figure 4 A flowchart of another display method of a vehicle animation provided by an embodiment of the present disclosure;

[0017] Figure 5 A structural schematic diagram of a display device of a vehicle animation provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] Embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings. While several embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and fully convey the scope of the present disclosure to those skilled in the art. It should be understood that the drawings and embodiments of the present disclosure are only for illustrative purposes and should not be used to limit the scope of protection of the present disclosure.

[0019] It should be understood that the various steps of the method embodiments of the present disclosure can be performed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0020] The term "comprising" and variations thereof as used herein are used inclusively, i.e., "including, but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments." Related definitions of other terms will be given in the description below.

[0021] It should be noted that the terms "first", "second", and the like in the present disclosure are only used to distinguish different devices, modules or units, and do not limit the order or interdependence of the functions performed by these devices, modules or units.

[0022] It should be noted that the terms "one", "multiple" in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that "one or more" should be understood unless otherwise explicitly indicated in the context.

[0023] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not used to limit the scope of the messages or information.

[0024] To solve the above problems, the present disclosure provides a vehicle animation display method, which will be introduced below in combination with specific embodiments.

[0025] Figure 1 A flowchart of a vehicle animation display method provided by the embodiments of the present disclosure is shown. The method can be executed by a vehicle animation display device, which can be implemented by software and / or hardware, and can be integrated in an electronic device. As shown in Figure 1 The method comprises the following steps:

[0026] In step 101, when the driving scene model is displayed in the driving picture of the vehicle at the first display angle according to the display angle switching operation, it is monitored whether the display angle reset condition is met.

[0027] It should be understood that the driving picture is displayed on the vehicle machine screen to assist the user in driving operation. Any driving scene model related to the driving environment can be displayed in the driving picture, for example, a driving scene model in a parking scene can be displayed. The driving scene model in the parking scene can include a first vehicle model of the host vehicle, a second vehicle model of other vehicles, and a parking space model of the idle parking space, as shown in Figure 2 For example, a driving scene model in a reversing scene can be displayed. The driving scene model in the reversing scene can include an obstacle model behind the vehicle, a first vehicle model of the host vehicle, and the like. Of course, in some possible embodiments, only the first vehicle model of the host vehicle and the like can be displayed in the driving picture.

[0028] In actual application scenarios, in addition to displaying the driving picture on the car machine screen, the actual model of the vehicle, the video stream information in front of the vehicle, etc. can also be displayed. Different display contents can be displayed in different display pictures, and multiple display pictures can be arranged horizontally or vertically, etc. without limitation.

[0029] In an embodiment of the present disclosure, a display angle switching operation of a user on the driving picture is obtained. The display angle switching operation can be a trigger trajectory operation, or an operation of triggering a preset display direction switching control. Regardless of how the display angle switching operation is implemented, the display angle switching operation is used to switch the display angle of the driving scene model displayed in the driving picture. The switched display angle is the first display angle. The first display angle is relative to the default initial display angle.

[0030] It should be noted that in different application scenarios, the manner of determining the first display angle is different, for example:

[0031] In some possible implementations, when the display angle switching operation is a trigger trajectory operation, the operation starting point coordinate and the operation ending point coordinate of the display angle switching operation in the driving picture can be obtained, and the coordinate difference values of the operation ending point coordinate and the operation starting point coordinate in each coordinate axis are calculated. For example, the operation starting point coordinate is (x1, y1), the operation ending point coordinate is (x2, y2), the coordinate difference value in the X axis is (x2-x1), and the coordinate difference value in the Y axis is (y2-y1).

[0032] In this embodiment, a unit coordinate angle change value corresponding to each coordinate axis is also pre-set. The unit coordinate angle change value represents the unit angle change value corresponding to each coordinate point on the corresponding coordinate axis. The unit coordinate angle change value can be set according to the scene requirements. For example, the angle change range that can be controlled for each coordinate axis can be determined (the angle change range can be set according to the scene requirements. In some scenarios, the angle change range of the corresponding coordinate axis is 0-90 degrees. For example, in some scenarios, the angle change range of the corresponding coordinate axis is 0-360 degrees). The ratio of the number of all pixel points contained in the corresponding coordinate axis to the corresponding angle change range is calculated to obtain the unit angle change value.

[0033] For example, the angle change range corresponding to the X axis is 360 degrees, and the X axis contains Px pixel points. Therefore, the unit angle change value of the X axis is Px / 360 (denoted as deltaDegX hereinafter). Similarly, if the angle change range corresponding to the Y axis is 360 degrees, and the Y axis contains Py pixel points, then the unit angle change value of the Y axis is Py / 360 (denoted as deltaDegY hereinafter).

[0034] The product value of the coordinate difference value of each coordinate axis and the corresponding unit coordinate angle change value is calculated, and the above embodiment is taken as an example. The product value of deltaDegX and (x2-x1) is calculated on the X axis, the product value of deltaDegY and (y2-y1) is calculated on the Y axis, and so on.

[0035] In this embodiment, the first display angle can be obtained according to the product value calculated above, for example, deltaDegX*(x2-x1) can be used as the yaw angle, deltaDegY*(y2-y1) can be used as the pitch angle, and the yaw angle and the pitch angle can be used as the first display angle.

[0036] Of course, in some possible embodiments, the displayed driving scene model can be in three-dimensional form, and therefore the first display angle further includes the angle change amount on the Z axis, and the like, which can be determined according to the scene requirements.

[0037] In some possible implementations, the display angle switching operation is implemented by triggering of the display direction switching control, and the first display angle can be determined according to parameters of the display direction switching control that is triggered. For example, the display direction switching control includes display direction switching controls along the X, Y, and Z axes, each switching control includes a switching progress bar, and the display angle along the X, Y, and Z axes can be determined according to the end position of the progress bar that is triggered in the switching progress bar. The display angle along the X, Y, and Z axes can be regarded as the first display angle.

[0038] Further, it is monitored whether the display angle reset condition is met, and the monitoring manner of the display angle reset condition is different in different application scenarios, and examples are as follows:

[0039] In some possible examples, the duration after the display angle switching operation is completed is counted, that is, the duration in which the user does not perform the display angle switching operation on the driving picture is counted, and it is monitored whether the duration is greater than a preset duration threshold. When the duration is greater than the preset duration threshold, it is determined that the display angle reset condition is met. The preset duration threshold can be set by the user or can be pre-defaulted by the system.

[0040] In some possible examples, a triggering event corresponding to the display angle reset operation is pre-set, and when it is detected that the user performs the triggering event, it is determined that the display angle reset condition is met. The triggering event includes, but is not limited to, at least one of triggering a preset display angle reset control, triggering a preset trajectory, inputting a reset voice instruction containing a preset display angle reset keyword, and the like.

[0041] Step 102, when the display angle reset condition is met, determining a second display angle according to a current driving posture of the vehicle.

[0042] In one embodiment of the present disclosure, when the display angle reset condition is met, a second display angle is determined according to a current driving posture of the vehicle, wherein the second display angle represents a corresponding actual display angle of the vehicle on the driving interface, which is also relative to the default initial display angle of the driving picture.

[0043] In some possible embodiments, the current driving posture can be input into a rendering component of the driving picture, which includes but is not limited to OpenGL, etc., and the rendering component is used to render a driving scene model under a corresponding reference display angle.

[0044] In step 103, a plurality of reference display angles are determined according to the first display angle and the second display angle, wherein each reference display angle is different, the first display angle and the second display angle are included in the plurality of reference display angles, and the number of the plurality of reference display angles is greater than 2.

[0045] In one embodiment of the present disclosure, the plurality of reference display angles are determined according to the first display angle and the second display angle, wherein each reference display angle is different, and the first display angle and the second display angle are included in the plurality of reference display angles, that is, at least one transitional reference display angle is added between the first display angle and the second display angle in the embodiment, so as to avoid the abrupt feeling caused by directly switching from the first display angle to the second display angle.

[0046] It should be noted that in different application scenarios, the way of determining the plurality of reference display angles according to the first display angle and the second display angle is different, and examples are as follows:

[0047] In some possible examples, the angle difference between the second display angle and the first display angle is determined, and the display frame number is determined according to the angle difference, wherein the display frame number is in a positive correlation with the angle difference, so that the greater the angle difference is, the more the display frame number is, thereby ensuring that the transition between the first display angle and the second display angle is smoother.

[0048] Further, the ratio of the angle difference and the display frame number is calculated, and the angle change granularity is determined based on the ratio, then the first display angle is sequentially superimposed with one angle change granularity, superimposed with two angle change granularities, and so on, so as to obtain the plurality of reference display angles.

[0049] In the present example, in order to enhance the interest of the animation switching, a random display angle of (display frame number-2) can also be determined according to the display frame number and the angle difference value, the random number being greater than the first display angle and less than the second display angle, and the corresponding random display angle being taken as the other reference display angle other than the first display angle and the second display angle.

[0050] In some possible examples, the angle difference value between the second display angle and the first display angle is calculated, and it should be noted that if the second display angle and the first display angle have angle changes in multiple coordinate axes, the angle difference value is the angle difference value corresponding to each coordinate axis with an angle change, and then a plurality of reference display angles are determined according to the pre-determined angle change granularity and the angle difference value. The reference display angle, the first display angle and the second display angle can be positive and negative values. The positive and negative values represent different rotation directions.

[0051] The pre-determined angle change granularity can be calibrated by the system or set by the user, or a preset animation switching duration and a rendering frequency can also be obtained, wherein the animation switching duration is the duration consumed from the first display angle to the second display angle, and the animation switching duration can be set by the user, or defined by the system, etc., or the animation switching duration can also be determined according to the angle difference value between the second display angle and the first display angle, for example, the angle difference value between the second display angle and the first display angle on the same coordinate axis is calculated, and the animation switching duration is determined according to the maximum angle difference value, wherein the greater the angle difference value, the longer the corresponding animation switching duration, so as to ensure the smoothness of the animation switching. The rendering frequency represents the number of frames rendered per second, and the rendering frame rate is determined according to the performance of the car machine screen, etc. In the present embodiment, the animation display frame number is determined according to the animation switching duration and the rendering frequency, for example, the product value of the animation switching duration and the rendering frequency is calculated to determine the animation display frame number after the same animation switching duration and rendering frequency time unit.

[0052] Then, after obtaining the animation display frame number, the ratio of the angle difference value and the animation display frame number is calculated to determine the angle change granularity.

[0053] In step 104, the current driving scene model is rendered and displayed in the driving picture according to each reference display angle in the order from small to large.

[0054] After determining the plurality of reference display angles, the current driving scene model is rendered and displayed in the driving picture according to each reference display angle in the order from small to large, so that the driving pictures of multiple frames of continuous rendering form a switching animation.

[0055] In some possible embodiments, the current reference display angle can be determined according to a sequence from small to large, and the current driving scene model can be rendered and displayed in the driving picture according to the current reference display angle.

[0056] For example, when the current driving scene is a parking scene, rendering and displaying the current driving scene model in the driving picture according to the current reference display angle includes: rendering a first vehicle model of the vehicle in the driving picture according to the current reference display angle, obtaining first position information of other vehicles in the parking scene relative to the vehicle, and / or second position information of a free parking space relative to the vehicle, rendering second vehicle models corresponding to the other vehicles in the driving picture according to the current reference display angle and the first position information, and / or rendering a parking space model corresponding to the free parking space according to the current reference display angle and the second position information.

[0057] For example, when the driving scene models included in the initial parking scene and the current parking scene when the display angle reset condition is met are consistent, the first vehicle model, the parking space model and the second vehicle models of the other vehicles displayed at the first display angle are as shown in the first drawing of Figure 3 When the display angle reset condition is met, the second display angle is determined according to the current driving posture of the vehicle, as shown in the last drawing of Figure 3 Among the plurality of reference display angles, in addition to the first display angle and the second display angle, there are three other reference display angles, as shown in the second to fourth drawings of Figure 3 According to the other reference display angles, the display of the driving scene model gradually transitions from the first display angle to the second display angle.

[0058] It should be noted that in actual application, the vehicle may travel between the completion of the display angle switching operation and the monitoring of the display angle reset condition being met, so that the driving scene model changes, for example, the driving scene models included in the initial parking scene and the current parking scene when the display angle reset condition is met are not completely consistent. In such a scenario where the driving scene model changes, the plurality of reference display angles can be divided into two parts, part A of the two parts is at least one reference display angle starting from the first reference display angle, and part B is from the next reference angle after the last reference display angle in part A to the last reference display angle. According to the reference display angles corresponding to part A, only the first vehicle model is rendered, and when the driving picture is rendered according to the reference display angles corresponding to part B, in addition to the first vehicle model, the second vehicle models of the other vehicles and the parking space models of the free parking spaces are also rendered. The reference display angles corresponding to part B include at least two, to further ensure the smoothness of the rendering, etc.

[0059] In order to make the skilled in the art have a more comprehensive understanding of the vehicle animation process of the embodiments of the present disclosure, the following will be exemplarily illustrated in combination with a specific application scenario, as follows:

[0060] As shown in Figure 4 , after obtaining the display angle switching operation, the first display angle corresponding to the driving scene model is obtained, the preset animation switching time length and the rendering frequency are obtained, the animation display frame number is determined according to the animation switching time length and the rendering frequency, the angle difference value and the animation display frame number ratio are calculated to determine the angle change granularity, when the display angle reset condition is met, the second display angle is determined according to the current driving posture of the vehicle, the angle difference value of the second display angle and the first display angle is calculated, a plurality of reference display angles are determined according to the pre-determined angle change granularity and the angle difference value, and the current driving scene model is rendered and displayed in the driving picture according to each reference display angle in the order from small to large, wherein when rendering to the current reference display angle, the timer is started, in the rendering time length of each frame, the driving scene model is rendered according to the current reference display angle, and after the rendering is completed, it is determined whether the current reference display angle is the second display angle, if it is not the second display angle, the timer is cleared, and the rendering of the driving scene model is performed according to the next current reference display angle, until the current reference display angle after rendering is the second display angle.

[0061] In summary, the display method of the vehicle animation of the embodiments of the present disclosure, when the driving scene model is displayed in the driving picture of the vehicle at the first display angle according to the display angle switching operation, whether the display angle reset condition is met is monitored, when the display angle reset condition is met, the second display angle is determined according to the current driving posture of the vehicle, and then a plurality of reference display angles are determined according to the first display angle and the second display angle, wherein each reference display angle is different, the first display angle and the second display angle are included in the plurality of reference display angles, the number of the plurality of reference display angles is greater than 2, and the current driving scene model is rendered and displayed in the driving picture according to each reference display angle in the order from small to large. In the technical solution, the angle change process of the driving scene model in the driving picture is realized in an animated manner, the smoothness of the vehicle model angle switching is improved, and the user's interactive experience is improved.

[0062] In order to realize the above-mentioned embodiments, the present disclosure further provides a display device of a vehicle animation.

[0063] Figure 5 A structural schematic diagram of a display device of a vehicle animation provided by the embodiments of the present disclosure, which can be realized by software and / or hardware, and can be integrated in an electronic device. As shown in Figure 5 , the device comprises a monitoring module 510, a first determination module 520, a second determination module 530, and a display processing module 540, wherein,

[0064] The monitoring module 510 is configured to monitor whether a display angle resetting condition is met when the driving scene model is displayed at the first display angle in the driving picture of the vehicle according to the display angle switching operation.

[0065] The first determining module 520 is configured to determine a second display angle according to a current driving posture of the vehicle when the display angle resetting condition is met.

[0066] The second determining module 530 is configured to determine a plurality of reference display angles according to the first display angle and the second display angle, wherein each reference display angle is different, the first display angle and the second display angle are included in the plurality of reference display angles, and the number of the plurality of reference display angles is greater than 2.

[0067] The display processing module 540 is configured to render and display the current driving scene model in the driving picture according to each reference display angle in a sequence from small to large.

[0068] In an embodiment of the present disclosure, the first display angle determining module is further configured to:

[0069] Obtain an operation starting point coordinate and an operation ending point coordinate of the display angle switching operation in the driving picture.

[0070] Calculate a coordinate difference value of the operation ending point coordinate and the operation starting point coordinate on each coordinate axis.

[0071] Obtain a preset unit coordinate angle change value corresponding to each coordinate axis.

[0072] Calculate a product value of the coordinate difference value of each coordinate axis and the corresponding unit coordinate angle change value to obtain the first display angle.

[0073] In an embodiment of the present disclosure, the monitoring module 510 is specifically configured to:

[0074] Statistically record a duration after the display angle switching operation is completed.

[0075] Monitor whether the duration is greater than a preset duration threshold, wherein when the duration is greater than the preset duration threshold, it is determined that the display angle resetting condition is met.

[0076] In an embodiment of the present disclosure, the second determining module 530 is specifically configured to:

[0077] Calculate an angle difference value between the second display angle and the first display angle.

[0078] Determine the plurality of reference display angles according to a predetermined angle change granularity and the angle difference value.

[0079] In an embodiment of the present disclosure, the second determining module 530 is specifically configured to:

[0080] obtain a preset animation switching duration and a rendering frequency;

[0081] determine an animation display frame number according to the animation switching duration and the rendering frequency;

[0082] calculate an angle difference value and an animation display frame number ratio to determine an angle change granularity.

[0083] In an embodiment of the present disclosure, the display processing module 540 is specifically configured to:

[0084] determine a current reference display angle according to the order from small to large, and render and display the current driving scene model in the driving picture according to the current reference display angle.

[0085] In an embodiment of the present disclosure, when the current driving scene is a parking scene, the display processing module 540 is specifically configured to:

[0086] render a first vehicle model of the vehicle in the driving picture according to the current reference display angle, obtain first position information of other vehicles relative to the vehicle in the parking scene, and / or second position information of a free parking space relative to the vehicle;

[0087] render a second vehicle model corresponding to the other vehicles in the driving picture according to the current reference display angle and the first position information, and / or render a parking space model corresponding to the free parking space in the driving picture according to the current reference display angle and the second position information.

[0088] The display device for vehicle animation provided in the embodiments of the present disclosure can execute the display method for vehicle animation provided in any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of the execution method.

[0089] In order to implement the above-mentioned embodiments, the present disclosure further provides a computer program product, comprising computer programs / instructions, which are executed by a processor to implement the display method for vehicle animation in the above-mentioned embodiments.

[0090] In order to implement the above-mentioned embodiments, the present disclosure further provides an electronic device, which comprises a processor, a memory for storing executable instructions of the processor, and the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the display method for vehicle animation.

[0091] In particular, the processes described above with reference to the flow charts can be implemented as computer software programs in accordance with embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program comprising program code for executing the methods illustrated by the flow charts. Note that the computer-readable medium described above in the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium may, for example, but without limitation, be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the foregoing. More specific examples of the computer-readable storage medium can include, but are not limited to, 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), an erasable programmable read-only memory (EPROM or flash memory), 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 present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus or device. In the present disclosure, the computer-readable signal medium can include a data signal that is propagated in baseband or that is propagated as part of a carrier wave, in which the computer-readable program code is carried. Such a propagated data signal can take a variety of forms, including but not limited to electro-magnetic, optical, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium that is not a storage medium and that can communicate, propagate or transport program for use by or in connection with an instruction execution system, apparatus or device. Program code contained in the computer-readable medium can be transmitted using any suitable medium, including but not limited to wire, cable, fiber optic, RF, etc., or any suitable combination of the foregoing.

[0092] In some embodiments, the client, server, or servers can communicate using any known or future developed network protocols, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current or future developed networks.

[0093] The computer-readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device, and not be assembled into the electronic device.

[0094] The electronic device can be written in any of a number of programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0095] The computer program instructions can also be loaded onto a computer or other programmable information processing apparatus to cause a series of operations to be performed on the computer or other programmable information processing apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable information processing apparatus implement the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0096] The units described in the embodiments of the present disclosure can be implemented by hardware, software, or a combination of hardware and software. In some cases, the names of the units do not constitute a limitation on the units themselves.

[0097] The functions described above in the detailed description can be performed by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0098] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of a computer program code, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), 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.

[0099] To achieve the above-mentioned embodiments, the present disclosure also proposes a computer-readable storage medium, which stores a computer program for executing the above-mentioned display method of vehicle animation. The above description is only the preferred embodiments of the present disclosure and the explanation of the applied technical principles. Those skilled in the art should understand that the disclosure range involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or equivalent features without departing from the above disclosure concept. For example, the above-mentioned features and the technical features disclosed in the present disclosure (but not limited to) with similar functions are replaced with each other to form a technical solution.

[0100] In addition, although each operation is depicted in a particular order, this should not be understood as requiring the operations to be performed in the particular order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing can be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the disclosure. Certain features described in the context of separate embodiments can also be combined in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments. Separately described features can also be implemented in a combination of one or more embodiments.

[0101] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1. A method for displaying vehicle animation, characterized in that: The following steps are involved: When displaying the driving scene model at the first display angle in the driving picture of the vehicle according to the display angle switching operation, monitoring whether a display angle reset condition is satisfied; When the display angle reset condition is met, determining a second display angle according to the current driving posture of the vehicle; Calculating an angle difference between the second display angle and the first display angle; determining a plurality of reference display angles according to a predetermined angle change granularity and the angle difference, wherein each of the reference display angles is different, the plurality of reference display angles include the first display angle and the second display angle, and the number of the plurality of reference display angles is greater than 2; The multiple reference display angles are sorted in ascending order according to the angular difference between each reference display angle and the first display angle, and the current driving scene model is rendered and displayed in the driving screen according to the corresponding reference display angle according to the sorting result.

2. The method according to claim 1, wherein The step of determining the first display angle includes: Obtaining the coordinates of the operation start point and the operation end point of the display angle switching operation in the driving picture; Calculate the coordinate difference between the operation end point coordinate and the operation start point coordinate on each coordinate axis; Obtaining a preset unit coordinate angle change value corresponding to each coordinate axis; The product of the coordinate difference of each coordinate axis and the corresponding unit coordinate angle change value is calculated to obtain the first display angle.

3. The method according to claim 1, wherein The monitoring of whether the display angle reset condition is met includes: Counting the duration of the display angle switching operation after completion; Monitor whether the duration is greater than a preset duration threshold, wherein when the duration is greater than the preset duration threshold, determine that the display angle reset condition is met.

4. The method according to claim 1, wherein Before determining the plurality of reference display angles according to the predetermined angle change granularity and the angle difference, the method further includes: Get the preset animation switching duration and rendering frequency; Determine the number of animation display frames according to the animation switching duration and the rendering frequency; The angle difference and the animation display frame ratio are calculated to determine the angle change granularity.

5. The method according to any one of claims 1 to 4, characterized in that: Rendering and displaying the current driving scene model in the driving picture according to the sorting result and the corresponding reference display angle includes: A current reference display angle is determined according to the sorting result, and the current driving scene model is rendered and displayed in the driving picture according to the current reference display angle.

6. The method according to claim 5, wherein When the current driving scene is a parking scene, rendering and displaying the current driving scene model in the driving picture according to the current reference display angle includes: Rendering a first vehicle model of the vehicle in a driving picture according to the current reference display angle; Obtaining first position information of other vehicles in the parking scene relative to the vehicle, and / or second position information of an empty parking space relative to the vehicle; In the driving picture, a second vehicle model corresponding to the other vehicle is rendered according to the current reference display angle and the first position information, and / or a parking space model corresponding to the vacant parking space is rendered according to the current reference display angle and the second position information.

7. A vehicle animation display device, characterized in that: include: a monitoring module, configured to monitor whether a display angle reset condition is satisfied when the driving scene model is displayed at a first display angle in a driving picture of the vehicle according to a display angle switching operation; a first determining module, configured to determine a second display angle according to the current driving posture of the vehicle when the display angle reset condition is met; a second determining module, configured to calculate an angle difference between the second display angle and the first display angle, and determine a plurality of reference display angles according to a predetermined angle change granularity and the angle difference, wherein each of the reference display angles is different, the plurality of reference display angles include the first display angle and the second display angle, and the number of the plurality of reference display angles is greater than two; A display processing module is used to sort the multiple reference display angles in order from small to large according to the angular difference between each reference display angle and the first display angle, and render and display the current driving scene model in the driving screen according to the corresponding reference display angle according to the sorting result.

8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the vehicle animation display method described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and the computer program is used to execute the vehicle animation display method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Image rendering method and device, equipment and storage medium

    CN115619918A

  • Rearview mirror lens control method and device, vehicle and computer readable storage medium

    CN116620165A