Virtual reality scene preview method and device, equipment and medium

By adding and binding annotation marks in the virtual reality scene preview interface, the problem of high professional knowledge barriers in virtual reality scene preview is solved, and the effects of simplifying development and improving display efficiency are achieved.

CN120599181APending Publication Date: 2025-09-05CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510576333.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

In existing technologies, virtual reality scene previews require developers to have professional knowledge in graphics and 3D rendering, resulting in high professional barriers and long R&D cycles, making it difficult to reduce the difficulty of developing virtual reality scene display functions.

Method used

By displaying the virtual reality scene preview interface, in response to the user's annotation operation, an annotation identifier is added in the virtual reality scene, and the corresponding annotation indication information, including the scene ID or environment description information, is bound. The user can display the annotation information or switch to the corresponding virtual reality scene through the trigger operation.

Benefits of technology

It reduces the difficulty of developing virtual reality scene display functions, improves the efficiency and accuracy of virtual reality scene display, and simplifies the business development process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120599181A_ABST
    Figure CN120599181A_ABST
Patent Text Reader

Abstract

The invention provides a virtual reality scene previewing method and device, equipment and a medium, and belongs to the field of image processing, and the method comprises the steps: displaying a virtual reality scene previewing interface, the virtual reality scene previewing interface comprises a virtual reality scene, and the virtual reality scene is obtained by rendering a panoramic image through a preset image rendering engine; in response to a labeling operation of a user on the virtual reality scene, adding a corresponding labeling identifier in the virtual reality scene and binding corresponding labeling indication information to the labeling identifier, the labeling indication information comprising a scene ID or environment description information; and in response to the trigger operation of the user on the annotation identifier as the first trigger operation, displaying environment description information bound with the annotation identifier or switching the virtual reality scene into a virtual reality scene corresponding to the scene ID bound with the annotation identifier. According to the invention, the development difficulty of the virtual reality scene display function business is greatly reduced. The method can be applied to the financial field, and the convenience of financial product display is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a virtual reality scene preview method, device, equipment, and medium. Background Art

[0002] With the advancement of technology, virtual reality (VR) is increasingly being used in finance and property security. For example, users can use VR to view properties, and rental companies can showcase properties for rent. Currently, VR previews require developers to implement them in back-end systems using the three.js graphics processing plug-in. However, this approach requires specialized knowledge in graphics and 3D rendering, resulting in high technical barriers and long development cycles.

[0003] Therefore, how to lower the technical threshold for virtual reality scene development and reduce the difficulty of developing virtual reality scene display function business is an urgent problem to be solved. Summary of the Invention

[0004] The main purpose of this application is to provide a virtual reality scene preview method, device, equipment and medium, aiming to reduce the difficulty of developing virtual reality scene display function services.

[0005] In a first aspect, the present application provides a virtual reality scene preview method, the virtual reality scene preview method comprising the following steps:

[0006] Displaying a virtual reality scene preview interface, wherein the virtual reality scene preview interface includes a virtual reality scene, and the virtual reality scene is obtained by rendering a panoramic image with a preset image rendering engine;

[0007] In response to a user's annotation operation on the virtual reality scene, adding a corresponding annotation identifier in the virtual reality scene and binding corresponding annotation indication information to the annotation identifier, wherein the annotation indication information includes a scene ID or environment description information;

[0008] In response to the user's triggering operation on the annotation identifier being a first triggering operation, the environment description information bound to the annotation identifier is displayed or the virtual reality scene is switched to a virtual reality scene corresponding to the scene ID bound to the annotation identifier.

[0009] In a second aspect, the present application further provides a virtual reality scene preview device, the virtual reality scene preview device comprising a display module and a marking operation module, wherein:

[0010] The display module is used to display a virtual reality scene preview interface, wherein the virtual reality scene preview interface includes a virtual reality scene, and the virtual reality scene is obtained by rendering a panoramic image with a preset image rendering engine;

[0011] The annotation operation module is configured to, in response to a user's annotation operation on the virtual reality scene, add a corresponding annotation identifier in the virtual reality scene and bind corresponding annotation indication information to the annotation identifier, wherein the annotation indication information includes a scene ID or environment description information;

[0012] The display module is used to display the environment description information bound to the annotation identifier or switch the virtual reality scene to the virtual reality scene corresponding to the scene ID bound to the annotation identifier in response to the user's triggering operation on the annotation identifier being the first triggering operation.

[0013] In a third aspect, the present application also provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the virtual reality scene preview method as described above are implemented.

[0014] In a fourth aspect, the present application also provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the virtual reality scene preview method as described above are implemented.

