Virtual space building method and system, virtual space and electronic equipment
By providing multiple modeling and adjustment events, users can quickly generate virtual spaces that meet their needs, solving the problem of high professional knowledge threshold in the existing technology, and realizing simple and easy-to-use virtual space construction.
Patent Information
- Application Number
- CN202411933241.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-22
AI Technical Summary
In the prior art, the process of users building virtual spaces is complex and requires professional knowledge, which leads to a high learning threshold for non-professional users.
Provide multiple modeling versions for users to choose from, generate basic space based on selected templates, and adjust events through layout, model, decoration and multimedia, allowing users to make personalized adjustments and generate virtual space.
It is possible to build a virtual space that meets user needs through simple operations without professional knowledge, reducing the difficulty of users' learning and operational complexity.
Smart Images

Figure CN119863597A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of virtual space technology, and in particular to a virtual space construction method, system, virtual space and electronic equipment. Background Art
[0002] With the rapid development of metaverse technology, technologies such as virtual reality (VR), augmented reality (AR), artificial intelligence (AI), and blockchain have been widely used in the creation and interaction of virtual spaces. Existing technologies have been able to initially realize the creation of virtual images, the construction of virtual spaces, and multi-person interactive communication.
[0003] However, in the existing technology, the process of users building virtual space is relatively complex. Users need to be familiar with certain professional knowledge (such as virtual modeling, layout design) and the specific operating procedures provided by the platform to successfully complete the space creation. This constitutes a high learning threshold for non-professional users. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a method, system, virtual space and electronic device for building a virtual space, which supports users to select templates and quickly generate virtual spaces based on the selected templates, is easy to operate, and provides a variety of personalized editing functions.
[0005] In order to solve the above problems, the present invention is implemented according to the following scheme:
[0006] A method for building a virtual space is provided, comprising:
[0007] In response to the user selecting a template to build, obtaining a target template;
[0008] Determining a basic space according to the target template;
[0009] In response to the user selecting an adjustment event, the basic space is adjusted to obtain a virtual space.
[0010] Compared with the prior art, the beneficial effects of a virtual space building method of the present invention are as follows: by providing multiple building templates for users to choose from, a target template selected by the user is obtained, and the basic space is determined based on the target module, and multiple adjustment functions are also provided for users to choose from. Based on the adjustment events selected by the user, the basic space is adjusted to obtain a virtual space. The virtual space can be built without the user having professional building knowledge.
[0011] Optionally, determining a basic space according to the target template includes:
[0012] Determining the default configuration and adjustment configuration of the basic space according to the target template;
[0013] The default configuration is used to indicate a configuration in the basic space that does not need to be adjusted;
[0014] The adjustment configuration is used to indicate an adjustment event selected by a user.
[0015] Optionally, the adjustment configuration includes layout configuration, model configuration, decoration configuration and multimedia configuration;
[0016] The adjustment events include: layout adjustment events, model adjustment events, decoration adjustment events and multimedia adjustment events.
[0017] Optionally, when the adjustment event is a layout adjustment event, in response to the user selecting the adjustment event, adjusting the basic space to obtain the virtual space includes:
[0018] Determine a layout adjustment position and a layout adjustment type in a basic space according to the layout adjustment event;
[0019] The layout adjustment position in the basic space is adjusted according to the layout adjustment type to obtain a virtual space.
[0020] Optionally, when the adjustment event is a model adjustment event, in response to the user selecting the adjustment event, adjusting the basic space to obtain the virtual space includes:
[0021] According to the model adjustment event, determining the model to be adjusted and the target adjustment model in the basic space;
[0022] The model to be adjusted in the basic space is adjusted to the target adjustment model to obtain a virtual space.
[0023] Optionally, when the adjustment event is a decoration adjustment event, in response to the user selecting the adjustment event, adjusting the basic space to obtain the virtual space includes:
[0024] According to the decoration adjustment event, determining the decoration to be adjusted and the target adjustment decoration in the basic space;
[0025] The decoration to be adjusted in the basic space is adjusted to the target adjustment decoration to obtain a virtual space.
[0026] Optionally, when the adjustment event is a multimedia adjustment event, in response to the user selecting the adjustment event, adjusting the basic space to obtain the virtual space includes:
[0027] Determine the multimedia position, multimedia data and multimedia type in the basic space according to the multimedia adjustment event;
[0028] According to the multimedia type, converting the multimedia data into target multimedia data, wherein the data format of the target multimedia data is a multimedia format allowed to be displayed in the basic space;
[0029] The initial multimedia data of the multimedia location is adjusted to the target multimedia data to obtain a virtual space.
[0030] A virtual space construction system is also provided, which is applied to the virtual space construction method, and includes:
[0031] The template acquisition module acquires the target template in response to the user selecting the template to be built;
[0032] A basic space determination module, which determines the basic space according to the target template;
[0033] The adjustment module adjusts the basic space to obtain a virtual space in response to an adjustment event selected by a user.
[0034] A virtual space is also provided, which is constructed by using the method for constructing a virtual space, and is characterized by comprising:
[0035] Basic space, including an initial virtual space generated according to a target template selected by a user, including a default configuration and an adjusted configuration;
[0036] Layout configuration, including the results of adjusting the layout in the base space;
[0037] Model configuration, including the results obtained after adjusting the model in the base space;
[0038] Decoration configuration, including the result obtained after adjusting the decorations in the base space;
[0039] Multimedia configuration includes the result obtained after adjusting the multimedia data in the basic space.
[0040] An electronic device is also provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the construction method. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A flow chart of the method of building the present invention. DETAILED DESCRIPTION
[0042] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0043] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.
[0044] See also Figure 1 As shown, the present invention provides a method for building a virtual space, comprising:
[0045] S1: In response to the user selecting a building template, a target template is obtained; the target template is a preset template selected by the user on an electronic device that allows the construction of a virtual space for generating a virtual space; a variety of preset templates are included in different application scenarios, and the preset templates include predefined space layouts, space elements, space styles and other elements; when the user selects a template from the preset templates, namely the target template, the electronic device will generate a preliminary virtual space according to the target template, providing the user with a basic framework of a virtual space.
[0046] S2: Determine a basic space according to the target template, including:
[0047] First, according to the target template, the default configuration and the adjustment configuration in the basic space are determined, wherein the default configuration is used to indicate the configuration that does not need to be adjusted in the basic space; the adjustment configuration is used to indicate the adjustment event selected by the user.
[0048] The basic space is a preliminary virtual space automatically generated according to the target template selected by the user; the default configuration in the basic space includes fixed configurations such as spatial layout, spatial elements, spatial style, etc. that are pre-defined and do not require user adjustment, that is, the basic space includes the spatial layout, spatial elements, spatial style, etc. preset in the target template; the adjustment configuration in the basic space includes variable configurations such as spatial layout, spatial elements, spatial style, etc. that are not pre-set and allow the user to make personalized adjustments according to needs; the virtual space constructed later is obtained by adjusting the non-pre-set configuration of the basic space, that is, the adjustable configuration is adjusted based on the basic space.
[0049] Among them, the adjustment configuration includes layout configuration, model configuration, decoration configuration and multimedia configuration, and the adjustment events corresponding to the adjustment configuration include layout adjustment events, model adjustment events, device adjustment events and multimedia adjustment events.
[0050] S3: In response to the user selecting an adjustment event, the basic space is adjusted to obtain a virtual space.
[0051] When the adjustment event is a layout adjustment event, in response to the user selecting the adjustment event, the basic space is adjusted to obtain the virtual space, including: determining the layout adjustment position and layout adjustment type in the basic space according to the layout adjustment event; adjusting the layout adjustment position in the basic space according to the layout adjustment type to obtain the virtual space.
[0052] The layout adjustment position refers to the position of a specific area or element in the virtual space that the user wishes to adjust; for example, the user may wish to adjust the central area of a space, the placement of an element, or the boundary position of a functional area; the layout adjustment position is determined based on the user's selection or input, and is usually specified by clicking, dragging, or entering coordinates.
[0053] The layout adjustment type refers to the specific operation type performed by the user on the layout adjustment position; common layout adjustment types include: move (move an element from one position to another), scale (adjust the size of an element or the range of a spatial area), rotate (change the direction or angle of an element), split (divide a spatial area into multiple spatial areas), merge (merge multiple spatial areas into one spatial area), etc. The user's choice of layout adjustment type determines the specific implementation method of the adjustment operation.
[0054] Layout configuration refers to the definition of the relative position, arrangement and spatial division of each element in the virtual space, which includes the overall structure of the space, the order of elements, the size and shape of the area, etc. The adjustment of the layout configuration allows users to make personalized modifications to the structure of the virtual space according to their needs, such as moving an element, adjusting the size or shape of the space area, or re-dividing the functional area; the flexibility of the layout configuration enables the virtual space to adapt to the different usage needs of users.
[0055] A layout adjustment event refers to an operation in which a user adjusts the layout configuration in a virtual space. When a user triggers a layout adjustment event, the layout adjustment position and layout adjustment type are determined based on the user's choice. For example, the user may choose to move an element to another position in the spatial area (layout adjustment position) and select move operation as the layout adjustment type. Based on this information, the layout in the basic space is adjusted to ultimately generate a virtual space that meets the user's needs. The implementation of a layout adjustment event depends on the user's explicit specification of the layout adjustment position and layout adjustment type.
[0056] When the adjustment event is a model adjustment event, in response to the user selecting the adjustment event, the basic space is adjusted to obtain the virtual space, including: determining the model to be adjusted and the target adjustment model in the basic space according to the model adjustment event; adjusting the model to be adjusted in the basic space to the target adjustment model to obtain the virtual space.
[0057] The model to be adjusted refers to the model that currently exists in the basic space and the user wants to replace or modify; for example, the basic space may contain a default square table model, and the user wants to adjust it. This square table is the model to be adjusted.
[0058] The target adjustment model refers to a new model that the user wishes to replace the model to be adjusted with; the target adjustment model can be a pre-provided model or a model uploaded by the user; for example, the user may wish to replace a square table with a round table, or replace the default sofa model with a sofa model that better suits personal style; the user's choice of the target adjustment model determines the specific appearance and properties of the model in the adjusted virtual space.
[0059] Model configuration refers to the definition of model types, attributes, and appearance used in virtual space; it includes the shape, size, color, material, texture, etc. of the model; the adjustment of model configuration allows users to replace or modify the model in the space according to their needs, such as adjusting the color and material of the model to match the overall style of the space. The flexibility of model configuration enables virtual space to better meet the personalized needs of users.
[0060] A model configuration event refers to an operation in which a user adjusts the model configuration in a virtual space. When a user triggers a model configuration event, the model to be adjusted and the target adjustment model are determined based on the user's choice. For example, the user may choose to replace the square table (the model to be adjusted) in the basic space with a round table (the target adjustment model), and replace or modify the model to be adjusted based on the target adjustment model, ultimately generating a virtual space that meets the user's needs. The implementation of a model configuration event depends on the user's explicit specification of the model replacement or modification.
[0061] When the adjustment event is a decoration adjustment event, in response to the user selecting the adjustment event, the basic space is adjusted to obtain the virtual space, including: determining the decoration to be adjusted and the target adjustment decoration in the basic space according to the decoration adjustment event; adjusting the decoration to be adjusted in the basic space to the target adjustment decoration to obtain the virtual space.
[0062] The decorations to be adjusted refer to the decorative elements that currently exist in the basic space and that the user wishes to replace or modify; for example, there may be an ordinary chandelier in the basic space, and the user wishes to adjust it. These decorative elements are the decorations to be adjusted; the decorations to be adjusted can be any decorative elements in the space, such as walls, floors, lamps, plants, paintings, etc.
[0063] The target adjustment decoration refers to a new decorative element that the user wishes to replace the decoration to be adjusted with; the target adjustment decoration may be a pre-provided decoration or a decoration uploaded by the user; for example, the user may wish to replace a white wall with a wallpaper with a pattern, or replace an ordinary chandelier with a more artistic lamp with a design sense; the choice of the target adjustment decoration determines the specific appearance and attributes of the decorative element in the adjusted virtual space.
[0064] Decoration configuration refers to the definition of the type, style, color, material and other attributes of the elements used for decoration and beautification in the virtual space, that is, the appearance and attributes of decorative elements such as walls, floors, lamps, plants, paintings, etc. included in the basic space; adjustment of decoration configuration allows users to replace or modify decorative elements in the basic space according to needs, such as changing the material and color of the wall, or adjusting the brightness and style of the lamps, so as to enhance the beauty and personalization of the space.
[0065] A decoration adjustment event refers to an operation in which a user adjusts the decoration configuration in a virtual space. When a user triggers a decoration adjustment event, the decoration to be adjusted and the target adjustment decoration are determined based on the user's choice. For example, the user may choose to replace an ordinary chandelier (the decoration to be adjusted) in the basic space with an artistic lamp (the target adjustment decoration), and replace or modify the decoration to be adjusted based on the target adjustment decoration, ultimately generating a virtual space that meets the user's needs. The implementation of the decoration adjustment event depends on the user's explicit specification of the replacement or modification of the decorative elements.
[0066] When the adjustment event is a multimedia adjustment event, in response to the user selecting the adjustment event, the basic space is adjusted to obtain the virtual space, including: determining the multimedia position, multimedia data and multimedia type in the basic space according to the multimedia adjustment event; converting the multimedia data into target multimedia data according to the multimedia type, the data format of the target multimedia data is a multimedia format allowed to be displayed in the basic space; adjusting the initial multimedia data of the multimedia position to the target multimedia data to obtain the virtual space.
[0067] A multimedia location refers to a specific area or element in a virtual space used to display multimedia content; for example, a multimedia location can be a screen on a background wall, a projection area in the center of a room, or an interactive panel; the determination of a multimedia location is based on user selection or input, usually specified by clicking, dragging, or entering coordinates.
[0068] Multimedia data refers to specific content displayed in a multimedia location, such as audio files, video files, image files, etc.; multimedia data can be pre-provided content or user-customized content uploaded; for example, a user may want to play a promotional video on a background wall or display a picture on an interactive panel.
[0069] Multimedia type refers to the display method of multimedia data, such as video, audio, picture, dynamic picture, etc. The choice of multimedia type determines the display effect of multimedia data in virtual space.
[0070] Multimedia configuration refers to the definition of the area, data, and display method used to display multimedia content in the virtual space; it includes the setting of multimedia location, type and format of multimedia data. Adjustment of multimedia configuration allows users to replace or modify multimedia content in the space as needed, such as changing the video on the background wall, to enrich the content and interactive experience of the space.
[0071] Multimedia adjustment events refer to operations in which users adjust multimedia configurations in virtual space. When a user triggers a multimedia adjustment event, the multimedia location, multimedia data, and multimedia type are determined based on the user's choice; for example, the user may choose to display a promotional video (multimedia data) on the background wall (multimedia location). In order to ensure that the multimedia data can be displayed normally in the virtual space, the format of the multimedia data needs to be converted into a multimedia format that is allowed to be displayed in the basic space, that is, converted into target multimedia data, and finally a virtual space that meets the user's needs is generated; the implementation of multimedia adjustment events depends on the user's explicit specification of the addition, replacement, or modification of multimedia content.
[0072] The virtual space is a virtual space that fully meets the user's needs after the user makes personalized adjustments to the basic space through a series of selected adjustment events; this space not only contains the preset elements in the basic space, but also integrates the user's personalized choices and customizations.
[0073] By providing multiple building templates for users to choose from, a target template selected by the user is obtained, and the basic space is determined based on the target module. A variety of adjustment functions are also provided for users to choose from. Based on the adjustment events selected by the user, the basic space is adjusted to obtain a virtual space. The user can build a virtual space without having professional building knowledge.
[0074] A virtual space construction system is also provided, which is applied to the above-mentioned virtual space construction method, and comprises:
[0075] The template acquisition module acquires the target template in response to the user selecting the template to be built;
[0076] A basic space determination module, which determines the basic space according to the target template;
[0077] The adjustment module adjusts the basic space to obtain a virtual space in response to an adjustment event selected by a user.
[0078] A virtual space is also provided, which is constructed by using the above-mentioned method for constructing a virtual space, and includes:
[0079] Basic space, including an initial virtual space generated according to a target template selected by a user, including a default configuration and an adjusted configuration;
[0080] Layout configuration, including the results of adjusting the layout in the base space;
[0081] Model configuration, including the results obtained after adjusting the model in the base space;
[0082] Decoration configuration, including the result obtained after adjusting the decorations in the base space;
[0083] Multimedia configuration includes the result obtained after adjusting the multimedia data in the basic space.
[0084] An electronic device is also provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the above-mentioned construction method.
[0085] The processor can 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.
[0086] The memory can be used to store the computer program or module, and the processor realizes various functions of the construction method by running or executing the computer program or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0087] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for building a virtual space, characterized in that: include: In response to the user selecting a template to build, obtaining a target template; Determining a basic space according to the target template; In response to the user selecting an adjustment event, the basic space is adjusted to obtain a virtual space.
2. A method for building a virtual space according to claim 1, characterized in that: Determining the basic space according to the target template includes: Determining the default configuration and adjustment configuration of the basic space according to the target template; The default configuration is used to indicate a configuration in the basic space that does not need to be adjusted; The adjustment configuration is used to indicate an adjustment event selected by a user.
3. A method for building a virtual space according to claim 2, characterized in that: The adjustment configuration includes layout configuration, model configuration, decoration configuration and multimedia configuration; The adjustment events include: layout adjustment events, model adjustment events, decoration adjustment events and multimedia adjustment events.
4. A method for building a virtual space according to claim 3, characterized in that: When the adjustment event is a layout adjustment event, in response to the user selecting the adjustment event, adjusting the basic space to obtain the virtual space includes: Determine a layout adjustment position and a layout adjustment type in a basic space according to the layout adjustment event; The layout adjustment position in the basic space is adjusted according to the layout adjustment type to obtain a virtual space.
5. The method for building a virtual space according to claim 3, characterized in that: When the adjustment event is a model adjustment event, in response to the user selecting the adjustment event, adjusting the basic space to obtain the virtual space includes: According to the model adjustment event, determining the model to be adjusted and the target adjustment model in the basic space; The model to be adjusted in the basic space is adjusted to the target adjustment model to obtain a virtual space.
6. A method for building a virtual space according to claim 3, characterized in that: When the adjustment event is a decoration adjustment event, in response to the user selecting the adjustment event, adjusting the basic space to obtain the virtual space includes: According to the decoration adjustment event, determining the decoration to be adjusted and the target adjustment decoration in the basic space; The decoration to be adjusted in the basic space is adjusted to the target adjustment decoration to obtain a virtual space.
7. A method for building a virtual space according to claim 3, characterized in that: When the adjustment event is a multimedia adjustment event, the step of adjusting the basic space to obtain the virtual space in response to the user selecting the adjustment event includes: Determine the multimedia position, multimedia data and multimedia type in the basic space according to the multimedia adjustment event; According to the multimedia type, converting the multimedia data into target multimedia data, wherein the data format of the target multimedia data is a multimedia format allowed to be displayed in the basic space; The initial multimedia data of the multimedia location is adjusted to the target multimedia data to obtain a virtual space.
8. A virtual space construction system, applied to the virtual space construction method described in claims 1 to 7, characterized in that: include: The template acquisition module acquires the target template in response to the user selecting the template to be built; A basic space determination module, which determines the basic space according to the target template; The adjustment module adjusts the basic space to obtain a virtual space in response to an adjustment event selected by a user.
9. A virtual space constructed by using the method for constructing a virtual space as described in claims 1 to 7 above, characterized in that: include: Basic space, including an initial virtual space generated according to a target template selected by a user, including a default configuration and an adjusted configuration; Layout configuration, including the results of adjusting the layout in the base space; Model configuration, including the results obtained after adjusting the model in the base space; Decoration configuration, including the result obtained after adjusting the decorations in the base space; Multimedia configuration includes the result obtained after adjusting the multimedia data in the basic space.
10. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the construction method as described in claims 1-7.