Virtual scene switching method, device, storage medium and apparatus

CN116954368BActive Publication Date: 2026-10-23CHINA MOBILE GROUP JIANGSU +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310821281.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-05
Publication Date
2026-10-23
Estimated Expiration
2043-07-05

AI Technical Summary

Technical Problem

[0004]本发明的主要目的在于提供一种虚拟场景切换方法、设备、存储介质及装置,旨在解决现有的虚拟场景是由不同企业提供的不同的服务器搭建起来的,从而导致了不同场景中的认证机制、切换机制没有形成统一标准,进而导致了用户在进行虚拟场景切换时流程繁琐,用户体验较差的技术问题

Benefits of technology

[0043]在本发明中,公开了在接收到虚拟场景切换请求时,获取用户的会员等级和用户对于虚拟场景切换的场景延迟感知,根据会员等级和场景延迟感知确定虚拟场景的切换策略,基于切换策略将用户的虚拟形象从当前虚拟场景切换至目标虚拟场景;由于本发明中基于用户的会员等级和用户对于虚拟场景切换的场景延迟感知设置了不同的切换策略,以适配不同场景中的认证机制和切换机制,从而能够优化虚拟场景切换流程,进而能够提升用户体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116954368B_ABST
    Figure CN116954368B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of metaverse, and discloses a virtual scene switching method, equipment, a storage medium and a device, the method comprising the following steps: when a virtual scene switching request is received, the member level of a user and the scene delay perception of the user to the virtual scene switching are acquired, the switching strategy of the virtual scene is determined according to the member level and the scene delay perception, and the virtual image of the user is switched from the current virtual scene to the target virtual scene based on the switching strategy. Since different switching strategies are set based on the member level of the user and the scene delay perception of the user to the virtual scene switching in the application, the authentication mechanism and the switching mechanism in different scenes can be adapted, so that the virtual scene switching process can be optimized, and the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of metaverse technology, and in particular to a virtual scene switching method, device, storage medium and apparatus. Background Technology

[0002] With the continuous development of metaverse technology, metaverse has formed a certain industrial scale. For example, companies in the shopping industry chain can invest in providing servers to build virtual scenes of the shopping industry, and companies in the tourism industry chain can also invest in providing servers to create virtual tourism scenes. Users can build virtual avatars based on their actual image, and then control the virtual avatars to move around in various virtual scenes through augmented reality (AR) technology or virtual reality (VR) technology.

[0003] However, the existing virtual scenes are built on different servers provided by different companies, which has resulted in the lack of a unified standard for authentication and switching mechanisms in different scenes. This leads to cumbersome processes and poor user experience when users switch between virtual scenes. Summary of the Invention

[0004] The main objective of this invention is to provide a virtual scene switching method, device, storage medium, and apparatus, which aims to solve the technical problem that existing virtual scenes are built on different servers provided by different companies, resulting in a lack of unified standards for authentication and switching mechanisms in different scenes, which in turn leads to cumbersome processes and poor user experience when users switch virtual scenes.

[0005] To achieve the above objectives, the present invention provides a virtual scene switching method, the virtual scene switching method comprising:

[0006] Upon receiving a virtual scene switching request, the user's membership level and the user's perception of scene delay during the virtual scene switching are obtained.

[0007] The virtual scene switching strategy is determined based on the membership level and the scene latency perception.

[0008] Based on the switching strategy, the user's virtual avatar is switched from the current virtual scene to the target virtual scene.

[0009] Optionally, the virtual scene switching method further includes:

[0010] When the membership level is the first level and the scene latency perception is the first level, a first evaluation request is sent to the target server corresponding to the target virtual scene.

[0011] After receiving the first evaluation request, the target server selects a response server based on its available computing power at the time of the first evaluation request.

[0012] The response server responds to the virtual scene switching request, performs data migration on the user's virtual avatar data, and performs identity authentication on the user and the virtual avatar;

[0013] After authentication is completed, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

[0014] Optionally, the virtual scene switching method further includes:

[0015] The response server sends a temporary access token to the user server. The temporary access token is used to temporarily access the target virtual scene before data migration or identity authentication is completed.

[0016] When the total estimated time for data migration and identity authentication exceeds the validity period of the temporary access token, the response server sends a continuation token to the user server. The continuation token is used to temporarily access the target virtual scene after the temporary access token expires.

[0017] After the data migration is completed, the response server sends an overlay token to the user server. The overlay token is used to enrich the content of the virtual avatar.

[0018] Optionally, the virtual scene switching method further includes:

[0019] When the membership level is the first level and the scene latency perception is the second level, a second evaluation request is sent to the target server corresponding to the target virtual scene, where the second level is lower than the first level.

[0020] When the target server receives the second evaluation request, it selects a response server based on the target server's idle computing power and task execution frequency at the time of the second evaluation request.

[0021] The response server responds to the virtual scene switching request, performs data migration on the user's virtual avatar data, and performs identity authentication on the user and the virtual avatar;

[0022] After authentication is completed, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

[0023] Optionally, the virtual scene switching method further includes:

[0024] The response server sends the total estimated time for data migration and identity authentication to the user terminal.

[0025] After authentication is completed, the response server checks whether the user's virtual avatar is online;

[0026] Therefore, when the virtual avatar is offline, the response server sends a virtual scene switching notification to the user terminal;

[0027] When the virtual avatar is online, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

[0028] Optionally, the virtual scene switching method further includes:

