Metaverse space sharing method, device, equipment, storage medium and product

By constructing a metaverse space sharing scene group and generating virtual camera motion trajectories, the problem of poor experience in existing metaverse space sharing methods is solved, realizing a vivid and immersive dynamic sharing experience, and enhancing interactivity and participation.

CN118819280BActive Publication Date: 2026-04-07CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-04
Publication Date
2026-04-07

Smart Images

  • Figure CN118819280B_ABST
    Figure CN118819280B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, storage medium, and computer program product for sharing in a metaverse space, relating to the field of metaverse technology. The method includes: constructing a sharing scene group based on a subject model in the metaverse space; determining an auxiliary sharing composition based on the image from a virtual camera in the metaverse space and the sharing scene group; generating a motion trajectory of the virtual camera based on the auxiliary sharing composition; and controlling the virtual camera to capture scenes according to the motion trajectory to obtain the sharing image. This solution enhances the interactivity and engagement of sharing in the metaverse space, and dynamic acquisition can capture multiple angles and details in the metaverse space, thus providing users with a more comprehensive, flexible, and highly interactive metaverse space sharing experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of metaverse, and in particular to a metaverse space sharing method and device, equipment, a storage medium and a computer program product. BACKGROUND

[0002] Currently, the metaverse field has realized real-time mapping or linkage of real and virtual space sites and landscapes through technologies such as digital twinning, 3D(three-dimensional) scanning, 5G(The 5th Generation Mobile Communication Technology) networks, etc.

[0003] When a user plays in a metaverse virtual space, the user builds a metaverse personal virtual space(Metaverse Personal Virtual Space, MPVS) by himself / herself, or automatically or semi-automatically builds the MPVS with the help of AI(Artificial Intelligence) and system assistance and personal preferences, or browses a metaverse third-party virtual space(Metaverse Third Party Virtual Space, MTVS) built by other users or platforms. The user shares the link of the MPVS / MTVS in the form of a snapshot to other users through a graphic text sharing method. However, this sharing method can only display a fixed graphic template, or the current user's screen displays the content of the current frame of picture through the snapshot function of the background system, and the sharing is static photography, which cannot provide a comprehensive, flexible and interactive sharing method, resulting in poor user experience when sharing the metaverse space.

[0004] In summary, how to provide a comprehensive, flexible and interactive sharing method to improve the sharing experience of users when sharing the metaverse space has become a technical problem that needs to be solved in the field. SUMMARY

[0005] The main purpose of the present application is to provide a metaverse space sharing method, device, equipment, storage medium and computer program product, which aims to provide a comprehensive, real-time and interactive sharing method to improve the sharing experience of users when sharing the metaverse space.

[0006] To achieve the above purpose, the present application provides a metaverse space sharing method, which comprises:

[0007] Constructing a sharing scene group based on a subject object model in the metaverse space;

[0008] determine an auxiliary sharing composition according to the picture of the virtual camera in the metaverse space and the sharing scene group;

[0009] generate a motion track of the virtual camera based on the auxiliary sharing composition;

[0010] control the virtual camera to collect scenes according to the motion track to obtain a sharing picture.

[0011] Optionally, the step of constructing the sharing scene group based on the subject object model in the metaverse space comprises:

[0012] generating a scene group identification core framework according to the subject object model in the metaverse space;

[0013] constructing an environment type identification field centered on the scene group identification core framework;

[0014] identifying environment elements within a preset range of the scene group identification core framework through the environment type identification field;

[0015] combining and constructing the environment elements and the subject object model into the sharing scene group.

[0016] Optionally, the step of determining the auxiliary sharing composition according to the picture of the virtual camera in the metaverse space and the sharing scene group comprises:

[0017] determining a center point of the sharing scene group as an initial field center point of the picture of the virtual camera in the metaverse space;

[0018] adjusting the initial field center point according to a position of a subject center point of the subject object model in the picture to obtain a target field center point;

[0019] calculating a distance between a center point of the virtual camera and the target field center point according to a volume data ratio between the sharing scene group and the subject object model and a distance between the target field center point and the subject center point;

[0020] determining the distance between the center point of the virtual camera and the target field center point and the position of the target field center point as composition parameters of the auxiliary sharing composition to obtain the auxiliary sharing composition.

[0021] Optionally, the step of generating the motion track of the virtual camera based on the auxiliary sharing composition comprises:

[0022] taking a circle with the target field center point as a center and the distance as a radius as an initial motion track of the virtual camera;

[0023] If a trajectory coordinate point in the initial motion trajectory intersects with a virtual wall in the meta-universe space, the initial motion trajectory is adjusted according to the trajectory coordinate point, and a motion trajectory is obtained.

[0024] Optionally, before the step of constructing the sharing scene group based on the subject object model in the meta-universe space, the method further comprises:

[0025] Obtaining the size of a display screen of a display terminal;

[0026] Adjusting the collection parameters of a virtual camera in the meta-universe space according to the size of the display screen, so that the collection scene of the virtual camera matches the size of the display screen.

[0027] Optionally, the method further comprises:

[0028] When it is determined that the subject object model includes multiple subject object models, constructing a second sharing scene group based on the multiple subject object models, wherein the subject object model includes a same-row subject object model and / or a sharing subject object model;

[0029] Taking the second sharing scene group as the sharing scene group, and performing the step of determining the auxiliary sharing composition according to the picture of the virtual camera in the meta-universe space and the sharing scene group and subsequent steps.

[0030] In addition, to achieve the above-mentioned purposes, the present application also provides a meta-universe space sharing device, which comprises:

[0031] A sharing scene group construction module for constructing a sharing scene group based on a subject object model in a meta-universe space;

[0032] An auxiliary sharing composition determination module for determining an auxiliary sharing composition according to the picture of a virtual camera in the meta-universe space and the sharing scene group;

[0033] A motion trajectory generation module for generating a motion trajectory of the virtual camera based on the auxiliary sharing composition;

[0034] A scene collection module for controlling the virtual camera to collect a scene according to the motion trajectory, and obtaining a sharing picture.

[0035] In addition, to achieve the above-mentioned purposes, the present application also provides a terminal device, which comprises a memory, a processor, and a meta-universe space sharing program stored in the memory and executable on the processor, wherein the meta-universe space sharing program, when executed by the processor, implements the steps of the meta-universe space sharing method as described above.

[0036] In addition, to achieve the above-mentioned purpose, the application also provides a storage medium, which is a computer readable storage medium, and a meta-universe space sharing program is stored on the storage medium, and the meta-universe space sharing program realizes the steps of the meta-universe space sharing method when executed by a processor.