[0015] The present application provides a virtual reality scene preview method, apparatus, device, and medium. The present application displays a virtual reality scene preview interface, the virtual reality scene preview interface including a virtual reality scene, which is obtained by rendering a panoramic image using a preset image rendering engine. In response to a user's annotation operation on the virtual reality scene, a corresponding annotation identifier is added to the virtual reality scene and corresponding annotation indication information is bound to the annotation identifier. The annotation indication information includes a scene ID or environment description information. In response to a user triggering operation on the annotation identifier as a first triggering operation, the environment description information bound to the annotation identifier is displayed, or the virtual reality scene is switched to the virtual reality scene corresponding to the scene ID bound to the annotation identifier. In the present application, upon receiving a annotation operation on the virtual reality scene, a corresponding annotation identifier is added to the virtual reality scene and corresponding annotation indication information is bound to the annotation identifier. Upon receiving the first triggering operation on the annotation identifier, the environment description information bound to the annotation identifier is displayed, or the virtual reality scene is switched to the virtual reality scene corresponding to the scene ID bound to the annotation identifier. This implementation of the virtual reality scene display function is achieved by adding the annotation identifier, significantly reducing the difficulty of developing the virtual reality scene display function. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0017] Figure 1 A flowchart of a virtual reality scene preview method provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of a scene for implementing the virtual reality scene preview method provided in this embodiment;

[0019] Figure 3 for Figure 1 A schematic diagram of the sub-step flow of the virtual reality scene preview method in FIG.

[0020] Figure 4 for Figure 1 A schematic diagram of the sub-step flow of the virtual reality scene preview method in FIG.

[0021] Figure 5 A schematic block diagram of a virtual reality scene preview device provided in an embodiment of the present application;

[0022] Figure 6 for Figure 5 A schematic block diagram of the submodules of the virtual reality scene preview device;

[0023] Figure 7 A schematic block diagram of the structure of a computer device provided in an embodiment of the present application.

[0024] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0026] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined, or partially merged, so the actual execution order may vary depending on the actual situation.

[0027] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use knowledge to achieve optimal results.

[0028] Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interaction systems, and mechatronics. AI software technologies primarily encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0029] With the advancement of technology, virtual reality (VR) scenarios are increasingly being used in the property security field. For example, users can use VR to view properties. Currently, VR scene previews require developers to implement them in back-end systems using the three.js graphics processing plug-in. However, this approach requires specialized knowledge in graphics and 3D rendering, resulting in high technical barriers and long development cycles.

[0030] To address the above-mentioned issues, embodiments of the present application provide a virtual reality scene preview method, apparatus, device, and medium. The virtual reality scene preview method includes: displaying a virtual reality scene preview interface, the virtual reality scene preview interface including a virtual reality scene, the virtual reality scene being rendered by a preset image rendering engine on a panoramic image; in response to a user's annotation operation on the virtual reality scene, adding a corresponding annotation identifier to the virtual reality scene and binding corresponding annotation indication information to the annotation identifier, the annotation indication information including a scene ID or environment description information; and in response to a user triggering operation on the annotation identifier being a first triggering operation, displaying the environment description information bound to the annotation identifier or switching the virtual reality scene to the virtual reality scene corresponding to the scene ID bound to the annotation identifier.

[0031] Among them, the virtual reality scene preview method can be applied to computer devices, which can be electronic devices such as mobile phones, tablet computers, laptops, desktop computers, personal digital assistants and wearable devices.

[0032] The following describes some embodiments of the present application in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.

[0033] Please refer to Figure 1 , Figure 1 A flowchart of a virtual reality scene preview method provided in an embodiment of the present application.

[0034] like Figure 1 As shown, the virtual reality scene preview method includes steps S101 to S103.

[0035] Step S101: Display a virtual reality scene preview interface, where the virtual reality scene preview interface includes a virtual reality scene, which is obtained by rendering a panoramic image using a preset image rendering engine.

[0036] The virtual reality scene preview interface includes a virtual reality scene, which is obtained by rendering a panoramic image using a preset image rendering engine. The preset image rendering engine can be selected based on actual conditions and is not specifically limited in this embodiment of the present application. For example, the preset image rendering engine can be the pannellum.js image rendering engine.

[0037] It should be noted that the virtual reality scene preview interface is an image interface displayed on the display screen of a display device. The virtual reality scene preview interface includes a virtual reality scene. The virtual reality scene is obtained by capturing an image of a real scene to obtain a panoramic image, and then rendering the panoramic image using a preset image rendering engine to obtain the virtual reality scene. The display device can be selected according to actual circumstances and is not specifically limited in the embodiments of this application. For example, the display device can be a monitor, a mobile phone, a computer, etc.

[0038] In some embodiments, a panoramic image set to be rendered is obtained, the panoramic image set including at least one panoramic image; a preset image rendering engine is invoked to render the panoramic images in the panoramic image set to obtain a virtual reality scene, and a virtual reality scene preview interface is displayed. Using the preset image rendering engine to render the panoramic images accurately yields a virtual reality scene.