[0029] When the membership level is the second level, a third evaluation request is sent to the target server corresponding to the target virtual scene, where the second level is lower than the first level;

[0030] When the target server receives the third evaluation request, it selects a response server based on the target server's idle computing power, task execution frequency, and server stability at the time of the request.

[0031] The response server responds to the virtual scene switching request, performs data migration on the user's virtual avatar data, and performs identity authentication on the user and the virtual avatar;

[0032] After authentication is completed, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

[0033] Optionally, the virtual scene switching method further includes:

[0034] When the total estimated time for data migration and identity authentication exceeds the preset time, and the user's virtual avatar's consumption score in the current virtual scene exceeds the preset score, the response server pushes upgrade information to the user terminal.

[0035] After receiving confirmation of upgrade information from the user via the user terminal, the response server initiates an assistance request to the target server.

[0036] After receiving the assistance request, the target server selects an assistance server based on its available computing power at the time of the request. The assistance server is used to assist the response server in switching virtual scenes.

[0037] In addition, to achieve the above objectives, the present invention also proposes a virtual scene switching device, which includes a memory, a processor, and a virtual scene switching program stored in the memory and executable on the processor. The virtual scene switching program is configured to implement the virtual scene switching method described above.

[0038] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a virtual scene switching program, which, when executed by a processor, implements the virtual scene switching method as described above.

[0039] In addition, to achieve the above objectives, the present invention also proposes a virtual scene switching device, which includes: an information acquisition module, a strategy determination module, and a scene switching module;

[0040] The information acquisition module is used to acquire the user's membership level and the user's perception of scene delay during virtual scene switching when a virtual scene switching request is received.

[0041] The strategy determination module is used to determine the virtual scene switching strategy based on the membership level and the scene latency perception.

[0042] The scene switching module is used to switch the user's virtual avatar from the current virtual scene to the target virtual scene based on the switching strategy.

[0043] This invention discloses a method for obtaining a user's membership level and the user's perception of scene delay when a virtual scene switching request is received. A virtual scene switching strategy is determined based on the membership level and the perception of scene delay, and the user's virtual avatar is switched from the current virtual scene to the target virtual scene based on the switching strategy. Because this invention sets different switching strategies based on the user's membership level and the user's perception of scene delay when switching virtual scenes, it adapts to authentication and switching mechanisms in different scenarios, thereby optimizing the virtual scene switching process and improving the user experience. Attached Figure Description

[0044] Figure 1 This is a schematic diagram of the structure of the virtual scene switching device for the hardware operating environment involved in the embodiments of the present invention;

[0045] Figure 2 This is a flowchart illustrating the first embodiment of the virtual scene switching method of the present invention;

[0046] Figure 3 This is a schematic diagram of virtual scene switching according to an embodiment of the virtual scene switching method of the present invention.

[0047] Figure 4This is a schematic diagram of a switching strategy according to an embodiment of the virtual scene switching method of the present invention;

[0048] Figure 5 This is an interactive diagram of virtual scene switching according to an embodiment of the virtual scene switching method of the present invention;

[0049] Figure 6 This is an interactive diagram of virtual scene switching according to an embodiment of the virtual scene switching method of the present invention;

[0050] Figure 7 This is an interactive diagram of virtual scene switching according to an embodiment of the virtual scene switching method of the present invention;

[0051] Figure 8 This is a structural block diagram of the first embodiment of the virtual scene switching device of the present invention.

[0052] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

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

[0054] Reference Figure 1 , Figure 1 This is a schematic diagram of the virtual scene switching device structure of the hardware operating environment involved in the embodiments of the present invention.

[0055] like Figure 1 As shown, the virtual scene switching device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen, and optionally, it may also include a standard wired interface or a wireless interface. In this invention, the wired interface of the user interface 1003 may be a USB interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

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

[0057] like Figure 1 As shown, the memory 1005, which is identified as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a virtual scene switching program.

[0058] exist Figure 1 In the virtual scene switching device shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the user device; the virtual scene switching device calls the virtual scene switching program stored in the memory 1005 through the processor 1001 and executes the virtual scene switching method provided in this embodiment of the invention.

[0059] Based on the above hardware structure, an embodiment of the virtual scene switching method of the present invention is proposed.

[0060] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the virtual scene switching method of the present invention, which presents the first embodiment of the virtual scene switching method of the present invention.

[0061] In the first embodiment, the virtual scene switching method includes the following steps:

[0062] Step S10: Upon receiving a virtual scene switching request, obtain the user's membership level and the user's perception of scene delay during virtual scene switching.

[0063] It should be understood that the execution subject of the method in this embodiment can be a virtual scene switching device with data processing, network communication and program running functions, such as a server, or other electronic devices that can achieve the same or similar functions. In this embodiment and other embodiments, the current server corresponding to the current virtual scene is used as an example for illustration.

[0064] It is understandable that if a user has not generated a virtual avatar in advance before controlling the virtual avatar to access the virtual scene, the user can generate the virtual avatar through user terminals such as AR devices and VR devices. This embodiment does not impose any restrictions on this.

