Method, device, medium and product for entering cloud game scene through meta universe

By collecting and matching feature data from the metaverse and cloud game scenes on the cloud server, the game startup without trace switching is achieved, which solves the problem of reduced user experience in the existing technology and improves the immersive experience of cloud games.

CN118949431APending Publication Date: 2024-11-15MIGU INTERACTIVE ENTERTAINMENT CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410955753.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

When existing meta-universe products enter cloud games from meta-universe scenes, the screen switching is unnatural, resulting in a decrease in user experience, which violates the ideal of fusion between virtual and reality.

Method used

The cloud server collects the characteristic data of the metaverse scene where the user is located to match the game scene to achieve game startup with traceless switching. The user can directly enter the game scene area that matches the current metaverse scene.

Benefits of technology

It enhances the immersive experience of users, realizes game startup with traceless switching in scenes, and improves the user experience of cloud games.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118949431A_ABST
    Figure CN118949431A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for entering a cloud game scene through a meta universe, a medium and a product. The cloud server collects feature data of the meta-universe scene where the user is located through the cloud game local end and performs feature data matching on the collected meta-universe scene where the user is located and the game scene to obtain game scene data matched with the feature data; wherein the cloud game is started at the cloud end, and the feature data of the game scene is acquired by the cloud server in advance; the cloud server transmits a matching scene of the cloud game to a cloud game local end according to the game scene data, and the matching scene is displayed when the cloud game is started. And the user directly enters the matched game scene area when entering the cloud game, so that the seamless switching of the game scene is realized, and the immersion experience of playing is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud gaming technology, and in particular to a method, device, medium and product for entering a cloud gaming scene through a metaverse. Background Art

[0002] Most of the existing Metaverse products on the market do not perform transition processing or simple nesting processing for the launch of third-party applications in the Metaverse. For example, when players enter cloud games from the Metaverse scene, they are generally directly redirected from the Metaverse screen to the cloud game login or queue page. For users, the screen presented is an abrupt switch from the Metaverse 3D screen to the 2D screen for game login. In the current product experience, users frequently switch between screens in different dimensions, which reduces the user's immersion experience in Metaverse products, which also goes against the ideal of Metaverse products to promote the integration of the virtual and real worlds. Summary of the invention

[0003] The present invention provides a method, device, medium and product for entering a cloud game scene through a metaverse, so that when a user enters a cloud game, he or she can directly enter a game scene area in the cloud game that matches the current metaverse scene, thereby realizing game startup with seamless scene switching and enhancing the immersive experience of the game.

[0004] The present invention provides a method for entering a cloud gaming scene through a metaverse, comprising the following steps:

[0005] Before the user starts the cloud game in the Metaverse scene, the cloud server collects the feature data of the Metaverse scene where the user is located through the local end of the cloud game and matches the feature data of the Metaverse scene where the user is located with the game scene to obtain the game scene data that matches the feature data;

[0006] Among them, cloud games are started in the cloud, and the characteristic data of the game scene is pre-acquired by the cloud server;

[0007] The cloud server transmits the matching scene of the cloud game to the local end of the cloud game based on the game scene data, and displays the matching scene when the cloud game is started.

[0008] Preferably, the characteristic data of the game scene is also obtained by the user independently selecting several random scenes in the cloud game.

[0009] Preferably, the characteristic data of the game scene includes: the height difference of the scene in the game and the color parameters of the main blocks.

[0010] Preferably, the collecting of characteristic data of the metaverse scene in which the user is located includes collecting background characteristic data by means of global scene data scanning;

[0011] The user independently selects several random scenes in the cloud game to collect front-end data including real-time collection of local data.

[0012] Preferably, the global scene data scanning method for collecting background feature data includes the following steps:

[0013] Through the interface between Metaverse and the local cloud game terminal, Metaverse transmits the height difference of the scene in the game and the color parameters of the main blocks to the local cloud game SDK to complete the global feature collection in the scene;