[0039] Exemplarily, the panoramic image set to be rendered for the scene includes a first-direction image, a second-direction image, a third-direction image, a fourth-direction image, a fifth-direction image, and a sixth-direction image of the room; a preset image rendering engine is called to render the first-direction image, the second-direction image, the third-direction image, the fourth-direction image, the fifth-direction image, and the sixth-direction image to obtain a virtual reality scene of the room. The virtual reality scene of the room can be rotated to view images at different positions. The first, second, third, fourth, fifth, and sixth directions can be set according to actual conditions and are not specifically limited in the embodiments of the present application. For example, at any point in the room and with that point as a reference, the first direction is the front view direction, the second direction is the left-to-right direction, the third direction is the right-to-left direction, the fourth direction is the top view direction, the fifth direction is the top view direction, and the sixth direction is the rear view direction.

[0040] Step S102: In response to the user's annotation operation on the virtual reality scene, a corresponding annotation identifier is added in the virtual reality scene and corresponding annotation indication information is bound to the annotation identifier, where the annotation indication information includes a scene ID or environment description information.

[0041] Among them, the annotation identifier is a clickable identification icon, and the annotation identifier is bound to corresponding annotation indication information, which includes a scene ID or environment description information. For example, in a house viewing scenario, the scene ID can be a room name and apartment name, etc., and the environment description information can be the description information of the room, and the description information of the room includes but is not limited to the length, width and area of ​​the room, etc.

[0042] It should be noted that a scene operation bar is displayed in the virtual reality scene preview interface, and the scene operation bar includes multiple operation options. Clicking an operation option can perform the corresponding operation, wherein the operation options include but are not limited to an annotation adding option, an annotation modifying option, and an annotation deleting option, etc. The annotation adding option is used to add a corresponding annotation identifier in the virtual reality scene and bind the annotation indication information to the annotation identifier; the annotation modifying option is used to modify the annotation identifier in the virtual reality scene; and the annotation deleting option is used to delete the annotation identifier in the virtual reality scene.

[0043] For example, Figure 2 As shown, Figure 2 It is a virtual reality scene preview interface 10. The scene operation bar on the left side of the virtual reality scene preview interface 10 includes a annotation adding option 11, an annotation modifying option 12 and an annotation deleting option 13. The user can implement the first trigger operation by clicking an option in the scene operation bar.

[0044] In some embodiments, as Figure 3As shown, step S102 includes sub-steps S1021 to S1024.

[0045] Sub-step S1021: In response to the user triggering operation on the virtual reality scene being a second triggering operation, a scene operation bar is displayed in the virtual reality scene preview interface, and the scene operation bar includes a annotation adding option.

[0046] Among them, the second trigger operation is a marking operation triggered by the user on the virtual reality scene. The second trigger operation can be selected according to actual conditions. The embodiment of the present application does not make specific limitations on this. For example, the second trigger operation is: the user clicks the function menu in the virtual reality scene and selects the marking operation option, thereby completing the second trigger operation.

[0047] In some embodiments, in response to a user triggering a VR scene as a second triggering operation, the VR scene enters annotation mode, and a scene operation bar is displayed in the VR scene preview interface. The scene operation bar includes an option to add annotations. Displaying the scene operation bar in the VR scene preview interface can effectively improve the efficiency of adding annotations.

[0048] For example, a user uses a laptop computer and controls the cursor with a mouse to move within a virtual reality scene on the laptop computer's display screen. When the user right-clicks the mouse to bring up a function menu and controls the mouse to select an annotation operation option in the function menu, the virtual reality scene enters an annotation mode, and a scene operation bar is displayed in the virtual reality scene preview interface.

[0049] Sub-step S1022: In response to the user's selection operation of the annotation adding option, obtaining the trigger position of the second trigger operation in the virtual reality scene, and displaying the annotation configuration window of the virtual reality scene.

[0050] The trigger position is the position where the annotation mark is added, and the annotation configuration window is used to collect the annotation configuration information input by the user.

[0051] In some embodiments, in response to a user selecting the Add Annotation option, a trigger location of a second trigger operation within the virtual reality scene is obtained, and a annotation configuration window for the virtual reality scene is displayed. When the user selects the Add Annotation option, the annotation configuration window for the virtual reality scene is displayed at the trigger location of the second trigger operation, facilitating user input of annotation configurations.

[0052] Exemplarily, the user controls the cursor with the mouse to select the annotation adding option in the scene operation bar on the display screen of the laptop computer, and clicks OK to trigger the selection operation of the annotation adding option, obtains the trigger position of the second trigger operation in the virtual reality scene, and displays the annotation configuration window of the virtual reality scene at the trigger position, so that the user can enter the annotation configuration in the annotation configuration window.