[0065] In its specific implementation, the steps for generating a virtual avatar include: 1. Collecting the coordinates of key points on the user's skeletal structure to construct a user PoseTrack body dataset, resulting in a 3D avatar of the user; 2. Based on the avatar's posture and user preferences, generating a 3D virtual avatar with virtual head information; 3. Generating unique identity information corresponding to the virtual avatar, including: user identity information and virtual avatar identity information. The user identity information includes: terminal device security information, user physiological information, and user posture information. Terminal device security information includes: the International Mobile Equipment Identity (IMEI), Media Access Control (MAC), and Internet Protocol (IP) address of the user's terminal device; user physiological information includes: user fingerprint information and user nail bed information (considering that users will wear control devices, such as control gloves, to control the virtual avatar in the metaverse world, collecting information from the user's hands is relatively easy and more accurate); user posture information includes: gait information. The virtual avatar identity information includes: the correspondence between the virtual avatar and the user, the generation time of the virtual avatar, the generation device, and the ownership information of the virtual avatar. In the metaverse, users can purchase virtual avatars. Therefore, each virtual avatar corresponds to an owner—the user who owns the avatar—as well as the creator and copyright holder. Furthermore, considering the potential collaboration among multiple creators, copyright ownership is a necessary label for any virtual avatar. The virtual avatar's control permissions include: a list of controllable users and their permissions (considering that multiple people may create and control the avatar in the future, this limitation is necessary).

[0066] It should be understood that, in order to prevent the virtual avatar from being maliciously used and to improve security, this embodiment also authenticates the virtual avatar after its generation. Specifically, the authentication steps for the virtual avatar include: Virtual avatar authentication in this step is similar to user authentication before network access. The authentication method used can be any existing method for authenticating virtual avatars before network access, and the authentication content includes: consistency authentication: verifying whether the user's real identity information corresponding to the virtual avatar is consistent; security authentication: verifying whether the virtual avatar has a history of criminal activity (as mentioned before, virtual avatars are similar to non-fungible tokens (NFTs), and authors can resell the copyright ownership information; therefore, authenticating this information before the virtual avatar is network access prevents criminals from using the resale of virtual avatars to evade punishment); and identification information authentication: verifying whether the user's virtual identity contains all information categories of unique identity information.

[0067] For ease of understanding, please refer to Figure 3 This explanation is provided, but no limitations are imposed on this plan. Figure 3 This diagram illustrates the switching between virtual scenes. The virtual scenes are built using different servers provided by different companies. For example, companies in the shopping industry chain (such as manufacturers, logistics companies, and agents) can fund the provision of servers to build shopping virtual scenes, while companies in the tourism industry chain (such as scenic spots, tourism companies, and scenic spot operation and maintenance companies) can fund the provision of servers to create tourism virtual scenes. After generating a virtual avatar, users can control the virtual avatar to move around in various virtual scenes using AR or VR technology, and can also switch from one virtual scene to another according to the user's actual needs.

[0068] It should be understood that when a user needs to switch virtual scenes, the user can initiate a virtual scene switching request through their terminal to the server corresponding to the current virtual scene. The current virtual scene can be the virtual scene the user is currently accessing through their avatar, i.e., the virtual scene before the switch. The current server can be any of the servers that built the current virtual scene. The virtual scene switching request can include the switching command, the target virtual scene, the request time, the user's membership level, and the user's perceived scene latency during the switch. Therefore, upon receiving a virtual scene switching request, obtaining the user's membership level and perceived scene latency can be achieved by parsing the virtual scene switching request to obtain these information. The membership level can be a VIP level, which can include high (i.e., the first level): Diamond, Gold, and low (i.e., the second level): Silver, Ordinary. The first level is higher than the second level. Users can upgrade their virtual avatar's membership level by becoming a member. Scene delay perception can include: high (i.e., the first level) and low (i.e., the second level), with the first level being higher than the second level. Scene delay perception can be determined when a user switches from the current virtual scene to a target virtual scene. Since users have different needs in different scenes, for example, if a user wants their virtual avatar to enter the target virtual scene immediately, the scene delay perception is high for the user, and vice versa. Scene delay perception can be preset by the user, and this embodiment does not limit this.

[0069] Step S20: Determine the virtual scene switching strategy based on the membership level and the scene latency perception.

[0070] It should be understood that, in order to optimize the virtual scene switching process and achieve optimal resource scheduling, different switching strategies can be set based on the user's membership level and the user's perception of scene delay during virtual scene switching in this embodiment.

[0071] It should be noted that the switching strategy may include a first switching strategy, a second switching strategy, and a third switching strategy. The first switching strategy may involve sending a first evaluation request to the target server corresponding to the target virtual scene, enabling the target server to select the target server with the highest idle computing power as the responding server to respond to the virtual scene switching request, thereby improving the speed of switching the user's virtual avatar from the current virtual scene to the target virtual scene. The second switching strategy may involve sending a second evaluation request to the target server corresponding to the target virtual scene, enabling the target server to select a target server whose idle computing power and daily task execution frequency meet preset conditions as the responding server to respond to the virtual scene switching request, thereby ensuring the reasonable allocation of server resources. The third switching strategy may involve sending a third evaluation request to the target server corresponding to the target virtual scene, enabling the target server to select a target server whose idle computing power, daily task execution frequency, and server stability meet preset conditions as the responding server to respond to the virtual scene switching request, thereby ensuring the stability of the virtual scene switching.

[0072] For ease of understanding, please refer to Figure 4 This explanation does not limit the scope of this solution. Figure 4 The diagram illustrates the switching strategy. When the member level is at level one and the scene latency perception is at level one, a first evaluation request is sent to the target server corresponding to the target virtual scene. When the member level is at level one and the scene latency perception is at level two, a second evaluation request is sent to the target server corresponding to the target virtual scene, where level two is lower than level one. When the member level is at level two, a third evaluation request is sent to the target server corresponding to the target virtual scene, where level two is lower than level one.