[0037] In addition, to achieve the above-mentioned purpose, the application also provides a computer program product, which comprises a meta-universe space sharing program, and the meta-universe space sharing program realizes the steps of the meta-universe space sharing method when executed by a processor.

[0038] The meta-universe space sharing method, device, equipment, storage medium and product provided by the application embodiment comprise the following steps: constructing a sharing scene group based on a subject object model in a meta-universe space; determining an auxiliary sharing composition according to a picture of a virtual camera in the meta-universe space and the sharing scene group; generating a motion track of the virtual camera based on the auxiliary sharing composition; and controlling the virtual camera to collect a scene according to the motion track to obtain a sharing picture.

[0039] Compared with the traditional meta-universe space sharing method, the application constructs a sharing scene group based on a subject object model in a meta-universe space, and determines an auxiliary sharing composition according to a picture of a virtual camera in the meta-universe space and the sharing scene group, so that the view angle and composition effect of the sharing scene can be adjusted with the subject object model as the core when the sharing scene is constructed. Then, the motion track of the virtual camera is generated based on the auxiliary sharing composition, and the virtual camera is controlled to collect a scene according to the track, so that a dynamic sharing picture can be obtained. The application provides a more vivid and immersive experience for users, enhances the interactivity and participation of meta-universe space sharing, and dynamic collection can capture multiple angles and details in the meta-universe space, thereby providing users with a more comprehensive, flexible and interactive meta-universe space sharing experience. BRIEF DESCRIPTION OF DRAWINGS

[0040] Figure 1 The device structure diagram of the hardware running environment of the terminal equipment related to the application embodiment scheme;

[0041] Figure 2 The flowchart of the first embodiment of the meta-universe space sharing method of the application;

[0042] Figure 3 The schematic diagram of multiple virtual cameras related to an embodiment of the meta-universe space sharing method of the application;

[0043] Figure 4 The schematic diagram of a unique virtual camera related to an embodiment of the meta-universe space sharing method of the application;

[0044] Figure 5 A collection scene display schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0045] Figure 6 A safety warning area schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0046] Figure 7 A scene group identification core framework schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0047] Figure 8 A sharing scene group schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0048] Figure 9 A view angle field picture division schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0049] Figure 10 A scene center point determination scene schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0050] Figure 11 A scene center point adjustment scene schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0051] Figure 12 A motion trajectory schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0052] Figure 13 A virtual outdoor environment setting schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0053] Figure 14 A virtual indoor environment setting schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0054] Figure 15 A digital human animation library and corresponding mark schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0055] Figure 16 A digital human mood index, state, expression library relationship schematic diagram involved in an embodiment of the meta-universe space sharing method of the present application;

[0056] Figure 17 A function module schematic diagram of an embodiment of the meta-universe space sharing device of the present application.

[0057] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0058] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0059] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0060] It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.

[0061] In this application, unless otherwise expressly specified and limited, the terms "connection," "fixed," etc., should be interpreted broadly. For example, "fixed" can mean a fixed connection, a detachable connection, or an integral part; it can mean a mechanical connection or an electrical connection; it can mean a direct connection or an indirect connection through an intermediate medium; it can mean the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0062] Furthermore, the use of terms such as "first" and "second" in this application is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. If the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed in this application.

[0063] This application provides a terminal device.

[0064] like Figure 1 As shown, Figure 1 This is a schematic diagram of the hardware operating environment of the terminal device involved in the embodiments of this application.

[0065] In this embodiment, the terminal device can be a computer, server, or other device that contains a metaverse system.

[0066] like Figure 1As shown, in the hardware operating environment of the terminal device, the terminal device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to implement communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or stable non-volatile memory, such as a disk storage device. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0067] Those skilled in the art will understand that Figure 1 The terminal device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0068] like Figure 1 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a metaverse space sharing program.

[0069] exist Figure 1 In the device shown, network interface 1004 is mainly used to connect to the backend server and communicate with it; user interface 1003 is mainly used to connect to the client (user end) and communicate with it; while processor 1001 can be used to call the metaverse space sharing program stored in memory 1005 and perform the following operations:

[0070] Constructing sharing scenario groups based on subject object models in the metaverse space;

[0071] The auxiliary sharing composition is determined based on the footage from the virtual camera in the metaverse space and the sharing scene group;

[0072] The motion trajectory of the virtual camera is generated based on the assisted sharing composition;

[0073] The virtual camera is controlled to capture the scene according to the motion trajectory, and the shared image is obtained.

[0074] Optionally, the processor 1001 can also be used to invoke the metaverse space sharing program stored in the memory 1005 and perform the following operations:

[0075] The core framework for scene group identification is generated based on the subject object model in the metaverse space;

[0076] Centered on the aforementioned scene group recognition core framework, an environment-type recognition field is constructed;

[0077] The environmental elements within a preset range of the core framework of the scene group are identified through the environmental recognition field.

[0078] The environmental elements and the subject model are combined to construct a sharing scene group.

[0079] Optionally, the processor 1001 can also be used to invoke the metaverse space sharing program stored in the memory 1005 and perform the following operations:

[0080] The center point of the shared scene group is determined as the initial field center point of the image of the virtual camera in the metaverse space;

[0081] Based on the position of the main body center point of the main body model in the image, the initial field center point is adjusted to obtain the target field center point;

[0082] Based on the volume ratio between the shared scene group and the main object model, and the distance between the center point of the target field and the center point of the main object, calculate the distance between the center point of the virtual camera and the center point of the target field;

[0083] The distance between the center point of the virtual camera and the center point of the target field, and the position of the center point of the target field are determined as the composition parameters for assisting in sharing the composition, thus obtaining the assisting in sharing the composition.

[0084] Optionally, the processor 1001 can also be used to invoke the metaverse space sharing program stored in the memory 1005 and perform the following operations:

[0085] The initial motion trajectory of the virtual camera is a circle with the center point of the target field as the center and the distance as the radius.

[0086] If there is a trajectory coordinate point in the initial motion trajectory that intersects with the virtual wall of the metaverse space, then the initial motion trajectory is adjusted according to the trajectory coordinate point to obtain the motion trajectory.

[0087] Optionally, the processor 1001 can also be used to invoke the metaverse space sharing program stored in the memory 1005 and perform the following operations:

[0088] Obtain the screen size of the display terminal;

[0089] The acquisition parameters of the virtual camera in the metaverse space are adjusted according to the screen size so that the acquisition scene of the virtual camera matches the screen size.

[0090] Optionally, the processor 1001 can also be used to invoke the metaverse space sharing program stored in the memory 1005 and perform the following operations:

[0091] When it is determined that the subject object model includes multiple subjects, a second sharing scenario group is constructed based on the multiple subjects, wherein the subjects include peer subjects and / or sharing subjects.

[0092] The second sharing scene group is used as the sharing scene group, and the steps of determining the auxiliary sharing composition based on the image of the virtual camera in the metaverse space and the sharing scene group, as well as subsequent steps, are executed.

[0093] Based on the above hardware structure, the overall concept of various embodiments of the metaverse space sharing method of this application is proposed.

[0094] In the embodiments of this application, the metaverse field has already achieved real-time mapping or linkage between real and virtual space sites and landscapes through technologies such as digital twins, 3D scanning, and 5G networks.

[0095] When users explore the Metaverse virtual space, whether they create their own virtual space independently or automatically with the help of AI, system assistance, or personal preferences, or when browsing third-party virtual spaces created by other users or platforms, they often share MPVS / MTVS links as snapshots with other users via image and text sharing. However, this sharing method can only display fixed image and text templates, or capture the content of the current frame displayed on the user's screen through the system's snapshot function for static photography sharing. It cannot provide a comprehensive, flexible, and highly interactive sharing method, resulting in a poor user experience when sharing Metaverse spaces.

[0096] In summary, how to provide a comprehensive, flexible, and highly interactive sharing method to improve users' sharing experience when sharing the metaverse space has become a pressing technical problem that needs to be solved in this field.

[0097] To address the aforementioned issues, this application proposes a metaverse space sharing method, which includes: constructing a sharing scene group based on a subject model in the metaverse space; determining an auxiliary sharing composition based on the image from a virtual camera in the metaverse space and the sharing scene group; generating the motion trajectory of the virtual camera based on the auxiliary sharing composition; and controlling the virtual camera to capture scenes according to the motion trajectory to obtain a sharing image.

[0098] Compared to traditional metaverse space sharing methods, this application's embodiments construct sharing scene groups based on the subject object model in the metaverse space, and determine auxiliary sharing compositions based on the virtual camera's image in the metaverse space and the sharing scene groups. This allows the sharing scene to be constructed with the subject object model as the core to adjust the perspective and composition effect of the sharing scene. Then, based on the auxiliary sharing compositions, the motion trajectory of the virtual camera is generated and the virtual camera is controlled to capture the scene according to the trajectory, resulting in dynamic sharing images. This provides users with a more vivid and immersive experience, enhances the interactivity and participation of metaverse space sharing, and the dynamic acquisition can capture multiple angles and details in the metaverse space, thus bringing users a more comprehensive, flexible, and highly interactive metaverse space sharing experience.

[0099] Based on the overall concept of the metaverse space sharing method of this application described above, various embodiments of the metaverse space sharing method of this application are proposed.

[0100] Please refer to Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the metaverse space sharing method of this application. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here.

[0101] In this embodiment, for ease of understanding and explanation, the metaverse system is used as the direct execution subject to illustrate the metaverse space sharing method of this application.

[0102] like Figure 2 As shown, in this embodiment, the metaverse space sharing method of this application may include:

[0103] Step S10: Construct a sharing scene group based on the subject object model in the metaverse space.

[0104] It should be noted that, in this embodiment, in the sharing of the metaverse space, the subject model refers to the main three-dimensional model of the core object or scene being shared. The subject model can be the digital person "I" representing the sharing user, that is, the virtual role of the individual in the metaverse space, or it can be the combination of items, landscapes, or digital person and environment selected by the sharing user in the metaverse space. In this embodiment, the specific form of the subject model is not limited.

[0105] In this embodiment, upon receiving the metaverse space sharing instruction, the metaverse system immediately constructs a sharing scene group based on the subject object model in the metaverse space. Specifically, the metaverse system first generates a scene group recognition core framework based on the actual volume contour of the subject object model. After generating the scene group recognition core framework, it captures and integrates environmental elements similar to the subject object model. Environmental elements may include background, objects, characters, etc. After all relevant environmental elements are captured and integrated, the subject object model and environmental elements are combined to obtain the sharing scene group.

[0106] Step S20: Determine the auxiliary sharing composition based on the image from the virtual camera in the metaverse space and the sharing scene group.

[0107] It should be noted that there may be one or more virtual cameras in the metaverse space. Multiple virtual cameras are generally distinguished according to their different functional roles, while a single camera is compatible with multiple different functions and switches between different usage modes or operating methods as different functions are called.

[0108] In one feasible embodiment, in an environment with multiple virtual cameras, for example, camera A is used to transmit images within the space in real time, camera B is used to share real-time images during operation, camera C is used to view a specific virtual object or exhibit within the space, and camera D is used to take pictures from another angle or position within the same space; specifically, for example, browsing the metaverse space on a mobile device, where two cameras exist within the space, such as... Figure 3 As shown, camera A is used to transmit images within the space in real time. All of the user's general operations occur within this image range. When the system receives a sharing instruction, the system obtains full control permissions for all cameras. According to the sharing instruction, the system switches the image transmitted to the mobile phone screen from camera A to camera B, which is used for the sharing function.

[0109] In another feasible embodiment, in a single virtual camera environment, such as Figure 4 As shown, a camera can be moved to different positions or have different related functions activated according to different functional needs. For example, when the system receives a sharing instruction, the system will control the camera to move from its current operating position to a sharing camera position that matches the current composition.

[0110] In this embodiment, a unique virtual camera environment is used for illustration, but the application scenario is not limited to a unique virtual camera environment. The number of virtual cameras in the metaverse space does not affect the use and explanation of the key functions of this application.

[0111] In this embodiment, the virtual camera's view and the sharing scene group jointly determine the composition parameters for assisting in sharing the composition. The composition parameters for assisting in sharing the composition mainly include the distance between the virtual camera and the sharing scene group, as well as the position of the virtual camera's center point. By adjusting the composition parameters, the overall effect of the virtual camera's captured scene and the user's visual experience can be optimized. The metaverse system can adjust the virtual camera's capture parameters based on the determined composition parameters. The capture parameters include the virtual camera's angle, focal length, lighting, and other parameters to obtain the best assisting in sharing the composition effect.

[0112] Step S30: Generate the motion trajectory of the virtual camera based on the assisted sharing composition.

[0113] In this embodiment, the metaverse system generates the motion trajectory of the virtual camera based on the distance between the root virtual camera and the shared scene group and the field center point position of the virtual camera. The motion trajectory can be a continuous path or a series of key points, and the virtual camera smoothly transitions between these key points.

[0114] Step S40: Control the virtual camera to capture the scene according to the motion trajectory and obtain the shared image.