[0053] Sub-step S1023: obtaining annotation configuration information input by the user based on the annotation configuration interface, wherein the annotation configuration information includes an annotation identification style and annotation indication information.

[0054] The annotation configuration information includes an annotation style and annotation indication information. The annotation style is the shape of the annotation, such as a circle or arrow. The annotation indication information is used to indicate the function of the annotation. For example, the annotation indication information may include environmental information indication information and scene switching indication information. The environmental information indication information is used to display environmental information of the currently displayed virtual reality scene, including but not limited to the area size of the virtual reality scene and displayed items. The scene switching indication information is used to implement switching of virtual reality scenes.

[0055] In some embodiments, the annotation configuration information input by the user based on the annotation configuration interface is obtained, so that the annotation configuration information can be accurately obtained.

[0056] Exemplarily, the function implemented by the annotation mark is the jump of the virtual reality scene. The user enters the annotation mark style as an arrow in the annotation configuration interface, and the annotation indication information is the scene ID of the target virtual reality scene to jump to.

[0057] Exemplarily, the function implemented by the annotation mark is the environmental information of the virtual reality scene. The user enters the annotation mark style as a circle in the annotation configuration interface, and the annotation indicates specific information of the environmental information.

[0058] Sub-step S1024: adding a corresponding annotation mark in the virtual reality scene according to the annotation mark style and the trigger position, and binding the annotation indication information to the annotation mark.

[0059] In some embodiments, a document object model (DOM) is created for the annotation to be added based on the annotation style and trigger location. The DOM is then transmitted to a preset image rendering engine, and the annotation generated by the preset image rendering engine based on the DOM is added to the virtual reality scene. The DOM is rendered by the preset image rendering engine, accurately obtaining the annotation.

[0060] In some embodiments, a document object model for the annotation to be added may be created based on the annotation style and trigger position by creating an empty document object model for the annotation to be added, and storing the annotation style and trigger position in the empty document object model to obtain a document object model, wherein the empty document object model may be a DOM element model. By storing the annotation style and trigger position in the empty document object model, the annotation style and trigger position can be effectively transmitted to a preset image rendering engine, greatly improving the accuracy of adding the annotation.

[0061] In some embodiments, a method for adding a markup marker generated by a preset image rendering engine based on a document object model to a virtual reality scene may include: the preset image rendering engine determines a markup marker to be rendered based on a trigger position in the document object model, renders the markup marker in the virtual reality scene according to a markup marker style, and binds markup indication information to the markup marker. By rendering the document object model using the preset image rendering engine, the markup marker can be accurately added to the virtual reality scene.

[0062] In some embodiments, as Figure 4 As shown, step S102 includes sub-steps S1025 to S1028.

[0063] Sub-step S1025: In response to the user's triggering operation on the annotation mark being the second triggering operation, a scene operation bar is displayed in the virtual reality scene preview interface, and the scene operation bar includes an annotation modification option.

[0064] In some embodiments, in response to a user triggering a VR scene as a second triggering operation, the VR scene enters annotation mode, and a scene operation bar is displayed in the VR scene preview interface. The scene operation bar includes annotation modification options. Displaying the scene operation bar in the VR scene preview interface can effectively improve the efficiency of modifying annotation identifiers.

[0065] For example, a user uses a laptop computer and controls the cursor with a mouse to move within a virtual reality scene on the laptop computer's display screen. When the user controls the mouse to click on the annotation mark to be modified, and right-clicks to bring up a function menu, and controls the mouse to select the annotation modification option in the function menu, the virtual reality scene enters the annotation mode, and the scene operation bar is displayed in the virtual reality scene preview interface.

[0066] Sub-step S1026: In response to the user selecting the annotation modification option, displaying the annotation configuration window of the virtual reality scene.

[0067] In some embodiments, in response to a user selecting a modification option, a marker for the annotation to be modified selected by the second triggering operation within the virtual reality scene is retrieved, and a marker configuration window for the virtual reality scene is displayed. When the user selects the modification option, the marker configuration window for the virtual reality scene is displayed at the location of the marker for the annotation to be modified that triggered the second triggering operation, facilitating user input of a marker configuration.

[0068] For example, the user controls the cursor by the mouse to move within the virtual reality scene on the display screen of the laptop computer. When the user controls the mouse to click the annotation mark to be modified, and right-clicks to bring up the function menu, and controls the mouse to select the annotation modification option in the function menu, the virtual reality scene enters the annotation mode, and the virtual reality scene annotation configuration window is displayed, so that the user can enter the annotation configuration in the annotation configuration window.

[0069] Sub-step S1027: obtaining new annotation configuration information input by the user based on the annotation configuration interface.