[0073] Step S30: Based on the switching strategy, switch the user's virtual avatar from the current virtual scene to the target virtual scene.

[0074] It is understandable that switching a user's virtual avatar from the current virtual scene to the target virtual scene based on the switching strategy can be achieved by recommending a response server from the target server corresponding to the target virtual scene based on the switching strategy, and then having the response server respond to the virtual scene switching request to switch the user's virtual avatar from the current virtual scene to the target virtual scene.

[0075] In the first embodiment, upon receiving a virtual scene switching request, the user's membership level and the user's perception of scene delay during virtual scene switching are obtained. A virtual scene switching strategy is determined based on the membership level and the perception of scene delay. Based on the switching strategy, the user's virtual avatar is switched from the current virtual scene to the target virtual scene. Since this embodiment sets different switching strategies based on the user's membership level and the user's perception of scene delay during virtual scene switching to adapt to the authentication and switching mechanisms in different scenarios, the virtual scene switching process can be optimized, thereby improving the user experience.

[0076] Based on the above Figure 2 The first embodiment shown presents a second embodiment of the virtual scene switching method of the present invention.

[0077] In the second embodiment, the virtual scene switching method further includes:

[0078] When the membership level is the first level and the scene latency perception is the first level, a first evaluation request is sent to the target server corresponding to the target virtual scene;

[0079] After receiving the first evaluation request, the target server selects a response server based on its available computing power at the time of the first evaluation request.

[0080] The response server responds to the virtual scene switching request, performs data migration on the user's virtual avatar data, and performs identity authentication on the user and the virtual avatar;

[0081] After authentication is completed, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

[0082] It should be understood that, in order to prioritize meeting the low latency needs of high-level users, in this embodiment, when the membership level is first level and the scene latency perception is first level, a first evaluation request can be sent to the target server corresponding to the target virtual scene, so as to select the target server with the highest idle computing power at the time of the first evaluation request as the response server to respond to the virtual scene switching request.

[0083] Furthermore, in order to enable temporary access to the target virtual scene before the switching is complete, and to enrich the content of the virtual avatar, the virtual scene switching method further includes:

[0084] The response server sends a temporary access token to the user server. The temporary access token is used to temporarily access the target virtual scene before data migration or identity authentication is completed.

[0085] When the total estimated time for data migration and identity authentication exceeds the validity period of the temporary access token, the response server sends a continuation token to the user server. The continuation token is used to temporarily access the target virtual scene after the temporary access token expires.

[0086] After the data migration is completed, the response server sends an overlay token to the user server. The overlay token is used to enrich the content of the virtual avatar.

[0087] For ease of understanding, please refer to Figure 5 This explanation does not limit the scope of this solution. Figure 5 The diagram illustrates the virtual scene transition process. When the user's VIP level is Advanced (Diamond, Gold) and the user perceives high latency during virtual scene transitions, the specific transition process is as follows:

[0088] 1. Any building server in the current virtual scene (i.e., the shopping virtual scene in the figure) (i.e., the current server in the figure) initiates a first evaluation request to any building server in the target virtual scene (i.e., the tourism virtual scene in the figure) (i.e., the target server in the figure). The evaluation request includes: the request time t and the request command. The request command is to request all building servers in the tourism virtual scene to obtain their own idle computing power at the request time t.

[0089] 2. Based on the request time t in the request, all the building servers in the tourism virtual scene (i.e., the target server in the diagram) select the building server with the highest idle computing power at request time t to respond to the request, that is, filter out the response server.

[0090] 3. The response server sends a temporary access token (i.e., a temporary access token) to the user server. The temporary access token includes: the user's virtual avatar's access permission information, validity period, key data constituting the virtual avatar, and access scope. The function of the temporary access token is to allow the virtual avatar to tour a limited area in the virtual tourism scene before data migration and / or identity authentication are completed.

[0091] 4. After obtaining the temporary token, the user server can access the designated virtual tourism scene area with a basic virtual avatar within the specified time.

[0092] 5. The response server first performs data migration. After the migration is complete, the authentication process follows. Data migration includes migrating the user's virtual avatar's configuration data, asset data, and animation rendering data from the shopping virtual scene server to the tourism virtual scene server. Based on the migrated data, the response server processes the migrated data to generate the user's virtual avatar. User authentication includes verifying the consistency between the user and the virtual avatar, authenticating the user's access permissions for the virtual avatar, and verifying whether the virtual avatar has engaged in any violations within the shopping virtual scene.

[0093] 6. The server responds by determining whether the total estimated time for data migration and identity authentication exceeds the validity period of the temporary access token. If it does, the server sends a continuation token to the user server to replace the temporary access token currently held by the user server. The continuation token carries a temporary access token destruction command, access permission information, and the user's virtual avatar access duration. When the user receives the continuation token, the temporary access token destruction command takes effect and destroys the temporary access token.

[0094] 7. After the response server completes all data migration work, it sends an overlay token to the continuation token held by the user server. This overlay token contains all user avatar-related data. The purpose of the overlay token is to enrich the displayed and configurable content of the virtual avatar. In other words, at this point, the virtual user is exploring a limited area within the virtual tourism scenario based on the continuation token and overlay token held by the user server.

[0095] Having completed the data migration corresponding to the user's virtual avatar, the content displayed for the user's virtual avatar can now be much richer. This user virtual avatar differs from the simple virtual avatar based on key data carried in the temporary access token.