[0115] In this embodiment, the generated motion trajectory is used to control the virtual camera to move in the scene acquisition, so that the virtual camera moves in the metaverse space according to the motion trajectory. At the same time, it is also necessary to ensure that the movement of the virtual camera is coordinated with other objects and events in the space.

[0116] Furthermore, in a feasible embodiment, prior to step S10 above, the metaverse space method of this application may further include:

[0117] Step S50: Obtain the screen size of the display terminal.

[0118] Step S60: Adjust the acquisition parameters of the virtual camera in the metaverse space according to the display screen size so that the acquisition scene of the virtual camera matches the display screen size.

[0119] It should be noted that, in this embodiment, the display terminal for displaying and operating the metaverse space can be any physical or virtual screen, such as a mobile phone, tablet computer, large screen, head-mounted device, etc.

[0120] In this embodiment, to ensure that the sharing scene in the metaverse space is compatible with the display screen size of the display terminal, both the sharing user and the sharing user in the metaverse space need to undergo a display screen size adaptation process when generating or viewing the sharing scene in the metaverse space. Specifically, after obtaining the display screen size of the display terminal, the acquisition parameters of the virtual camera in the metaverse space are adjusted according to the display screen size so that the acquisition scene of the virtual camera matches the display screen size, and the acquired scene image can be fully and completely displayed on the display screen.

[0121] For example, in one feasible embodiment, taking a mobile phone device as the display terminal, the metaverse system can determine the screen orientation of the device based on the gyroscope data of the mobile phone device or by acquiring the visible width and height pixel data of the mobile phone device. Assuming that the current mobile phone device is in portrait mode, its visible width Wβ = 1440 and visible height Hβ = 3200, while the preset screen size of the virtual camera is preset width Wα = 1080 and preset height Hα = 1920; by dividing the preset height Hα of the virtual camera by the visible height Hβ of the mobile phone device, the height difference ratio Uβ = 0.6 is obtained. Then, the difference ratio Uβ is multiplied by... Using the visible width Wβ of the mobile device, the width Kβ = 864 and height Gβ = Hα = 1920 of the adapted virtual camera are obtained. Then, by subtracting the adapted camera width Kβ from the preset width Wα of the virtual camera and dividing it equally, the left and right margin difference widths Slα = 108 and Srα = 108 are obtained, with a total difference Sα = 216. Then, based on the left and right margin difference widths Slα and Srα, the left and right borders of the virtual camera are scaled inwards by 108 proportionally from the center of the screen, resulting in the captured scene image of the adapted virtual camera. The display effect of the captured scene image on the mobile terminal is as follows: Figure 5 As shown, the acquisition parameters of the virtual camera are determined based on the scene captured.

[0122] Furthermore, in one feasible embodiment, the metaverse space can set a safety warning zone for the adapted scene to prevent the main objects in the scene from exceeding the screen.

[0123] Specifically, the metaverse system divides the adapted camera width Kβ by the camera's preset width Wα to obtain the camera width scaling factor Uwβ = 0.8. Then, it multiplies the left and right margin differences Slα and Srα of the adapted camera's captured scene image by the camera width scaling factor Uwβ to obtain the left and right safety zone warning widths. The average value is 86 (the system determines the integer pixel value), and the safe zone warning area is as follows: Figure 6 As shown, the warning area of ​​the left safety zone is GSIη=SIη*Gα=86*1920, and the warning area of ​​the right safety zone is GSrη=Srη*Gα=86*1920.

[0124] When the main object in the scene appears within the safety warning zone, the Metaverse system can move the mapped image of the main object out of the safety warning zone by reducing the camera's focal length data. When matching the scene with the display screen size, or when the virtual camera moves according to the motion trajectory, if the camera's center point comes into contact with other collision object models such as walls, tables, and chairs in the virtual space, the system can move the mapped image of the main object out of the safety warning zone by reducing the distance between the camera's center point and the center point of the main object.

[0125] In this embodiment, the metaverse system constructs a sharing scene group based on the subject object model in the metaverse space; determines an auxiliary sharing composition based on the image of the virtual camera in the metaverse space and the sharing scene group; generates the motion trajectory of the virtual camera based on the auxiliary sharing composition; and controls the virtual camera to collect scene data according to the motion trajectory to obtain the sharing image.

[0126] Thus, in this embodiment, a sharing scene group is constructed based on the subject model in the metaverse space, and an auxiliary sharing composition is determined based on the image of the virtual camera in the metaverse space and the sharing scene group. This allows the perspective and composition of the sharing scene to be adjusted with the subject model as the core when constructing the sharing scene. Then, the motion trajectory of the virtual camera is generated based on the auxiliary sharing composition, and the virtual camera is controlled to capture the scene according to the trajectory. Dynamic sharing images can be obtained, providing users with a more vivid and immersive experience, enhancing the interactivity and participation of sharing in the metaverse space. Moreover, dynamic acquisition can capture multiple angles and details in the metaverse space, thereby bringing users a more comprehensive, flexible, and highly interactive sharing experience in the metaverse space.

[0127] Furthermore, based on the first embodiment of the metaverse space sharing method of this application described above, a second embodiment of the metaverse space sharing method of this application is proposed.

[0128] In this embodiment, step S10 above: constructing a sharing scene group based on the subject object model in the metaverse space includes:

[0129] Step S101: Generate the core framework for scene group identification based on the subject object model in the metaverse space.

[0130] In this embodiment, after receiving the metaverse space sharing instruction, the metaverse system first determines the subject model in the metaverse space based on the user's selection, and then generates the scene group recognition core framework based on the actual volume contour of the selected subject model in the space.

[0131] For example, in one feasible embodiment, a digital human "I" with a height of 1.75 meters and a space of 0.6 square meters is used as the main object model. In the metaverse space, the current model of the digital human "I" is in a sitting position on a chair. The digital human model is 1.75 meters tall and occupies 0.6 square meters of space. Because the action is "sitting," a leg-bending action occurs, and while sitting on the chair, its height decreases to 0.7 meters, and the space occupied becomes 0.65 square meters. At this time, the generated scene group recognition core framework is as follows: Figure 7 As shown, the core framework of this scene group has a width of 0.65, a thickness of 0.65, and a height of 0.7.

[0132] Step S102: Construct an environment-type recognition field centered on the scene group recognition core framework.

[0133] In this embodiment, the metaverse system constructs an environmental recognition field and determines the range of the environmental recognition field based on the size and position of the scene group recognition core framework, with the scene group recognition core as the center.

[0134] For example, in one feasible embodiment, the recognition range volume is expanded outward by 0.25 times proportionally from the core framework of scene group recognition to obtain an environmental recognition field.