[0014] The local data real-time collection method for collecting front-end data includes the following steps:

[0015] In the Metaverse space, a cloud game information list is provided, allowing users to select games. After the selected game is determined, the game information is sent to the cloud server;

[0016] Preferably, in the process of matching the data between the metaverse scene and the game scene by the cloud server, when the background is used to complete the global collection of features in the scene, the matching block range is determined, including the following steps:

[0017] Automatically partition the scenes in the metaverse to obtain the distance between the center of each block and the nearest edge point and the average distance between the average center point of the block;

[0018] The Metaverse provides the user's visual range, that is, the rendering distance of the scene around the user, through the interface with the local end of the cloud game;

[0019] Compare the average center point distance with the rendering distance of the Metaverse; when the average center point distance is greater than the rendering distance of the Metaverse, the matching block selects the block where the user is currently located; when the average center point distance is less than the rendering distance of the Metaverse, all blocks involved within the rendering distance of the Metaverse from the user are included in the matching range.

[0020] Preferably, in the process of matching the metaverse scene with the game scene on the cloud server, when the front end is used to collect local data in real time, the anchor information is used to generate a preset instruction set to operate the cloud game screen, including the following steps:

[0021] The location information of the block in the game scene to which the user needs to jump is obtained through the location information currently selected by the user;

[0022] Start the cloud game instance and generate the control flow through the preset instruction set, and send it to the cloud server, so that the target game on the cloud is loaded to the scene that needs to be jumped to;

[0023] The cloud server returns the returned video stream and audio stream to the terminal, launches the game through the SDK, and displays the play page of the target game.

[0024] Preferably, the method for obtaining the position information of the block in the game scene to be jumped by the user through the position information currently selected by the user is specifically as follows:

[0025] Obtain block data in the user's metaverse scene and extract the characteristic attributes of each block;

[0026] All blocks in the game scene are initially screened by the main block color parameters of the center point of the block where the user is located, and blocks with difference values ​​less than a certain custom range are selected as proposed matching blocks;

[0027] Match each Metaverse block with the proposed block and its blocks respectively to form multiple evaluation samples, and obtain the similarity between the proposed block and the Metaverse block;

[0028] Use a unique value that can represent the current block characteristics to represent the block characteristics, and filter out the cloud game block that is closest to the metaverse block.

[0029] Preferably, the specific steps of screening out the cloud game block closest to the metaverse block are:

[0030] Calculate the dimension difference of each group of block data, that is, subtract the mean value of each dimension from the block data of that dimension;

[0031] Calculate the covariance matrix of each mean, and find the eigenvalues ​​and corresponding eigenvectors of each group of covariance matrices, and arrange the eigenvectors into a matrix by row according to the corresponding eigenvalue size;

[0032] Calculate the central value of the main content of each group of block data, select the matching blocks with the smallest difference between the values ​​and the target elements and no duplication, and add up all the differences, which is the minimum loss value between the Metaverse block and the proposed block;

[0033] Calculate the minimum loss value between each Metaverse block and the proposed block, and the cloud game block with the smallest loss value is the one closest to the Metaverse block.

[0034] A device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements a method of entering a cloud gaming scene through a metaverse when executing the computer program.

[0035] A computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method of entering a cloud gaming scene through a metaverse.

[0036] A computer program product includes a computer program / instruction, which, when executed by a processor, implements the steps of a method for entering a cloud gaming scene through a metaverse.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present invention discloses a method, device, medium and product for entering a cloud game scene through a metaverse, so that when a user enters a cloud game, he or she can directly enter a game scene area in the cloud game that matches the current metaverse scene, thereby realizing game startup with seamless scene switching and enhancing the immersive experience of the game. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flowchart of a method for entering a cloud gaming scene through a metaverse provided by an embodiment of the present invention;

[0040] Figure 2 It is a schematic diagram of information flow provided by an embodiment of the present invention;

[0041] Figure 3 It is a schematic diagram of the feature collection of metaverse scene data provided by an embodiment of the present invention;