[0096] 8. The response server, based on the completed data migration, then performs authentication on the user. Once authentication is successful, the response server will issue a main token to the terminal used by the user's real identity and send a secondary token to the virtual avatar.

[0097] 9. The user server can send a main token and a secondary token to any of the construction servers of the virtual tourism scene. Once the tokens are verified, the user can use the virtual avatar to tour the virtual tourism scene.

[0098] Based on the above Figure 2 The first embodiment shown presents a third embodiment of the virtual scene switching method of the present invention.

[0099] In the third embodiment, the virtual scene switching method further includes:

[0100] When the membership level is the first level and the scene latency perception is the second level, a second evaluation request is sent to the target server corresponding to the target virtual scene, where the second level is lower than the first level.

[0101] When the target server receives the second evaluation request, it selects a response server based on the target server's idle computing power and task execution frequency at the time of the second evaluation request.

[0102] The response server responds to the virtual scene switching request, performs data migration on the user's virtual avatar data, and performs identity authentication on the user and the virtual avatar;

[0103] After authentication is completed, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

[0104] It should be understood that, considering that some users are not sensitive to latency, in order to achieve optimal resource scheduling, in this embodiment, when the membership level is the first level and the scene latency perception is the second level, a second evaluation request is sent to the target server corresponding to the target virtual scene, so as to select the target server whose idle computing power and daily task execution frequency meet the preset conditions as the responding server to respond to the virtual scene switching request, so as to ensure the reasonable allocation of server resources.

[0105] Furthermore, since the response server selected based on both idle computing power and the frequency of tasks executed that day is not chosen to select the server with the strongest computing power to improve the switching speed, users may experience online waiting times. To avoid excessively long online waiting times and improve user experience, this embodiment can also send the total estimated time for data migration and identity authentication to the user terminal so that the user can decide whether to wait online. Additionally, after authentication is completed, offline users are also notified. The virtual scene switching method further includes:

[0106] The response server sends the total estimated time for data migration and identity authentication to the user terminal.

[0107] After authentication is completed, the response server checks whether the user's virtual avatar is online;

[0108] Therefore, when the virtual avatar is offline, the response server sends a virtual scene switching notification to the user terminal;

[0109] The response server switches the user's avatar from the current virtual scene to the target virtual scene when the avatar is online.

[0110] For ease of understanding, reference is made to Figure 6 the following description, which does not limit the present solution. Figure 6 which is an interaction diagram of virtual scene switching. In the diagram, when the user's VIP level is advanced (diamond, gold) and the user's perception of scene delay for virtual scene switching is low, the virtual scene switching process is specifically as follows:

[0111] 1. Any construction server of the shopping virtual scene (i.e., the current server in the figure) initiates a second evaluation request to any construction server of the tourism virtual scene (i.e., the target server in the figure); wherein the second evaluation request includes: a request time t and a request command, and the request command is to request all construction servers in the tourism virtual scene to acquire their own idle computing power and the frequency of executing tasks on the current day at the request time t;

[0112] 2. All construction servers under the tourism virtual scene (i.e., the target servers in the figure) select a qualified response server based on the second evaluation request; wherein the selection strategy is: selecting a server that meets the condition of αQ+βM<Y in the tourism virtual scene at the request time t to respond, which is the response server; wherein α and β are coefficients, Q is the idle computing power, M is the frequency of executing tasks on the current day, and Y is an expert experience threshold;

[0113] 3. The response server predicts the total estimated time for data migration and identity authentication, and sends the total estimated time to the user terminal; wherein the total estimated time can be predicted using an existing neural network model, for example, a Long Short-Term Memory (LSTM) network to predict the data.

[0114] The user makes a judgment according to the total estimated time; if the user considers that the total estimated time is relatively short, an offline-free mode can be adopted, that is, the user can continue to control the avatar to wait and browse in the current unswitched shopping virtual scene. If the user considers that the total estimated time is relatively long, the user can perform the offline processing of the avatar first.

[0115] 4. The response server performs data migration first, and simultaneously judges whether the user's avatar is online, and performs identity authentication after the migration is completed;

[0116] 5. If the user's avatar is not online, the response server sends a scene switchable notification and a primary and secondary token issuing notification to the terminal device used by the user, and after the user's avatar goes online, sends the primary and secondary tokens to the terminal device used by the user and the user server;

[0117] 6. If the user's virtual avatar is online, the response server sends a changeable scene notification and access master and slave tokens to the user server in the shopping virtual scene. Then, the user server sends the master token to the terminal device used by the user.

[0118] 7. The user server can send a main token and a secondary token to any of the construction servers of the virtual tourism scene. Once the tokens are verified, the user can use the virtual avatar to tour the virtual tourism scene.

[0119] Based on the above Figure 2 The first embodiment shown presents a fourth embodiment of the virtual scene switching method of the present invention.

[0120] In the fourth embodiment, the virtual scene switching method further includes:

[0121] When the membership level is the second level, a third evaluation request is sent to the target server corresponding to the target virtual scene, where the second level is lower than the first level;

[0122] When the target server receives the third evaluation request, it selects a response server based on the target server's idle computing power, task execution frequency, and server stability at the time of the request.

[0123] The response server responds to the virtual scene switching request, performs data migration on the user's virtual avatar data, and performs identity authentication on the user and the virtual avatar;

[0124] After authentication is completed, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