[0135] Step S103: Identify environmental elements within the preset range of the core framework through the environmental recognition scene group.

[0136] Step S104: Combine environmental elements and subject object models to construct a sharing scene group.

[0137] In this embodiment, the metaverse system identifies environmental elements within a preset range of the scene group identification core framework based on an environment-type recognition field. These environmental elements include models such as items and characters. The system then combines the identified environmental elements with the subject model. Based on the combined elements, a complete sharing scene group is constructed. This sharing scene group includes the subject model, environmental elements, and any other elements related to the scene.

[0138] Specifically, when the environmental recognition field overlaps or nests with surrounding environmental elements, the recognized environmental elements can be associated with the main object to form a scene group for sharing the scene. In addition, the environmental recognition field can make recognition judgments based on rules such as entity volume collision, dot matrix collision, and border collision.

[0139] For example, such as Figure 8As shown, the current subject is the digital human "I". The volume outline of the digital human "I" is used to determine the core framework of scene group recognition. Then, with the core framework of scene group recognition as the center, an environmental recognition field is constructed. The current environmental recognition field recognizes environmental elements such as windows, chairs, and the north wall. Based on the recognition results of the environmental model recognition field, the windows, chairs, and the north wall are bound to the subject digital human "I". The bound related models are used as a whole to form a sharing scene group.

[0140] Furthermore, in a feasible embodiment, step S20 above: determining the auxiliary sharing composition based on the image from the virtual camera in the metaverse space and the sharing scene group, includes:

[0141] Step S201: Determine the center point of the shared scene group as the initial field center point of the virtual camera's image in the metaverse space.

[0142] In this embodiment, after a shared scene group is generated, the metaverse system determines the initial field center point of the virtual camera's image in the metaverse space by the center point of the shared scene group. The field center point refers to the center point of the field of view of the camera when shooting or recording, that is, the point that the camera lens is pointing at.

[0143] Step S202: Based on the position of the center point of the main object model in the image, adjust the initial field center point to obtain the target field center point.

[0144] It should be noted that, to ensure the aesthetic appeal of the generated shared scenes, the Metaverse system divides the effective field of view into a nine-grid frame according to the golden ratio rule of scene composition. The divided virtual camera field of view is as follows: Figure 9 As shown, the center point of the image at this time is the initial field center point, Ws is the width of the effective field of view, and Hs is the height of the effective field of view. According to the golden ratio, Ws is divided into 3 / 8Ws, 2 / 8Ws and 3 / 8Ws, and Hs is divided into 3 / 8Hs, 2 / 8Hs and 3 / 8Hs.

[0145] In this embodiment, to ensure that the main object is always within the safe zone of the screen and to prevent the main object from moving out of the shared screen or being incompletely displayed, the metaverse system adjusts the position of the initial field center point based on the position of the main object model's center point in the screen to obtain the target field center point. Here, the safe zone within the screen refers to... Figure 9 The region is defined by the initial field center point, with a height of (2 / 8Hs) / 2 and a width of (3 / 8Ws) / 2.

[0146] For example, in this embodiment, a digital human is taken as the subject, such as... Figure 10As shown, firstly, the metaverse system uses the digital human's torso model to the head model as the main center point Sz1 of the digital human. Within the camera's view, a shared safe zone for the digital human is set. Then, the mapping point of Sz1 within the camera's view is Syz1. When the height of the camera's field center point S0 is the same as the height of Syz1, if the distance from Syz1 to S0 is greater than the distance between points A1 parallel to the edges of the safe zone in the same direction as S0 and Syz1, the center point S0 is shifted towards Syz1 by the difference, ensuring the difference is less than or equal to 0. When the digital human's shared center mapping point Syz1 is within the digital human's shared safe zone, such as... Figure 11 As shown, the point on the edge of the safe zone, Syz1, is used as the positioning anchor point Sdz1, which is the sharing safe point of the digital human limit. The parallel lines of the effective field of view sharing camera image and the parallel lines of the scene group center point are both determined based on the camera's shooting angle. The Z-axis (vertical / elevation coordinates Z or -Z) data of the sharing camera is modified so that the camera field center S0 is parallel to and bound to Sdz1. At this point, regardless of whether the center point of the original sharing scene group coincides with S0, or whether the field center point has moved out of the digital human sharing safe zone due to the binding position of Sdz1, a point on the parallel line of the current scene group (frame) center point that can coincide with the mapping of the current camera S0 is taken as the safe sharing scene group center point Sa0 containing the digital human, i.e., the target field center point.

[0147] It should also be noted that, in one feasible embodiment, after the virtual camera's capture scene has been matched with the display screen size and a safety warning zone has been set, the user can choose whether to adjust the position of the initial field center point according to their own needs. If the position of the initial field center point is not adjusted, the center point of the sharing scene group will always be used as the field center point for shooting the sharing scene, so as to reduce the system's computing load and improve the smoothness of the sharing scene.

[0148] Step S203: Calculate the distance between the center point of the virtual camera and the center point of the target field based on the volume ratio between the shared scene group and the main object model, and the distance between the center point of the target field and the center point of the main object.

[0149] In this embodiment, the metaverse system calculates the volume data ratio between the shared scene group and the main object model to obtain the magnification CL, and obtains the distance D1 between the center point of the target field and the center point of the main object. Based on the magnification CL and the distance D1, the system calculates the distance D2 between the center point of the virtual camera and the center point of the target field, which is D1*CL.

[0150] It should be noted that, in one feasible embodiment, if the D2 data is greater than the shortest distance L1 between the two walls in the indoor space where the subject is located, D2 is subtracted by one-quarter of L1 to obtain D3. D3 is used as the distance between the center point of the virtual camera and the center point of the target field, thereby avoiding errors such as collision and clipping between the camera and the walls of the indoor space.

[0151] Step S204: Determine the distance between the center point of the virtual camera and the center point of the target field, and the position of the center point of the target field as the composition parameters for assisting in sharing the composition, and obtain the assisting in sharing the composition.

[0152] In this embodiment, the metaverse system determines the distance between the center point of the virtual camera and the center point of the target field, and the position of the center point of the target field of the virtual camera, as the composition parameters for assisting the sharing composition, thereby obtaining the assisting sharing composition. The metaverse system can then control the virtual camera to shoot the sharing scene based on the composition.

[0153] Furthermore, in a feasible embodiment, step S30 above: generating the motion trajectory of the virtual camera based on the assisted sharing composition, includes:

[0154] Step S301: Use a circle with the center of the target field as the center and the distance as the radius as the initial motion trajectory of the virtual camera.