[0042] Figure 4 It is a block range association schematic diagram provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0044] See also Figure 1 , a method for entering a cloud gaming scene through a metaverse, comprising the following steps:

[0045] S1: Before the user starts the cloud game in the Metaverse scene, the cloud server collects the feature data of the Metaverse scene where the user is located through the local end of the cloud game and matches the feature data of the Metaverse scene where the user is located with the game scene to obtain the game scene data that matches the feature data;

[0046] Among them, cloud games are started in the cloud, and the characteristic data of the game scene is pre-acquired by the cloud server;

[0047] S2: The cloud server transmits the matching scene of the cloud game to the local end of the cloud game based on the game scene data, and displays the matching scene when the cloud game is started.

[0048] In one embodiment provided in this solution, see Figure 2 In order to facilitate data preprocessing, when the cloud game is started in the cloud, the game scene data is pre-acquired when the scene is loaded, and the scene is partitioned according to the features such as the height difference of the scene in the game and the color parameters of the main block, and uploaded to the scene matching server for storage. Before the user starts the cloud game in the metaverse scene, the feature data of the metaverse scene in which the user is located is collected through the local cloud game end, or several random scenes in the cloud game are extracted and displayed to the user terminal for the user to enter instructions for independent selection, and then uploaded to the scene matching server. The scene matching server matches the metaverse scene with the game scene to obtain game scene data with similar features to the metaverse scene. Through preset instructions, the cloud game is jumped to the matching scene on the cloud server, and the jumped screen is transmitted to the local cloud game end through video stream or audio stream, so that the user can start the game without trace switching of scenes, and enhance the immersive experience of playing.

[0049] Preferably, in step S1, the characteristic data of the game scene is also obtained by the user independently selecting several random scenes in the cloud game.

[0050] Preferably, the characteristic data of the game scene includes: the height difference of the scene in the game and the color parameters of the main blocks.

[0051] In one embodiment provided by the present solution, characteristic parameters of scene objects are extracted: in order to achieve scene matching more accurately, the height difference of the scene in the game, that is, the Z-axis difference, and the color parameters of the main blocks, that is, the RBG parameters, are collected.

[0052] For game engines, terrain editors are provided to allow developers to create and edit terrain in game scenes. Terrain is represented as a three-dimensional grid with height values ​​stored at each grid point. When the game is clouded or started, the game engine uses a rendering algorithm to present the terrain model on the screen. During the rendering process, the engine traverses each vertex of the terrain and calculates the actual three-dimensional position based on its height value. In this way, the Z-axis difference of each object can be obtained, that is, the height difference Δh between the position of the object and the reference plane.

[0053] The game engine uses the rendering pipeline to render the scene based on the light source, object position, material properties and other information in the scene. In this process, the final color and brightness value of each pixel can be calculated. At this time, the scene rendering result is saved as a two-dimensional image through techniques such as screenshots or screen recording. This image contains the rendering result of the entire scene, as well as the color and brightness information of various objects, that is, the RGB parameters δ, ε, ζ of each pixel in the scene object can be collected; δ, ε, ζ are the three components of red, green and blue respectively.

[0054] Then, partition according to the height difference and the color parameters of the main block, and divide the scene into different partitions according to the Z-axis difference and color difference. The specific implementation steps are as follows:

[0055] In the above process, the size of the partition and the known size of the game scene are defined, and the number of partitions k that need to be generated is obtained;

[0056] According to the RGB data δ, ε, ζ, the numerical formula of RGB parameters can be defined:

[0057]

[0058] r is the calculated RGB parameter, Δδ, Δε, and Δζ are the customized weight values ​​based on the three primary color components of red, green, and blue, respectively. In the above process, the height and RGB value of each point in the scene are obtained. Here, the two features are used as the x and y axes to obtain the coordinate coefficients (r, Δh) of all points;