[0125] It should be understood that, in order to ensure the stability of virtual scene switching and achieve optimal resource scheduling when the user's membership level is low, in this embodiment, when the membership level is second level, a third evaluation request is sent to the target server corresponding to the target virtual scene to select the target server whose idle computing power, daily task execution frequency and server stability meet the preset conditions as the responding server to respond to the virtual scene switching request.

[0126] Furthermore, to encourage further user spending and increase merchants' profit margins, the virtual scene switching method also includes:

[0127] The response server pushes upgrade information to the user terminal when the total estimated time for data migration and identity authentication performed by the response server is greater than a preset time, and the consumption score of the user's virtual avatar in the current virtual scene is greater than a preset score;

[0128] The response server sends an assistance request to the target server after receiving the confirmation upgrade information fed back by the user through the user terminal;

[0129] After receiving the assistance request, the target server selects an assistance server according to the idle computing power of the target server at the request moment of the assistance request, and the assistance server is configured to assist the response server in performing virtual scene switching.

[0130] For ease of understanding, reference is made to Figure 7 for description, which does not limit the present solution. Figure 7 which is an interaction diagram of virtual scene switching. In the diagram, when the user's VIP level is low (silver, ordinary), in order to promote further consumption of the user and improve the profit margin of the merchant, the virtual scene switching process is specifically as follows:

[0131] 1. Any construction server of the shopping virtual scene (i.e., the current server in the figure) initiates a third evaluation request to any construction server of the tourism virtual scene (i.e., the target server in the figure); wherein the third evaluation request includes: a request moment t and a request command, and the request command is to request all construction servers in the tourism virtual scene to acquire their own idle computing power, the frequency of executing tasks on the current day, and the server stability degree at the request moment t;

[0132] 2. All construction servers under the tourism virtual scene (i.e., the target server in the figure) select a qualified response server based on the third evaluation request; wherein the selection strategy is: selecting a server that satisfies αQ+βM+εN<Y at the request moment t to respond to the request, which is the response server; wherein α, β and ε are coefficients, Q is the idle computing power, M is the frequency of executing tasks on the current day, N is the server stability degree, and Y is an expert experience threshold.

[0133] 3. The response server predicts the total estimated time for performing data migration and identity authentication, and sends the total estimated time to the user terminal; wherein the total estimated time can be predicted by using an existing neural network model, for example, a Long Short-Term Memory (LSTM) network to predict the data.

[0134] 4. Based on the total estimated time and the user's virtual avatar's consumption behavior in the virtual shopping scene, the response server pushes VIP upgrade information to the user's virtual and real avatars. When the total estimated time is greater than T1 and the user's virtual avatar's consumption amount in the virtual shopping scene is greater than D1, the response server pushes the VIP upgrade channel to the user. After the user confirms the upgrade (from a silver or ordinary user to a diamond or gold user), the response server will send assistance request information to the other servers in the scenic area's virtual scene and select the server with the highest idle computing power at the current time t to respond to the server's request. This server is recorded as the assisting server.

[0135] At this point, the response server and the assisting server work together to provide authentication for the user's real and virtual avatars, as well as to migrate virtual avatar-related data, thereby improving processing speed and shortening the user's waiting time.

[0136] 5. After the server authenticates the user, it then migrates the user's virtual avatar data;

[0137] 6. Once authentication is successful and data migration is complete, the response server sends the main token to the user terminal and the secondary token to the user server.

[0138] 7. The user server can send a main token and a secondary token to any of the construction servers of the virtual tourism scene. Once the tokens are verified, the user can use the virtual avatar to tour the virtual tourism scene.

[0139] Furthermore, this embodiment of the invention also proposes a storage medium storing a virtual scene switching program, which, when executed by a processor, implements the virtual scene switching method described above.

[0140] In addition, refer to Figure 8 The present invention also proposes a virtual scene switching device, which includes: an information acquisition module 10, a strategy determination module 20, and a scene switching module 30.

[0141] The information acquisition module 10 is used to acquire the user's membership level and the user's perception of scene delay during virtual scene switching when a virtual scene switching request is received.

[0142] It is understandable that if a user has not generated a virtual avatar in advance before controlling the virtual avatar to access the virtual scene, the user can generate the virtual avatar through user terminals such as AR devices and VR devices. This embodiment does not impose any restrictions on this.

[0143] In its specific implementation, the steps for generating a virtual avatar include: 1. Collecting the coordinates of key points on the user's skeletal structure to construct a user PoseTrack body dataset, resulting in a 3D avatar of the user; 2. Based on the avatar's posture and user preferences, generating a 3D virtual avatar with virtual head information; 3. Generating unique identity information corresponding to the virtual avatar, including: user identity information and virtual avatar identity information. The user identity information includes: terminal device security information, user physiological information, and user posture information. Terminal device security information includes: the International Mobile Equipment Identity (IMEI), Media Access Control (MAC), and Internet Protocol (IP) address of the user's terminal device; user physiological information includes: user fingerprint information and user nail bed information (considering that users will wear control devices, such as control gloves, to control the virtual avatar in the metaverse world, collecting information from the user's hands is relatively easy and more accurate); user posture information includes: gait information. The virtual avatar identity information includes: the correspondence between the virtual avatar and the user, the generation time of the virtual avatar, the generation device, and the ownership information of the virtual avatar. In the metaverse, users can purchase virtual avatars. Therefore, each virtual avatar corresponds to an owner—the user who owns the avatar—as well as the creator and copyright holder. Furthermore, considering the potential collaboration among multiple creators, copyright ownership is a necessary label for any virtual avatar. The virtual avatar's control permissions include: a list of controllable users and their permissions (considering that multiple people may create and control the avatar in the future, this limitation is necessary).