[0155] In this embodiment, the metaverse system uses the center point of the target field as the center and the distance between the center point of the virtual camera and the center point of the target field as the radius as the initial motion trajectory of the virtual camera. The height of the virtual camera is consistent with the height of the center point of the main object. Based on actual application requirements, the height of the virtual camera can also be adjusted according to user operation.

[0156] Step S302: If there are trajectory coordinate points in the initial motion trajectory that intersect with the virtual wall of the metaverse space, then adjust the initial motion trajectory according to the trajectory coordinate points to obtain the motion trajectory.

[0157] In this embodiment, when there are trajectory coordinate points in the determined initial motion trajectory that intersect with the virtual wall in the metaverse space, the metaverse system can adjust the initial motion trajectory of the virtual camera according to the intersecting trajectory coordinate points to obtain the motion trajectory.

[0158] For example, such as Figure 12As shown, if there are coordinate points on the initial motion trajectory generated with the center point of the target field as the center that intersect with the virtual wall, then a track collision point marker is generated. For example, a digital human located in the northeast corner of the room, after generating the shared camera trajectory, its trajectory collides with a certain coordinate on the north wall and east wall, and the intersection coordinates form trajectory collision points 1 and 2. Trajectory collision points 1 and 2 are each connected to Sa0 to form branches, forming two fan-shaped areas. The two fan-shaped areas are superimposed to form a sharing restricted area, i.e., the gray area sharing restricted area in the figure. Then, combined with the calculation rules for D3 mentioned above, return labels 1 and 2 are generated at the critical threshold point. When the camera moves along the motion trajectory to the coordinates corresponding to the return label according to the preset starting direction, a return action is performed, entering the loop direction.

[0159] Thus, in this embodiment, a sharing scene group is constructed based on the subject model in the metaverse space, and an auxiliary sharing composition is determined based on the image of the virtual camera in the metaverse space and the sharing scene group. This allows the perspective and composition of the sharing scene to be adjusted with the subject model as the core when constructing the sharing scene. Then, the motion trajectory of the virtual camera is generated based on the auxiliary sharing composition, and the virtual camera is controlled to capture the scene according to the trajectory. Dynamic sharing images can be obtained, providing users with a more vivid and immersive experience, enhancing the interactivity and participation of sharing in the metaverse space. Moreover, dynamic acquisition can capture multiple angles and details in the metaverse space, thereby bringing users a more comprehensive, flexible, and highly interactive sharing experience in the metaverse space.

[0160] Furthermore, based on the first and / or second embodiments of the metaverse space sharing method of this application described above, a third embodiment of the metaverse space sharing method of this application is proposed.

[0161] Step A10: When it is determined that there are multiple subject object models, a second sharing scenario group is constructed based on the multiple subject object models, wherein the subject object models include peer subject object models and / or sharing subject object models.

[0162] It should be noted that in this embodiment, the peer subject model refers to the peers existing in the metaverse space when the space sharer is capturing and sharing the screen, and the sharing subject model refers to the digital person of the person being shared with when viewing the content of the shared space. That is, the digital person of the person being shared with enters the sharing scene, but does not affect the data synchronization in the sharing scene.

[0163] In this embodiment, when the metaverse system determines that there are multiple subject models, a second shared scene group will be constructed based on these multiple subject models. The core framework of the scene group will define the combination range based on the common model range of the two subjects.

[0164] Step A20: Select the second sharing scene group as the sharing scene group, and execute the steps of determining the auxiliary sharing composition based on the image of the virtual camera in the metaverse space and the sharing scene group, as well as subsequent steps.

[0165] In this embodiment, the metaverse system uses the second sharing scene group as the sharing scene group, then determines the auxiliary sharing composition based on the image of the virtual camera in the metaverse space and the sharing scene group, generates the motion trajectory of the virtual camera based on the auxiliary sharing composition, and controls the virtual camera to collect scene data according to the motion trajectory to obtain the sharing image.

[0166] It should be noted that in this embodiment, when confirming the sharing screen, both the sharer and the companion can adjust their respective main objects. The final confirmation of the sharing screen is completed after both parties confirm it.

[0167] It should also be noted that in this embodiment, when a fellow digital human leaves the sharing scene group but the sharing state does not stop, the metaverse system acquires a new scene group and adjusts the composition of the sharing screen. Furthermore, when the sharer, with the consent of their fellow digital human, can obtain a digital human avatar of the fellow digital human to participate in the sharing, the duration of the avatar's appearance can be limited. During the sharing process, other digital human users related to the sharer or who can receive the sharing information can visit the current sharing space by submitting an application. Visitors can also interact in the sharer's sharing space through actions such as liking, leaving comments, and giving rewards.

[0168] Thus, the metaverse system in this embodiment can more freely and conveniently invite fellow travelers or friends who cannot meet in person to a real-time shared space environment. Through sharing, more people who cannot be present can travel together with the sharer to strengthen the Internet of Things. At the same time, the shared content can be transformed from traditional static images and text into a form that can support more interactive formats.

[0169] Furthermore, in one feasible embodiment, the metaverse system can immediately acquire the user's real-world environmental data upon detecting the opening of the metaverse space and the metaverse sharing command. The environmental data includes real-time time, geographic coordinates, and meteorological environmental data, and the virtual environmental data within the metaverse space is corrected based on the acquired environmental data.

[0170] Specifically, the Metaverse system generates or calibrates outdoor and indoor skylight animations in the current virtual space based on real-time time, geographic coordinates, and meteorological environmental data; generates or calibrates outdoor weather and outdoor environment animations in the current virtual space based on real-time time, geographic coordinates, and meteorological environmental data; generates or calibrates digital human dynamics at the time of sharing based on real-time time, geographic coordinates, meteorological environmental data, and the digital human's state before sharing; and generates or calibrates digital human body-feeling animations, facial expression animations, and mood indexes at the time of sharing based on real-time time, geographic coordinates, meteorological environmental data, and the digital human's state before sharing.

[0171] For ease of understanding and explanation, this embodiment uses the user-operated digital human "I" and part of its surrounding environment as the sharing object. The following are the basic environmental conditions and introduction:

[0172] In reality, the user is in their bedroom at 5 PM on a winter evening in a residential complex in Haidian District, Beijing, with light snow falling outside. Through the Metaverse settings, the user synchronizes the geographical coordinates of their real-world residence with the data of their digital self, "Me," in the Metaverse space. Based on the user's current device coordinates and other usage habits, the system determines that the user is at their real-world "home," and at this moment, the digital self "Me" in the Metaverse space is also in the corresponding virtual "home."