[0070] In some embodiments, obtaining new annotation configuration information input by the user based on the annotation configuration interface can accurately obtain updated annotation configuration information.

[0071] For example, the label indication information in the current label configuration information of the label identification to be modified is that the area of ​​the room is 5 square meters, and the new label configuration information is that the area of ​​the room is 4 square meters.

[0072] Sub-step S1028: Modify the annotation identifier in the virtual reality scene according to the new annotation configuration information.

[0073] In some embodiments, a document object model (DOM) of the annotation to be modified is created based on the annotation style and the annotation to be modified. The DOM is then transmitted to a preset image rendering engine, and the annotation generated by the preset image rendering engine based on the DOM is updated within the virtual reality scene. The DOM is rendered by the preset image rendering engine to accurately obtain the annotation.

[0074] In some embodiments, based on the annotation identifier style and the annotation identifier to be modified, a document object model for the annotation identifier to be modified may be created by creating an empty document object model for the annotation identifier to be modified, and storing the annotation identifier style and the annotation identifier to be modified in the empty document object model to obtain the document object model, wherein the empty document object model may be a DOM element model. By storing the annotation identifier style and the annotation identifier to be modified in the empty document object model, the annotation identifier style and the annotation identifier to be modified can be effectively transmitted to a preset image rendering engine, greatly improving the accuracy of annotation identifier modification.

[0075] In some embodiments, updating a markup generated by a preset image rendering engine based on a document object model within a virtual reality scene may include: the preset image rendering engine determines the location of the markup to be modified based on the markup in the document object model, renders the updated markup within the virtual reality scene based on the markup style, and binds the markup indication information to the updated markup. By rendering the document object model using the preset image rendering engine, the markup can be accurately added within the virtual reality scene.

[0076] In some embodiments, the scene operation bar includes a delete annotation option. In response to a user triggering the annotation as the second triggering operation, after the scene operation bar is displayed in the virtual reality scene preview interface, the user selects the delete annotation option to delete the annotation within the virtual reality scene. By selecting the delete annotation option, the annotation can be accurately deleted.

[0077] In some embodiments, in response to the user's selection operation of the annotation deletion option, the annotation identifier in the virtual reality scene is deleted in the following manner: in response to the annotation identifier selected by the user and in response to the user's selection operation of the annotation deletion option, the annotation identifier in the virtual reality scene is deleted.

[0078] In some embodiments, in response to a user-triggered save instruction, annotation information is added to the three-dimensional image based on the position information of the annotation identifier within the virtual reality scene and the annotation indication information to obtain a target three-dimensional image. In response to the user-triggered save instruction, annotation information is added to the three-dimensional image to obtain a target three-dimensional image, thereby facilitating display of the virtual reality scene.

[0079] Step S103: In response to the user triggering operation on the annotation identifier being a first triggering operation, displaying the environment description information bound to the annotation identifier or switching the virtual reality scene to a virtual reality scene corresponding to the scene ID bound to the annotation identifier.

[0080] The first triggering operation is a user touching the annotated marker, which can display the environment description information associated with the annotated marker or switch the virtual reality scene to the virtual reality scene corresponding to the scene ID associated with the annotated marker. The scene ID is the name of the virtual reality scene, for example, the scene ID is Room 305 of Unit 1.

[0081] In some embodiments, in response to a user triggering an annotation as a first triggering operation, the environment description information associated with the annotation is displayed. By performing the first triggering operation on the annotation, the environment description information associated with the annotation can be accurately displayed, greatly improving the efficiency and accuracy of the virtual reality scene display.

[0082] For example, a user needs to view the area of ​​a room in a virtual reality scene. The user clicks on the label 1 in the virtual reality scene with the mouse. The environment description information bound to the label 1 is area viewing. The area information of the room bound to the label 1 is displayed in the virtual reality scene as 5 square meters.

[0083] In some embodiments, in response to a user triggering a label as a first triggering operation, the virtual reality scene corresponding to the scene ID bound to the label is displayed. By performing the first triggering operation on the label, the virtual reality scene corresponding to the scene ID bound to the label can be accurately displayed, greatly improving the efficiency and accuracy of the virtual reality scene display.

[0084] For example, the virtual reality scene preview interface currently displays the virtual reality scene of apartment type A. When the user needs to view the virtual reality scene of apartment type B, the user clicks on the marked mark 2 in the virtual reality scene with the mouse. The marked mark 2 is bound to the virtual reality scene switching to apartment type B, and apartment type B is displayed in the virtual reality scene.