[0144] It should be understood that, in order to prevent the virtual avatar from being maliciously used and to improve security, this embodiment also authenticates the virtual avatar after its generation. Specifically, the authentication steps for the virtual avatar include: Virtual avatar authentication in this step is similar to user authentication before network access. The authentication method used can be any existing method for authenticating virtual avatars before network access, and the authentication content includes: consistency authentication: verifying whether the user's real identity information corresponding to the virtual avatar is consistent; security authentication: verifying whether the virtual avatar has a history of criminal activity (as mentioned before, virtual avatars are similar to non-fungible tokens (NFTs), and authors can resell the copyright ownership information; therefore, authenticating this information before the virtual avatar is network access prevents criminals from using the resale of virtual avatars to evade punishment); and identification information authentication: verifying whether the user's virtual identity contains all information categories of unique identity information.

[0145] For ease of understanding, please refer to Figure 3 This explanation is provided, but no limitations are imposed on this plan. Figure 3 This diagram illustrates the switching between virtual scenes. The virtual scenes are built using different servers provided by different companies. For example, companies in the shopping industry chain (such as manufacturers, logistics companies, and agents) can fund the provision of servers to build shopping virtual scenes, while companies in the tourism industry chain (such as scenic spots, tourism companies, and scenic spot operation and maintenance companies) can fund the provision of servers to create tourism virtual scenes. After generating a virtual avatar, users can control the virtual avatar to move around in various virtual scenes using AR or VR technology, and can also switch from one virtual scene to another according to the user's actual needs.

[0146] It should be understood that when a user needs to switch virtual scenes, the user can initiate a virtual scene switching request through their terminal to the server corresponding to the current virtual scene. The current virtual scene can be the virtual scene the user is currently accessing through their avatar, i.e., the virtual scene before the switch. The current server can be any of the servers that built the current virtual scene. The virtual scene switching request can include the switching command, the target virtual scene, the request time, the user's membership level, and the user's perceived scene latency during the switch. Therefore, upon receiving a virtual scene switching request, obtaining the user's membership level and perceived scene latency can be achieved by parsing the virtual scene switching request to obtain these information. The membership level can be a VIP level, which can include high (i.e., the first level): Diamond, Gold, and low (i.e., the second level): Silver, Ordinary. The first level is higher than the second level. Users can upgrade their virtual avatar's membership level by becoming a member. Scene delay perception can include: high (i.e., the first level) and low (i.e., the second level), with the first level being higher than the second level. Scene delay perception can be determined when a user switches from the current virtual scene to a target virtual scene. Since users have different needs in different scenes, for example, if a user wants their virtual avatar to enter the target virtual scene immediately, the scene delay perception is high for the user, and vice versa. Scene delay perception can be preset by the user, and this embodiment does not limit this.

[0147] The strategy determination module 20 is used to determine the virtual scene switching strategy based on the member level and the scene delay perception.

[0148] It should be understood that, in order to optimize the virtual scene switching process and achieve optimal resource scheduling, different switching strategies can be set based on the user's membership level and the user's perception of scene delay during virtual scene switching in this embodiment.

[0149] It should be noted that the switching strategy may include a first switching strategy, a second switching strategy, and a third switching strategy. The first switching strategy may involve sending a first evaluation request to the target server corresponding to the target virtual scene, enabling the target server to select the target server with the highest idle computing power as the responding server to respond to the virtual scene switching request, thereby improving the speed of switching the user's virtual avatar from the current virtual scene to the target virtual scene. The second switching strategy may involve sending a second evaluation request to the target server corresponding to the target virtual scene, enabling the target server to select a target server whose idle computing power and daily task execution frequency meet preset conditions as the responding server to respond to the virtual scene switching request, thereby ensuring the reasonable allocation of server resources. The third switching strategy may involve sending a third evaluation request to the target server corresponding to the target virtual scene, enabling the target server to select a target server whose idle computing power, daily task execution frequency, and server stability meet preset conditions as the responding server to respond to the virtual scene switching request, thereby ensuring the stability of the virtual scene switching.

[0150] For ease of understanding, please refer to Figure 4 This explanation does not limit the scope of this solution. Figure 4 The diagram illustrates the switching strategy. When the member level is at level one and the scene latency perception is at level one, a first evaluation request is sent to the target server corresponding to the target virtual scene. When the member level is at level one and the scene latency perception is at level two, a second evaluation request is sent to the target server corresponding to the target virtual scene, where level two is lower than level one. When the member level is at level two, a third evaluation request is sent to the target server corresponding to the target virtual scene, where level two is lower than level one.

[0151] The scene switching module 30 is used to switch the user's virtual image from the current virtual scene to the target virtual scene based on the switching strategy.

[0152] It is understandable that switching a user's virtual avatar from the current virtual scene to the target virtual scene based on the switching strategy can be achieved by recommending a response server from the target server corresponding to the target virtual scene based on the switching strategy, and then having the response server respond to the virtual scene switching request to switch the user's virtual avatar from the current virtual scene to the target virtual scene.

[0153] In this embodiment, upon receiving a virtual scene switching request, the user's membership level and the user's perception of scene latency during virtual scene switching are obtained. A virtual scene switching strategy is determined based on the membership level and the perception of scene latency. Based on the switching strategy, the user's virtual avatar is switched from the current virtual scene to the target virtual scene. Since this embodiment sets different switching strategies based on the user's membership level and the user's perception of scene latency during virtual scene switching to adapt to the authentication and switching mechanisms in different scenarios, the virtual scene switching process can be optimized, thereby improving the user experience.