[0173] In the virtual space configuration, a personal virtual home consists of a virtual room and a virtual outdoor environment. The virtual room is a 4-meter cube space built by the user with the assistance of the metaverse system. The virtual room is surrounded by a virtual outdoor environment, which is composed of an outdoor space cube with dimensions of 8 meters long, 8 meters wide, and 6 meters high.

[0174] In virtual outdoor environment settings, the virtual room floats in the air. Therefore, under normal circumstances, the virtual outdoor environment typically displays environmental models or animations related to the aerial theme, such as clouds, birds, sun, moon, starry sky, airplanes, and balloons. Figure 13 As shown.

[0175] In the virtual interior environment setup, the interior consists of room furnishing models selected or created by the user. In this case study, the interior decorations include a fireplace, chairs, and windows. The shared scene is located on the north side of the virtual room. The proportions of the interior buildings and the digital human (1.75 meters tall, occupying approximately 0.6 meters of space) are consistent with real-life proportions, expressed in meters. Figure 14 As shown, the outdoor area displays a light snow effect.

[0176] Upon detecting the opening of the metaverse space and the metaverse sharing command, the metaverse system immediately acquires the user's real-world environmental data. This environmental data includes real-time time, geographic coordinates, and meteorological data. Based on this acquired environmental data, the system corrects the virtual environment data within the metaverse space. Time information can be obtained from a preset time on the current metaverse space sharing device; if the terminal is connected to the internet, it can also synchronize the local time information from the internet. Geographic coordinate information can be obtained from the positioning system on the current metaverse space sharing device; if the terminal is connected to the internet, it can also synchronize the local time information from the internet. Meteorological information can be obtained from the software and system on the current metaverse space sharing device; if the terminal is connected to the internet, it can also synchronize the local time information from the internet. Weather information generally includes temperature and weather conditions (e.g., sunny, rainy, snowy, and foggy).

[0177] The Metaverse system generates or calibrates outdoor and indoor skylight animations in the current virtual space based on real-time time, geographic coordinates, and meteorological data. Specifically, it synchronizes the intensity and position of sunlight and moonlight in real time based on the user's latitude and longitude, time, and solar altitude angle formula. In this embodiment, the center coordinates of the room in the Metaverse space are set to 0 for X / Y / Z, which is the current center of the virtual space. The room window faces north, and it is sunset at dusk. At this time, the sun is located on the west side of the room. The X-axis coordinate of the skylight module is greater than or equal to the X-coordinate of the north wall of the room plus 20 units of meters. The Z-axis and Y-axis data move dynamically in real time according to the solar angle height. The solar angle height can be calculated according to publicly available technology, which will not be elaborated here. When the sun's position cannot be obtained through the terminal, a corresponding preset movement trajectory can be selected according to the terminal's current time and season. The skylight cycle speed and position of the Metaverse space are allocated according to the historical average sunshine duration of the current season, with the sunshine duration H divided by 180°.

[0178] The Metaverse system generates or verifies outdoor weather and environmental animations for the current virtual space based on real-time time, geographic coordinates, and meteorological data. For example, based on meteorological information, the current virtual outdoor space is playing an outdoor weather animation of light snow and cloudy skies. When there are environmental models such as trees and flowers outdoors, the animations of these outdoor environmental models are called synchronously; for example, when there is a gust of wind, the tree models play an animation of swaying in the wind. Since the room in this case is located in the air and there are no ground decoration models, there is no need to call the outdoor environmental animation.

[0179] The Metaverse system generates or verifies the dynamics of the digital human at the time of sharing based on real-time time, geographic coordinates, meteorological data, and the digital human's state before sharing. For example, the Metaverse system identifies the last dynamic of the digital human controlled by the user before the sharing command, determining that the digital human is currently sitting in a chair near the north wall.

[0180] The Metaverse system generates or verifies the digital human's motion animations, facial expressions, and mood index based on real-time time, geographic coordinates, weather data, and the digital human's state before sharing. For example, the real-world environmental data might be: a certain day in December, 5 PM, outdoor weather - light snow, the user is sitting indoors on a chair, and the indoor temperature is 22°C. The Metaverse system can then use this environmental data to calibrate or retrieve the digital human's relevant facial expressions, body movements, and dynamic tags.

[0181] In one feasible embodiment, the digital human animation library and corresponding tags are illustrated as follows: Figure 15 As shown, in this embodiment, the digital human calling labels are: Fa-2 Warm, Somatosensory Animation Sa-1 Comfortable, and Dynamic Animation Da-2 Sitting.

[0182] Regarding the digital human's mood index, different mood index points are assigned based on the facial expressions, body sensations, and dynamic tags used by the digital human in its current sharing state. For example, a "happy" tag adds 2 mood points, a "comfortable" tag adds 1 mood point, and conversely, a "cold" body sensation tag subtracts 1 mood point. The mood index can be set with multiple levels, with a minimum of three levels: depressed, neutral, and happy. Mood states are generally associated with facial expression tags. A diagram illustrating the relationship between the digital human's mood index, state, and facial expression library is shown below. Figure 16 As shown.

[0183] It should be noted that the digital human's mood status, corresponding to the digital human's mood index, can be changed by the user. For example, if the user has set a mood status on the day the sharing command is initiated, the mood status set for that day will be used by default. In the metaverse virtual space, the digital human's mood status can be updated hourly based on the current environmental conditions of the virtual space.

[0184] Thus, this embodiment can share the overall dynamic environment of the metaverse space in which the digital human resides in real time, making the sharing of the digital human's life in the metaverse more realistic and convenient; it can make dynamic expressions, body movements, and interactive interactions that are consistent with reality based on the real space environment or the environment synchronized by digital twin technology, enhancing the experience of sharing the dual play and interaction of virtual and reality.

[0185] In another feasible embodiment, the metaverse system can add a shared message, time, temperature, and space name to the sharing scenario. Once the message content is determined, a text layer is overlaid on the video feed generated by the virtual camera, displaying the message content according to the corresponding state, while also showing the current time, temperature, or the name of this metaverse space. The time and temperature can be selected by the user for display. The metaverse system can also send metaverse sharing information to receiving terminals, blockchains, or other sharing broadcasting carriers. Furthermore, the metaverse system can display real-time panoramic or partial scene sharing content based on the network environment currently used by the receiving terminal.

[0186] Thus, this embodiment breaks away from the traditional static image and text sharing format of the metaverse space, allowing metaverse space sharing to possess novel dynamic effects and sharing formats that match its characteristics. Specifically, the method for setting up the sharing camera within the metaverse space, and the creation of a realistic digital human based on real-time weather, time, and other factors, along with corresponding sharing messages, have all achieved certain technological improvements over traditional sharing methods. Furthermore, the system can automatically determine whether the sharer has companions and share the screen with them, making the sharing interaction more novel. Simultaneously, not only can the recipient see the sharer's real-time status, but they can also enter the sharing screen, construct new sharing screens, and interact with the digital human within the sharing screen in real time, bringing users a more comprehensive, flexible, and highly interactive metaverse space sharing experience.