[0059] Randomly select k block centers and record them as μ 1 , μ 2 ,…,μ k , assuming that these k points are the proposed centers of the blocks, it is found by referring to the K-means clustering algorithm that the best partition can be obtained by selecting the assumed center point with the shortest distance from all points and partitioning, and then selecting the most suitable center point in the partition to re-partition.

[0060] The loss function is defined here as:

[0061]

[0062] Where ω is an arbitrary point, c i represents the partition to which ω belongs, μ is the proposed center point, and M is the total number of points. The optimal value of k partitions is obtained by minimizing the loss function. The specific process is as follows:

[0063] (1) Set an iteration number t = 0, 1, 2, ..., and repeatedly calculate each point ω i , assign it to the nearest center, that is, it must satisfy:

[0064]

[0065] (2) After the initial zoning, reselect the most appropriate center point within the zoning. The selection conditions are:

[0066]

[0067] Here b is the partition After reselecting the center point μ, repeat the above step (1) to repartition until the iterative steps are exhausted, and obtain each optimal partition and its included points. At this time, the block surrounded by all points is regarded as a single partition.

[0068] Then the blocks are digitized and the data is stored. In the above steps, the optimal partition and the point data contained therein are obtained. In order to more intuitively represent the partition characteristics, the bit data is averaged to obtain the average color feature value r of the partition data. c , the average height eigenvalue h c ;

[0069]

[0070] Where c represents the partition, b is the total number of points in the c partition, and h is i is the point height value, r i is the point color feature value;

[0071] Finally, all the characteristic data of the block are obtained, and the average color characteristic value r c , the average height eigenvalue h c , feature point RGB data δ c , ε c , c After the data is stored, it is convenient for the implementation of subsequent steps. The coordinate position of the center point of the block is recorded to facilitate subsequent jumping and information collection.

[0072] Preferably, the feature data of the metaverse scene in which the user is located is collected by scanning the background feature data in a global scene data manner;

[0073] The user independently selects several random scenes in the cloud game to collect front-end data using a local data real-time collection method.

[0074] In the above scheme, on the basis of good data preparation on the game side, the metaverse scene data is processed accordingly to extract the characteristic data of the player's surrounding environment. Considering both efficiency and information security, two data collection schemes, background and foreground, are proposed.

[0075] Preferably, the method of collecting background feature data by global scene data scanning includes the following steps:

[0076] Through the interface between the Metaverse and the local cloud game end, the Metaverse transmits the height difference of the scene in the game and the color parameters of the main blocks to the local cloud game SDK to complete the global collection of features in the scene.

[0077] In one embodiment of this solution, the local SDK completes the global digitization of the features in the scene and then uploads it to the cloud server, where the scene is partitioned and the partitions are digitized;

[0078] When users experience cloud game switching, they transmit their current location information in the metaverse space to the cloud server, and the cloud server obtains the required scene feature data through location information mapping.

[0079] Among the above solutions, most of the existing solutions for integrating third-party software in the Metaverse are integrated through SDK. For third-party software in the Metaverse space, there are underlying conditions to collect scene data and choose global scene data scanning. In order to reduce the latency problem caused by a large amount of real-time calculations and rendering, it is necessary to scan and store all game scene data in advance. For most games, the scene update cycle is generally long. For existing games, scene updates are generally performed by replacing the full package or downloading incremental patches. If the game package is updated, the user cannot know the update of the resources if the update content is not disclosed. In order to avoid errors in subsequent scene matching due to subsequent content updates, the game scene needs to be globally scanned again after the package is changed. In order to ensure the integrity and timeliness of the matching data when the scene is switched, and to avoid operation delays caused by repeated global scanning of the scene, a solution is adopted to pre-process and store the scene for public use during the game update cycle.