[0085] The virtual reality scene preview method provided in the above embodiment displays a virtual reality scene preview interface, the virtual reality scene preview interface including a virtual reality scene, the virtual reality scene being rendered by a preset image rendering engine on a panoramic image; in response to a user's annotation operation on the virtual reality scene, adds a corresponding annotation identifier to the virtual reality scene and binds corresponding annotation indication information to the annotation identifier, the annotation indication information including a scene ID or environment description information; and in response to a user triggering operation on the annotation identifier as a first triggering operation, displays the environment description information bound to the annotation identifier or switches the virtual reality scene to the virtual reality scene corresponding to the scene ID bound to the annotation identifier. In the present application, upon receiving a annotation operation on the virtual reality scene, adds a corresponding annotation identifier to the virtual reality scene and binds corresponding annotation indication information to the annotation identifier, and upon receiving the first triggering operation on the annotation identifier, displays the environment description information bound to the annotation identifier or switches the virtual reality scene to the virtual reality scene corresponding to the scene ID bound to the annotation identifier. By adding the annotation identifier, the virtual reality scene display function service can be implemented, greatly reducing the difficulty of developing the virtual reality scene display function service.

[0086] See also Figure 5 , Figure 5 A schematic block diagram of a virtual reality scene preview device provided in an embodiment of the present application.

[0087] like Figure 5 As shown, the virtual reality scene preview device 200 includes a display module 210 and a marking operation module 220, wherein:

[0088] The display module 210 is used to display a virtual reality scene preview interface, wherein the virtual reality scene preview interface includes a virtual reality scene, which is obtained by rendering a panoramic image with a preset image rendering engine;

[0089] The annotation operation module 220 is configured to, in response to a user's annotation operation on the virtual reality scene, add a corresponding annotation identifier in the virtual reality scene and bind corresponding annotation indication information to the annotation identifier, wherein the annotation indication information includes a scene ID or environment description information;

[0090] The display module 210 is used to display the environment description information bound to the annotation identifier or switch the virtual reality scene to the virtual reality scene corresponding to the scene ID bound to the annotation identifier in response to the user's triggering operation on the annotation identifier being the first triggering operation.

[0091] In some embodiments, as Figure 6 As shown, the annotation operation module 220 includes a response module 221, an acquisition module 222 and an addition module 223, wherein:

[0092] The response module 221 is configured to display a scene operation bar in the virtual reality scene preview interface in response to the user triggering the virtual reality scene as a second triggering operation, wherein the scene operation bar includes a annotation adding option;

[0093] The acquisition module 222 is configured to acquire a trigger position of the second trigger operation in the virtual reality scene in response to the user selecting the annotation adding option, and display a annotation configuration window for the virtual reality scene;

[0094] The acquisition module 222 is further configured to acquire annotation configuration information input by the user based on the annotation configuration interface, wherein the annotation configuration information includes an annotation identification style and annotation indication information;

[0095] The adding module 223 is configured to add a corresponding annotation mark in the virtual reality scene according to the annotation mark style and the trigger position, and bind the annotation indication information to the annotation mark.

[0096] In some embodiments, the adding module 223 is further configured to:

[0097] Creating a document object model of the annotation mark to be added according to the annotation mark style and the trigger position;

[0098] The document object model is transmitted to the preset image rendering engine, and a labeling mark generated by the preset image rendering engine based on the document object model rendering is added to the virtual reality scene.

[0099] In some embodiments, the annotation operation module 220 is further configured to:

[0100] In response to the user triggering operation on the annotation mark being the second triggering operation, displaying a scene operation bar in the virtual reality scene preview interface, the scene operation bar including an annotation modification option;

[0101] In response to a user selecting the annotation modification option, displaying an annotation configuration window for the virtual reality scene;

[0102] Acquire new annotation configuration information input by the user based on the annotation configuration interface;

[0103] The annotation identifier in the virtual reality scene is modified according to the new annotation configuration information.

[0104] In some embodiments, the annotation operation module 220 is further configured to:

[0105] In response to the user's selection operation of the annotation deletion option, the annotation mark in the virtual reality scene is deleted.

[0106] In some embodiments, the annotation operation module 220 is further configured to:

[0107] In response to a save instruction triggered by the user, annotation information is added to the three-dimensional image according to the position information of the annotation mark in the virtual reality scene and the annotation indication information to obtain a target three-dimensional image.

[0108] In some embodiments, the display module 210 is further configured to:

[0109] Acquire a panoramic image set to be rendered, wherein the panoramic image set includes at least one panoramic image;

[0110] The preset image rendering engine is called to render the panoramic images in the panoramic image set to obtain a virtual reality scene, and the virtual reality scene preview interface is displayed.

[0111] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-mentioned virtual reality scene preview device can refer to the corresponding process in the aforementioned virtual reality scene preview method embodiment, and will not be repeated here.

[0112] See also Figure 7 , Figure 7 A schematic block diagram of the structure of a computer device provided in an embodiment of the present application.

