Object display method and device, equipment and storage medium
By pre-shooting the image frames of the target object at different display angle intervals of 360 degrees in an all-round range, and dynamically determining the image frames to be displayed, the high cost and waste of computing resources of the target object 360 degrees panoramic view display in the prior art are solved, and the problem of high cost and waste of computing resources is realized. Flexible view display and diverse display forms.
Patent Information
- Application Number
- CN202310974819.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-03
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2043-08-03
AI Technical Summary
When the prior art displays the target object on an electronic platform with a 360-degree panoramic view, three-dimensional modeling is required in advance, which increases the cost and difficulty. At the same time, the rotation of the three-dimensional model leads to high computing resource consumption and the problem of view display lag.
By taking image frames with different display angle intervals in a 360-degree all-round, the display of image frames is used to simulate the three-dimensional display effect of the three-dimensional model, eliminating the three-dimensional model construction step, and responding to the view by dynamically determining the image frame to be displayed Rotate command.
It reduces the cost and difficulty of object view display, reduces the performance waste of computing resources, solves the problem of lag in view display, and enriches the form of object display, reflecting the diversified display of object panoramic views.
Smart Images

Figure CN119473101A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to an object display method, device, equipment, and storage medium. Background Art
[0002] At present, when displaying a target object (such as a vehicle) on an electronic platform, a 360-degree panoramic view of the target object is mainly achieved by constructing a 3D model of the target object. This implementation method requires 3D modeling of target objects of different brands and models in advance, and for some second-hand defective target objects, even if the target objects are of the same brand and type, there are problems such as different defect locations or different required display object details. Therefore, each target object needs to be 3D modeled in advance, which greatly increases the cost and difficulty of object view display.
[0003] At the same time, when a panoramic view of the target vehicle is obtained by rotating the model angle based on the three-dimensional modeling of the target vehicle, high computing resource consumption will cause the view display to be stuck and not smooth, which not only affects the computing performance, but also the display effect. Summary of the invention
[0004] The embodiments of the present disclosure provide an object display method, apparatus, computer equipment and storage medium to achieve effective view display of a target object.
[0005] In a first aspect, an embodiment of the present disclosure provides an object display method, the method comprising:
[0006] Triggering to enter a view display mode of a target object, and displaying an image frame of the target object; the image frame is an image frame in an image set, the image set includes a plurality of image frames corresponding to the target object, and each image frame corresponds to a different display angle interval;
[0007] In response to a view rotation instruction in the current view rotation mode, based on a current display angle interval corresponding to a current display image frame and rotation information in the view rotation mode, a to-be-displayed image frame is determined from the image set, and the to-be-displayed image frame is displayed.
[0008] In a second aspect, an embodiment of the present disclosure further provides an object display device, the device comprising:
[0009] A first display module is used to trigger entering a view display mode of a target object and display an image frame of the target object; the image frame is an image frame in an image set, the image set includes multiple image frames corresponding to the target object, and each image frame corresponds to a different display angle interval;
[0010] The second display module is used to respond to the view rotation instruction in the current view rotation mode, determine the image frame to be displayed from the image set based on the current display angle interval corresponding to the current display image frame and the rotation information in the view rotation mode, and display the image frame to be displayed.
[0011] In a third aspect, an embodiment of the present disclosure further provides a computer device, the computer device comprising:
[0012] one or more processors;
[0013] a storage device for storing one or more programs,
[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the object display method provided by any embodiment of the present disclosure.
[0015] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the object display method provided by any embodiment of the present disclosure is implemented.
[0016] The technical solution of the disclosed embodiment specifically discloses an object display method, device, computer equipment and storage medium, the method comprising: triggering to enter the view display mode of the target object, displaying an image frame of the target object; the image frame is an image frame in an image set, the image set includes multiple image frames corresponding to the target object, and each image frame has a different display angle interval; in response to the view rotation instruction in the current view rotation mode, based on the current display angle interval corresponding to the current display image frame combined with the rotation information in the view rotation mode, determine the image frame to be displayed from the image set, and display the image frame to be displayed. In the above technical solution, image frames of different display angle intervals are pre-photographed in 360 degrees in all directions for each target object to be displayed, so that the three-dimensional display effect of the existing three-dimensional model can be visually simulated by displaying the image frames in different display angle intervals. The technical solution saves the operation of building three-dimensional models for different objects, greatly reduces the view display cost and display difficulty of the object, and also reduces the performance waste of computing resources, effectively solving the problem of freeze and unsmooth view display. At the same time, in the object display implemented by the technical solution provided in this embodiment, the image frames to be displayed currently required for the object can be determined according to the different current view rotation modes. That is, when the view rotation modes are different, the corresponding image frames to be displayed are also different, thereby enriching the display form of the object display and reflecting the diversified display of the panoramic view of the object. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present disclosure, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present disclosure, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A flowchart of an object display method provided by an embodiment of the present disclosure;
[0019] Figure 2 A flowchart of an object display method provided by an embodiment of the present disclosure;
[0020] Figure 3 A schematic diagram of the structure of an object display device provided by an embodiment of the present disclosure;
[0021] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0023] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0024] The term "including" and its variations used herein are open inclusions, 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". The relevant definitions of other terms will be given in the following description.
[0025] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0026] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0027] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0028] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0029] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0030] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0031] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0032] Figure 1 A flow chart of an object display method provided for the first embodiment of the present disclosure. The present embodiment can be applied to the case where a 360-degree panoramic view or a partial interval angle value view of a target object is displayed. The method can be executed by an object display device, which can be implemented by software and / or hardware and can be configured in a terminal and / or server to implement the object display method in the embodiment of the present disclosure.
[0033] It should be noted that most of the existing methods for realizing object view display rely on the view display of the object's three-dimensional model. However, with the diversification of object brands and types, the cost of building object three-dimensional models has increased significantly, especially for objects (products) involved in second-hand transactions. The defects of different second-hand products are different, and it is necessary to build an object three-dimensional model for each second-hand product, which greatly increases the difficulty of object display. At the same time, the existing object view display is mainly realized by rotating the angle of the object's three-dimensional model, which requires more computing performance to support it, which will also cause the problem of display jamming and unsmoothness, affecting the display effect.
[0034] The object display method provided in this embodiment can better solve the problems caused by the existing object display.
[0035] like Figure 1 As shown, an object display method provided in this embodiment may specifically include:
[0036] S101, triggering to enter the view display mode of the target object, displaying an image frame of the target object; the image frame is an image frame in an image set, the image set includes multiple image frames corresponding to the target object, and the display angle range corresponding to each image frame is different.
[0037] In this embodiment, one of the application scenarios of the view display may be an electronic trading platform for the sale of product objects, and the target object may be any product object selected by a consumer or a viewer for which the specific details are desired. Taking the target vehicle sale application scenario as an example, the target object may be a target vehicle for which the specific details are desired, and this embodiment may realize the view display of the target object on the electronic trading platform involved in the target vehicle. This embodiment is mainly described below with the target object being a target vehicle as an example, but the target object is not limited to being a target vehicle.
[0038] In this embodiment, after selecting a target vehicle on the electronic trading platform that the consumer or browser wants to know the specific details of, the consumer or browser can enter the detail display interface of the target vehicle. When the view display requirement of the target vehicle is met, the function item associated with the view display mode can be triggered. In this step, the view display mode of the target vehicle can be entered through the received trigger instruction.
[0039] The key to the present embodiment of the target vehicle is to capture the image of the target vehicle under the 360-degree panoramic view. Thus, before the method provided by the present embodiment is realized, it is necessary to perform 360-degree all-round image shooting on the target vehicle. Exemplary, in a shooting implementation, 360 degrees can be evenly divided into multiple display angle intervals (such as 360 degrees are divided according to 10 degrees, 36 different display angle intervals can be divided), and then in a given shooting cabin, the target vehicle is photographed under different display angle intervals, and the photographing form can include photographing the appearance of the target vehicle, photographing the door opening state of the target vehicle, photographing the interior details of the target vehicle, and flaws, etc., that is, it is equivalent to capturing an image frame in different display angle intervals in different photographing forms. The present embodiment can form a corresponding image set according to different photographing forms, and the image set includes the image frames of the target object in different display angle intervals under this photographing form.
[0040] Among them, the view display can be a panoramic view display, or it can be a display of a partial display angle view in the panorama. Among them, the panorama can be considered as a 360-degree panorama, and the 360-degree panorama can correspond to a circle in a spatial orientation. The circle can be divided into multiple display angle intervals, and the interval angle of each display angle interval is the same. In this embodiment, the different display angle intervals under the panorama can be considered as the display angle intervals formed by dividing the 360 panorama. In order to facilitate the effective display of the target object, this embodiment captures the image frames of the target object in 360 degrees in advance.
[0041] After entering the view display mode, this embodiment can use this step to load image frames captured in different display angle intervals, and display the image frames in one of the display angle intervals. The displayed image frames may be image frames corresponding to the display angle interval under one of the above-mentioned shooting modes. This embodiment preferentially loads an image set in the whole vehicle appearance shooting mode, and the image set includes image frames in different display angle intervals under the whole vehicle appearance shooting mode, and displays image frames in a certain display angle interval.
[0042] It can be known that in the implementation of image frame display, the loading operation performed in this step may last for a period of time. During the execution of the loading operation, the loading animation can be displayed in the picture display area of the presented screen interface, and the image frame corresponding to the target vehicle in a set display angle range can also be displayed at low resolution.
[0043] This embodiment can detect and determine whether the loading is completed during the loading operation, and can enter the execution logic of displaying the image frame after detecting that the loading is completed. It should be understood that the view display of the target vehicle is equivalent to realizing the display of the image frames corresponding to the target vehicle in different display angle intervals in sequence. At the visualization level, this display effect can be described as presenting the target vehicle rotating in space to realize the view display of the image frames corresponding to the target vehicle at different viewing angles.
[0044] S102, in response to a view rotation instruction in a current view rotation mode, determine an image frame to be displayed from the image set based on a current display angle interval corresponding to a current display image frame and rotation information in the view rotation mode, and display the image frame to be displayed.
[0045] In this embodiment, the view display of the target vehicle can be abstracted as the view rotation display of the target vehicle, and this view rotation display can be further embodied as the display of image frames corresponding to different display angle intervals in sequence. In order to implement the execution logic of the view rotation display, it is necessary to execute the rotation control of the view rotation. In this embodiment, different control modes of the rotation control can be determined by the current view rotation mode.
[0046] In this embodiment, the view rotation instruction in the current view rotation mode can be understood as an instruction initiated by controlling the content of the view display to change the current displayed image frame to the next image frame to be displayed. In the view automatic rotation mode, the view rotation instruction can be formed by the rotation characteristics of the view automatic rotation, such as continuously generating view rotation instructions according to a set period; in the view passive rotation mode, the Geshi Rabbit rotation instruction can be formed by passive sliding control of the displayed target object, such as receiving a sliding control of the target object in the currently displayed image frame to trigger the generation of the next view rotation instruction.
[0047] This step can respond to the view rotation instruction generated in the current view rotation mode, determine the image frame to be displayed corresponding to the view rotation instruction, and display the image frame to be displayed. Specifically, the current view rotation mode can be an automatic view rotation mode and a passive view rotation mode, and different rotation modes are entered by corresponding triggers.
[0048] In this embodiment, different rotation forms can be set for different view rotation modes, such as the view can be set to rotate at a constant speed in the automatic view rotation mode, and the view can be set to rotate at a rotation speed controlled by a third party in the passive view rotation mode. The third party passive control can be a touch sliding control of the target object displayed in the screen display area in the view display mode, or a cursor sliding control of the target object displayed in the screen display area in the view display mode. There is corresponding rotation information corresponding to different view rotation modes, and the rotation information can be understood as information characterizing the rotation characteristics of the view rotation mode. The setting content in the above different view rotation modes can be used as part of the rotation information.
[0049] In this embodiment, the currently displayed image frame can be considered as an image frame presented for displaying the view of the target object before responding to the view rotation instruction at the execution moment. Through the association between the image frame and the display angle interval, the current display angle interval corresponding to the currently displayed image frame can be obtained. This step can first determine the angle interval to be displayed based on the current display interval and the rotation information in the current view rotation mode, and then display the image frame corresponding to the determined angle interval to be displayed in the image set as the image frame to be displayed. Among them, the angle interval to be displayed can be understood as the angle interval to which the target object needs to be rotated after responding to the view rotation instruction.
[0050] Continuing with the above description, for the determination of the angle interval to be displayed, it can be considered that there are differences in the determination logic executed in different current view rotation modes. Specifically, different angle intervals to be displayed can be determined according to the different rotation information corresponding to different view rotation modes. For example, when the rotation information in the view automatic rotation mode is a uniform rotation at a first rate, the corresponding determined angle interval can be the first angle interval to be displayed; and in the view passive rotation mode, the second rate used and the sliding rate during third-party passive control can be used as rotation information, and the corresponding second angle interval to be displayed in the view passive rotation mode can be determined based on the above rotation information. Since the second rate is faster when the sliding is faster, and the second rate is slower when the sliding is slower, which is equivalent to the different rotation information in different view rotation modes, the determined second angle interval to be displayed is different from the above-mentioned first angle interval to be displayed.
[0051] In this embodiment, one implementation method of determining the angle interval to be displayed in the view rotation mode can be described as: at a uniform rotation rate, combined with the current display angle interval, to determine how much the target vehicle has turned in the view display mode, combined with the rotation duration determined when the display angle interval is delineated, the angle interval to be displayed corresponding to the view rotation response execution time can be determined.
[0052] In this embodiment, another implementation method of determining the current display angle interval in the view rotation mode can be described as: in the case of passive rotation based on third-party control, the sliding distance of the sliding trajectory formed from the third-party passive control rotation to the response execution time can be monitored, and the sliding distance can be used to determine how much the angle has been rotated in the view display implementation through a mapping relationship, and then combined with the interval angle value determined when the display angle interval is delineated, to determine the angle interval to be displayed corresponding to the response execution time.
[0053] Continuing with the above description, in the case of passive rotation based on third-party control, it is also possible to consider the case of buffering rotation after the third-party control passive rotation stops. In this case, a buffer parameter for deceleration buffering can be determined based on the sliding rate when the third-party control passive rotation stops. Then, based on the sliding rate, the buffer parameter and the interval time from the moment the third-party control passive rotation stops to the moment of response execution, a buffering rotation angle can be determined. After the interval angle value corresponding to each display angle interval is known, the buffering rotation angle can be used to determine the angle interval to be displayed on which the target vehicle depends for displaying the image frame to be displayed.
[0054] It should be noted that the method provided in this embodiment may be equivalent to a loop execution logic, that is, as the execution logic is executed at each execution moment, the angle interval to be displayed and the corresponding image frame to be displayed are determined, and the display operation of the image frame to be displayed is executed.
[0055] The present embodiment provides an object display method, in which image frames of different display angle intervals are pre-photographed in 360 degrees in all directions for each target object to be displayed. Thus, the three-dimensional display effect of the existing three-dimensional model can be visually simulated by displaying image frames in different display angle intervals. The present technical solution eliminates the need to construct three-dimensional models for different objects, greatly reduces the cost and difficulty of object display, reduces the performance waste of computing resources, and effectively solves the problem of stuttering and unsmooth display of views. At the same time, in the object display implemented by the technical solution provided by the present embodiment, the image frames to be displayed currently required by the object can be determined according to the different current view rotation modes, that is, when the view rotation modes are different, the corresponding image frames to be displayed are also different, thereby enriching the display form of the object display and reflecting the diversified display of the panoramic view of the object.
[0056] As a first optional embodiment of this embodiment, based on the above embodiment, an implementation method for determining the image frame to be displayed in the current view rotation mode is provided. Specifically, based on the current display angle interval corresponding to the current display image frame combined with the rotation information corresponding to the view rotation mode, determining the image frame to be displayed from the image set may include:
[0057] a1) when the view rotation mode is the automatic rotation mode, determining the angle interval to be displayed according to the current display angle interval and the uniform rotation rate corresponding to the automatic rotation mode.
[0058] In this embodiment, the timing of entering the view rotation mode can be achieved by receiving a view rotation mode trigger operation, or by detecting a view rotation mode trigger condition. Preferably, it can be that a trigger operation for the view automatic rotation function item is received; or that no other view rotation mode is detected within a set interval. This embodiment can detect which view rotation mode is currently in after entering the view display mode, and when it is determined that the view is currently in the automatic rotation mode, the logical operation of this step can be performed to determine the angle interval to be displayed.
[0059] Among them, the view automatic rotation function item can be a function control displayed on the screen interface. If other view rotation modes are not detected within the set interval time, the other view rotation mode can be a view passive rotation mode. This embodiment can be considered to enter the view automatic rotation mode if the view passive rotation mode is not detected within the set interval time. The other view rotation mode can also be a specific view mode provided in the execution of the method of this embodiment, such as the view of the target object being the target vehicle in the corresponding door open state, or the view of the image in the local magnified area, etc. The specific view mode can also be triggered according to the corresponding trigger condition. This embodiment can also enter the view automatic rotation mode when the specific view mode is not detected within the set interval time.
[0060] In this embodiment, the automatic view rotation mode can be specifically understood as a target vehicle view display mode that can control the view rotation according to a set rotation control logic without the intervention of rotation control information generated by an external third party, wherein the rotation speed of the view can be limited in the set rotation control logic, such as limiting the view to rotate at a constant speed at a given speed.
[0061] Continuing with the above description, the view display of the target vehicle achieved in this mode can be described as: after acquiring the image frames of different display angle intervals, the image frames corresponding to the different display angle intervals are presented on the screen interface in a certain order and rotation speed to simulate the rotation view of the target vehicle in three-dimensional space. Among them, the uniform rotation rate can be considered as the switching speed from the image frame in one display angle interval to the image frame in the next display angle interval. That is, it can be considered that the faster the uniform rotation rate, the faster the presentation switching speed of the image frames corresponding to different display angle intervals.
[0062] In this embodiment, the uniform rotation speed used in the view automatic rotation mode can be considered as a rotation feature of the automatic rotation. Based on the uniform rotation, it can be considered that the time consumed on the screen interface to switch from an image frame corresponding to a display angle interval to an image frame corresponding to the next display angle interval is the same.
[0063] In this embodiment, the angle interval to be displayed at the response execution time can be determined by the uniform rotation rate in the view automatic rotation mode. The uniform rotation rate can be characterized by the rotation duration of the image frame presented on the screen interface. It can be seen that the display angle interval at the response execution time is either not adjusted if the interval time is not reached, and the current display angle interval remains unchanged; or it is adjusted because the rotation duration is reached, thereby determining a new angle interval to be displayed.
[0064] As one implementation method, this step can compare the rotation interval duration associated with the uniform rotation rate with the rotation duration, so as to determine whether to keep the existing current display angle interval unchanged at the response execution time, or whether to adjust to a new display angle interval based on the comparison result. The current display angle interval that remains unchanged or the new display angle interval to be rotated to is recorded as the angle interval to be displayed determined in this step.
[0065] b1) When the view rotation mode is a passive rotation mode, the to-be-displayed angle interval is determined according to the current display angle interval and the corresponding rotation stage in the passive rotation mode.
[0066] In this embodiment, when it is detected that there is a third-party sliding control in the screen display area where the image frame is displayed, it can be determined that the view is currently in the passive rotation mode. It can also enter the view passive rotation mode when a trigger condition for passive rotation is received (such as the passive rotation control on the screen interface is triggered). Among them, the view automatic rotation mode and the view passive rotation mode can be switched freely after the corresponding trigger condition is detected.
[0067] This implementation can perform this step and subsequent related logical operations to determine the angle range to be displayed when it is determined that the view is currently in passive rotation mode. The third-party sliding control can be generated by touching and sliding in the screen display area, or by controlling a physical input device such as a mouse to be in a pressed state and controlling the corresponding cursor to slide in the screen display area.
[0068] It should be noted that when the view of the target vehicle is displayed through third-party sliding control, it cannot be guaranteed that the passive control is always in a uniform speed mode, and if the rotation of the panoramic view is stopped immediately when the third-party sliding control stops, it will also affect the view display effect. Therefore, this embodiment considers maintaining the view rotation for a period of time after the third-party sliding control stops, and using the view rotation as a buffer to present the effect of gradually stopping the view rotation.
[0069] In this embodiment, the corresponding rotation stage in the passive rotation mode can be regarded as a kind of rotation information in the passive rotation mode. After this step determines that the view is currently in the passive rotation mode, it will further determine which stage of the view passive rotation mode is currently in. In this embodiment, the view rotation presented when the third-party sliding control acts on the screen display area can be recorded as the third-party sliding control execution stage, and the stage in which the view rotation continues after the third-party sliding control is stopped can be recorded as the buffer rotation stage. In this embodiment, when the view passive rotation mode is in different rotation stages, the execution logic for determining the image frame to be displayed is different.
[0070] Specifically, when the rotation stage is the third-party sliding control execution stage, the angle range to be displayed can be determined according to the sliding distance of the sliding track formed by the third-party sliding control. Alternatively, when the rotation stage is the buffering rotation stage after the third-party sliding control stops, the angle range to be displayed can be determined according to the sliding speed when the third-party sliding control stops.
[0071] c1) determining, from the image set, image frames corresponding to the angle interval to be displayed as image frames to be displayed.
[0072] It can be known that the image set includes image frames corresponding to different display angle intervals. In this step, by searching the image set, the image frame corresponding to the angle interval to be displayed can be determined and then recorded as the image frame to be displayed.
[0073] The above technical solution of this embodiment provides the determination and implementation of the angle interval to be displayed in the view automatic rotation mode and the view passive rotation mode. By determining the angle interval to be displayed, it is possible to effectively determine which screen presentation of the target vehicle should be performed on the screen interface in response to the execution moment, so as to ensure the effective display of the target vehicle view. The technical solution of this embodiment provides effective determination of the basic data required for the execution logic for the view display.
[0074] Based on the first optional embodiment, determining the angle interval to be displayed according to the current display angle interval combined with the uniform rotation rate corresponding to the automatic rotation mode can be further concretized into the following steps:
[0075] a11) determining the interval entry time of the current display angle interval, and determining the rotation duration of the current display angle interval according to the uniform rotation rate.
[0076] In this embodiment, to determine the corresponding display angle interval at the response execution time, this step can be used to determine the interval entry time of the current display angle interval. This step can also determine the rotation duration associated with automatic rotation in each display angle interval based on the uniform rotation rate.
[0077] The rotation duration can be considered to be related to the uniform rotation speed rate set in the view automatic rotation mode, and is used to represent the duration of switching from an image frame corresponding to one display angle interval to an image corresponding to the next display angle interval on the screen interface.
[0078] a12) determining the time interval from the response execution time to the interval entry time as the rotation interval duration.
[0079] a13) If the rotation interval is shorter than the rotation duration, the current display angle interval is maintained as the to-be-displayed angle interval.
[0080] In this embodiment, when the rotation interval determined above is less than the rotation duration, it can be considered that the response execution moment is still within the current display angle interval, thereby keeping the current display angle interval unchanged and still serving as the angle interval to be displayed at the response execution moment.
[0081] a14) If the rotation interval duration reaches the rotation duration, the angle interval to be displayed is determined according to the interval angle value of the current display angle interval and the set rotation step.
[0082] In this embodiment, when the determined rotation interval is less than the set interval threshold, it is considered that the response execution time has reached the condition for triggering entry into the next display angle interval, and thus a new display angle interval is determined as the angle interval to be displayed through this step.
[0083] It can be known that when the 360-degree panorama is divided into display angle intervals, each display angle interval corresponds to an interval angle value. This step can obtain the interval angle value corresponding to the current display angle interval, and the maximum angle value and the minimum angle value in the interval angle value can be recorded as the interval angle value of the current display angle interval. At the same time, the interval angle value corresponding to each display angle interval formed by the division of this embodiment is the same, and the angle amplitude corresponding to the interval angle value can be regarded as the set rotation step of this embodiment.
[0084] In this embodiment, after the interval angle value of the current display angle interval is known, combined with the set rotation step, the maximum angle value and the minimum angle value in the interval angle value can be added to the angle amplitude representing the set rotation step respectively, and the interval angle value composed of the newly obtained maximum angle value and minimum angle value represents the newly determined angle interval to be displayed.
[0085] It can be known that, in this case, it can be considered that the display angle interval of the view rotation of the target vehicle has changed, which is equivalent to redetermining the angle interval to be displayed based on the current display angle interval.
[0086] The above technical solution of this embodiment provides a specific determination process of the current display angle interval in the view automatic rotation mode. The angle interval to be displayed determined in this way better realizes the automatic uniform rotation of the panoramic view of the target vehicle.
[0087] On the basis of the first optional embodiment, the determination of the to-be-displayed angle interval according to the current display angle interval combined with the corresponding rotation stage in the passive rotation mode may be further concretized into the following steps:
[0088] b11) Determine the interval angle value of the current display angle interval.
[0089] In this embodiment, when the 360-degree panorama is divided into a plurality of display angle intervals, each display angle interval corresponds to an interval angle value, and the interval angle value is recorded as the interval angle value of the display angle interval. In this embodiment, 360 degrees are preferably evenly divided, so that the interval angle value of each display angle interval is the same. This step can obtain the interval angle value.
[0090] b12) when the passive rotation mode corresponds to the third-party sliding control execution stage, the angle interval to be displayed is determined according to the interval angle value combined with the current sliding distance of the sliding track formed by the third-party sliding control.
[0091] In this embodiment, in the passive rotation mode corresponding to the third-party sliding control execution stage, in a determination implementation of the angle interval to be displayed, the sliding distance of the third-party sliding control can be associated with the rotation angle of the view rotation. The greater the sliding distance within the same time interval, the greater the rotation angle that drives the view rotation. At the same time, each display angle interval also corresponds to an interval angle value. Therefore, based on the rotation angle and the interval angle value of the display angle interval, the current display angle interval corresponding to the third-party sliding control at the response execution moment can be effectively determined.
[0092] Furthermore, the steps of determining the angle interval to be displayed according to the interval angle value combined with the current sliding distance of the sliding track formed by the third-party sliding control may be embodied as follows:
[0093] b121) Determine the current sliding distance according to the sliding coordinate points associated with the sliding track formed by the third-party sliding control.
[0094] In this embodiment, this step and the following steps can be considered as the process of determining the current display angle range when the third-party sliding control is executed in the view passive rotation mode. Specifically, this step can obtain the sliding coordinate points that form the sliding track when the third-party sliding control acts on the screen display area to slide, and the current sliding distance can be determined based on the sliding coordinate points.
[0095] b122) Determine the sliding rotation angle corresponding to the current sliding distance according to preset distance-angle mapping information.
[0096] In this embodiment, mapping information may be set in advance for the sliding distance under passive view rotation, and the mapping information may be a mapping between the sliding distance and the angle to be rotated, which is recorded as distance angle mapping information in this embodiment. In this step, the corresponding conveyed angle of the current sliding distance may be searched in the distance angle mapping information, and recorded as the sliding rotation angle.
[0097] b123) If the sliding rotation angle is less than the set angle threshold, the current display angle interval is maintained as the angle interval to be displayed.
[0098] In this embodiment, in order to avoid the influence of the operator's accidental touch on the screen interface on the view rotation, a touch response condition is set, and this embodiment records the touch response condition as an orientation adjustment condition. Exemplarily, the orientation adjustment condition can be determined by a set angle threshold. For example, when the sliding rotation angle is less than the set angle threshold, it is considered that the current may be an accidental touch by the operator, or the sliding angle is lower than the interval angle value of the display angle interval. At this time, this step can keep the previously determined current display angle interval unchanged.
[0099] The set angle threshold may preferably be set to an angle amplitude of an angle value of an interval corresponding to the displayed angle interval, but the set threshold is not greater than 2 times the angle amplitude.
[0100] b124) If the sliding rotation angle is greater than or equal to the set angle threshold, the angle interval to be displayed is determined according to the interval angle value of the current display angle interval and the set rotation step.
[0101] In this embodiment, when the sliding rotation angle is greater than or equal to the set angle threshold, it is considered that the adjustment condition of the display angle interval is met. At this time, the maximum angle value and the minimum angle value in the interval angle value can be added to the angle amplitude respectively according to the interval angle value of the current display angle interval and the angle amplitude as the set rotation step to obtain a new maximum angle value and a minimum angle value, thereby forming a new interval angle value. The new interval angle value represents the adjusted angle interval to be displayed.
[0102] b13) In the passive rotation mode, which corresponds to the buffer rotation stage after the third-party sliding control stops, the angle interval to be displayed is determined according to the interval angle value combined with the sliding rate when the third-party sliding control stops.
[0103] In this embodiment, in a passive rotation mode corresponding to the buffer rotation stage after the third-party sliding control stops, a determination implementation of the angle range to be displayed can first determine the buffer parameters through the sliding rate when the third-party sliding control stops, and further determine the acceleration value used for deceleration in the buffer stage, and finally determine the current display angle range of the buffer stage according to the acceleration value, the sliding rate and the time interval to the stop moment.
[0104] Furthermore, determining the angle interval to be displayed according to the interval angle value combined with the sliding speed when the third-party sliding control stops can be concretized into the following steps:
[0105] b131) obtaining the sliding speed and sliding stop direction corresponding to the third-party sliding control stop time, and determining the time interval from the third-party sliding control stop time to the response execution time.
[0106] In this embodiment, this step and the following steps can be considered as the process of determining the current display angle interval when the view is in the buffer rotation stage in the passive rotation mode. Specifically, this step can be used to first obtain the data information required for determining the current display angle interval in the buffer stage, such as the sliding rate, the sliding stop direction, etc. The sliding stop direction can be considered as the display angle interval determined when the third-party sliding control stops, or the display angle interval to which the view rotates. This step can also obtain the time interval from the moment the third-party sliding control stops to the moment the response is executed.
[0107] b132) Determine a buffer acceleration value based on the sliding rate and predetermined buffer parameters.
[0108] In this embodiment, the deceleration buffer parameter may be an empirical value determined in advance in the method design phase through training tests in different application scenarios. The deceleration buffer parameter may be a power value or a logarithmic value, which is not specifically limited in this embodiment.
[0109] In one implementation, this step can be performed by multiplying the sliding rate by the deceleration buffer parameter, and the obtained product value is determined as the buffer acceleration value. It can be known that the buffer acceleration value is specifically used to decelerate the sliding rate when stopping, so as to ensure that the view rotation can be stopped after a certain period of buffer rotation.
[0110] b133) Determine the buffer rotation angle based on the buffer acceleration value and the time interval.
[0111] Exemplarily, this step can determine the sliding distance generated from the moment the third-party sliding control stops to the moment the response is executed based on the buffer acceleration value, the sliding rate and the time interval, and then can again determine the cache rotation angle formed by the buffer rotation within the time interval in combination with the distance angle mapping information described in the above embodiment.
[0112] b134) Determine the angle interval to be displayed according to the interval angle value and the buffer rotation angle.
[0113] In this embodiment, this step can also compare the buffer rotation angle with the angle amplitude described in the above embodiment, so that when the buffer rotation angle is less than the angle amplitude, it is considered that the angle interval to be displayed still remains in the display angle interval determined at the time when the third-party sliding control stops; it can also be considered that the adjustment condition of the angle interval to be displayed is met when the buffer rotation angle is equal to the angle amplitude, and a new angle interval to be displayed can be determined by the display angle interval determined at the time when the third-party sliding control stops; in addition, if the buffer rotation angle is greater than the angle amplitude, the ratio of the angle amplitude to the buffer rotation angle can be calculated, and the specific value of the ratio rounded off can be considered to be the display angle interval corresponding to the time when the third-party sliding control stops, and the display angle interval corresponding to the interval angle value finally determined can be considered to be the angle interval to be determined.
[0114] The above technical scheme of this embodiment gives a specific process for determining the current display angle range in the passive rotation mode of the view. The angle range to be displayed determined in this way better realizes the free speed rotation of the target vehicle view during the display of the view following the third-party sliding control, as well as the buffer view rotation after the sliding control stops, thereby enriching the display form of the panoramic view of the target vehicle.
[0115] It should be noted that, unlike the existing method of directly rotating the three-dimensional model associated with the target vehicle to realize the display of the target vehicle at different viewing angles, this embodiment can realize the view display of the target vehicle by drawing the image frames to be displayed corresponding to the display angle interval.
[0116] It should be noted that the painting of image frames can be achieved through painting tools. Generally, the screen interface is displayed in frames, and the painting of image frames by painting tools is equivalent to forming a painting frame of the image frame; at the same time, considering that the image frame to be displayed corresponds to an angle range to be displayed, there is a certain rotation time when rotating in the angle range to be displayed, that is, it is equivalent to the display of an image frame. Multiple frames of painting are required to ensure that the angle range to be displayed is used to present the image content of the image frame to be displayed.
[0117] This embodiment is equivalent to decomposing the display of the image frame to be displayed in the display angle range into multiple drawing frames to be displayed, and each drawing frame to be displayed needs to be realized by drawing the image frame to be displayed through a drawing tool. In the realization of drawing the image frame to be displayed through the drawing tool, in order to ensure the smoothness of the drawing frame to be displayed formed by the drawing under the view display, it is necessary to ensure that the drawing timing is aligned with the frame event execution time of the execution device.
[0118] In this embodiment, the execution device can be considered as the execution subject of the method provided in this embodiment, and the frame event of the execution device can be considered as the drawing frame event of the execution device. In this embodiment, in order to achieve the alignment of the execution time of the drawing tool and the frame event of the execution device, the drawing frame event of the execution device can be monitored through this step to obtain the starting execution time of each drawing frame event, thereby satisfying the drawing of the image frame to be displayed in each drawing frame event by the drawing tool at the execution time of the drawing frame event, and finally the drawing frame to be displayed formed by the drawing can be displayed on the screen interface as the image frame to be displayed.
[0119] From the above description, it can be seen that the display of the image frame to be displayed is equivalent to the need to perform multiple frame drawing on the image frame to be displayed. In one implementation method of the multiple frame drawing, after the execution conditions of the drawing frame event are met and the drawing of the drawing frame to be displayed is completed, the execution time corresponding to the next drawing frame event can be directly monitored, so that the determined execution time of the next drawing frame event is used as the execution time of the new drawing frame to be displayed, so that after reaching the execution time of the new drawing frame to be displayed, the determined image frame to be displayed is drawn and displayed again.
[0120] In this step, the display area of the painting frame to be displayed formed by the painting is the picture display area, which can be considered as the display area for displaying the target vehicle view. The display area can be the entire screen interface or a set area on the screen interface.
[0121] As a second optional embodiment of this embodiment, based on the above embodiment, the specific implementation process of displaying the image frame to be displayed can be described as follows:
[0122] a2) obtaining the event execution time of the drawing event corresponding to the image frame to be displayed that is pre-monitored.
[0123] In this embodiment, the event execution time can be obtained by monitoring the drawing frame event in advance.
[0124] b2) After the event execution time is reached, the image frame to be displayed is painted and displayed based on the painting attribute information of the painting tool and the image data information of the image frame to be displayed.
[0125] In this embodiment, after the execution time of the execution logic reaches the execution time of the event, it is equivalent to achieving the time alignment of the frame event of the execution device and the painting event, so that the current image frame can be painted through this step. The painting attribute information of the painting tool may include the width information and height information of the painting frame to be formed, and may also include the device resolution information when the painting tool is running. The image data information may be the pixel information of the pixel points in the current image frame, such as color value and resolution. In this step, the painting tool can be used in combination with the acquired information required for painting to complete the painting of the painting frame event corresponding to the image frame to be displayed, thereby forming a display of the image frame to be displayed formed by the painting. The image frame to be displayed can be displayed in real time in the screen display area in the form of a global view display.
[0126] It should be noted that the event execution time needs to be monitored in advance. This embodiment can directly monitor the event execution time of the next drawing frame event after executing a drawing frame event, so as to continuously draw the image frame to be displayed within the corresponding rotation duration.
[0127] In this embodiment, the image frame is painted in the form of a painting frame event throughout the entire view display of the target vehicle. No matter what view rotation mode or different view display modes are in place, as long as there is a need to paint the image frame, the image frame painting needs to be implemented based on the above steps of this embodiment.
[0128] It should be noted that the time interval between two adjacent drawing frame events is not always constant. In the view rotation mode, if the rotation rate of the view rotation is adjusted, that is, the switching speed of the image frames presented in the display angle interval is adjusted, then the event execution time of the drawing frame event will also be adjusted accordingly. For example, when the rotation speed generated under the third-party sliding control is accelerated, the time interval between two adjacent drawing frame events is also shortened accordingly; the rotation speed generated in the buffering speed stage after the third-party sliding control stops gradually slows down, then the time interval between two adjacent drawing frame events is also lengthened accordingly. The specific event execution time of the drawing frame event can be predetermined by the monitoring step of this embodiment.
[0129] The above technical solution of this embodiment uses a painting tool to paint the image frame to replace the existing view display achieved by rotating the rotation angle of the three-dimensional model of the target vehicle. At the same time, in the painting of the image frame, the monitoring of the painting frame event is considered to ensure the alignment of the painting timing with the frame event execution time of the execution device. Through the above technical solution of this embodiment, the performance waste of computing resources is greatly reduced, and the problem of freeze and unsmooth view display is effectively solved.
[0130] As a third optional embodiment of this embodiment, based on the above embodiment, when the target object is a target vehicle, further optimization includes the following steps:
[0131] a3) in response to a door opening display operation triggered relative to the target vehicle, entering a door opening view display mode of the target vehicle, and performing a door opening view display according to a set door opening display strategy.
[0132] It should be noted that the third optional embodiment adds a panoramic view implementation operation in other view display modes to the provided method. The other view display mode is preferably a door opening view display mode, which can be entered by triggering the door display function item, or by touching or clicking the door displayed in the screen display area. This embodiment can analyze from the above trigger that there is currently a demand for opening the door display, which is equivalent to the need to perform the door opening operation.
[0133] By entering the door opening view display mode through this step, the door opening view display can be performed according to the door opening display strategy corresponding to the mode. The door opening display strategy can be used to limit the display execution logic of the door opening view display, and one display execution logic can be to display the door opening process as a slow-in and slow-out animation, such as starting the door opening display at a slower rotation speed and then gradually speeding up the display rotation speed, and after rotating to a certain display angle range, starting to reduce the display rotation speed and gradually maintaining the speed at a lower value to start uniform rotation, or directly reducing the rotation speed to 0 and then starting uniform rotation at a rotation speed.
[0134] In the implementation of the slow-in and slow-out animation using the car door display strategy in this embodiment, the rotation rate involved can be determined by the buffer parameters described above.
[0135] b3) After receiving the end trigger of the door opening view display, controlling the target vehicle to enter the view display in the automatic rotation mode.
[0136] In this embodiment, after entering a specific view display mode, the corresponding view display mode can also be exited according to the corresponding end trigger operation received. Exemplarily, after entering the door opening view display mode through the above steps, this step can be used to determine whether to exit the door opening view display.
[0137] Specifically, the end trigger of the door view display can be realized by directly triggering the door view display end control; or the end trigger can be automatically generated when it is detected that no other operation instructions are received after a set time length in the door view display. Based on the end trigger achieved in the above manner, this step can be used to directly enter the view automatic rotation mode and continue to display objects in this mode. At this time, the object display performed by the view automatic rotation mode can be the view automatic rotation display that continues to maintain the door open state, or it can be restored to the default state of the target vehicle (such as the door closed state) for view automatic rotation display.
[0138] In addition, if a related rotation operation of a third-party sliding control is detected in the door opening view display mode, the view passive rotation mode can be entered in response to the triggering of the third-party sliding control, and the view display of the target vehicle can continue in this mode. Similarly, the object display performed when entering the view passive rotation mode from the door opening view display mode can continue to maintain the view passive rotation display in the door opening state, or restore to the default state of the target vehicle for view passive rotation display.
[0139] It can be understood that the object display method provided in this embodiment is not limited to the above-mentioned view display mode mentioned in the embodiment, and it can also have the display of other functional items. For example, it can trigger the enlargement and display of a local image area of the image frame presented in the screen display area, and then display the enlarged high-definition image of the local image area.
[0140] The above technical solution of this embodiment provides a feature description of other display forms of object display, which better enriches the functional diversification of object display.
[0141] Further, as an implementation method of displaying the door opening view, the displaying of the door opening view according to the set door opening display strategy can be concretized as follows:
[0142] a31) acquiring a plurality of door-opening image frames captured when the target vehicle is in a door-opening state, each door-opening image frame corresponding to a different display angle interval.
[0143] In this embodiment, in the image capture stage, not only one shooting state image capture is performed relative to different display angle intervals, but also the image capture of the entire vehicle appearance, the image capture of the interior of the target vehicle, and the image capture of the target vehicle in the door opening state. Based on this, the door opening images captured relative to different display angle intervals in the door opening state can be obtained through this step.
[0144] In this embodiment, the following steps a32) and a33) provide an implementation method for displaying the door opening view according to the set door opening display strategy. In this implementation method, the image frame of the door opening state is required to rotate the view in a slow-in and slow-out form. The slow-in and slow-out under the view rotation can be achieved by giving different view rotation rates in different display angle intervals, so the view rotation rates corresponding to different display angle intervals can be determined first by the following step a32).
[0145] a32) determining a view rotation rate for rotating to different display angle intervals according to a predetermined buffer parameter and an average rotation speed.
[0146] In this embodiment, the slow-in and slow-out view display can be specifically described as follows: in a 360-degree view display, 180 degrees can be used as a segmentation threshold for the slow-in and slow-out, so that in the view rotation from 0 to 180 degrees, the view rotation rate is gradually accelerated, and the display angle interval corresponding to 180 degrees can be ensured to have a preset higher rotation rate, which can be a preset average rotation speed, and in the view rotation from 180 to 360 degrees, the view rotation rate is gradually decelerated, so that the display angle interval corresponding to 360 degrees has a relatively low rotation rate, or the rotation rate is directly reduced to 0.
[0147] In order to achieve the above-mentioned view rotation effect, this embodiment can determine different buffer parameters for different display angle intervals. Exemplarily, this embodiment can set the buffer parameter in the form of a power, wherein the power value can be an empirical value determined by training tests in different scenarios during the method design phase, and the power value is set to a constant value; wherein the base can be determined according to the number of display angle intervals divided by 360 degrees, such as when 360 degrees are divided into 36 display angle intervals, the ratio of 1 to 18 (half of 36) can be used as the growth step of the base. The base determines an initial value as the base value of the first display angle interval, and subsequently, when the display angle interval reaches 180 degrees and before, the base is based on the base corresponding to the previous display angle interval plus the growth step; the base of the display angle interval after 180 degrees is based on the base corresponding to the previous display angle interval minus the growth step.
[0148] Through the implementation method given above, a buffer parameter can be determined for each different display angle interval corresponding to 360 degrees. In this step, the product value of the buffer parameter and the set average rotation speed can be determined as the view rotation rate corresponding to the corresponding display angle interval.
[0149] Based on the view rotation speed of each display angle interval, the interval time for switching from the door opening image of the display angle interval to the door opening image of the next display angle interval can be determined. It can be found that the faster the view rotation speed, the shorter the interval time required for switching.
[0150] a33) During the rotation according to the rotation speed rate of each view, the door opening image frames to be displayed corresponding to different display angle intervals are displayed.
[0151] In this embodiment, the process of displaying the door opening view is equivalent to the process of rotating the view according to the view rotation speed rate corresponding to the above-mentioned display angle intervals. For each display angle interval, when it is used as the current display angle interval, the corresponding door opening image can be obtained. Therefore, this step can also monitor the drawing frame event to draw the door opening image corresponding to the current display angle interval. The drawing process is the same as the description in the above embodiment and will not be repeated here. Finally, the door opening image can be displayed in the screen display area in the form of a door opening state drawing frame.
[0152] To better understand the object display method provided in this embodiment, Figure 2 This is an example flow chart of the object display method provided by the embodiment of the present disclosure. Figure 2 As shown, the following is an exemplary process to illustrate the execution process of the object display method in practical application, wherein the target object is described by taking a target vehicle as an example, and specifically may include:
[0153] S1. Triggering the target vehicle's view display mode, and loading image frames captured in different panoramic display angle intervals.
[0154] S2: Is the loading completed? If not, execute step S3; if yes, execute step S4, S5 or S12.
[0155] S3, displaying the set loading animation on the screen interface and displaying the corresponding image frames in the set display angle range at the set resolution, and returning to continue executing S2.
[0156] S4. When the view rotation mode is the automatic view rotation mode, determine the angle interval to be displayed according to the comparison result of the determined rotation interval duration and the rotation duration, and execute step S8.
[0157] S5. When the view rotation mode is a view passive rotation mode, determine the current passive rotation stage.
[0158] S6. If the passive rotation stage is a third-party sliding control execution stage, determine the angle interval to be displayed according to the current sliding distance of the sliding track formed by the third-party sliding control, and execute step S8.
[0159] S7. If the passive rotation stage is a buffer rotation stage after the third-party sliding control stops, determine the angle interval to be displayed according to the sliding rate when the third-party sliding control stops, and execute step S8.
[0160] S8. Obtain the image frame to be displayed corresponding to the angle interval to be displayed.
[0161] S9, obtaining the event execution time of the drawing frame event corresponding to the image frame to be displayed that is pre-monitored.
[0162] S10. When the event execution time is reached, the image frame to be displayed is painted and displayed based on the painting attribute information of the painting tool and the image data information of the image frame to be displayed.
[0163] S11. Monitor the next event execution time of the next drawing frame event, take it as the event execution time of the new drawing frame event, return to step S4 or step S5, and re-execute the operation of determining the angle interval to be displayed until receiving the termination information of the view display or receiving the trigger of other view display modes.
[0164] S12: Entering a door opening view display mode in response to a triggered door opening operation, and performing door opening view display according to a set door opening display strategy.
[0165] S13: After receiving the end trigger of the door opening view display, enter the view automatic rotation mode to display the view of the target vehicle.
[0166] Figure 3 This is a schematic diagram of the structure of an object display device provided in an embodiment of the present disclosure. This embodiment can be applied to the case of a 360-degree panoramic view or partial interval angle value of a target object. The device can be implemented by software and / or hardware and can be configured in a terminal and / or server to implement the object display method in the embodiment of the present disclosure. The device can specifically include: a first display module 31 and a second display module 32.
[0167] The first display module 31 is used to trigger the entry into the view display mode of the target object and display an image frame of the target object; the image frame is an image frame in an image set, the image set includes multiple image frames corresponding to the target object, and each image frame corresponds to a different display angle interval;
[0168] The second display module 32 is used to respond to the view rotation instruction in the current view rotation mode, determine the image frame to be displayed from the image set based on the current display angle interval corresponding to the current display image frame and the rotation information in the view rotation mode, and display the image frame to be displayed.
[0169] The present embodiment provides an object display device, in which image frames of different display angle intervals are pre-photographed in 360 degrees in all directions for each target object to be displayed. Thus, the three-dimensional display effect of the existing three-dimensional model can be visually simulated by displaying image frames in different display angle intervals. The present technical solution eliminates the need to construct three-dimensional models for different objects, greatly reduces the cost and difficulty of object display, reduces the performance waste of computing resources, and effectively solves the problem of stuttering and unsmooth display of views. At the same time, in the object display implemented by the technical solution provided by the present embodiment, the image frames to be displayed currently required by the object can be determined according to the different current view rotation modes, that is, when the view rotation modes are different, the corresponding image frames to be displayed are also different, thereby enriching the display form of the object display and reflecting the diversified display of the panoramic view of the object.
[0170] Furthermore, the first display module 31 may specifically include:
[0171] An automatic display determination unit, configured to determine, when the view rotation mode is the automatic rotation mode, an angle interval to be displayed according to the current display angle interval and a uniform rotation rate corresponding to the automatic rotation mode;
[0172] A passive display determination unit, configured to determine the to-be-displayed angle interval according to the current display angle interval and a corresponding rotation stage in the passive rotation mode when the view rotation mode is the passive rotation mode;
[0173] The image display unit is used to determine the image frame corresponding to the angle interval to be displayed from the image set as the image frame to be displayed.
[0174] Furthermore, the automatic display determination unit may be specifically used for:
[0175] Determine the interval entry time of the current display angle interval, and determine the rotation duration of the current display angle interval according to the uniform rotation rate;
[0176] Determine the time interval from the response execution time to the interval entry time as the rotation interval length;
[0177] If the rotation interval is shorter than the rotation duration, maintaining the current display angle interval as the to-be-displayed angle interval;
[0178] If the rotation interval duration reaches the rotation duration, the angle interval to be displayed is determined according to the interval angle value of the current display angle interval and the set rotation step.
[0179] Furthermore, the passive display determination unit may specifically include:
[0180] An angle determination subunit, used to determine the interval angle value of the current display angle interval;
[0181] The first determining subunit is used to determine the angle interval to be displayed according to the interval angle value combined with the current sliding distance of the sliding track formed by the third-party sliding control when the passive rotation mode corresponds to the third-party sliding control execution stage.
[0182] The second determining subunit is used to determine the angle interval to be displayed according to the interval angle value combined with the sliding rate when the third-party sliding control stops, corresponding to the buffering rotation stage after the third-party sliding control stops in the passive rotation mode.
[0183] Furthermore, the first determining subunit may be specifically used for:
[0184] Determining the current sliding distance according to the sliding coordinate points associated with the sliding track formed by the third-party sliding control;
[0185] Determining the sliding rotation angle corresponding to the current sliding distance according to preset distance-angle mapping information;
[0186] If the sliding rotation angle is less than the set angle threshold, maintaining the current display angle interval as the to-be-displayed angle interval;
[0187] If the sliding rotation angle is greater than or equal to the set angle threshold, the angle interval to be displayed is determined according to the interval angle value of the current display angle interval and the set rotation step.
[0188] Furthermore, the second determining subunit may be specifically used for:
[0189] Acquire the sliding speed and sliding stop direction corresponding to the third-party sliding control stop time, and determine the time interval from the third-party sliding control stop time to the response execution time;
[0190] Determining a buffer acceleration value according to the sliding rate and a predetermined buffer parameter;
[0191] determining the buffer rotation angle according to the buffer acceleration value and the time interval;
[0192] The angle interval to be displayed is determined according to the interval angle value and the buffer rotation angle.
[0193] Furthermore, the condition that the view rotation mode is the automatic rotation mode includes: receiving a trigger operation for the view automatic rotation function item; or not detecting the use of other view rotation modes within a set interval time;
[0194] The condition that the view rotation mode is a passive rotation mode includes: detecting that a third-party sliding control exists in the screen display area for displaying image frames.
[0195] Furthermore, the step of the second display module performing display of the image frame to be displayed may include:
[0196] Acquire the event execution time of the drawing event corresponding to the image frame to be displayed that is pre-monitored;
[0197] After the event execution time is reached, the image frame to be displayed is painted and displayed based on the painting attribute information of the painting tool and the image data information of the image frame to be displayed.
[0198] Furthermore, the device may also include:
[0199] A door opening view module is used for, when the target object is a target vehicle, responding to an opening door display operation triggered relative to the target vehicle, entering an opening door view display mode of the target vehicle, and performing an opening door view display according to a set opening door display strategy;
[0200] The view display module is used to control the target vehicle to enter the view display in the automatic rotation mode after receiving the end trigger of the door opening view display.
[0201] Furthermore, the door opening view module can be specifically used for:
[0202] Acquire multiple door-opening image frames captured when the target vehicle is in the door-opening state, each door-opening image frame corresponding to a different display angle interval;
[0203] Determining a view rotation rate for rotating to different display angle intervals according to a predetermined buffer parameter and an average rotation speed;
[0204] In the process of rotating according to the rotation speed rate of each view, the door opening image frames to be displayed corresponding to different display angle intervals are displayed.
[0205] The above-mentioned device can execute the method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0206] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0207] Figure 4 This is a schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure. Figure 4 , which shows a computer device (eg, Figure 4 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The computer device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0208] like Figure 4 As shown, the computer device 40 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 41, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 42 or a program loaded from a storage device 48 into a random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the computer device 40 are also stored. The processing device 41, the ROM 42, and the RAM 43 are connected to each other via a bus 45. An edit / output (I / O) interface 44 is also connected to the bus 45.
[0209] Typically, the following devices may be connected to the I / O interface 44: input devices 46 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 47 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 48 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 49. The communication devices 49 may allow the computer device 40 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The computer device 40 is shown with various devices, but it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have instead.
[0210] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 49, or installed from the storage device 48, or installed from the ROM 42. When the computer program is executed by the processing device 41, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0211] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0212] The computer device provided in the embodiment of the present disclosure and the object display method provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0213] An embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the object display method provided by the above embodiment is implemented.
[0214] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0215] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0216] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0217] The computer-readable medium may be included in the computer device, or may exist independently without being incorporated into the computer device.
[0218] The computer-readable medium carries one or more programs. When the one or more programs are executed by the computer device, the computer device:
[0219] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may 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 may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0220] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0221] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0222] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0223] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0224] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0225] In addition, although each operation is described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or to be performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0226] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. An object display method, characterized in that: include: Triggering to enter a view display mode of a target object, and displaying an image frame of the target object; the image frame is an image frame in an image set, the image set includes a plurality of image frames corresponding to the target object, and each image frame corresponds to a different display angle interval; In response to a view rotation instruction in the current view rotation mode, based on a current display angle interval corresponding to a current display image frame and rotation information in the view rotation mode, a to-be-displayed image frame is determined from the image set, and the to-be-displayed image frame is displayed.
2. The method according to claim 1, characterized in that: The determining the image frame to be displayed from the image set based on the current display angle interval corresponding to the current display image frame in combination with the rotation information corresponding to the view rotation mode includes: In the case where the view rotation mode is the automatic rotation mode, determining the angle interval to be displayed according to the current display angle interval and the uniform rotation rate corresponding to the automatic rotation mode; In the case where the view rotation mode is a passive rotation mode, determining the to-be-displayed angle interval according to the current display angle interval and the corresponding rotation stage in the passive rotation mode; An image frame corresponding to the angle interval to be displayed is determined from the image set as the image frame to be displayed.
3. The method according to claim 2, characterized in that The determining the angle interval to be displayed according to the current display angle interval and the uniform rotation rate corresponding to the automatic rotation mode includes: Determine the interval entry time of the current display angle interval, and determine the rotation duration of the current display angle interval according to the uniform rotation rate; Determine the time interval from the response execution time to the interval entry time as the rotation interval length; If the rotation interval is shorter than the rotation duration, maintaining the current display angle interval as the to-be-displayed angle interval; If the rotation interval duration reaches the rotation duration, the angle interval to be displayed is determined according to the interval angle value of the current display angle interval and the set rotation step.
4. The method according to claim 2, characterized in that: The determining the to-be-displayed angle interval according to the current display angle interval and the corresponding rotation stage in the passive rotation mode includes: Determine an interval angle value of the current display angle interval; When the passive rotation mode corresponds to the third-party sliding control execution stage, the angle interval to be displayed is determined according to the interval angle value combined with the current sliding distance of the sliding track formed by the third-party sliding control; In the passive rotation mode, which corresponds to the buffer rotation stage after the third-party sliding control stops, the angle interval to be displayed is determined according to the interval angle value combined with the sliding rate when the third-party sliding control stops.
5. The method according to claim 4, characterized in that The determining the angle interval to be displayed according to the interval angle value combined with the current sliding distance of the sliding track formed by the third-party sliding control includes: Determining the current sliding distance according to the sliding coordinate points associated with the sliding track formed by the third-party sliding control; Determining the sliding rotation angle corresponding to the current sliding distance according to preset distance-angle mapping information; If the sliding rotation angle is less than the set angle threshold, maintaining the current display angle interval as the to-be-displayed angle interval; If the sliding rotation angle is greater than or equal to the set angle threshold, the angle interval to be displayed is determined according to the interval angle value of the current display angle interval and the set rotation step.
6. The method according to claim 4, characterized in that The determining the angle interval to be displayed according to the interval angle value combined with the sliding speed when the third-party sliding control stops includes: Acquire the sliding speed and sliding stop direction corresponding to the third-party sliding control stop time, and determine the time interval from the third-party sliding control stop time to the response execution time; Determining a buffer acceleration value according to the sliding rate and a predetermined buffer parameter; determining the buffer rotation angle according to the buffer acceleration value and the time interval; The angle interval to be displayed is determined according to the interval angle value and the buffer rotation angle.
7. The method according to any one of claims 1 to 6, characterized in that: The condition that the view rotation mode is the automatic rotation mode includes: receiving a trigger operation for the view automatic rotation function item; or not detecting the use of other view rotation modes within a set interval; The condition that the view rotation mode is a passive rotation mode includes: detecting that a third-party sliding control exists in the screen display area for displaying image frames.
8. The method according to claim 1, characterized in that The displaying of the image frame to be displayed comprises: Acquire the event execution time of the drawing event corresponding to the image frame to be displayed that is pre-monitored; After the event execution time is reached, the image frame to be displayed is painted and displayed based on the painting attribute information of the painting tool and the image data information of the image frame to be displayed.
9. The method according to claim 1, characterized in that: When the target object is a target vehicle, the method further includes: In response to a door opening display operation triggered relative to the target vehicle, entering a door opening view display mode of the target vehicle, and performing door opening view display according to a set door opening display strategy; After receiving the end trigger of the door opening view display, the target vehicle is controlled to enter the view display in the automatic rotation mode.
10. The method according to claim 9, characterized in that The display of the door opening view according to the set door opening display strategy includes: Acquire multiple door-opening image frames captured when the target vehicle is in the door-opening state, each door-opening image frame corresponding to a different display angle interval; Determining a view rotation rate for rotating to different display angle intervals according to a predetermined buffer parameter and an average rotation speed; In the process of rotating according to the rotation speed rate of each view, the door opening image frames to be displayed corresponding to different display angle intervals are displayed.
11. An object display device, characterized in that: include: A first display module, used to trigger entering a view display mode of a target object and display an image frame of the target object; The image frame is an image frame in an image set, the image set includes a plurality of image frames corresponding to the target object, and each image frame corresponds to a different display angle interval; The second display module is used to respond to the view rotation instruction in the current view rotation mode, determine the image frame to be displayed from the image set based on the current display angle interval corresponding to the current display image frame and the rotation information in the view rotation mode, and display the image frame to be displayed.
12. A computer device, characterized in that: The computer device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the object display method as described in any one of claims 1-10.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the object display method as described in any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Space-air-earth-integrated situation expression engine and engine viewpoint control method with inertia
CN103605424A
Method and device for displaying 3D model in WeChat applet
CN111176530A
Virtual prop display method, computer equipment and storage medium
CN111589132A
Geo-Tagging Digital Images
US20130018881A1