[0080] In one embodiment provided in this solution, see Figure 3 Through the interface cooperation between the Metaverse and the local end of the cloud game, the Metaverse transmits all the height difference information and RGB parameters in the scene to the local SDK of the cloud game during the rendering process through the engine, completing the pre-collection of all scene data in the Metaverse space where the user is located; the local SDK completes the global digitization of the features in the scene and uploads it to the fast game information collection server, and then partitions the scene and digitizes the partitions in the information collection server; since the global partitioning and digitization of the Metaverse space have been completed in advance, when experiencing the cloud game switch, the user only needs to transmit the current location information in the Metaverse space to the information collection server. The information collection server will obtain the required scene feature data through location information mapping and upload it to the scene matching server for data processing.

[0081] Preferably, the method of collecting front-end data in real-time local data collection includes the following steps:

[0082] In the metaverse space, a list of cloud game information is provided to allow users to select games. After the selected game is determined, the game information is sent to the cloud server.

[0083] In one embodiment of this solution, the partition information and anchor point information of the cloud game are obtained through the game information;

[0084] Randomly select several partitions based on the partition information of the cloud game, and synchronize the anchor information to the cloud server;

[0085] After obtaining the anchor point information, the cloud server re-renders the partition and sends the partition scene to the cloud server in the form of a video stream;

[0086] The cloud server organizes the information of the partitioned scenes into a selectable list structure and synchronizes it to the local cloud game terminal;

[0087] The user selects the scene to jump to and synchronizes the feature data of the scene to the cloud server.

[0088] In the above solutions, for some Metaverse spaces that cannot open background data collection permissions, or Metaverse spaces that cannot support SDK integration, here is an alternative solution for local data real-time collection. Through the characteristics of cloud games, when the Metaverse space cannot provide scene information, it can provide users with the ability to actively choose to jump to the scene.

[0089] In the above scheme, the steps of partitioning the game scene by the characteristic data of the scene are specifically as follows: determine the size of the partition and the size of the game scene to obtain the number of partitions that need to be generated; obtain the height of each point in the scene and the color parameter value of the main block by quantifying the color parameters of the main block; randomly select the proposed centers of several partitions according to the height of each point in the scene and the color parameter value of the main block, and minimize the loss function of the K-means clustering algorithm to obtain the best partition of several partitions; quantify the partition characteristics of the best partition.

[0090] In one embodiment provided by the present scheme, in the metaverse space, a cloud game information list is provided to allow users to select games, and after the selected game is determined, the game information is sent to the scene matching server; the above steps obtain all partition feature values ​​and anchor information of the game and store them with the scene matching server, and the game partition information is obtained through the game information; several partitions are randomly selected, and the partition anchor information is synchronized to the cloud server; the cloud server re-renders the partition after obtaining the anchor information, and sends the partition scene to the scene matching server in the form of a video stream; the scene matching server organizes the scene information into an optional list structure and synchronizes it to the display terminal for display; the player selects the scene to be jumped to and synchronizes the scene information to the scene matching server.

[0091] Preferably, in the process of matching the metaverse scene with the game scene by the cloud server, if the background is used to complete the global collection of features in the scene and determine the matching block range, the following steps are included:

[0092] The scenes in the metaverse were automatically partitioned to obtain the distance between the center of each block and the nearest edge point and the average distance between the average center point of the block;

[0093] The Metaverse provides the user's visual range, that is, the rendering distance of the scene around the user, through the interface with the local end of the cloud game;

[0094] Compare the average center point distance with the rendering distance of the Metaverse; when the average center point distance is greater than the rendering distance of the Metaverse, the matching block selects the block where the user is currently located; when the average center point distance is less than the rendering distance of the Metaverse, all blocks involved within the rendering distance of the Metaverse from the user are included in the matching range.

[0095] In an embodiment provided by this solution, the scene in the metaverse is automatically partitioned using the same operation steps. At this time, the distance d between the center position of each block and the nearest edge point and the average minimum distance d between the center points of the block can be obtained. avg ;

[0096]

[0097] Where m is the total number of blocks, d i Indicates the distance from the center of the i-th block to the nearest edge point.