[0113] like Figure 7 As shown, the computer device 300 includes a processor 302 and a memory 303 connected via a system bus 301 , wherein the memory 303 may include a storage medium and an internal memory.

[0114] The storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any virtual reality scene preview method.

[0115] The processor 302 is used to provide computing and control capabilities and support the operation of the entire computer device.

[0116] The internal memory provides an environment for the operation of the computer program in the storage medium. When the computer program is executed by the processor, the processor can execute any virtual reality scene preview method.

[0117] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0118] It should be understood that the processor 303 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0119] In one embodiment, the processor 303 is configured to execute a computer program stored in a memory to implement the following steps:

[0120] Displaying a virtual reality scene preview interface, wherein the virtual reality scene preview interface includes a virtual reality scene, and the virtual reality scene is obtained by rendering a panoramic image with a preset image rendering engine;

[0121] In response to a user's annotation operation on the virtual reality scene, adding a corresponding annotation identifier in the virtual reality scene and binding corresponding annotation indication information to the annotation identifier, wherein the annotation indication information includes a scene ID or environment description information;

[0122] In response to the user's triggering operation on the annotation identifier being a first triggering operation, the environment description information bound to the annotation identifier is displayed or the virtual reality scene is switched to a virtual reality scene corresponding to the scene ID bound to the annotation identifier.

[0123] In one embodiment, when implementing, in response to the user's annotation operation on the virtual reality scene, adding a corresponding annotation identifier in the virtual reality scene and binding corresponding annotation indication information to the annotation identifier, the processor 303 is configured to implement:

[0124] In response to the user triggering operation on the virtual reality scene being a second triggering operation, displaying a scene operation bar in the virtual reality scene preview interface, the scene operation bar including a annotation adding option;

[0125] In response to a user selecting the annotation adding option, obtaining a trigger position of the second triggering operation in the virtual reality scene, and displaying an annotation configuration window for the virtual reality scene;

[0126] Acquiring annotation configuration information input by the user based on the annotation configuration interface, wherein the annotation configuration information includes an annotation identification style and annotation indication information;

[0127] Add a corresponding annotation mark in the virtual reality scene according to the annotation mark style and the trigger position, and bind the annotation indication information to the annotation mark.

[0128] In one embodiment, when implementing the adding of the corresponding annotation mark in the virtual reality scene according to the annotation mark style and the trigger position, the processor 303 is configured to implement:

[0129] Creating a document object model of the annotation mark to be added according to the annotation mark style and the trigger position;

[0130] The document object model is transmitted to the preset image rendering engine, and a labeling mark generated by the preset image rendering engine based on the document object model rendering is added to the virtual reality scene.

[0131] In one embodiment, the processor 303 is further configured to implement:

[0132] In response to the user triggering operation on the annotation mark being the second triggering operation, displaying a scene operation bar in the virtual reality scene preview interface, the scene operation bar including an annotation modification option;

[0133] In response to a user selecting the annotation modification option, displaying an annotation configuration window for the virtual reality scene;

[0134] Acquire new annotation configuration information input by the user based on the annotation configuration interface;

[0135] The annotation identifier in the virtual reality scene is modified according to the new annotation configuration information.

[0136] In one embodiment, the scene operation bar includes a markup deletion option. After the processor 303 implements the triggering operation in response to the user's triggering operation on the markup as the second triggering operation and displays the scene operation bar in the virtual reality scene preview interface, it is further configured to implement:

[0137] In response to the user's selection operation of the annotation deletion option, the annotation mark in the virtual reality scene is deleted.

[0138] In one embodiment, the processor 303 is further configured to implement:

[0139] In response to a save instruction triggered by the user, annotation information is added to the three-dimensional image according to the position information of the annotation mark in the virtual reality scene and the annotation indication information to obtain a target three-dimensional image.

[0140] In one embodiment, when implementing the display of the virtual reality scene preview interface, the processor 303 is configured to implement:

[0141] Acquire a panoramic image set to be rendered, wherein the panoramic image set includes at least one panoramic image;

[0142] The preset image rendering engine is called to render the panoramic images in the panoramic image set to obtain a virtual reality scene, and the virtual reality scene preview interface is displayed.

[0143] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the computer device described above can refer to the corresponding process in the aforementioned virtual reality scene preview method embodiment, and will not be repeated here.

[0144] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions. The method implemented when the program instructions are executed can refer to the various embodiments of the virtual reality scene preview method of the present application.

[0145] The computer-readable storage medium may be an internal storage unit of the computer device described in the aforementioned embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may be non-volatile or volatile. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash memory card, etc., equipped on the computer device.