[0154] Other embodiments or specific implementations of the virtual scene switching device described in this invention can be found in the above-described method embodiments, and will not be repeated here.

[0155] 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 system 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 system. 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 system that includes that element.

[0156] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0157] 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 the present invention, 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 a read-only memory image (ROM) / random access memory (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 the present invention.

[0158] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A method for switching virtual scenes, characterized in that, The virtual scene switching method includes: Upon receiving a virtual scene switching request, the user's membership level and the user's perception of scene delay during the virtual scene switching are obtained. The virtual scene switching strategy is determined based on the membership level and the scene latency perception. Based on the switching strategy, the user's virtual avatar is switched from the current virtual scene to the target virtual scene; The virtual scene switching method further includes: The response server sends a temporary access token to the user server. The temporary access token is used to temporarily access the target virtual scene before data migration or identity authentication is completed. When the total estimated time for data migration and identity authentication exceeds the validity period of the temporary access token, the response server sends a continuation token to the user server. The continuation token is used to temporarily access the target virtual scene after the temporary access token expires. After the data migration is completed, the response server sends an overlay token to the user server. The overlay token is used to enrich the content of the virtual avatar.

2. The virtual scene switching method as described in claim 1, characterized in that, The virtual scene switching method also includes: When the membership level is the first level and the scene latency perception is the first level, a first evaluation request is sent to the target server corresponding to the target virtual scene. After receiving the first evaluation request, the target server selects a response server based on its available computing power at the time of the first evaluation request. The response server responds to the virtual scene switching request, performs data migration on the user's virtual avatar data, and performs identity authentication on the user and the virtual avatar; After authentication is completed, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

3. The virtual scene switching method as described in claim 1, characterized in that, The virtual scene switching method also includes: When the membership level is the first level and the scene latency perception is the second level, a second evaluation request is sent to the target server corresponding to the target virtual scene, where the second level is lower than the first level. When the target server receives the second evaluation request, it selects a response server based on the target server's idle computing power and task execution frequency at the time of the second evaluation request. The response server responds to the virtual scene switching request, performs data migration on the user's virtual avatar data, and performs identity authentication on the user and the virtual avatar; After authentication is completed, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

4. The virtual scene switching method as described in claim 3, characterized in that, The virtual scene switching method also includes: The response server sends the total estimated time for data migration and identity authentication to the user terminal. After authentication is completed, the response server checks whether the user's virtual avatar is online; Therefore, when the virtual avatar is offline, the response server sends a virtual scene switching notification to the user terminal; When the virtual avatar is online, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

5. The virtual scene switching method as described in claim 1, characterized in that, The virtual scene switching method also includes: When the membership level is the second level, a third evaluation request is sent to the target server corresponding to the target virtual scene, where the second level is lower than the first level; When the target server receives the third evaluation request, it selects a response server based on the target server's idle computing power, task execution frequency, and server stability at the time of the request. The response server responds to the virtual scene switching request, performs data migration on the user's virtual avatar data, and performs identity authentication on the user and the virtual avatar; After authentication is completed, the response server switches the user's virtual avatar from the current virtual scene to the target virtual scene.

6. The virtual scene switching method as described in claim 5, characterized in that, The virtual scene switching method also includes: When the total estimated time for data migration and identity authentication exceeds the preset time, and the user's virtual avatar's consumption score in the current virtual scene exceeds the preset score, the response server pushes upgrade information to the user terminal. After receiving confirmation of upgrade information from the user via the user terminal, the response server initiates an assistance request to the target server. After receiving the assistance request, the target server selects an assistance server based on its available computing power at the time of the request. The assistance server is used to assist the response server in switching virtual scenes.

7. A virtual scene switching device, characterized in that, The virtual scene switching device includes: a memory, a processor, and a virtual scene switching program stored in the memory and executable on the processor. When the virtual scene switching program is executed by the processor, it implements the virtual scene switching method as described in any one of claims 1 to 6.

8. A storage medium, characterized in that, The storage medium stores a virtual scene switching program, which, when executed by a processor, implements the virtual scene switching method as described in any one of claims 1 to 6.

9. A virtual scene switching device, characterized in that, The virtual scene switching device includes: an information acquisition module, a strategy determination module, and a scene switching module; The information acquisition module is used to acquire the user's membership level and the user's perception of scene delay during virtual scene switching when a virtual scene switching request is received. The strategy determination module is used to determine the virtual scene switching strategy based on the membership level and the scene latency perception. The scene switching module is used to switch the user's virtual avatar from the current virtual scene to the target virtual scene based on the switching strategy; This also includes: The response server sends a temporary access token to the user server. The temporary access token is used to temporarily access the target virtual scene before data migration or identity authentication is completed. When the total estimated time for data migration and identity authentication exceeds the validity period of the temporary access token, the response server sends a continuation token to the user server. The continuation token is used to temporarily access the target virtual scene after the temporary access token expires. After the data migration is completed, the response server sends an overlay token to the user server. The overlay token is used to enrich the content of the virtual avatar.

Citation Information

Patent Citations

  • User transferring method and system in virtual reality

    CN106484123A

  • Load balancing edge cooperative caching method for Internet scene differentiated service

    CN112039943A

  • Three-dimensional scene rendering method and device, electronic equipment and readable storage medium

    CN114387376A