[0098] In the metaverse scenario, the computing power supply of the metaverse is uncertain for different scenarios, which will limit the rendering capabilities of the game scenes. Here, the metaverse side needs to provide the user's farthest visible range through an interface, that is, the farthest rendering distance of the scene around the user.

[0099] At this time, the average distance d of the metaverse scene blocks is obtained avg Rendering distance d from the Metaverse i When d avg >d i When d avg <d i When , the matching operation needs to be user-centric, and all involved blocks within the distance di between the user and the Metaverse rendering are included in the matching range.

[0100] In the above scheme, see Figure 4, scene matching needs to consider not only the area where the user is located, but also the influence of surrounding blocks. At this time, the matching service server will perform the following operations:

[0101] The user's current location information and associated block range values ​​are used to obtain the user's current block and other matching blocks.

[0102] Select a suitable block from the preset game scene information through a matching scheme and obtain the position information of the central block;

[0103] Start the cloud game instance and generate a control flow through a preset instruction set, which is sent to the cloud server so that the target game on the cloud is loaded into the scene that needs to be jumped to in the target game. The preset instruction set is used to log in to the target game and move the character to the optimal matching block position, including account and password input, map jump instructions, etc.

[0104] The video stream and audio stream are returned to the user device, and the game is launched through the client or SDK. Finally, the play page of the target game is directly displayed on the user terminal and is located in a location close to the current metaverse scene, such as the seaside, forest, desert, etc.

[0105] Preferably, in the process of matching the metaverse scene with the game scene on the cloud server, if the front end is used to collect local data in real time, and the anchor information is used to generate a preset instruction set to operate the cloud game screen, the specific steps are as follows:

[0106] The location information of the block in the game scene to which the user needs to jump is obtained through the location information currently selected by the user;

[0107] Start the cloud game instance and generate the control flow through the preset instruction set, and send it to the cloud server, so that the target game on the cloud is loaded to the scene that needs to be jumped to;

[0108] The cloud server returns the returned video stream and audio stream to the terminal, launches the game through the SDK, and displays the play page of the target game.

[0109] Preferably, the method for obtaining the position information of the block in the game scene to be jumped by the user through the position information currently selected by the user is specifically as follows:

[0110] Obtain block data in the user's metaverse scene and extract the characteristic attributes of each block;

[0111] All blocks in the game scene are initially screened by the main block color parameters of the center point of the block where the user is located, and blocks with difference values ​​less than a certain custom range are selected as proposed matching blocks;

[0112] Match each Metaverse block with the proposed block and its blocks respectively to form multiple evaluation samples, and obtain the similarity between the proposed block and the Metaverse block;

[0113] Use a unique value that can represent the current block characteristics to represent the block characteristics, and filter out the cloud game block that is closest to the metaverse block.

[0114] In one embodiment provided by this solution, the block data in the user's actual metaverse scene is obtained and marked as P A ,P B ,P C ,…,P Z , and extract the characteristic attributes of each block according to the parameter collection method.

[0115] Where P is the set of characteristic parameters of each block, for example: P A = {r A ,h A ,δ A ,ε A ,ζ A};

[0116] In order to reduce the repetitiveness of matching, all blocks in the game scene are first screened by the color feature value of the center point of the block where the user is located, and blocks with difference values ​​less than a certain custom range are selected as the proposed matching blocks;

[0117] In the above step description, not only the matching of the block where the user is located needs to be considered, but also the surrounding blocks need to be analyzed. In order to comprehensively analyze the matching of the central block and the surrounding blocks, each Metaverse block is matched with the proposed block and its blocks respectively to form multiple evaluation samples, so as to analyze the similarity between the proposed block and the Metaverse block;

[0118] For example: Block P in the Metaverse scene A ,P B ,P C ,…,P Z Plan a block O with a certain cloud game 1 ,O 2 ,O 3 ,…,O m Mapping, forming Z data samples, X A ={p A , O 1 , O 2 , O 3 ... m},X B = {P B , O 1 , O 2 , O 3 ...m}...X Z = {P Z , O 1 , O 2 , O 3 ... m};