[0146] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0147] Blockchain, as used in this article, refers to a novel application model for computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Blockchain is essentially a decentralized database, a series of data blocks generated using cryptographic methods. Each block contains information about a batch of online transactions, used to verify the validity of this information (to prevent counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, the platform product service layer, and the application service layer.

[0148] It should be understood that the terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in this specification, the singular forms "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0149] It should also be understood that the term "and / or" used in this specification refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system that includes the element.

[0150] The serial numbers of the embodiments of the present application are for descriptive purposes only and do not represent the merits of the embodiments. The above description is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the scope of protection of the present application.

Claims

1. A virtual reality scene preview method, characterized in that: include: Displaying a virtual reality scene preview interface, wherein the virtual reality scene preview interface includes a virtual reality scene, and the virtual reality scene is obtained by rendering a panoramic image with a preset image rendering engine; In response to a user's annotation operation on the virtual reality scene, adding a corresponding annotation identifier in the virtual reality scene and binding corresponding annotation indication information to the annotation identifier, wherein the annotation indication information includes a scene ID or environment description information; In response to the user's triggering operation on the annotation identifier being a first triggering operation, the environment description information bound to the annotation identifier is displayed or the virtual reality scene is switched to a virtual reality scene corresponding to the scene ID bound to the annotation identifier.

2. The virtual reality scene preview method according to claim 1, wherein: In response to the user's annotation operation on the virtual reality scene, adding a corresponding annotation mark in the virtual reality scene and binding corresponding annotation indication information to the annotation mark include: In response to the user triggering operation on the virtual reality scene being a second triggering operation, displaying a scene operation bar in the virtual reality scene preview interface, the scene operation bar including a annotation adding option; In response to a user selecting the annotation adding option, obtaining a trigger position of the second triggering operation in the virtual reality scene, and displaying an annotation configuration window for the virtual reality scene; Acquiring annotation configuration information input by the user based on the annotation configuration interface, wherein the annotation configuration information includes an annotation identification style and annotation indication information; Add a corresponding annotation mark in the virtual reality scene according to the annotation mark style and the trigger position, and bind the annotation indication information to the annotation mark.

3. The virtual reality scene preview method according to claim 2, wherein: Adding a corresponding annotation mark in the virtual reality scene according to the annotation mark style and the trigger position includes: Creating a document object model of the annotation mark to be added according to the annotation mark style and the trigger position; The document object model is transmitted to the preset image rendering engine, and a labeling mark generated by the preset image rendering engine based on the document object model rendering is added to the virtual reality scene.

4. The virtual reality scene preview method according to claim 2, wherein: The method further comprises: In response to the user triggering operation on the annotation mark being the second triggering operation, displaying a scene operation bar in the virtual reality scene preview interface, the scene operation bar including an annotation modification option; In response to a user selecting the annotation modification option, displaying an annotation configuration window for the virtual reality scene; Acquire new annotation configuration information input by the user based on the annotation configuration interface; The annotation identifier in the virtual reality scene is modified according to the new annotation configuration information.

5. The virtual reality scene preview method according to claim 4, characterized in that: The scene operation bar includes a mark deletion option, and the triggering operation in response to the user's triggering of the mark identifier is the second triggering operation. After the scene operation bar is displayed in the virtual reality scene preview interface, the method further includes: In response to the user's selection operation of the annotation deletion option, the annotation mark in the virtual reality scene is deleted.

6. The virtual reality scene preview method according to claim 2, wherein: The method further comprises: In response to a save instruction triggered by the user, annotation information is added to the three-dimensional image according to the position information of the annotation mark in the virtual reality scene and the annotation indication information to obtain a target three-dimensional image.

7. The virtual reality scene preview method according to any one of claims 1 to 6, characterized in that: The display of the virtual reality scene preview interface includes: Acquire a panoramic image set to be rendered, wherein the panoramic image set includes at least one panoramic image; The preset image rendering engine is called to render the panoramic images in the panoramic image set to obtain a virtual reality scene, and the virtual reality scene preview interface is displayed.

8. A virtual reality scene preview device, characterized in that: The virtual reality scene preview device includes a display module and a marking operation module, wherein: The display module is used to display a virtual reality scene preview interface, wherein the virtual reality scene preview interface includes a virtual reality scene, and the virtual reality scene is obtained by rendering a panoramic image with a preset image rendering engine; The annotation operation module is configured to, in response to a user's annotation operation on the virtual reality scene, add a corresponding annotation identifier in the virtual reality scene and bind corresponding annotation indication information to the annotation identifier, wherein the annotation indication information includes a scene ID or environment description information; The display module is used to display the environment description information bound to the annotation identifier or switch the virtual reality scene to the virtual reality scene corresponding to the scene ID bound to the annotation identifier in response to the user's triggering operation on the annotation identifier being the first triggering operation.

9. A computer device, characterized in that: The computer device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the virtual reality scene preview method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the virtual reality scene preview method according to any one of claims 1 to 7 are implemented.