[0187] Furthermore, this application also proposes a metaverse space sharing device.

[0188] Please refer to Figure 17 The metaverse space sharing device of this application includes:

[0189] The sharing scene group construction module 10 is used to construct sharing scene groups based on the subject object model in the metaverse space.

[0190] The auxiliary sharing composition determination module 20 is used to determine the auxiliary sharing composition based on the image of the virtual camera in the metaverse space and the sharing scene group.

[0191] The motion trajectory generation module 30 is used to generate the motion trajectory of the virtual camera based on the assisted sharing composition.

[0192] The scene acquisition module 40 is used to control the virtual camera to acquire scenes according to the motion trajectory and obtain shared images.

[0193] The functions of each module in the aforementioned metaverse space sharing device correspond to the steps in the aforementioned metaverse space sharing method embodiment, and their functions and implementation processes will not be described in detail here.

[0194] In addition, this application also proposes a storage medium storing a program for sharing metaverse space, which, when executed by a processor, implements the steps of the metaverse space sharing method of this application as described above.

[0195] The specific embodiments of the storage medium in this application are basically the same as the embodiments of the metaverse space sharing method described above, and will not be repeated here.

[0196] Furthermore, this invention also proposes a computer program product, including a metaverse space sharing program, which, when executed by a processor, implements the steps of the metaverse space sharing method described above.

[0197] The specific implementation of the computer program product of the present invention is basically the same as the various embodiments of the metaverse space sharing method described above, and will not be repeated here.

[0198] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0199] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0200] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0201] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A method for sharing metaverse space, characterized in that, The methods for sharing the metaverse space include: The sharing scene group is constructed based on the subject object model in the meta-universe space. The subject object model refers to the main three-dimensional model of the core object or scene to be shared. The auxiliary sharing composition is determined based on the footage from the virtual camera in the metaverse space and the sharing scene group; The motion trajectory of the virtual camera is generated based on the assisted sharing composition; The virtual camera is controlled to capture scene data according to the motion trajectory, and a shared image is obtained. The steps for constructing a sharing scene group based on the subject object model in the metaverse space include: The core framework for scene group identification is generated based on the subject object model in the metaverse space; Centered on the aforementioned scene group recognition core framework, an environment-type recognition field is constructed; The environmental elements within a preset range of the core framework of the scene group are identified through the environmental recognition field. The environmental elements and the subject model are combined to construct a sharing scene group; The step of determining the auxiliary sharing composition based on the image from the virtual camera in the metaverse space and the sharing scene group includes: The center point of the shared scene group is determined as the initial field center point of the image of the virtual camera in the metaverse space; Based on the position of the main body center point of the main body model in the image, the initial field center point is adjusted to obtain the target field center point; Based on the volume ratio between the shared scene group and the main object model, and the distance between the center point of the target field and the center point of the main object, calculate the distance between the center point of the virtual camera and the center point of the target field; The distance between the center point of the virtual camera and the center point of the target field, and the position of the center point of the target field are determined as the composition parameters for assisting in sharing the composition, thus obtaining the assisting in sharing the composition.

2. The metaverse space sharing method as described in claim 1, characterized in that, The step of generating the motion trajectory of the virtual camera based on the assisted sharing composition includes: The initial motion trajectory of the virtual camera is a circle with the center point of the target field as the center and the distance as the radius. If there is a trajectory coordinate point in the initial motion trajectory that intersects with the virtual wall of the metaverse space, then the initial motion trajectory is adjusted according to the trajectory coordinate point to obtain the motion trajectory.

3. The metaverse space sharing method as described in claim 1, characterized in that, Prior to the step of constructing a shared scene group based on the subject model in the metaverse space, the method further includes: Obtain the screen size of the display terminal; The acquisition parameters of the virtual camera in the metaverse space are adjusted according to the screen size so that the acquisition scene of the virtual camera matches the screen size.

4. The metaverse space sharing method as described in any one of claims 1 to 3, characterized in that, The method further includes: When it is determined that the subject object model includes multiple subjects, a second sharing scenario group is constructed based on the multiple subjects, wherein the subjects include peer subjects and / or sharing subjects. The second sharing scene group is used as the sharing scene group, and the steps of determining the auxiliary sharing composition based on the image of the virtual camera in the metaverse space and the sharing scene group, as well as subsequent steps, are executed.

5. A metaverse space sharing device, characterized in that, The metaverse space sharing device includes: The shared scene group construction module is used to construct shared scene groups based on the subject object model in the metaverse space. The subject object model refers to the main 3D model of the core object or scene to be shared. The shared scene group construction module is also used to generate a scene group recognition core framework based on the subject object model in the metaverse space; construct an environment recognition field with the scene group recognition core framework as the center; identify environmental elements within a preset range of the scene group recognition core framework through the environment recognition field; and combine the environmental elements and the subject object model to construct a shared scene group. An auxiliary sharing composition determination module is used to determine an auxiliary sharing composition based on the image of a virtual camera in the metaverse space and the sharing scene group. The module is further used to determine the center point of the sharing scene group as the initial field center point of the image of the virtual camera in the metaverse space; adjust the initial field center point according to the position of the main object model's center point in the image to obtain a target field center point; calculate the distance between the center point of the virtual camera and the target field center point based on the volume ratio between the sharing scene group and the main object model, and the distance between the target field center point and the main object model's center point; and determine the distance between the center point of the virtual camera and the target field center point, and the position of the target field center point, as the composition parameters for the auxiliary sharing composition, thus obtaining the auxiliary sharing composition. The motion trajectory generation module is used to generate the motion trajectory of the virtual camera based on the assisted sharing composition; The scene acquisition module is used to control the virtual camera to acquire scenes according to the motion trajectory and obtain shared images.

6. A terminal device, characterized in that, The terminal device includes: a memory, a processor, and a metaverse space sharing program stored in the memory and executable on the processor. When the metaverse space sharing program is executed by the processor, it implements the steps of the metaverse space sharing method as described in any one of claims 1 to 4.

7. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and the storage medium stores a metaverse space sharing program, which, when executed by a processor, implements the steps of the metaverse space sharing method as described in any one of claims 1 to 4.

8. A computer program product, characterized in that, The computer program product includes a metaverse space sharing program, which, when executed by a processor, implements the steps of the metaverse space sharing method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and device for processing spatio-temporal data in meta-universe scene and electronic equipment

    CN116861034A