[0119] The above results in a set of blocks that match the proposed cloud game blocks. Since each block has too many features and they are not unique, it is impossible to intuitively know which cloud game block is closest to the cloud universe block. Therefore, a unique value that can represent the current block feature is used to represent the block feature, so that the cloud game block closest to the metaverse block can be intuitively selected.

[0120] Preferably, the specific steps of screening out the cloud game block closest to the metaverse block are:

[0121] Calculate the dimension difference of each group of block data, that is, subtract the mean value of each dimension from the block data of that dimension;

[0122] Calculate the covariance matrix of each mean, and find the eigenvalues ​​and corresponding eigenvectors of each group of covariance matrices, and arrange the eigenvectors into a matrix by row according to the corresponding eigenvalue size;

[0123] Calculate the central value of the main content of each group of block data, select the matching blocks with the smallest difference between the values ​​and the target elements and no duplication, and add up all the differences, which is the minimum loss value between the Metaverse block and the proposed block;

[0124] Calculate the minimum loss value between each Metaverse block and the proposed block, and the cloud game block with the smallest loss value is the one closest to the Metaverse block.

[0125] In one embodiment provided by this solution, the dimension difference X of each set of data is calculated. A' ,X B' ,X C' ...X Z' , that is, the mean of each dimension is subtracted from the data of that dimension;

[0126] The calculation of each dimension data is as follows:

[0127] example:

[0128] Where x represents the eigenvalue of each element, such as δ, ε, ζ, r, and h represent the number of eigenvalues ​​contained;

[0129] According to the data samples obtained above, calculate the covariance matrix of each sample C B …C Z And find the covariance matrix C of each group separatelyA , C B ...C Z The eigenvalues ​​and corresponding eigenvectors of are arranged in rows from top to bottom according to the corresponding eigenvalues ​​to form a matrix D A , D B ...D Z ;

[0130] Find the central value Y of the main content of each set of data A =D A X A ,Y B =D B X B …Y Z =D z X Z , the resulting value Y A , Y B ...Y Z The smaller the difference between the value in and the target element, the higher the matching rate;

[0131] Select the matching blocks with the smallest difference and no duplication, and add up all the differences. The sum is the minimum loss value between the Metaverse block and the proposed block. Calculate the minimum loss value between each Metaverse block and the proposed block. The cloud game block with the smallest loss value is the closest to the Metaverse block.

[0132] A device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements a method of entering a cloud gaming scene through a metaverse when executing the computer program.

[0133] A computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method of entering a cloud gaming scene through a metaverse.

[0134] A computer program product includes a computer program / instruction, which, when executed by a processor, implements the steps of a method for entering a cloud gaming scene through a metaverse.

[0135] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for entering a cloud gaming scene through a metaverse, characterized in that: The following steps are involved: Before the user starts the cloud game in the Metaverse scene, the cloud server collects the feature data of the Metaverse scene where the user is located through the local end of the cloud game and matches the feature data of the Metaverse scene where the user is located with the game scene to obtain the game scene data that matches the feature data; Among them, cloud games are started in the cloud, and the characteristic data of the game scene is pre-acquired by the cloud server; The cloud server transmits the matching scene of the cloud game to the local end of the cloud game based on the game scene data, and displays the matching scene when the cloud game is started.

2. A method for entering a cloud gaming scene through a metaverse according to claim 1, characterized in that: The characteristic data of the game scene is also obtained by the user independently selecting several random scenes in the cloud game.

3. A method for entering a cloud gaming scene through a metaverse according to claim 2, characterized in that: The characteristic data of the game scene includes: the height difference of the scene in the game and the color parameters of the main blocks.

4. A method for entering a cloud gaming scene through a metaverse according to claim 3, characterized in that: The collecting of characteristic data of the metaverse scene where the user is located includes collecting background characteristic data in a manner of global scene data scanning; The user independently selects several random scenes in the cloud game to collect front-end data including real-time collection of local data.

5. A method for entering a cloud gaming scene through a metaverse according to claim 4, characterized in that: The global scene data scanning method for collecting background feature data includes the following steps: Through the interface between Metaverse and the local cloud game terminal, Metaverse transmits the height difference of the scene in the game and the color parameters of the main blocks to the local cloud game SDK to complete the collection of feature data in the scene; The local data real-time collection method for collecting front-end data includes the following steps: In the metaverse space, a list of cloud game information is provided to allow users to select games. After the selected game is determined, the game information is sent to the cloud server.

6. A method for entering a cloud gaming scene through a metaverse according to claim 5, characterized in that: In the process of matching the data between the metaverse scene and the game scene on the cloud server, when the background is used to complete the global collection of features in the scene, the matching block range is determined, including the following steps: Automatically partition the scenes in the metaverse to obtain the distance between the center of each block and the nearest edge point and the average distance between the average center point of the block; The Metaverse provides the user's visual range, that is, the rendering distance of the scene around the user, through the interface with the local end of the cloud game; Compare the average center point distance with the rendering distance of the Metaverse; when the average center point distance is greater than the rendering distance of the Metaverse, the matching block selects the block where the user is currently located; when the average center point distance is less than the rendering distance of the Metaverse, all blocks involved within the rendering distance of the Metaverse from the user are included in the matching range.

7. A method for entering a cloud gaming scene through a metaverse according to claim 5, characterized in that: In the process of matching the metaverse scene with the game scene on the cloud server, when the front end is used to collect local data in real time, the anchor information is used to generate a preset instruction set to operate the cloud game screen, including the following steps: The location information of the block in the game scene to which the user needs to jump is obtained through the location information currently selected by the user; Start the cloud game instance and generate the control flow through the preset instruction set, and send it to the cloud server, so that the target game on the cloud is loaded to the scene that needs to be jumped to; The cloud server returns the returned video stream and audio stream to the terminal, launches the game through the SDK, and displays the play page of the target game.

8. A method for entering a cloud gaming scene through a metaverse according to claim 7, characterized in that: The specific implementation method of obtaining the position information of the block in the game scene to be jumped by the user through the position information currently selected by the user is as follows: Obtain block data in the user's metaverse scene and extract the characteristic attributes of each block; All blocks in the game scene are initially screened by the main block color parameters of the center point of the block where the user is located, and blocks with difference values ​​less than a certain custom range are selected as proposed matching blocks; Match each Metaverse block with the proposed block and its blocks respectively to form multiple evaluation samples, and obtain the similarity between the proposed block and the Metaverse block; Use a unique value that can represent the current block characteristics to represent the block characteristics, and filter out the cloud game block that is closest to the metaverse block.

9. A method for entering a cloud gaming scene through a metaverse according to claim 8, characterized in that: The specific steps to filter out the cloud game block closest to the Metaverse block are: Calculate the dimension difference of each group of block data, that is, subtract the mean value of each dimension from the block data of that dimension; Calculate the covariance matrix of each mean, and find the eigenvalues ​​and corresponding eigenvectors of each group of covariance matrices, and arrange the eigenvectors into a matrix by row according to the corresponding eigenvalue size; Calculate the central value of the main content of each group of block data, select the matching blocks with the smallest difference between the values ​​and the target elements and no duplication, and add up all the differences, which is the minimum loss value between the Metaverse block and the proposed block; Calculate the minimum loss value between each Metaverse block and the proposed block, and the cloud game block with the smallest loss value is the one closest to the Metaverse block.

10. A device, characterized in that: It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a method for entering a cloud game scene through a metaverse as described in any one of claims 1 to 9.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a method for entering a cloud gaming scene through a metaverse as described in any one of claims 1 to 9.

12. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of a method for entering a cloud gaming scene through a metaverse as described in any one of claims 1 to 9 are implemented.